/* =========================================================
   Terra Services Ltd — stylesheet
   Palette taken from earth pigments: terre verte, yellow
   ochre, burnt sienna, raw umber and lime white.
   ========================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --lime: #F2F3EE;        /* lime white — page */
  --stone: #E2E5DB;       /* muted panels */
  --verte: #24392F;       /* terre verte — dark ink & dark sections */
  --verte-2: #3D5849;
  --verte-3: #6F8676;
  --ochre: #DDA43A;       /* yellow ochre — primary action */
  --ochre-d: #C48D25;
  --sienna: #B5532E;      /* burnt sienna — secondary accent */
  --umber: #6E5B45;       /* raw umber */
  --ink: #17221D;
  --muted: #4E5C54;
  --line: rgba(36, 57, 47, .16);
  --line-light: rgba(242, 243, 238, .18);
  --radius-s: 6px;
  --radius-m: 14px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --font: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.2vw, 5.2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--lime);
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; font-variation-settings: "opsz" 96; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ochre); color: var(--ink); padding: 10px 16px; z-index: 200; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--font);
  padding: 1em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--ochre { background: var(--ochre); color: var(--ink); }
.btn--ochre:hover { background: var(--ochre-d); }
.btn--verte { background: var(--verte); color: var(--lime); }
.btn--verte:hover { background: var(--verte-2); }
.btn--line { border-color: currentColor; color: var(--verte); background: transparent; }
.btn--line:hover { background: var(--verte); color: var(--lime); border-color: var(--verte); }
.btn--line-light { border-color: var(--lime); color: var(--lime); background: transparent; }
.btn--line-light:hover { background: var(--lime); color: var(--verte); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(242, 243, 238, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--verte); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "opsz" 60; }
.brand__name span { font-size: .8rem; font-weight: 500; color: var(--muted); margin-top: 4px; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--sienna); transition: right .25s; }
.nav__list a:hover::after, .nav__list a.is-active::after { right: 0; }
.nav__list .nav__hire { color: var(--sienna); font-weight: 600; }
.nav__toggle, .nav__close { display: none; background: none; border: 0; cursor: pointer; color: var(--verte); }
.nav__toggle { width: 44px; height: 44px; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; gap: 24px;
    background: var(--verte); color: var(--lime); padding: 88px 28px 28px;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; z-index: 60;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; color: var(--lime); font-size: 1.25rem; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
  .nav__list a::after { display: none; }
  .nav__list .nav__hire { color: var(--ochre); }
  .nav .btn--verte { background: var(--ochre); color: var(--ink); }
  .nav__close { display: block; position: absolute; top: 18px; right: 18px; color: var(--lime); font-size: 2rem; line-height: 1; width: 44px; height: 44px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(23, 34, 29, .5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--verte-2); margin-bottom: 22px; }
.hero__kicker::before { content: ""; width: 28px; height: 10px; border-radius: 5px; background: var(--ochre); }
.hero h1 { font-size: var(--step-4); font-weight: 750; letter-spacing: -.035em; line-height: .98; color: var(--verte); font-stretch: 88%; margin-bottom: 28px; }
.hero__lead { font-size: var(--step-1); color: var(--muted); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .95rem; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--sienna); flex: none; }

