/* ==========================================================================
   Smiling Pearls Dental Clinic & Implant Centre
   Quiet dental excellence: architectural, editorial, restrained.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #171A1C;
  --slate: #2D3941;
  --bluegrey: #536370;
  --paper: #F4F1EA;
  --mineral: #D9DEE1;
  --stainless: #B7BEC2;
  --white: #FCFCFA;
  --crimson: #A51C30;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --pad: 20px;
  --section-y: clamp(96px, 10vw, 160px);

  --radius-img: 14px;
  --radius-btn: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --border: 1px solid rgba(23, 26, 28, 0.14);
}
@media (min-width: 720px) {
  :root { --pad: 36px; }
}
@media (min-width: 1100px) {
  :root { --pad: 64px; }
}
@media (min-width: 1700px) {
  :root { --pad: 96px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--dark { background: var(--slate); color: var(--white); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Typography system ----------
   One display voice (Instrument Serif) at two disciplined levels,
   one functional voice (Inter) for everything else.
   .display-statement : level 1, large editorial statements
   .section-heading   : level 2, refined serif chapter titles
   .section-label     : all section labels                              */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bluegrey);
  margin-bottom: 26px;
}
.section-label--light { color: var(--stainless); }

.display-statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 13vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 12em;
}
@media (min-width: 720px) {
  .display-statement {
    font-size: clamp(64px, 7vw, 108px);
    line-height: 0.93;
    letter-spacing: -0.035em;
  }
}

.section-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 10vw, 48px);
  line-height: 1;
  letter-spacing: -0.018em;
  text-wrap: balance;
  max-width: 14em;
}
@media (min-width: 720px) {
  .section-heading {
    font-size: clamp(40px, 4.2vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.025em;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.btn--primary {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}
.btn--primary:hover { background: var(--slate); border-color: var(--slate); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(252, 252, 250, 0.55);
}
.btn--outline:hover { border-color: var(--white); background: rgba(252, 252, 250, 0.08); }
.visit__ctas .btn--outline,
.mobile-menu .btn--ghost {
  color: var(--ink);
  border: 1px solid rgba(23, 26, 28, 0.3);
}
.visit__ctas .btn--outline:hover { border-color: var(--ink); background: rgba(23, 26, 28, 0.04); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
  color: var(--ink);
  background: var(--paper);
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (min-width: 720px) {
  .site-header__inner { height: 78px; }
}

/* Over-hero (desktop only: hero image sits behind the header) */
@media (min-width: 701px) {
  .site-header { background: transparent; color: var(--white); }
  .site-header .btn--primary { background: var(--white); color: var(--ink); border-color: var(--white); }
  .site-header .btn--primary:hover { background: var(--paper); border-color: var(--paper); }
  .site-header.is-scrolled { background: var(--paper); color: var(--ink); border-bottom-color: rgba(23, 26, 28, 0.1); }
  .site-header.is-scrolled .btn--primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .site-header.is-scrolled .btn--primary:hover { background: var(--slate); border-color: var(--slate); }
}
@media (max-width: 700px) {
  .site-header.is-scrolled { border-bottom-color: rgba(23, 26, 28, 0.1); }
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  line-height: 1;
}
.wordmark__name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
}
.wordmark__sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
}

.site-nav ul { display: flex; gap: 30px; }
.site-nav a {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 1; }
@media (max-width: 1000px) {
  .site-nav { display: none; }
}

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.btn--header { min-height: 42px; padding: 9px 22px; font-size: 14px; }
@media (max-width: 700px) {
  .btn--header { display: none; }
}

.header-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(23, 26, 28, 0.25);
}
@media (max-width: 700px) {
  .header-call { display: inline-flex; }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
@media (max-width: 1000px) {
  .menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset-inline: 0;
  top: 66px;
  z-index: 99;
  background: var(--paper);
  border-bottom: var(--border);
  padding: 26px var(--pad) 34px;
}
@media (min-width: 720px) { .mobile-menu { top: 78px; } }
.mobile-menu ul { margin-bottom: 26px; }
.mobile-menu li + li { border-top: 1px solid rgba(23, 26, 28, 0.08); }
.mobile-menu ul a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu .btn { width: 100%; margin-top: 10px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop: full-bleed image, text lower-left */
@media (min-width: 701px) {
  .hero { height: 100svh; min-height: 620px; }
  .hero__media, .hero__media img { position: absolute; inset: 0; height: 100%; }
  .hero__media img { object-position: 50% 62%; }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(23, 26, 28, 0.30) 0%, rgba(23, 26, 28, 0) 22%),
      linear-gradient(76deg, rgba(23, 26, 28, 0.62) 0%, rgba(23, 26, 28, 0.24) 38%, rgba(23, 26, 28, 0) 62%);
    pointer-events: none;
  }
  .hero__content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: clamp(48px, 7vh, 84px);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad);
    color: var(--white);
  }
}



