/* ============================================================
   So Stone Optik
   Hand-written CSS, mobile-first, monochrome editorial.
   Sister to sostone.sk — Kanit family, refined for an optician.
   ============================================================ */

/* ─────────  FONTS (self-hosted)  ───────── */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('assets/fonts/kanit-200-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('assets/fonts/kanit-200-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/kanit-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/kanit-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/kanit-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/kanit-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/kanit-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/kanit-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/fraunces-i300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/fraunces-i300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─────────  TOKENS  ───────── */
:root {
  /* color */
  --paper:        #fafaf7;   /* warm off-white, barely there */
  --paper-deep:   #f1efe9;
  --ink:          #0a0a0a;
  --ink-soft:     #1f1f1f;
  --mute:         #8a8a87;
  --hairline:     #1a1a1a;
  --hairline-soft:#dcdad2;

  /* type */
  --sans: "Kanit", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --serif:"Fraunces", "Times New Roman", serif;

  /* fluid type scale (clamp(min, fluid, max)) */
  --fs-eyebrow: clamp(10px, 0.62vw + 8px, 12px);
  --fs-body:    clamp(15px, 0.4vw + 14px, 17px);
  --fs-lede:    clamp(17px, 0.6vw + 15px, 20px);
  --fs-h3:      clamp(22px, 1.4vw + 18px, 32px);
  --fs-h2:      clamp(34px, 4vw + 18px, 72px);
  --fs-h1:      clamp(40px, 6.5vw + 20px, 112px);
  --fs-display: clamp(48px, 9vw + 16px, 156px);

  /* spacing */
  --gut: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 160px);

  /* layout */
  --header-h: 64px;
  --maxw: 1480px;
  --rule: 1px solid var(--hairline);
  --rule-soft: 1px solid var(--hairline-soft);

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

/* ─────────  RESET  ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
address { font-style: normal; }

/* selection */
::selection { background: var(--ink); color: var(--paper); }

/* skip link */
.skip {
  position: absolute; left: 8px; top: -100px;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; border-radius: 2px;
  z-index: 200; font-size: 13px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 8px; }

/* ─────────  HEADER  ───────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250, 250, 247, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: background .3s var(--ease);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-rule {
  height: 1px;
  width: 100%;
  background: var(--hairline);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.site-header.scrolled .header-rule { transform: scaleX(1); }

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 76px;
  height: auto;
  filter: invert(0);
}
@media (min-width: 768px) {
  .brand-mark { width: 96px; }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand-word {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: none;
}
.brand-word em {
  font-style: normal;
  font-weight: 200;
  color: var(--mute);
  margin-left: 6px;
}
@media (min-width: 640px) {
  .brand-word { display: inline; }
}

/* desktop nav */
.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .nav-desktop ul {
    display: flex;
    gap: clamp(20px, 2.4vw, 44px);
  }
  .nav-desktop a {
    position: relative;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 0;
    color: var(--ink-soft);
    transition: color .2s var(--ease);
  }
  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
  }
  .nav-desktop a:hover { color: var(--ink); }
  .nav-desktop a:hover::after,
  .nav-desktop a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  padding: 8px 4px;
  white-space: nowrap;
}
.phone-link svg { flex-shrink: 0; }
.phone-link span { display: none; }
@media (min-width: 540px) {
  .phone-link span { display: inline; }
}
.phone-link:hover { color: var(--ink); }

/* hamburger */
.menu-toggle {
  width: 36px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-right: -8px;
}
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
body.menu-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
body.menu-open .menu-toggle span:last-child  { transform: translateY(-3px) rotate(-45deg); }

/* ─────────  MOBILE MENU  ───────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: calc(var(--header-h) + 32px) var(--gut) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.mobile-menu[hidden] { display: flex; }    /* override [hidden] for animation */
body.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: var(--rule);
}
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px 0;
  border-bottom: var(--rule);
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 200;
  letter-spacing: -.01em;
  transition: padding-left .35s var(--ease);
}
.mobile-menu nav a:hover { padding-left: 8px; }
.mobile-menu .num {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--mute);
  align-self: center;
}
.mobile-menu-foot {
  border-top: var(--rule-soft);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.mobile-menu-foot a { font-weight: 400; }
.mobile-menu-foot p { color: var(--mute); margin-top: 4px; line-height: 1.5; }

/* ─────────  HERO  ───────── */
.hero {
  min-height: 100svh;
  min-height: 100vh;
  padding: calc(var(--header-h) + 28px) var(--gut) 40px;
  display: flex;
  align-items: stretch;
  position: relative;
}
.hero-grid {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "image"
    "text";
  gap: 32px;
  align-items: start;
}

.hero-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 4px;
}

/* eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow i {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 200;
  letter-spacing: -.028em;
  line-height: .94;
  max-width: 16ch;
  margin: 0;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease) .15s forwards;
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: .78em;
  color: var(--mute);
  padding: 0 .08em;
  letter-spacing: 0;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-body {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
  opacity: 0;
  animation: rise .9s var(--ease) .5s forwards;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 44ch;
  font-size: var(--fs-body);
  color: var(--ink-soft);
  opacity: 0;
  animation: rise .9s var(--ease) .65s forwards;
}
.hero-points li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 16px;
  height: 1px;
  background: var(--ink);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
  opacity: 0;
  animation: rise .9s var(--ease) .8s forwards;
}

/* ─── primary CTA — pill with sliding arrow ─── */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 60px 0 26px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  border: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  transition: padding .55s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.btn-primary > .btn-label {
  position: relative;
  z-index: 1;
  transition: transform .55s var(--ease);
}
.btn-primary .btn-circle {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: right .55s var(--ease), transform .55s var(--ease), background .3s var(--ease);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  padding: 0 26px 0 60px;
}
.btn-primary:hover .btn-circle,
.btn-primary:focus-visible .btn-circle {
  right: calc(100% - 48px);
  transform: translateY(-50%) rotate(45deg);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ─── ghost CTA — matching pill, hollow ─── */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  background: transparent;
  color: var(--ink);
  border: var(--rule);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

/* hero address line */
.hero-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: var(--rule-soft);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 44ch;
  opacity: 0;
  animation: rise .9s var(--ease) .95s forwards;
}
.meta-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero-phone {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .02em;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.hero-phone:hover { border-bottom-color: var(--ink); }

/* hero image */
.hero-image {
  grid-area: image;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 4 / 5;
  opacity: 0;
  animation: imgFade 1.4s var(--ease) .15s forwards;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(15%) contrast(1.04) brightness(1.02);
  transform: scale(1.04);
  animation: imgZoom 14s var(--ease) .15s forwards;
}
@keyframes imgFade {
  to { opacity: 1; }
}
@keyframes imgZoom {
  to { transform: scale(1); }
}

/* tablet portrait: image is wider/shorter so text shows on first fold */
@media (min-width: 600px) and (max-width: 899px) {
  .hero-image {
    aspect-ratio: 3 / 2;
    max-height: 52vh;
  }
  .hero-image img { object-position: center 25%; }
}

/* tablet landscape + desktop: two columns */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.25fr 1fr;
    grid-template-areas: "text image";
    gap: 56px;
    align-items: stretch;
  }
  .hero-text {
    align-self: center;
    padding-top: 0;
  }
  .hero-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 70vh;
  }
}

@media (min-width: 1280px) {
  .hero-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 80px;
  }
  .hero-text { gap: 28px; }
}

/* ─────────  SECTION HEAD  ───────── */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
}
.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 200;
  letter-spacing: -.022em;
  line-height: 1.02;
  max-width: 18ch;
}

/* ─────────  SERVICES  ───────── */
.services {
  padding: var(--section-y) var(--gut);
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: var(--rule);
}
.service-list {
  border-top: var(--rule);
}
.service-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas:
    "num name"
    ".   desc";
  gap: 6px 20px;
  padding: 28px 0;
  border-bottom: var(--rule);
  transition: padding-left .4s var(--ease);
}
.service-row:hover {
  padding-left: 12px;
}
.service-num {
  grid-area: num;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--mute);
  padding-top: 12px;
}
.service-name {
  grid-area: name;
  font-size: var(--fs-h3);
  font-weight: 200;
  letter-spacing: -.01em;
  line-height: 1.05;
}
.service-desc {
  grid-area: desc;
  font-size: var(--fs-body);
  color: var(--ink-soft);
  max-width: 56ch;
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1.4fr);
    grid-template-areas: "num name desc";
    align-items: baseline;
    gap: 40px;
    padding: 40px 0;
  }
  .service-num { padding-top: 0; }
}

