/* ═══════════════════════════════════════════════════════════
   Harborside Digital Studio — Editorial Design System
   ═══════════════════════════════════════════════════════════ */


/* ════════════════════ DESIGN TOKENS ════════════════════ */

:root {
  /* Surfaces — Cool Paper, plus neutral tones derived from it */
  --bg:      #F3F4F2; /* Cool Paper */
  --bg-alt:  #E9EAE9; /* Cool Paper Dark — neutral grey */
  --surface: #E9EAE9;

  /* Text */
  --ink:     #191B1B; /* Carbon — headings, buttons, dark surfaces */
  --ink-2:   #191B1B; /* Carbon — paragraphs and primary copy (15.7:1 on Cool Paper) */
  --ink-3:   #59646A; /* Steel — labels, metadata, supporting text (5.1:1+) */

  /* Accent */
  --accent:  #A84F08; /* Harborside Orange — 4.6:1+ as text, 5.0:1 behind Cool Paper text */
  --accent-on-dark: #D2630A; /* Harborside Orange lifted for Carbon surfaces — 4.55:1 */

  /* Borders */
  --border:     #D9DAD9;
  --border-hov: #BBBCBB;
  --border-control: #7D868A; /* Form field boundaries — 3:1+ against both surfaces */

  /* Typography */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-head:    'Instrument Sans', system-ui, sans-serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;

  /* Spacing scale — note: no --sp-7 */
  --sp-1:  .25rem;
  --sp-2:  .5rem;
  --sp-3:  .75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radius */
  --r-sm:   .375rem;
  --r-md:   .625rem;
  --r-lg:   1.25rem;
  --r-xl:   1.75rem;
  --r-2xl:  2rem;
  --r-full: 9999px;

  /* Duration */
  --dur-fast:  150ms;
  --dur-med:   280ms;
  --dur-slow:  480ms;
  --dur-enter: 480ms;

  /* Easing */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 60px;

  /* Reveal */
  --reveal-y: 18px;

  /* ── Legacy aliases: keeps article and studio-notes pages working ── */
  --bg-0:        var(--bg);
  --bg-1:        var(--bg-alt);
  --bg-2:        var(--bg-alt);
  --bg-card:     var(--bg-alt);
  --bg-card-hov: #F8F9F8; /* Brightens on hover so orange/Steel text keeps AA */
  --bg-input:    var(--bg-alt);
  --text-0:      var(--ink);
  --text-1:      var(--ink-2);
  --text-2:      var(--ink-3);
  --text-3:      var(--ink-3);
  --border-0:    var(--border);
  --border-1:    var(--border-hov);
  --accent-red:  var(--accent);
  --accent-ora:  var(--accent);
  --grad-main:   var(--accent);
  --hover-lift:  -3px;
  --shadow-card:     0 1px 3px rgba(25,27,27,.06), 0 1px 2px rgba(25,27,27,.04);
  --shadow-card-hov: 0 4px 12px rgba(25,27,27,.1), 0 2px 4px rgba(25,27,27,.06);
}


/* ════════════════════ RESET ════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }


/* ════════════════════ UTILITIES ════════════════════ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section { padding: var(--sp-20) 0; }


/* ════════════════════ REVEAL SYSTEM ════════════════════ */

.js-loaded .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition:
    opacity   var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.js-loaded .reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ════════════════════ NAVIGATION ════════════════════ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--bg);
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast);
}

.nav.scrolled { border-bottom-color: var(--border); }

.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.nav__logo {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .015em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  transition: color var(--dur-fast);
}
.nav__logo:hover { color: var(--accent); }

/* Decorative dot used in article page navs */
.nav__logo-mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
}

.nav__link {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-3);
  transition: color var(--dur-fast);
}
.nav__link:hover   { color: var(--ink); }
.nav__link--active { color: var(--accent); }

/* "Start a Project" button in article page navs */
.btn--nav {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  transition: border-color var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
}
.btn--nav:hover { border-color: var(--ink); }

/* Hamburger toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition:
    transform var(--dur-med) var(--ease-out),
    opacity   var(--dur-fast);
}

/* 3-span hamburger → X */
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px)  rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav panel */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-6) var(--sp-6) var(--sp-8);
  z-index: 99;
}
.nav__mobile.is-open { display: block; }

.nav__mobile ul { display: flex; flex-direction: column; list-style: none; }

.nav__mobile .nav__link {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast);
}
.nav__mobile .nav__link:hover { color: var(--accent); }

/* Primary CTA inside mobile nav (article pages) */
.nav__mobile .btn--primary {
  display: block;
  margin-top: var(--sp-5);
  text-align: center;
}

@media (max-width: 768px) {
  .nav__links       { display: none; }
  .nav .btn--nav    { display: none; }
  .nav__toggle      { display: flex; }
}

/* Tablet: full nav needs ~1,080px on subpages (~885px on the homepage).
   Drop the duplicate CTA first, then hand off to the menu panel. */
@media (max-width: 1140px) {
  .nav .btn--nav { display: none; }
  .nav__links    { gap: var(--sp-5); }
}

@media (max-width: 960px) {
  .nav__links  { display: none; }
  .nav__toggle { display: flex; }
}


/* ════════════════════ HERO ════════════════════ */

.hero {
  background: var(--bg);
  min-height: 96svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-20);
  position: relative;
  overflow: hidden;
}

.hero__inner { max-width: 960px; }

.hero__display {
  font-family: var(--font-display);
  font-stretch: expanded;
  font-size: clamp(3rem, 10vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .92;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: var(--sp-10);
}

.hero__word { display: block; }

.hero__sub {
  margin-bottom: var(--sp-8);
  max-width: 460px;
}

.hero__statement {
  font-size: 1.06rem;
  line-height: 1.68;
  color: var(--ink-2);
  margin-bottom: var(--sp-2);
}

.hero__location {
  font-size: .875rem;
  color: var(--ink-3);
  line-height: 1.55;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.hero__cta span {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-out);
}
.hero__cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.hero__cta:hover span { transform: translateX(2px); }
.hero__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  color: var(--accent);
  border-color: var(--accent);
}
.hero__cta:focus-visible span { transform: translateX(2px); }

