/* ============================================================================
   Margie Smolarek — landing page.

   The design system is her brief, not a preference: dark green / warm off-white
   / soft sage as the ground, four functional accents that carry meaning
   (blue = process, yellow = brand, teal = quality, plum = founder), Manrope for
   body and an editorial serif for display. Everything below is in service of
   "structured, intelligent, slightly unconventional and highly considered".
   ========================================================================= */

/* ---------------------------------------------------------------- fonts */

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Newsreader';
  src: url('assets/fonts/newsreader-var.woff2') format('woff2-variations');
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}

/* ---------------------------------------------------------------- tokens */

:root {
  /* core palette */
  --ink:      #183B35;
  --paper:    #FFFCF6;
  --sage:     #D8DFD1;

  /* functional accents */
  --blue:     #3F5F86;
  --yellow:   #E0A12F;
  --teal:     #3A837B;
  --plum:     #4C2F52;

  /* derived */
  --ink-70:   rgba(24, 59, 53, .70);
  --ink-55:   rgba(24, 59, 53, .55);
  --ink-14:   rgba(24, 59, 53, .14);
  --ink-08:   rgba(24, 59, 53, .08);
  --paper-70: rgba(255, 252, 246, .70);

  --f-body:    'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Newsreader', ui-serif, Georgia, 'Times New Roman', serif;

  --wrap:  1240px;
  --pad:   clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 9vw, 136px);
  --r:     3px;                     /* near-square, per the brief */

  --ease:  cubic-bezier(.22, .61, .36, 1);
  --t-col: 320ms var(--ease);       /* the colour switch, 250–400ms */
}

/* ---------------------------------------------------------------- reset */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

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

img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- shared */

.eyebrow {
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin: 0 0 clamp(26px, 3.6vw, 48px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico { display: block; width: 24px; height: 24px; flex: none; }

/* tags — "buttons with a thin outline", her words. Square-cornered like .btn,
   because the brief's radius is near-square everywhere else on the page. */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags li {
  border: 1px solid var(--ink-14);
  border-radius: var(--r);
  padding: 5px 11px;
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink-70);
}
.tags--lg li { font-size: 14px; padding: 8px 15px; color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  color: var(--ink);
  background: transparent;
  transition: background var(--t-col), color var(--t-col), border-color var(--t-col);
}
.btn::after {
  content: "→";
  font-size: 1.05em;
  letter-spacing: 0;
  transition: transform 260ms var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:hover::after { transform: translateX(4px); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: transparent; color: var(--ink); }

.btn--sm { padding: 12px 20px; font-size: 11.5px; }

/* scroll reveal — .is-off is the JS-off / reduced-motion escape hatch */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.js .reveal.is-in, .js .reveal.is-off { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease), padding 300ms var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--ink-14); }

.nav__in {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
  transition: padding 300ms var(--ease);
}
.nav.is-stuck .nav__in { padding-block: 12px; }

.nav__id {
  font-family: var(--f-display);
  font-size: 19px;
  letter-spacing: -.01em;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}

.nav__links { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-70);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav__toggle { display: none; width: 40px; height: 40px; padding: 10px; }
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 260ms var(--ease), opacity 200ms var(--ease);
}
.nav__toggle span + span { margin-top: 6px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

.nav__mobile {
  border-top: 1px solid var(--ink-14);
  padding: 10px var(--pad) 22px;
  display: grid;
  gap: 2px;
}
/* an explicit display beats the UA rule for [hidden], so say it again */
.nav__mobile[hidden] { display: none; }
.nav__mobile a {
  text-decoration: none;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--ink-08);
}
.nav__mobile-cta {
  margin-top: 12px;
  border: 1px solid var(--ink) !important;
  border-radius: var(--r);
  text-align: center;
  font-size: 12.5px !important;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}
@media (min-width: 901px) { .nav__mobile { display: none !important; } }

/* ---------------------------------------------------------------- hero */

.hero { padding: clamp(28px, 4vw, 56px) 0 var(--sec-y); }

