/* EyeWear Studio preview. Clean and calm: white paper, navy ink, one red accent taken from the storefront sign. */
:root {
  --ink: #14213d;
  --ink-soft: #46506a;
  --paper: #ffffff;
  --alt: #f6f4f0;
  --line: #e2ded6;
  --field: #686f83;
  --accent: #b3261e;
  --gold: #d99a00;
  --navy-soft: #c9d0e0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -24px rgba(20, 33, 61, .28);
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.025em; }
h3, .h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { text-wrap: pretty; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { width: min(760px, 100%); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 56ch; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.note { margin-top: 20px; font-size: .95rem; color: var(--ink-soft); }
.note a { font-weight: 600; }
.note--box { background: var(--alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link svg { transition: transform .25s ease; }
.link:hover svg, a:hover > .col-card__text .link svg { transform: translateX(4px); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn--lg { min-height: 54px; padding-inline: 26px; font-size: 1.05rem; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #0c1730; transform: translateY(-1px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* top bar and header */
.topbar { background: var(--ink); color: #fff; font-size: .88rem; }
.topbar__in { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; white-space: nowrap; }
a.topbar__item:hover span { text-decoration: underline; }
.topbar__status { color: var(--navy-soft); }
.topbar__lang { margin-left: auto; color: #fff; font-weight: 600; text-decoration: none; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 2px 12px; }
.topbar__lang:hover { background: #fff; color: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(20, 33, 61, .5); }
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.55rem; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.wordmark svg { width: 38px; height: 16px; fill: var(--accent); stroke: none; }
.wordmark b { font-weight: 400; font-style: italic; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--accent); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); background: none; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn i { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(72px, 10vw, 130px); background: linear-gradient(180deg, var(--paper) 0%, var(--alt) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.hero__text > * + * { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: .98rem; }
.rating span:last-child { border-bottom: 1px solid currentColor; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.hero__photo figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; }

/* info card */
.info { margin-top: clamp(-70px, -6vw, -44px); position: relative; z-index: 2; }
.info__card { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.info__col { padding: 28px clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.info__col + .info__col { border-left: 1px solid var(--line); }
.info__col h2 { font-size: 1.25rem; letter-spacing: -.01em; }
.info__col p { color: var(--ink-soft); font-size: .98rem; }
.info__col .btn, .info__col .link { margin-top: auto; }
.info__score { display: flex; align-items: center; gap: 10px; }
.info__score b { font-size: 2.2rem; line-height: 1; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.hours { width: 100%; font-size: .98rem; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours__row:last-child { border-bottom: 0; }
.hours dt { color: var(--ink-soft); }
.hours dd { font-weight: 500; text-align: right; }

/* brands */
.brands { padding-block: clamp(44px, 6vw, 72px); }
.brands__h { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); text-align: center; }
.brands__row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px clamp(28px, 4.4vw, 58px); }
.brands__row img { width: calc(var(--w) * 1px); height: auto; opacity: .86; }

/* section heads */
.sec-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head p { margin-top: 14px; font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-soft); }
.sec-head--light p { color: var(--navy-soft); }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* inside the studio */
.inside { background: var(--ink); color: #fff; padding-block: var(--sec); }
.inside__photos { display: grid; grid-template-columns: 1.9fr 1fr 1fr; gap: 14px; }
.inside__photos img { width: 100%; height: clamp(260px, 34vw, 440px); object-fit: cover; border-radius: var(--radius); }
.inside__features { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 24px; }
.feature h3 { font-size: 1.12rem; }
.feature p { margin-top: 10px; color: var(--navy-soft); font-size: .97rem; }

/* shop */
.shop { padding-block: var(--sec); }
.shop--page { padding-top: clamp(40px, 6vw, 72px); }
.shop--page h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.028em; }
.col-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.col-card { display: flex; flex-direction: column; background: var(--alt); border-radius: var(--radius); text-decoration: none; overflow: hidden; border: 1px solid transparent; transition: border-color .2s ease, transform .25s ease; }
.col-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.col-card__img { position: relative; display: block; aspect-ratio: 2 / 1; }
.col-card__img img { position: absolute; left: 18px; top: 10px; width: calc(100% - 36px); height: calc(100% - 10px); object-fit: contain; mix-blend-mode: multiply; }
.col-card__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 24px 24px; }
.col-card__text b { font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; }
.col-card__text > span:not(.link) { color: var(--ink-soft); font-size: .97rem; }
.col-card__text .link { margin-top: 12px; font-size: .97rem; }
.shop__bar { margin-top: clamp(40px, 5vw, 64px); display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.shop__bar h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.products { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
.product__img { background: var(--alt); border-radius: var(--radius-sm); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 12px; }
.product__img img { width: 100%; mix-blend-mode: multiply; }
.product__brand { margin-top: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.product__name { margin-top: 4px; font-size: 1.05rem; letter-spacing: -.01em; }
.product__colour { font-size: .93rem; color: var(--ink-soft); }
.product__price { margin-top: 6px; font-weight: 600; }
.product[hidden] { display: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { font: inherit; font-weight: 500; font-size: .97rem; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--paper); color: var(--ink); cursor: pointer; }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* family */
.family { background: var(--alt); padding-block: var(--sec); }
.family__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.family__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.family .lead { margin-top: 18px; }
.points { margin-top: 30px; display: grid; gap: 22px; }
.points li { display: flex; gap: 16px; }
.points p { margin-top: 4px; color: var(--ink-soft); }
.tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.tick svg { width: 16px; height: 16px; stroke-width: 2.4; }

/* exams */
.exams { padding-block: var(--sec); }
.exams__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.exams .lead { margin-block: 18px 30px; }
.exams__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--paper); }
.card--wide { grid-column: 1 / -1; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--ink-soft); }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .tick { width: 24px; height: 24px; margin-top: 2px; }
.ticks .tick svg { width: 13px; height: 13px; }
.cover__row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cover__row:first-child { padding-top: 0; }
.cover__row:last-child { border-bottom: 0; padding-bottom: 0; }
.cover dt { font-weight: 600; }
.cover dd { color: var(--ink-soft); font-size: .97rem; }

/* insurance */
.insurance { background: var(--alt); padding-block: var(--sec); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .97rem; }

/* visit */
.visit { padding-block: var(--sec); }
.visit__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.visit .lead { margin-top: 16px; }
.visit .lead a, address a { font-weight: 600; }
.form { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--field); border-radius: var(--radius-sm); }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--accent); }
.err { margin-top: 6px; color: var(--accent); font-size: .92rem; font-weight: 500; }
.form__end { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fine { font-size: .9rem; color: var(--ink-soft); }
.form__ok { grid-column: 1 / -1; background: var(--alt); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--radius-sm); padding: 20px 22px; }
.form__ok p { margin-top: 6px; color: var(--ink-soft); }
.visit__side { background: var(--alt); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
address { font-style: normal; display: grid; gap: 12px; }
address a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }

/* reviews: two rows that move in opposite directions and pause on hover or focus */
.reviews { padding-block: var(--sec) clamp(56px, 7vw, 96px); overflow: hidden; border-top: 1px solid var(--line); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.marquee__track { display: flex; gap: 16px; width: max-content; padding-inline: 8px; animation: slide 70s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 78s; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }
.review { flex: none; width: min(380px, 80vw); background: var(--alt); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { font-size: 1.02rem; line-height: 1.5; }
.review__by { margin-top: auto; font-weight: 600; font-size: .95rem; }

/* footer */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(48px, 6vw, 72px) 28px; }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark svg { fill: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.1fr; gap: 36px; }
.site-footer__tag { margin-top: 16px; color: var(--navy-soft); max-width: 30ch; }
.site-footer__h { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--navy-soft); margin-bottom: 14px; }
.site-footer__list { display: grid; gap: 9px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.hours--foot .hours__row { border-color: rgba(255, 255, 255, .16); }
.hours--foot dt { color: var(--navy-soft); }
.site-footer__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--navy-soft); }
.site-footer__base a { text-decoration: underline; }

/* prose page */
.prose { padding-block: clamp(48px, 7vw, 90px); }
.prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.028em; }
.prose h2 { font-size: 1.35rem; margin-top: 34px; }
.prose p { margin-top: 12px; color: var(--ink-soft); }
.prose .link { color: var(--ink); margin-top: 24px; }

/* phone dock */
.dock { display: none; }

/* gentle reveal, only when scripts run and motion is welcome */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .nav ul { gap: 18px; }
  .nav a { font-size: .93rem; }
  .info__card { grid-template-columns: 1fr 1fr; }
  .info__col:nth-child(3) { border-left: 0; }
  .info__col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .inside__features { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar__addr { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .site-header__cta { display: none; }
  .site-header__in { min-height: 66px; gap: 14px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(20, 33, 61, .5); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--pad) 18px; }
  .nav a { display: block; padding: 14px 0; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
  .hero__grid, .family__grid, .exams__grid, .visit__grid { grid-template-columns: 1fr; }
  .hero__photo img { aspect-ratio: 4 / 3; }
  .col-cards { grid-template-columns: 1fr; }
  .col-card { flex-direction: row; align-items: center; }
  .col-card__img { width: 42%; flex: none; aspect-ratio: 3 / 2; }
  .col-card__text { padding: 18px 18px 18px 6px; }
  .inside__photos { grid-template-columns: 1fr 1fr; }
  .inside__photos img:first-child { grid-column: 1 / -1; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease; }
  .dock.is-on { transform: none; }
  .dock .btn { min-height: 50px; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .topbar__in { gap: 14px; }
  .topbar__status { display: none; }
  .wordmark { font-size: 1.36rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .info__card { grid-template-columns: 1fr; }
  .info__col + .info__col { border-left: 0; border-top: 1px solid var(--line); }
  .inside__features, .exams__cards, .form { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .brands__row { gap: 22px 30px; }
  .brands__row img { width: calc(var(--w) * .82px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-bottom: 8px; }
  .marquee__track { animation: none; }
  .review[aria-hidden="true"] { display: none; }
}