.hero__note {
  margin-top: var(--sp-4);
  font-size: .8rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.hero__note-link {
  color: var(--ink-3);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.hero__note-link:hover {
  color: var(--ink-2);
  border-color: var(--ink-3);
}
.hero__note-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 1px;
}

/* ─── Location marker ─── */
.hero__marker {
  position: absolute;
  right: -1.25rem;
  top: 46%;
  transform: translateY(-50%);
  background: var(--accent);
  padding: var(--sp-4) var(--sp-10) var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  user-select: none;
}
.hero__marker span {
  display: block;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--bg);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.25;
}


/* ════════════════════ SERVICES ════════════════════ */

.services { background: var(--bg-alt); }

.services__inner {
  display: grid;
  grid-template-columns: 40% 1fr;
}

.services__heading {
  grid-column: 1;
  align-self: start;
  padding-top: var(--sp-8);
}

.services__heading-kicker {
  display: block;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.services__heading-display {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 5.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: .93;
}

.services__list {
  list-style: none;
  grid-column: 2;
}

.services__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--border);
}
.services__item:first-child { border-top: 1px solid var(--border); }

.services__num {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  flex-shrink: 0;
  min-width: 2rem;
  line-height: 1;
  padding-top: .3em;
}

.services__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.services__name {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
  line-height: 1.1;
}

.services__desc {
  font-size: .88rem;
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 420px;
}


/* ════════════════════ MANIFESTO ════════════════════ */

.manifesto { background: var(--bg); }

.manifesto__inner { max-width: 960px; }

.manifesto__statement {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: var(--sp-12);
}

.manifesto__accent {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.manifesto__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
}

.manifesto__body p {
  font-size: 1.03rem;
  line-height: 1.86;
  color: var(--ink-2);
}

.manifesto__close {
  font-size: .875rem;
  color: var(--ink-3);
  font-style: italic;
  letter-spacing: .01em;
  line-height: 1.6;
}

@media (min-width: 769px) {
  .manifesto__body,
  .manifesto__close { padding-left: 46%; }
}


/* ════════════════════ WORK CATALOG ════════════════════ */

.work { background: var(--bg-alt); }

.work__heading {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-3);
}

/* ── Two-column editorial panel ── */

.work__panel {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--sp-16);
  align-items: start;
  --reveal-y: 20px;
}

/* ── Project Index — left column ── */

.work__index {
  border-top: 1px solid var(--border);
}

.work__index-btn {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  width: 100%;
  text-align: left;
  padding: var(--sp-5) var(--sp-4) var(--sp-5) var(--sp-5);
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  cursor: pointer;
  position: relative;
  transition: background var(--dur-fast);
}

.work__index-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 240ms var(--ease-out);
}

.work__index-btn:hover,
.work__index-btn.is-active {
  background: var(--bg); /* Cool Paper highlight keeps the orange index code at AA */
}

.work__index-btn:hover::before,
.work__index-btn.is-active::before {
  transform: scaleY(1);
}

.work__index-code {
  display: block;
  font-family: var(--font-head);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.work__index-name {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
  transition: color var(--dur-fast);
}

.work__index-btn:hover .work__index-name,
.work__index-btn.is-active .work__index-name {
  color: var(--accent);
}

/* ── Preview Panels — right column ── */

.work__preview {
  display: grid;
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-8));
}

.work__preview-panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity   320ms var(--ease-out),
    transform 320ms var(--ease-out);
  pointer-events: none;
}

.work__preview-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.work__preview-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: var(--sp-5);
}

.work__preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.work__preview-code {
  font-family: var(--font-head);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.work__preview-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4) var(--sp-8);
  margin-bottom: var(--sp-6);
}

.work__preview-details > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.work__preview-details dt {
  font-family: var(--font-head);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
}

.work__preview-details dd {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.work__preview-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--dur-fast) var(--ease-out);
}

.work__preview-link:hover { gap: var(--sp-3); }

@media (max-width: 768px) {
  .work__panel {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .work__preview {
    position: static;
    display: block;
  }

  .work__preview-panel {
    display: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .work__preview-panel.is-active { display: block; }
}


/* ════════════════════ TESTIMONIALS ════════════════════ */

.testimonials {
  background: var(--bg);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--accent);
  transform: translateY(-50%);
  pointer-events: none;
}

.testimonials__inner { max-width: 740px; }

.testimonials__kicker {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-8);
}

.testimonials__mark {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  color: var(--accent);
  line-height: .75;
  margin-bottom: var(--sp-8);
  user-select: none;
}

.testimonials__highlight {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.48;
  color: var(--ink);
  margin-bottom: var(--sp-10);
  max-width: 620px;
}

.testimonials__body {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.testimonials__body p {
  font-size: .95rem;
  line-height: 1.82;
  color: var(--ink-2);
  max-width: 600px;
}

.testimonials__attribution {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}

.testimonials__client {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  font-style: normal;
  letter-spacing: .01em;
}

.testimonials__descriptor {
  font-size: .8rem;
  color: var(--ink-3);
}


/* ════════════════════ PROCESS ════════════════════ */

.process { background: var(--bg-alt); }

.process__inner { max-width: 840px; }

.process__heading {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-8);
}

.process__steps { list-style: none; }

.process__step {
  display: flex;
  gap: var(--sp-6);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.process__step:first-child { border-top: 1px solid var(--border); }

.process__num {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  flex-shrink: 0;
  min-width: 2rem;
  padding-top: .18em;
  line-height: 1;
}

.process__step-body { flex: 1; }

.process__step-name {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -.018em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}

.process__step-desc {
  font-size: .92rem;
  line-height: 1.74;
  color: var(--ink-2);
  max-width: 440px;
}


/* ════════════════════ ABOUT ════════════════════ */

.about { background: var(--bg); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
  max-width: 940px;
}

.about__heading {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--ink);
}

.about__tagline {
  font-size: .9rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin-top: var(--sp-4);
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.about__body p {
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--ink-2);
}

