/* Avante theme. 1:1 port of the 2022 Oxygen + Automatic.css site (measured off the live render, 2026-11-10).
   Fluid sizes interpolate 360 -> 1440 px. Layers: base resets lose to components. */
@layer base, components, utilities;

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin-ext.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  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: "Nunito";
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --aubergine: #3f2853;
  --aubergine-hover: #482e5f;
  --gold: #b68e54;
  --gold-hover: #a47e47;
  --ink: #170e1e;
  --text: #544c5b;
  --light: #f9f9fa;
  --bg-alt: #f5f1f7;
  --bg-card: #f9f8fa;
  --border: #d6d1db;
  --footer-bg: #170e1e;
  --footer-text: #e6d8f2;
  --cta-text: #e6d8f2;
  --field-border: #e2d5bf;
  --field-bg: rgb(63 40 83 / 0.03);
  --field-ring: #b68e54;

  --font: "Nunito", ui-sans-serif, system-ui, sans-serif;
  --text-s: 0.9375rem;
  --text-m: clamp(1.0000rem, 0.9768rem + 0.0952vw, 1.0625rem);
  --h1-hero: clamp(2.4881rem, 2.2079rem + 1.1495vw, 3.2425rem);
  --h1: clamp(1.7281rem, 1.5993rem + 0.5286vw, 2.0750rem);
  --h2: clamp(2.0737rem, 1.8806rem + 0.7924vw, 2.5938rem);
  --h3: clamp(1.2000rem, 1.1524rem + 0.1952vw, 1.3281rem);

  --space-xs: clamp(0.3631rem, 0.3123rem + 0.2086vw, 0.5000rem);
  --space-s: clamp(0.7262rem, 0.6246rem + 0.4171vw, 1.0000rem);
  --space-m: clamp(1.0894rem, 0.9369rem + 0.6257vw, 1.5000rem);
  --space-l: clamp(1.4525rem, 1.2491rem + 0.8343vw, 2.0000rem);
  --space-xl: clamp(2.1787rem, 1.8737rem + 1.2514vw, 3.0000rem);
  --space-xxl: clamp(2.9050rem, 2.4983rem + 1.6686vw, 4.0000rem);
  --section-space: clamp(5.2188rem, 4.3714rem + 3.4762vw, 7.5000rem);
  --gutter: 1.5rem;
  --content: 77rem;
  --radius: 0.5rem;
  --radius-btn: 0.375rem;
  --shadow-btn: 0 0.25rem 0.5625rem rgb(63 40 83 / 0.2);
  --shadow-card: 0 1px 3px rgb(0 0 0 / 0.1), 0 1px 2px rgb(0 0 0 / 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
  body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--text-m);
    line-height: 1.61;
    color: var(--text);
    background: #fff url("/assets/img/taust.webp") repeat-x center top / 120rem auto;
    -webkit-font-smoothing: antialiased;
  }
  @media (width < 48rem) {
    body { background-image: url("/assets/img/taust-mob.webp"); background-size: 100% auto; background-repeat: no-repeat; }
  }
  h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
  h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; text-wrap: balance; }
  p, li, blockquote { text-wrap: pretty; }
  :where(p, li, figcaption, blockquote):has(br) { text-wrap: wrap; }
  ul { padding: 0; list-style: none; }
  img, svg { display: block; max-width: 100%; }
  img { height: auto; }
  a { color: inherit; text-decoration: none; }
  a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
  button, input, textarea { font: inherit; color: inherit; }
  main:focus { outline: none; }
  :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
}

