/* Én Labor – stylesheet */

/* ----------------------------------------------------------------------- */
/* 1. Tokens                                                               */
/* ----------------------------------------------------------------------- */
:root {
  /* Paper & surfaces (flat) */
  --paper: #efe7d6;
  --paper-deep: #e7ddc8;
  --cream: #f8f3e8;
  --ink: #212b25; /* deep pine — text & dark sections */
  --ink-2: #2a3830;
  --ink-soft: #474d44;
  --forest: #36473c; /* headings */
  --muted: #5d6258;
  --clay: #bd5f37; /* terracotta accent / the thread */
  --clay-deep: #9e4d29;
  --clay-soft: #d9966a;

  --line: rgba(33, 43, 37, 0.16);
  --line-2: rgba(33, 43, 37, 0.09);
  --line-cream: rgba(248, 243, 232, 0.18);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans:
    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

  --container: 1240px;
  --measure: 38rem;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --rail: clamp(1rem, 3.2vw, 3rem); /* thread offset from left */
  --section-y: clamp(4.5rem, 11vw, 10rem);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------------------------- */
/* 2. Reset & base                                                         */
/* ----------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.09rem);
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--clay-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--ink);
}
::selection {
  background: var(--clay);
  color: var(--cream);
}
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}
.is-hidden {
  display: none !important;
}

/* legacy decorative blobs removed in this design */
.blob {
  display: none !important;
}

/* ----------------------------------------------------------------------- */
/* 3. Typography                                                           */
/* ----------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}
h1 {
  font-size: clamp(2.9rem, 1.7rem + 5.4vw, 6rem);
  font-weight: 300;
}
h2 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.7rem);
}
h3 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
}
h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1.15em;
}
p:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 700;
  color: var(--ink);
}
em {
  font-style: italic;
}

/* Monospace "lab label" eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.is-centered {
  justify-content: center;
}
.eyebrow.is-centered::before {
  display: none;
}

/* Literary lead */
.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem);
  line-height: 1.45;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.section-head {
  max-width: 50rem;
}
.section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}

/* ----------------------------------------------------------------------- */
/* 4. Layout                                                               */
/* ----------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.is-narrow {
  max-width: 60rem;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tight {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.section--cream {
  background: var(--paper-deep);
}

.mx-auto {
  margin-inline: auto;
}
.mt-2 {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.mt-3 {
  margin-top: clamp(2.2rem, 5vw, 4rem);
}
.text-center {
  text-align: center;
}

.prose {
  max-width: var(--measure);
}
.prose.is-centered {
  margin-inline: auto;
}

/* ----------------------------------------------------------------------- */
/* 5. The thread (scroll-progress spine) — injected by main.js             */
/* ----------------------------------------------------------------------- */
.thread {
  position: fixed;
  left: var(--rail);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  z-index: 4;
  pointer-events: none;
}
.thread::before {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}
.thread__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--clay);
}
.thread__fill::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}
@media (max-width: 1023px) {
  .thread {
    display: none;
  }
}

/* ----------------------------------------------------------------------- */
/* 6. Buttons & links                                                      */
/* ----------------------------------------------------------------------- */
.btn {
  --bg: var(--ink);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05em 1.7em;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.25s var(--ease);
}
.btn:hover {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn .arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(5px);
}

.btn--accent {
  --bg: var(--clay);
  --fg: var(--cream);
}
.btn--accent:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn--lg {
  padding: 1.2em 2em;
  font-size: 0.82rem;
}
.btn--block {
  width: 100%;
  justify-content: center;
}

/* Inline arrow link (editorial) */
.arrow {
  display: inline-block;
}

