/* Aviamet site styles.
   Palette: black, deep navy and cold steel greys, with the logo blue kept for focus and links.
   Type: Fira Sans for text, Fira Sans Extra Condensed for headings (echoes the narrow logo letters). */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-ext-400-normal.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-400-normal.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-cyrillic-400-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-400-italic.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-latin-ext-500-normal.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-latin-500-normal.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-latin-ext-600-normal.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-latin-600-normal.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-latin-ext-500-normal.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-latin-500-normal.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-latin-ext-600-normal.woff2) format('woff2'); 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; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-extra-condensed-latin-600-normal.woff2) format('woff2'); 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; }

/* ---------- Tokens ---------- */
:root {
  --black: #000;
  --navy: #0d1b2e;
  --navy-2: #162a47;
  --navy-line: #2a4163;
  --steel-700: #4b5763;
  --steel-500: #7a8794;
  --steel-300: #b6c1cc;
  --steel-200: #d3dae1;
  --steel-100: #e8ecf0;
  --steel-050: #f3f5f7;
  --ink: #111a24;
  --white: #fff;
  --blue: #1f6feb;
  --blue-light: #8ab6ff;
  --error: #b42318;
  --error-bg: #fef3f2;
  --ok: #067647;
  --ok-bg: #ecfdf3;

  --font-text: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Fira Sans Extra Condensed', 'Arial Narrow', 'Fira Sans', sans-serif;

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(4rem, 2.8rem + 4.5vw, 7rem);
  --header-h: 4.5rem;
  --radius: 2px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.section--navy :focus-visible,
.hero :focus-visible,
.rates :focus-visible,
.page-head :focus-visible,
.site-footer :focus-visible,
.calc__result :focus-visible { outline-color: var(--blue-light); }

.num { font-variant-numeric: tabular-nums lining-nums; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: calc(46rem + 2 * var(--gutter)); }

/* ---------- Buttons and links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button--dark { background: var(--navy); color: var(--white); }
.button--dark:hover { background: var(--black); color: var(--white); }
.button--dark:disabled { background: var(--steel-500); cursor: progress; }
.button--light { background: var(--steel-100); color: var(--navy); }
.button--light:hover { background: var(--white); color: var(--navy); }
.button--ghost { border-color: var(--steel-300); color: var(--white); }
.button--ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: var(--white); }
.button--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button--outline:hover { background: var(--navy); color: var(--white); }

.text-link { font-weight: 500; color: var(--navy); }
.text-link--light { color: var(--white); }
.text-link--light:hover { color: var(--blue-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--steel-200);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { flex: none; }
.brand img { width: auto; height: 2.5rem; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  margin-right: -0.75rem;
  border: 0;
  background: none;
  font-weight: 500;
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul,
.lang-switch ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.site-nav a:hover { color: var(--blue); }

.lang-switch ul { display: flex; gap: 0.25rem; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--steel-700);
  text-decoration: none;
}
.lang-switch a[aria-current='true'] { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

/* Mobile menu: a panel under the header. Without JS the links stay visible in the header. */
@media (max-width: 63.99em) {
  .js .site-menu {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--steel-200);
    box-shadow: 0 0 0 100vmax rgba(13, 27, 46, 0.55);
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .js.menu-open .site-menu { display: block; }
  .js.menu-open body { overflow: hidden; }
  .site-nav li { border-bottom: 1px solid var(--steel-100); }
  .site-nav a { display: block; padding: 0.9rem 0; font-size: 1.125rem; }
  .site-menu .lang-switch { margin: 1rem 0; }
  .site-menu .lang-switch a { border: 1px solid var(--steel-200); }
  .site-header__cta { width: 100%; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1rem; }
  html:not(.js) .site-nav li { border: 0; }
  html:not(.js) .site-nav a { padding: 0.5rem 0; font-size: 1rem; }
}
@media (min-width: 64em) {
  .menu-toggle { display: none; }
  .site-menu { display: flex; align-items: center; gap: 1.75rem; }
  .site-nav ul { display: flex; gap: 1.75rem; }
  .site-nav a { font-size: 0.9875rem; }
  .lang-switch { margin-left: -0.5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(34rem, 84vh, 48rem);
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.hero__photo,
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  z-index: -2;
}
/* Scrim keeps the headline legible over the bright coils. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(13, 27, 46, 0.94) 0%, rgba(13, 27, 46, 0.72) 55%, rgba(13, 27, 46, 0.35) 100%);
}
@media (min-width: 60em) {
  .hero::after {
    background: linear-gradient(90deg, rgba(13, 27, 46, 0.95) 0%, rgba(13, 27, 46, 0.82) 42%, rgba(13, 27, 46, 0.2) 100%);
  }
  .hero { align-items: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: hero-settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
}
.hero__content { padding-block: 7rem 4rem; }
.hero__title {
  max-width: 13ch;
  font-family: var(--font-head);
  font-size: clamp(3rem, 1.6rem + 6vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
}
.hero__lead {
  max-width: 36rem;
  margin: 1.5rem 0 2.25rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--steel-100);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Rates strip ---------- */
.rates { background: var(--black); color: var(--steel-200); }
.rates__inner {
  display: grid;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
  grid-template-columns: 1fr;
}
.rates__title { font-family: var(--font-text); font-size: 0.9375rem; font-weight: 500; color: var(--white); }
.rates__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 0;
}
.rates__item dt { font-size: 0.8125rem; color: var(--steel-300); }
.rates__item dd { margin: 0; font-size: 1.0625rem; color: var(--white); }
.rates__meta { margin: 0; font-size: 0.8125rem; color: var(--steel-300); }
.rates__meta a { color: var(--white); }
@media (min-width: 48em) {
  .rates__list { grid-template-columns: repeat(6, minmax(0, auto)); justify-content: start; gap: 0.5rem 2.25rem; }
}
@media (min-width: 72em) {
  .rates__inner { grid-template-columns: auto 1fr auto; align-items: center; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--steel { background: var(--steel-050); }
.section--navy { background: var(--navy); color: var(--steel-100); }
.section--navy a { color: var(--white); }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  line-height: 1;
  color: var(--navy);
}
.section--navy .section-title { color: var(--white); }
.section-title--small { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); margin-bottom: 1.5rem; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-lead { margin-top: 1rem; font-size: 1.125rem; color: var(--steel-700); }
.section--navy .section-lead { color: var(--steel-200); }

/* Why */
.why__grid { display: grid; gap: 2.5rem; }
.why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem 3rem;
}
.why__item { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.why__item h3 { font-size: 1.1875rem; line-height: 1.3; margin-bottom: 0.6rem; color: var(--navy); }
.why__item p { color: var(--steel-700); }
@media (min-width: 48em) { .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .why__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; }
}

/* Products */
.product-groups {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.product-group { background: var(--white); border: 1px solid var(--steel-200); display: flex; flex-direction: column; }
.product-group__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-group__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.product-group__body h3 { font-family: var(--font-head); font-size: 1.875rem; color: var(--navy); }
.product-group__body p { color: var(--steel-700); margin: 0; flex: 1; }
@media (min-width: 40em) { .product-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60em) { .product-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.catalogue { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.catalogue__tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.catalogue__search { flex: 1 1 18rem; max-width: 28rem; }
.catalogue__search label { display: block; font-weight: 500; margin-bottom: 0.4rem; }
.catalogue__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.catalogue__table { background: var(--white); border: 1px solid var(--steel-200); }
.catalogue__table th,
.catalogue__table td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--steel-200); }
.catalogue__table thead th { font-size: 0.875rem; font-weight: 500; color: var(--steel-700); border-bottom: 2px solid var(--navy); white-space: nowrap; }
.catalogue__table tbody th { font-family: var(--font-head); font-size: 1.3125rem; font-weight: 600; color: var(--navy); line-height: 1.2; white-space: nowrap; }
.catalogue__table td { font-size: 0.96875rem; font-variant-numeric: tabular-nums; }
.catalogue__table tbody tr:last-child > * { border-bottom: 0; }
.catalogue__empty { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--steel-200); }
.catalogue__more { margin-top: 1.5rem; }

@media (max-width: 47.99em) {
  .catalogue__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .catalogue__table,
  .catalogue__table tbody,
  .catalogue__table tr,
  .catalogue__table th,
  .catalogue__table td { display: block; width: 100%; }
  .catalogue__table { border: 0; background: none; }
  .catalogue__table tr { background: var(--white); border: 1px solid var(--steel-200); margin-bottom: 0.75rem; padding: 0.25rem 1rem 0.75rem; }
  .catalogue__table tbody th { white-space: normal; padding: 0.75rem 0 0.5rem; border-bottom: 1px solid var(--steel-200); }
  .catalogue__table td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.5rem 0; border: 0; }
  .catalogue__table td::before { content: attr(data-label); color: var(--steel-700); font-size: 0.875rem; }
  .catalogue__table tbody tr:last-child > * { border-bottom: 0; }
  .catalogue__table tbody tr > th { border-bottom: 1px solid var(--steel-200) !important; }
}