.hero__in {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero__figure { margin: 0; }
.hero__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  /* the portrait is warmed a touch so it sits inside the palette rather than
     on top of it — no filter on the story portrait, which reads cooler by design */
  filter: saturate(.96);
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.hero h1 em {
  display: block;
  font-style: normal;
  font-size: .58em;
  color: var(--ink-70);
  letter-spacing: -.01em;
  margin-top: .18em;
}

.hero__kicker {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: clamp(28px, 3.6vw, 42px);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; gap: 32px; }
  /* full-bleed on a phone, not a small block pinned to the left edge */
  .hero__figure { max-width: none; margin-inline: calc(var(--pad) * -1); }
  .hero__figure img { border-radius: 0; }
}

/* ------------------------------------------------- bring me in (selector) */

.selector { padding-block: clamp(48px, 6vw, 88px) var(--sec-y); background: var(--sage); }
.selector .eyebrow { margin-bottom: clamp(34px, 4.4vw, 60px); }

.selector__bar {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(22px, 2.6vw, 34px) 0;
  margin-bottom: clamp(28px, 3.4vw, 44px);
  transition: background var(--t-col);
  position: relative;
}
/* the resting state of the stripe is the Drucker quote; the four statements
   now live on the cards themselves, one at a time, on hover or tap */
.selector__all, .selector__one {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(19px, 2.05vw, 30px);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.3;
  transition: opacity 240ms var(--ease);
}
.selector__all p { margin: 0; }
.selector__all cite {
  display: block;
  margin-top: 12px;
  font-family: var(--f-body);
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
}

.selector__one {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
}

/* The colour switch and the swap to a single statement are a desktop
   behaviour. Below 700px the stripe stays put as a static element and each
   card carries its own message instead (.opt__msg) — the stripe has scrolled
   out of view by the time a thumb reaches the cards. */
@media (min-width: 701px) {
  .selector__bar[data-state="1"] { background: var(--blue); }
  .selector__bar[data-state="2"] { background: var(--yellow); color: var(--ink); }
  .selector__bar[data-state="3"] { background: var(--teal); }
  .selector__bar[data-state="4"] { background: var(--plum); }
  .selector__bar:not([data-state="all"]) .selector__all { opacity: 0; }
  .selector__bar:not([data-state="all"]) .selector__one { opacity: 1; }
}

.selector__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}

.opt {
  width: 100%;
  height: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2vw, 28px);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--r);
  color: var(--ink);
  transition: background var(--t-col), color var(--t-col), transform 260ms var(--ease);
}
.opt__num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  opacity: .5;
}
.opt__title {
  font-family: var(--f-display);
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.15;
  letter-spacing: -.015em;
}
.opt__body { font-size: 14.5px; line-height: 1.55; opacity: .8; }

.opt.is-active { transform: translateY(-3px); color: var(--paper); }
.opt[data-opt="1"].is-active { background: var(--blue); }
.opt[data-opt="2"].is-active { background: var(--yellow); color: var(--ink); }
.opt[data-opt="3"].is-active { background: var(--teal); }
.opt[data-opt="4"].is-active { background: var(--plum); }
.opt.is-active .opt__num, .opt.is-active .opt__body { opacity: .85; }

.opt__msg { display: none; }

@media (max-width: 900px) { .selector__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .selector__grid { grid-template-columns: 1fr; gap: 8px; }
  .opt.is-active { transform: none; }
  .opt { height: auto; }
  .opt.is-active { border-radius: var(--r) var(--r) 0 0; }
  .selector__one { display: none; }

  /* each card opens its own message: the accordion she asked for */
  .opt__msg {
    display: block;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 clamp(20px, 2vw, 28px);
    background: var(--ink);
    color: var(--paper);
    border-radius: 0 0 var(--r) var(--r);
    font-family: var(--f-display);
    font-size: 17px;
    line-height: 1.3;
    transition: max-height 340ms var(--ease), opacity 240ms var(--ease), padding 340ms var(--ease);
  }
  .opt__msg b { font-family: var(--f-body); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; opacity: .6; margin-right: .7em; }
  .opt.is-active + .opt__msg { max-height: 220px; opacity: 1; padding: 14px clamp(20px, 2vw, 28px) 18px; }
  .opt[data-opt="1"].is-active + .opt__msg { background: var(--blue); }
  .opt[data-opt="2"].is-active + .opt__msg { background: var(--yellow); color: var(--ink); }
  .opt[data-opt="3"].is-active + .opt__msg { background: var(--teal); }
  .opt[data-opt="4"].is-active + .opt__msg { background: var(--plum); }
}

