/* King Optical — ivory + ink + deep teal, Cormorant Garamond caps + Manrope */
:root {
  --ivory: #f7f2e8;
  --paper: #fffdf8;
  --ink: #16171a;
  --ink-2: #24262b;
  --teal: #0e6a6e;
  --teal-d: #0a4d51;
  --amber: #e3a53a;
  --line: rgba(22, 23, 26, .14);
  --f-head: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--teal-d); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; }
.utility { background: var(--ink); color: #e9e4d8; font-size: .8rem; letter-spacing: .04em; padding: .4rem 0; }
.utility a { color: #fff; text-decoration: none; font-weight: 700; }
.utility .util-name { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.utility .util-info { display: flex; gap: 1.25rem; }
.utility i { color: var(--amber); margin-right: .25rem; }

.site-nav { background: rgba(247, 242, 232, .97); border-bottom: 1px solid var(--line); padding: 0; position: relative; }
.nav-grid { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; min-height: 64px; }
.nav-side { list-style: none; margin: 0; padding: 0; gap: clamp(1.25rem, 3vw, 3rem); align-items: center; }
.nav-left { justify-content: flex-end; padding-right: 1.5rem; }
.nav-right { justify-content: flex-start; padding-left: 1.5rem; }
.nav-side a {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-side a:hover { border-bottom-color: var(--teal); color: var(--ink); }

.brand-badge {
  grid-column: 2;
  justify-self: center;
  align-self: start;
  position: relative;
  z-index: 3;
  display: block;
  width: 104px;
  height: 104px;
  margin-bottom: -48px;
  border: 4px solid var(--paper);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(22, 23, 26, .25);
  overflow: hidden;
  background: var(--ink);
}
.brand-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }

.navbar-toggler { grid-column: 3; justify-self: end; border: 1px solid var(--ink); padding: .35rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(14, 106, 110, .35); }
.mobile-nav { background: var(--ivory); border-top: 1px solid var(--line); }
.mobile-nav ul { list-style: none; margin: 0; padding: 1rem 12px 1.25rem; }
.mobile-nav a {
  display: block; padding: .7rem 0; font-family: var(--f-head); font-weight: 700;
  font-size: 1.5rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav li:last-child a { border-bottom: 0; font-family: var(--f-body); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--teal); }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--f-body); font-weight: 800; font-size: .78rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 1rem;
}
.eyebrow-light { color: var(--amber); }
.display {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; margin: 0 0 1.25rem;
}
.display.light { color: #fff; }
.lead-sm { font-size: 1.05rem; line-height: 1.7; color: #3b3d43; }
.lead-sm.light { color: #e6e1d5; }
.body-lg { font-size: 1.15rem; line-height: 1.85; color: #2e3036; }
.small-note { color: #55575e; margin-top: 1.25rem; }
.mini-head {
  font-family: var(--f-body); font-size: .75rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); margin: 1.75rem 0 .75rem;
}

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; overflow: hidden; }
.section-tint { background: var(--ivory); }
.section-ink { background: var(--ink); color: #fff; }

/* ---------- Hero (split panel, arch photo) ---------- */
.hero {
  position: relative;
  background: var(--ivory);
  padding: 96px 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; width: 760px; height: 300px; right: -220px; top: 70px; opacity: .1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 150' fill='none' stroke='%2316171a' stroke-width='3'%3E%3Ccircle cx='110' cy='80' r='62'/%3E%3Ccircle cx='290' cy='80' r='62'/%3E%3Cpath d='M172 70q28-24 56 0M48 70L6 40M352 70l42-30'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.4rem, 10vw, 8rem); line-height: .9; letter-spacing: .01em; margin: 0 0 1.5rem;
}
.hero-title span { display: block; color: var(--teal); }
.hero-lede { font-size: 1.15rem; line-height: 1.75; max-width: 34em; color: #2e3036; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.btn { border-radius: 0; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; padding: .95rem 1.6rem; }
.btn-ink { background: var(--ink); color: #fff; border: 2px solid var(--ink); }
.btn-ink:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 440px;
  margin-left: auto;
  border-radius: 999px 999px 14px 14px;
  background: url('img/hero.webp') center 52% / cover no-repeat;
  box-shadow: 18px 18px 0 var(--teal);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(22, 23, 26, .08); }

/* ---------- Pull-quote band ---------- */
.band { background: var(--teal); color: #fff; padding: clamp(2rem, 5vw, 3.25rem) 0; text-align: center; }
.band-text { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1.6rem, 4.4vw, 3.1rem); margin: 0; line-height: 1.1; }
.band-text em { color: var(--amber); font-style: normal; }

/* ---------- Services index ---------- */
.sticky-side { position: sticky; top: 170px; }
.notice { display: flex; gap: .85rem; background: var(--ivory); border-left: 4px solid var(--amber); padding: 1rem 1.15rem; margin-top: 1.75rem; }
.notice i { color: var(--teal); font-size: 1.3rem; line-height: 1.2; }
.notice p { margin: 0; line-height: 1.55; font-size: .95rem; }

.index-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.index-list > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem 2.5rem; padding: 1.9rem 0; border-bottom: 1px solid var(--line); }
.index-list h3 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; line-height: 1; }
.index-list p { margin: 0; line-height: 1.75; color: #34363c; }
.tick-list { list-style: none; padding: 0; margin: 1rem 0 0; grid-column: 2; }
.tick-list li { padding-left: 1.7rem; position: relative; margin-bottom: .4rem; font-weight: 500; }
.tick-list li::before { content: "\F26E"; font-family: bootstrap-icons; position: absolute; left: 0; color: var(--teal); }

/* ---------- Frames ---------- */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; max-width: 540px; }
.arch { margin: 0; border-radius: 999px 999px 12px 12px; overflow: hidden; background: var(--ink); }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arch.tall { aspect-ratio: 5 / 6; box-shadow: 10px 10px 0 var(--teal); }
.arch.short { aspect-ratio: 2 / 3; margin-top: 3rem; box-shadow: 10px 10px 0 var(--amber); }

.chip-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.chip-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chip-grid li {
  border: 1.5px solid var(--ink); padding: .8rem .6rem; text-align: center;
  font-weight: 800; font-size: .88rem; letter-spacing: .04em; background: var(--paper);
}
.chip-dark li { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; padding: 1.35rem .75rem; font-size: 1rem; }

/* ---------- Lenses ---------- */
.lens-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.lens-grid li {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 2rem 1.25rem; font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: 1.55rem; letter-spacing: .04em; line-height: 1.1; display: flex; flex-direction: column; gap: .7rem;
}
.lens-grid i { color: var(--teal); font-size: 1.5rem; }
.lens-grid .lens-quote { background: var(--ink); color: var(--amber); justify-content: center; text-transform: none; font-style: italic; font-size: 1.7rem; text-wrap: balance; }

.feature { background: var(--ivory); height: 100%; border: 1px solid var(--line); }
.feature img { width: 100%; height: auto; display: block; }
.feature-body { padding: 1.5rem 1.6rem 1.75rem; }
.feature h3 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; margin: 0 0 .5rem; }
.feature p { margin: 0; line-height: 1.7; }

/* ---------- About ---------- */
.antique { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items: end; }
.offset-frame { margin: 0; position: relative; }
.offset-frame::before { content: ""; position: absolute; inset: 0; transform: translate(14px, 14px); background: var(--teal); z-index: 0; }
.offset-frame.a2::before { background: var(--amber); }
.offset-frame img { position: relative; z-index: 1; width: 100%; height: auto; display: block; border: 6px solid var(--paper); }
.offset-frame.a2 { margin-bottom: 2.5rem; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; }
.faq .accordion-button {
  background: transparent; font-family: var(--f-head); font-weight: 700; font-size: 1.4rem; color: var(--ink);
  padding: 1.25rem 0; box-shadow: none; border-radius: 0;
}
.faq .accordion-button:not(.collapsed) { color: var(--teal); background: transparent; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(14, 106, 110, .3); }
.faq .accordion-body { padding: 0 0 1.5rem; line-height: 1.75; color: #34363c; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.25rem; line-height: 1.6; }
.contact-list i { color: var(--teal); font-size: 1.35rem; }
.contact-list a { font-weight: 700; }
.hours { width: 100%; max-width: 340px; border-top: 2px solid var(--ink); }
.hours th, .hours td { padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours th { font-weight: 700; }
.hours td { text-align: right; font-weight: 500; }
.storefront { margin: 0 0 1.25rem; }
.storefront img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.map-wrap { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--ivory); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e6e1d5; padding: 3rem 0 1.5rem; }
.logo-chip { background: var(--ivory); padding: 6px; border-radius: 10px; display: inline-block; line-height: 0; }
.logo-chip img { width: 64px; height: 64px; border-radius: 6px; display: block; }
.foot-name { font-family: var(--f-head); font-size: 1.6rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.foot-sub { font-size: .88rem; color: #bfb9ab; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.foot-links a:hover { color: var(--amber); }
.social { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 50%; margin-left: .35rem; text-decoration: none; font-size: 1.1rem; }
.social:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; color: #bfb9ab; }
.powered { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); padding: .35rem .8rem; border-radius: 999px; }
.powered i { color: var(--amber); }
.powered:hover { background: var(--amber); color: var(--ink); }
.powered:hover i { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  html { scroll-padding-top: 120px; }
  .nav-grid { grid-template-columns: 1fr 104px 1fr; min-height: 56px; }
  .nav-grid::before { content: ""; }
  .brand-badge { width: 84px; height: 84px; margin-bottom: -34px; }
  .hero { padding-top: 70px; }
  .hero-photo { margin: 1rem auto 0; max-width: 360px; box-shadow: 12px 12px 0 var(--teal); }
  .sticky-side { position: static; }
  .lens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-pair { margin: 0 auto; }
}
@media (max-width: 767.98px) {
  .index-list > li { grid-template-columns: 1fr; gap: .75rem; }
  .tick-list { grid-column: 1; }
  .antique { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .chip-grid li { font-size: .78rem; padding: .7rem .35rem; }
  .chip-dark li { font-size: .88rem; padding: 1rem .4rem; }
}
@media (max-width: 575.98px) {
  .hero::before { opacity: .05; }
  .utility .util-info a { font-size: .85rem; }
  .lens-grid li { padding: 1.4rem .9rem; font-size: 1.25rem; }
  .lens-grid .lens-quote { font-size: 1.35rem; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