/* ----------------------------------------------------------------------- */
/* 7. Header / navigation                                                  */
/* ----------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--forest);
  flex: none;
}
.brand:hover {
  color: var(--forest);
}
.brand__mark {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-image: url("../images/enlabor.png");
  background-repeat: no-repeat;
  background-position: 50% 30%;
  background-size: 188%;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  white-space: nowrap;
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.42rem;
  white-space: nowrap;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.1rem;
  height: 1.5px;
  background: var(--clay);
  transition: right 0.32s var(--ease);
}
.nav__link:hover {
  color: var(--clay-deep);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  right: 0;
}
.nav__link[aria-current="page"] {
  color: var(--clay-deep);
}

.nav__cta .btn {
  padding: 0.85em 1.3em;
}

/* Hamburger */
.nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s var(--ease),
    top 0.3s var(--ease);
}
.nav__toggle span {
  top: 50%;
  margin-top: -1px;
}
.nav__toggle span::before {
  top: -6px;
}
.nav__toggle span::after {
  top: 6px;
}
.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav__toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav__toggle {
    display: block;
  }
  .site-header .brand {
    /* Keep the logo above the full-screen menu overlay so it stays
       visible at the top-left when the menu is open. */
    position: relative;
    z-index: 55;
  }
  .nav__menu {
    /* NOTE: .site-header uses backdrop-filter, which makes it the containing
       block for fixed descendants. So this menu is positioned relative to the
       header (pinned to the viewport's top-left), not the viewport. Anchor to
       top/left and give it an explicit viewport height so the opaque paper
       background covers the whole screen instead of just the header box. */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 40;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: var(--gutter);
    /* Clear the fixed header/logo zone so links start just beneath it
       instead of being centered far down the screen. */
    padding-top: clamp(6rem, 14vh, 8.5rem);
    background: var(--paper);
    border-left: none;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
  }
  .nav__menu.is-open {
    transform: translateX(0);
  }
  .nav__item {
    width: 100%;
    border-bottom: 1px solid var(--line-2);
  }
  .nav__link {
    display: block;
    width: 100%;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    text-transform: none;
    letter-spacing: -0.01em;
    padding: 0.7rem 0;
  }
  .nav__link::after {
    display: none;
  }
  .nav__cta {
    margin-top: 1.6rem;
  }
  .nav__cta .btn {
    padding: 1.1em 1.8em;
    font-size: 0.82rem;
  }
}

/* ----------------------------------------------------------------------- */
/* 8. Hero                                                                 */
/* ----------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 7rem) clamp(4rem, 9vw, 8rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.hero__title {
  margin: 0 0 0.45em;
  max-width: 12ch;
}
.hero__lead {
  max-width: 32rem;
  margin-bottom: 2.4rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__media {
  position: relative;
}
.hero__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 48% 48% 10px 10px / 34% 34% 10px 10px;
  overflow: hidden;
  background: var(--paper-deep);
  z-index: 1;
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__figure--logo {
  background: transparent;
  overflow: visible;
}
.hero__figure--logo img {
  object-fit: contain;
  padding: 0;
  transform: scale(1.35);
}
.hero__media::before {
  /* terracotta passepartout — traces the arch evenly around the image */
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--clay);
  border-radius: 48% 48% 22px 22px / 34% 34% 22px 22px;
  z-index: 0;
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  left: 0;
  bottom: -1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  z-index: 2;
  max-width: 17rem;
}
.hero__badge .dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}
.hero__badge span:last-child {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    max-width: 26rem;
    margin-inline: auto;
    order: -1;
  }
  .hero__figure {
    aspect-ratio: 4 / 4.2;
  }
  .hero__title {
    max-width: none;
  }
}

/* ----------------------------------------------------------------------- */
/* 9. Prose / intro with drop cap                                          */
/* ----------------------------------------------------------------------- */
.prose--lead p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.prose--lead p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4.2em;
  float: left;
  line-height: 0.72;
  padding: 0.05em 0.12em 0 0;
  color: var(--clay);
}

/* ----------------------------------------------------------------------- */
/* 10. Editorial split (services teaser, generic)                          */
/* ----------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--top {
  align-items: start;
}
.split--top .split__media {
  position: sticky;
  top: 110px;
}
.split--media-right .split__media {
  order: 2;
}

.figure-rounded {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 4;
  border-radius: 8px 8px 8px 8px;
  overflow: hidden;
  background: var(--paper-deep);
}
.figure-rounded::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}
.figure-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure-rounded--portrait {
  aspect-ratio: 4 / 5;
}

/* arched portrait variant for the about/staff media */
.figure-arch {
  border-radius: 46% 46% 8px 8px / 32% 32% 8px 8px;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split--media-right .split__media {
    order: 0;
  }
  .split--top .split__media {
    position: static;
    max-width: 26rem;
  }
}

/* ----------------------------------------------------------------------- */
/* 11. Approach — numbered editorial index (reuses .cards/.card/.card__num) */
/* ----------------------------------------------------------------------- */
.cards {
  display: block;
  max-width: 60rem;
  border-top: 1px solid var(--line);
}
.card {
  display: grid;
  grid-template-columns: clamp(3.2rem, 7vw, 5.5rem) 1fr;
  align-items: baseline;
  gap: 1.2rem clamp(1.2rem, 3vw, 2.6rem);
  padding: clamp(1.6rem, 3.4vw, 2.6rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition:
    padding-left 0.35s var(--ease),
    background-color 0.35s var(--ease);
}
.card:hover {
  padding-left: clamp(0.6rem, 1.5vw, 1.4rem);
}
.card__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--clay);
  text-stroke: 1px var(--clay);
  transition: color 0.35s var(--ease);
}
.card:hover .card__num {
  color: var(--clay);
}
.card h3 {
  margin: 0 0 0.35em;
}
.card p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  max-width: 44ch;
}