/* ---------------------------------------------------------------- accordion */

.work { padding-block: var(--sec-y); }

.acc { display: grid; gap: clamp(8px, 1vw, 14px); }

.acc__item { --accent: var(--blue); border-radius: var(--r); overflow: hidden; }
.acc__item[data-acc="1"] { --accent: var(--blue); }
.acc__item[data-acc="2"] { --accent: var(--yellow); }
.acc__item[data-acc="3"] { --accent: var(--teal); }
.acc__item[data-acc="4"] { --accent: var(--plum); }

.acc__h { margin: 0; font-family: var(--f-body); font-weight: 400; }

.acc__btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 34px);
  background: var(--accent);
  color: var(--paper);
  overflow: hidden;
  transition: filter 300ms var(--ease);
}
.acc__item[data-acc="2"] .acc__btn { color: var(--ink); }
.acc__btn:hover { filter: brightness(1.06); }
.acc__item.is-open .acc__btn { cursor: default; }

/* the decorative bar: same visual system in four variations, deliberately low
   contrast so it never competes with the heading */
.acc__pattern {
  position: absolute;
  inset: 0;
  opacity: .10;
  color: currentColor;
  pointer-events: none;
}
.acc__pattern svg { width: 100%; height: 100%; }
/* thinner than the drawn attribute: the motif should be felt, not read */
.acc__pattern path, .acc__pattern circle { stroke-width: .6; }

.acc__label {
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-right: auto;
}

.acc__sign {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}
.acc__sign::before, .acc__sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1.5px;
  background: currentColor;
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}
.acc__sign::after { transform: rotate(90deg); }
.acc__item.is-open .acc__sign::after { transform: rotate(0deg); opacity: 0; }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  /* the panel now carries a light version of its own header colour */
  background: color-mix(in srgb, var(--accent) 18%, var(--paper));
  transition: grid-template-rows 380ms var(--ease);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }

.acc__inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 280ms var(--ease);
}
.acc__item.is-open .acc__inner { opacity: 1; transition-delay: 90ms; }

/* the padding lives on a child so the collapsed row can reach a true 0 */
.acc__lede, .acc__cards-pad { padding-inline: clamp(20px, 2.4vw, 34px); }

.acc__lede {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 28px);
  align-items: start;
}
.acc__lede > p {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0;
}

.bestfor__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 8px;
}
.bestfor p:last-child { font-size: 14.5px; line-height: 1.6; color: var(--ink-70); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
  padding: 0 clamp(20px, 2.4vw, 34px) clamp(26px, 3vw, 40px);
}
.card {
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--r);
  padding: clamp(18px, 1.8vw, 26px);
  /* a column so the rule above the tags can be pushed to the bottom of every
     card — which is what puts all four lines on the same height */
  display: flex;
  flex-direction: column;
  transition: border-color 280ms var(--ease), transform 280ms var(--ease);
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); }
.card h3 {
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 14px;
  /* two lines' worth, so every card's first paragraph starts on one baseline */
  min-height: 2.7em;
}
.card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-70); }
.card .tags--out {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ink-14);
}
.tags--out li { border-color: var(--ink-14); color: var(--ink); font-weight: 600; font-size: 12px; }

.statement {
  margin: 0 clamp(20px, 2.4vw, 34px) clamp(26px, 3vw, 40px);
  background: var(--paper);
  border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 34px);
  border-left: 3px solid var(--accent);
}
.statement p {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
  letter-spacing: -.01em;
}
.statement .tags--out {
  margin-top: clamp(18px, 2vw, 26px);
  padding-top: 14px;
  border-top: 1px solid var(--ink-14);
}

@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .acc__lede { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card h3 { min-height: 0; }
}

/* ---------------------------------------------------------------- trusted */

.trusted { padding-block: var(--sec-y) 0; background: var(--sage); }

.quotes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  /* stretch, so the single testimonial matches the stacked pair beside it */
  align-items: stretch;
}
.quotes__col { display: grid; gap: clamp(12px, 1.4vw, 18px); }