.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
}
.hero__headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 13vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 24px;
}
@media (min-width: 720px) {
  .hero__headline {
    font-size: clamp(64px, 7vw, 108px);
    line-height: 0.92;
    letter-spacing: -0.035em;
  }
}
.hero__support {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 30px;
  opacity: 0.94;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.hero__credential {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.88;
}
.hero__credential .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--crimson);
}

/* Mobile: copy overlaid on the lower-left of the image, cinematic and
   continuous with desktop. CTAs and the credential sit in a calm
   warm-white panel directly below the image. */
@media (max-width: 700px) {
  .hero {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 100%;
    padding-top: 66px;
    background: var(--paper);
  }
  .hero__content { display: contents; }
  .hero__media {
    grid-row: 1;
    grid-column: 1;
    position: relative;
  }
  .hero__media img {
    width: 100%;
    height: 80svh;
    min-height: 460px;
    object-fit: cover;
    object-position: 50% 42%;
  }
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(23, 26, 28, 0) 34%,
      rgba(23, 26, 28, 0.18) 54%,
      rgba(23, 26, 28, 0.44) 72%,
      rgba(23, 26, 28, 0.62) 88%,
      rgba(23, 26, 28, 0.7) 100%);
    pointer-events: none;
  }
  .hero__text {
    grid-row: 1;
    grid-column: 1;
    align-self: end;
    z-index: 2;
    padding: 0 max(22px, env(safe-area-inset-left)) 26px max(22px, env(safe-area-inset-left));
    color: var(--white);
    text-shadow: 0 1px 22px rgba(23, 26, 28, 0.35);
  }
  .hero__headline {
    font-size: clamp(46px, 13vw, 62px);
    line-height: 0.94;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
  }
  .hero__eyebrow {
    color: rgba(252, 252, 250, 0.88);
    margin-bottom: 16px;
  }
  .hero__support {
    color: rgba(252, 252, 250, 0.92);
    font-size: 16px;
    max-width: 32ch;
    margin-bottom: 0;
  }
  .hero__actions {
    grid-row: 2;
    grid-column: 1;
    padding: 28px max(22px, env(safe-area-inset-right)) 6px max(22px, env(safe-area-inset-left));
    background: var(--paper);
  }
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 26px;
  }
  .hero__actions .btn--outline {
    color: var(--ink);
    border-color: rgba(23, 26, 28, 0.3);
  }
  .hero__actions .btn--outline:hover {
    border-color: var(--ink);
    background: rgba(23, 26, 28, 0.04);
  }
  .hero__credential { color: var(--slate); }
}

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img {
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 1200ms var(--ease-out), transform 1600ms var(--ease-out);
  }
  .hero.is-ready .hero__media img { opacity: 1; transform: scale(1); }
  .hero__eyebrow, .hero__headline, .hero__support, .hero__ctas, .hero__credential {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  }
  .hero.is-ready :is(.hero__eyebrow, .hero__headline, .hero__support, .hero__ctas, .hero__credential) {
    opacity: 1;
    transform: none;
  }
  .hero.is-ready .hero__headline { transition-delay: 90ms; }
  .hero.is-ready .hero__support { transition-delay: 180ms; }
  .hero.is-ready .hero__ctas { transition-delay: 270ms; }
  .hero.is-ready .hero__credential { transition-delay: 360ms; }
}

/* ==========================================================================
   Proof strip
   ========================================================================== */