/* ----------------------------------------------------------------------- */
/* 12. Services — dotted-leader menu                                       */
/* ----------------------------------------------------------------------- */
.price-list {
  max-width: 62rem;
  border-top: 1px solid var(--line);
}
.price-card {
  padding: clamp(1.7rem, 3.5vw, 2.8rem) 0;
  border-bottom: 1px solid var(--line);
}
.price-card__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.price-card__name {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  color: var(--forest);
  white-space: nowrap;
}
.price-card__leader {
  flex: 1;
  border-bottom: 1.5px dotted var(--line);
  transform: translateY(-0.35em);
  min-width: 2rem;
}
.price-card__price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  color: var(--clay-deep);
  white-space: nowrap;
}
.price-card__sub {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card__desc {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  max-width: 46ch;
}

.price-note {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--clay);
}

@media (max-width: 560px) {
  .price-card__name {
    white-space: normal;
  }
  .price-card__leader {
    display: none;
  }
  .price-card__head {
    justify-content: space-between;
  }
}

/* ----------------------------------------------------------------------- */
/* 13. Credentials (about) — hairline lists                                */
/* ----------------------------------------------------------------------- */
.creds {
  display: grid;
  gap: clamp(2.4rem, 5vw, 3.8rem);
}
.cred-block {
  display: grid;
  grid-template-columns: minmax(0, 16rem) 1fr;
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
}
.cred-block > h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  position: relative;
  padding-top: 1.1rem;
  border-top: 2px solid var(--clay);
  align-self: start;
}
.cred-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cred-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line-2);
  color: var(--ink-soft);
  font-size: 0.98rem;
  display: flex;
  gap: 0.9rem;
}
.cred-list li:first-child {
  border-top: none;
}
.cred-list li::before {
  content: "—";
  color: var(--clay);
  flex: none;
}
@media (max-width: 680px) {
  .cred-block {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .cred-block > h3 {
    padding-top: 0.9rem;
  }
}

/* ----------------------------------------------------------------------- */
/* 14. Staff — editorial spread                                            */
/* ----------------------------------------------------------------------- */
.staff-grid {
  display: grid;
  gap: clamp(3rem, 8vw, 6rem);
}
.staff-card {
  display: grid;
  grid-template-columns: minmax(0, 24rem) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.staff-card__media {
  position: sticky;
  top: 110px;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 46% 46% 8px 8px / 32% 32% 8px 8px;
  overflow: hidden;
  background: var(--paper-deep);
}
.staff-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-card__role {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 0.6rem;
}
.staff-card__name {
  margin: 0 0 1.4rem;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
  font-weight: 300;
}
.staff-card__bio p {
  color: var(--ink-soft);
}

.pullquote {
  margin: 2rem 0;
  padding-left: 1.6rem;
  border-left: 2px solid var(--clay);
}
.pullquote blockquote {
  margin: 0;
}
.pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.4;
  color: var(--forest);
  margin: 0 0 0.6rem;
}
.pullquote cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.pullquote cite::before {
  content: "— ";
}

.specialty-title {
  margin: 2.4rem 0 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.tag-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-soft);
  font-size: 0.96rem;
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  transition:
    color 0.25s var(--ease),
    padding-left 0.25s var(--ease);
}
.tag-list li::before {
  content: "+";
  color: var(--clay);
  flex: none;
  font-family: var(--font-mono);
}
.tag-list li:hover {
  color: var(--forest);
  padding-left: 0.4rem;
}

@media (max-width: 760px) {
  .staff-card {
    grid-template-columns: 1fr;
  }
  .staff-card__media {
    position: static;
    max-width: 22rem;
  }
}

/* ----------------------------------------------------------------------- */
/* 15. Reviews — magazine pull-quotes (reuses .reviews-grid/.review)       */
/* ----------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  gap: 0;
  max-width: 56rem;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.review {
  margin: 0;
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.review__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.95rem);
  line-height: 1.42;
  color: var(--forest);
  margin: 0 0 1.4rem;
  text-indent: 0;
}
.review__text::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 2.4em;
  line-height: 0;
  color: var(--clay);
  margin-right: 0.12em;
  vertical-align: -0.45em;
}
.review__meta {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-mono);
}
.review__name {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.review__name::before {
  content: "— ";
  color: var(--clay);
}
.review__date {
  font-size: 0.78rem;
  color: var(--muted);
}
.review__stars {
  display: flex;
  gap: 0.18em;
  font-size: 1rem;
  line-height: 1;
  margin: 0 0 1.1rem;
  letter-spacing: 0.04em;
}
.review__stars .star {
  color: var(--line);
}
.review__stars .star.is-on {
  color: var(--clay);
}
/* legacy avatar hidden if present */
.review__avatar {
  display: none;
}