.quote {
  margin: 0;
  background: var(--paper);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 38px);
}
.quote p { font-size: 15px; line-height: 1.68; color: var(--ink-70); }
.quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.quote--tall p:first-child {
  font-family: var(--f-display);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -.01em;
}

@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* logo marquee — on the dark ground, which is the polarity these marks were
   drawn for. The two dark-ink logos ship as reversed (knockout) versions. */
.marquee {
  margin-top: clamp(48px, 6vw, 84px);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(34px, 4vw, 54px) 0;
}
.marquee__k {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper-70);
  margin-bottom: clamp(24px, 3vw, 36px);
  padding-inline: var(--pad);
}
.marquee__mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee__mask:hover .marquee__track { animation-play-state: paused; }
.marquee__row {
  display: flex;
  align-items: center;
  gap: clamp(44px, 5vw, 88px);
  padding-right: clamp(44px, 5vw, 88px);
}
.marquee__row img {
  height: clamp(30px, 3.4vw, 44px);
  width: auto;
  opacity: .82;
  transition: opacity 260ms var(--ease);
}
.marquee__row img:hover { opacity: 1; }

@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; width: 100%; }
  .marquee__row { flex-wrap: wrap; justify-content: center; row-gap: 28px; padding: 0 var(--pad); }
  .marquee__row + .marquee__row { display: none; }
}

/* ---------------------------------------------------------------- ways */

.ways { padding-block: var(--sec-y); }

.ways__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.way {
  background: var(--sage);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.way:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(24, 59, 53, .55); }
.way__icon { color: var(--ink); margin-bottom: 20px; }
.way__icon .ico { width: 40px; height: 40px; stroke-width: 1.2; }
.way h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  margin-bottom: 10px;
}
.way__lede {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0;
}
.way__rule { border: 0; border-top: 1px solid var(--ink-14); height: 0; margin: clamp(18px, 2vw, 24px) 0; }
.way p { font-size: 15px; color: var(--ink-70); }
.way__pts { display: grid; gap: 10px; margin: 0 0 clamp(20px, 2.4vw, 30px); }
.way__pts li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.55; color: var(--ink-70); }
.way__pts .ico--check { width: 16px; height: 16px; margin-top: .26em; color: var(--teal); }
/* margin-top:auto drops both cards' buttons onto the same baseline */
.way .btn { margin-top: auto; align-self: flex-start; }

.ongoing {
  margin-top: clamp(16px, 2vw, 28px);
  border: 1px solid var(--ink-14);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
}
.ongoing h2 { font-size: clamp(22px, 2.2vw, 30px); }
.ongoing__k {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-top: 10px;
}
.ongoing p:not(.ongoing__k) { font-size: 15px; color: var(--ink-70); }

@media (max-width: 860px) {
  .ways__grid, .ongoing { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- booking */

.booking { padding-block: var(--sec-y); background: var(--ink); color: var(--paper); }

.booking__in {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.booking h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.12;
  margin-bottom: 20px;
}
.booking__copy p { color: var(--paper-70); font-size: 15.5px; max-width: 46ch; }

/* No card behind the calendar: Cal is set to theme "auto", so it arrives light
   or dark depending on the visitor. A fixed light panel looks like a mistake
   around the dark build; on the dark ground both versions read as intended. */
.booking__embed {
  border-radius: var(--r);
  overflow: hidden;
  min-height: 560px;
}
#my-cal-inline-margie { width: 100%; height: 100%; min-height: 540px; overflow: auto; }
.booking__ns { padding: 24px; color: var(--ink); }

@media (max-width: 900px) {
  .booking__in { grid-template-columns: 1fr; }
  .booking__embed { min-height: 620px; }
}

/* ---------------------------------------------------------------- guides */

.guides { padding-block: var(--sec-y); }
/* four shared rows — icon, title, key line, body — so the rules under the key
   lines land at exactly the same height across all three boxes */
.guides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: clamp(14px, 1.8vw, 24px);
  row-gap: 0;
}
.guide {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: clamp(26px, 2.8vw, 40px);
  transition: background var(--t-col);
}
.guide:hover { background: var(--sage); }
.guide__icon { color: var(--ink); margin-bottom: 20px; }
.guide__icon .ico { width: 38px; height: 38px; stroke-width: 1.2; }
/* her 5.3: the title takes the eyebrow's size and face, dot and all */
.guide h2 {
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-70);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.guide h2::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  transform: translateY(-.15em);
}
.guide__k {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ink-14);
}
.guide p:last-child { font-size: 14.5px; color: var(--ink-70); }

