/* ============================================================
   Eye Koni Optical — Lawton, OK
   Editorial boutique optical aesthetic
   Type: Playfair Display (serif) + Inter Tight (sans)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Layout */
  /* Color */
  --ink: #0F0F0E;
  --ink-soft: #2A2926;
  --ink-mute: #57544E;
  --bone: #F5F1EA;
  --bone-deep: #ECE5D8;
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --amber: #B8623A;
  --amber-deep: #9C4F2C;
  --line: rgba(15, 15, 14, 0.12);
  --line-soft: rgba(15, 15, 14, 0.06);

  /* Type */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.375rem, 1.6vw + 1rem, 1.875rem);
  --text-2xl: clamp(1.875rem, 2.4vw + 1rem, 2.875rem);
  --text-3xl: clamp(2.5rem, 4vw + 1rem, 4.5rem);
  --text-hero: clamp(3rem, 6vw + 1rem, 6.5rem);

  /* Space */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --s-8: 8rem;

  /* Section padding */
  --section-y: clamp(4rem, 8vw, 8rem);

  --max-w: 1320px;
  --max-w-narrow: 880px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h2 { font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: var(--text-xl); line-height: 1.15; letter-spacing: -0.01em; }
h4 { font-size: var(--text-lg); line-height: 1.25; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }
p { color: var(--ink-soft); }
.lede { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--max-w-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone); padding: 0.75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.96);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  padding-block: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 44px; width: auto; }
.brand-text {
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-links { display: flex; gap: var(--s-4); align-items: center; }
.nav-links a:not(.nav-cta) {
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding: 0.5rem 0;
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:not(.nav-cta):hover, .nav-links a:not(.nav-cta).is-active { color: var(--ink); }
.nav-links a:not(.nav-cta).is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--amber);
}
.nav-links a.nav-cta,
.nav-cta {
  font-size: 0.78rem;
  padding: 1.35rem 2.1rem !important;
  background: var(--ink);
  color: var(--paper) !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
  margin-left: 1rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  border: 1px solid var(--ink);
  line-height: 1;
  min-height: 54px;
}
.nav-cta::after {
  content: "→";
  font-size: 1em;
  transition: transform .25s var(--ease);
  display: inline-block;
  opacity: 0.9;
}
.nav-cta:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--paper) !important; }
.nav-cta:hover::after { transform: translateX(2px); }
/* Override .is-active underline treatment for the CTA */
.nav-cta.is-active::after, .nav-links .nav-cta::after { content: none !important; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { bottom: -6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: var(--paper);
    padding: var(--s-3) var(--gutter) var(--s-4);
    border-bottom: 1px solid var(--line-soft);
    gap: var(--s-2);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: var(--text-lg); padding: 0.5rem 0; }
  .nav-cta { align-self: stretch; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
  min-height: 48px;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--amber); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--amber { background: var(--amber); color: var(--paper); }
.btn--amber:hover { background: var(--amber-deep); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.text-link:hover { color: var(--amber); border-color: var(--amber); }
.text-link--on-dark { color: var(--paper); border-color: rgba(245, 241, 234, 0.4); margin-top: 1.5rem; }
.text-link--on-dark:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 880px);
  display: grid;
  overflow: hidden;
  background: var(--bone);
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center right;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(245,241,234,0.92) 0%, rgba(245,241,234,0.55) 38%, rgba(245,241,234,0) 65%);
  z-index: 1;
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  display: flex; align-items: center;
}
.hero__copy { max-width: 38rem; }
.hero__eyebrow { margin-bottom: 1.25rem; display: inline-flex; align-items: center; gap: 0.75rem; }
.hero__eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--amber); display: inline-block;
}
.hero__title {
  font-family: var(--serif);
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--amber-deep);
  font-weight: 400;
}
.hero__sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2.25rem;
  max-width: 32rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__meta {
  position: absolute; bottom: var(--s-3); left: 0; right: 0;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; justify-content: space-between; gap: var(--s-3);
  font-size: var(--text-xs);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__meta span:last-child { display: none; }
@media (min-width: 1100px) {
  .hero__meta span:last-child { display: inline; }
}
@media (max-width: 720px) {
  .hero__veil {
    background: linear-gradient(180deg, rgba(245,241,234,0.85) 0%, rgba(245,241,234,0.55) 40%, rgba(245,241,234,0.9) 100%);
  }
  .hero__media img { object-position: center; }
  .hero__meta { display: none; }
}

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  position: relative;
  background: var(--bone);
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.page-hero__copy { max-width: 36rem; }
.page-hero__title {
  font-size: var(--text-3xl);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 1rem 0 1.25rem;
}
.page-hero__title em { font-style: italic; color: var(--amber-deep); }
.page-hero__sub { font-size: var(--text-lg); color: var(--ink-soft); max-width: 32rem; }
.page-hero__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}
.page-hero__img img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 820px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero__img { aspect-ratio: 16/10; }
}

