/* ============================================================
   Floramics Design System
   Tweaks locked: layout=editorial · accent=green · density=default
   All spacing/sizes routed through tokens.css (8px grid).
   ============================================================ */

:root {
  /* Brand colors */
  --green: #267A4E;
  --green-deep: #1B5236;
  --green-darker: #0F3522;

  /* Accent (locked to green; semantic alias for future themes) */
  --accent:      var(--green);
  --accent-deep: var(--green-deep);

  --pink: #F1A8B2;
  --pink-soft: #F8D4D9;

  /* Surfaces */
  --paper: #FBF7F2;
  --paper-warm: #F4E9DC;
  --paper-blush: #F9EDE8;
  --ink: #1F2A23;
  --ink-soft: #4A5851;
  --line: #E5DDD0;
  --line-strong: #C9BFA8;

  /* Type families */
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Onest', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  font-feature-settings: "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paper grain tiled into the body background, scrolling with content.
   `background-attachment: scroll` (the default) is materially cheaper
   per frame than `fixed` — the tile rasterises once and rides along
   in the compositor, no per-frame recomposite. The texture still
   reads continuous because the tile is small relative to scroll
   velocity. */
body {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.15 0 0 0 0 0.12 0 0 0 0.03 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  background-size: 240px 240px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Focus management ------------------------------------------- */

*:focus { outline: none; }
*:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Skip link (visually hidden until keyboard-focused) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-1);
  background: var(--green-deep);
  color: var(--paper);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 500;
  z-index: var(--z-overlay);
  text-decoration: none;
}
.skip-link:focus-visible {
  left: var(--space-2);
}

/* Typography ------------------------------------------------- */

.eyebrow {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.h-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--text-display-lg);
  line-height: var(--leading-display);
  letter-spacing: -0.025em;
  color: var(--green-deep);
  margin: 0;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}

.h-display em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* Display heading variants — used to break the eyebrow+em-italic
   pattern repetition. Pick one per section, don't stack them. */

/* Drop-cap: first letter set in larger Fraunces, rest regular. */
.h-display--dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  font-size: 1.4em;
  line-height: 0.8;
  margin-right: 0.04em;
  color: var(--accent);
}

/* Statement: condensed, uppercase mono runner above + larger display. */
.h-statement {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.h-statement .h-statement__index {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.h-statement .h-statement__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--text-display-md);
  line-height: var(--leading-display);
  letter-spacing: -0.02em;
  color: var(--green-deep);
}

/* Annotated: super-small footnote ¹ tag next to the heading. */
.h-annotated__note {
  font-family: var(--mono);
  font-size: var(--text-xs);
  vertical-align: super;
  margin-left: 0.25em;
  color: var(--ink-quiet);
}

.h-section {
  font-family: var(--serif);
  font-weight: 350;
  font-size: var(--text-display-md);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--green-deep);
  margin: 0;
}

.h-section em {
  font-style: italic;
  color: var(--accent);
}

.h-card {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  margin: 0;
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--text-display-lede);
  line-height: var(--leading-relaxed);
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
  margin: 0;                              /* reset <p> UA margin (was 26px) */
}

/* Eyebrow → heading auto-margin (replaces scattered inline styles) */
.eyebrow + .h-section,
.eyebrow + .h-display,
.eyebrow + .h-card {
  margin-top: var(--space-3);
}

.body {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--ink-soft);
  text-wrap: pretty;
}

.body-lg {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Layout helpers --------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding-block: var(--section-gap);
}

/* Section modifiers — replace inline padding overrides. */
.section--tight       { padding-top: 0; }
.section--no-pb       { padding-bottom: 0; }
.section--paper-warm  { background: var(--paper-warm); }
.section--paper-blush { background: var(--paper-blush); }
.section--dark        { background: var(--green-deep); color: var(--paper); }
.section--dark .h-section,
.section--dark .h-display,
.section--dark .lede     { color: var(--paper); }
.section--dark .h-section em,
.section--dark .h-display em { color: var(--pink); }
.section--dark .lede         { color: rgba(251, 247, 242, 0.85); }

/* Section header (eyebrow + heading + optional lede) — used to live
   as `margin-bottom: var(--space-7)` inline on a wrapping div. */
.section-header {
  margin-bottom: var(--space-7);
}
.section-header--max-width { max-width: 45rem; }

