/* ==========================================================================
   PAW & TIDE CO. — Design System v2  ·  "Airy & Editorial"
   Cormorant Garamond + Jost · Sunset Lowcountry palette

   WHAT CHANGED FROM v1
   1. Type floor is 13px. v1 had 16 rules at 10–11px.
   2. No text is dimmed with opacity. v1 faded 7 rules to 40–68%.
      Every muted tone is now a real, contrast-checked colour.
   3. Two background changes per page, not seven. Warm Sand is the canvas;
      Deep Tide bookends. Sunset and Honey are punctuation, not bands.
   4. Wider gaps between type sizes so hierarchy actually leads the eye.
   5. Fewer boxes. Hairline rules and space do the separating.
   6. Motion: 16px fade-up on entry, 60ms stagger, 2px hover lift.
      All of it off under prefers-reduced-motion.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — unchanged */
  --deep-tide:  #085041;
  --marsh:      #1D9E75;
  --sunset:     #E8872A;
  --coral-clay: #D4522A;
  --honey:      #F2C96E;
  --warm-sand:  #FAF0E4;

  /* Accessible text shades of the same hues (see v1 notes) */
  --sunset-ink:  #B04C1C;
  --marsh-ink:   #3ECBA0;
  --marsh-deep:  #0F7555;
  --clay-deep:   #C4451F;

  /* Wordmark accent — a cool note against a warm palette.
     Pulled from the sky in the hero photograph. 5.76:1 on Deep Tide. */
  --sky:         #9FD3E0;

  /* Surfaces */
  --sand-2:      #F5E9DA;   /* a half-step down from Warm Sand */
  --sand-border: #E5D5C0;
  --hairline:    #DFCFBA;
  --tide-deeper: #04342C;
  --tide-line:   rgba(250,240,228,0.14);
  --white:       #FFFFFF;
  --mint-tint:   #E4F3E9;

  /* Ink — solid values, never opacity */
  --ink:          #3A3A37;   /* body on sand      — 10.4:1 */
  --ink-soft:     #55544F;   /* secondary on sand —  7.4:1 */
  --ink-muted:    #6B6A63;   /* tertiary on sand  —  4.8:1 */
  --sand-ink:     #FAF0E4;   /* body on tide      —  8.4:1 */
  --sand-ink-2:   #D9CDBC;   /* secondary on tide —  6.1:1 */
  --sand-ink-3:   #B9AE9E;   /* tertiary on tide  —  4.5:1 */

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Type scale — floor is 0.8125rem (13px). Nothing smaller ships. */
  --t-label:   0.8125rem;  /* 13px — meta, prices, fine labels   */
  --t-eyebrow: 0.9375rem;  /* 15px — section eyebrows            */
  --t-small:  0.9375rem;   /* 15px — captions, fine print         */
  --t-body:   1.0625rem;   /* 17px — body copy                    */
  --t-lead:   1.1875rem;   /* 19px — section ledes                */

  /* Space — roughly double v1 at the section level */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2.25rem; --sp-7: 3.5rem;  --sp-8: 5rem;
  --sp-9: 7rem;    --sp-10: 9rem;

  /* Layout */
  --wrap: 1200px;
  --wrap-text: 68ch;
  --gutter: 1.5rem;
  --radius-sm: 6px;
  --radius: 12px;

  --shadow-soft: 0 1px 2px rgba(8,80,65,0.03), 0 10px 30px rgba(8,80,65,0.05);
  --shadow-lift: 0 2px 6px rgba(8,80,65,0.05), 0 18px 46px rgba(8,80,65,0.10);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 720px)  { :root { --gutter: 2.5rem; } }
@media (min-width: 1100px) { :root { --gutter: 3rem; } }

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--warm-sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--t-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--deep-tide);
}

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--sunset);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute; top: -100px; left: var(--sp-4); z-index: 200;
  background: var(--honey); color: var(--deep-tide);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--radius-sm);
  font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* --------------------------------------------------------------------------
   3. MOTION
   Everything here is disabled wholesale for prefers-reduced-motion.
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }
.wrap--mid  { max-width: 960px; }

