/* Groma Operations Partners — gromapartners.com
   Layout: cream pages on a centered 1200px column; Pine Grove bands mark proof and the closing call;
   the groma (crossbar, staff, plumb bob) is the only ornament. Tokens follow the brand handoff. */

:root {
  /* Surfaces */
  --surface: #F3EEE3;          /* cream page */
  --surface-raised: #FFFFFF;   /* cards, inputs */
  --surface-soft: #E3E9E3;     /* sage soft callouts */
  --surface-warm: #D6C6AA;     /* sand panels */
  --surface-brand: #223631;    /* Pine Grove bands */
  /* Text */
  --ink: #223631;
  --ink-muted: #56665F;
  --ink-label: #3F5F55;
  --on-brand: #F3EEE3;
  --on-brand-muted: #E3E9E3;
  --on-brand-accent: #C29B48;
  /* Lines */
  --line: #D9D0BF;
  --line-brand: #3F5F55;
  --field-border: #56665F;
  /* Actions */
  --action: #223631;
  --on-action: #F3EEE3;
  --cta: #A3492F;
  --on-cta: #F3EEE3;
  --cta-hover: #8A3B25;
  --band-btn: #C29B48;
  --on-band-btn: #223631;
  --accent: #C29B48;
  --focus-ring: #A3492F;
  --focus-ring-brand: #F3EEE3;
  /* Illustration */
  --art-bg: #D6C6AA;
  --art-ink: #223631;
  --art-grid: rgba(34, 54, 49, 0.09);

  /* Type */
  --font-sans: "Satoshi", "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing and shape */
  --gutter: 40px;
  --section: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --header-h: 80px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #151D1B; --surface-raised: #1F2B27; --surface-soft: #1E2A26; --surface-warm: #24302C; --surface-brand: #3A5A50;
    --ink: #F3EEE3; --ink-muted: #AAB8B1; --ink-label: #8FA597; --on-brand: #F3EEE3; --on-brand-muted: #E3E9E3; --on-brand-accent: #E6C98A;
    --line: #34443E; --line-brand: #58786D; --field-border: #8A9A93;
    --action: #8FA597; --on-action: #151D1B; --cta: #E08A6C; --on-cta: #151D1B; --cta-hover: #EBA58C;
    --band-btn: #D4B064; --on-band-btn: #151D1B; --accent: #D4B064; --focus-ring: #D4B064; --focus-ring-brand: #F3EEE3;
    --art-bg: #24302C; --art-ink: #F3EEE3; --art-grid: rgba(243, 238, 227, 0.07);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #151D1B; --surface-raised: #1F2B27; --surface-soft: #1E2A26; --surface-warm: #24302C; --surface-brand: #3A5A50;
  --ink: #F3EEE3; --ink-muted: #AAB8B1; --ink-label: #8FA597; --on-brand: #F3EEE3; --on-brand-muted: #E3E9E3; --on-brand-accent: #E6C98A;
  --line: #34443E; --line-brand: #58786D; --field-border: #8A9A93;
  --action: #8FA597; --on-action: #151D1B; --cta: #E08A6C; --on-cta: #151D1B; --cta-hover: #EBA58C;
  --band-btn: #D4B064; --on-band-btn: #151D1B; --accent: #D4B064; --focus-ring: #D4B064; --focus-ring-brand: #F3EEE3;
  --art-bg: #24302C; --art-ink: #F3EEE3; --art-grid: rgba(243, 238, 227, 0.07);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--surface);
}
img, svg { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
a { color: var(--cta); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--cta-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-ring-brand); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--action); color: var(--on-action); padding: 12px 16px; border-radius: var(--radius-md); text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.wrap {
  width: 100%; max-width: calc(1360px + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }
.prose { max-width: 680px; }
.prose > * + * { margin-top: 16px; }

/* ---------- Type ---------- */
.eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-label); }
/* Headings hold their brand sizes up to a 1440px screen, then grow gently on large monitors */
.display { margin: 0; font-size: clamp(56px, 3.9vw, 72px); line-height: 1.07; font-weight: 700; letter-spacing: -0.025em; }
.h1 { margin: 0; font-size: clamp(44px, 3.06vw, 52px); line-height: 1.14; font-weight: 700; letter-spacing: -0.02em; }
.h2 { margin: 0; font-size: clamp(32px, 2.23vw, 36px); line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; }
.h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; }
.lead { font-size: clamp(19px, 1.32vw, 21px); line-height: 1.58; }
.hero .lead { max-width: 640px; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; }
.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.head .h2, .head .h1 { margin-top: 0; }
.crossbar { width: 40px; height: 2px; background: var(--accent); border: 0; margin: 4px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius-md); border: 1.5px solid transparent;
  font: 500 16px/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--cta { background: var(--cta); color: var(--on-cta); }