/* Centered editorial header (alternative composition) */
.centered-header {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.centered-header__title { text-wrap: balance; }
.centered-header__lede { margin: 0; }
/* btn-link inside a centered header should centre, not flex-start */
.centered-header .btn-link { align-self: center; }

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* Buttons ---------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  height: var(--btn-md-height);
  padding-inline: var(--space-3);
  border-radius: var(--radius-full);
  font-family: var(--sans);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--duration-base) var(--ease-default),
    background-color var(--duration-base) var(--ease-default),
    border-color var(--duration-base) var(--ease-default),
    box-shadow var(--duration-base) var(--ease-default);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #FFF;
}
/* Use --green-darker on hover so the button stays distinct from
   the --green-deep contact-CTA section background. */
.btn-primary:hover {
  background: var(--green-darker);
}

/* Squared variant — for editorial CTAs that should feel material
   instead of pill-shaped. Used by "Brief van Reinier" and other
   high-craft moments. */
.btn--squared {
  border-radius: var(--radius-md);
}

.btn-dark {
  background: var(--green-deep);
  color: var(--paper);
}
.btn-dark:hover { background: var(--green-darker); }

.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--green-deep); }

/* Ghost button on dark surfaces (replaces inline style overrides) */
.btn-ghost--on-dark {
  color: var(--paper);
  border-color: rgba(241, 168, 178, 0.5);
}
.btn-ghost--on-dark:hover { border-color: var(--paper); }

.btn:focus-visible { box-shadow: var(--shadow-focus); outline: none; }

.btn-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--green-deep);
  padding-bottom: 4px;
  transition: gap var(--duration-base) var(--ease-default);
  cursor: pointer;
  background: none;
  border: 0;
  align-self: flex-start;
}
.btn-link:hover { gap: calc(var(--space-1) + 0.375rem); }

/* Two-layer animated underline — the existing line retracts to the right,
   then a new line draws in from the left. Editorial "ink redraw" gesture. */
.btn-link::before,
.btn-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform var(--duration-base) var(--ease-default);
}
.btn-link::after {
  transform-origin: left;
  transform: scaleX(0);
  transition-delay: var(--duration-base);
}
.btn-link:hover::before {
  transform: scaleX(0);
}
.btn-link:hover::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .btn-link::before { transform: none; }
  .btn-link::after  { display: none; }
  .btn-link:hover::before { transform: none; }
}

/* btn-link inside dark sections (process teaser, contact CTA) */
.btn-link--on-dark { color: var(--pink); }
.btn-link--on-dark:hover { color: var(--paper); }

/* SVG icon system — inline icons inherit currentColor and size */
.icon {
  display: inline-block;
  flex-shrink: 0;
  width: var(--icon-md);
  height: var(--icon-md);
  vertical-align: -2px;
  pointer-events: none;
}
.icon-sm { width: var(--icon-sm); height: var(--icon-sm); }
.icon-lg { width: var(--icon-lg); height: var(--icon-lg); }

/* Arrow that nudges right on hover when inside a .btn / .btn-link */
.icon-arrow {
  transition: transform var(--duration-base) var(--ease-default);
}
.btn:hover .icon-arrow,
.btn-link:hover .icon-arrow { transform: translateX(4px); }

/* Media (real photo wrapper) --------------------------------- */

.media {
  position: relative;
  background: var(--paper-warm);
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  margin: 0;
  backface-visibility: hidden;
  /* Always-on soft shadow — photos feel like they sit on paper, not
     pasted onto it. Strengthens to --shadow-hover on cat-card hover. */
  box-shadow: 0 4px 18px rgba(15, 53, 34, 0.06);
  transition:
    transform var(--duration-base) var(--ease-default),
    box-shadow var(--duration-base) var(--ease-default);
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  backface-visibility: hidden;
}

/* Zoom-out reveal — combines with the develop opacity. Inner <img>
   starts at scale(1.04) and settles to scale(1) on the same timeline
   as the opacity. Targets the IMG, not the wrapper, so parallax on
   .hero-photo (which transforms the wrapper) doesn't conflict. */
.media.media--develop img,
.media.hero-photo img {
  transform: scale(1.04);
  transform-origin: center;
  transition: transform var(--duration-scroll) var(--ease-out);
}
.media.media--develop.is-loaded img,
.media.hero-photo.is-loaded img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .media.media--develop img,
  .media.hero-photo img {
    transform: none;
    transition: none;
  }
}

.media-tint-blush { background: var(--paper-blush); }
.media-tint-dark  { background: var(--green-darker); border-color: var(--green-deep); }

/* Develop entrance: soft 0.1 → 1 opacity reveal triggered per <img>
   once it's fully decoded. Applied to hero photos and any product
   media you want to feel "developed in" rather than popping in. */
