/* ==========================================================================
   Growlan — growlan.com
   Design source: "Growlan Home v7.dc.html" (Claude Design project 38ca87d3).
   Mobile first. One column on phones, more air on desktop.
   ========================================================================== */

:root {
  /* Brand */
  --green-900: #1F3D33; /* hero / CTA ground, primary buttons */
  --green-700: #2F6B54; /* accent, links, focus, active borders */
  --green-500: #7FA893;
  --green-400: #A5C7B4;
  --green-300: #BBD6C7;
  --green-250: #CFE3D7;
  --green-200: #D6E5DB;
  --green-100: #EDF3EF;
  --green-050: #EEF4F0;
  --green-line: #4A6A5D; /* hairlines on dark ground */
  --green-select: #DDEBE2;

  /* Surfaces */
  --cream: #FBFAF6; /* page ground */
  --sand: #F1EFE7; /* alternating section ground */
  --paper: #F4F1E9; /* text + buttons on dark ground */
  --white: #FFFFFF;
  --panel-sand: #F5F2E9;

  /* Lines */
  --line: #EAE7DE;
  --line-strong: #D5D0C3;
  --line-tab: #DFDACB;

  /* Ink */
  --ink: #14201C;
  --ink-2: #3A443F;
  --ink-3: #4A554E;
  --gold: #6F5417;

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --shell: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(48px, 7vw, 88px);
  --tap: 48px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Anchor targets clear the sticky bar and sit comfortably. */
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Room for the sticky bar so it never covers the last line of the footer. */
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; display: block; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }

button { font: inherit; color: inherit; }

*:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 3px;
  border-radius: 4px;
}

/* On the dark ground the green focus ring disappears — use paper instead. */
.on-dark *:focus-visible { outline-color: var(--paper); }

::selection { background: var(--green-select); }

input[type="range"] { accent-color: var(--green-700); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--paper);
  color: var(--green-900);
  padding: 14px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

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

.section--sand { background: var(--sand); border-top: 1px solid var(--line); }
.section--cream { background: var(--cream); border-top: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: 32px; }

.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.on-dark .eyebrow { border-color: var(--green-line); color: var(--green-250); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }

.h2 {
  margin: 0 auto 16px;
  font-size: clamp(32px, 5.2vw, 50px);
  line-height: 1.08;
  max-width: 24ch;
}

.section-sub {
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
}
.on-dark .section-sub { color: var(--green-200); }

.label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label--gold { color: var(--gold); }
.label--green { color: var(--green-700); }

/* Auto-fit grids. min-width:0 keeps long words from blowing out a track. */
.grid { display: grid; gap: 12px; }
.grid > * { min-width: 0; }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }

.stack { display: flex; flex-direction: column; gap: 10px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

/* Paper button on the dark ground — the primary CTA. */
.btn--paper { background: var(--paper); color: var(--green-900); }
.btn--paper:hover { background: var(--white); color: var(--green-900); }

/* Outline button on the dark ground. */
.btn--ghost { border-color: var(--green-500); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); color: var(--paper); }

/* Dark button on a light ground — the sticky bar. */
.btn--dark { background: var(--green-900); color: var(--paper); }
.btn--dark:hover { background: var(--green-700); color: var(--paper); }

.btn--nav { min-height: var(--tap); padding: 0 20px; font-size: 16px; white-space: nowrap; }
.btn--full { display: flex; width: 100%; }

/* Below ~480px the logo, language pill and nav CTA cannot share one row
   without the CTA wrapping to three lines. Drop it there: the hero's two
   buttons sit just below the fold, and the sticky bar takes over from the
   moment the visitor scrolls past the hero. */
@media (max-width: 479px) {
  .btn--nav { display: none; }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Header + hero
   -------------------------------------------------------------------------- */

.hero {
  background: var(--green-900);
  color: var(--paper);
  border-radius: 0 0 0 32px;
}

.hero__shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 40px) clamp(44px, 6vw, 72px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  min-height: var(--tap);
}
.logo:hover { color: var(--white); }

.logo__mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--green-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
}