.proof {
  background: var(--white);
  border-bottom: var(--border);
}
.proof__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.proof__item {
  padding: 22px 18px 22px 0;
}
.proof__item:nth-child(odd) { padding-right: 22px; }
.proof__item:nth-child(even) { padding-left: 22px; border-left: var(--border); }
.proof__item:nth-child(-n+2) { border-bottom: var(--border); }
@media (min-width: 900px) {
  .proof__grid { grid-template-columns: repeat(4, 1fr); }
  .proof__item,
  .proof__item:nth-child(odd),
  .proof__item:nth-child(even) {
    padding: 30px 28px;
    border: none;
    border-left: var(--border);
  }
  .proof__item:first-child { border-left: none; padding-left: 0; }
  .proof__item:nth-child(-n+2) { border-bottom: none; }
}
.proof__lead {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.proof__sub {
  font-size: 14px;
  color: var(--bluegrey);
  margin-top: 3px;
  line-height: 1.55;
}

/* ==========================================================================
   Practice philosophy
   ========================================================================== */
.practice__copy {
  max-width: 55ch;
  font-size: clamp(17px, 1.25vw, 18px);
  color: var(--slate);
  margin-top: 34px;
}
.principles {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 84px;
  border-top: var(--border);
  counter-reset: none;
}
.principles li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 28px 0;
  border-bottom: var(--border);
}
@media (min-width: 900px) {
  .principles {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: var(--border);
  }
  .principles li {
    flex-direction: column;
    gap: 18px;
    border-bottom: none;
    border-left: var(--border);
    padding: 40px 36px 48px;
  }
  .principles li:first-child { border-left: none; padding-left: 0; }
}
.principles__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--bluegrey);
}
.principles__text {
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* ==========================================================================
   Clinical environment
   ========================================================================== */
.environment__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) {
  .environment__grid { grid-template-columns: 7fr 4fr; gap: clamp(48px, 6vw, 96px); }
}
.environment__media img {
  width: 100%;
  border-radius: var(--radius-img);
  aspect-ratio: 1920 / 1072;
  object-fit: cover;
}
.environment__copy p { max-width: 42ch; color: var(--slate); }
.environment__copy .section-heading { margin-bottom: 32px; }

/* ==========================================================================
   Expertise
   ========================================================================== */
.expertise__head { margin-bottom: 56px; }

.accordion { border-top: var(--border); }
.accordion__item { border-bottom: var(--border); }
.accordion__trigger {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  width: 100%;
  padding: 22px 4px;
  text-align: left;
  min-height: 64px;
}
.accordion__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--bluegrey);
  flex-shrink: 0;
}
.accordion__title {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  flex-grow: 1;
}
.accordion__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}
.accordion__icon::before { left: 0; top: 6.3px; width: 14px; height: 1.4px; }
.accordion__icon::after { left: 6.3px; top: 0; width: 1.4px; height: 14px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: scaleY(0); }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel-inner { overflow: hidden; }
.accordion__panel-inner p {
  max-width: 56ch;
  color: var(--slate);
  padding: 0 4px 26px;
  margin-left: clamp(31px, calc(13px + 3vw), 53px);
}

.also { margin-top: 40px; }
.also summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bluegrey);
  padding: 10px 0;
  list-style: none;
}
.also summary::-webkit-details-marker { display: none; }
.also summary::after {
  content: "+";
  font-size: 16px;
  line-height: 1;
}
.also[open] summary::after { content: "\2212"; }
.also p {
  margin-top: 10px;
  color: var(--slate);
  font-size: 16px;
  max-width: 72ch;
}

/* ==========================================================================
   Doctor
   ========================================================================== */
.doctor__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) {
  .doctor__grid { grid-template-columns: 6fr 5fr; gap: clamp(48px, 6vw, 110px); }
}
.doctor__media img {
  width: 100%;
  border-radius: var(--radius-img);
  aspect-ratio: 1600 / 1199;
  object-fit: cover;
  object-position: 62% 40%;
}
.doctor__media figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--bluegrey);
  letter-spacing: 0.03em;
}
.doctor__copy .section-heading { margin-bottom: 18px; }
.doctor__sub {
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--slate);
  max-width: 44ch;
  margin-bottom: 30px;
}
.doctor__bio {
  color: var(--slate);
  max-width: 55ch;
  margin-bottom: 48px;
}
.credentials { border-top: var(--border); }
.credentials__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: var(--border);
}
.credentials__row dt {
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.credentials__row dd {
  font-size: 15px;
  color: var(--bluegrey);
  text-align: right;
}
.credentials__row--accent { border-top: 2px solid var(--crimson); margin-top: -1px; }
@media (max-width: 560px) {
  .credentials__row { flex-direction: column; }
  .credentials__row dd { text-align: left; }
}

/* ==========================================================================
   Precision in practice
   ========================================================================== */
.precision__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) {
  .precision__grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 120px); }
}
.precision__copy .section-heading { margin-bottom: 12px; }
.points { margin-top: 52px; border-top: var(--border); }
.points li {
  display: flex;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: var(--border);
  font-weight: 500;
  font-size: clamp(16px, 1.3vw, 18px);
  letter-spacing: -0.01em;
  line-height: 1.45;
}
.points__num {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--bluegrey);
  margin-right: 24px;
}
.precision__media img {
  width: 100%;
  border-radius: var(--radius-img);
  aspect-ratio: 1280 / 1693;
  object-fit: cover;
  max-height: 78vh;
}