.media.media--develop {
  opacity: 0.1;
  transition: opacity var(--duration-scroll) var(--ease-out);
}
.media.media--develop.is-loaded { opacity: 1; }

/* Backwards-compatible alias for the existing .hero-photo usage. */
.media.hero-photo {
  opacity: 0.1;
  transition: opacity var(--duration-scroll) var(--ease-out);
}
.media.hero-photo.is-loaded { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .media.media--develop,
  .media.hero-photo {
    opacity: 1;
    transition: none;
  }
}

/* Image placeholders (fallback when no src) ------------------ */

.ph {
  position: relative;
  background: var(--paper-warm);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 14px,
      rgba(38, 122, 78, 0.05) 14px,
      rgba(38, 122, 78, 0.05) 15px
    );
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--space-2);
  color: var(--green-deep);
  transition:
    transform var(--duration-base) var(--ease-default),
    box-shadow var(--duration-base) var(--ease-default);
}

.ph-blush {
  background: var(--paper-blush);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 14px,
      rgba(38, 122, 78, 0.07) 14px,
      rgba(38, 122, 78, 0.07) 15px
    );
}

.ph-dark {
  background: var(--green-darker);
  color: var(--pink-soft);
  border-color: var(--green-deep);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 14px,
      rgba(241, 168, 178, 0.06) 14px,
      rgba(241, 168, 178, 0.06) 15px
    );
}

.ph-label {
  font-family: var(--mono);
  font-size: 0.625rem;     /* 10px caption */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Header ----------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
  /* backdrop-filter removed — re-blurring the viewport behind a
     sticky header is the single most expensive scroll-frame operation
     on modern Chromium. Solid paper background reads identical to the
     human eye, costs zero. */
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-2) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.brand img {
  height: 2.25rem;       /* 36px */
  width: auto;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--text-xl);
  letter-spacing: 0.02em;
  color: var(--green-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: var(--space-1) 0;
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-default);
}

.nav-link:hover { color: var(--green-deep); }

.nav-link.active { color: var(--green-deep); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.lang-switch {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-half);
  padding: var(--space-1) var(--space-half);
  background: transparent;
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-default);
  text-decoration: none;
}

.lang-divider {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--line-strong);
}

.flag {
  width: 1.125rem;       /* 18px */
  height: 0.75rem;       /* 12px */
  border-radius: 2px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.flag-nl {
  background: linear-gradient(to bottom, #AE1C28 0 33%, #FFF 33% 66%, #21468B 66% 100%);
}

.flag svg { display: block; }

.lang-code {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  position: relative;
  transition: color var(--duration-base) var(--ease-default);
}

/* Current language is the static label, other is the interactive target */
.lang-code.is-current { color: var(--ink-quiet); }
.lang-code.is-other   { color: var(--green-deep); }

/* Underline grows from left on hover/focus — only on the interactive side */
.lang-code.is-other::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-default);
}
.lang-switch:hover .lang-code.is-other::after,
.lang-switch:focus-visible .lang-code.is-other::after { transform: scaleX(1); }

/* Mobile: only show the OTHER language as a single switch */
@media (max-width: 900px) {
  .lang-code.is-current { display: none; }
  .lang-divider         { display: none; }
}

/* ===========================================================
   Mobile menu — hamburger button + drawer
   Hidden on desktop, takes over from .nav on screens ≤ 900px.
   =========================================================== */

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: var(--space-1);
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle__bar {
  display: block;
  width: 1.25rem;      /* 20px */
  height: 1.5px;
  background: var(--green-deep);
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform var(--duration-base) var(--ease-default),
    opacity   var(--duration-fast) var(--ease-default);
}

/* Animate to X */
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle__bar { transition: none; }
}

/* Drawer ----------------------------------------------------- */

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  height: 100vh;             /* fallback */
  width: min(85vw, 24rem);
  background: var(--paper);
  border-right: 1px solid var(--line);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  padding: calc(var(--space-8) + var(--space-3)) var(--space-4) var(--space-4);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0.24, 1);
  visibility: hidden;
}
.drawer[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 53, 34, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-overlay);
  transition: opacity 320ms var(--ease-default);
}
.drawer-overlay:not([hidden]) {
  pointer-events: auto;
}
body.drawer-open .drawer-overlay {
  opacity: 1;
}

body.drawer-open {
  overflow: hidden;
}

/* Drawer nav list */