/* ─────────  PROCESS  ───────── */
.process {
  padding: var(--section-y) var(--gut);
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: var(--rule);
}
.process-list {
  border-top: var(--rule);
}
.process-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: baseline;
  gap: 6px 20px;
  padding: 28px 0;
  border-bottom: var(--rule);
  transition: padding-left .4s var(--ease);
}
.process-row:hover {
  padding-left: 12px;
}
.process-num {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--mute);
}
.process-step {
  font-size: var(--fs-h3);
  font-weight: 200;
  letter-spacing: -.01em;
  line-height: 1.15;
  max-width: 36ch;
}
.process-aside {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, .6vw + 14px, 20px);
  color: var(--mute);
  max-width: 48ch;
}

@media (min-width: 768px) {
  .process-row {
    grid-template-columns: 80px 1fr;
    gap: 40px;
    padding: 40px 0;
  }
}

/* ─────────  FRAMES  ───────── */
.frames {
  padding: var(--section-y) var(--gut);
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: var(--rule);
}
.frames-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ─────────  ABOUT  ───────── */
.about {
  padding: var(--section-y) var(--gut);
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: var(--rule);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: var(--fs-lede);
  line-height: 1.55;
  max-width: 60ch;
}
.about-body strong { font-weight: 500; color: var(--ink); }

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
  }
  .about-head { margin-bottom: 0; }
}

.visit-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, .6vw + 14px, 20px);
  color: var(--mute);
}

/* ─────────  VISIT  ───────── */
.visit {
  padding: var(--section-y) var(--gut);
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: var(--rule);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.visit-card {
  padding: 32px 0;
  border-bottom: var(--rule-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.visit-card:last-child { border-bottom: 0; }
.card-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
}
.card-address {
  font-size: clamp(20px, 2.6vw + 8px, 32px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: clamp(18px, 1.6vw + 12px, 24px);
  font-weight: 300;
  letter-spacing: -.01em;
}
.contact-list a {
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.contact-list a:hover { border-bottom-color: var(--ink); }

.hours-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(15px, 1vw + 12px, 18px);
  font-weight: 300;
}
.hours-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  max-width: 280px;
}
.hours-row dt { font-weight: 400; }
.hours-row dd { margin: 0; color: var(--ink-soft); }

@media (min-width: 768px) {
  .visit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .visit-card {
    padding: 40px 40px;
    border-right: var(--rule-soft);
    border-bottom: 0;
  }
  .visit-card:first-child { padding-left: 0; }
  .visit-card:last-child  { padding-right: 0; border-right: 0; }
}

.map-wrap {
  margin-top: 48px;
  border: var(--rule);
  background: var(--paper-deep);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─────────  FOOTER  ───────── */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 6vw, 80px) var(--gut) 28px;
  margin-top: clamp(60px, 8vw, 120px);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(250, 250, 247, .15);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 48px; }
}
.footer-col p { font-size: 14px; line-height: 1.7; color: rgba(250, 250, 247, .75); }
.footer-col a { color: var(--paper); border-bottom: 1px solid rgba(250, 250, 247, .25); transition: border-color .25s var(--ease); }
.footer-col a:hover { border-bottom-color: var(--paper); }
.footer-label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, .55) !important;
  margin-bottom: 10px !important;
}
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, .55);
}

/* ─────────  FLOATING CONTACT (FAB)  ───────── */
.fab {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none; /* children re-enable */
}
@media (min-width: 768px) {
  .fab {
    right: calc(28px + env(safe-area-inset-right, 0px));
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }
}