@layer utilities {
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

@layer components {
  .container { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

  .skip-link { position: absolute; left: var(--gutter); top: -4rem; z-index: 100; display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.25rem; background: var(--aubergine); color: var(--light); border-radius: var(--radius-btn); font-weight: 600; }
  .skip-link > span { display: inline-block; text-box: trim-both cap alphabetic; }
  .skip-link:focus { top: 1rem; }

  /* ---- buttons + links ---- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 2.875rem; padding: 0.625rem 1.75rem;
    font-size: 1rem; font-weight: 600; line-height: 1.61;
    color: var(--light); background: var(--aubergine);
    border: 0; border-radius: var(--radius-btn); box-shadow: var(--shadow-btn);
    cursor: pointer; white-space: nowrap;
    transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .btn > span { display: inline-block; text-box: trim-both cap alphabetic; }
  .btn .icon { width: 0.875rem; height: 0.875rem; flex: none; }
  .btn--lg { min-height: 3.125rem; padding-inline: 2rem; }
  .btn--sm { min-height: 2.4375rem; padding: 0.5rem 1.5rem; font-size: 0.875rem; border-radius: 0.25rem; }
  .btn--gold { background: var(--gold); box-shadow: 0 0.25rem 0.5625rem rgb(182 142 84 / 0.2); }
  .btn--light { background: var(--light); color: var(--ink); box-shadow: var(--shadow-card); }
  @media (hover: hover) {
    .btn:hover { background: var(--aubergine-hover); }
    .btn--gold:hover { background: var(--gold-hover); }
    .btn--light:hover { background: #fff; }
  }

  .text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-s); font-weight: 600; color: var(--aubergine); }
  .text-link > span { display: inline-block; text-box: trim-both cap alphabetic; }
  .text-link .icon { width: 1.125rem; height: 1.125rem; flex: none; transition: transform 0.2s var(--ease); }
  .text-link--gold { color: var(--gold); font-weight: 500; }
  @media (hover: hover) { .text-link:hover .icon { transform: translateX(0.25rem); } }

  .eyebrow { font-weight: 600; color: var(--gold); margin-bottom: var(--space-s); }
  .section-heading { font-size: var(--h2); color: var(--aubergine); text-align: center; margin-bottom: var(--space-xl); }
  .section-heading--ink { color: var(--ink); }

  /* ---- header ---- */
  .site-header { position: relative; z-index: 20; padding-block: var(--space-m); }
  .site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
  .site-header__logo { flex: none; }
  .site-header__logo img { height: clamp(2.3750rem, 2.1429rem + 0.9524vw, 3.0000rem); width: auto; }
  .site-header__panel { display: flex; align-items: center; gap: clamp(2rem, -4rem + 8vw, 4.25rem); }
  .site-nav__list { display: flex; gap: 2.5rem; }
  .site-nav__link { display: block; padding-block: 1.25rem; font-weight: 700; color: var(--ink); transition: color 0.2s var(--ease); }
  .site-nav__link[aria-current="page"] { color: var(--ink); }
  @media (hover: hover) { .site-nav__link:hover { color: var(--gold); } }
  .site-header__actions { display: flex; align-items: center; gap: 1rem; }
  .site-header__toggle { display: none; }

  @media (width < 62rem) {
    .site-header { padding-block: 1.09rem; }
    .site-header__toggle {
      display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -0.5rem;
      background: none; border: 0; color: var(--ink); cursor: pointer;
    }
    .site-header__toggle .icon { width: 1.75rem; height: 1.75rem; grid-area: 1 / 1; }
    .site-header__icon-close { display: none; }
    .site-header.is-open .site-header__icon-open { display: none; }
    .site-header.is-open .site-header__icon-close { display: block; }
    .site-header__panel {
      position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: var(--space-m);
      padding: var(--space-m) var(--gutter) var(--space-l);
      background: #fff; box-shadow: 0 1rem 2rem rgb(23 14 30 / 0.12);
      visibility: hidden; opacity: 0; transform: translateY(-0.5rem);
      transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
    }
    .site-header.is-open .site-header__panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
    .site-nav__list { flex-direction: column; gap: 0; }
    .site-nav__link { padding-block: 0.75rem; font-size: 1.125rem; border-bottom: 1px solid var(--border); }
    .site-header__actions { flex-direction: column; align-items: flex-start; gap: var(--space-m); }
  }

  /* ---- hero ---- */
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; max-width: 80rem; margin-inline: auto; }
  .hero__content { display: flex; flex-direction: column; justify-content: space-between; padding-left: var(--gutter); padding-right: 3rem; }
  .hero__intro { padding-top: 2.48rem; }
  .hero__heading { font-size: var(--h1-hero); line-height: 1.05; color: var(--aubergine); margin-bottom: var(--space-s); text-wrap: wrap; }
  .hero__lead { font-size: var(--text-s); font-weight: 600; line-height: 1.68; margin-bottom: var(--space-m); }
  .partners { padding-block: 2.5rem; text-align: center; }
  .partners__title { font-size: var(--text-s); color: var(--gold); margin-bottom: 0.5rem; }
  .partners__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .partners__logo { width: 100%; filter: grayscale(1); }
  .partners__list li:nth-child(2) .partners__logo { opacity: 0.7; }
  .partners__list li:nth-child(3) .partners__logo { opacity: 0.6; }
  .hero__media { min-width: 0; }

  /* hero needs the image to bleed to the viewport edge on wide screens, like the Oxygen original */
  @media (width >= 80rem) {
    .hero__media { margin-right: calc((80rem - 100vw) / 2); }
  }

  /* ---- slider (drag + swipe, see site.js) ---- */
  .slider { position: relative; touch-action: pan-y; }
  .slider__viewport { overflow: hidden; touch-action: pan-y; cursor: grab; }
  .slider__viewport.is-dragging { cursor: grabbing; user-select: none; }
  .slider__track { display: flex; will-change: transform; transition: transform 0.6s var(--ease); }
  .slider__slide { flex: 0 0 100%; min-width: 0; }
  .slider__slide img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
  .slider--hero, .slider--hero .slider__viewport, .slider--hero .slider__track { height: 100%; }
  .slider__image { width: 100%; height: 100%; object-fit: cover; }
  @media (width >= 62rem) { .slider--hero .slider__image { object-position: 0 50%; } }
  .slider--hero .slider__viewport { min-height: 40.625rem; border-radius: 1rem 0 0 1rem; }
  .slider__arrow {
    position: absolute; top: 50%; z-index: 2; display: grid; place-items: center;
    width: 4rem; height: 4rem; margin-top: -2rem; padding: 0;
    background: none; border: 0; color: var(--gold); cursor: pointer;
  }
  .slider__arrow .icon { width: 3rem; height: 3rem; }
  .slider__arrow--prev { left: 0.5rem; }
  .slider__arrow--next { right: 0.5rem; }
  @media (hover: hover) { .slider__arrow:hover { color: var(--light); } }

  .slider__dots { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; }
  .slider__dot { width: 1rem; height: 1rem; padding: 0; border: 0; border-radius: 50%; background: var(--aubergine); opacity: 0.25; cursor: pointer; transition: opacity 0.2s var(--ease); }
  .slider__dot[aria-current="true"] { opacity: 1; }
  .slider__dots:empty { display: none; }

  @media (width < 62rem) {
    .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-m); padding-inline: var(--gutter); padding-bottom: 4.05rem; }
    .hero__content { padding: 0; }
    .hero__intro { padding-top: 1.09rem; }
    .hero__cta { width: 100%; }
    .partners { display: none; }
    .hero__media { margin: 0; }
    .slider--hero .slider__viewport { min-height: 0; aspect-ratio: 342 / 350; border-radius: 1rem; }
    .slider__arrow--prev { display: none; }
    .slider__arrow--next { right: -0.25rem; }
  }
  @media (48rem <= width < 62rem) { .slider--hero .slider__viewport { aspect-ratio: 4 / 3; } }

  /* ---- services ---- */
  .services { position: relative; z-index: 2; padding-block: var(--section-space); background: var(--bg-alt); }
  .services__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-l); }
  .service-card { text-align: center; }
  .service-card__image { width: 100%; aspect-ratio: 389 / 185; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-m); }
  .service-card__heading { font-size: var(--h3); line-height: 1.5; color: var(--aubergine); margin-bottom: 0.5rem; }
  .service-card__text { max-width: 24rem; margin-inline: auto; }
  .services__watermark { position: absolute; left: max(var(--gutter), calc((100% - 80rem) / 2 + var(--gutter))); bottom: 0; z-index: 0; width: min(72rem, 90%); transform: translateY(19.5%); opacity: 0.1; pointer-events: none; }
  @media (width < 62rem) { .services__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
  @media (width < 40rem) { .services__grid { grid-template-columns: minmax(0, 1fr); } }

  /* ---- reviews ---- */
  .reviews { position: relative; padding-block: var(--section-space); background: var(--border); }
  .slider--reviews .slider__track { gap: var(--space-l); }
  .slider--reviews .slider__slide { flex: 0 0 calc((100% - 2 * var(--space-l)) / 3); }
  .review-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 14.75rem; padding: var(--space-m); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
  .review-card__quote { margin-bottom: var(--space-m); }
  .review-card__author { display: flex; align-items: center; gap: 0.75rem; }
  .review-card__avatar { width: 3rem; height: 3rem; border-radius: var(--radius); object-fit: cover; box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.1); }
  .review-card__meta { display: flex; flex-direction: column; }
  .review-card__name { font-weight: 600; color: var(--ink); }
  .review-card__role { font-size: var(--text-s); margin-top: 0.625rem; line-height: 1.3; }
  .review-card__name { line-height: 1.3; }
  @media (width >= 62rem) { .slider--reviews .slider__viewport { cursor: default; } }
  @media (width < 62rem) { .slider--reviews .slider__slide { flex-basis: 100%; } .review-card { min-height: 13rem; } }

  /* ---- CTA band ---- */
  .cta-band {
    padding-block: var(--section-space); text-align: center; color: var(--cta-text);
    background-color: #2f2834;
    background-image: linear-gradient(#544c5b, #544c5b), url("/assets/img/cta-taust.webp");
    background-size: auto, cover; background-position: center; background-repeat: no-repeat;
    background-blend-mode: multiply, normal;
  }
  .cta-band__heading { font-size: var(--h1); color: var(--light); margin-bottom: 0.75rem; }
  .cta-band__text { margin-bottom: var(--space-m); }
  .cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; }
  @media (width < 40rem) { .cta-band__actions { flex-direction: column; } .cta-band__actions .btn { width: 100%; } }

  /* ---- footer ---- */
  .site-footer { padding-block: var(--section-space); background: var(--footer-bg); color: var(--footer-text); }
  .site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-l); align-items: start; }
  .site-footer__logo img { width: 12.5rem; height: auto; margin-bottom: var(--space-m); }
  .site-footer__nav { display: flex; gap: 1rem; font-size: var(--text-s); font-weight: 600; }
  .site-footer__copy { margin-top: var(--space-xxl); font-size: var(--text-s); color: rgb(230 216 242 / 0.35); }
  .site-footer__contact { justify-self: center; }
  .site-footer__item + .site-footer__item { margin-top: var(--space-m); }
  .site-footer__label { display: block; font-size: var(--text-s); margin-bottom: var(--space-xs); }
  .site-footer__heading { font-size: var(--h3); line-height: 1.5; color: var(--footer-text); margin-bottom: var(--space-s); }
  @media (hover: hover) { .site-footer a:hover { color: #fff; } }
  @media (width < 62rem) {
    .site-footer__grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .site-footer__brand { order: 3; }
    .site-footer__nav { justify-content: center; }
    .site-footer__logo img { margin-inline: auto; }
    .site-footer__copy { margin-top: var(--space-m); }
  }

  /* ---- intro (Meist, Teenused) ---- */
  .intro { padding-block: var(--section-space); }
  .intro__grid { display: grid; gap: var(--space-xxl); align-items: start; }
  .intro__grid--about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .intro__grid--services { grid-template-columns: minmax(0, 454fr) minmax(0, 714fr); }
  .intro__image { width: 100%; border-radius: var(--radius); object-fit: cover; }
  .intro__image--tall { aspect-ratio: 584 / 600; }
  .intro__image--shadow { aspect-ratio: 1; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06); }
  .intro__heading { font-size: var(--h1); line-height: 1.265; color: var(--aubergine); margin-bottom: 0.75rem; }
  .intro__heading--ink { color: var(--ink); }
  .intro__text--spaced { margin-bottom: var(--space-xxl); }
  .intro__text--lead { font-size: clamp(1.0625rem, 1.0278rem + 0.1543vw, 1.1719rem); line-height: 1.6; margin-top: var(--space-s); margin-bottom: var(--space-l); }
  @media (width < 62rem) {
    .intro__grid--about, .intro__grid--services { grid-template-columns: minmax(0, 1fr); }
    .intro__grid--about .intro__image { display: none; }
  }

  .checklist { display: grid; grid-template-columns: repeat(3, minmax(0, 11.0625rem)); gap: 1rem 2rem; font-size: var(--text-s); line-height: 1.3; }
  .checklist__item { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; color: var(--ink); }
  .checklist__icon { flex: none; width: 1rem; height: 1rem; color: var(--aubergine); }
  @media (width < 48rem) { .checklist { grid-template-columns: minmax(0, 1fr); } }

  /* ---- team ---- */
  .team { padding-block: var(--section-space); background: var(--bg-card); }
  .team__heading { margin-bottom: var(--space-xxl); }
  .team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-l); }
  .member { display: flex; align-items: center; gap: var(--space-s); }
  .member__photo { flex: none; width: 6rem; height: 6rem; object-fit: cover; border-radius: var(--radius); box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.11); }
  .member__name { font-size: var(--h3); line-height: 1.3; color: var(--ink); }
  .member__mail { display: inline-block; margin-top: 0.375rem; }
  .member__role { font-size: var(--text-s); margin-top: 0.625rem; line-height: 1.3; }
  .member__mail { font-weight: 700; color: var(--gold); }
  @media (width < 62rem) { .team__grid { grid-template-columns: minmax(0, 1fr); } }

  /* ---- contact ---- */
  .contact { padding-block: var(--section-space); }
  .contact__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); margin-bottom: var(--space-xxl); }
  .contact__map { position: relative; z-index: 0; height: 21.875rem; border-radius: 0.25rem; background: #ddd; overflow: hidden; }
  .contact__map noscript a { display: grid; place-items: center; height: 100%; color: var(--aubergine); font-weight: 600; }
  .contact__lead { margin-bottom: var(--space-m); }
  .enquiry__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
  .field { margin-bottom: 1.25rem; }
  .field__control {
    display: block; width: 100%; min-height: 2.9375rem; padding: 0.6875rem 0.9375rem;
    font-size: max(1rem, 16px); line-height: 1.5; color: #606266;
    background: var(--field-bg); border: 1px solid var(--field-border); border-radius: 0.4375rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  }
  .field__control::placeholder { color: #8e8a93; opacity: 1; }
  .field__control:focus { outline: none; border-color: var(--field-ring); box-shadow: 0 0 0 1px var(--field-ring); }
  .field__control--area { height: 8.9375rem; min-height: 6rem; resize: vertical; }
  .field__control[aria-invalid="true"] { border-color: #c0392b; }
  .field__control[aria-invalid="true"]:focus { box-shadow: 0 0 0 1px #c0392b; }
  .field__error { margin-top: 0.375rem; font-size: 0.875rem; color: #b03a2e; }
  .enquiry__trap { display: none; }
  /* Turnstile, appearance interaction-only (fleet rule, Sten 2026-11-11): no box and no reserved space for normal
     visitors; the widget opens in place (flexible 65 px, compact under 300 px 140 px) only when Cloudflare asks the
     visitor to interact. */
  .enquiry { container: enquiry / inline-size; }
  .enquiry__captcha { min-inline-size: 0; }
  .enquiry__captcha-note { margin: 0 0 0.5rem; font-size: 0.875rem; line-height: 1.35; text-wrap: balance; }
  .enquiry__captcha-note[hidden] { display: none; }
  .enquiry__captcha-widget { line-height: 0; font-size: 0; }
  .enquiry__captcha-widget.is-interactive { min-block-size: 65px; margin-bottom: 1.25rem; }
  @container enquiry (width < 300px) { .enquiry__captcha-widget.is-interactive { min-block-size: 140px; } }
  .enquiry__status { margin-bottom: 1rem; font-size: var(--text-s); color: #b03a2e; }
  .enquiry__actions { display: flex; justify-content: flex-end; margin-top: 2rem; }
  .enquiry__submit { min-height: 2.625rem; padding: 0.5rem 1.25rem; font-weight: 500; border-radius: 0.4375rem; box-shadow: none; }
  .enquiry__submit[disabled] { opacity: 0.6; cursor: progress; }
  .enquiry__thanks { padding: var(--space-l); text-align: center; background: var(--field-bg); border-radius: var(--radius); color: var(--ink); font-weight: 600; }
  .enquiry__thanks:focus { outline: none; }
  .contact__cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-l); }
  .info-card { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: var(--space-l) var(--space-m); text-align: center; background: var(--field-bg); border-radius: var(--radius); box-shadow: var(--shadow-card); }
  .info-card__heading { font-size: var(--h3); line-height: 1.5; color: var(--ink); margin-bottom: 0.5rem; }
  .info-card__text { margin-bottom: var(--space-m); }
  .info-card > :last-child { margin-bottom: 0; }
  .info-card__text a { color: inherit; }
  @media (hover: hover) { .info-card__text a:hover { color: var(--aubergine); } }
  @media (width < 62rem) {
    .contact__top, .contact__cards { grid-template-columns: minmax(0, 1fr); }
    .contact__form-wrap { order: -1; }
    .contact__form-wrap > .intro__heading, .contact__lead { text-align: center; }
  }
  @media (width < 30rem) { .enquiry__row { grid-template-columns: minmax(0, 1fr); gap: 0; } }

  /* ---- plain pages ---- */
  .prose-page { padding-block: var(--section-space); min-height: 50vh; }
  .prose { max-width: 46rem; margin-bottom: var(--space-l); }
  .prose > * + * { margin-top: 1em; }
}

/* Leaflet overrides stay unlayered: leaflet.css is unlayered and would beat any @layer rule. */
/* leaflet popup in the site font */
.contact__map .leaflet-popup-content { font-family: var(--font); font-size: 0.8125rem; line-height: 1.4; color: var(--ink); }
.contact__map.leaflet-container { font-family: var(--font); }
.contact__map .leaflet-control-zoom a { display: grid; place-items: center; text-indent: 0; }
.contact__map .leaflet-control-zoom a > span { display: grid; line-height: 0; }
.contact__map .leaflet-control-zoom .icon { width: 0.875rem; height: 0.875rem; }