.drawer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.drawer-nav__link {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  line-height: 1.1;
  color: var(--green-deep);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-default);
}

.drawer-nav__num {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--ink-quiet);
  width: 1.5rem;
  flex-shrink: 0;
}

.drawer-nav__link.is-active .drawer-nav__num,
.drawer-nav__link.is-active .drawer-nav__label {
  color: var(--accent);
  font-style: italic;
}
.drawer-nav__link:hover .drawer-nav__label {
  color: var(--accent);
}

/* Drawer footer (contact channels) — tappable rows on mobile.
   Each row is full-width with min-height 48px (Apple HIG target) so
   thumbs land on them reliably. Type bumped to 16px sans, gentle
   hairlines between rows for affordance without screaming. */

.drawer-footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
}

.drawer-footer__channel {
  display: flex;
  align-items: center;
  min-height: 3rem;                /* 48px tap target */
  padding-block: var(--space-1);
  font-family: var(--sans);
  font-size: var(--text-md);
  letter-spacing: 0;
  text-transform: none;
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color var(--duration-base) var(--ease-default);
}
.drawer-footer__channel:last-child { border-bottom: 0; }
.drawer-footer__channel:hover,
.drawer-footer__channel:active {
  color: var(--accent);
}

/* Hero ------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(var(--space-7), 8vw, var(--space-12)) clamp(var(--space-10), 10vw, var(--space-16));
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(var(--space-5), 6vw, var(--space-12));
  align-items: center;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.hero-meta-line {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.hero-meta-stamp {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.hero-claim {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  max-width: 42.5rem;
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}

/* Reassurance line under the hero CTA — addresses "will I get a reply?"
   and "am I talking to a salesperson?" in one mono one-liner. */
.cta-reassurance {
  margin: var(--space-2) 0 0;
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Editorial hero visual: main image left (full height), two stacked accents right */
.hero-visual {
  position: relative;
  aspect-ratio: 5/6;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-2);
}

.hero-visual > *:nth-child(1) {
  grid-row: 1 / 3;
  grid-column: 1;
}
.hero-visual > *:nth-child(2) {
  grid-row: 1;
  grid-column: 2;
}
.hero-visual > *:nth-child(3) {
  grid-row: 2;
  grid-column: 2;
}

.hero-stats {
  margin-top: clamp(var(--space-7), 8vw, var(--space-12));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Editorial single-line variant of the stats — replaces the 4-cell template.
   Top hairline keeps the structural anchor, but the content reads as a sentence
   instead of a marketing dashboard. */
.hero-sentence {
  margin-top: clamp(var(--space-7), 8vw, var(--space-12));
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  max-width: 56rem;
  margin-bottom: 0;
}

.hero-stat {
  padding-block: var(--space-4);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.hero-stat:last-child { border-right: 0; }
.hero-stat:not(:first-child) { padding-left: var(--space-4); }

.hero-stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.75rem;        /* 44px */
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}

.hero-stat-label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Creed — single Fraunces-italic line on the dark band.
   One quiet statement instead of a list of marketing claims. */

.creed {
  background: var(--green-deep);
  color: var(--paper);
  border-top: 1px solid var(--green-darker);
  border-bottom: 1px solid var(--green-darker);
  padding-block: var(--space-5);
}

.creed__line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
  text-align: center;
  text-wrap: balance;
  max-width: 52rem;
  margin-inline: auto;
}

/* Marquee tagline -------------------------------------------- */

.marquee {
  background: var(--green-deep);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--green-darker);
  border-bottom: 1px solid var(--green-darker);
}

.marquee-track {
  display: flex;
  gap: var(--space-7);
  padding-block: var(--space-3);
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-7);
}

.marquee-item::after {
  content: '\2022';     /* · bullet for a quieter Fraunces-italic feel */
  color: var(--pink);
  font-style: normal;
  font-size: var(--text-md);
  opacity: 0.8;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Splits ----------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--space-5), 6vw, var(--space-12));
  align-items: start;
}

.split-tight { grid-template-columns: 1fr 1fr; }

.col-text {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}

/* USPs ------------------------------------------------------- */

.usps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.usp {
  padding: var(--space-5) var(--space-4) var(--space-5) 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.usp:last-child { border-right: 0; padding-right: 0; }
.usp:not(:first-child) { padding-left: var(--space-4); }

.usp-num {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--accent);
}

.usp h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 1.2;
  margin: 0;
  color: var(--green-deep);
  text-wrap: balance;
}