.about__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: var(--sp-2);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.about__cta:hover { color: var(--accent); border-color: var(--accent); }

.about__location {
  font-size: .82rem;
  color: var(--ink-3);
  line-height: 1.6;
  font-style: italic;
  margin-top: var(--sp-3);
}


/* ════════════════════ STUDIO NOTES — HOMEPAGE SECTION ════════════════════ */

.notes { background: var(--bg-alt); }

.notes__inner { max-width: 840px; }

.notes__header { margin-bottom: var(--sp-8); }

.notes__heading {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.notes__heading-mark {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.notes__desc {
  font-size: .9rem;
  color: var(--ink-3);
  line-height: 1.6;
  font-style: italic;
}

.notes__index { list-style: none; }

.notes__entry { border-top: 1px solid var(--border); }
.notes__entry:last-child { border-bottom: 1px solid var(--border); }

.notes__entry-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--sp-6);
  row-gap: var(--sp-3);
  padding: var(--sp-6) 0;
}

.notes__issue {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -.02em;
  line-height: 1;
  flex-basis: 100%;
}

.notes__title {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.35;
  flex: 1;
  transition: color var(--dur-fast);
}
.notes__entry-link:hover .notes__title { color: var(--accent); }

.notes__arrow {
  font-size: .9rem;
  color: var(--ink-3);
  flex-shrink: 0;
  align-self: center;
  transition:
    color     var(--dur-fast),
    transform var(--dur-fast) var(--ease-out);
}
.notes__entry-link:hover .notes__arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.notes__all {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: var(--sp-8);
  transition: color var(--dur-fast);
}
.notes__all:hover { color: var(--accent); }


/* ════════════════════ PRICING PREVIEW (HOMEPAGE) ════════════════════ */

.pricing { background: var(--bg); }

.pricing__inner { max-width: 840px; }

.pricing__header { margin-bottom: var(--sp-8); }

.pricing__heading {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-4);
}

.pricing__desc {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 480px;
}

.pricing__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border);
}
.pricing__row:first-child { border-top: 1px solid var(--border); }

.pricing__name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
}

.pricing__range {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing__footer { margin-top: var(--sp-8); }

.pricing__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color var(--dur-fast);
}
.pricing__cta:hover { color: var(--accent); }

/* Ongoing service — deliberately quieter than the project ranges above */
.pricing__care {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-8);
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}

.pricing__care-kicker {
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-2);
}

.pricing__care-desc {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 480px;
  margin-top: var(--sp-2);
}

.pricing__badge {
  font-family: var(--font-head);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: var(--sp-2);
  vertical-align: middle;
  position: relative;
  top: -.08em;
}


/* ════════════════════ ASSESSMENT ════════════════════ */

.assessment { background: var(--bg); }

.assessment__inner {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: var(--sp-16);
  align-items: start;
  max-width: 1000px;
}

/* Let grid columns shrink below their content width between ~770–900px */
.assessment__inner > *,
.form__row > * { min-width: 0; }

.assessment__heading {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: var(--sp-5);
}

.assessment__desc {
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--ink-2);
  margin-bottom: var(--sp-8);
  max-width: 420px;
}

.assessment__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.assessment__list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.65;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
}

.assessment__list li:first-child { border-top: 1px solid var(--border); }

.assessment__list li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
  top: -.1em;
}

.assessment__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

/* ════════════════════ CONTACT ════════════════════ */

.contact { background: var(--bg); }

.contact__inner { max-width: 920px; }

.contact__display {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .92;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: var(--sp-12);
}

.contact__word { display: block; }

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-12);
}

.contact__email {
  font-family: var(--font-head);
  font-size: clamp(.98rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.015em;
  transition: color var(--dur-fast);
}
.contact__email:hover { color: var(--accent); }

.contact__avail {
  font-size: .85rem;
  color: var(--ink-3);
  line-height: 1.55;
}


/* ════════════════════ FORM ════════════════════ */

.contact__form {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form__field label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.form__field input,
.form__field select,
.form__field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border-control);
  border-radius: var(--r-sm);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  -webkit-appearance: none;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--accent);
  background: var(--bg);
}

.form__field input[aria-invalid="true"],
.form__field select[aria-invalid="true"],
.form__field textarea[aria-invalid="true"] {
  border-color: #B91C1C;
}

.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--ink-3); }
.form__field select { cursor: pointer; color: var(--ink); }
.form__field select option { background: var(--bg-alt); color: var(--ink); }
.form__field textarea { resize: vertical; min-height: 130px; }

.form__error {
  font-size: .78rem;
  color: #B91C1C;
  line-height: 1.4;
}

.form__status {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: .875rem;
  line-height: 1.5;
}
.form__status--success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.form__status--error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.btn--submit {
  background: var(--ink);
  color: var(--bg);
  font-size: .9rem;
  letter-spacing: .02em;
  padding: var(--sp-3) var(--sp-8);
  border-radius: var(--r-sm);
  align-self: flex-start;
}
.btn--submit:hover    { background: var(--accent); }
.btn--submit:disabled { opacity: .5; cursor: not-allowed; }

.btn__icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Primary button — used on article pages */
.btn--primary {
  background: var(--ink);
  color: var(--bg);
  font-size: .88rem;
  letter-spacing: .01em;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-sm);
  border: none;
}
.btn--primary:hover { background: var(--accent); color: var(--bg); }


/* ════════════════════ FOOTER ════════════════════ */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: var(--sp-8) 0;
}

/* Homepage footer — simple one-liner */
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__copy,
.footer__made {
  font-size: .78rem;
  color: var(--ink-3);
  letter-spacing: .01em;
}
.footer__made { font-style: italic; }

/* Article page footer — brand + nav + bottom rows */
.footer__inner:has(.footer__brand) {
  align-items: flex-start;
  margin-bottom: var(--sp-10);
}

.footer__brand .nav__logo {
  display: flex;
  align-items: center;
  font-size: .88rem;
  margin-bottom: var(--sp-3);
}
.footer__brand p {
  font-size: .84rem;
  color: var(--ink-2);
  max-width: 30ch;
  line-height: 1.65;
}

