/* UAB Stonkai WordPress theme. Generated by tools/build-wp-theme.mjs from the Astro project: edit there, or edit here and accept that a rebuild overwrites it. */

/* oswald-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Oswald Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url(../fonts/oswald-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* oswald-cyrillic-wght-normal */
@font-face {
  font-family: 'Oswald Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url(../fonts/oswald-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* oswald-vietnamese-wght-normal */
@font-face {
  font-family: 'Oswald Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url(../fonts/oswald-vietnamese-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* oswald-latin-ext-wght-normal */
@font-face {
  font-family: 'Oswald Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url(../fonts/oswald-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* oswald-latin-wght-normal */
@font-face {
  font-family: 'Oswald Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url(../fonts/oswald-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* manrope-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/manrope-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* manrope-cyrillic-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/manrope-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* manrope-greek-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/manrope-greek-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* manrope-vietnamese-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/manrope-vietnamese-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* manrope-latin-ext-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* manrope-latin-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* ==========================================================================
   UAB Stonkai: global tokens, base typography and shared utilities.
   Light theme: cream canvas, pearl surfaces, warm ink, one bronze accent.
   Component-specific rules live next to their markup in src/components.
   WP: this file becomes assets/css/base.css of the theme.
   ========================================================================== */

:root {
  /* Surfaces: one warm hue family, from pearl to sand */
  --bg: oklch(0.965 0.014 85); /* cream canvas */
  --bg-raised: oklch(0.985 0.006 80); /* pearl */
  --panel: oklch(0.935 0.018 82); /* sand */
  --plate: #fff; /* white plate: several official marks ship on a white ground */

  /* Ink: warm near-black, never pure black */
  --text: oklch(0.25 0.012 60);
  --soft: oklch(0.4 0.014 60);
  --muted: oklch(0.5 0.016 65);
  --line: oklch(0.25 0.012 60 / 0.14);
  --line-strong: oklch(0.25 0.012 60 / 0.45);

  /* One accent, used for emphasis only */
  --accent: oklch(0.48 0.1 60);
  --on-fill: oklch(0.975 0.012 85); /* text on ink or accent fills */
  --ink: var(--on-fill);

  --display: 'Oswald Variable', 'Oswald', 'Arial Narrow', sans-serif;
  --sans: 'Manrope Variable', Manrope, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(20px, 4.4vw, 72px);
  --gap: clamp(20px, 2.4vw, 40px);
  --section: clamp(56px, 6.4vw, 104px);
  /* Space between a section heading's hairline and the content under it */
  --shead-gap: clamp(28px, 3vw, 48px);
  --header-h: 92px;
  /* Phone bar above the header on narrow screens (Header.astro) */
  --topbar-h: 0px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
  scrollbar-color: var(--line-strong) var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  accent-color: var(--accent);
  caret-color: var(--accent);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

p {
  max-width: 70ch;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--on-fill);
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

.section {
  padding-block: var(--section);
}

/* Menu jumps land on the section heading, not on the top of the section's padding:
   the heading always ends up 40px below the fixed header, whatever the screen width */
.section[id] {
  scroll-margin-top: calc(40px - var(--section));
}

.section--raised {
  background: var(--bg-raised);
}

/* ---------- Typography ---------- */

.display,
.h2,
.h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.04;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.375rem, 5.6vw, 5.5rem);
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
}

.h3 {
  font-size: clamp(1.375rem, 1.9vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

.num {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- Section heading ---------- */

.shead {
  grid-column: 1 / -1;
  padding-bottom: clamp(16px, 1.8vw, 28px);
  margin-bottom: var(--shead-gap);
  border-bottom: 1px solid var(--line);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--on-fill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--on-fill);
}

.btn--small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.75rem;
}

.arrow {
  width: 18px;
  height: 10px;
  flex: none;
  transition: transform 200ms var(--ease-out);
}

a:hover > .arrow,
button:hover > .arrow {
  transform: translateX(4px);
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 200ms ease, border-color 200ms ease;
}

.textlink:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Definition rows ---------- */

.spec {
  border-top: 1px solid var(--line);
}

.spec > div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.spec dt {
  color: var(--muted);
}

.spec dd {
  font-weight: 600;
}

.spec a {
  border-bottom: 1px solid var(--line-strong);
  transition: color 200ms ease, border-color 200ms ease;
}

.spec a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Utilities ---------- */

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--text);
  color: var(--on-fill);
  font-size: 0.875rem;
}

.skip:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }
}