.usp p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* Assortment grid -------------------------------------------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.cat-card .media,
.cat-card .ph {
  aspect-ratio: 4/5;
  width: 100%;
  will-change: transform;
  transition:
    transform var(--duration-base) var(--ease-default),
    box-shadow var(--duration-base) var(--ease-default);
}

.cat-card:hover .media,
.cat-card:hover .ph {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-hover);
}

.cat-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-xl);
  color: var(--green-deep);
  letter-spacing: -0.01em;
  display: block;
}

.cat-desc {
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: var(--space-half) 0 0;
}

/* Number overlay on the figure corner (replaces in-row label) */
.cat-card-figure {
  position: relative;
}
.cat-card-num {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--paper);
  background: rgba(15, 53, 34, 0.55);
  padding: var(--space-half) var(--space-1);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

/* Werkwijze (process) ---------------------------------------- */

.process {
  background: var(--green-darker);
  color: var(--paper);
}

.process .h-section,
.process .eyebrow,
.process .lede {
  color: var(--paper);
}

.process .h-section em { color: var(--pink); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* Header inside the dark process strip — keeps eyebrow + lede
   on the same surface as the four step cards (one cohesive block,
   no orphan paper-band sitting on top of the dark band). */
.process-header {
  max-width: 42rem;
  margin-bottom: var(--space-7);
}
.process-header .eyebrow { color: var(--pink); }

.process-intro {
  margin-top: var(--space-2);
  color: rgba(251, 247, 242, 0.85);
}

.step {
  position: relative;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(241, 168, 178, 0.3);
}

.step-num {
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--pink);
  letter-spacing: 0.14em;
  margin-bottom: var(--space-2);
}

.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-2xl);
  margin: 0 0 var(--space-1);
  letter-spacing: -0.01em;
  color: #FFF;
}

.step p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(251, 247, 242, 0.75);
  margin: 0;
}

/* Per-step doorlooptijd — mono pill below the step body */
.step-time {
  margin: var(--space-2) 0 0;
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}

/* Total time below the step grid */
.process-total {
  margin: var(--space-7) 0 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  border-top: 1px solid rgba(241, 168, 178, 0.3);
  padding-top: var(--space-3);
}
.process-total__label {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}
.process-total__value {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--paper);
  letter-spacing: -0.01em;
}

/* ===========================================================
   Guarantees — three meetbare beloftes (process-proof voor warm B2B)
   =========================================================== */

.guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.guarantee {
  padding: var(--space-5) var(--space-4) var(--space-5) 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.guarantee:last-child { border-right: 0; padding-right: 0; }
.guarantee:not(:first-child) { padding-left: var(--space-4); }

.guarantee__num {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--accent);
}

.guarantee__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 1.2;
  margin: 0;
  color: var(--green-deep);
  text-wrap: balance;
}

.guarantee__body {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ===========================================================
   Pull-quote — centered editorial statement, breaks the
   eyebrow-left + body-right rhythm. Used for positioning
   statements like "Start klein."
   =========================================================== */

.pull-quote {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.pull-quote__title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: var(--leading-display);
  letter-spacing: -0.02em;
  color: var(--accent);
  margin: 0;
}

.pull-quote__body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
  max-width: 36rem;
  text-wrap: balance;
}

/* ===========================================================
   Why-new — concern/flip tile grid (about page)
   Each tile shows the buyer's worry and how Floramics flips it.
   =========================================================== */

.why-new-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.why-new {
  padding: var(--space-4);
  background: var(--paper-warm);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.why-new__concern {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin: 0;
}

.why-new__flip {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  margin: 0;
}

/* ===========================================================
   Letter footer actions — primary + WhatsApp side-by-side
   =========================================================== */

.letter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.letter__cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.letter__cta-whatsapp .icon { vertical-align: middle; }

/* ===========================================================
   Footer legal inline (KvK · BTW)
   =========================================================== */

.footer-legal {
  color: rgba(251, 247, 242, 0.6);
}
.footer-legal-sep { color: rgba(241, 168, 178, 0.35); margin: 0 var(--space-half); }

/* Founder section -------------------------------------------- */

.founder {
  background: var(--paper-warm);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(var(--space-5), 6vw, var(--space-12));
  align-items: start;
}

/* Pin the portrait while quote + bio scroll past. Top offset clears
   the sticky header (~72px) plus breathing room. */
.founder-grid > *:first-child {
  position: sticky;
  top: calc(var(--space-8) + var(--space-3));
}

.founder-photo {
  aspect-ratio: 4/5;
}

@media (max-width: 900px) {
  .founder-grid > *:first-child { position: static; }
}

.founder-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-quote);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--green-deep);
  text-wrap: pretty;
  margin: var(--space-3) 0 var(--space-4);
}