/* hide FAB while the mobile menu overlay is open */
body.menu-open .fab { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* main circle */
.fab-main {
  position: relative;
  pointer-events: auto;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -8px rgba(10, 10, 10, .4), 0 2px 6px rgba(10, 10, 10, .12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease);
}
.fab-main:hover { box-shadow: 0 14px 34px -8px rgba(10, 10, 10, .5), 0 2px 6px rgba(10, 10, 10, .14); }
.fab-main:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.fab-main .fab-icon-closed,
.fab-main .fab-icon-open {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.fab-main .fab-icon-closed { opacity: 1; transform: rotate(0); }
.fab-main .fab-icon-open   { opacity: 0; transform: rotate(-45deg); }
.fab[aria-expanded="true"] .fab-main .fab-icon-closed { opacity: 0; transform: rotate(45deg); }
.fab[aria-expanded="true"] .fab-main .fab-icon-open   { opacity: 1; transform: rotate(0); }
@media (min-width: 768px) {
  .fab-main { width: 64px; height: 64px; }
}

/* menu items — stacked above, animated in */
.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.fab-menu[hidden] { display: flex; } /* animate instead of hiding */
.fab[aria-expanded="true"] .fab-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fab-option {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 18px 0 14px;
  background: var(--paper);
  color: var(--ink);
  border: var(--rule);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 8px 22px -10px rgba(10, 10, 10, .35);
  transform: translateY(6px);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
  cursor: pointer;
}
.fab-option:hover,
.fab-option:focus-visible {
  background: var(--ink);
  color: var(--paper);
}
.fab-option:focus-visible { outline: 0; }
.fab-option .fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  flex-shrink: 0;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.fab-option:hover .fab-icon,
.fab-option:focus-visible .fab-icon {
  background: var(--paper);
  color: var(--ink);
}
.fab[aria-expanded="true"] .fab-option {
  opacity: 1;
  transform: translateY(0);
}
.fab[aria-expanded="true"] .fab-option:nth-child(1) { transition-delay: .04s; }
.fab[aria-expanded="true"] .fab-option:nth-child(2) { transition-delay: .10s; }
.fab[aria-expanded="true"] .fab-option:nth-child(3) { transition-delay: .16s; }

/* brief copy-flash state */
.fab-option.is-flash {
  background: var(--ink);
  color: var(--paper);
}
.fab-option.is-flash .fab-icon { background: var(--paper); color: var(--ink); }

/* on very small phones, shorten labels to keep the stack tidy */
@media (max-width: 420px) {
  .fab-option .fab-label { max-width: 58vw; overflow: hidden; text-overflow: ellipsis; }
}

/* ─────────  MESSAGE MODAL  ───────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.modal[hidden] { display: flex; }
body.modal-open .modal {
  opacity: 1;
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--paper);
  border: var(--rule);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 44px) clamp(32px, 4vw, 44px);
  transform: translateY(24px);
  transition: transform .4s var(--ease);
}
body.modal-open .modal-panel { transform: translateY(0); }

@media (min-width: 640px) {
  .modal { align-items: center; padding: 24px; }
  .modal-panel { border-radius: 2px; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.modal-close:hover,
.modal-close:focus-visible {
  background: var(--ink);
  color: var(--paper);
  outline: 0;
}

.modal-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.modal-title {
  font-size: clamp(28px, 3.6vw + 12px, 44px);
  font-weight: 200;
  letter-spacing: -.022em;
  line-height: 1.05;
  margin-bottom: 10px;
  max-width: 14ch;
}
.modal-lede {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 24px;
}

/* form */
.msg-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: var(--rule);
  padding: 10px 0 12px;
  outline: none;
  resize: vertical;
  transition: border-color .25s var(--ease);
  border-radius: 0;
}
.field textarea { min-height: 96px; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--ink); }
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) { border-bottom-color: #b3261e; }

.msg-form .btn-primary { margin-top: 10px; align-self: flex-start; }

/* honeypot — hidden from users, bots fill it */
.honey {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--mute);
  max-width: 42ch;
}

/* ─────────  TOAST  ───────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 140;
  transform: translate(-50%, 12px);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 12px 32px -10px rgba(10, 10, 10, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.toast[hidden] { display: block; }
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 768px) {
  .toast {
    left: auto;
    right: calc(28px + env(safe-area-inset-right, 0px));
    bottom: calc(110px + env(safe-area-inset-bottom, 0px));
    transform: translate(0, 12px);
  }
  .toast.is-visible { transform: translate(0, 0); }
}

/* ─────────  INSURERS  ───────── */
.insurers {
  padding: clamp(48px, 6vw, 88px) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: var(--rule);
}
.insurers-note {
  text-align: center;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0 var(--gut);
  margin-bottom: clamp(28px, 3vw, 44px);
}
.insurers-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.insurers-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: insurers-scroll 38s linear infinite;
  will-change: transform;
}
.insurer-logo {
  height: clamp(26px, 2.4vw, 36px);
  width: auto;
  margin: 0 clamp(40px, 5vw, 72px);
  opacity: 0.6;
  filter: grayscale(1) contrast(1.05);
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease);
}
.insurers-marquee:hover .insurer-logo { opacity: 0.85; }

@keyframes insurers-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .insurers-track { animation: none; }
}

/* ─────────  PRINT  ───────── */
@media print {
  .site-header, .mobile-menu, .map-wrap, .hero-cta, .fab, .modal, .toast { display: none; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; padding-top: 0; }
}
