/* ==========================================================================
   2CoastCreatives — brand tokens
   Swap these values to rebrand the whole site.
   ========================================================================== */
:root {
  /* Palette */
  --ink: #1e1a1b;          /* warm charcoal — dark sections, text */
  --ink-soft: #2b2526;     /* raised dark surface */
  --shell: #fbf6f2;        /* cream page background */
  --sand: #efe6df;         /* subtle cream panel */
  --blush: #f7cfd4;        /* pale pink — type on dark, soft fills */
  --petal: #f4a8c6;        /* statement pink — "meet" stage */
  --rose: #c2456f;         /* deep pink — links / accents on light (AA on shell) */
  --muted: #5e5557;        /* secondary text on light (7:1 on shell) */
  --muted-dark: #c9bcbe;   /* secondary text on dark */
  --line: rgba(30, 26, 27, 0.18);
  --line-dark: rgba(247, 207, 212, 0.25);
  --error: #b3261e;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.9vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.8vw, 5.6rem);
  --step-5: clamp(3rem, 1.6rem + 6.6vw, 8.75rem);

  /* Space & shape */
  --gutter: clamp(1rem, 0.5rem + 2.6vw, 3rem);
  --section: clamp(4.5rem, 3rem + 7vw, 10rem);
  --max: 1360px;
  --pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--petal); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--blush); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--blush);
  padding: 0.75rem 1.25rem; border-radius: var(--pill);
  font-family: var(--font-mono); font-size: var(--step--1); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

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

/* Theme blocks */
.on-dark { background: var(--ink); color: var(--shell); }
.on-pink { background: var(--petal); color: var(--ink); }
.on-sand { background: var(--sand); }

/* ==========================================================================
   Type helpers
   ========================================================================== */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: none; }
.mono, .label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}
.label { display: inline-flex; gap: 0.6em; align-items: center; color: var(--muted); }
.on-dark .label { color: var(--muted-dark); }
.on-pink .label { color: var(--ink); }
.label .idx { color: var(--rose); flex-shrink: 0; white-space: nowrap; }
.on-dark .label .idx { color: var(--blush); }
.on-pink .label .idx { color: var(--ink); font-weight: 500; }