/* ===== Logo ===== */

  .logo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2758 / 698;
  }

/* ===== Header ===== */

  .header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background-color 250ms ease, border-color 250ms ease;
  }
  .header.is-stuck {
    background: var(--bg);
    border-bottom-color: var(--line);
  }
  .header__in {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 56px);
    height: calc(var(--header-h) - var(--topbar-h));
  }

  .topbar {
    display: none;
    background: var(--text);
  }
  .topbar__in {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    height: var(--topbar-h);
  }
  .topbar a {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bg);
    white-space: nowrap;
  }
  .topbar a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .brand {
    flex: none;
    width: clamp(168px, 16vw, 228px);
    color: var(--text);
  }

  .nav {
    display: flex;
    align-items: center;
    margin-left: auto;
  }
  .nav__list {
    display: flex;
    gap: clamp(16px, 2vw, 34px);
  }
  .nav__list a {
    position: relative;
    display: block;
    padding: 10px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--soft);
    white-space: nowrap;
    transition: color 0.2s ease;
  }
  .nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  .nav__list a:hover,
  .nav__list a.is-active {
    color: var(--text);
  }
  .nav__list a:hover::after,
  .nav__list a.is-active::after {
    transform: scaleX(1);
  }
  .nav__cta {
    display: none;
  }

  .header__tools {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 24px);
  }

  .lang {
    display: flex;
    gap: 2px;
  }
  .lang a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--muted);
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .lang a:hover {
    color: var(--text);
  }
  .lang a[aria-current='true'] {
    color: var(--text);
    border-bottom-color: var(--accent);
  }

  /* Both phones stacked, set off from the language switcher by a hairline */
  .phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: clamp(14px, 1.6vw, 24px);
    border-left: 1px solid var(--line-strong);
  }
  .phones a {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.35;
    color: var(--text);
    white-space: nowrap;
    transition: color 0.2s ease;
  }
  .phones a:hover {
    color: var(--accent);
  }

  .burger {
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--line-strong);
  }
  .burger__bars,
  .burger__bars::before,
  .burger__bars::after {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.25s ease, background-color 0.25s ease;
  }
  .burger__bars {
    position: relative;
  }
  .burger__bars::before,
  .burger__bars::after {
    content: '';
    position: absolute;
    left: 0;
  }
  .burger__bars::before {
    top: -6px;
  }
  .burger__bars::after {
    top: 6px;
  }
  .burger[aria-expanded='true'] .burger__bars {
    background: transparent;
  }
  .burger[aria-expanded='true'] .burger__bars::before {
    transform: translateY(6px) rotate(45deg);
  }
  .burger[aria-expanded='true'] .burger__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  @media (max-width: 1360px) {
    .header__cta {
      display: none;
    }
    .topbar {
      display: block;
    }
  }
  @media (max-width: 560px) {
    .topbar__in {
      justify-content: space-between;
    }
  }

  @media (max-width: 1120px) {
    .burger {
      display: grid;
    }
    .header__in {
      justify-content: space-between;
    }
    .nav {
      position: fixed;
      inset: var(--header-h) 0 0 0;
      flex-direction: column;
      align-items: stretch;
      gap: 32px;
      margin: 0;
      padding: 12px var(--gutter) 40px;
      background: var(--bg);
      border-top: 1px solid var(--line);
      overflow-y: auto;
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.25s ease, visibility 0.25s;
    }
    .nav.is-open {
      visibility: visible;
      opacity: 1;
    }
    .nav__list {
      flex-direction: column;
      gap: 0;
    }
    .nav__list a {
      padding: 20px 0;
      border-bottom: 1px solid var(--line);
      font-family: var(--display);
      font-size: 1.75rem;
      font-weight: 500;
      letter-spacing: 0.01em;
      color: var(--text);
    }
    .nav__list a::after {
      display: none;
    }
    .nav__cta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
  }

  @media (max-width: 560px) {
    .brand {
      width: 164px;
    }
    .lang a {
      width: 32px;
    }
  }


  html.nav-open {
    overflow: hidden;
  }
  html.nav-open .header {
    background: var(--bg);
  }
  @media (max-width: 1360px) {
    :root {
      --topbar-h: 34px;
      --header-h: calc(92px + var(--topbar-h));
    }
  }
  @media (max-width: 760px) {
    :root {
      --header-h: calc(76px + var(--topbar-h));
    }
  }