.founder-bio { margin-bottom: var(--space-1); }

.founder-quote::before {
  content: '\201C';
  display: block;
  font-size: 5rem;     /* 80px decorative */
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: var(--space-3);
  font-style: normal;
}

.founder-attrib {
  display: flex;
  flex-direction: column;
  gap: var(--space-half);
  border-top: 1px solid var(--line-strong);
  padding-top: var(--space-3);
  margin-top: var(--space-4);
}
.founder-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--green-deep);
}
.founder-title {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Contact section -------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(var(--space-5), 6vw, var(--space-12));
  align-items: start;
}

.contact-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-person {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.contact-person .media,
.contact-person .ph {
  width: 4rem;     /* 64px */
  height: 4rem;
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  padding: 0;
}

.contact-person-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--green-deep);
  margin: 0;
  line-height: 1.2;
}

.contact-person-title {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: var(--space-half);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--line-strong);
  transition: padding-left var(--duration-base) var(--ease-default);
}

/* Only real links are interactive */
a.channel { cursor: pointer; }
a.channel:hover { padding-left: var(--space-1); }

/* Static rows (e.g. Locatie) carry no hover affordance */
.channel-static { cursor: default; }

.channel-label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.channel-value {
  font-family: var(--serif);
  font-size: var(--text-lg);
  color: var(--green-deep);
}

.cta-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ===========================================================
   Letter from Reinier — closing CTA component
   Replaces the generic "Let's get started" dark strip. Set up
   like a handwritten note: indented body, sign-off, contact
   line, single squared CTA. Felt-material, not marketing.
   =========================================================== */

.letter-section {
  padding-block: clamp(var(--space-6), 7vw, var(--space-10));
}

.letter {
  max-width: 42rem;
  margin: 0 auto;
  position: relative;
}

.letter__salute {
  font-family: var(--serif);
  font-size: var(--text-xl);
  color: var(--paper);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.005em;
}

.letter__body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  line-height: 1.5;
  color: var(--paper);
  margin: 0 0 var(--space-6);
  letter-spacing: -0.005em;
  max-width: 38rem;
}

.letter__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-half);
  align-items: flex-start;
}

.letter__sign-off {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: rgba(251, 247, 242, 0.85);
  margin: 0;
}

.letter__signature {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--pink);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}

.letter__contact {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: rgba(251, 247, 242, 0.7);
  margin: 0 0 var(--space-4);
  text-transform: uppercase;
}

.letter__cta {
  background: var(--pink);
  color: var(--green-darker);
}
.letter__cta:hover {
  background: var(--paper);
  color: var(--green-darker);
}

/* Form wrap helpers ----------------------------------------- */

.contact-form-wrap .h-card { margin-bottom: var(--space-1); }
.contact-form-sub {
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

/* Company info (contact page footer) ------------------------ */

.company-info { background: var(--paper-warm); padding-block: var(--space-8); }

.company-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) 2fr;
  gap: clamp(var(--space-4), 5vw, var(--space-8));
  align-items: start;
  border-top: 1px solid var(--line-strong);
  padding-top: var(--space-6);
}

.company-title {
  margin: 0;
  color: var(--green-deep);
}

.company-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-4);
  row-gap: 0;
}

.company-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-half);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--line);
}

.company-row dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.company-row dd {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--text-lg);
  color: var(--green-deep);
}

@media (max-width: 720px) {
  .company-grid { grid-template-columns: 1fr; }
  .company-list { grid-template-columns: 1fr; }
}

/* Form ------------------------------------------------------- */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.field-label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field-label .req { color: var(--accent); }

.field-input,
.field-select,
.field-textarea {
  font-family: var(--sans);
  font-size: var(--text-md);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-soft);   /* structural line, not a tone */
  padding: var(--space-1) var(--space-1);
  transition:
    border-color var(--duration-base) var(--ease-default),
    background-color var(--duration-base) var(--ease-default);
  outline: none;
  border-radius: 0;
  height: var(--btn-md-height);
}

.field-textarea {
  resize: vertical;
  min-height: 6.25rem;     /* 100px */
  height: auto;
  padding-block: var(--space-1);
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-bottom-color: var(--green-deep);
  background: var(--field-bg-focus);
}

.field-input[aria-invalid="true"],
.field-select[aria-invalid="true"],
.field-textarea[aria-invalid="true"] {
  border-bottom-color: var(--error);
}