.logo__word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 27px;
  letter-spacing: -0.01em;
}

.topbar__end { display: flex; align-items: center; gap: 8px; }

/* Language switch. Two real links — each language is its own indexable URL. */
.langswitch {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  /* 2px rather than 4px so each button clears 44px inside a 48px pill. */
  padding: 2px;
  min-height: var(--tap);
}

.langswitch__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 44px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--green-300);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.langswitch__btn:hover { color: var(--paper); }
.langswitch__btn[aria-current="true"] {
  background: var(--paper);
  color: var(--green-900);
}
.langswitch__btn[aria-current="true"]:hover { color: var(--green-900); }

.hero__body { text-align: center; margin-top: clamp(28px, 5vw, 52px); }

.hero__title {
  margin: 0 auto 20px;
  font-size: clamp(40px, 7.4vw, 68px);
  line-height: 1.05;
  max-width: 20ch;
}

.hero__sub {
  margin: 0 auto 28px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--green-200);
  max-width: 50ch;
}

.hero__note {
  margin: 20px auto 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--green-400);
  max-width: 44ch;
}

.proof {
  margin-top: clamp(36px, 5vw, 56px);
}

.proof__card {
  border: 1px solid var(--green-line);
  border-radius: 20px;
  padding: 22px;
}

.proof__n {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  color: var(--paper);
}

.proof__t {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--green-200);
}

/* --------------------------------------------------------------------------
   Accordions (pains + FAQ)
   -------------------------------------------------------------------------- */

.acc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: border-color 180ms ease;
}
.acc[data-open="true"] { border-color: var(--green-700); }

.acc__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  width: 100%;
  padding: 24px;
  min-height: 56px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.acc__q { flex: 1; }

.acc__q--serif {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.25;
  color: var(--ink);
}

.acc__q--sans {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.acc__icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  background: var(--sand);
  color: var(--green-900);
  transition: background-color 180ms ease, color 180ms ease;
}
.acc[data-open="true"] .acc__icon {
  background: var(--green-900);
  color: var(--paper);
}

.acc__panel[hidden] { display: none; }

.acc__body { padding: 0 24px 24px; }

.acc__cost {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}

.acc__fixbox {
  background: var(--green-050);
  border-radius: 18px;
  padding: 20px;
}

.acc__fix {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}

.acc__answer {
  margin: 0;
  padding: 0 24px 24px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Services tabs
   -------------------------------------------------------------------------- */

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: var(--tap);
  padding: 0 18px 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line-tab);
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.tab[aria-selected="true"] {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--paper);
}

.tab__n {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 17px;
  background: var(--sand);
  color: var(--ink-2);
  transition: background-color 180ms ease, color 180ms ease;
}
.tab[aria-selected="true"] .tab__n {
  background: var(--paper);
  color: var(--green-900);
}

.svc-card {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(24px, 3.6vw, 36px);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.svc-grid > * { min-width: 0; }

.svc__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.15;
}

.svc__body {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}

.svc__resultbox {
  background: var(--panel-sand);
  border-radius: 18px;
  padding: 20px;
}

.svc__result { margin: 0; font-size: 18px; line-height: 1.6; }

.checklist { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }

.checklist li { display: flex; gap: 12px; align-items: flex-start; }

.checklist svg { flex: none; margin-top: 2px; }

.checklist p { margin: 0; font-size: 18px; line-height: 1.55; }

.svc-panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Value calculator
   -------------------------------------------------------------------------- */

.calc-inputs {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.field__label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.field__value {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.1;
  color: var(--green-900);
}

.field__note {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* 48px tall track keeps the thumb a comfortable target on a phone. */
.field input[type="range"] {
  width: 100%;
  height: 48px;
  cursor: pointer;
}

.calc-out {
  background: var(--green-900);
  color: var(--paper);
  border-radius: 24px;
  padding: 28px;
}

.calc-out__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}
.calc-out__grid > * { min-width: 0; }

.calc-out__label {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--green-300);
}

.calc-out__n {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  overflow-wrap: break-word;
}

.ramp {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--green-line);
}

.ramp__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 100px;
}