.footer__nav {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  align-items: center;
}
.footer__nav a {
  font-size: .84rem;
  color: var(--ink-3);
  transition: color var(--dur-fast);
}
.footer__nav a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--ink-3);
}
.footer__bottom .footer__made { font-style: italic; }

.article-body--policy a {
  color: var(--ink);
  border-bottom: 1px solid var(--border-hov);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.article-body--policy a:hover { color: var(--accent); border-color: var(--accent); }

.footer__copy a,
.footer__bottom a { color: inherit; border-bottom: 1px solid transparent; transition: color var(--dur-fast), border-color var(--dur-fast); }
.footer__copy a:hover,
.footer__bottom a:hover { color: var(--ink); border-color: var(--ink-3); }


/* ════════════════════ FOCUS & ACCESSIBILITY ════════════════════ */

.skip-link {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 2000;
  padding: .65rem 1.1rem;
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  transform: translateY(calc(-100% - var(--sp-6)));
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}

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


/* ════════════════════ ARTICLE PAGE ════════════════════ */

.article-page {
  background: var(--bg-0);
  min-height: 100svh;
  padding-top: var(--nav-h);
}

.article-page__nav { padding-top: var(--sp-8); }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color var(--dur-fast), gap var(--dur-fast) var(--ease-out);
}
.article-back svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.article-back:hover { color: var(--text-0); }
.article-back:hover svg { transform: translateX(-2px); }

.article-header {
  padding: var(--sp-12) 0 var(--sp-10);
  max-width: 780px;
}

.article-kicker {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: var(--sp-6);
}
.article-kicker::before {
  content: '';
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.article-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
  color: var(--text-0);
  margin-bottom: var(--sp-8);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: .82rem;
  color: var(--text-3);
  flex-wrap: wrap;
}
.article-meta__dot {
  width: 3px;
  height: 3px;
  background: var(--text-3);
  border-radius: 50%;
  flex-shrink: 0;
}

.article-divider {
  height: 1px;
  max-width: 780px;
  background: linear-gradient(to right, var(--border-0) 0%, transparent 75%);
  margin-bottom: var(--sp-12);
}

.article-body {
  max-width: 660px;
  padding-bottom: var(--sp-24);
}

.article-body p {
  font-size: 1.06rem;
  line-height: 1.88;
  color: var(--text-1);
  margin-bottom: 1.75rem;
}

.article-body p.lede {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-0);
  line-height: 1.7;
}

.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  color: var(--text-0);
  margin: 3.2rem 0 1rem;
}

.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
  color: var(--text-0);
  margin: 2.4rem 0 .6rem;
}

.article-body ul {
  padding-left: 1.4rem;
  margin-bottom: 1.75rem;
  list-style: disc;
}

.article-body li {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--text-1);
  margin-bottom: .35rem;
}

.article-body li::marker { color: var(--text-2); }

.article-body strong { font-weight: 600; color: var(--text-0); }

.article-end {
  max-width: 660px;
  padding: var(--sp-10) 0 var(--sp-32);
  border-top: 1px solid var(--border-0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.article-end__label {
  font-size: .82rem;
  color: var(--text-2);
}
.article-end__label strong {
  font-weight: 600;
  color: var(--text-1);
  display: block;
  margin-bottom: var(--sp-1);
  font-family: var(--font-head);
}

.article-concept-cta {
  margin: 2.4rem 0 .8rem;
  padding: var(--sp-8);
  border: 1px solid var(--border-0);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}
.article-concept-cta__note {
  font-size: .78rem;
  color: var(--text-2);
}

/* Article header stagger */
.article-page .article-kicker.reveal { transition-delay:   0ms; }
.article-page .article-title.reveal  { transition-delay:  70ms; }
.article-page .article-meta.reveal   { transition-delay: 130ms; }


/* ════════════════════ STUDIO NOTES — LISTING PAGE ════════════════════ */

/* Minimal support for studio-notes.html (pending its own redesign pass) */
.section__label {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-4);
}

.gradient-text { color: var(--accent); }

.notes-list-page {
  background: var(--bg-0);
  min-height: 100svh;
  padding-top: var(--nav-h);
}

.notes-list-header {
  padding: var(--sp-24) 0 var(--sp-16);
  border-bottom: 1px solid var(--border-0);
}

.notes-list-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: var(--sp-5);
}

.notes-list-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 52ch;
}

.notes-list-grid {
  padding: var(--sp-16) 0 var(--sp-32);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 760px;
}

.notes-card {
  background: var(--bg-card);
  border: 1px solid var(--border-0);
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
  transition:
    background   var(--dur-med) var(--ease-smooth),
    border-color var(--dur-med),
    transform    var(--dur-med) var(--ease-out);
}
.notes-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--dur-med);
  z-index: 1;
}
.notes-card:hover {
  background: var(--bg-card-hov);
  border-color: var(--border-hov);
  transform: translateY(-3px);
}
.notes-card:hover::before { opacity: 1; }

.notes-card__link {
  display: block;
  padding: var(--sp-10);
  color: inherit;
}
.notes-card__link:focus-visible { outline: none; }
.notes-card:has(.notes-card__link:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.notes-card__kicker {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: var(--sp-5);
}
.notes-card__kicker::before {
  content: '';
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.notes-card__title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.25;
  color: var(--text-0);
  margin-bottom: var(--sp-4);
}

.notes-card__excerpt {
  font-size: .92rem;
  line-height: 1.76;
  color: var(--text-2);
  margin-bottom: var(--sp-8);
}

.notes-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-0);
}

.notes-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .76rem;
  color: var(--text-3);
}
.notes-card__dot {
  width: 3px;
  height: 3px;
  background: var(--text-3);
  border-radius: 50%;
  flex-shrink: 0;
}

.notes-card__read {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color var(--dur-fast), gap var(--dur-fast) var(--ease-out);
}
.notes-card:hover .notes-card__read { color: var(--accent); gap: var(--sp-3); }
.notes-card__read svg { width: 13px; height: 13px; flex-shrink: 0; }


/* ════════════════════ WORK-WITH-HARBORSIDE PAGE ════════════════════ */