/* ==========================================================================
   Patient stories
   ========================================================================== */
.stories__head { margin-bottom: 72px; }
.stories__meta {
  margin-top: 22px;
  font-size: 14px;
  color: var(--stainless);
  letter-spacing: 0.02em;
}
.quote--featured blockquote p {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.32;
  font-size: clamp(26px, 3.2vw, 44px);
  max-width: 26em;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 26px;
}
.quote__name { font-weight: 600; font-size: 15.5px; }
.quote__role { font-size: 13.5px; color: var(--stainless); }
.stories__pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid rgba(252, 252, 250, 0.16);
}
@media (min-width: 900px) {
  .stories__pair { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 110px); }
}
.stories__pair .quote blockquote p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--mineral);
  max-width: 44ch;
}
.stories__pair .quote figcaption { margin-top: 22px; }

/* ==========================================================================
   Visit
   ========================================================================== */
.visit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 900px) {
  .visit__grid { grid-template-columns: 7fr 5fr; gap: clamp(56px, 7vw, 130px); align-items: start; }
}
.visit__support {
  margin-top: 32px;
  max-width: 42ch;
  color: var(--slate);
}
.visit__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
}
@media (max-width: 560px) {
  .visit__ctas { flex-direction: column; align-items: stretch; }
}
.visit__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 26px 0;
}
.visit__row + .visit__row { border-top: var(--border); }
.visit__key {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bluegrey);
  padding-top: 4px;
}
.visit__value { font-size: 16.5px; line-height: 1.6; }
.visit__value a {
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 26, 28, 0.28);
  transition: border-color 0.2s;
  padding-bottom: 1px;
}
.visit__value a:hover { border-color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 40px;
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 60px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(252, 252, 250, 0.14);
}
.footer__brand { display: flex; flex-direction: column; gap: 3px; }
.footer__brand .wordmark__sub { opacity: 0.6; }
.footer__area { font-size: 15px; opacity: 0.75; }
.footer__actions { display: flex; gap: 28px; }
.footer__actions a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
  padding: 4px 0;
}
.footer__actions a:hover { opacity: 1; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 26px;
  font-size: 13px;
}
.footer__bottom > p {
  margin: 0;
  opacity: 0.55;
}

/* Authorship signature: quiet colophon, unboxed, removable as one block */
.footer-signature { text-align: right; }
.signature-by {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.5;
}
.signature-name {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.92;
}
.signature-role {
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.5;
}
@media (max-width: 700px) {
  .footer-signature {
    text-align: left;
    margin-top: 30px;
  }
}
@media (max-width: 700px) {
  .footer { padding-bottom: 96px; } /* clearance for action bar */
}

/* ==========================================================================
   Mobile action bar
   ========================================================================== */
.action-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: var(--white);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateY(102%);
  transition: transform 0.4s var(--ease-out);
}
.action-bar.is-visible { transform: translateY(0); }
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
}
.action-bar a + a { border-left: 1px solid rgba(252, 252, 250, 0.14); }
@media (max-width: 700px) {
  .action-bar { display: grid; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 750ms var(--ease-out), transform 750ms var(--ease-out);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* No-JS fallbacks */
.no-js .reveal, .no-js .hero__media img,
.no-js .hero__eyebrow, .no-js .hero__headline, .no-js .hero__support,
.no-js .hero__ctas, .no-js .hero__credential { opacity: 1 !important; transform: none !important; }