/* ===== Hero ===== */

  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    /* Exactly one screen (minus the WordPress admin toolbar when an editor is logged in),
       copy centred in the space under the header, facts bar on the bottom edge */
    min-height: min(calc(100svh - var(--wp-admin--admin-bar--height, 0px)), 1080px);
    padding-top: calc(var(--header-h) + 48px);
    isolation: isolate;
  }
  /* Split composition: copy on the cream canvas at the left, the photo fills the right part,
     so the drill bit always sits in its own half, whatever the screen width */
  .hero__bg {
    position: absolute;
    inset: 0 0 0 44%;
    z-index: -1;
    overflow: hidden;
    background: var(--panel);
  }
  .hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
  /* Cream washes blend the photo into the canvas and keep the navigation and the facts bar readable */
  .hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, oklch(0.965 0.014 85) 0%, oklch(0.965 0.014 85 / 0) 38%),
      linear-gradient(180deg, oklch(0.965 0.014 85 / 0.9) 0%, oklch(0.965 0.014 85 / 0) 22%),
      linear-gradient(0deg, oklch(0.965 0.014 85) 0%, oklch(0.965 0.014 85 / 0) 30%);
  }

  .hero__content {
    margin-block: auto;
    padding-block: clamp(24px, 3vw, 48px);
  }
  .hero__title span {
    display: block;
    animation: hero-rise 900ms var(--ease-out) both;
    animation-delay: calc(var(--i) * 90ms);
  }
  @keyframes hero-rise {
    from {
      opacity: 0;
      transform: translateY(0.3em);
    }
  }
  .hero__accent {
    color: var(--accent);
  }
  /* Lead and actions stay together in the text column, under the headline */
  .hero__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(24px, 2.6vw, 36px);
    margin-top: clamp(28px, 3.4vw, 52px);
  }
  .hero__lead {
    max-width: 30em;
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
    line-height: 1.6;
    color: var(--text);
  }
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero__bar {
    border-top: 1px solid var(--line);
  }
  .hero__bar-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 32px;
    min-height: 68px;
    padding-block: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .hero__founded {
    color: var(--text);
  }
  .hero__values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 36px;
    color: var(--soft);
  }
  .hero__values li {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .hero__values li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent);
  }
  .hero__fsc {
    color: var(--text);
    transition: color 200ms ease;
  }
  .hero__fsc:hover {
    color: var(--accent);
  }

  /* Phones: the photo becomes a block above the copy, so text never sits on the spindle */
  @media (max-width: 760px) {
    .hero {
      display: block;
      min-height: 0;
      padding-top: 0;
    }
    .hero__bg {
      position: relative;
      inset: auto;
      z-index: 0;
      height: min(56svh, 420px);
    }
    .hero__bg img {
      object-position: 50% 40%;
    }
    .hero__bg::after {
      background:
        linear-gradient(180deg, oklch(0.965 0.014 85 / 0.92) 0%, oklch(0.965 0.014 85 / 0) 34%),
        linear-gradient(0deg, oklch(0.965 0.014 85) 0%, oklch(0.965 0.014 85 / 0) 30%);
    }
    .hero__content {
      padding-top: 8px;
      padding-bottom: 40px;
    }
    .hero__row {
      margin-top: 20px;
      gap: 28px;
    }
    .hero__actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      width: 100%;
    }
    .hero__actions .btn {
      padding-inline: 12px;
    }
    .hero__bar-in {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 14px 16px;
      padding-block: 18px;
      letter-spacing: 0.1em;
    }
    .hero__values {
      grid-column: 1 / -1;
      grid-row: 2;
      justify-content: space-between;
      gap: 6px 12px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
    }
    .hero__values li {
      gap: 8px;
    }
  }