@media (max-width: 900px) {
  .guides__grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: clamp(14px, 1.8vw, 24px); }
  .guide { display: block; grid-row: auto; grid-template-rows: none; }
}

/* ---------------------------------------------------------------- fit */

.fit { padding-block: var(--sec-y); background: var(--sage); }
.fit__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
/* her 6.2: the title sits above the rule, not under it */
.fit__col h2 {
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: clamp(14px, 1.6vw, 18px);
  margin-bottom: clamp(20px, 2.4vw, 28px);
  border-bottom: 2px solid var(--teal);
}
.fit__col--no h2 { border-bottom-color: var(--plum); }
.fit__col li {
  display: flex;
  gap: 13px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-70);
}
.fit__col li + li { margin-top: 14px; }
.ico--thumb { width: 19px; height: 19px; margin-top: .2em; color: var(--teal); }
/* the same drawing, flipped — a thumbs-down is a thumbs-up upside down */
.fit__col--no .ico--thumb { color: var(--plum); transform: scaleY(-1); }

.fit__close {
  margin-top: clamp(32px, 4vw, 52px);
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -.015em;
  max-width: 30ch;
}

@media (max-width: 760px) {
  /* her general note: this section was the packed one on a phone */
  .fit__grid { grid-template-columns: 1fr; gap: clamp(34px, 8vw, 48px); }
  .fit__col li + li { margin-top: 18px; }
  .fit__close { margin-top: clamp(38px, 8vw, 52px); }
}

/* ---------------------------------------------------------------- story */

.story { padding-block: var(--sec-y); }

.story__top {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.story__figure { margin: 0; }
.story__figure img { width: 100%; height: auto; border-radius: var(--r); }

.story__copy h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  margin-bottom: 22px;
}
.story__copy p { font-size: 15.5px; color: var(--ink-70); }

.story__pull {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 24px) !important;
  line-height: 1.4;
  color: var(--ink) !important;
  letter-spacing: -.01em;
  margin-block: clamp(20px, 2.4vw, 28px) !important;
}

.story__seats li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.6;
}
.story__seats li + li { margin-top: 10px; }
.story__seats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 10px;
  height: 1.5px;
  background: var(--ink-14);
}

.story__cols {
  margin-top: clamp(44px, 5vw, 76px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3.4vw, 56px);
}
.story__cols h3 {
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-14);
}
.story__cols p { font-size: 15px; color: var(--ink-70); }

.story__industries { margin-top: clamp(40px, 4.6vw, 64px); }
.story__industries-k {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 12px;
}
.story__industries .tags { max-width: 74ch; gap: 9px; }

@media (max-width: 860px) {
  .story__top, .story__cols { grid-template-columns: 1fr; }
  .story__figure { max-width: none; margin-inline: calc(var(--pad) * -1); }
  .story__figure img { border-radius: 0; }
}

/* ---------------------------------------------------------------- more */

.more { padding-block: var(--sec-y); background: var(--sage); }
.more__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  align-items: stretch;
}
.more__stack { display: grid; gap: clamp(14px, 1.8vw, 24px); align-content: start; }
.more__card--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.more__lede {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink);
}
.more__card--split .ventures { margin-top: 0; }

.more__thumb { position: relative; display: block; border-radius: var(--r); overflow: hidden; }
.more__thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.more__play { position: absolute; inset: 0; display: grid; place-items: center; }
.more__play::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(24, 59, 53, .74);
  transition: background var(--t-col);
}
.more__play::after {
  content: "";
  position: absolute;
  margin-left: 4px;
  border-left: 14px solid var(--paper);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.more__thumb:hover .more__play::before { background: var(--teal); }
.more__card {
  background: var(--paper);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 36px);
}
.more__card h2 {
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.more__card > p { font-size: 14.5px; color: var(--ink-70); }

.ventures { margin-top: 22px; display: grid; gap: 18px; }
.ventures li { border-top: 1px solid var(--ink-14); padding-top: 14px; }
.ventures a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--f-display);
  font-size: clamp(17px, 1.4vw, 21px);
  letter-spacing: -.01em;
  text-decoration: none;
  transition: color 240ms var(--ease);
}
.ventures a span { transition: transform 240ms var(--ease); display: inline-block; }
.ventures a:hover { color: var(--teal); }
.ventures a:hover span { transform: translateX(4px); }
.ventures li > span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-55);
  margin-top: 2px;
}