/* ── Section header shared pattern ── */
.wwh-section-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

.wwh-section-name {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--ink);
}

/* ── Hero ── */
.wwh-hero {
  background: var(--bg);
  padding: calc(var(--nav-h) + var(--sp-20)) 0 var(--sp-20);
}

.wwh-hero__inner { max-width: 780px; }

.wwh-hero__eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-6);
}

.wwh-hero__heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--sp-6);
  max-width: 720px;
}

.wwh-hero__desc {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--ink-2);
  max-width: 580px;
}

/* ── Services ── */
.wwh-services { background: var(--bg-alt); }

.wwh-services__inner { max-width: 860px; }

.wwh-services__list { list-style: none; }

.wwh-services__item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0 var(--sp-6);
  align-items: start;
  padding: var(--sp-10) 0;
  border-bottom: 1px solid var(--border);
}
.wwh-services__item:first-child { border-top: 1px solid var(--border); }

.wwh-services__num {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  padding-top: .25em;
  line-height: 1;
}

.wwh-services__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.wwh-services__name-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.wwh-services__badge {
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.wwh-services__name {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--ink);
}

.wwh-services__desc {
  font-size: .98rem;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 540px;
}

.wwh-services__includes { list-style: none; }

.wwh-services__includes li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  font-size: .88rem;
  color: var(--ink-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.wwh-services__includes li:first-child { border-top: 1px solid var(--border); }

.wwh-services__includes li::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
  top: -.05em;
}

.wwh-services__price {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
  flex-wrap: wrap;
}

.wwh-services__price-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.wwh-services__price-amount {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

/* ── Creative Direction + Web: grouped deliverables ── */
.wwh-services__deliverables {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.wwh-services__deliverable-heading {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-2);
}

.wwh-services__not-included {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-2);
}

.wwh-services__not-included h4 {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-2);
}

.wwh-services__not-included p {
  font-size: .86rem;
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 520px;
}

.wwh-services__positioning {
  font-size: .92rem;
  line-height: 1.78;
  color: var(--ink-2);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-2);
}

/* ── Website Care: complementary ongoing service ── */
.wwh-care {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
  padding: var(--sp-10);
  background: var(--bg);
  border: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + var(--sp-6));
}
.wwh-care .pricing__cta { align-self: flex-start; margin-top: var(--sp-2); }

/* ── Process ── */
.wwh-process { background: var(--bg); }

.wwh-process__inner { max-width: 940px; }

.wwh-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
}

.wwh-process__step {
  padding: var(--sp-8);
  border-left: 1px solid var(--border);
}
.wwh-process__step:first-child {
  border-left: none;
  padding-left: 0;
}

.wwh-process__num {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: var(--sp-4);
}

.wwh-process__name {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}

.wwh-process__desc {
  font-size: .9rem;
  line-height: 1.72;
  color: var(--ink-2);
}

/* ── CTA ── */
.wwh-cta { background: var(--bg-alt); }

.wwh-cta__inner { max-width: 640px; }

.wwh-cta__heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: var(--sp-5);
}

.wwh-cta__desc {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--ink-2);
  margin-bottom: var(--sp-8);
  max-width: 520px;
}


/* ════════════════════ PLYMOUTH LANDING PAGE ════════════════════ */

/* ── Hero ── */
.plm-hero {
  background: var(--bg);
  padding: calc(var(--nav-h) + var(--sp-20)) 0 var(--sp-20);
}

.plm-hero__inner { max-width: 820px; }

.plm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-6);
}
.plm-hero__eyebrow::before {
  content: '';
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.plm-hero__heading {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--sp-8);
  max-width: 700px;
}

.plm-hero__body {
  max-width: 580px;
  margin-bottom: var(--sp-10);
}

.plm-hero__body p {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--ink-2);
  margin-bottom: var(--sp-5);
}
.plm-hero__body p:last-child { margin-bottom: 0; }

/* ── Section backgrounds ── */
.plm-story   { background: var(--bg-alt); }
.plm-before  { background: var(--bg); }
.plm-design  { background: var(--bg-alt); }
.plm-services { background: var(--bg); }
.plm-process { background: var(--bg-alt); }
.plm-location { background: var(--bg); }
.plm-faq     { background: var(--bg-alt); }
.plm-cta     { background: var(--bg); }

/* ── Shared prose sections ── */
.plm-prose__inner { max-width: 700px; }

.plm-prose__heading {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.plm-prose__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.plm-prose__body p {
  font-size: 1.03rem;
  line-height: 1.86;
  color: var(--ink-2);
}

.plm-prose__body p.lede {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.72;
}

/* ── Services ── */
.plm-services__inner { max-width: 880px; }

.plm-services__list { list-style: none; }

.plm-services__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  padding: var(--sp-9) 0;
  border-bottom: 1px solid var(--border);
}
.plm-services__item:first-child { border-top: 1px solid var(--border); }

.plm-services__num {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  flex-shrink: 0;
  min-width: 2rem;
  padding-top: .3em;
}

.plm-services__name {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

.plm-services__desc {
  font-size: .98rem;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 560px;
}

.plm-services__footer {
  font-size: .88rem;
  color: var(--ink-3);
  margin-top: var(--sp-8);
  line-height: 1.6;
}

.plm-services__footer a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.plm-services__footer a:hover { color: var(--ink); border-color: var(--ink); }

/* ── Process ── */
.plm-process__inner { max-width: 960px; }

.plm-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.plm-process__step {
  padding: var(--sp-8);
  border-left: 1px solid var(--border);
}
.plm-process__step:first-child { border-left: none; padding-left: 0; }

.plm-process__num {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: var(--sp-4);
}

.plm-process__name {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

.plm-process__desc {
  font-size: .9rem;
  line-height: 1.72;
  color: var(--ink-2);
}

/* ── FAQ ── */
.plm-faq__inner { max-width: 760px; }

.plm-faq__list { list-style: none; }

.plm-faq__item {
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--border);
}
.plm-faq__item:first-child { border-top: 1px solid var(--border); }

.plm-faq__question {
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -.018em;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: var(--sp-3);
}

.plm-faq__answer {
  font-size: .98rem;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 580px;
}

/* ── Final CTA ── */
.plm-cta__inner { max-width: 660px; }

.plm-cta__heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: var(--sp-6);
}