/* ===== About ===== */

  .about__media {
    grid-column: 1 / span 7;
  }
  .about__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 50% 50%;
  }
  .about__body {
    grid-column: 8 / -1;
    padding-left: clamp(0px, 3vw, 56px);
    display: flex;
    flex-direction: column;
    gap: 1.3em;
    align-self: center;
    color: var(--soft);
  }
  .about__first {
    font-size: clamp(1.1875rem, 1.5vw, 1.4375rem);
    line-height: 1.5;
    color: var(--text);
  }

  @media (max-width: 1000px) {
    .about__media,
    .about__body {
      grid-column: 1 / -1;
    }
    .about__body {
      padding-left: 0;
      margin-top: 40px;
    }
  }

/* ===== Services ===== */

  .services {
    grid-column: 1 / -1;
    margin-top: calc(var(--shead-gap) * -1);
  }
  .service {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--gap);
    padding: clamp(28px, 3.6vw, 56px) 0;
    border-bottom: 1px solid var(--line);
    transition: border-color 200ms ease;
  }
  .service:hover {
    border-bottom-color: var(--accent);
  }
  .service__title {
    font-family: var(--display);
    font-size: clamp(1.625rem, 2.8vw, 2.75rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.005em;
    text-transform: uppercase;
  }
  .service__text {
    color: var(--soft);
    font-size: 1rem;
    line-height: 1.65;
  }


  @media (max-width: 900px) {
    .service {
      grid-template-columns: 1fr;
      gap: 14px;
    }
  }

/* ===== Recognition ===== */

  /* One plate for every mark: white, a hairline, the same inner margin */
  .plate {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--plate);
    border: 1px solid var(--line);
  }
  .plate img {
    position: absolute;
    inset: 15%;
    width: 70%;
    height: 70%;
    object-fit: contain;
  }

  /* Shared label style for names under and beside the plates */
  .cert__name,
  .award__name {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }
  .cert__name sup {
    font-size: 0.5em;
    vertical-align: 0.9em;
    margin-inline: 0.05em;
  }

  /* ---------- Certificates: plate beside its details, no card box ---------- */
  .certs {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap) clamp(32px, 5vw, 80px);
  }
  .cert {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1fr);
    gap: clamp(20px, 2.4vw, 36px);
    align-items: start;
  }
  .cert__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .cert__name {
    font-size: clamp(1.375rem, 1.9vw, 1.75rem);
  }
  .cert__text {
    margin-top: 12px;
    color: var(--soft);
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  .cert__spec {
    width: 100%;
    margin-top: 24px;
  }
  .cert__link {
    margin-top: 24px;
  }

  /* ---------- Awards: one row of identical plates ---------- */
  .awards-block {
    grid-column: 1 / -1;
    margin-top: clamp(56px, 6vw, 96px);
  }
  .awards-title {
    padding-bottom: clamp(20px, 2.2vw, 32px);
    margin-bottom: clamp(28px, 3.2vw, 48px);
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: clamp(1.625rem, 2.8vw, 2.75rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    line-height: 1.04;
  }
  .awards {
    display: grid;
    grid-template-columns: repeat(var(--count), minmax(0, 1fr));
    gap: var(--gap);
  }
  .award__plate {
    margin-bottom: 18px;
  }
  .award__period {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--accent);
  }
  .award__name {
    margin-top: 6px;
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  }
  .award__issuer {
    margin-top: 4px;
    font-size: 0.8125rem;
    color: var(--muted);
  }

  @media (max-width: 1180px) {
    .certs {
      grid-template-columns: 1fr;
      row-gap: 56px;
    }
    .cert {
      grid-template-columns: minmax(150px, 280px) minmax(0, 1fr);
    }
    /* Awards turn into a swipeable row of equal plates */
    .awards {
      grid-template-columns: none;
      grid-auto-flow: column;
      grid-auto-columns: minmax(200px, 28%);
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      margin-inline: calc(var(--gutter) * -1);
      padding-inline: var(--gutter);
      scroll-padding-inline: var(--gutter);
      padding-bottom: 20px;
      scrollbar-width: thin;
      scrollbar-color: var(--line-strong) transparent;
    }
    .award {
      scroll-snap-align: start;
    }
  }

  @media (max-width: 640px) {
    .cert {
      grid-template-columns: 1fr;
    }
    .cert__plate {
      width: min(100%, 260px);
    }
    .awards {
      grid-auto-columns: 60%;
      gap: 14px;
    }
  }

/* ===== Gallery ===== */

  .gallery {
    grid-column: 1 / -1;
    margin-top: calc(var(--shead-gap) * -1 + 8px);
  }

  .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 36px;
  }
  .filter {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 2px solid transparent;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .filter span {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
  }
  .filter:hover {
    color: var(--text);
  }
  .filter[aria-pressed='true'] {
    color: var(--text);
    border-bottom-color: var(--accent);
  }

  .shots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 1vw, 16px);
    margin-top: clamp(24px, 2.6vw, 40px);
  }
  .shot[hidden] {
    display: none;
  }
  .shot__link {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--panel);
  }
  .shot__frame {
    display: block;
    aspect-ratio: 4 / 5;
  }
  .shot__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ease-out);
  }
  .shot__link:hover .shot__frame img {
    transform: scale(1.04);
  }
  .shot__caption {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: space-between;
    padding: 40px 20px 18px;
    background: linear-gradient(0deg, oklch(0.25 0.012 60 / 0.8), oklch(0.25 0.012 60 / 0));
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-fill);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 200ms ease, transform 200ms var(--ease-out);
  }
  .shot__link:hover .shot__caption,
  .shot__link:focus-visible .shot__caption {
    opacity: 1;
    transform: none;
  }

  .gallery__more {
    display: flex;
    justify-content: center;
    margin-top: clamp(36px, 4vw, 64px);
  }
  .gallery__more[hidden] {
    display: none;
  }

  @media (max-width: 1000px) {
    .shots {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (max-width: 640px) {
    .shots {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .filters {
      flex-wrap: nowrap;
      gap: 0 22px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .filter {
      flex: none;
    }
    .filter span {
      display: none;
    }
    .shot__caption {
      display: none;
    }
  }
  @media (hover: none) {
    .shot__caption {
      opacity: 1;
      transform: none;
    }
  }

  /* ---------- Lightbox ---------- */
  .lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    background: oklch(0.2 0.01 60);
    --text: oklch(0.975 0.012 85);
    --line: oklch(0.975 0.012 85 / 0.16);
    --line-strong: oklch(0.975 0.012 85 / 0.45);
    --accent: oklch(0.78 0.1 70);
    --on-fill: oklch(0.2 0.01 60);
    color: var(--text);
  }
  .lightbox[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .lightbox::backdrop {
    background: oklch(0.2 0.01 60);
  }
  .lightbox__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px var(--gutter);
    border-bottom: 1px solid var(--line);
  }
  .lightbox__caption {
    color: var(--text);
    white-space: pre;
  }
  .lightbox__btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border: 1px solid var(--line-strong);
    color: var(--text);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .lightbox__btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-fill);
  }
  .lightbox__stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: clamp(8px, 2vw, 32px);
    min-height: 0;
    padding: clamp(12px, 2.4vw, 36px) var(--gutter);
  }
  .lightbox__img {
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    margin: auto;
    object-fit: contain;
  }

  @media (max-width: 640px) {
    .lightbox__stage {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: minmax(0, 1fr) auto;
    }
    .lightbox__img {
      grid-column: 1 / -1;
      grid-row: 1;
    }
    .lightbox__nav {
      grid-row: 2;
      width: 100%;
    }
  }