.section { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
@media (min-width: 720px)  { .section { padding-top: var(--sp-9);  padding-bottom: var(--sp-9); } }
@media (min-width: 1100px) { .section { padding-top: var(--sp-10); padding-bottom: var(--sp-10); } }
.section--tight { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }

/* Only two grounds now. Sand is the canvas; Tide bookends. */
.bg-sand { background: var(--warm-sand); }
.bg-tide { background: var(--deep-tide); color: var(--sand-ink); }
:is(.bg-tide, .hero, .page-hero, .portal) h1, :is(.bg-tide, .hero, .page-hero, .portal) h2, :is(.bg-tide, .hero, .page-hero, .portal) h3, :is(.bg-tide, .hero, .page-hero, .portal) h4 { color: var(--warm-sand); }

/* Hairline divider — replaces most of what used to be a coloured band */
.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }
:is(.bg-tide, .hero, .page-hero, .portal) .rule { background: var(--tide-line); }

/* --------------------------------------------------------------------------
   5. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--t-eyebrow);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sunset-ink);
  margin: 0 0 var(--sp-4);
  font-style: normal;
}
:is(.bg-tide, .hero, .page-hero, .portal) .eyebrow { color: var(--marsh-ink); }
.eyebrow--tide { color: var(--deep-tide); }

/* Wider gaps between steps than v1 — hierarchy you can feel */
.h-xl { font-size: clamp(2.75rem, 7.5vw, 4.5rem); }
.h-lg { font-size: clamp(2.15rem, 5.4vw, 3.25rem); }
.h-md { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.h-sm { font-size: clamp(1.35rem, 2.6vw, 1.6rem); }

.accent { color: var(--sunset-ink); }
:is(.bg-tide, .hero, .page-hero, .portal) .accent { color: var(--honey); }

.lede {
  font-size: var(--t-lead);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
  font-weight: 300;
}
:is(.bg-tide, .hero, .page-hero, .portal) .lede { color: var(--sand-ink-2); }

.body { font-size: var(--t-body); color: var(--ink-soft); max-width: 68ch; }
:is(.bg-tide, .hero, .page-hero, .portal) .body { color: var(--sand-ink-2); }

.fine { font-size: var(--t-small); color: var(--ink-muted); }
:is(.bg-tide, .hero, .page-hero, .portal) .fine { color: var(--sand-ink-3); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.center-col { margin-left: auto; margin-right: auto; }
.text-center .lede, .center-col .lede { margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: var(--sp-7); }
.section-head .lede { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   ORPHAN CONTROL
   Stops a single short word from stranding on its own last line. `balance`
   evens out heading line lengths; `pretty` keeps at least two words on the
   final line of body copy. Both adapt per viewport, so copy edits and phone
   widths stay clean without hand-placed &nbsp; entities.
   Unsupported browsers simply ignore these and wrap as before.
   -------------------------------------------------------------------------- */
h1, h2, h3, .h-xl, .h-lg, .h-md, .hero__title {
  text-wrap: balance;
}
p, .lede, .prose p, .feature__body, .item__desc,
.portal__body, .portal__note, .form-note, .review__text, .team-card__bio {
  text-wrap: pretty;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-body); font-weight: 400;
  font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; text-align: center;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--sunset); color: #3B1B06; box-shadow: 0 2px 12px rgba(232,135,42,0.25); }
.btn--primary:hover { background: var(--honey); box-shadow: 0 6px 22px rgba(232,135,42,0.3); }

.btn--tide { background: var(--deep-tide); color: var(--honey); }
.btn--tide:hover { background: var(--tide-deeper); }

.btn--line { background: transparent; color: var(--deep-tide); border-color: var(--hairline); }
.btn--line:hover { border-color: var(--deep-tide); background: rgba(8,80,65,0.04); }

:is(.bg-tide, .hero, .page-hero, .portal) .btn--line { color: var(--honey); border-color: rgba(242,201,110,0.4); }
:is(.bg-tide, .hero, .page-hero, .portal) .btn--line:hover { border-color: var(--honey); background: rgba(242,201,110,0.08); }

.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.btn-row--center { justify-content: center; }

/* Text link with an animated underline — small, cheap piece of life */
.link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--t-label); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sunset-ink);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--sunset-ink), var(--sunset-ink));
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease);
}
.link:hover { background-size: 100% 1px; }
:is(.bg-tide, .hero, .page-hero, .portal) .link { color: var(--honey); background-image: linear-gradient(var(--honey), var(--honey)); }