.btn--cta:hover { background: var(--cta-hover); color: var(--on-cta); }
.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { color: var(--on-action); opacity: .9; }
.btn--band { background: var(--band-btn); color: var(--on-band-btn); font-weight: 700; }
.btn--band:hover { color: var(--on-band-btn); filter: brightness(1.06); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.text-link { font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__lockup { display: block; width: 196px; height: auto; }
.brand__compact { display: none; align-items: center; gap: 10px; }
.brand__mark { display: block; height: 30px; width: auto; }
.brand__word { display: block; height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav__link { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding-block: 8px; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--ink); border-bottom-color: var(--accent); }
.nav__link[aria-current="page"] { border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--radius-md); cursor: pointer; padding: 0;
}
.mobile-nav { display: none; border-top: 1px solid var(--line); }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 20px; }
.mobile-nav a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--cta); }

/* ---------- Hero ---------- */
.hero { padding-block: 88px 96px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 16px; }
.hero__note { margin-top: 8px; }
.page-hero { padding-block: 80px 64px; }
.page-hero .head { max-width: 820px; }

.art { background: var(--art-bg); border-radius: var(--radius-lg); aspect-ratio: 4 / 5; max-width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.art svg { width: 100%; height: 100%; display: block; }
.art .grid line { stroke: var(--art-grid); }
.art .ink { fill: var(--art-ink); }
.art .ink-line { stroke: var(--art-ink); fill: none; }
.art .brass { fill: var(--accent); }
.art .brass-line { stroke: var(--accent); fill: none; }
.art text { fill: var(--art-ink); font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 1.2px; }

/* ---------- Bands ---------- */
.band { background: var(--surface-brand); color: var(--on-brand); }
.band .eyebrow { color: var(--on-brand-accent); }
.band .muted { color: var(--on-brand-muted); }
.band a:not(.btn) { color: var(--on-brand); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.stat { border-top: 1px solid var(--line-brand); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.stat__value { font-size: 48px; line-height: 52px; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 15px; line-height: 22px; color: var(--on-brand-muted); }
.honors { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-brand); font-size: 14px; line-height: 22px; color: var(--on-brand-muted); }
.honors strong { color: var(--on-brand); font-weight: 500; }

/* light-surface stats (About) */
.stats--light .stat { border-top-color: var(--line); }
.stats--light .stat__label { color: var(--ink-muted); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.card .h3 { margin-top: 4px; }
.card p { color: var(--ink-muted); }
.card__link { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 500; }
.card__icon { width: 28px; height: 28px; stroke: var(--ink-label); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.section-rule { border-top: 1px solid var(--line); padding-top: var(--section); }

/* ---------- Plumb-bob bullets ---------- */
.bob-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bob-list li { position: relative; padding-left: 28px; }
.bob-list li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 14px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20'%3E%3Cpath d='M0 7a7 7 0 0 1 14 0L7 20z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20'%3E%3Cpath d='M0 7a7 7 0 0 1 14 0L7 20z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bob-list--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }

/* ---------- Callout ---------- */
.callout { background: var(--surface-soft); border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px; align-items: center; }
.callout__panel { background: var(--surface-raised); border-radius: var(--radius-md); padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Steps on a plumb line ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 2px solid var(--ink); }
.step { display: flex; flex-direction: column; }
.step__line { width: 2px; height: 48px; background: var(--ink); margin-left: 6px; }
.step__bob { width: 14px; height: 20px; display: block; fill: var(--accent); }
.step .eyebrow { margin-top: 20px; color: var(--ink-muted); }
.step .h3 { margin-top: 6px; }
.step p { margin-top: 8px; color: var(--ink-muted); }

/* ---------- Timeline (About) ---------- */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; position: relative; max-width: 720px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 30px; width: 2px; background: var(--ink); }
.timeline li { position: relative; padding: 0 0 40px 48px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 14px; height: 20px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20'%3E%3Cpath d='M0 7a7 7 0 0 1 14 0L7 20z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20'%3E%3Cpath d='M0 7a7 7 0 0 1 14 0L7 20z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.timeline .h3 { margin-top: 4px; }
.timeline p { margin-top: 6px; color: var(--ink-muted); }

/* ---------- Service sections ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.jump a:hover { background: var(--action); color: var(--on-action); }
.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; border-top: 1px solid var(--line); padding-block: 72px; }
.service:first-of-type { border-top: 0; padding-top: 24px; }
.service__intro { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.service__body { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.service__proof { background: var(--surface-soft); border-radius: var(--radius-md); padding: 24px 28px; }
.service__proof p { font-size: 16px; line-height: 24px; }

/* ---------- Two-column split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }

/* ---------- Forms ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.form-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field .opt { color: var(--ink-muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px/24px var(--font-sans); color: var(--ink); background: var(--surface-raised);
  border: 1.5px solid var(--field-border); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 144px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--ink); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.booking { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface-raised); }
.booking iframe { display: block; width: 100%; height: 720px; border: 0; }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.email-line code { font-family: var(--font-sans); font-size: 16px; font-weight: 500; user-select: all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-brand); color: var(--on-brand); }
.site-footer a { color: var(--on-brand); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 40px; padding-bottom: 80px; margin-bottom: 48px; border-bottom: 1px solid var(--line-brand); }
.footer-cta__copy { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.footer-cta .h1 { color: var(--on-brand); font-size: 40px; line-height: 46px; }
.footer-cta p { font-size: 18px; line-height: 28px; color: var(--on-brand-muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand svg { width: 180px; height: auto; color: var(--on-brand); }
.footer-brand p { font-size: 15px; line-height: 22px; color: var(--on-brand-muted); }
.footer-col .eyebrow { color: var(--on-brand-accent); }
.footer-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 22px; }
.footer-legal { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; line-height: 20px; color: var(--on-brand-muted); }
.footer-legal a { color: var(--on-brand-muted); }

/* ---------- Simple pages ---------- */
.notice { min-height: 50vh; display: flex; align-items: center; }
.legal h2 { margin: 40px 0 12px; font-size: 22px; line-height: 30px; font-weight: 700; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { gap: 48px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .callout { padding: 40px; gap: 40px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; --section: 64px; --header-h: 68px; }
  .display { font-size: 40px; line-height: 44px; }
  .h1 { font-size: 34px; line-height: 40px; }
  .h2 { font-size: 26px; line-height: 32px; }
  .h3 { font-size: 18px; line-height: 26px; }
  .lead { font-size: 17px; line-height: 27px; }
  .stat__value { font-size: 36px; line-height: 40px; }
  .brand__lockup, .nav__list { display: none; }
  .brand__compact, .menu-toggle { display: inline-flex; }
  .nav { gap: 8px; }
  .mobile-nav.is-open { display: block; }
  .btn--small { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .hero { padding-block: 48px 64px; }
  .page-hero { padding-block: 48px 40px; }
  .hero__grid, .grid-3, .grid-2, .callout, .service, .split, .contact, .footer-grid, .bob-list--cols { grid-template-columns: minmax(0, 1fr); }
  .art { aspect-ratio: 1 / 1; }
  .callout { padding: 32px 24px; gap: 32px; }
  .service { gap: 32px; padding-block: 56px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero__actions .btn--cta, .footer-cta .btn { width: 100%; }
  .footer-cta { padding-bottom: 56px; }
  .footer-cta .h1 { font-size: 32px; line-height: 38px; }
  .form-card { padding: 24px 20px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn { width: 100%; }
}
@media (max-width: 420px) {
  .header-actions .btn--small { padding: 0 12px; }
}

/* Light-surface stat values on the About page */
.stats--light .stat__value { font-size: 36px; line-height: 42px; }
@media (max-width: 900px) { .stats--light .stat__value { font-size: 26px; line-height: 32px; } }