/* ===== Policy ===== */

  .policy__aside {
    grid-column: 1 / span 4;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 32px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .policy__heading {
    font-size: clamp(1.1875rem, 1.5vw, 1.4375rem);
    line-height: 1.45;
    color: var(--text);
  }
  .policy__intro {
    color: var(--soft);
    font-size: 1rem;
  }

  .policy__list {
    grid-column: 6 / -1;
    margin-top: calc(clamp(28px, 3vw, 44px) * -1);
  }
  .clause {
    padding: clamp(28px, 3vw, 44px) 0;
    border-bottom: 1px solid var(--line);
  }
  .clause__items {
    margin-top: 18px;
    color: var(--soft);
    font-size: 1rem;
    line-height: 1.65;
  }
  .clause__items > li {
    position: relative;
    padding: 9px 0 9px 24px;
  }
  .clause__items > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.25em;
    width: 6px;
    height: 6px;
    background: var(--accent);
  }
  .clause__sub {
    margin-top: 12px;
    padding: 4px 0 4px 20px;
    border-left: 1px solid var(--line);
    font-size: 0.9375rem;
  }
  .clause__sub li {
    padding: 5px 0;
  }

  @media (max-width: 1000px) {
    .policy__aside {
      grid-column: 1 / -1;
      position: static;
      max-width: 40em;
      margin-bottom: 56px;
    }
    .policy__list {
      grid-column: 1 / -1;
    }
  }