/* ---------- Breadcrumb ---------- */
.crumb {
  font-size: var(--text-xs);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}
.crumb a:hover { color: var(--amber); }
.crumb span { margin-inline: 0.5rem; opacity: 0.6; }

/* ---------- Section heading ---------- */
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1rem; display: inline-block; }
.section-head h2 + p { margin-top: 1rem; font-size: var(--text-lg); color: var(--ink-soft); }

/* ---------- Category tiles (Home) ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bone-deep);
  display: block;
  isolation: isolate;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.tile:hover img { transform: scale(1.04); }
.tile__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: linear-gradient(180deg, rgba(15,15,14,0) 45%, rgba(15,15,14,0.55) 100%);
  color: var(--paper);
}
.tile__kicker {
  font-family: var(--sans);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.8);
  margin-bottom: 0.4rem;
}
.tile__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.05;
  color: var(--paper);
}
.tile__arrow {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(251, 248, 243, 0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.tile:hover .tile__arrow { background: var(--amber); transform: translate(2px, -2px); }
.tile:hover .tile__arrow svg { stroke: var(--paper); }
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4/3; }
}

/* ---------- Editorial split (Home / Rx page) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bone-deep);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: 1.25rem; }
.split__body p { margin-bottom: 1rem; }
.split__body .lede { margin-bottom: 1.5rem; }
.split__list { list-style: none; padding: 0; margin: 1.75rem 0 2rem; }
.split__list li {
  display: flex; gap: 0.85rem; align-items: baseline;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  font-size: var(--text-base);
  color: var(--ink-soft);
}
.split__list li:last-child { border-bottom: 1px solid var(--line); }
.split__list li strong { color: var(--ink); font-weight: 500; font-family: var(--serif); font-size: 1.05em; }
.split__list .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--amber);
  min-width: 1.75rem;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 4/3; }
}

/* ---------- Promise band (replaces stats) ---------- */
.promise {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: end;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promise__intro {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.25;
  color: var(--ink);
  font-style: italic;
  letter-spacing: -0.01em;
  max-width: 22rem;
}
.promise__intro::before {
  content: "";
  display: block;
  width: 32px; height: 1px;
  background: var(--amber);
  margin-bottom: 1rem;
}
.promise__item {
  display: flex; flex-direction: column;
  gap: 0.4rem;
}
.promise__num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-weight: 500;
}
.promise__num em {
  font-style: italic;
  color: var(--amber-deep);
  font-weight: 400;
}
.promise__label {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.4rem;
}
@media (max-width: 820px) {
  .promise { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .promise__intro { grid-column: 1 / -1; margin-bottom: 0.5rem; }
}
@media (max-width: 480px) {
  .promise { grid-template-columns: 1fr; }
}

/* ---------- Brand strip (Home) ---------- */
.brand-strip {
  background: var(--ink);
  color: var(--bone);
  padding-block: clamp(4rem, 7vw, 6.5rem);
}
.brand-strip .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.brand-strip__intro { max-width: 28rem; }
.brand-strip h2 {
  color: var(--bone);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 1rem;
}
.brand-strip .eyebrow { color: var(--amber); }
.brand-strip p { color: rgba(245, 241, 234, 0.7); margin-top: 1rem; font-size: var(--text-sm); line-height: 1.65; }

.brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: 0;
  border-top: 1px solid rgba(245, 241, 234, 0.18);
}
.brand-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.12);
  color: rgba(245, 241, 234, 0.9);
}
.brand-list__name {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.005em;
}
.brand-list__tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}
.brand-list li:last-child .brand-list__name,
.brand-list li:nth-last-child(-n+2) .brand-list__name {
  /* keep regular */
}
.brand-list li:last-child {
  color: rgba(245, 241, 234, 0.55);
  font-style: italic;
}
@media (max-width: 820px) {
  .brand-strip .container { grid-template-columns: 1fr; gap: 2rem; }
  .brand-list { grid-template-columns: 1fr; }
}