.field-error {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--error);
  margin-top: var(--space-half);
}

/* Refocus link after a successful submit (back to top of form / send another) */
.form-followup {
  margin-top: var(--space-3);
}

.field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231F2A23' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: var(--space-3);
  cursor: pointer;
}

.consent {
  display: flex;
  gap: var(--space-1);
  align-items: flex-start;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: var(--space-1);
}

.consent input { margin-top: 2px; }

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  padding: var(--space-2) var(--space-3);
  background: var(--green-deep);
  color: var(--paper);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
}

.form-meta {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Footer ----------------------------------------------------- */

.footer {
  background: var(--green-darker);
  color: var(--paper);
  padding: var(--space-10) 0 var(--space-5);
  view-transition-name: site-footer;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-5);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(241, 168, 178, 0.2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}
/* Footer brand mark — clean pink tint via mask, no fragile filter chain. */
.footer-brand-mark {
  width: 2.5rem;      /* 40px */
  height: 2.5rem;
  background-color: var(--pink);
  -webkit-mask-image: url("floramics-mark.png");
          mask-image: url("floramics-mark.png");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  flex-shrink: 0;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  color: var(--paper);
  font-weight: 500;
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--paper);
  margin: 0 0 var(--space-3);
  max-width: 20rem;     /* 320px */
}

.footer-socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-1);
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;       /* 36px */
  height: 2.25rem;
  border: 1px solid rgba(241, 168, 178, 0.35);
  border-radius: var(--radius-full);
  color: var(--pink);
  transition:
    color var(--duration-base) var(--ease-default),
    border-color var(--duration-base) var(--ease-default),
    background-color var(--duration-base) var(--ease-default);
}

.footer-socials a:hover {
  color: var(--green-darker);
  background: var(--pink);
  border-color: var(--pink);
}

.footer h4 {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 var(--space-3);
  font-weight: 500;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.footer-list li,
.footer-list a {
  font-size: var(--text-base);
  color: rgba(251, 247, 242, 0.8);
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-default);
}
.footer-list li:hover,
.footer-list a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  padding-top: var(--space-4);
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: rgba(251, 247, 242, 0.6);
}

/* On narrow viewports stack the three pieces of info onto their own
   lines instead of letting space-between create awkward wrap-orphans. */
@media (max-width: 720px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }
  .footer-legal-sep { display: none; }
  .footer-legal     { display: block; }
}

/* Inner page hero -------------------------------------------- */

.page-hero {
  padding-block: clamp(var(--space-7), 8vw, var(--space-12)) clamp(var(--space-5), 5vw, var(--space-8));
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-5), 6vw, var(--space-10));
  align-items: end;
}

/* Centered stack (replaces the left/right split that previously echoed
   the content-section structure underneath and felt redundant). */
.page-hero-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 56rem;
}

.page-hero__title { text-wrap: balance; }
.page-hero__lede  { max-width: 42rem; }

.crumbs {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}

.crumbs span { color: var(--accent); }

/* Assortment page wide rows ---------------------------------- */

.cat-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;          /* text wider, image narrower */
  gap: clamp(var(--space-5), 6vw, var(--space-12));
  padding-block: clamp(var(--space-6), 6vw, var(--space-10));
  border-top: 1px solid var(--line);
  align-items: center;
}
.cat-row:nth-child(1) {
    border-top: 0;
}

.cat-row:nth-child(even) {
  grid-template-columns: 1fr 1.6fr;
}
.cat-row:nth-child(even) .cat-row-text { order: 2; }
.cat-row:nth-child(even) .cat-row-img  { order: 1; }

.cat-row .media,
.cat-row .ph { aspect-ratio: 4/5; }          /* default portrait */

/* Per-row ratio variants — break uniform-template feeling.
   Apply .cat-row--wide for hero shots, .cat-row--small for accent items. */
.cat-row--wide { grid-template-columns: 1.2fr 1.5fr; }
.cat-row--wide:nth-child(even) { grid-template-columns: 1.5fr 1.2fr; }
.cat-row--wide .media,
.cat-row--wide .ph { aspect-ratio: 5/4; }    /* landscape hero shot */

.cat-row--small { grid-template-columns: 2fr 1fr; }
.cat-row--small:nth-child(even) { grid-template-columns: 1fr 2fr; }

/* Hover lift removed on assortment rows by request — kept on home cat-grid. */
.cat-row-img .media,
.cat-row-img .ph,
.cat-row-img .media img {
  transition: none;
}