/* ===== Contact ===== */

  .contact__main {
    grid-column: 1 / span 6;
  }
  .people {
    display: grid;
    gap: clamp(28px, 3vw, 44px);
  }
  .people__phone {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--display);
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.2s ease;
  }
  .people__phone:hover {
    color: var(--accent);
  }
  .contact__spec {
    margin-top: clamp(40px, 4.4vw, 72px);
  }
  .contact__cta {
    margin-top: clamp(32px, 3.6vw, 52px);
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.9375rem;
  }

  .contact__side {
    grid-column: 8 / -1;
  }
  .contact__heading {
    padding-bottom: 16px;
    color: var(--text);
  }
  .contact__side .spec > div:first-child dt {
    color: var(--text);
    font-weight: 500;
  }

  .map {
    position: relative;
    margin-top: clamp(32px, 3.6vw, 52px);
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    background: var(--panel);
  }
  .map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.6);
  }
  .map__gate {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(20px, 2.6vw, 36px);
    background: var(--panel);
  }
  .map__gate[hidden] {
    display: none;
  }
  .map__address {
    font-family: var(--display);
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .map__text {
    max-width: 32em;
    margin-top: 6px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--muted);
  }
  .map__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 18px;
  }

  @media (max-width: 1000px) {
    .contact__main,
    .contact__side {
      grid-column: 1 / -1;
    }
    .contact__side {
      margin-top: 64px;
    }
  }
  @media (max-width: 560px) {
    .map {
      aspect-ratio: 1 / 1;
    }
    .contact__cta {
      width: 100%;
    }
  }