.ramp__bar { flex: 1; border-radius: 999px; }
.ramp__bar--low { background: var(--green-line); height: 30%; }
.ramp__bar--mid { background: var(--green-500); height: 60%; }
.ramp__bar--full { background: var(--paper); height: 100%; }

.ramp__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.ramp__scale p { margin: 0; font-size: 15px; color: var(--green-300); }

.calc-out .btn { margin-top: 24px; }

.calc__disclaimer {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--green-200);
}

/* --------------------------------------------------------------------------
   How we work
   -------------------------------------------------------------------------- */

.step {
  background: var(--white);
  border-radius: 22px;
  padding: 24px;
}

.step__n {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--paper);
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 14px;
}

.step__title { margin: 0 0 8px; font-size: 24px; line-height: 1.2; }

.step__body { margin: 0 0 10px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

.step__when { margin: 0; font-size: 15px; font-weight: 600; color: var(--green-700); }

.pact {
  border-radius: 24px;
  padding: 28px;
}
.pact--dark { background: var(--green-900); color: var(--paper); }
.pact--light { background: var(--white); }

.pact .label { margin-bottom: 18px; }
.pact--dark .label { color: var(--green-300); }

.pact__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pact__list li { margin: 0; font-size: 18px; line-height: 1.6; }
.pact--dark .pact__list li { color: var(--green-100); }
.pact--light .pact__list li { color: var(--ink); }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */

.person {
  background: var(--white);
  border-radius: 24px;
  padding: 12px;
}

.person__frame {
  position: relative;
  width: 100%;
  height: clamp(240px, 26vw, 300px);
  border-radius: 18px;
  overflow: hidden;
  background: var(--sand);
}

.person__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shown until a real photo is dropped into public/img/. */
.person__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  color: var(--ink-3);
}

.person__meta { padding: 20px 16px 12px; }

.person__name { margin: 0 0 4px; font-size: 28px; line-height: 1.15; }

.person__bio { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

.team__quote {
  margin: 22px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.35;
  color: var(--green-900);
  max-width: 36ch;
}

/* --------------------------------------------------------------------------
   Closing CTA + footer
   -------------------------------------------------------------------------- */

.cta {
  background: var(--green-900);
  color: var(--paper);
}

.cta__title {
  margin: 0 auto 16px;
  font-size: clamp(32px, 5.2vw, 52px);
  line-height: 1.06;
  max-width: 22ch;
}

.cta__sub {
  margin: 0 auto 28px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--green-200);
  max-width: 50ch;
}

.cta__note { margin: 16px auto 0; font-size: 16px; color: var(--green-400); }

.footer {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--green-line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.footer > * { min-width: 0; }

.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }

.footer__about {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--green-300);
  max-width: 36ch;
}

.footer__col { display: flex; flex-direction: column; }

.footer__heading {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-400);
}

.footer__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 17px;
  color: var(--green-200);
}
.footer__link:hover { color: var(--paper); }

.footer__note { margin: 0; font-size: 17px; line-height: 1.5; color: var(--green-300); }

/* 96px of tail clears the sticky bar on a phone. */
.copyright { margin: 32px 0 96px; font-size: 15px; color: var(--green-400); }

/* --------------------------------------------------------------------------
   Sticky CTA
   -------------------------------------------------------------------------- */

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 10px clamp(12px, 4vw, 40px) calc(14px + env(safe-area-inset-bottom));
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
}
.sticky[data-show="true"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 6px 24px rgba(20, 32, 28, 0.10);
}

.sticky__label {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink-2);
}

.sticky .btn {
  flex: none;
  min-height: 52px;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .sticky { transition: none; }
}

/* --------------------------------------------------------------------------
   No-JS fallback — the page must stay usable and readable without scripts.
   -------------------------------------------------------------------------- */

.no-js .acc__panel[hidden] { display: block; }
.no-js .acc__icon { display: none; }
.no-js .svc-panel[hidden] { display: block; }
.no-js .svc-panel + .svc-panel { margin-top: 16px; }
.no-js .tabs { display: none; }
.no-js .calc-js { display: none; }
