/* ==========================================================================
   talethaderrington.com — Wellbeing Engineering™ Personal Services
   Shared stylesheet. Same palette and type as wellbeingengineering.com,
   rebuilt as real CSS so every page stays consistent.
   ========================================================================== */

:root{
  /* surfaces */
  --cream:      #f4ece0;
  --cream-deep: #efe5d4;
  --card:       #fffdf8;
  --line:       #e6dcc6;
  --line-soft:  #efe6d5;

  /* ink */
  --ink:        #23231b;
  --body:       #595441;
  --muted:      #8a8268;
  --faint:      #9a9176;

  /* accents */
  --green:      #35503e;
  --green-deep: #2c3a26;
  --green-mid:  #334b3a;
  --green-pale: #a3b18d;
  --terra:      #bf6a45;
  --gold:       #dcae5a;

  /* rhythm */
  --gutter:     clamp(22px, 5vw, 72px);
  --max:        1180px;
  --radius:     16px;
  --radius-lg:  22px;
  --shadow:     0 18px 44px rgba(53, 80, 62, .10);
  --shadow-lg:  0 28px 64px rgba(53, 80, 62, .18);
  --nav-h:      68px;
}

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

html{
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection{ background: var(--terra); color: #fff; }

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

a{ color: var(--green); }

h1, h2, h3, h4{
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .5em;
}

h1{ font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.032em; line-height: 1.04; }
h2{ font-size: clamp(27px, 3.4vw, 38px); }
h3{ font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.012em; }

p{ margin: 0 0 1.1em; }
p:last-child{ margin-bottom: 0; }

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

.skip{
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: var(--cream);
  padding: 11px 18px; border-radius: 0 0 10px 10px;
  font-weight: 700; text-decoration: none;
  transition: top .18s ease;
}
.skip:focus{ top: 0; }

/* ── layout helpers ─────────────────────────────────────────────────────── */

.wrap{ max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow{ max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }

section{ padding-block: clamp(54px, 6.2vw, 96px); }
section.tight{ padding-block: clamp(34px, 4vw, 56px); }

.band-deep{ background: var(--cream-deep); border-block: 1px solid var(--line); }
.band-green{ background: var(--green-mid); color: #e9e2d1; }
.band-green h2, .band-green h3{ color: #fff; }

.eyebrow{
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 13px;
}
.eyebrow.green{ color: var(--green); }
.eyebrow.pale{ color: var(--green-pale); }

.lede{
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.6;
  color: var(--body);
  max-width: 62ch;
}

.tagline{
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--green);
  font-style: italic;
  letter-spacing: -.01em;
  margin: 0 0 22px;
}

.rule{ height: 1px; background: var(--line); border: 0; margin: 0; }

sup.tm{ font-size: .52em; font-weight: 700; margin-left: 1px; top: -.6em; position: relative; }

/* ── buttons ────────────────────────────────────────────────────────────── */

.btn{
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-size: 15px; font-weight: 700;
  padding: 14px 25px; border-radius: 10px;
  text-decoration: none; cursor: pointer;
  border: 1.6px solid transparent;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--green); color: var(--cream); }
.btn-primary:hover{ background: #3f6049; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(53,80,62,.22); }
.btn-ghost{ border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover{ background: rgba(53,80,62,.07); transform: translateY(-1px); }
.btn-light{ background: var(--cream); color: var(--green-deep); }
.btn-light:hover{ background: #fff; transform: translateY(-1px); }
.btn-outline-light{ border-color: rgba(244,236,224,.55); color: var(--cream); }
.btn-outline-light:hover{ background: rgba(244,236,224,.12); }

.btn-row{ display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }

/* ── header / nav ───────────────────────────────────────────────────────── */

.site-head{
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,236,224,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e3d8c2;
}
.site-head-inner{
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand{
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 16.5px; letter-spacing: -.015em;
  line-height: 1.1;
}
.brand-mark{
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  background: var(--green); color: var(--gold);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900; letter-spacing: .02em;
}
.brand small{ display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

.nav{ display: flex; align-items: center; gap: 26px; }
.nav a{
  font-size: 14.5px; font-weight: 600; color: #494530;
  text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nav a:hover{ color: var(--terra); }
.nav a[aria-current="page"]{ color: var(--green); border-bottom-color: var(--terra); }
.nav a.btn{ padding: 10px 18px; font-size: 14px; border-bottom: 0; }
.nav a.btn-primary, .nav a.btn-primary:hover{ color: var(--cream); }

.nav-toggle{
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 9px; padding: 0;
  color: var(--green);
}
.nav-toggle:hover{ background: rgba(53,80,62,.08); }
.nav-toggle svg{ margin: 0 auto; }

.nav-mobile{
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-bottom: 1px solid #e3d8c2;
  padding: 6px var(--gutter) 20px;
}
.nav-mobile.open{ display: flex; }
.nav-mobile a{
  padding: 13px 2px; font-size: 16px; font-weight: 600;
  color: #494530; text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a:last-child{ border-bottom: 0; }
.nav-mobile a[aria-current="page"]{ color: var(--green); }

/* ── hero banner (image behind text) ────────────────────────────────────── */

.hero{
  position: relative;
  min-height: clamp(460px, 68vh, 680px);
  display: flex; align-items: flex-end;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.hero-img{
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after{
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,28,20,.46) 0%, rgba(20,28,20,.12) 36%, rgba(20,28,20,.72) 100%),
    linear-gradient(90deg, rgba(20,28,20,.46) 0%, rgba(20,28,20,0) 62%);
}
.hero-inner{
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: clamp(44px, 7vw, 86px) var(--gutter) clamp(40px, 5.5vw, 70px);
}
.hero h1{ color: #fff; margin: 0 0 20px; max-width: 16ch; text-shadow: 0 2px 26px rgba(0,0,0,.34); }
.hero h1 em{ font-style: normal; color: var(--gold); }
.hero .eyebrow{ color: #f0e3cd; }
.hero p{
  color: #f1ece1; max-width: 56ch;
  font-size: clamp(16px, 1.45vw, 19px);
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
}

/* page hero — smaller banner for the service pages */
.hero.hero-page{ min-height: clamp(340px, 46vh, 460px); }
.hero.hero-page h1{ max-width: 20ch; }

.hero-credit{
  position: absolute; right: var(--gutter); bottom: 12px;
  font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .04em;
}

/* ── breadcrumb ─────────────────────────────────────────────────────────── */

.crumbs{
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  padding: 14px 0 0;
}
.crumbs a{ color: var(--green); text-decoration: none; }
.crumbs a:hover{ color: var(--terra); }
.crumbs span{ color: var(--line); margin: 0 7px; }

/* ── service cards (home) ───────────────────────────────────────────────── */

.svc-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.svc{
  position: relative;
  display: flex; flex-direction: column;
  min-height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--green-mid);
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
  isolation: isolate;
}
.svc:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc img{
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.svc:hover img{ transform: scale(1.045); }
.svc::after{
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(22,30,22,.18) 0%, rgba(22,30,22,.58) 52%, rgba(22,30,22,.88) 100%);
}
.svc-body{ margin-top: auto; padding: clamp(22px, 2.4vw, 30px); }
.svc-num{
  font-size: 11.5px; font-weight: 800; letter-spacing: .2em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 9px;
}
.svc h3{ color: #fff; font-size: clamp(21px, 2.2vw, 26px); margin: 0 0 8px; }
.svc p{ color: #e8e2d4; font-size: 15px; line-height: 1.5; margin: 0; }
.svc-go{
  margin-top: 15px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; color: var(--gold);
}
.svc:hover .svc-go{ gap: 11px; }
.svc-go span{ transition: margin .18s ease; }

/* ── generic content cards ──────────────────────────────────────────────── */

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow);
}

.cards{ display: grid; gap: clamp(16px, 2vw, 22px); }
.cards.c2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards.c3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4.4vw, 62px);
  align-items: center;
}
.split.lead-left{ grid-template-columns: .9fr 1.1fr; }
.split.lead-right{ grid-template-columns: 1.1fr .9fr; }
.split.top{ align-items: start; }

.framed{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 9px; background: var(--card);
  box-shadow: var(--shadow-lg);
}
.framed img{ border-radius: 13px; width: 100%; height: 100%; object-fit: cover; }

/* ── trip / offering list ───────────────────────────────────────────────── */

.trip-group{ margin-bottom: clamp(30px, 3.6vw, 46px); }
.trip-group:last-child{ margin-bottom: 0; }

.trip-head{
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.trip-head h3{ margin: 0; }
.trip-head .meta{ font-size: 13.5px; color: var(--muted); font-weight: 600; }

.trips{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trip{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.trip:hover{ border-color: #d9cdb2; box-shadow: var(--shadow); transform: translateX(2px); }
.trip-name{ font-weight: 700; color: var(--ink); font-size: 16.5px; flex: 1 1 260px; }
.trip-name small{ display: block; font-weight: 500; font-size: 13.5px; color: var(--muted); margin-top: 3px; }

.level{
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  margin-left: auto; min-width: 92px; text-align: center;
}
.level-easy{ background: #e3ecdd; color: #3c6040; }
.level-moderate{ background: #f3e6cf; color: #8a6318; }
.level-advanced{ background: #f2ded4; color: #9a4725; }

.maplink{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--green);
  text-decoration: none; white-space: nowrap;
}
.maplink:hover{ color: var(--terra); }
@media (min-width: 861px){ .maplink{ min-width: 196px; } }
.maplink svg{ flex: none; }

/* ── bullet list with check marks ───────────────────────────────────────── */

.ticks{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li{
  position: relative; padding-left: 32px;
  font-size: 16.5px; color: var(--body);
}
.ticks li::before{
  content: ''; position: absolute; left: 0; top: .34em;
  width: 19px; height: 19px; border-radius: 6px;
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4ece0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}
.band-green .ticks li{ color: #e4ddcb; }
.band-green .ticks li::before{ background-color: var(--gold); }

/* ── gallery ────────────────────────────────────────────────────────────── */

.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.gallery figure{ margin: 0; }
.gallery button{
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: none; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img{
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform .45s ease, filter .25s ease;
}
.gallery.wide img{ aspect-ratio: 4 / 3; }
/* square tiles — for a gallery sitting beside text in a .split column */
.gallery.tiles{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery.tiles img{ aspect-ratio: 1 / 1; }
.gallery button:hover img{ transform: scale(1.05); filter: saturate(1.06); }

.lightbox{
  position: fixed; inset: 0; z-index: 90;
  background: rgba(18,22,18,.92);
  display: none; align-items: center; justify-content: center;
  padding: 4vmin;
}
.lightbox.open{ display: flex; }
.lightbox img{ max-width: 100%; max-height: 90vh; border-radius: 10px; object-fit: contain; }
.lightbox-close{
  position: absolute; top: 18px; right: 20px;
  background: rgba(255,255,255,.14); border: 0; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font-size: 22px; line-height: 1;
}
.lightbox-close:hover{ background: rgba(255,255,255,.26); }

/* ── stat / note strip ──────────────────────────────────────────────────── */

.strip{
  display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap;
  font-size: 15.5px; font-weight: 600; color: #55513d;
}
.strip .label{
  font-size: 13px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--faint); white-space: nowrap;
}
.strip .dot{ color: #c9bfa6; }

.pills{ display: flex; flex-wrap: wrap; gap: 9px; }
.pill{
  border: 1px solid #d8cdb4; border-radius: 999px;
  padding: 7px 15px; font-size: 13px; font-weight: 700;
  color: #5d6b53; background: transparent;
}
.band-green .pill{ border-color: rgba(233,226,209,.3); color: #ded6c3; }

/* ── quote / testimonial ────────────────────────────────────────────────── */

.quote{
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terra);
  border-radius: 13px;
  padding: clamp(20px, 2.4vw, 28px);
  font-size: 17px; line-height: 1.6; color: var(--body);
}
.quote cite{
  display: block; margin-top: 13px;
  font-size: 14px; font-style: normal; font-weight: 700; color: var(--green);
}
.quote.placeholder{
  border-left-color: var(--line);
  color: var(--muted);
  font-style: italic;
}

/* ── contact form ───────────────────────────────────────────────────────── */

.form{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow);
}
.field{ margin-bottom: 16px; }
.field label{
  display: block; margin-bottom: 7px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; color: #7c745d;
}
.field input, .field select, .field textarea{
  width: 100%; font: inherit; font-size: 15px;
  color: #2b2920; background: #fbf6ec;
  border: 1px solid #e0d5bf; border-radius: 10px;
  padding: 13px 14px; outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea{ resize: vertical; min-height: 110px; }
.field select{ appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c745d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 17px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(191,106,69,.14);
}
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form button[type=submit]{ width: 100%; justify-content: center; }
.form-note{ font-size: 12.5px; color: var(--muted); margin: 13px 0 0; text-align: center; }
.form-note.ok{ color: var(--green); font-weight: 700; font-size: 13.5px; }
.form-note.err{ color: var(--terra); font-weight: 600; }
.hp{ position: absolute; left: -9999px; opacity: 0; }

.contact-links{ display: grid; gap: 13px; margin-top: 26px; }
.contact-links a{
  display: flex; align-items: center; gap: 12px;
  color: var(--green); font-weight: 700; font-size: 15.5px; text-decoration: none;
}
.contact-links a:hover{ color: var(--terra); }
.contact-links .ic{
  width: 36px; height: 36px; flex: none; border-radius: 10px;
  background: var(--green); color: var(--cream);
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
}

/* ── CTA band ───────────────────────────────────────────────────────────── */

.cta{
  background: var(--green-mid); color: #e9e2d1;
  text-align: center;
}
.cta h2{ color: #fff; margin-bottom: 14px; }
.cta p{ color: #d9d2bf; max-width: 56ch; margin: 0 auto 26px; }
.cta .btn-row{ justify-content: center; }

/* ── footer ─────────────────────────────────────────────────────────────── */

.site-foot{
  background: var(--green-deep); color: var(--green-pale);
  padding: clamp(44px, 5vw, 58px) 0 36px;
  font-size: 14.5px;
}
.site-foot .cols{
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px; padding-bottom: 34px;
  border-bottom: 1px solid rgba(163,177,141,.22);
}
.site-foot h4{
  color: #e7e0cd; font-size: 12.5px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px;
}
.site-foot a{ color: var(--green-pale); text-decoration: none; }
.site-foot a:hover{ color: var(--gold); }
.site-foot ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot .blurb{ max-width: 42ch; line-height: 1.6; color: #93a37d; }
.site-foot .legal{
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-top: 24px; font-size: 13px; color: #8b9a76;
}

/* ── reveal on scroll ───────────────────────────────────────────────────── */

html.js [data-reveal]{ opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.js [data-reveal].in{ opacity: 1; transform: none; }

/* ── responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 960px){
  .cards.c3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-foot .cols{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .nav{ display: none; }
  .nav-toggle{ display: block; }
  .split, .split.lead-left, .split.lead-right{ grid-template-columns: 1fr; }
  .split .framed{ order: -1; }
  .svc-grid{ grid-template-columns: 1fr; }
  .svc{ min-height: 280px; }
  .cards.c2, .cards.c3{ grid-template-columns: 1fr; }
  .field-row{ grid-template-columns: 1fr; }
  .site-foot .cols{ grid-template-columns: 1fr; gap: 28px; }
  body{ font-size: 16.5px; }
}

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

@media print{
  .site-head, .nav-mobile, .cta, .lightbox{ display: none !important; }
  body{ background: #fff; }
}
