/* Optika Oros homepage — concept C "Sharpness" (owner-approved 2026-10-14).
   The eye chart is the hero; focus is the recurring idea. Self-hosted OFL fonts. */

/* Prize-draw headings (owner 2026-11-06: "feliratok Unbounded"). */
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/fonts/unbounded-latin-ext-700-normal.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: "Unbounded"; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/fonts/unbounded-latin-700-normal.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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations"); 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: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2-variations"); 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; }

:root {
  --night: #0c1215;
  --night-2: #131c20;
  --paper: #f6f7f5;
  --line: #d3dadc;
  --ink: #232223;
  --ink-soft: #565c5f;
  --on-night: #eef3f4;
  --on-night-soft: #a3b3b9;
  --cyan: #0790c9;
  --cyan-light: #4cadce;
  --cyan-text: #06709c;
  --cyan-button: #0477a7;
  /* One display face for every heading, one text face (owner 2026-11-06: one type system). */
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: 0.5rem; --s2: 0.75rem; --s3: 1rem; --s4: 1.5rem; --s5: 2.5rem; --s6: 4rem; --s7: 7rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 78rem;
  --inner: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter)));
  /* Spacing system (owner 2026-11-06: "professional standard" gaps).
     --edge: side padding that lines full-width bands up with the --inner content column.
     --section: vertical rhythm between sections; --head-gap: heading to its content. */
  --edge: max(var(--gutter), calc(50% - var(--max) / 2 + var(--gutter)));
  --section: clamp(3.5rem, 7vw, 6.5rem);
  --section-sm: clamp(2.5rem, 5vw, 4.5rem);
  --head-gap: clamp(1.5rem, 2.6vw, 2.25rem);
  --radius: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 1px 2px rgba(12, 18, 21, 0.06), 0 10px 30px rgba(12, 18, 21, 0.1);
  --shadow-lift: 0 2px 6px rgba(12, 18, 21, 0.1), 0 22px 48px rgba(12, 18, 21, 0.2);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--cyan-light); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