/* ----------------------------------------------------------------------- */
/* 16. Contact                                                             */
/* ----------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-2);
}
.contact-item__icon {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  color: var(--clay);
}
.contact-item__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}
.contact-item__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.contact-item a,
.contact-item p {
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  font-size: 1.05rem;
}
.contact-item a:hover {
  color: var(--clay-deep);
}

.map-frame {
  margin-top: 1.5rem;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.25) saturate(0.9);
}

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

/* ----------------------------------------------------------------------- */
/* 17. Forms — underline-only fields                                       */
/* ----------------------------------------------------------------------- */
.form-card {
  padding-top: clamp(1.5rem, 3vw, 2.2rem);
  border-top: 2px solid var(--clay);
}
.form {
  display: grid;
  gap: 2rem;
}
.form__row {
  display: grid;
  gap: 2rem;
}
@media (min-width: 620px) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.5rem;
}
.field label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req {
  color: var(--clay);
}
.field input,
.field textarea,
.field select {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  padding: 0.65rem 0;
  width: 100%;
  transition: border-color 0.25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--clay);
}
.field textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.6;
}
.field--hp {
  position: absolute;
  left: -9999px;
}

.form__note {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.form__actions {
  margin-top: 0.5rem;
}

.form-status {
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-status.is-visible {
  display: flex;
}
.form-status--success {
  border-color: var(--forest);
  color: var(--forest);
  background: color-mix(in srgb, var(--forest) 8%, transparent);
}
.form-status--error {
  border-color: var(--clay);
  color: var(--clay-deep);
  background: color-mix(in srgb, var(--clay) 8%, transparent);
}

/* ----------------------------------------------------------------------- */
/* 18. CTA — flat dark band                                                */
/* ----------------------------------------------------------------------- */
.cta-wrap {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-wrap::before {
  /* the terracotta thread, mirrored — the journey's spine framing the final step */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: var(--rail);
  width: 1px;
  background: color-mix(in srgb, var(--clay) 32%, transparent);
  pointer-events: none;
}
.cta-wrap::after {
  /* thread node — same marker used along the scroll spine */
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--rail) - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  pointer-events: none;
}
.cta {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
  text-align: center;
}
.cta .eyebrow {
  color: var(--clay-soft);
  justify-content: center;
}
.cta .eyebrow::before {
  display: none;
}
.cta h2 {
  color: var(--cream);
  margin-bottom: 0.4em;
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);
}
.cta p {
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  max-width: 40rem;
  margin: 0 auto 2.4rem;
  font-size: 1.1rem;
}
.cta .btn--accent:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

/* ----------------------------------------------------------------------- */
/* 19. Footer                                                              */
/* ----------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-2);
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-cream);
}
.footer-brand .brand__name {
  color: var(--cream);
}
.footer-brand p {
  margin-top: 1.2rem;
  max-width: 26rem;
  color: color-mix(in srgb, var(--cream) 65%, transparent);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.5;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-cream);
  border-radius: 999px;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.footer-social:hover {
  color: var(--cream);
  border-color: var(--clay-soft);
  background: color-mix(in srgb, var(--clay) 22%, transparent);
}
.footer-social svg {
  flex: none;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--clay-soft);
  margin-bottom: 1.2rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.footer-col a {
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  font-weight: 500;
}
.footer-col a:hover {
  color: var(--clay-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--cream) 50%, transparent);
}
.footer-bottom a {
  color: color-mix(in srgb, var(--cream) 70%, transparent);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

/* ----------------------------------------------------------------------- */
/* 20. Inner page hero                                                     */
/* ----------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(2rem, 4vw, 3.5rem);
  position: relative;
}
.page-hero__inner {
  max-width: 52rem;
}
.page-hero h1 {
  margin-bottom: 0.25em;
}
.page-hero .lead {
  margin-top: 0.5em;
  max-width: 42rem;
}

/* ----------------------------------------------------------------------- */
/* 21. Scroll reveal                                                       */
/* ----------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal="left"] {
  transform: translateX(-28px);
}
[data-reveal="right"] {
  transform: translateX(28px);
}
[data-reveal="scale"] {
  transform: scale(0.97);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}
[data-reveal-delay="4"] {
  transition-delay: 0.32s;
}
[data-reveal-delay="5"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ----------------------------------------------------------------------- */
/* 22. Skip link                                                           */
/* ----------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  border-radius: 4px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
  color: var(--cream);
}