.lede { font-size: var(--step-1); line-height: 1.5; max-width: 38ch; }
.measure { max-width: 62ch; }
.balance { text-wrap: balance; }
.heart { color: var(--rose); font-style: normal; }
.on-dark .heart { color: var(--blush); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-fg: var(--ink);
  --btn-bg: transparent;
  --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.7rem 1.6rem;
  border: 1.5px solid var(--btn-bd); border-radius: var(--pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  font-variation-settings: "wdth" 110;
  text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}
.btn:hover { --btn-bg: var(--ink); --btn-fg: var(--shell); }
.btn:active { transform: scale(0.97); }
.btn--solid { --btn-bg: var(--ink); --btn-fg: var(--shell); }
.btn--solid:hover { --btn-bg: var(--rose); --btn-bd: var(--rose); --btn-fg: #fff; }
.on-dark .btn { --btn-fg: var(--blush); --btn-bd: var(--blush); }
.on-dark .btn:hover { --btn-bg: var(--blush); --btn-fg: var(--ink); }
.on-dark .btn--solid { --btn-bg: var(--blush); --btn-fg: var(--ink); }
.on-dark .btn--solid:hover { --btn-bg: var(--shell); --btn-bd: var(--shell); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.text-link {
  font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px;
  color: var(--rose);
}
.on-dark .text-link { color: var(--blush); }
.text-link:hover { text-decoration-thickness: 2px; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { background: rgba(251, 246, 242, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--blush);
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; font-variation-settings: "wdth" 125;
  letter-spacing: -0.03em; position: relative;
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand-name em { font-family: var(--font-serif); font-weight: 400; font-size: 1.15em; letter-spacing: 0; }

/* Dark header variant (pages that open on a dark hero) */
.header-dark .site-header:not(.is-scrolled) .brand { color: var(--shell); }
.header-dark .site-header:not(.is-scrolled) .brand-mark { background: var(--blush); color: var(--ink); }
.header-dark .site-header:not(.is-scrolled) .nav-pill { color: var(--blush); border-color: var(--line-dark); }
.header-dark .site-header:not(.is-scrolled) .nav-toggle { color: var(--blush); border-color: var(--line-dark); }

.nav-pill {
  display: flex; align-items: center; gap: 0.25rem;
  border: 1.5px solid var(--line); border-radius: var(--pill);
  padding: 0.3rem 0.4rem;
  color: var(--ink);
}
.nav-pill a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--pill);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-pill a:hover { background: rgba(244, 168, 198, 0.35); }
.nav-pill a[aria-current="page"]::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 0.55rem;
}
.nav-pill .nav-cta { background: var(--ink); color: var(--shell); }
.nav-pill .nav-cta:hover { background: var(--rose); color: #fff; }
.header-dark .site-header:not(.is-scrolled) .nav-pill .nav-cta { background: var(--blush); color: var(--ink); }
.nav-sep { width: 22px; height: 1px; background: currentColor; opacity: 0.4; flex: none; }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1.1rem;
  border: 1.5px solid var(--line); border-radius: var(--pill); background: transparent; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-toggle .bars { width: 16px; height: 8px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.nav-toggle .bars::before { top: 0; } .nav-toggle .bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--blush);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu ul a {
  display: flex; align-items: baseline; gap: 0.8rem; padding: 0.4rem 0;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 120; text-transform: uppercase;
  font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1; text-decoration: none; letter-spacing: -0.02em;
}
.mobile-menu ul a .mono { font-size: 0.75rem; color: var(--muted-dark); }
.mobile-menu ul a[aria-current="page"] { color: var(--shell); }
.mobile-menu .mm-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
body.menu-open .site-header .brand { color: var(--shell); }
body.menu-open .site-header .brand-mark { background: var(--blush); color: var(--ink); }
body.menu-open .site-header { background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
body.menu-open .nav-toggle { color: var(--blush); border-color: var(--line-dark); }

@media (max-width: 880px) {
  .nav-pill { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem));
  padding-bottom: clamp(2rem, 5vw, 4rem);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero::before { /* faint grain, a nod to the textured dark reference */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-glow { /* soft sea + petal glow, inspired by the iridescent reference */
  position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.hero-glow.g1 { width: 46vw; height: 46vw; right: -12vw; top: -10vw; background: var(--petal); }
.hero-glow.g2 { width: 34vw; height: 34vw; left: -10vw; bottom: -14vw; background: var(--shell); opacity: 0.10; }

.hero .wrap { position: relative; }
.hero-title {
  color: var(--blush);
  font-size: clamp(2.9rem, 0.8rem + 7vw, 8.6rem);
  max-width: 15.5ch;
}
.hero-title .dot {
  display: inline-block; width: 0.62em; height: 0.62em; border-radius: 50%; background: var(--blush);
  vertical-align: 0.04em; margin-inline: 0.06em;
}
.hero-title .serif { color: var(--shell); font-size: 1.04em; letter-spacing: -0.01em; }

.hero-bottom {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.hero-bottom .lede { color: var(--muted-dark); margin-bottom: 1.5rem; }
.hero-bottom .lede strong { color: var(--shell); font-weight: 600; }
.pillars { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 2rem; color: var(--blush); }
.pillars li { display: inline-flex; align-items: center; gap: 0.6rem; }
.pillars li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.on-dark .pillars li + li::before { background: var(--shell); }  /* cream-white dots on dark sections */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* rotating circular badge */
.badge {
  width: clamp(120px, 14vw, 180px); aspect-ratio: 1; position: relative; color: var(--blush);
  display: grid; place-items: center; text-decoration: none; border-radius: 50%;
}
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge .badge-core {
  width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--blush); color: var(--ink);
  display: grid; place-items: center; transition: transform 0.3s var(--ease-out), background-color 0.2s;
}
.badge:hover .badge-core { transform: scale(1.08); background: var(--shell); }
.badge .badge-core svg { width: 38%; height: 38%; transform: rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .badge { display: none; }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden; }
.page-hero h1 { font-size: var(--step-5); margin-top: 1.25rem; max-width: 14ch; }
.page-hero.on-dark h1 { color: var(--blush); }
.page-hero .lede { margin-top: 2rem; }
.page-hero.on-dark .lede { color: var(--muted-dark); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem var(--gutter); align-items: start; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-head h2 { font-size: var(--step-4); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* Editorial split (inspired by the archival reference layout) */
.editorial { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem var(--gutter); }
.editorial-aside { position: relative; }
.editorial-aside .sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.editorial h2.serif-head { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: var(--step-4); line-height: 1; letter-spacing: -0.01em; margin-top: 1rem; }
.editorial-body p { font-size: var(--step-1); line-height: 1.55; color: var(--muted); }
.editorial-body p.lead-in { color: var(--ink); }
@media (max-width: 820px) { .editorial { grid-template-columns: 1fr; } .editorial-aside .sticky { position: static; } }

.bracket-list { border-top: 1px solid var(--line); margin-block: 2.5rem; }
.bracket-list li {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: baseline;
  padding-block: 1.4rem; border-bottom: 1px solid var(--line);
}
.bracket-list .mono { color: var(--rose); }
.bracket-list p { margin: 0; font-size: var(--step-1); color: var(--ink) !important; line-height: 1.45; }
.bracket-list strong { font-weight: 700; }

.pull-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.01em; max-width: 22ch;
}
.pull-quote em { font-style: normal; font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 118; text-transform: uppercase; font-size: 0.82em; letter-spacing: -0.02em; }

/* ==========================================================================
   "What are you looking for?" arrow list
   ========================================================================== */
.finder { position: relative; overflow: hidden; }
.finder .hero-glow.g1 { right: auto; left: 55%; top: 10%; width: 40vw; height: 40vw; opacity: 0.22; }
.finder .hero-glow.g2 { left: auto; right: -8vw; bottom: -10vw; }
.finder-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem var(--gutter); align-items: end; }
.finder h2 { font-size: var(--step-4); color: var(--blush); }
.finder-list { border-top: 1px solid var(--line-dark); }
.finder-list a {
  display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; color: var(--shell);
  transition: color 0.2s ease, padding 0.3s var(--ease-out);
}
.finder-list .arrow { font-family: var(--font-mono); color: var(--shell); }
.finder-list .t { font-family: var(--font-display); font-weight: 700; font-variation-settings: "wdth" 115; text-transform: uppercase; font-size: var(--step-1); letter-spacing: 0.01em; }
.finder-list .t small { display: block; font-family: var(--font-body); font-weight: 400; font-variation-settings: "wdth" 100; text-transform: none; font-size: var(--step--1); letter-spacing: 0; color: var(--muted-dark); margin-top: 0.3rem; }
.finder-list .p { font-family: var(--font-mono); font-size: var(--step--1); color: var(--blush); white-space: nowrap; }
.finder-list a:hover { color: var(--blush); padding-left: 0.75rem; }
@media (max-width: 820px) { .finder-grid { grid-template-columns: 1fr; } .finder-list a { grid-template-columns: 2.2rem 1fr; } .finder-list .p { grid-column: 2; } }

/* ==========================================================================
   Meet stage — giant marquee type + circle portraits
   ========================================================================== */
.meet { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 8rem); }
.meet-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1rem, 3vw, 2rem); }
.meet-head h2 { font-size: var(--step-3); max-width: 18ch; }

.marquee { position: relative; overflow: hidden; user-select: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-word {
  font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(5rem, 2rem + 14vw, 17rem); line-height: 0.95; letter-spacing: -0.04em; text-transform: lowercase;
  padding-inline: 0.18em; white-space: nowrap;
}
.marquee-word.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(30, 26, 27, 0.45); }
.marquee-word.heart-glyph { font-size: clamp(3rem, 1.4rem + 7vw, 9rem); color: var(--shell); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

.meet-stage { position: relative; display: flex; align-items: center; min-height: calc(clamp(150px, 26vw, 400px) + 3rem); }
.meet-stage .marquee { width: 100%; }
.meet-people {
  position: absolute; inset: 0; display: flex; justify-content: center; align-items: center;
  gap: clamp(0.5rem, 3vw, 3rem); pointer-events: none;
}
.person-disc {
  pointer-events: auto; position: relative; text-decoration: none; color: var(--ink);
  width: clamp(150px, 26vw, 400px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(30, 26, 27, 0.55);
  transition: transform 0.5s var(--ease-out);
}
.person-disc img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.person-disc.helena img { object-position: 50% 22%; }
.person-disc.nicole img { object-position: 50% 14%; transform: scale(1.0); }
.person-disc:hover { transform: translateY(-6px) rotate(-1.5deg); }
.person-disc:last-child:hover { transform: translateY(-6px) rotate(1.5deg); }
.person-disc:hover img { transform: scale(1.05); }

.meet-captions {
  display: flex; justify-content: center; gap: clamp(0.5rem, 3vw, 3rem); margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.meet-caption { width: clamp(150px, 26vw, 400px); display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.meet-caption .oval {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 1rem;
  border: 1.5px solid var(--ink); border-radius: 50%; /* the drawn oval */
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; transform: rotate(-4deg);
}
.meet-caption .name { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 115; font-size: var(--step-2); line-height: 1; text-transform: uppercase; }
.meet-caption .role { color: rgba(30, 26, 27, 0.78); font-size: var(--step--1); line-height: 1.45; }

.motion-toggle {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.25rem; background: none; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase;
}

@media (max-width: 600px) {
  .meet-stage { display: block; min-height: 0; }
  .meet-people { position: relative; inset: auto; margin-top: -2.5rem; }
  .meet-captions .meet-caption { width: 44vw; }
  .person-disc { width: 44vw; }
}

/* ==========================================================================
   Package cards (home teaser)
   ========================================================================== */
.pkg-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.pkg-teaser article {
  position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem clamp(1rem, 2vw, 2rem) 2.25rem;
  border-right: 1px solid var(--line);
  transition: background-color 0.3s ease;
}
.pkg-teaser article:first-child { padding-left: 0; }
.pkg-teaser article:last-child { border-right: 0; }
.pkg-teaser article:hover { background: var(--sand); }
.pkg-teaser article:first-child:hover { background: transparent; }
.pkg-teaser h3 { font-family: var(--font-display); font-variation-settings: "wdth" 118; text-transform: uppercase; font-size: var(--step-2); letter-spacing: -0.01em; }
.pkg-teaser .for { font-family: var(--font-serif); font-style: italic; font-size: var(--step-1); color: var(--muted); margin: 0; }
.pkg-teaser .price { margin-top: auto; display: flex; align-items: baseline; gap: 0.5rem; padding-top: 1.5rem; }
.pkg-teaser .price .mono { color: var(--muted); }
.pkg-teaser .price strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 110; font-size: var(--step-3); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pkg-teaser .card-link::after { content: ""; position: absolute; inset: 0; }
.pkg-teaser .card-link { text-decoration: none; }
.pkg-teaser .card-link:focus-visible { outline: none; }
.pkg-teaser article:has(.card-link:focus-visible) { outline: 3px solid var(--rose); outline-offset: -3px; }
.pkg-teaser .go { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--rose); }
@media (max-width: 900px) {
  .pkg-teaser { grid-template-columns: 1fr; }
  .pkg-teaser article { padding-inline: 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .pkg-teaser article:hover { background: transparent; }
}

/* ==========================================================================
   Packages page
   ========================================================================== */
.pkg { padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1.5px solid var(--ink); }
.pkg.on-dark { border-top: 0; }
.pkg-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem var(--gutter); }
.pkg-name { font-size: var(--step-4); margin-top: 1rem; }
.pkg.on-dark .pkg-name { color: var(--blush); }
.pkg-for { font-family: var(--font-serif); font-style: italic; font-size: var(--step-2); margin: 0.75rem 0 0; color: var(--muted); }
.pkg.on-dark .pkg-for { color: var(--muted-dark); }
.pkg-price { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.25rem; }
.pkg-price .mono { color: var(--muted); }
.pkg.on-dark .pkg-price .mono { color: var(--muted-dark); }
.pkg-price strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: var(--step-4); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pkg-price strong sup { font-size: 0.35em; vertical-align: 1.3em; margin-left: 0.2em; font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.05em; }
.pkg-desc { font-size: var(--step-2); line-height: 1.3; max-width: 26ch; margin-bottom: 2rem; font-weight: 500; }
.pkg-includes-title { margin-bottom: 0.5rem; }
.pkg-includes { border-top: 1px solid var(--line); margin-bottom: 2.25rem; }
.pkg.on-dark .pkg-includes { border-color: var(--line-dark); }
.pkg-includes li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.5rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
.pkg.on-dark .pkg-includes li { border-color: var(--line-dark); }
.pkg-includes li .mono { color: var(--rose); }
.pkg.on-dark .pkg-includes li .mono { color: var(--shell); }
.pkg-includes li.plus { font-weight: 600; }
.pkg-tag {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 32px; padding: 0 0.9rem; border-radius: var(--pill);
  background: var(--shell); color: var(--ink); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}
@media (max-width: 860px) { .pkg-grid { grid-template-columns: 1fr; } }

.custom-band { text-align: left; }
.custom-band .inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem var(--gutter); align-items: end; }
.custom-band h2 { font-size: var(--step-4); }
.custom-band p { font-size: var(--step-1); max-width: 40ch; }
@media (max-width: 860px) { .custom-band .inner { grid-template-columns: 1fr; } }

.fineprint { font-size: var(--step--1); color: var(--muted); max-width: 70ch; }

/* ==========================================================================
   About page — founder profiles (label/value pairs like the archive reference)
   ========================================================================== */
.founders { display: grid; gap: clamp(4rem, 9vw, 8rem); }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem var(--gutter); align-items: start; }
.founder:nth-child(even) .founder-photo { order: 2; }
.founder-photo { position: relative; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder.helena .founder-photo img { object-position: 50% 30%; }
.founder.nicole .founder-photo img { object-position: 50% 20%; }
.founder-photo .tag { position: absolute; left: 1rem; bottom: 1rem; background: var(--shell); padding: 0.4rem 0.8rem; border-radius: var(--pill); }
.founder h2 { font-size: var(--step-5); margin-top: 0.75rem; }
.founder h2 .heart { font-family: var(--font-serif); font-weight: 400; font-size: 0.6em; vertical-align: 0.35em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 2rem 0; padding-block: 1.5rem; border-block: 1px solid var(--line); }
.facts dt { font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-weight: 600; }
.founder .bio { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 46ch; }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; }
  .founder:nth-child(even) .founder-photo { order: 0; }
  .founder-photo { max-width: 480px; }
}

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.trio > div { padding: 1.75rem clamp(1rem, 2vw, 2rem) 0 0; }
.trio .display { font-size: var(--step-3); display: block; margin-top: 0.75rem; }
.trio p { color: var(--muted); margin-top: 1rem; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } .trio > div { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); } }

/* ticker band */
.ticker { padding-block: 1.25rem; border-block: 1.5px solid var(--ink); overflow: hidden; }
.ticker .marquee-track { animation-duration: 30s; }
.ticker-item { display: inline-flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 118; text-transform: uppercase; font-size: var(--step-3); letter-spacing: -0.02em; }
.ticker-item .serif { font-size: 1.1em; }
.ticker-item .star { width: 0.55em; height: 0.55em; flex: none; color: var(--rose); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem clamp(2rem, 5vw, 6rem); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label, .field legend { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); padding: 0; }
.field .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%231e1a1b' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(30, 26, 27, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244, 168, 198, 0.45); }
.field .hint { font-size: var(--step--1); color: var(--muted); margin: 0; }
.field .error { font-size: var(--step--1); color: var(--error); margin: 0; display: none; font-weight: 600; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); }
.field.has-error .error { display: block; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 0.3rem; }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; flex-direction: column; gap: 0.15rem; min-height: 72px; padding: 0.9rem 1rem 0.9rem 2.9rem; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.choice label::before {
  content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(30, 26, 27, 0.5); background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.choice label strong { font-weight: 700; }
.choice label span { font-size: var(--step--1); color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.04em; }
.choice label:hover { border-color: rgba(30, 26, 27, 0.4); }
.choice input:checked + label { border-color: var(--ink); background: #fdeef2; }
.choice input:checked + label::before { border-color: var(--ink); box-shadow: inset 0 0 0 4px #fff; background: var(--ink); }
.choice input:focus-visible + label { outline: 3px solid var(--rose); outline-offset: 2px; }

.form-status { padding: 1rem 1.25rem; border-radius: 14px; display: none; font-weight: 500; }
.form-status.is-visible { display: block; }
.form-status.ok { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.form-status.err { background: #fbe9e8; color: var(--error); }
.btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

.contact-aside { display: grid; gap: 1rem; }
.contact-card {
  display: grid; gap: 0.35rem; padding: 1.4rem 1.5rem; border-radius: 22px; text-decoration: none;
  border: 1.5px solid var(--line); background: #fff; transition: border-color 0.2s, transform 0.3s var(--ease-out);
}
.contact-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-card .mono { color: var(--muted); }
.contact-card strong { font-family: var(--font-display); font-variation-settings: "wdth" 110; font-weight: 700; font-size: var(--step-1); overflow-wrap: anywhere; }
.contact-card.dark { background: var(--ink); color: var(--shell); border-color: var(--ink); }
.contact-card.dark .mono { color: var(--muted-dark); }
.contact-card.dark strong { color: var(--blush); }

/* ==========================================================================
   CTA band + footer
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-band .inner { display: grid; gap: 2rem; justify-items: start; }
.cta-band h2 { font-size: var(--step-5); color: var(--blush); max-width: 12ch; }
.cta-band p { color: var(--muted-dark); font-size: var(--step-1); max-width: 42ch; margin: 0; }

.site-footer { background: var(--ink); color: var(--muted-dark); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 2rem; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2fr)) minmax(0, 3fr); gap: 2rem; }
.footer-top h3 { font-family: var(--font-mono); font-weight: 400; font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1rem; }
.footer-top a { color: var(--shell); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer-top a:hover { color: var(--blush); text-decoration: underline; text-underline-offset: 0.3em; }
.footer-top .tag { color: var(--shell); font-family: var(--font-serif); font-style: italic; font-size: var(--step-2); line-height: 1.15; max-width: 18ch; }
.footer-word {
  margin-top: clamp(3rem, 6vw, 5rem); color: var(--blush);
  font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 112; text-transform: uppercase;
  font-size: min(7.4vw, 7.6rem); line-height: 0.85; letter-spacing: -0.045em; white-space: nowrap;
}
.footer-word .two { color: var(--shell); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
  .badge svg.ring { animation: none !important; }
}

/* utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }

/* refinements after preview */
.founder-name { font-size: var(--step-4); margin-top: 0.75rem; white-space: nowrap; }
.founder-name .heart { font-family: var(--font-serif); font-weight: 400; font-size: 0.55em; vertical-align: 0.4em; }
.pkg-name { font-size: clamp(2.3rem, 1.2rem + 3.3vw, 4.4rem); overflow-wrap: break-word; }

/* ==========================================================================
   Our Work — live sample showcase
   ========================================================================== */
.showcase { padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line-dark); overflow: hidden; }
.showcase-head { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.showcase-head h2 { font-size: min(var(--step-5), 11vw); color: var(--blush); margin-top: 1rem; overflow-wrap: anywhere; }
.showcase-head h2 .serif { color: var(--shell); }
.showcase-intro { color: var(--muted-dark); font-size: var(--step-1); max-width: 40ch; }
@media (max-width: 820px) { .showcase-head { grid-template-columns: 1fr; } }

.device-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.device-toggle { display: inline-flex; padding: .3rem; border: 1.5px solid var(--line-dark); border-radius: var(--pill); }
.device-toggle button { min-height: 40px; padding: 0 1.2rem; border: 0; border-radius: var(--pill); background: transparent; color: var(--blush); cursor: pointer; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.device-toggle button[aria-checked="true"] { background: var(--blush); color: var(--ink); }
.device-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.stage { perspective: 2000px; margin-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: 1rem; }
.device {
  margin: 0 auto; background: #0d0a0b; padding: 10px; border-radius: 22px; transform-style: preserve-3d;
  transform: rotateX(12deg) rotateY(-16deg) rotateZ(1.5deg); transition: transform .9s var(--ease-out), width .6s var(--ease-out), border-radius .6s;
  box-shadow: 0 0 0 1px rgba(247, 207, 212, .18), 0 70px 120px -40px rgba(0, 0, 0, .9), 0 0 90px rgba(244, 168, 198, .14);
}
.stage:hover .device, .device:focus-within, .device.flat { transform: none; }
.device.desktop { width: min(100%, 1180px); }
.device.phone { width: min(100%, 380px); border-radius: 48px; padding: 12px; }
.device-chrome { display: flex; align-items: center; gap: 6px; padding: 4px 8px 12px; }
.device-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #3a2f31; }
.device-chrome span { margin: 0 auto; padding: 4px 16px; border-radius: var(--pill); background: #1c1517; color: #9d8a8d; font-family: var(--font-mono); font-size: .72rem; }
.device.phone .device-chrome { justify-content: center; padding: 2px 0 10px; }
.device.phone .device-chrome i, .device.phone .device-chrome span { display: none; }
.device.phone .device-chrome::after { content: ""; width: 90px; height: 22px; border-radius: 999px; background: #000; }
.device-screen { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; background: #22070d; }
.device.phone .device-screen { aspect-ratio: 390 / 780; border-radius: 36px; }
.device-screen iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #22070d; }
.stage-hint { text-align: center; color: var(--muted-dark); margin-top: 1.4rem; font-size: .75rem; }
@media (hover: none) { .device { transform: none; } .stage-hint { display: none; } }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-dark); }
.features li { padding: 1.8rem clamp(1rem, 2vw, 2rem) 0 0; }
.features .idx { color: var(--blush); }
.features h3 { font-family: var(--font-display); font-variation-settings: "wdth" 115; text-transform: uppercase; font-size: var(--step-2); color: var(--shell); margin-top: .8rem; letter-spacing: -.01em; }
.features p { color: var(--muted-dark); margin-top: .7rem; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } .features li { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-dark); } }

/* ==========================================================================
   Coastie — help chat
   ========================================================================== */
.coastie { position: fixed; right: clamp(.9rem, 2vw, 1.6rem); bottom: clamp(.9rem, 2vw, 1.6rem); z-index: 400; font-family: var(--font-body); }
.coastie-launch {
  position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--blush); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 1rem; letter-spacing: -.02em;
  box-shadow: 0 16px 32px -12px rgba(30, 26, 27, .6), 0 0 0 1px rgba(247, 207, 212, .18);
  transition: transform .3s var(--ease-out), background-color .2s;
}
.coastie-launch:hover { transform: translateY(-2px) scale(1.04); }
.coastie-launch:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.coastie.is-open .coastie-launch { background: var(--rose); color: #fff; }
.coastie-hint {
  position: absolute; right: 72px; bottom: 14px; white-space: nowrap; padding: .45rem .9rem; border-radius: var(--pill);
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(30, 26, 27, .4);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease-out);
}
.coastie-hint.show { opacity: 1; transform: none; }

.coastie-panel {
  position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 2rem)); height: min(600px, calc(100vh - 120px)); height: min(600px, calc(100dvh - 120px));
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--shell); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(30, 26, 27, .6), 0 0 0 1px rgba(30, 26, 27, .1);
  opacity: 0; transform: translateY(14px) scale(.98); transform-origin: bottom right; transition: opacity .25s, transform .35s var(--ease-out);
}
.coastie.is-open .coastie-panel { opacity: 1; transform: none; }
.coastie-head { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: var(--ink); color: var(--shell); }
.coastie-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: .85rem; flex: none; }
.coastie-name { margin: 0; font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 118; text-transform: uppercase; font-size: 1rem; letter-spacing: -.01em; line-height: 1.1; }
.coastie-sub { margin: 0; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.coastie-close { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--blush); cursor: pointer; display: grid; place-items: center; }
.coastie-close:hover { background: rgba(247, 207, 212, .12); }
.coastie-close svg { width: 20px; height: 20px; }
.coastie-close:focus-visible { outline-color: var(--blush); }

.coastie-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; scroll-behavior: smooth; overscroll-behavior: contain; }
.coastie-msg { max-width: 86%; animation: coastieIn .35s var(--ease-out); }
@keyframes coastieIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.coastie-msg p { margin: 0; padding: .7rem .9rem; border-radius: 18px; font-size: .95rem; line-height: 1.55; }
.coastie-msg b { font-weight: 700; }
.from-bot p { background: #fff; border: 1px solid #eadfe0; border-bottom-left-radius: 6px; }
.from-you { align-self: flex-end; }
.from-you p { background: var(--ink); color: var(--shell); border-bottom-right-radius: 6px; }
.coastie-btns { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.coastie-qr {
  display: inline-flex; align-items: center; min-height: 36px; padding: .35rem .85rem; border-radius: var(--pill);
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.coastie-qr:hover { background: var(--ink); color: var(--shell); }
.coastie-qr.is-primary { background: var(--blush); border-color: var(--blush); }
.coastie-qr.is-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--shell); }
.coastie-typing { display: flex; gap: 4px; padding: .9rem 1rem; background: #fff; border: 1px solid #eadfe0; border-radius: 18px 18px 18px 6px; width: fit-content; }
.coastie-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: coastieDot 1s infinite ease-in-out; }
.coastie-typing span:nth-child(2) { animation-delay: .15s; } .coastie-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes coastieDot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

.coastie-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid #eadfe0; background: #fff; }
.coastie-form input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 1rem; border-radius: var(--pill); border: 1.5px solid #eadfe0; background: var(--shell);
  font: inherit; font-size: 1rem; color: var(--ink);
}
.coastie-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244, 168, 198, .4); }
.coastie-form button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--ink); color: var(--blush); cursor: pointer; display: grid; place-items: center; }
.coastie-form button:hover { background: var(--rose); color: #fff; }
.coastie-form button svg { width: 18px; height: 18px; }
.coastie-foot { margin: 0; padding: .45rem 1rem .7rem; background: #fff; font-size: .74rem; color: var(--muted); text-align: center; }
.coastie-foot a { color: var(--rose); }

@media (max-width: 520px) {
  .coastie-panel { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; bottom: 0; }
  .coastie.is-open .coastie-launch { display: none; }
  .coastie-hint { right: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .coastie-typing span { animation: none; }
}