/* About */
.about__grid { display: grid; gap: 3rem; }
.about__text p { max-width: 38rem; font-size: 1.125rem; }
.about__text .section-title { margin-bottom: 1.5rem; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.person__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--steel-100); margin-bottom: 0.9rem; }
.person__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--steel-200);
}
.person__photo--empty span { font-family: var(--font-head); font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem); color: var(--steel-500); }
.person__name { margin: 0; font-weight: 600; font-size: 1.125rem; color: var(--navy); }
.person__role { margin: 0.15rem 0 0; color: var(--steel-700); font-size: 0.9375rem; }
@media (min-width: 60em) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: start; }
}

/* Office */
.office__grid { display: grid; gap: 2.5rem; }
.office__details { margin: 2rem 0; display: grid; gap: 1.25rem; }
.office__details dt { font-size: 0.875rem; color: var(--steel-300); }
.office__details dd { margin: 0.15rem 0 0; font-size: 1.125rem; color: var(--white); }
.office__map { min-height: 20rem; background: var(--navy-2); border: 1px solid var(--navy-line); }
.office__map iframe { width: 100%; height: 100%; min-height: 20rem; border: 0; filter: grayscale(1) contrast(1.05); }
.office__photos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.office__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
  color: var(--steel-300);
  font-size: 0.9375rem;
}
@media (min-width: 60em) {
  .office__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem 4rem; }
  .office__photos { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Contact */
.contact__grid { display: grid; gap: 2.5rem; }
.contact__direct { margin-top: 2rem; color: var(--steel-700); }
.contact__lines { font-size: 1.1875rem; font-weight: 500; line-height: 1.8; }
@media (min-width: 60em) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label { font-weight: 500; font-size: 0.96875rem; }
.field__optional { font-weight: 400; color: var(--steel-700); }
.field__hint { margin: 0; font-size: 0.875rem; color: var(--steel-700); }
.field__error { margin: 0; min-height: 0; font-size: 0.875rem; color: var(--error); }
.field__error:empty { display: none; }

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='search'],
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--steel-500); opacity: 1; }
select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d1b2e' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
textarea { min-height: 8rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--steel-500); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--navy); }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--error); }
input[readonly] { background: var(--steel-050); color: var(--steel-700); }