.more__link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ink-14);
  padding-bottom: 4px;
  transition: border-color 240ms var(--ease), color 240ms var(--ease);
}
.more__link span { transition: transform 240ms var(--ease); display: inline-block; }
.more__link:hover { border-bottom-color: var(--ink); }
.more__link:hover span { transform: translateX(4px); }

.more__card--sanara { display: flex; flex-direction: column; }
.more__card--sanara figure { margin: 20px 0 0; flex: 1; min-height: 240px; }
.more__card--sanara img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }

@media (max-width: 900px) {
  .more__grid, .more__card--split { grid-template-columns: 1fr; }
  .more__card--sanara figure { min-height: 0; }
  .more__card--sanara img { height: auto; }
}

/* ---------------------------------------------------------------- faq */

.faq { padding-block: var(--sec-y); }
.faq__list { border-top: 1px solid var(--ink-14); }

.faq details { border-bottom: 1px solid var(--ink-14); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(18px, 2vw, 26px) 0;
  font-family: var(--f-display);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.3;
  letter-spacing: -.015em;
  transition: color 220ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: .35em;
  margin-left: auto;
  background:
    linear-gradient(var(--ink), var(--ink)) center/100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/1.5px 100% no-repeat;
  transition: transform 280ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }

.faq__a { padding: 0 clamp(30px, 4vw, 60px) clamp(22px, 2.4vw, 30px) 0; }
.faq__a p { font-size: 15px; line-height: 1.68; color: var(--ink-70); max-width: 88ch; }

/* ---------------------------------------------------------------- contact */

.contact { padding-block: var(--sec-y); background: var(--sage); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact__form { display: grid; gap: 16px; justify-items: start; }
.field { display: grid; gap: 7px; width: 100%; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.field input, .field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-14);
  border-radius: var(--r);
  padding: 13px 15px;
  width: 100%;
  transition: border-color 220ms var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--plum); }

.contact__note { font-size: 14px; color: var(--ink-70); margin: 0; min-height: 1.3em; }
.contact__note.is-ok { color: var(--teal); font-weight: 600; }
.contact__note a { color: inherit; }

.contact__side > p { font-size: 15.5px; color: var(--ink-70); }
.contact__links { display: grid; gap: 14px; margin-top: 20px; }
.contact__links a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 14.5px;
  text-decoration: none;
  transition: color 220ms var(--ease);
}
.contact__links a:hover { color: var(--teal); }
.contact__links .ico { width: 22px; height: 22px; }

@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */

.foot { background: var(--ink); color: var(--paper); padding-block: clamp(44px, 5vw, 72px); }
.foot__in { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: baseline; }
.foot__name {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 26px);
  margin: 0;
  margin-right: auto;
}
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__links a {
  font-size: 14px;
  text-decoration: none;
  color: var(--paper-70);
  border-bottom: 1px solid transparent;
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.foot__links a:hover { color: var(--paper); border-bottom-color: var(--paper); }
.foot__meta {
  font-size: 12.5px;
  color: rgba(255, 252, 246, .45);
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  justify-content: space-between;
}
.foot__credit { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }

/* ---------------------------------------------------------------- dock */

.dock {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  /* the ring is what keeps the pill readable where it floats over the dark
     booking and footer bands, which are its own colour */
  border: 1px solid rgba(255, 252, 246, .22);
  box-shadow: 0 14px 34px -18px rgba(24, 59, 53, .8);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), background 260ms var(--ease);
}
.dock::after { content: "→"; letter-spacing: 0; }
.dock.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.dock:hover { background: var(--teal); }
.no-js .dock { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 560px) {
  .dock { padding: 11px 16px; font-size: 11px; }
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
