/* Header logo with tagline (shared with the home page) */
.brand { --bh: 72px; display: block; position: relative; text-decoration: none; flex: none; }
.brand .brand__img { height: var(--bh); width: auto; display: block; max-width: none; }
.brand__tag { position: absolute; left: 36.5%; right: 0; top: 87.5%; display: flex; align-items: center; gap: 4%; margin: 0; font-size: calc(var(--bh) * 0.078); line-height: 1; font-weight: 500; letter-spacing: 0; white-space: nowrap; color: #2b2b2b; }
.brand__tag::before, .brand__tag::after { content: ""; flex: 1 1 0; min-width: 4px; height: 1.5px; background: #d62828; border-radius: 2px; }
.brand__tag span { flex: none; }
@media (max-width: 900px) { .brand { --bh: 62px; } }
body.v1 { --top-h: 86px; }
body.v1 .top { height: var(--top-h); }
html:has(body.v1) { scroll-padding-top: 86px; }
@media (max-width: 900px) { body.v1 { --top-h: 76px; } html:has(body.v1) { scroll-padding-top: 76px; } }

/* Opening offer: spectacles bring the eye test and hearing aid into focus (replaces the sunglasses glare) */
body.v1 .glare__photo--bright { filter: blur(9px) brightness(1.02) saturate(.8) contrast(.9); transform: scale(1.04); }
body.v1 .glare__photo--bright::after { background: linear-gradient(90deg, rgb(255 255 255 / 92%) 0, rgb(255 255 255 / 80%) 34%, rgb(255 255 255 / 25%) 62%, rgb(255 255 255 / 0%) 82%); }
body.v1 .glare__photo--tint { filter: brightness(.9) contrast(1.05) saturate(1.1); }
body.v1 .is-full .glare__copy { text-shadow: 0 2px 22px rgb(0 0 0 / 55%); }
body.v1 .glare__big { color: #d62828; }
body.v1 .is-full .glare__big { color: #ffd479; }
body .shades__lens { fill: rgb(214 236 255 / 22%); stroke: #d62828; stroke-width: 11; }
body .shades__bridge, body .shades__arm { stroke: #d62828; }
body .shades__shine { fill: rgb(255 255 255 / 55%); }

/* Offer photo as a smaller framed panel, not full screen */
body.v1 .glare__photo--bright, body.v1 .glare__photo--tint {
	inset: 15% 4% 15% 47%; border-radius: 28px; clip-path: none;
	background-size: cover; background-position: center; background-color: #e6edf7;
}
body.v1 .glare__photo--tint { -webkit-mask-position: var(--mx, 0) var(--my, 0); mask-position: var(--mx, 0) var(--my, 0); }
body.v1 .glare__photo--bright { transform: none; }
body.v1 .glare__photo--bright::after { background: none; }
body.v1 .is-full .glare__copy { color: var(--ink); text-shadow: none; }
body.v1 .is-full .glare__big { color: #d62828; }
@media (max-width: 800px) {
	body.v1 .glare__photo--bright, body.v1 .glare__photo--tint { inset: 13% 6% 48% 6%; border-radius: 22px; }
}

/* Gift registration: header button (right corner) and popup */
.top__gift { position: fixed; z-index: 60; top: 13px; right: var(--gutter, 1.25rem); margin: 0; border: 0; cursor: pointer; font: 800 .95rem var(--display, inherit); white-space: nowrap; padding: .6em 1.1em; border-radius: 999px; background: var(--sun, #f0a030); color: var(--ink, #16203a); box-shadow: 0 8px 18px -8px rgb(214 40 40 / 55%); transition: transform .15s, background-color .2s; }
.top__gift:hover { background: #ffb851; transform: translateY(-1px); }
.top__gift .short { display: none; }
body.v1 .top__call { margin-left: auto; }
@media (min-width: 1100px) { body.v1 .top { padding-right: calc(var(--gutter, 1.25rem) + 280px); } }
body.v1 .top__nav { margin-left: auto; margin-right: 0; }
body.v1 .top__nav + .top__call { margin-left: 1.25rem; }
body.v1 .gift__form { display: none; }
body.v1 .gift__btn { min-height: 56px; padding: 0 2rem; border: 0; border-radius: 999px; background: var(--sun, #f0a030); color: var(--ink, #16203a); font: 800 1.15rem var(--display, inherit); cursor: pointer; }
body.v1 .gift__btn:hover { background: #ffb851; }
.gp { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgb(10 14 28 / 66%); backdrop-filter: blur(4px); }
.gp[hidden] { display: none; }
.gp__card { position: relative; width: min(460px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #16203a; color: #fff; border-radius: 24px; padding: 28px 26px 24px; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 70%); }
.gp__x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 12%); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.gp__title { font: 800 1.7rem/1.1 var(--display, inherit); padding-right: 40px; }
.gp__lede { margin: .5rem 0 1.2rem; color: #c9d0e0; }
body.v1 .gp .gift__form { display: block; }
body.gp-open { overflow: hidden; }
@media (max-width: 1099px) {
	.top__gift { top: auto; right: 14px; bottom: 16px; padding: .8em 1.2em; box-shadow: 0 12px 28px -8px rgb(0 0 0 / 45%); }
	.top__gift .long { display: none; }
	.top__gift .short { display: inline; }
}
@media (max-width: 520px) { body.v1 .brand { --bh: 50px; } body.v1 .top__call { font-size: .8rem; padding: .45em .75em; } body.v1 { --top-h: 68px; } }

/* Gift button: aligned with the header row, never overlapping the call pill */
@media (min-width: 1100px) {
	body.v1 .top__gift { top: calc((var(--top-h) - 44px) / 2); height: 44px; width: 304px; padding: 0; display: flex; align-items: center; justify-content: center; }
	body.v1 .top { padding-right: calc(var(--gutter, 1.25rem) + 304px + 20px); }
}

/* Bigger logo on the opening page too */
@media (min-width: 901px) { body.v1 { --top-h: 104px; } body.v1 .brand { --bh: 94px; } html:has(body.v1) { scroll-padding-top: 104px; } }
@media (min-width: 521px) and (max-width: 900px) { body.v1 { --top-h: 84px; } body.v1 .brand { --bh: 72px; } }
@media (max-width: 520px) { body.v1 { --top-h: 74px; } body.v1 .brand { --bh: 62px; } }

/* Wider logo artwork (960x217): tagline starts under the lettering */
.brand__tag { left: 30.8%; right: 1%; }

/* Opening v2 and v3 use the same header as v1: animated logo, links, call pill and gift button */
body.v2 .top, body.v3 .top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top-h); display: flex; align-items: center; justify-content: flex-start; gap: 1rem; padding: 0 var(--gutter); background: #fff; border-bottom: 1px solid rgb(22 32 58 / 8%); color: #16203a; pointer-events: auto; }
body.v2 .top__nav, body.v3 .top__nav { display: none; margin-left: auto; margin-right: 0; gap: 1.75rem; font-weight: 700; }
body.v2 .top__nav a, body.v3 .top__nav a { text-decoration: none; color: inherit; }
body.v2 .top__nav a:hover, body.v3 .top__nav a:hover { color: #d62828; }
body.v2 .top__call, body.v3 .top__call { margin-left: auto; font-weight: 700; text-decoration: none; white-space: nowrap; padding: .45em .9em; border-radius: 999px; background: #16203a; color: #fff; font-size: .95rem; }
body.v2 .top__call span, body.v3 .top__call span { display: none; }
body.v2 .top__nav + .top__call, body.v3 .top__nav + .top__call { margin-left: 1.25rem; }
body.v2 .top__gift, body.v3 .top__gift { text-decoration: none; display: inline-block; text-align: center; }
@media (min-width: 860px) { body.v2 .top__nav, body.v3 .top__nav { display: flex; } body.v2 .top__call span, body.v3 .top__call span { display: inline; } }
@media (min-width: 1100px) {
	body.v2 .top__gift, body.v3 .top__gift { top: calc((var(--top-h) - 44px) / 2); height: 44px; width: 304px; padding: 0; display: flex; align-items: center; justify-content: center; }
	body.v2 .top, body.v3 .top { padding-right: calc(var(--gutter, 1.25rem) + 304px + 20px); }
}
@media (min-width: 901px) { body.v2, body.v3 { --top-h: 104px; } body.v2 .brand, body.v3 .brand { --bh: 94px; } html:has(body.v2), html:has(body.v3) { scroll-padding-top: 104px; } }
@media (min-width: 521px) and (max-width: 900px) { body.v2, body.v3 { --top-h: 84px; } body.v2 .brand, body.v3 .brand { --bh: 72px; } }
@media (max-width: 520px) { body.v2, body.v3 { --top-h: 74px; } body.v2 .brand, body.v3 .brand { --bh: 62px; } body.v2 .top__call, body.v3 .top__call { font-size: .8rem; padding: .45em .75em; } }