.request-form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 40em) {
  .request-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}
.request-form__privacy { margin: 1.25rem 0; font-size: 0.875rem; color: var(--steel-700); }
.request-form__status:empty { display: none; }
.request-form__status { margin-top: 1rem; padding: 0.9rem 1rem; border-left: 4px solid var(--navy); background: var(--steel-050); }
.request-form__status.is-success { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); }
.request-form__status.is-error { border-color: var(--error); background: var(--error-bg); color: var(--error); }
.form-summary { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-left: 4px solid var(--error); background: var(--error-bg); color: var(--error); }
.form-summary ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.form-summary a { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Page head (inner pages) ---------- */
.page-head { background: var(--navy); color: var(--white); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.page-head--full { min-height: 60vh; display: flex; align-items: center; }
.page-title { font-family: var(--font-head); font-size: clamp(2.5rem, 1.8rem + 3.2vw, 4.25rem); line-height: 1; max-width: 22ch; }
.page-lead { margin-top: 1.25rem; max-width: 40rem; font-size: 1.125rem; color: var(--steel-200); }
.page-head a { color: var(--white); }
.not-found > div + div { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--navy-line); }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 2.5rem; }
@media (min-width: 64em) {
  .calc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; }
  .calc__result { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.calc__block { margin: 0 0 2.25rem; padding: 0; border: 0; min-width: 0; }
.calc__legend { padding: 0; margin-bottom: 1rem; font-family: var(--font-head); font-size: 1.625rem; font-weight: 600; color: var(--navy); }
.calc__row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.field--grow { flex: 1 1 18rem; }
.field--compact { flex: 0 1 12rem; }
.calc__dims { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 1rem; }
.calc__dims + .calc__dims { margin-top: 1rem; }

.profile-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
@media (min-width: 30em) { .profile-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.profile-tile { position: relative; cursor: pointer; }
.profile-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.profile-tile__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  padding: 0.6rem 0.4rem 0.75rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  text-align: center;
}
.profile-tile:hover .profile-tile__box { border-color: var(--navy); }
.profile-tile input:checked + .profile-tile__box { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--steel-050); }
.profile-tile input:focus-visible + .profile-tile__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.profile-tile__box .profile-svg { width: 100%; max-width: 6rem; height: auto; }
.profile-tile__name { font-size: 0.875rem; font-weight: 500; line-height: 1.25; }