/* --------------------------------------------------------------------------
   7. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--deep-tide);
  border-bottom: 1px solid transparent;
  transition: padding 0.28s var(--ease), border-color 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
  padding: 0.65rem 0;
}
.site-header.is-stuck {
  padding: 0.1rem 0;
  border-bottom-color: var(--tide-line);
  box-shadow: 0 10px 30px rgba(4,52,44,0.22);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: 60px; }

.wordmark { display: flex; align-items: baseline; gap: 4px; flex-shrink: 0; line-height: 1; }
.wordmark__name { font-family: var(--font-display); font-style: italic; font-size: 2.1rem; color: var(--honey); }
.wordmark__co   { font-family: var(--font-display); font-size: 0.9375rem; letter-spacing: 0.28em; color: var(--sky); }
.wordmark__img  { height: 36px; width: auto; }

.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 10px;
  background: transparent; border: 1px solid rgba(250,240,228,0.24);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav__toggle span { display: block; height: 1.5px; background: var(--warm-sand); border-radius: 2px;
  transition: transform 0.26s var(--ease), opacity 0.18s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--deep-tide); border-bottom: 1px solid var(--tide-line);
  padding: var(--sp-2) var(--gutter) var(--sp-6);
  box-shadow: 0 20px 40px rgba(4,52,44,0.28);
}
.nav__menu.is-open { display: block; }
.nav__list { display: flex; flex-direction: column; }

.nav__link {
  display: block; padding: 1rem 0;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--sand-ink);
  border-bottom: 1px solid var(--tide-line);
  transition: color 0.2s var(--ease);
}
.nav__link:hover { color: var(--honey); }
.nav__link[aria-current="page"] { color: var(--honey); }
.nav__cta { margin-top: var(--sp-5); }

@media (min-width: 940px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex !important; position: static; align-items: center; gap: var(--sp-6);
    padding: 0; background: transparent; border: 0; box-shadow: none;
  }
  .nav__list { flex-direction: row; gap: var(--sp-6); }
  .nav__link { padding: 0 0 4px; border: 0; position: relative; }
  .nav__link::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: var(--honey); transition: width 0.28s var(--ease);
  }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
  .nav__cta { margin-top: 0; }
  .nav__cta .btn { padding: 0.75rem 1.4rem; }
}

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero { background: var(--deep-tide); color: var(--sand-ink); padding: var(--sp-8) 0; }
@media (min-width: 940px) { .hero { padding: var(--sp-9) 0; } }

.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-8); } }

.hero__title { font-size: clamp(2.9rem, 8vw, 4.6rem); margin-bottom: var(--sp-5); }
.hero__title .accent { color: var(--honey); }

.page-hero { background: var(--deep-tide); color: var(--sand-ink); text-align: center; }
.page-hero h1 { margin-bottom: var(--sp-5); }
.page-hero .lede { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   9. IMAGERY
   -------------------------------------------------------------------------- */
.photo-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.photo-frame--hero { aspect-ratio: 4 / 5; }
@media (min-width: 940px) { .photo-frame--hero { aspect-ratio: 1 / 1; } }

/* --------------------------------------------------------------------------
   10. TRUST STRIP — hairline rules, not a gold band
   -------------------------------------------------------------------------- */
.trust { background: var(--warm-sand); border-bottom: 1px solid var(--hairline); }
.trust__list {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.85rem 2rem; padding: var(--sp-5) 0;
}
.trust__item {
  display: flex; align-items: center; gap: 2rem;
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--deep-tide);
}
.trust__item::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sunset); flex-shrink: 0; }
.trust__item:last-child::after { display: none; }

/* --------------------------------------------------------------------------
   11. GRIDS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 620px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 620px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   12. FEATURE LIST — the boxes-become-hairlines pattern
   Used for the pillars and the services preview.
   -------------------------------------------------------------------------- */
.feature { padding-top: var(--sp-5); border-top: 1px solid var(--hairline); }
:is(.bg-tide, .hero, .page-hero, .portal) .feature { border-top-color: var(--tide-line); }
.feature__num {
  display: block; font-family: var(--font-display); font-size: 1.1rem;
  color: var(--sunset-ink); margin-bottom: var(--sp-3);
}
:is(.bg-tide, .hero, .page-hero, .portal) .feature__num { color: var(--honey); }
.feature__title {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.45rem; color: var(--deep-tide); margin-bottom: var(--sp-3);
}
:is(.bg-tide, .hero, .page-hero, .portal) .feature__title { color: var(--warm-sand); }
.feature__body { font-size: var(--t-small); line-height: 1.7; color: var(--ink-soft); }
:is(.bg-tide, .hero, .page-hero, .portal) .feature__body { color: var(--sand-ink-2); }