.plm-cta__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.plm-cta__body p {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--ink-2);
}


/* ════════════════════ WEBSITE REDESIGN LANDING PAGE ════════════════════ */

/* ── Section backgrounds ── */
.rdsgn-story    { background: var(--bg-alt); }
.rdsgn-visitors { background: var(--bg); }
.rdsgn-signs    { background: var(--bg-alt); }
.rdsgn-improve  { background: var(--bg); }
.rdsgn-process  { background: var(--bg-alt); }
.rdsgn-location { background: var(--bg); }
.rdsgn-faq      { background: var(--bg-alt); }
.rdsgn-cta      { background: var(--bg); }

/* ── Editorial signs cards ── */
.rdsgn-signs__inner { max-width: 920px; }

.rdsgn-signs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  list-style: none;
}

.rdsgn-signs__card {
  padding: var(--sp-10);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.rdsgn-signs__num {
  display: block;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.rdsgn-signs__name {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}

.rdsgn-signs__desc {
  font-size: .95rem;
  line-height: 1.72;
  color: var(--ink-2);
}

.rdsgn-signs__note {
  font-size: .88rem;
  color: var(--ink-2);
  margin-top: var(--sp-8);
  line-height: 1.6;
}

.rdsgn-signs__note a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.rdsgn-signs__note a:hover { color: var(--ink); border-color: var(--ink); }


/* ════════════════════ STAGGER DELAYS ════════════════════ */

.services__list .reveal:nth-child(1) { transition-delay:   0ms; }
.services__list .reveal:nth-child(2) { transition-delay:  60ms; }
.services__list .reveal:nth-child(3) { transition-delay: 120ms; }
.services__list .reveal:nth-child(4) { transition-delay: 180ms; }

/* Work panel enters as a single reveal unit; JS choreographs internal switching */

.process__steps .reveal:nth-child(1) { transition-delay:   0ms; }
.process__steps .reveal:nth-child(2) { transition-delay:  50ms; }
.process__steps .reveal:nth-child(3) { transition-delay: 100ms; }
.process__steps .reveal:nth-child(4) { transition-delay: 150ms; }
.process__steps .reveal:nth-child(5) { transition-delay: 200ms; }

.notes__index .reveal:nth-child(1) { transition-delay:   0ms; }
.notes__index .reveal:nth-child(2) { transition-delay:  60ms; }
.notes__index .reveal:nth-child(3) { transition-delay: 120ms; }
.notes__index .reveal:nth-child(4) { transition-delay: 180ms; }
.notes__index .reveal:nth-child(5) { transition-delay: 240ms; }
.notes__index .reveal:nth-child(6) { transition-delay: 300ms; }
.notes__index .reveal:nth-child(7) { transition-delay: 360ms; }
.notes__index .reveal:nth-child(8) { transition-delay: 420ms; }

.assessment__list .reveal:nth-child(1) { transition-delay:   0ms; }
.assessment__list .reveal:nth-child(2) { transition-delay:  50ms; }
.assessment__list .reveal:nth-child(3) { transition-delay: 100ms; }
.assessment__list .reveal:nth-child(4) { transition-delay: 150ms; }
.assessment__list .reveal:nth-child(5) { transition-delay: 200ms; }

.wwh-services__list .reveal:nth-child(1) { transition-delay:   0ms; }
.wwh-services__list .reveal:nth-child(2) { transition-delay:  60ms; }
.wwh-services__list .reveal:nth-child(3) { transition-delay: 120ms; }
.wwh-services__list .reveal:nth-child(4) { transition-delay: 180ms; }

.wwh-process__grid .reveal:nth-child(1) { transition-delay:   0ms; }
.wwh-process__grid .reveal:nth-child(2) { transition-delay:  60ms; }
.wwh-process__grid .reveal:nth-child(3) { transition-delay: 120ms; }

.plm-services__list .reveal:nth-child(1) { transition-delay:   0ms; }
.plm-services__list .reveal:nth-child(2) { transition-delay:  60ms; }
.plm-services__list .reveal:nth-child(3) { transition-delay: 120ms; }
.plm-services__list .reveal:nth-child(4) { transition-delay: 180ms; }

.plm-process__grid .reveal:nth-child(1) { transition-delay:   0ms; }
.plm-process__grid .reveal:nth-child(2) { transition-delay:  60ms; }
.plm-process__grid .reveal:nth-child(3) { transition-delay: 120ms; }

.plm-faq__list .reveal:nth-child(1) { transition-delay:   0ms; }
.plm-faq__list .reveal:nth-child(2) { transition-delay:  60ms; }
.plm-faq__list .reveal:nth-child(3) { transition-delay: 120ms; }
.plm-faq__list .reveal:nth-child(4) { transition-delay: 180ms; }

.rdsgn-signs__grid .reveal:nth-child(1) { transition-delay:   0ms; }
.rdsgn-signs__grid .reveal:nth-child(2) { transition-delay:  60ms; }
.rdsgn-signs__grid .reveal:nth-child(3) { transition-delay: 120ms; }
.rdsgn-signs__grid .reveal:nth-child(4) { transition-delay: 180ms; }
.rdsgn-signs__grid .reveal:nth-child(5) { transition-delay: 240ms; }
.rdsgn-signs__grid .reveal:nth-child(6) { transition-delay: 300ms; }

.pricing__list .reveal:nth-child(1) { transition-delay:   0ms; }
.pricing__list .reveal:nth-child(2) { transition-delay:  60ms; }
.pricing__list .reveal:nth-child(3) { transition-delay: 120ms; }
.pricing__list .reveal:nth-child(4) { transition-delay: 180ms; }


/* ════════════════════ PET CARE PAGE ════════════════════ */

.pcd-trust    { background: var(--bg-alt); }
.pcd-who      { background: var(--bg); }
.pcd-jobs     { background: var(--bg-alt); }
.pcd-example  { background: var(--bg); }
.pcd-includes { background: var(--bg-alt); }
.pcd-location { background: var(--bg); }
.pcd-cta      { background: var(--bg-alt); }

.pcd-who__inner {
  max-width: 920px;
  margin: 0 auto;
}

/* Example card */
.pcd-example__inner {
  max-width: 800px;
  margin: 0 auto;
}

.pcd-example__card {
  border: 1px solid var(--border);
  padding: var(--sp-10);
}

.pcd-example__label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-3);
}