blockquote { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip-link { position: absolute; left: var(--s3); top: -4rem; z-index: 30; padding: var(--s2) var(--s3); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 650; }
.skip-link:focus { top: var(--s3); }

/* The shine is a background layer, so the button needs no overflow clipping and its glow can spread. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 var(--s5); border-radius: 999px; background: var(--cyan-button) linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.28) 50%, transparent 62%) 160% 0 / 260% 100% no-repeat; color: #fff; font-weight: 650; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(4, 119, 167, 0.28); transition: background-color 0.2s, background-position 0.9s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.button:hover { background-color: #036891; background-position: -60% 0; box-shadow: 0 12px 28px rgba(4, 119, 167, 0.4); }
.button:active { transform: scale(0.97); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover { transform: translateY(-2px); }
}

/* Header floats on the dark hero; the dark-ink logo sits on a light chip. */
/* Light top bar: the logo sits on it without a white box (owner request 2026-11-05: the box looked cheap).
   On the homepage the logo is in the hero instead, so the bar only has language and phone. */
.home-top { position: relative; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--edge); }
.brand { display: block; }
.brand img { width: 8.5rem; }
.home-body:not(.subpage) .home-top .brand { display: none; }
.top-actions { display: flex; align-items: center; gap: var(--s4); margin-left: auto; color: var(--ink); font-size: 0.9rem; font-weight: 500; }
.language-switch { display: flex; gap: 2px; }
.language-switch button { min-width: 2.75rem; min-height: 2.75rem; border: 0; border-radius: 8px; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 600; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.top-phone { text-decoration: none; }

.environment-banner { position: relative; z-index: 11; margin: 0; padding: 0.55rem var(--gutter); background: #fff4d6; color: #5c430b; font-size: 0.85rem; text-align: center; }

/* ---- Hero: the eye chart ---- */
/* Line sizes follow the shorter of width and height, so the whole chart fits a laptop screen too. */
/* Light hero with the logo above the shop name (owner request 2026-11-05: the logo on the homepage, not in the corner). */
.chart { min-height: min(calc(100svh - 4.5rem), 56rem); display: grid; place-content: center; justify-items: center; gap: var(--s4); padding: var(--s5) var(--gutter) var(--s6); background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #eef2f3 70%); color: var(--ink); text-align: center; }
.chart-logo { width: clamp(11rem, 26vw, 17rem); margin-bottom: calc(var(--s2) * -1); }
.chart-lines { display: grid; justify-items: center; gap: 0.12em; font-family: var(--display); font-weight: 700; line-height: 0.95; letter-spacing: 0.06em; text-transform: uppercase; }
.chart-lines span { display: block; }
.l1 { font-size: clamp(3rem, min(13vw, 13.5svh), 10.5rem); letter-spacing: 0.06em; color: var(--night); }
.l2 { font-size: clamp(2.3rem, min(9.5vw, 9.5svh), 7.5rem); letter-spacing: 0.08em; color: var(--cyan); }
/* The company's full name, small under the shop name (owner request 2026-11-05). */
.l-company { margin: 0.3em 0 0.45em; font-family: var(--text); text-transform: none; font-size: clamp(0.75rem, 1.5vw, 1.05rem); font-weight: 600; letter-spacing: 0.16em; color: var(--ink-soft); }
.l3 { font-size: clamp(1.6rem, min(6vw, 6.2svh), 4.6rem); font-weight: 600; }
.l4 { margin-top: 0.6em; max-width: 42ch; font-size: clamp(0.8rem, 1.9vw, 1.35rem); font-weight: 600; letter-spacing: 0.2em; line-height: 1.4; }
.l5 { font-size: clamp(0.8rem, 1.2vw, 0.95rem); letter-spacing: 0.12em; color: var(--ink-soft); }
.chart-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s3) var(--s4); margin-top: var(--s4); }
/* ---- Light hero effects (owner 2026-11-06): colour light + fog that lifts on scroll ----
   Only transform/opacity animate (cheap for the browser); --lift comes from home.js. */
.chart, .camp-slide { position: relative; overflow: hidden; isolation: isolate; }
.chart > :not(.hero-fx), .camp-slide > :not(.hero-fx) { position: relative; z-index: 1; }
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fx-aurora { position: absolute; inset: 0; transform-origin: 50% 40%; transform: scale(calc(1 + var(--lift, 0) * 0.35)); opacity: calc(0.8 - var(--lift, 0) * 0.7); }
.fx-aurora i { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; filter: blur(70px); opacity: 0.4; mix-blend-mode: multiply; }
.fx-aurora i:nth-child(1) { left: -15vmax; top: -20vmax; background: #e1f1f7; animation: aurora-1 18s ease-in-out infinite alternate; }
.fx-aurora i:nth-child(2) { right: -20vmax; top: -10vmax; background: #e6f4f4; animation: aurora-2 22s ease-in-out infinite alternate; }
.fx-aurora i:nth-child(3) { left: 10vmax; bottom: -30vmax; background: #e8eff9; animation: aurora-3 20s ease-in-out infinite alternate; }
.fx-aurora i:nth-child(4) { right: 0; bottom: -25vmax; background: #f0f6f8; animation: aurora-4 26s ease-in-out infinite alternate; }
@keyframes aurora-1 { to { transform: translate(18vmax, 14vmax) scale(1.15); } }
@keyframes aurora-2 { to { transform: translate(-20vmax, 16vmax) scale(0.9); } }
@keyframes aurora-3 { to { transform: translate(16vmax, -14vmax) scale(1.2); } }
@keyframes aurora-4 { to { transform: translate(-14vmax, -18vmax) scale(1.1); } }
.fx-fog { position: absolute; inset: 0; transform: translateY(calc(var(--lift, 0) * -28%)); opacity: calc(1 - var(--lift, 0)); }
.fx-fog i { position: absolute; top: -10%; left: 0; width: 200%; height: 120%; background-size: 50% 100%; background-repeat: repeat-x; }
.fx-fog i:nth-child(1) { background-image: url(/assets/fx/fog-1.webp); opacity: 0.9; animation: fog-a 60s linear infinite; }
.fx-fog i:nth-child(2) { background-image: url(/assets/fx/fog-2.webp); opacity: 0.7; transform: scaleY(-1); animation: fog-b 90s linear infinite; }
@keyframes fog-a { to { transform: translateX(-50%); } }
@keyframes fog-b { from { transform: translateX(-50%) scaleY(-1); } to { transform: translateX(0) scaleY(-1); } }

/* Calmer hero: the logo reads "Optika Oros", so the big lettering stays for search engines and screen readers only. */
.chart .l1, .chart .l2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chart .l5 { display: none; }
.chart-logo { width: clamp(14rem, 30vw, 22rem); margin-bottom: 0; }

/* ---- Prize draw slide: light, lively ---- */
.camp-slide { display: grid; align-items: center; justify-items: center; gap: var(--s5) var(--s6); min-height: min(calc(100svh - 4.5rem), 56rem); padding: var(--section-sm) var(--edge); background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #eef2f3 70%); color: var(--ink); }
.camp-slide-text { display: grid; justify-items: start; gap: var(--s3); max-width: 36rem; }
.camp-slide-logo { width: clamp(8.5rem, 12vw, 11rem); margin-bottom: var(--s2); }
.camp-slide-kicker { color: var(--cyan-text); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.camp-slide h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.06; letter-spacing: -0.01em; }
.shimmer { background: linear-gradient(100deg, var(--night) 0%, var(--night) 40%, var(--cyan) 50%, var(--night) 60%, var(--night) 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s ease-in-out infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.camp-slide-lead { color: var(--ink-soft); font-size: 1.1rem; }
/* Owner 2026-11-10: next to the contest button, a second way in – booking an appointment. */
.camp-slide-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.button.button-outline { background: #fff; color: var(--cyan-text); box-shadow: inset 0 0 0 2px var(--cyan); }
.button.button-outline:hover { background: var(--cyan-soft, #e8f4f9); color: var(--cyan-text); box-shadow: inset 0 0 0 2px var(--cyan), 0 8px 20px rgba(4, 119, 167, 0.18); }
.camp-stage { position: relative; display: grid; justify-items: center; width: 100%; max-width: 46rem; }
.car-drive { position: relative; width: 100%; overflow: hidden; }
.camp-slide-car { width: 100%; }
.car-sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%); background-size: 250% 100%; mix-blend-mode: soft-light; animation: sweep 4.5s ease-in-out 1.6s infinite;
  /* Only over the car itself (its transparent background stays untouched). */
  -webkit-mask: url(/assets/sutaz/kia-picanto-milky-beige.webp) center / 100% 100% no-repeat; mask: url(/assets/sutaz/kia-picanto-milky-beige.webp) center / 100% 100% no-repeat; }
/* Soft ground shadow under the car photo (cheaper than a drop-shadow filter). */
.car-drive::before { content: ""; position: absolute; left: 12%; right: 10%; bottom: 3%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(12, 18, 21, 0.28), rgba(12, 18, 21, 0)); }
.camp-slide-car { position: relative; }
.car-note { margin: 0; color: var(--ink-soft); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
@keyframes sweep { from { background-position: 120% 0; } 45%, to { background-position: -30% 0; } }
.tickets { position: absolute; right: 4%; top: 2%; width: 7.5rem; height: 4rem; }
.tickets i { position: absolute; inset: 0; display: grid; place-items: center; border: 2px dashed #ffffff; border-radius: 10px; background: #035d82; color: #fff; font-family: var(--display); font-style: normal; font-weight: 700; box-shadow: 0 10px 24px rgba(4, 119, 167, 0.3); animation: ticket 6s ease-in-out infinite; }
.tickets i::after { content: "250 €"; }
.tickets i:nth-child(2) { animation-delay: 0.35s; }
.tickets i:nth-child(3) { animation-delay: 0.7s; }
@keyframes ticket { 0%, 8% { opacity: 0; transform: translateY(-30px) rotate(-14deg); } 18%, 80% { opacity: 1; transform: translateY(0) rotate(var(--tilt, 0deg)); } 92%, 100% { opacity: 0; transform: translateY(10px) rotate(var(--tilt, 0deg)); } }
.tickets i:nth-child(1) { --tilt: -8deg; } .tickets i:nth-child(2) { --tilt: 3deg; } .tickets i:nth-child(3) { --tilt: 12deg; }
.tickets-note { margin-top: var(--s1); color: var(--ink-soft); font-weight: 650; }
/* The car drives in whenever its slide comes up (and once on load without the slider). */
.camp-slide.swiper-slide-active .car-drive, .hero-slider:not(.is-sliding) .car-drive { animation: drive-in 1.6s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes drive-in { from { transform: translateX(60%); filter: blur(6px); opacity: 0.02; } 70% { filter: blur(0); } to { transform: translateX(0); opacity: 1; } }
.camp-slide.swiper-slide-active .camp-slide-text > *, .hero-slider:not(.is-sliding) .camp-slide-text > * { animation: rise 0.9s cubic-bezier(.16, 1, .3, 1) both; }
.camp-slide.swiper-slide-active .camp-slide-text > :nth-child(2), .hero-slider:not(.is-sliding) .camp-slide-text > :nth-child(2) { animation-delay: 0.12s; }
.camp-slide.swiper-slide-active .camp-slide-text > :nth-child(3), .hero-slider:not(.is-sliding) .camp-slide-text > :nth-child(3) { animation-delay: 0.24s; }
.camp-slide.swiper-slide-active .camp-slide-text > :nth-child(4), .hero-slider:not(.is-sliding) .camp-slide-text > :nth-child(4) { animation-delay: 0.36s; }
.camp-slide.swiper-slide-active .camp-slide-text > :nth-child(5), .hero-slider:not(.is-sliding) .camp-slide-text > :nth-child(5) { animation-delay: 0.48s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (min-width: 56rem) { .camp-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); justify-items: start; } .camp-slide .camp-stage { justify-self: end; } }
@media (prefers-reduced-motion: reduce) {
  .fx-aurora i, .fx-fog i, .shimmer, .car-sweep, .tickets i, .car-drive, .camp-slide-text > * { animation: none !important; }
  .shimmer { color: var(--night); background: none; }
  .tickets i { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
  .car-sweep { display: none; }
}

/* While sliding: both slides as tall as the taller one; dots and pause float at the bottom. */
.hero-slider.swiper .swiper-slide { height: auto; }
.hero-controls { position: absolute; z-index: 5; left: 50%; bottom: var(--s3); display: flex; align-items: center; gap: var(--s1); padding: 0 var(--s1); border-radius: 999px; background: rgba(255, 255, 255, 0.88); box-shadow: 0 4px 16px rgba(12, 18, 21, 0.15); transform: translateX(-50%); }
.hero-controls button { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font: inherit; cursor: pointer; }
.hero-pagination.swiper-pagination-horizontal, .hero-pagination { position: static; display: flex; align-items: center; width: auto; }
.hero-pagination .swiper-pagination-bullet { display: grid; place-items: center; width: 2.25rem; height: 2.75rem; margin: 0; border-radius: 999px; background: transparent; opacity: 1; cursor: pointer; }
.hero-pagination .swiper-pagination-bullet::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 999px; background: #b9c3c6; transition: width 0.4s var(--ease-out), background-color 0.4s; }
.hero-pagination .swiper-pagination-bullet-active::before { width: 1.8rem; background: var(--cyan-button); }

/* Booking not open yet: the main button already calls, so the second phone link goes. */
.booking-off .chart-actions .ghost { display: none; }
.ghost { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid #aebbbf; padding-bottom: 2px; transition: color 0.25s, border-color 0.25s; }
.ghost:hover { color: var(--cyan-text); border-color: var(--cyan); }
/* Dark sections keep the light link. */
.lens-text .ghost { color: var(--on-night); border-color: #3b4b51; }
.lens-text .ghost:hover { color: #fff; border-color: var(--cyan-light); }
.p-sign { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; flex: none; border-radius: 0.3em; background: #1f6fd1; color: #fff; font-family: var(--text); font-weight: 800; font-size: 0.9em; line-height: 1; }
.chart-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.9rem 0.35rem 0.4rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.chart-hint { margin-top: var(--s5); max-width: 36ch; font-size: 0.85rem; color: var(--ink-soft); }
@media (max-height: 760px) and (min-width: 48rem) {
  .chart { gap: var(--s3); padding-block: var(--s3) var(--s4); }
  .chart-actions { margin-top: var(--s2); }
  .chart-hint { margin-top: var(--s3); }
}

@media (prefers-reduced-motion: no-preference) {
  .chart-lines span, .l5 { animation: focus-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .l1 { animation-delay: 0.1s; }
  .l2 { animation-delay: 0.45s; }
  .l-company { animation-delay: 0.6s; }
  .l3 { animation-delay: 0.8s; }
  .l4 { animation-delay: 1.1s; }
  .l5 { animation-delay: 1.35s; }
  .chart-actions, .chart-badge, .chart-hint { animation: fade-in 0.8s ease 1.8s both; }
}
/* GSAP scroll motion (html.scroll-motion): own CSS properties, so they never fight the reveal transforms. */
.scroll-motion .person-photo img { scale: 1.12; translate: 0 var(--py, 0); }
.scroll-motion .lens-stage { scale: var(--open, 1); }
@keyframes focus-in {
  from { filter: blur(14px); opacity: 0.35; transform: scale(1.04); }
  to { filter: blur(0); opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- Person: cool duotone portrait ---- */
.person { display: grid; background: var(--night-2); color: var(--on-night); }
.person-photo { position: relative; margin: 0; overflow: hidden; }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% 25%; }
.person-text { display: grid; gap: var(--s3); align-content: center; max-width: 38rem; padding: var(--s6) var(--gutter); }
.person h2 { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 650; letter-spacing: -0.01em; line-height: 1.05; }
.role { color: var(--on-night-soft); }
.big-number { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2); margin: var(--s3) 0; }
.big-number span:first-child { font-family: var(--display); font-size: clamp(4rem, 10vw, 7.5rem); font-weight: 700; line-height: 0.9; color: var(--cyan-light); }
.person-intro { max-width: 42ch; color: #d3dde0; }

/* ---- Services: big rows; on hover the others soften ---- */
.services { width: var(--inner); margin: 0 auto; padding: var(--section) 0; }
.services h2, .lens-text h2 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 650; letter-spacing: -0.01em; line-height: 1.05; }
.service-list { list-style: none; margin: var(--head-gap) 0 var(--s4); padding: 0; border-top: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.2rem var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: opacity 0.25s, filter 0.25s; }
.service-list .name { font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 2.1rem); font-weight: 600; line-height: 1.15; }
.service-list .who { grid-column: 1; color: var(--ink-soft); }
.service-list .time { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 500; color: var(--cyan-text); font-variant-numeric: tabular-nums; }
.service-list a:hover .name, .service-list a:focus-visible .name { color: var(--cyan-text); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-list:hover a:not(:hover) { opacity: 0.35; filter: blur(1.5px); }
}
.services-note { color: var(--ink-soft); }

/* ---- Lens: blurred photo, sharp magnified circle ---- */
.lens-section { padding-top: var(--section); background: var(--night); color: var(--on-night); }
.lens-stage { position: relative; overflow: hidden; width: var(--inner); margin: 0 auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); --x: 62%; --y: 50%; --r: clamp(5rem, 12vw, 10rem); --zoom: 1.3; }
/* Without glasses: the photo is pre-blurred (small file), a little dim and flat. */
.lens-blur { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; filter: saturate(0.85) brightness(0.8); transform: scale(1.04); }
.lens-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, transparent 50%, rgba(5, 10, 12, 0.45)); pointer-events: none; }
/* Through the lens: sharp, magnified, true colour. */
.lens-sharp { position: absolute; inset: 0; z-index: 2; background: url(/assets/shop/lens-display-wide.webp) center / cover no-repeat; transform-origin: var(--x) var(--y); transform: scale(var(--zoom)); clip-path: circle(calc(var(--r) / var(--zoom)) at var(--x) var(--y)); filter: saturate(1.08) contrast(1.04); }
/* A spectacle lens: thin dark metal rim with a bright bevel, glass sheen, soft shadow. */
.lens-ring { position: absolute; z-index: 3; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 38%), radial-gradient(circle at 72% 82%, rgba(76, 173, 206, 0.16), rgba(76, 173, 206, 0) 46%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), inset 0 0 18px rgba(255, 255, 255, 0.12), 0 0 0 4px #10171a, 0 0 0 5px rgba(255, 255, 255, 0.28), 0 18px 44px rgba(0, 0, 0, 0.5); }
.lens-hint { position: absolute; z-index: 4; left: var(--s3); bottom: var(--s3); margin: 0; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(8, 14, 17, 0.72); color: #e6eef0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; backdrop-filter: blur(6px); }
.lens-hint-touch { display: none; }
@media (hover: none) { .lens-hint-mouse { display: none; } .lens-hint-touch { display: inline; } }
.lens-text { display: grid; gap: var(--s3); width: var(--inner); margin: 0 auto; padding: var(--s6) 0 var(--section); }
.lens-text p { max-width: 56ch; color: #d3dde0; }

/* ---- Gallery: real shop photos ---- */
.gallery { width: var(--inner); margin: 0 auto; padding: var(--section) 0 0; }
.gallery h2 { margin-bottom: var(--head-gap); font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 650; letter-spacing: -0.01em; line-height: 1.05; }
.gallery-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.gallery figure { margin: 0; scroll-snap-align: start; overflow: hidden; border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow-soft); transition: box-shadow 0.5s var(--ease-out); }
.gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 48rem) {
  .gallery-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery img { transition: transform 0.9s var(--ease-out); }
  .gallery figure:hover { box-shadow: var(--shadow-lift); }
  .gallery figure:hover img { transform: scale(1.06); }
}

/* ---- Quotes ---- */
.quotes { display: grid; gap: var(--s5); width: var(--inner); margin: 0 auto; padding: var(--section) 0; }
.quotes p { font-family: var(--text); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.quotes footer { margin-top: var(--s2); color: var(--ink-soft); }
.quotes-link { color: var(--cyan-text); font-weight: 650; }

/* ---- Visit ---- */
.visit { display: grid; gap: var(--head-gap); padding: var(--section) var(--gutter); background: var(--night); color: var(--on-night); }
.visit > * { width: 100%; max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; }
.visit > .button { width: auto; justify-self: start; margin-top: var(--s3); }
.visit h2 { font-family: var(--display); font-size: clamp(3rem, 9vw, 7rem); font-weight: 700; line-height: 0.95; }
.visit-grid { display: grid; gap: var(--s4); }
.visit h3 { margin-bottom: var(--s1); color: var(--on-night-soft); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.visit-grid p { font-size: 1.2rem; }
.visit .muted { margin: var(--s1) 0 var(--s2); color: var(--on-night-soft); font-size: 0.9rem; }
.visit .parking-note { display: flex; align-items: center; gap: 0.5rem; color: var(--on-night); font-weight: 600; }
.parking-photo { display: block; width: 100%; max-width: 20rem; height: auto; margin-top: var(--s3); border-radius: var(--radius); }
.team-link { display: inline-block; margin-top: var(--s3); color: var(--cyan-light); font-weight: 650; }

.home-footer { padding: var(--s4) var(--gutter) var(--s5); background: #070b0d; color: #9aa7ac; font-size: 0.78rem; }
.footer-legal { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto var(--s3); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #cfd8db; font-size: 0.9rem; text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: #fff; text-decoration: underline; }
.services-note a { color: var(--cyan-text); font-weight: 650; }

@media (max-width: 47.99rem) {
  .top-phone { display: none; }
  .lens-blur { aspect-ratio: 4 / 5; }
  .lens-sharp { background-image: url(/assets/shop/lens-frames-tall.webp); }
}

@media (min-width: 48rem) {
  .person { grid-template-columns: 1fr 1fr; }
  .person-photo img { height: 100%; min-height: 36rem; aspect-ratio: auto; }
  .person-text { padding: var(--s7) var(--s6); }
  /* Heading and link on the left, the two short paragraphs stacked tight on the right. */
  .lens-text { grid-template-columns: 1.2fr 1fr; grid-template-rows: auto 1fr; align-items: start; column-gap: var(--s6); }
  .lens-text h2 { grid-column: 1; grid-row: 1 / span 2; }
  .lens-text p:nth-of-type(1) { grid-column: 2; grid-row: 1; padding-top: 0.6rem; }
  .lens-text p:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .lens-text p:nth-of-type(3) { grid-column: 1; grid-row: 3; margin-top: var(--s3); }
  .how-steps { grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(4, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .quotes-link { grid-column: 1 / -1; }
  .visit-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Living layer (2026-10-20): moving hero light, scroll reveals, responsive rows, rotating quotes.
   Hidden-until-revealed states apply only under html.motion, which home.js sets when motion is allowed,
   so without JavaScript or with reduced motion every element simply stands in place. ---- */
.chart { position: relative; overflow: hidden; isolation: isolate; }
.chart::before, .chart::after { content: ""; position: absolute; z-index: -1; width: 70vmax; height: 70vmax; border-radius: 50%; pointer-events: none; }
.chart::before { left: -28vmax; top: -34vmax; background: radial-gradient(circle, rgba(7, 144, 201, 0.24), transparent 62%); }
.chart::after { right: -32vmax; bottom: -40vmax; background: radial-gradient(circle, rgba(76, 173, 206, 0.17), transparent 62%); }
/* The whole hero text block drifts together (individual `translate`, so it never fights the entry animations). */
.chart > * { translate: 0 var(--shift, 0); }
@media (prefers-reduced-motion: no-preference) {
  .chart::before { animation: drift-a 19s ease-in-out infinite alternate; }
  .chart::after { animation: drift-b 23s ease-in-out infinite alternate; }
  .chart .button { animation: glow 3.2s ease-out 2.8s infinite; }
}
@keyframes drift-a { to { transform: translate(14vmax, 12vmax) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-12vmax, -9vmax) scale(1.18); } }
@keyframes glow {
  0% { box-shadow: 0 6px 18px rgba(4, 119, 167, 0.28), 0 0 0 0 rgba(76, 173, 206, 0.55); }
  70%, 100% { box-shadow: 0 6px 18px rgba(4, 119, 167, 0.28), 0 0 0 16px rgba(76, 173, 206, 0); }
}

.motion .rv, .motion .rv-group > * { opacity: 0; transform: translateY(2rem); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.motion .rv.is-in, .motion .rv-group.is-in > * { opacity: 1; transform: none; }
.motion .rv-group > :nth-child(2) { --d: 0.08s; }
.motion .rv-group > :nth-child(3) { --d: 0.16s; }
.motion .rv-group > :nth-child(4) { --d: 0.24s; }
.motion .rv-group > :nth-child(5) { --d: 0.32s; }
.motion .rv-group > :nth-child(n+6) { --d: 0.4s; }
.motion .gallery-grid.rv-group > figure { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), box-shadow 0.5s var(--ease-out); transition-delay: var(--d, 0s), var(--d, 0s), 0s; }
/* The portrait opens like a curtain and settles from a slight zoom. The figure itself stays unclipped,
   because a fully clipped element never counts as visible for the reveal observer. */
.motion .rv-wipe img, .motion .rv-wipe::after { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-out), transform 1.8s var(--ease-out); }
.motion .rv-wipe img { transform: scale(1.15); }
.motion .rv-wipe.is-in img, .motion .rv-wipe.is-in::after { clip-path: inset(0); transform: none; }

/* Service rows: a soft band slides in under the hovered or tapped row. */
.service-list li { position: relative; }
.service-list a { position: relative; isolation: isolate; }
.service-list a::before { content: ""; position: absolute; inset: 4px calc(-1 * var(--s3)); z-index: -1; border-radius: 12px; background: linear-gradient(90deg, rgba(7, 144, 201, 0.1), rgba(7, 144, 201, 0.03)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.service-list a:hover::before, .service-list a:focus-visible::before, .service-list a:active::before { transform: scaleX(1); }
.service-list .name { transition: color 0.25s, transform 0.5s var(--ease-out); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-list a:hover .name { transform: translateX(0.4rem); }
}

/* Quotes: home.js stacks them in one place and crossfades them; dots and a pause button steer it. */
.quotes.is-rotating { grid-template-columns: none; justify-items: center; text-align: center; }
/* Swiper strips (2026-10-26): reviews and gallery; Swiper moves the wrapper, our CSS only sizes and styles. */
.quotes-stage { width: 100%; max-width: 46rem; }
.quotes.is-rotating p { font-size: clamp(1.9rem, 4.6vw, 3.4rem); }
.quotes-controls, .gallery-controls { display: flex; align-items: center; justify-content: center; gap: var(--s1); }
.quotes-controls button, .gallery-controls button { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font: inherit; cursor: pointer; }
.quotes-controls button:hover, .gallery-controls button:hover { color: var(--cyan-text); }
.quotes-controls .pause { font-size: 0.8rem; letter-spacing: 0.1em; }
.gallery-controls button { font-size: 1.3rem; border: 1px solid var(--line); background: #fff; }
.gallery-controls button.swiper-button-disabled { opacity: 0.35; cursor: default; }
/* Swiper stretches a horizontal pager to full width; ours sits between the arrows. */
.quotes-pagination.swiper-pagination-horizontal, .gallery-pagination.swiper-pagination-horizontal, .quotes-pagination, .gallery-pagination { position: static; display: flex; align-items: center; width: auto; }
/* The dot itself is small; the button around it is a full touch target. */
.quotes-pagination .swiper-pagination-bullet, .gallery-pagination .swiper-pagination-bullet { display: grid; place-items: center; width: 2.25rem; height: 2.75rem; margin: 0; border-radius: 999px; background: transparent; opacity: 1; cursor: pointer; }
.quotes-pagination .swiper-pagination-bullet::before, .gallery-pagination .swiper-pagination-bullet::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 999px; background: var(--line); transition: width 0.4s var(--ease-out), background-color 0.4s; }
.quotes-pagination .swiper-pagination-bullet-active::before, .gallery-pagination .swiper-pagination-bullet-active::before { width: 1.8rem; background: var(--cyan-button); }
.gallery-grid.swiper { display: block; overflow: hidden; }
.gallery-grid.swiper figure { height: auto; }
.gallery-grid.swiper figure:first-child { grid-column: auto; grid-row: auto; }
.gallery-controls { margin-top: var(--s3); }
@media (min-width: 48rem) {
  .quotes.is-rotating .quotes-link { grid-column: auto; }
}

@media print {
  .chart { min-height: auto; padding: var(--s4); background: none; color: var(--ink); }
  .lens-section, .home-top, .quotes-controls, .gallery-controls { display: none; }
  .motion .rv, .motion .rv-group > *, .motion .rv-wipe img, .motion .rv-wipe::after { opacity: 1; transform: none; clip-path: none; }
  .swiper-wrapper { display: block; transform: none !important; height: auto !important; }
}

/* Page transitions (cross-document View Transitions): a short cross-fade between pages in
   browsers that support it; others simply load the page. Off with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
}

/* How we work: four quiet steps under the lens heading (facts, no sales talk). */
.how-steps { display: grid; gap: var(--s4); margin: var(--s4) 0 0; padding: 0; list-style: none; counter-reset: how; }
.how-steps li { counter-increment: how; display: grid; gap: 0.35rem; align-content: start; padding-top: var(--s3); border-top: 1px solid #2c3c42; }
.how-steps li::before { content: counter(how, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 0.85rem; color: var(--cyan-light); }
.how-steps strong { color: var(--on-night); font-size: 1.1rem; font-weight: 700; }
.how-steps span { color: #c4d0d4; line-height: 1.5; }
@media (min-width: 40rem) and (max-width: 47.99rem) { .how-steps { grid-template-columns: repeat(2, 1fr); } }

/* Owner 2026-11-10: one foggy background behind both hero parts (prize draw + shop), no slider.
   The wrapper carries the light and the fog; the two sections are see-through. */
.hero-slider:not(.is-sliding) { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 50% 18%, #ffffff 0%, #eef2f3 62%); }
.hero-slider:not(.is-sliding) > .camp-slide, .hero-slider:not(.is-sliding) > .chart { position: relative; z-index: 1; background: transparent; }
.hero-fx-shared .fx-fog i { height: 100%; top: 0; background-size: 50% 50%; background-repeat: repeat; }

.hero-slider:not(.is-sliding) > .chart::before, .hero-slider:not(.is-sliding) > .chart::after { display: none; }