/* Service row — an editorial list, not a cramped card deck */
.svc-list { border-top: 1px solid var(--hairline); }
.svc-row {
  display: grid; gap: var(--sp-2) var(--sp-6);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left 0.3s var(--ease);
}
@media (min-width: 760px) {
  .svc-row { grid-template-columns: minmax(0,0.9fr) minmax(0,1.4fr) auto; align-items: baseline; }
  .svc-row:hover { padding-left: var(--sp-3); }
}
.svc-row__name { font-family: var(--font-display); font-style: italic; font-size: 1.65rem; color: var(--deep-tide); }
.svc-row__desc { font-size: var(--t-body); color: var(--ink-soft); }
.svc-row__meta { font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sunset-ink); white-space: nowrap; }

/* --------------------------------------------------------------------------
   13. CARDS — kept only where content needs containment
   -------------------------------------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--sand-border);
  border-radius: var(--radius); padding: var(--sp-6);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card__title { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--deep-tide); margin-bottom: var(--sp-3); }
.card__body { font-size: var(--t-small); line-height: 1.75; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   14. REVIEWS — quotes, not boxes
   -------------------------------------------------------------------------- */
.review { display: flex; flex-direction: column; }
.review__stars { color: var(--sunset); font-size: 1rem; letter-spacing: 0.2em; margin-bottom: var(--sp-4); }
.review__text {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.35rem; line-height: 1.5; color: var(--deep-tide);
  margin-bottom: var(--sp-4); flex: 1;
}
.review__author { font-size: var(--t-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   15. CTA
   -------------------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .lede { margin: 0 auto var(--sp-6); }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--deep-tide); color: var(--sand-ink); }
.site-footer__grid { display: grid; gap: var(--sp-7); padding: var(--sp-8) 0; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.site-footer__tag { font-size: var(--t-small); color: var(--marsh-ink); margin-top: var(--sp-3); }
.site-footer__contact { margin-top: var(--sp-5); font-size: var(--t-body); display: flex; flex-direction: column; gap: var(--sp-2); }
.site-footer__contact a { color: var(--sand-ink-2); transition: color 0.2s var(--ease); }
.site-footer__contact a:hover { color: var(--honey); }

.site-footer__label { font-size: var(--t-eyebrow); letter-spacing: 0.18em; text-transform: uppercase; color: var(--marsh-ink); margin-bottom: var(--sp-4); }
.site-footer__links { display: flex; flex-direction: column; gap: 0.7rem; }
.site-footer__links li { font-size: var(--t-small); color: var(--sand-ink-2); }
.site-footer__links a { transition: color 0.2s var(--ease); }
.site-footer__links a:hover { color: var(--honey); }

.subfooter { background: var(--tide-deeper); padding: var(--sp-5) 0; }
.subfooter__inner {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  align-items: center; justify-content: space-between;
  font-size: var(--t-small); color: var(--sand-ink-3);
}

/* --------------------------------------------------------------------------
   17. UTILITIES
   -------------------------------------------------------------------------- */
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); } .mb-7 { margin-bottom: var(--sp-7); }
.stack-3 > * + * { margin-top: var(--sp-3); }
.stack-5 > * + * { margin-top: var(--sp-5); }


/* ==========================================================================
   18. LIST ITEMS — the Option B pattern
   Name and price share a line; the description sits under them; space does
   the separating. No rules on mobile, hairlines on desktop only.
   ========================================================================== */
.item-list { border-top: 1px solid var(--hairline); }
.item {
  display: block;
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left 0.3s var(--ease);
}
.item__top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: var(--sp-2);
}
.item__name { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--deep-tide); line-height: 1.15; }
.item__price {
  font-weight: 500; font-size: var(--t-label); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--sunset-ink); white-space: nowrap; flex-shrink: 0;
}

/* Some services are priced in conversation, not on a card. A sentence does not
   belong in the right-aligned price column — it wraps to three or four lines and
   swamps the row. It gets its own line under the description instead. */