.pcd-example__name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-5);
}

.pcd-example__desc {
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.pcd-example__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3) var(--sp-8);
  margin: var(--sp-6) 0;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-6);
}

.pcd-example__detail {
  font-size: .875rem;
  color: var(--ink-2);
  padding-left: var(--sp-4);
  position: relative;
}

.pcd-example__detail::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .75rem;
}

.pcd-example__note {
  font-size: .8rem;
  color: var(--ink-2);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-5);
  margin-top: var(--sp-6);
  margin-bottom: 0;
}

/* Includes */
.pcd-includes__inner {
  max-width: 800px;
  margin: 0 auto;
}

.pcd-includes__intro {
  color: var(--ink-2);
  margin-bottom: var(--sp-8);
  max-width: 52ch;
}

.pcd-includes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3) var(--sp-8);
  list-style: none;
  padding: 0;
  margin-bottom: var(--sp-8);
}

.pcd-includes__item {
  font-size: .9rem;
  color: var(--ink-2);
  padding-left: var(--sp-4);
  position: relative;
}

.pcd-includes__item::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .75rem;
}

.pcd-includes__footer {
  font-size: .9rem;
  color: var(--ink-2);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-6);
}

.pcd-includes__footer a {
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}

.pcd-includes__footer a:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* ════════════════════ WEBSITE CARE PAGE ════════════════════ */

.care-problem   { background: var(--bg-alt); }
.care-included  { background: var(--bg); }
.care-excluded  { background: var(--bg-alt); }
.care-platforms { background: var(--bg); }
.care-process   { background: var(--bg-alt); }
.care-who       { background: var(--bg); }
.care-faq       { background: var(--bg-alt); }

/* Inline prose links on this page */
.care .plm-prose__body a,
.care .plm-faq__answer a,
.care-form__note a {
  color: var(--ink);
  border-bottom: 1px solid var(--border-hov);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.care .plm-prose__body a:hover,
.care .plm-faq__answer a:hover,
.care-form__note a:hover { color: var(--accent); border-color: var(--accent); }

/* Scope notes carry real limits here, so give them the stronger secondary ink */
.care .plm-services__footer,
.care .rdsgn-signs__note,
.care .wwh-services__deliverable-heading { color: var(--ink-2); }

.form__optional {
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
}

/* ── Hero ── */
.care-hero__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  padding: var(--sp-4) 0;
  margin-bottom: var(--sp-8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 580px;
}

.care-hero__price-amount {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.1;
}

.care-hero__price-unit {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink-2);
}

.care-hero__price-terms {
  font-size: .88rem;
  color: var(--ink-2);
}

.care-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-8);
}

.care-hero__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border-hov);
  padding: var(--sp-1) 0;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.care-hero__link:hover { color: var(--accent); border-color: var(--accent); }

/* ── Included / excluded ── */
.care-included__inner { max-width: 880px; }

.care-plan__sep { color: var(--ink-3); font-weight: 400; }
.care-plan__price { color: var(--accent); white-space: nowrap; }

.care-intro {
  font-size: 1.03rem;
  line-height: 1.82;
  color: var(--ink-2);
  max-width: 600px;
  margin-bottom: var(--sp-8);
}

/* Shared list pattern from the Plymouth page, with real vertical rhythm */
.care .plm-services__item { padding: var(--sp-6) 0; }

.care-block { margin-top: var(--sp-12); }
.care-block .pcd-includes__grid { margin-bottom: 0; }

.care-excludes { margin-bottom: var(--sp-8); }
.care-excludes .pcd-includes__item::before {
  content: '—';
  color: var(--ink-3);
}

.care-terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--sp-8);
}

.care-terms__item {
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--border);
}

.care-terms__item dt {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--sp-1);
}

.care-terms__item dd {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ── Process: four steps ── */
.care-process .plm-process__grid { grid-template-columns: repeat(4, 1fr); }
.care-process .plm-services__footer { margin-top: var(--sp-10); }

/* ── Review form ── */
.care-form__trap { display: none; }

/* Long submit label: wrap instead of overflowing the narrow form column */
.care-form .btn--submit { white-space: normal; text-align: left; }

.care-form__note {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--ink-2);
}


/* ════════════════════ RESPONSIVE ════════════════════ */

@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  .section   { padding: var(--sp-20) 0; }
  .container { padding: 0 var(--sp-5); }

  .hero {
    padding-top: calc(var(--nav-h) + var(--sp-12));
    padding-bottom: calc(var(--sp-24) + var(--sp-4));
    min-height: auto;
  }
  .hero__display { margin-bottom: var(--sp-8); }

  .hero__marker {
    top: auto;
    bottom: var(--sp-8);
    transform: none;
    right: -1rem;
    padding: var(--sp-3) var(--sp-8) var(--sp-3) var(--sp-4);
  }
  .hero__marker span { font-size: .72rem; }

  .services__inner {
    display: block;
  }
  .services__heading {
    padding-top: 0;
    margin-bottom: var(--sp-8);
  }
  .services__heading-display {
    font-size: clamp(3rem, 12vw, 4rem);
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .assessment__inner {
    display: block;
  }
  .assessment__copy { margin-bottom: var(--sp-10); }
  .assessment__desc { max-width: none; }

  .contact__display { line-height: .95; }

  .form__row { grid-template-columns: 1fr; }

  .article-header { padding: var(--sp-8) 0 var(--sp-6); }
}