/* ---------- Inside-the-shop full bleed ---------- */
.shop-bleed {
  position: relative;
  padding-block: 0;
  margin-block: clamp(2rem, 5vw, 4rem) 0;
}
.shop-bleed__img {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--bone-deep);
}
.shop-bleed__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.shop-bleed__caption {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.shop-bleed__caption .eyebrow { color: var(--amber); }
.shop-bleed__caption p {
  margin-top: 0.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 38rem;
  margin-left: auto; margin-right: auto;
}
@media (max-width: 720px) {
  .shop-bleed__img { aspect-ratio: 4 / 3; }
}

/* ---------- Promises (editorial vertical list) ---------- */
.promises {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.promise-item {
  display: grid;
  grid-template-columns: 96px 1.5fr 2fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.promise-item:first-child { border-top: 1px solid var(--line); }
.promise-item__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--amber-deep);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.promise-item__title {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 500;
}
.promise-item__body {
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.65;
}
.promise-item__body strong { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) {
  .promise-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.75rem 0;
  }
  .promise-item__num { font-size: 1.5rem; margin-bottom: 0; }
}

/* ---------- Visit (hours + map) ---------- */
.visit { background: var(--bone); }
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.visit__body { padding-block: var(--s-2); }
.visit__hours {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.visit__hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-base);
}
.visit__hours .day { color: var(--ink); }
.visit__hours .time { color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.visit__hours .closed { color: var(--amber-deep); font-style: italic; }
.visit__addr {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-size: var(--text-lg);
  line-height: 1.4;
}
.visit__contact { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: var(--text-sm); }
.visit__contact a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.visit__contact a:hover { color: var(--amber); border-color: var(--amber); }
.visit__map {
  position: relative;
  display: block;
  background: var(--bone-deep);
  min-height: 420px;
  width: 100%; max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.visit__map img {
  width: 100%; max-width: 100%; height: 100%; min-height: 420px;
  object-fit: cover; display: block;
  transition: transform .8s var(--ease);
}
.visit__map:hover img { transform: scale(1.03); }
.visit__map--wide { min-height: 460px; aspect-ratio: 16 / 5; width: 100%; max-width: 100%; }
.visit__map--wide img { min-height: 460px; height: 100%; width: 100%; max-width: 100%; }
@media (max-width: 820px) {
  .visit__map--wide { aspect-ratio: 4 / 3; min-height: 320px; }
  .visit__map--wide img { min-height: 320px; }
}
.visit__map-pin {
  position: absolute;
  left: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  background: var(--paper);
  padding: 1rem 1.25rem;
  max-width: 18rem;
  display: flex; flex-direction: column;
  gap: 0.2rem;
  border-left: 2px solid var(--amber);
  box-shadow: 0 18px 40px -22px rgba(15,15,14,0.35);
}
.visit__map-pin strong {
  font-family: var(--serif);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink);
}
.visit__map-pin > span {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.45;
}
.visit__map-cta {
  margin-top: 0.4rem !important;
  font-size: var(--text-xs) !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep) !important;
  font-weight: 500;
}
@media (max-width: 820px) {
  .visit__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 360px; }
  .visit__map img { min-height: 360px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.65rem; }