.item__pricing-note {
  margin: 0.35rem 0 0;
  font-size: var(--t-label);
  font-weight: 500;
  color: var(--sunset-ink);
}
.item__desc { font-size: var(--t-body); color: var(--ink-soft); max-width: 62ch; }
.item__meta { font-size: var(--t-small); color: var(--ink-muted); margin-top: var(--sp-2); }
.item__tag {
  display: inline-block; font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--sunset-ink);
  margin-bottom: var(--sp-2);
}
@media (min-width: 760px) { .item:hover { padding-left: var(--sp-3); } }

/* Group heading inside a long list (Services page) */
.group { margin-bottom: var(--sp-8); }
.group:last-child { margin-bottom: 0; }
.group__head { margin-bottom: var(--sp-5); }
.group__title { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.group__avail { font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-top: var(--sp-2); }

/* --------------------------------------------------------------------------
   19. STATS — no gold band, just big numerals on the canvas
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-4); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; color: var(--deep-tide); }
:is(.bg-tide, .hero, .page-hero, .portal) .stat__num { color: var(--honey); }
.stat__label { font-size: var(--t-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-top: var(--sp-2); }
:is(.bg-tide, .hero, .page-hero, .portal) .stat__label { color: var(--sand-ink-3); }

/* --------------------------------------------------------------------------
   20. EDITORIAL PROSE
   -------------------------------------------------------------------------- */
.prose { font-size: var(--t-body); line-height: 1.85; color: var(--ink-soft); }
.prose p { margin-bottom: var(--sp-5); }
.pull-quote { margin: var(--sp-6) 0; padding-left: var(--sp-5); border-left: 2px solid var(--sunset); }
.pull-quote p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem); line-height: 1.4; color: var(--deep-tide); margin: 0;
}

/* --------------------------------------------------------------------------
   21. TEAM — photos need containment, so these stay as cards
   -------------------------------------------------------------------------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-5); }
.team-grid > .team-card { flex: 1 1 260px; max-width: 100%; }
@media (min-width: 620px)  { .team-grid > .team-card { max-width: 330px; } }
@media (min-width: 1024px) { .team-grid > .team-card { flex-basis: 300px; min-width: 300px; } }

.team-card { display: flex; flex-direction: column; }
.team-card__photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.team-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.team-card__info { padding-top: var(--sp-4); }
.team-card__name { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--deep-tide); }
.team-card__role { font-size: var(--t-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sunset-ink); margin: var(--sp-2) 0 var(--sp-3); }
.team-card__bio { font-size: var(--t-small); line-height: 1.7; color: var(--ink-soft); }
.team-card__detail { font-family: var(--font-display); font-style: italic; font-size: var(--t-body); color: var(--marsh-deep); margin-top: var(--sp-3); }

.team-card__bio--todo {
  background: #FCF0DE; border: 1px dashed var(--sunset);
  border-radius: var(--radius-sm); padding: var(--sp-3) var(--sp-4);
  color: var(--sunset-ink); font-style: italic;
}
.team-card__bio--todo strong {
  display: block; font-style: normal; font-weight: 500; font-size: var(--t-label);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--sp-1);
}

/* --------------------------------------------------------------------------
   22. STEPS
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-6); }
@media (min-width: 620px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step__num { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--sunset-ink); margin-bottom: var(--sp-3); }
.step__title { font-family: var(--font-display); font-style: italic; font-size: 1.45rem; color: var(--deep-tide); margin-bottom: var(--sp-3); }
.step__desc { font-size: var(--t-small); line-height: 1.7; color: var(--ink-soft); }
.step__accent { font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--marsh-deep); margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   23. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-5);
  padding: var(--sp-5) 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--deep-tide);
  transition: color 0.2s var(--ease);
}
.faq-item summary:hover { color: var(--sunset-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font-body); font-style: normal; font-size: 1.6rem;
  line-height: 1; color: var(--sunset-ink); flex-shrink: 0;
  transition: transform 0.28s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 0 var(--sp-6); font-size: var(--t-body); line-height: 1.8; color: var(--ink-soft); max-width: 66ch; }
.faq-item__body p { margin-bottom: var(--sp-4); }

/* --------------------------------------------------------------------------
   24. FORMS — the one place a box is genuinely useful
   -------------------------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--sand-border); border-radius: var(--radius); padding: var(--sp-6); box-shadow: var(--shadow-soft); }
@media (min-width: 620px) { .form-card { padding: var(--sp-7); } }

.field { margin-bottom: var(--sp-5); }
.field__label { display: block; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--sp-2); }
.field__req { color: var(--sunset-ink); }
.input, .textarea {
  width: 100%; background: var(--warm-sand); border: 1px solid var(--sand-border);
  border-radius: var(--radius-sm); padding: 0.85rem 0.95rem;
  font-size: var(--t-body); font-weight: 300; color: var(--ink);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.input:focus, .textarea:focus { background: var(--white); border-color: var(--sunset); outline: none; }
.input::placeholder, .textarea::placeholder { color: #B6AC9D; }
.textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.checks { display: grid; gap: var(--sp-3); }
@media (min-width: 480px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--t-small); color: var(--ink-soft); cursor: pointer; }
.check input { margin-top: 5px; accent-color: var(--sunset); flex-shrink: 0; }

.form-note { font-family: var(--font-display); font-style: italic; font-size: var(--t-body); color: var(--ink-muted); text-align: center; margin-top: var(--sp-4); }
.form-status { display: none; margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-sm); font-size: var(--t-small); line-height: 1.7; }
.form-status.is-visible { display: block; }
.form-status--ok  { background: var(--mint-tint); color: var(--deep-tide); }
.form-status--err { background: #FBE6DE; color: #8A3413; }

.portal { background: var(--deep-tide); color: var(--sand-ink); border-radius: var(--radius); padding: var(--sp-6); }
@media (min-width: 620px) { .portal { padding: var(--sp-7); } }
.portal h2 { color: var(--honey) !important; }
.portal__body { color: var(--sand-ink-2); font-size: var(--t-body); margin-bottom: var(--sp-6); }
.portal__note { font-size: var(--t-small); color: var(--marsh-ink); text-align: center; margin-top: var(--sp-4); }

.dot-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.dot-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--t-body); line-height: 1.65; color: var(--ink-soft); }
.dot-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sunset); margin-top: 11px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   25. PILLS + NOTE
   -------------------------------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.pill { border: 1px solid var(--hairline); border-radius: 100px; padding: 0.5rem 1.1rem; font-size: var(--t-small); color: var(--ink-soft); }
:is(.bg-tide, .hero, .page-hero, .portal) .pill { border-color: var(--tide-line); color: var(--sand-ink-2); }

.note { background: var(--sand-2); border-radius: var(--radius); padding: var(--sp-5); font-size: var(--t-small); line-height: 1.7; color: var(--ink-soft); }
.note strong { font-weight: 500; color: var(--deep-tide); }

/* ==========================================================================
   26. MOBILE — Option B. No markers, no rules. Space does the work.
   The price rides up beside the name so no accent colour ever sits alone
   above a horizontal element, which is what read as a link.
   ========================================================================== */