/* The colour card — the signature element */
.swatchcard { position: relative; }
.swatchcard__photo { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5; background: var(--verte-2) linear-gradient(160deg, var(--verte-2), var(--verte)); }
.swatchcard__photo img { width: 100%; height: 100% !important; object-fit: cover; }
.chips {
  position: absolute; left: -36px; bottom: -28px; width: min(230px, 56%);
  background: #fff; border-radius: var(--radius-s); padding: 10px 10px 4px;
  box-shadow: 0 30px 60px -20px rgba(23, 34, 29, .45);
  transform: rotate(-4deg); transform-origin: bottom left;
}
.chip { display: flex; flex-direction: column; justify-content: flex-end; height: 58px; padding: 8px 10px; margin-bottom: 6px; border-radius: 3px; color: #fff; }
.chip b { font-size: .82rem; font-weight: 650; line-height: 1.1; }
.chip small { font-size: .68rem; opacity: .85; }
.chip--verte { background: var(--verte-2); }
.chip--ochre { background: var(--ochre); color: var(--ink); }
.chip--sienna { background: var(--sienna); }
.chip--umber { background: var(--umber); }
.chip--lime { background: var(--lime); color: var(--ink); border: 1px solid var(--line); }
.chips__foot { font-size: .68rem; color: var(--muted); padding: 2px 2px 6px; display: flex; justify-content: space-between; }
@media (prefers-reduced-motion: no-preference) {
  .chips { animation: fan .9s .2s cubic-bezier(.2,.8,.2,1) both; }
  .chip { animation: chipin .6s cubic-bezier(.2,.8,.2,1) both; }
  .chip:nth-child(1) { animation-delay: .35s; } .chip:nth-child(2) { animation-delay: .45s; }
  .chip:nth-child(3) { animation-delay: .55s; } .chip:nth-child(4) { animation-delay: .65s; }
  .chip:nth-child(5) { animation-delay: .75s; }
}
@keyframes fan { from { transform: rotate(6deg) translateY(30px); opacity: 0; } to { transform: rotate(-4deg); opacity: 1; } }
@keyframes chipin { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .swatchcard { max-width: 520px; margin: 0 auto 0 36px; }
  .swatchcard__photo { aspect-ratio: 5 / 4; }
}
@media (max-width: 520px) {
  .swatchcard { margin-left: 24px; }
  .chips { left: -24px; width: 170px; }
  .chip { height: 44px; }
}

/* ---------- Hiring ribbon ---------- */
.ribbon { background: var(--ochre); color: var(--ink); }
.ribbon__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.ribbon p { margin: 0; font-size: var(--step-1); font-weight: 500; }
.ribbon strong { font-weight: 750; }
.ribbon .btn { padding: .85em 1.3em; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--stone { background: var(--stone); }
.section--verte { background: var(--verte); color: var(--lime); }
.section--verte .muted { color: rgba(242, 243, 238, .72); }
.h2 { font-size: var(--step-3); color: var(--verte); max-width: 18em; }
.section--verte .h2 { color: var(--lime); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }

/* ---------- Services: sticky intro + list ---------- */
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.services__intro { position: sticky; top: 110px; }
.services__intro img { border-radius: var(--radius-m); margin-top: 32px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--verte-2); }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.svc h3 { font-size: var(--step-2); color: var(--verte); margin: 0; font-weight: 650; }
.svc p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); max-width: 40em; }
.svc__where { align-self: center; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--stone); color: var(--verte-2); white-space: nowrap; }
.tag--in { background: #EFE3C6; color: #6A4A0F; }
.tag--out { background: #E8D2C7; color: #7A3216; }
.tag--com { background: #D6E0D8; color: var(--verte); }
@media (max-width: 860px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .svc li { grid-template-columns: 1fr; }
  .svc__where { justify-content: flex-start; grid-row: 2; }
}

/* ---------- Clients strip ---------- */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line-light); }
.who div { padding: 28px 24px 0 0; }
.who div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
.who h3 { font-size: var(--step-1); color: var(--ochre); margin-bottom: 8px; }
.who p { margin: 0; color: rgba(242, 243, 238, .78); font-size: .98rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .who div, .who div + div { padding: 24px 16px 24px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
}
@media (max-width: 520px) { .who { grid-template-columns: 1fr; } }

/* ---------- Process (true sequence) ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 25%; height: 2px; background: repeating-linear-gradient(90deg, var(--verte-3) 0 8px, transparent 8px 16px); }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--verte); color: var(--lime); font-weight: 700; font-size: 1.1rem; margin-bottom: 22px; position: relative;
  box-shadow: 0 0 0 8px var(--lime);
}
.section--stone .steps li::before { box-shadow: 0 0 0 8px var(--stone); }
.steps li:last-child::before { background: var(--ochre); color: var(--ink); }
.steps h3 { font-size: var(--step-1); color: var(--verte); margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--verte-3) 0 8px, transparent 8px 16px); }
  .steps li { padding-left: 76px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
}

/* ---------- Standards ---------- */
.standards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.standards__media { position: relative; }
.standards__media img { border-radius: var(--radius-m); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--verte-2); }
.standards__note { position: absolute; right: -18px; bottom: 32px; background: var(--sienna); color: #fff; padding: 18px 22px; border-radius: var(--radius-s); max-width: 250px; font-weight: 500; line-height: 1.35; box-shadow: 0 20px 40px -16px rgba(23,34,29,.5); }
.checks { list-style: none; padding: 0; margin: 32px 0 0; }
.checks li { position: relative; padding: 18px 0 18px 44px; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 24px; height: 24px; border-radius: 50%; background: var(--ochre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317221D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.checks strong { display: block; color: var(--verte); font-size: 1.08rem; }
.checks span { color: var(--muted); }
@media (max-width: 860px) {
  .standards { grid-template-columns: 1fr; }
  .standards__media { order: -1; max-width: 520px; }
  .standards__media img { aspect-ratio: 4 / 3; }
  .standards__note { right: 12px; bottom: -20px; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: 48px; }
.quote { margin: 0; padding: 32px; background: #fff; border-radius: var(--radius-m); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.quote:first-child { grid-row: span 2; background: var(--verte); color: var(--lime); border: 0; }
.quote blockquote { margin: 0 0 24px; font-size: var(--step-1); line-height: 1.5; }
.quote:first-child blockquote { font-size: var(--step-2); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; }
.quote figcaption { font-weight: 650; color: var(--sienna); }
.quote:first-child figcaption { color: var(--ochre); }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
.quote:first-child figcaption span { color: rgba(242,243,238,.7); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } .quote:first-child { grid-row: auto; } }

/* ---------- Careers teaser (home) ---------- */
.job { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--radius-m); overflow: hidden; background: var(--verte); color: var(--lime); }
.job__body { padding: clamp(32px, 5vw, 64px); }
.job__badge { display: inline-block; background: var(--ochre); color: var(--ink); font-weight: 650; font-size: .88rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.job h2 { font-size: var(--step-3); color: var(--lime); }
.job p { color: rgba(242, 243, 238, .8); max-width: 34em; }
.job__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 28px 0 32px; padding: 0; list-style: none; }
.job__facts dt, .job__facts .k { font-size: .85rem; color: rgba(242, 243, 238, .6); }
.job__facts .v { font-weight: 600; }
.job__media { background: var(--verte-2); min-height: 320px; position: relative; }
.job__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.job__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .job { grid-template-columns: 1fr; } .job__media { order: -1; min-height: 240px; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 650; font-size: 1.12rem; color: var(--verte); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--sienna); border-bottom: 2.5px solid var(--sienna); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; margin: 0; max-width: 40em; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact__list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact__list svg { width: 22px; height: 22px; color: var(--sienna); flex: none; margin-top: 3px; }
.contact__list .k { display: block; font-size: .85rem; color: var(--muted); }
.contact__list a { color: var(--verte); font-weight: 600; text-decoration-color: var(--ochre); text-underline-offset: 3px; word-break: break-word; }
.form { background: #fff; border-radius: var(--radius-m); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.form h3 { font-size: var(--step-2); color: var(--verte); margin-bottom: 6px; }
.form__intro { color: var(--muted); margin-bottom: 24px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; color: var(--ink); }
.field .flabel { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid #C9CEC4; border-radius: var(--radius-s); background: var(--lime);
  transition: border-color .2s, background .2s;
}
.field select { appearance: none; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324392F' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verte); background: #fff; box-shadow: 0 0 0 3px rgba(221, 164, 58, .4); }
.field .is-invalid, .field input:user-invalid, .field textarea:user-invalid { border-color: var(--sienna); }
.field__error { color: var(--sienna); font-size: .9rem; margin: 6px 0 0; font-weight: 500; }
.field__hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding: 10px 14px; border: 1.5px solid #C9CEC4; border-radius: 999px; cursor: pointer; margin: 0; background: var(--lime); }
.radios input { accent-color: var(--verte); margin: 0; }
.radios label:has(input:checked) { border-color: var(--verte); background: #E8EDE7; }
.file { position: relative; border: 2px dashed #B7BEB2; border-radius: var(--radius-s); padding: 22px; text-align: center; background: var(--lime); transition: border-color .2s, background .2s; }
.file:hover, .file.is-drag { border-color: var(--verte); background: #EAEEE7; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file__label { font-weight: 600; color: var(--verte); }
.file__name { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--muted); margin: 6px 0 22px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--verte); flex: none; }
.consent a { color: var(--verte); }
.form__note { margin: 14px 0 0; font-size: .92rem; color: var(--muted); text-align: center; }
.hp { position: absolute !important; left: -5000px !important; height: 0; width: 0; opacity: 0; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.pagehead { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.pagehead h1 { font-size: var(--step-4); color: var(--verte); font-stretch: 88%; letter-spacing: -.035em; max-width: 14em; }
.pagehead p { font-size: var(--step-1); color: var(--muted); max-width: 36em; margin: 0; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--verte); }

/* ---------- Careers page ---------- */
.role { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.role h2 { font-size: var(--step-2); color: var(--verte); margin-top: 1.6em; }
.role h2:first-child { margin-top: 0; }
.role ul { padding-left: 1.2em; }
.role li { margin-bottom: .45em; }
.role li::marker { color: var(--sienna); }
.facts { position: sticky; top: 104px; background: var(--verte); color: var(--lime); border-radius: var(--radius-m); padding: 32px; }
.facts h3 { color: var(--ochre); font-size: var(--step-1); }
.facts dl { margin: 0 0 24px; }
.facts dt { font-size: .85rem; color: rgba(242,243,238,.6); margin-top: 14px; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 860px) { .role { grid-template-columns: 1fr; } .facts { position: static; order: -1; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: var(--step-2); color: var(--verte); margin: 2em 0 .6em; }
.legal h3 { font-size: var(--step-1); color: var(--verte); margin: 1.6em 0 .4em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--verte); }
.legal .updated { color: var(--muted); font-size: .95rem; }
.legal a { color: var(--verte); text-decoration-color: var(--ochre); text-underline-offset: 3px; }
.tablewrap { overflow-x: auto; }

/* ---------- Thank you / 404 ---------- */
.notice { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notice__mark { width: 84px; margin: 0 auto 28px; }
.notice h1 { font-size: var(--step-3); color: var(--verte); }
.notice p { color: var(--muted); max-width: 32em; margin: 0 auto 28px; font-size: var(--step-1); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(242, 243, 238, .74); padding: 80px 0 0; font-size: .97rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .brand { color: var(--lime); }
.footer .brand__name span { color: rgba(242, 243, 238, .6); }
.footer__about { margin-top: 20px; max-width: 26em; }
.footer h4 { color: var(--lime); font-size: 1rem; font-weight: 650; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; color: rgba(242, 243, 238, .82); }
.footer a:hover { color: var(--ochre); }
.footer__bar { margin-top: 64px; border-top: 1px solid rgba(242,243,238,.12); }
.footer__bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 24px; font-size: .88rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal button { background: none; border: 0; padding: 0; font: inherit; color: rgba(242, 243, 238, .82); cursor: pointer; }
.footer__legal button:hover { color: var(--ochre); }
.footer__pigments { display: flex; height: 6px; }
.footer__pigments span { flex: 1; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.totop { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--verte); color: var(--lime); display: grid; place-items: center; text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; z-index: 40; box-shadow: 0 10px 24px -8px rgba(23,34,29,.5); }
.totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.totop svg { width: 20px; height: 20px; }
body.cc-open .totop { bottom: 18px; opacity: 0; pointer-events: none; }

/* ---------- Cookie consent ---------- */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; display: flex; justify-content: center; pointer-events: none; }
.cc__box { pointer-events: auto; width: 100%; max-width: 980px; background: var(--verte); color: var(--lime); border-radius: var(--radius-m); padding: 22px 24px; display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; box-shadow: 0 24px 60px -18px rgba(23,34,29,.6); }
.cc__text { flex: 1 1 380px; }
.cc__text h2 { font-size: 1.15rem; margin: 0 0 6px; color: var(--lime); letter-spacing: -.01em; }
.cc__text p { margin: 0; font-size: .94rem; color: rgba(242,243,238,.8); }
.cc__text a { color: var(--ochre); }
.cc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc__actions .btn { padding: .8em 1.2em; font-size: .94rem; }
.cc__link { background: none; border: 0; color: var(--lime); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: .94rem; cursor: pointer; padding: .8em .4em; }
.ccm { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; }
.ccm[hidden], .cc[hidden] { display: none; }
.ccm__backdrop { position: absolute; inset: 0; background: rgba(23,34,29,.6); }
.ccm__card { position: relative; background: var(--lime); border-radius: var(--radius-m); width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; padding: 28px; }
.ccm__card h2 { font-size: var(--step-2); color: var(--verte); }
.ccm__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--verte); }
.ccm__cat { display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.ccm__cat h3 { font-size: 1.05rem; color: var(--verte); margin: 0 0 4px; }
.ccm__cat p { margin: 0; font-size: .92rem; color: var(--muted); }
.switch { position: relative; flex: none; width: 50px; height: 28px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #BFC6BB; border-radius: 999px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + span { background: var(--verte); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 3px solid var(--ochre); outline-offset: 2px; }
.ccm__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 18px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }

@media (max-width: 600px) {
  .cc { left: 8px; right: 8px; bottom: 8px; }
  .cc__box { padding: 16px; gap: 12px; }
  .cc__text { flex-basis: 100%; }
  .cc__text h2 { font-size: 1rem; margin-bottom: 4px; }
  .cc__text p { font-size: .86rem; line-height: 1.45; }
  .cc__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cc__actions .btn { padding: .75em .6em; font-size: .88rem; }
  .cc__link { grid-column: 1 / -1; order: 3; padding: .3em; font-size: .88rem; }
}