.site-footer a {
  color: rgba(245, 241, 234, 0.78);
  font-size: var(--text-sm);
  transition: color .2s var(--ease);
}
.site-footer a:hover { color: var(--amber); }
.site-footer .footer-brand img { height: 48px; width: auto; margin-bottom: 1.25rem; display: block; }
.site-footer .footer-brand p {
  color: rgba(245, 241, 234, 0.7);
  font-size: var(--text-sm);
  max-width: 22rem;
  line-height: 1.6;
}
.site-footer .footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 241, 234, 0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: var(--text-xs);
  color: rgba(245, 241, 234, 0.5);
  letter-spacing: 0.06em;
}
@media (max-width: 820px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer .container { grid-template-columns: 1fr; }
  .site-footer .footer-bottom { flex-direction: column; }
}

/* ---------- Frame Catalog ---------- */
.brand-search-bar {
  display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.brand-search-bar label {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.brand-search-bar input {
  flex: 1; min-width: 220px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.5rem 0;
  font-size: var(--text-base);
  font-family: var(--serif);
  color: var(--ink);
}
.brand-search-bar input::placeholder { color: var(--ink-mute); font-style: italic; }
.brand-search-bar input:focus { outline: 0; border-bottom-color: var(--amber); }
.brand-count {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brand-card {
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.25rem, 2vw, 1.75rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  transition: background .3s var(--ease);
  min-height: 130px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.brand-card:hover { background: var(--bone); }
.brand-card[data-featured="true"] { background: var(--bone-deep); }
.brand-card[data-featured="true"]:hover { background: var(--bone); }
.brand-card__name {
  font-family: var(--serif);
  font-size: var(--text-lg);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 500;
}
.brand-card__note {
  font-size: var(--text-xs);
  color: var(--ink-mute);
  margin-top: 0.4rem;
  font-style: italic;
  line-height: 1.5;
}
.brand-card__badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--paper);
  padding: 0.25rem 0.5rem;
  margin-top: 0.85rem;
  width: max-content;
  font-weight: 500;
}
.brand-card.is-hidden { display: none; }

/* ---------- Featured brands (boutique editorial cards) ---------- */
.featured-brands {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.featured-brand {
  background: var(--bone);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 2px solid var(--amber);
  display: flex; flex-direction: column;
  gap: 0.6rem;
  min-height: 240px;
}
.featured-brand--marquee {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  border-top-color: var(--amber);
}
.featured-brand--marquee .featured-brand__name { color: var(--bone); }
.featured-brand--marquee .featured-brand__desc { color: rgba(245, 241, 234, 0.75); }
.featured-brand--marquee .featured-brand__desc strong { color: var(--bone); }
.featured-brand--marquee .featured-brand__kicker { color: var(--amber); }
.featured-brand__kicker {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 500;
}
.featured-brand__name {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
  margin-top: 0.35rem;
}
.featured-brand__desc {
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 0.5rem;
}
.featured-brand__desc em { font-style: italic; color: var(--ink-mute); }
.featured-brand__tag {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 241, 234, 0.18);
}
@media (max-width: 960px) {
  .featured-brands { grid-template-columns: 1fr 1fr; }
  .featured-brand--marquee { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .featured-brands { grid-template-columns: 1fr; }
}

/* ---------- A-Z jump nav ---------- */
.brand-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  padding: 1.25rem 0;
  margin-block: 1.25rem 0.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.brand-jump a, .brand-jump__off {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  min-width: 1.5rem;
  text-align: center;
  padding: 0.15rem 0.35rem;
  transition: color .2s var(--ease);
}
.brand-jump a { color: var(--ink); }
.brand-jump a:hover { color: var(--amber-deep); }
.brand-jump__off { color: rgba(15,15,14,0.18); }

/* ---------- Alphabetical brand index ---------- */
.brand-index {
  display: flex;
  flex-direction: column;
}
.brand-letter {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2rem, 3.5vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.brand-letter.is-hidden { display: none; }
.brand-letter:first-child { border-top: 1px solid var(--line); }
.brand-letter__mark {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-style: italic;
  position: sticky;
  top: 84px;
}
.brand-letter__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
  row-gap: 0;
}
@media (max-width: 1024px) {
  .brand-letter__list { grid-template-columns: repeat(2, 1fr); }
}
.brand-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: background .2s var(--ease);
}
.brand-row:hover .brand-row__name { color: var(--amber-deep); }
.brand-row:hover .brand-row__note { color: var(--ink-soft); }
.brand-row.is-hidden { display: none; }
.brand-row__name {
  font-family: var(--serif);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}
.brand-row__note {
  font-size: var(--text-sm);
  color: var(--ink-mute);
  line-height: 1.5;
  font-style: italic;
}
@media (max-width: 720px) {
  .brand-letter { grid-template-columns: 1fr; gap: 0.75rem; padding: 1.5rem 0; }
  .brand-letter__mark { position: static; font-size: 2.5rem; }
  .brand-letter__list { grid-template-columns: 1fr; }
}

/* ---------- Lens / service list ---------- */
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.spec-list > div {
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.spec-list > div:nth-child(2n) { border-right: 0; }
.spec-list h3 { font-family: var(--serif); font-size: var(--text-lg); margin-bottom: 0.65rem; font-weight: 500; }
.spec-list p { font-size: var(--text-base); color: var(--ink-soft); }
@media (max-width: 720px) {
  .spec-list { grid-template-columns: 1fr; }
  .spec-list > div { border-right: 0; }
}

/* ---------- Categories block (Rx page Men/Women/Kids) ---------- */
.cat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.cat-card {
  display: block;
  background: var(--bone);
}
.cat-card__img { aspect-ratio: 3/4; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card__body { padding: 1.5rem; }
.cat-card__body h3 { font-family: var(--serif); font-size: var(--text-xl); margin-bottom: 0.5rem; }
.cat-card__body p { font-size: var(--text-base); color: var(--ink-soft); }
@media (max-width: 820px) { .cat-row { grid-template-columns: 1fr; } }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-info h3 { font-family: var(--serif); font-size: var(--text-xl); margin-bottom: 1rem; }
.contact-info p { font-size: var(--text-base); color: var(--ink-soft); margin-bottom: 1.25rem; }
.contact-info dl { margin: 1.75rem 0 0; }
.contact-info dt {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 1.25rem;
}
.contact-info dd {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-size: var(--text-lg);
  color: var(--ink);
}
.contact-info dd a:hover { color: var(--amber); }
.form { display: grid; gap: 1.25rem; }
.form .field { display: grid; gap: 0.4rem; }
.form label {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form input, .form textarea, .form select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  font-size: var(--text-base);
  font-family: var(--sans);
  color: var(--ink);
  transition: border-color .2s var(--ease);
  min-height: 48px;
  resize: vertical;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0;
  border-bottom-color: var(--amber);
}
.form textarea { min-height: 140px; line-height: 1.55; }
.form .btn { margin-top: 0.75rem; justify-self: start; }
.form-success {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bone);
  border-left: 3px solid var(--amber);
  font-size: var(--text-sm);
  color: var(--ink);
  display: none;
}
.form-success.is-visible { display: block; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
/* Legacy .reveal class — always visible, no scroll-gating. */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