/* ===== Footer ===== */

  .footer {
    background: var(--panel);
    font-size: 0.9375rem;
  }
  .footer__top {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
    gap: 48px var(--gap);
    padding-block: clamp(64px, 8vw, 120px);
  }
  .footer__logo {
    display: block;
    width: clamp(220px, 30vw, 420px);
    color: var(--text);
  }
  .footer__col li {
    padding: 6px 0;
    color: var(--soft);
  }
  .footer a,
  .footer button {
    transition: color 0.2s ease;
  }
  .footer__col a:hover,
  .footer__bottom a:hover,
  .footer__bottom button:hover {
    color: var(--accent);
  }
  .footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 36px;
    padding-block: 24px 28px;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
    color: var(--muted);
  }
  .footer__bottom p {
    margin-right: auto;
  }

  @media (max-width: 900px) {
    .footer__top {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer__logo {
      grid-column: 1 / -1;
    }
  }
  @media (max-width: 520px) {
    .footer__top {
      grid-template-columns: 1fr;
    }
    .footer__bottom p {
      width: 100%;
    }
  }

/* ===== CookieConsent ===== */

  /* Slim bar along the bottom edge so it never covers the headline or the actions */
  .cookie {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 48px;
    padding: 20px var(--gutter);
    background: var(--bg-raised);
    border-top: 1px solid var(--line-strong);
  }
  .cookie[hidden] {
    display: none;
  }
  .cookie__title {
    color: var(--accent);
  }
  .cookie__text {
    max-width: 72em;
    margin-top: 6px;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--soft);
  }
  .cookie__actions {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
  }
  .cookie__link {
    padding-bottom: 2px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .cookie__link:hover {
    color: var(--accent);
    border-color: var(--accent);
  }

  .prefs {
    width: min(620px, calc(100vw - 24px));
    max-height: min(720px, calc(100dvh - 24px));
    padding: 0;
    border: 1px solid var(--line-strong);
    background: var(--bg-raised);
    color: var(--text);
  }
  .prefs::backdrop {
    background: oklch(0.25 0.012 60 / 0.5);
  }
  .prefs__form {
    display: flex;
    flex-direction: column;
    max-height: inherit;
  }
  .prefs__head,
  .prefs__foot {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px clamp(20px, 4vw, 32px);
  }
  .prefs__head {
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }
  .prefs__foot {
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
  }
  .prefs__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .prefs__close:hover {
    background: var(--text);
    color: var(--on-fill);
  }
  .prefs__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px clamp(20px, 4vw, 32px);
    overflow-y: auto;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--soft);
  }
  .prefs__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .prefs__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .prefs__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
  }
  .prefs__detail {
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
    color: var(--muted);
  }

  .switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex: none;
    cursor: pointer;
  }
  .switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }
  .switch__track {
    position: absolute;
    inset: 0;
    border: 1px solid var(--line-strong);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    pointer-events: none;
  }
  .switch__track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--muted);
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .switch input:checked + .switch__track {
    background: var(--accent);
    border-color: var(--accent);
  }
  .switch input:checked + .switch__track::after {
    transform: translateX(22px);
    background: var(--on-fill);
  }
  .switch input:focus-visible + .switch__track {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

  @media (max-width: 900px) {
    .cookie {
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
      padding-block: 16px;
    }
    .cookie__rest {
      display: none;
    }
    .cookie__title {
      display: none;
    }
    .cookie__text {
      margin-top: 0;
    }
    .cookie__actions {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      align-items: center;
      gap: 10px 14px;
    }
    .cookie__actions .btn {
      padding-inline: 10px;
    }
  }
  @media (max-width: 420px) {
    .cookie__actions {
      grid-template-columns: 1fr 1fr;
    }
    .cookie__link {
      grid-column: 1 / -1;
      justify-self: start;
    }
  }
  @media (max-width: 480px) {
    .prefs__foot .btn {
      flex: 1 1 100%;
    }
  }

/* ===== 404 ===== */

  .notfound {
    padding-block: calc(var(--header-h) + var(--section)) var(--section);
  }
  .notfound .h2 {
    margin-top: 16px;
  }
  .notfound__text {
    margin-block: 20px 36px;
    color: var(--soft);
  }

/* ===== WordPress additions ===== */
/* Fixed header sits below the admin toolbar when an editor is logged in */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
/* Labour policy body comes from the WordPress editor: h3 headings followed by bullet lists */
.policy__content { grid-column: 6 / -1; }
.policy__content > h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.375rem, 1.9vw, 1.875rem); line-height: 1.15; letter-spacing: 0.01em; padding-top: clamp(28px, 3vw, 44px); }
.policy__content > h3:first-child { padding-top: 0; }
.policy__content > ul, .policy__content > p { margin-top: 18px; padding-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); color: var(--soft); font-size: 1rem; line-height: 1.65; }
.policy__content > ul > li { position: relative; padding: 9px 0 9px 24px; }
.policy__content > ul > li::before { content: ''; position: absolute; left: 0; top: 1.25em; width: 6px; height: 6px; background: var(--accent); }
.policy__content ul ul { margin-top: 12px; padding: 4px 0 4px 20px; border-left: 1px solid var(--line); font-size: 0.9375rem; }
.policy__content ul ul li { padding: 5px 0; }
@media (max-width: 1000px) { .policy__content { grid-column: 1 / -1; } }