.cat-row-meta {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: var(--space-3);
}

.cat-row-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.cat-row-long {
  margin-top: var(--space-2);
}

.cat-row-features {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.cat-row-features li {
  font-size: var(--text-base);
  color: var(--ink-soft);
  padding-left: var(--space-2);
  position: relative;
}
.cat-row-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--line-strong);
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.4;
}

/* Markets strip ---------------------------------------------- */

.markets-header { margin-bottom: var(--space-4); }

.markets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market {
  padding: var(--space-4) var(--space-3) var(--space-4) 0;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.market:last-child { border-right: 0; }
.market:not(:first-child) { padding-left: var(--space-3); }

.market .flag {
  width: 1.75rem;     /* 28px */
  height: 1.125rem;   /* 18px */
}

.flag-us {
  background:
    repeating-linear-gradient(to bottom, #B22234 0 2px, #FFF 2px 4px),
    #B22234;
}
.flag-us::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 55%;
  background: #3C3B6E;
}
.flag-ca {
  background:
    linear-gradient(to right, #D52B1E 0 25%, #FFF 25% 75%, #D52B1E 75% 100%);
}
.flag-au {
  background: #00247D;
}
.flag-au::after {
  content: '\2605';
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  color: #FFF;
  font-size: 8px;
}

.market-name {
  font-family: var(--serif);
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  color: var(--green-deep);
}

.market-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: auto;
  text-align: right;
}

.market-detail__primary {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.market-detail__sub {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

/* Responsive ------------------------------------------------- */

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .split-tight,
  .founder-grid,
  .contact-grid,
  .page-hero-grid,
  .cat-row,
  .cat-row:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .cat-row:nth-child(even) .cat-row-text { order: unset; }
  .cat-row:nth-child(even) .cat-row-img  { order: unset; }
  .usps,
  .hero-stats,
  .process-steps,
  .markets,
  .cat-grid,
  .guarantees {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { aspect-ratio: 4/5; }

  /* Mobile header — single row, three explicit grid cells:
     lang-switch left · brand center · hamburger right. Force all
     children onto the same grid row so brand never wraps below. */
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    align-items: center;
    gap: var(--space-2);
    padding-block: var(--space-1);
  }
  .header-inner > .lang-switch  { grid-area: 1 / 1; justify-self: start; }
  .header-inner > .brand        { grid-area: 1 / 2; justify-self: center; }
  .header-inner > .menu-toggle  { grid-area: 1 / 3; justify-self: end; display: inline-flex; }
  .header-inner > .nav          { display: none; }

  /* Tighten brand so it fits centered between lang + hamburger */
  .brand img { height: 1.75rem; }       /* 28px */
  .brand-name { font-size: var(--text-md); }
}

/* Phone breakpoint: collapse strip-style grids to a single column
   and convert the vertical row-dividers into horizontal ones. */
@media (max-width: 560px) {
  .markets,
  .hero-stats,
  .usps,
  .process-steps,
  .cat-grid {
    grid-template-columns: 1fr;
  }

  /* Markets list */
  .market {
    padding: var(--space-3) 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .market:not(:first-child) { padding-left: 0; }
  .market:last-child { border-bottom: 0; }

  /* Hero stats */
  .hero-stat {
    padding: var(--space-3) 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-stat:not(:first-child) { padding-left: 0; }
  .hero-stat:last-child { border-bottom: 0; }

  /* USPs */
  .usp {
    padding: var(--space-4) 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .usp:not(:first-child) { padding-left: 0; }
  .usp:last-child { border-bottom: 0; padding-bottom: 0; }

  /* Guarantees same stack pattern */
  .guarantees { grid-template-columns: 1fr; }
  .guarantee {
    padding: var(--space-4) 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .guarantee:not(:first-child) { padding-left: 0; }
  .guarantee:last-child { border-bottom: 0; padding-bottom: 0; }

  /* Why-new tiles single column on phones */
  .why-new-grid { grid-template-columns: 1fr; }

  /* Market detail stays right-aligned, but shrink sub */
  .market-detail__sub { display: none; }

  /* Hero — keep CTA above the fold on phones */
  .hero { padding-block: var(--space-6) var(--space-8); }
  .hero-claim { margin-top: var(--space-3); margin-bottom: var(--space-3); }

  /* Hero meta row wraps; drop the divider line so eyebrow has full width */
  .hero-meta { flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-3); }
  .hero-meta-line { display: none; }
  .hero-meta-stamp { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
}