.profile-svg .outline { stroke: currentColor; stroke-width: 2; }
.profile-svg .hatch { stroke: currentColor; stroke-width: 1; opacity: 0.55; }
.profile-svg .axis { stroke: currentColor; stroke-width: 0.8; stroke-dasharray: 12 3 2 3; opacity: 0.55; fill: none; }
.profile-svg .dim, .profile-svg .dim-ext { stroke: currentColor; stroke-width: 0.9; fill: none; }
.profile-svg .dim-ext { opacity: 0.6; }
.profile-svg .dim-tick { stroke: currentColor; stroke-width: 1.4; }
.profile-svg .dim-label { fill: currentColor; font-family: var(--font-text); font-style: italic; font-size: 15px; }

.calc__result { background: var(--navy); color: var(--steel-100); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.calc__result-title { font-family: var(--font-head); font-size: 1.625rem; color: var(--white); }
.calc__diagrams { color: var(--steel-200); margin: 1.25rem auto 1.5rem; max-width: 18rem; }
.profile-svg--large { width: 100%; height: auto; }
.calc__empty { color: var(--steel-300); }
.calc__values { margin: 0; }
.calc__values > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--navy-line); }
.calc__values dt { color: var(--steel-300); font-size: 0.9375rem; }
.calc__values dd { margin: 0; color: var(--white); font-size: 1.125rem; text-align: right; }
.calc__values .calc__total dd { font-size: 1.5rem; font-weight: 600; }
.calc__cost { margin-top: 2rem; }
.calc__cost h3 { font-family: var(--font-head); font-size: 1.375rem; color: var(--white); margin-bottom: 0.25rem; }
.calc__note { margin-top: 1rem; font-size: 0.8125rem; color: var(--steel-300); }

.rates-table { background: var(--white); border: 1px solid var(--steel-200); }
.rates-table th, .rates-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--steel-200); }
.rates-table thead th { font-size: 0.875rem; font-weight: 500; color: var(--steel-700); border-bottom: 2px solid var(--navy); }
.rates-table tbody th { font-weight: 600; color: var(--navy); }
.rates-table td.num { font-size: 1.0625rem; }
.rates-meta { margin-top: 0.75rem; font-size: 0.875rem; color: var(--steel-700); }

/* ---------- Blog ---------- */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list__item { padding-block: 2rem; border-bottom: 1px solid var(--steel-200); }
.post-list__item:first-child { padding-top: 0; }
.post-list__title { font-family: var(--font-head); font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem); margin: 0.4rem 0 0.75rem; }
.post-list__title a { text-decoration: none; color: var(--navy); }
.post-list__title a:hover { text-decoration: underline; color: var(--navy); }
.post-list__item p:last-child { color: var(--steel-700); }
.post-meta { margin: 0; font-size: 0.875rem; color: var(--steel-700); }
.post-meta--light { color: var(--steel-300); margin-top: 1.25rem; }
.article__back { margin-bottom: 1.5rem; font-size: 0.9375rem; }

.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { margin-top: 2.25em; font-family: var(--font-head); font-size: 1.875rem; color: var(--navy); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--steel-500); }
.data-table { font-size: 1rem; line-height: 1.4; border: 1px solid var(--steel-200); }
.data-table th, .data-table td { padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--steel-200); }
.data-table thead th { font-size: 0.875rem; font-weight: 500; color: var(--steel-700); border-bottom: 2px solid var(--navy); white-space: nowrap; }
.data-table tbody th { font-weight: 600; color: var(--navy); white-space: nowrap; }
.article__cta { margin-top: 3rem !important; padding-top: 1.5rem; border-top: 2px solid var(--navy); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--steel-300); font-size: 0.9375rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer__grid { display: grid; gap: 2rem; padding-block: 3.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer__brand img { width: 9.5rem; height: auto; }
.site-footer__title { font-family: var(--font-text); font-size: 0.875rem; font-weight: 500; color: var(--steel-500); margin-bottom: 0.75rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.25rem;
  /* Hairline aligned with the content edge, not the padded box. */
  background: linear-gradient(#1f2733, #1f2733) no-repeat top / 100% 1px;
  background-origin: content-box;
  background-clip: content-box;
}
.site-footer__base p { margin: 0; }
.lang-switch--footer a { color: var(--steel-300); }
.lang-switch--footer a[aria-current='true'] { color: var(--white); }
@media (min-width: 60em) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero__photo, .rates, .site-footer, .menu-toggle, .request-form, .calc__form button { display: none !important; }
  .hero, .page-head, .section--navy, .calc__result { background: none !important; color: #000 !important; }
  .hero::after { display: none; }
}

/* Safari before 15 has no aspect-ratio: keep placeholders from collapsing. */
@supports not (aspect-ratio: 1 / 1) {
  .person__photo--empty { min-height: 16rem; }
  .office__photo { min-height: 11rem; }
}