@media (max-width: 540px) {
  .hero__display    { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .contact__display { font-size: clamp(2.6rem, 11vw, 3.2rem); }
  .notes__entry-link { gap: var(--sp-3); }
  .notes__issue     { min-width: 56px; }
  .work__index-name { font-size: clamp(1.3rem, 7vw, 1.9rem); }
}


/* ════════════════════ REDUCED MOTION ════════════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js-loaded .reveal {
    opacity:   1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__cta span              { transition: none !important; transform: none !important; }
  .work__preview-panel         { transition: none !important; }
  .work__index-btn             { transition: none !important; }
  .work__index-btn::before     { transition: none !important; }
  .work__index-name            { transition: none !important; }
  .notes-card                  { transition: none !important; }
  .nav__toggle span { transition: none !important; }
  .article-back svg { transition: none !important; }
  .studio-marker    { opacity: .7 !important; transform: none !important; transition: none !important; }
  .poster__period   { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ═══════════════ WWH RESPONSIVE ═══════════════ */

@media (max-width: 768px) {
  .wwh-services__item { grid-template-columns: 2rem 1fr; gap: 0 var(--sp-4); }
  .wwh-care { padding: var(--sp-6) var(--sp-5); }

  .wwh-process__grid { grid-template-columns: 1fr; }
  .wwh-process__step {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: var(--sp-6) 0;
  }
  .wwh-process__step:first-child { border-top: none; padding-left: 0; }
}


/* ═══════════════ REDESIGN PAGE RESPONSIVE ═══════════════ */

@media (max-width: 768px) {
  .rdsgn-signs__grid { grid-template-columns: 1fr; }
}


/* ═══════════════ PLYMOUTH RESPONSIVE ═══════════════ */

@media (max-width: 768px) {
  .plm-hero { padding-top: calc(var(--nav-h) + var(--sp-12)); }

  .plm-services__item {
    gap: var(--sp-4);
  }

  .plm-process__grid { grid-template-columns: 1fr; }
  .plm-process__step {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: var(--sp-6) 0;
  }
  .plm-process__step:first-child { border-top: none; padding-left: 0; }
}


/* ═══════════════ PET CARE PAGE RESPONSIVE ═══════════════ */

@media (max-width: 768px) {
  .pcd-example__details { grid-template-columns: 1fr; }
  .pcd-includes__grid   { grid-template-columns: 1fr; }
}


/* ═══════════════ WEBSITE CARE PAGE RESPONSIVE ═══════════════ */

@media (max-width: 1024px) {
  .care-process .plm-process__grid { grid-template-columns: 1fr 1fr; }
  .care-process .plm-process__step:nth-child(odd) { border-left: none; padding-left: 0; }
  .care-process .plm-process__step:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .care-process .plm-process__grid { grid-template-columns: 1fr; }
  .care-process .plm-process__step { border-left: none; padding: var(--sp-6) 0; }
  .care-process .plm-process__step:nth-child(n+2) { border-top: 1px solid var(--border); }

  .care-terms { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .care .btn--primary,
  .care .btn--submit {
    white-space: normal;
    text-align: left;
    align-self: stretch;
    justify-content: space-between;
  }
}


/* ════════════════════ SECTION TAGS ════════════════════ */

.section-tag {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: fit-content;
  background: var(--accent);
  padding: var(--sp-2) var(--sp-5) var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-3);
  pointer-events: none;
  user-select: none;
  --reveal-y: 8px; /* shorter lift than default 18px */
}

.section-tag span {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--bg);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}


/* ════════════════════ EDITORIAL POSTER ════════════════════ */

.poster {
  background: var(--ink);
  padding: clamp(6rem, 14vw, 12rem) 0;
}

.poster__inner { position: relative; }

.poster__note {
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  margin-bottom: var(--sp-6);
  --reveal-y: 8px;
}

.poster__text {
  display: flex;
  flex-direction: column;
  --reveal-y: 28px;
}

.poster__line {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3rem, 10.5vw, 10.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .93;
  color: var(--bg);
  text-transform: uppercase;
}

.poster__period { color: var(--accent-on-dark); }

/* Longer, slightly more restrained easing for the poster reveal */
.js-loaded .poster .reveal {
  transition:
    opacity   720ms cubic-bezier(.22,.61,.36,1),
    transform 720ms cubic-bezier(.22,.61,.36,1);
}

/* Poster 1: text staggers 120ms behind the annotation */
.js-loaded .poster__text.reveal { transition-delay: 120ms; }

/* Poster 2: right-aligned composition */
.poster--2 .poster__inner { text-align: right; }

/* Poster 2: larger type — shorter words warrant more scale */
.poster--2 .poster__line {
  font-size: clamp(4rem, 14vw, 14rem);
  --reveal-y: 22px;
}

/* Poster 2: line-by-line stagger */
.poster--2 .poster__line:nth-child(2) { transition-delay: 200ms; }

/* ─── Poster 1: period falls into place on reveal ─── */
.js-loaded .poster:not(.poster--2) .poster__period {
  display: inline-block;
  opacity: 0;
  transform: translateY(-1.1em);
  transition:
    opacity   860ms cubic-bezier(0.22, 1, 0.36, 1) 480ms,
    transform 860ms cubic-bezier(0.22, 1, 0.36, 1) 480ms;
}

.js-loaded .poster:not(.poster--2) .poster__text.is-visible .poster__period {
  opacity: 1;
  transform: translateY(0);
}


/* ════════════════════ MARGIN NOTES ════════════════════ */

.margin-note {
  font-family: var(--font-head);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  pointer-events: none;
  user-select: none;
  margin-bottom: var(--sp-5);
  --reveal-y: 6px;
}

/* Work heading spacing was set for catalog; tighten now that note fills the gap */
.work .margin-note { margin-bottom: var(--sp-6); }

.margin-note--accent { color: var(--accent); }


/* ════════════════════ STUDIO MARKER ════════════════════ */

.studio-marker {
  position: fixed;
  right: .75rem;
  top: 16%;
  z-index: 50;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity   var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.studio-marker.is-visible {
  opacity: .7;
  transform: none;
}

.hero-passed .studio-marker.is-visible {
  opacity: .35;
}

.studio-marker span {
  display: block;
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 1100px) {
  .studio-marker { display: none; }
}