@media (max-width: 760px) {

  /* --- Hero: less air above so the headline lands sooner --- */
  .site-header { padding: 0.4rem 0; }
  .hero { padding-top: var(--sp-6); padding-bottom: var(--sp-7); }
  .hero__grid { gap: var(--sp-6); }
  .eyebrow { letter-spacing: 0.12em; }
  .hero .eyebrow { margin-bottom: var(--sp-3); }
  .hero__title { margin-bottom: var(--sp-4); }

  /* --- Trust strip: no dots, two tidy columns --- */
  .trust__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-4); padding: var(--sp-5) 0; }
  .trust__item { display: block; gap: 0; line-height: 1.35; }
  .trust__item::after { display: none; }

  /* --- Every stacked list loses its rules --- */
  .item-list, .faq { border-top: 0; }
  .item, .faq-item { border-bottom: 0; }
  .item { padding: 0 0 var(--sp-7); }
  .item:last-child { padding-bottom: 0; }
  .faq-item { padding-bottom: var(--sp-2); }
  .faq-item summary { padding: var(--sp-4) 0; }

  .feature { border-top: 0; padding-top: 0; }
  .feature__num { color: var(--ink-muted); }

  .grid { gap: var(--sp-7); }
  .section { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }

  /* --- Footer: side-by-side columns instead of one long ribbon --- */
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-5); padding: var(--sp-7) 0; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  .site-footer__links { gap: 0.55rem; }
  .subfooter__inner { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
}

/* --------------------------------------------------------------------------
   27. SPLIT
   -------------------------------------------------------------------------- */
.split { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 940px) { .split--even { grid-template-columns: 1fr 1fr; } }
