/* GetGoWV — site styles */
:root {
  --blue: #1f4fe0;
  --blue-dark: #1638a8;
  --navy: #141d33;
  --ink: #232a3b;
  --muted: #5b6477;
  --line: #dfe4ee;
  --soft: #f4f6fb;
  --red: #d0101f;
  --red-dark: #a50c18;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 29, 51, 0.08);
  --max: 1160px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;
  --font-hand: "Kalam", "Comic Sans MS", cursive;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand img { height: 28px; width: auto; }
@media (max-width: 600px) { .brand img { height: 24px; } }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a, .main-nav button.sub-toggle {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .main-nav button.sub-toggle:hover { background: var(--soft); color: var(--blue); }
.main-nav a[aria-current="page"], .main-nav .is-active > button.sub-toggle { color: var(--blue); }
.has-sub { position: relative; }
.sub-toggle .chev { display: inline-block; margin-left: 4px; transition: transform .2s; font-size: .7em; }
.has-sub.open .chev { transform: rotate(180deg); }
.submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.submenu a { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; }
.has-sub:hover .submenu, .has-sub.open .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: var(--shadow);
  }
  .main-nav.open { max-height: 80vh; overflow-y: auto; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 0; }
  .main-nav a, .main-nav button.sub-toggle { width: 100%; text-align: left; padding: 14px 6px; font-size: .9rem; border-bottom: 1px solid var(--soft); border-radius: 0; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; min-width: 0; }
  .has-sub.open .submenu { display: block; }
  .has-sub:hover .submenu { display: none; }
  .has-sub.open:hover .submenu { display: block; }
}

/* ---------- Page heading ---------- */
.page-head { padding: 26px 0 24px; }
@media (max-width: 600px) { .page-head { padding-top: 18px; } }
.page-head .eyebrow { margin-bottom: 10px; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.page-head .title-rule { width: 120px; height: 4px; background: var(--blue); border-radius: 2px; margin: 18px 0 0; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.product-title { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.product-title h1 { margin: 0; }
.product-title img { height: 64px; width: auto; }
.product-title .chip-logo { height: 44px; }

.section { padding: 48px 0; }
.section.soft { background: var(--soft); }
.section-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase;
  background: var(--blue); color: #fff; border: 2px solid var(--blue); cursor: pointer; transition: .18s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }

/* ---------- Home ---------- */
.hero { position: relative; display: grid; place-items: center; padding: 24px 20px 0; }
.hero-stage { position: relative; width: min(900px, 100%); padding: 56px 0 40px; display: grid; place-items: center; }
.hero-video, .hero-logo { grid-area: 1 / 1; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 85%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 85%);
  filter: brightness(1.07) contrast(1.06);
  transition: opacity .9s ease;
}
.hero-logo { width: min(640px, 86%); height: auto; align-self: center; justify-self: center; opacity: 1; transform: scale(.97); transition: opacity 1s ease, transform 1.2s ease; }
.hero.revealed .hero-video { opacity: 0; }
.hero.revealed .hero-logo { opacity: 1; transform: none; }
.hero.no-video .hero-video { display: none; }
@media (max-width: 700px) { .hero { padding-top: 12px; } .hero-stage { padding: 36px 0 28px; } .hero-logo { width: 90%; } }
.hero .scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600;
  opacity: 0; transition: opacity .8s ease .6s;
}
.hero.revealed .scroll-cue { opacity: 1; }
.scroll-cue span { display: block; margin: 6px auto 0; width: 2px; height: 26px; background: var(--blue); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

.philosophy { text-align: center; padding: 6px 0 80px; }
.philosophy h2 { font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.45rem, 5.5vw, 2.1rem); letter-spacing: 0; white-space: nowrap; color: var(--navy); margin-bottom: .45em; }
.philosophy p { font-family: var(--font-serif); font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.5; color: var(--ink); max-width: 760px; margin: 0 auto; }
.philosophy .title-rule { width: 70px; height: 3px; background: var(--blue); margin: 0 auto 22px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 4 / 5; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 16, 34, .82), rgba(10, 16, 34, 0) 58%); z-index: -1; }
.tile-text { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.tile h3 { color: #fff; margin: 0 0 2px; font-size: 1.1rem; }
.tile p { margin: 0; font-size: .88rem; opacity: .88; }
.tile:hover { color: #fff; }
.tile:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tile { aspect-ratio: 1 / 1; } }

.home main { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.home .hero-stage { padding: 0 0 34px; }
.home .philosophy { padding: 0; }
.home .site-footer { margin-top: 0; }

/* ---------- Products overview ---------- */
.product-list { display: grid; gap: 22px; }
.product-row {
  display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--line); border-left: 6px solid var(--blue);
  border-radius: var(--radius); overflow: hidden; background: #fff; transition: .2s; color: inherit;
}
.product-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.product-row.slidzky { border-left-color: var(--red); }
.product-row .thumb { background: var(--soft); height: 230px; }
.product-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-row .thumb.thumb-square { height: auto; aspect-ratio: 1 / 1; }
.product-row .body { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.product-row h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-row p { color: var(--muted); margin-bottom: 14px; }
.more { font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.badge { display: inline-block; background: var(--red); color: #fff; font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .1em; padding: 4px 10px; border-radius: 4px; }
@media (max-width: 700px) {
  .product-row { grid-template-columns: 1fr; border-left-width: 1px; border-top: 6px solid var(--blue); }
  .product-row.slidzky { border-top-color: var(--red); }
  .product-row .thumb { aspect-ratio: 16 / 10; height: auto; }
  .product-row .thumb.thumb-square { aspect-ratio: 1 / 1; }
  .product-row .body { padding: 22px; }
}
.coming-soon { text-align: center; padding: 56px 24px; border: 2px dashed var(--line); border-radius: var(--radius); }
.coming-soon h2 { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.coming-soon p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ---------- Generic layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 820px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 28px; } .split .order-first-mobile { order: -1; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

figure { margin: 0; }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
figcaption { font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); text-align: center; padding: 12px 6px 0; }
figcaption small { display: block; font-family: var(--font-sans); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-1 { aspect-ratio: 1 / 1; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.feature-list li { padding-left: 18px; border-left: 3px solid var(--blue); }
.feature-list h3 { margin-bottom: 4px; }
.feature-list p { margin: 0; color: var(--muted); }

.cta-band { text-align: center; padding: 46px 20px; border-radius: var(--radius); }
.cta-band.red { background: linear-gradient(135deg, var(--red), #8f0a14); color: #fff; }
.cta-band.red h2 { color: #fff; }
.cta-band.red .btn { background: #fff; color: var(--red); border-color: #fff; }
.cta-band.red .btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cta-band.blue { background: var(--soft); }

/* ---------- Slidzky ---------- */
.theme-red .page-head .title-rule { background: var(--red); }
.theme-red .eyebrow { color: var(--red); }
.slidzky-hero { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 26px; align-items: center; }
.slidzky-hero .poster { box-shadow: 0 20px 50px rgba(0, 0, 0, .22); }
@media (max-width: 860px) { .slidzky-hero { grid-template-columns: 1fr 1fr; } .slidzky-hero .poster-wrap { grid-column: 1 / -1; order: -1; max-width: 460px; margin: 0 auto; } }
@media (max-width: 480px) { .slidzky-hero { grid-template-columns: 1fr; } }
.score-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.score-chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .9rem; }
.score-chips b { color: var(--red); }

/* ---------- Chip Challenge ---------- */
.rules-callout { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.rules-callout .big { font-family: var(--font-head); font-weight: 800; font-size: 3.6rem; line-height: 1; color: #ff4a55; }
.rules-callout h2 { color: #fff; margin-bottom: 6px; }
.rules-callout p { margin: 0; opacity: .9; }
@media (max-width: 560px) { .rules-callout { grid-template-columns: 1fr; text-align: center; } }
.levels figcaption { color: var(--blue); }
.chip-pair { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.chip-pair .photo { height: 440px; }
@media (max-width: 700px) { .chip-pair { grid-template-columns: 1fr; } .chip-pair .photo { height: auto; aspect-ratio: 4 / 3; } .chip-pair figure:last-child .photo { aspect-ratio: 3 / 4; } }

/* ---------- TreePot ---------- */
.treepot-wordmark { font-family: "Cinzel", Georgia, serif; font-weight: 700; font-size: 2.6rem; letter-spacing: .02em; color: #111; line-height: 1; padding: 6px 14px 4px; border-top: 4px solid #111; border-bottom: 2px solid #111; }
.treepot-wordmark .cap { font-size: 1.3em; }
.steps { counter-reset: step; }
.steps figcaption { color: var(--blue); }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .8rem; margin-right: 8px; vertical-align: middle; }

.video-frame { max-width: 720px; margin: 0 auto; }
.video-frame video { width: 100%; height: auto; border-radius: var(--radius); background: #000; box-shadow: var(--shadow); }

/* ---------- Artwork ---------- */
.art-nav { position: sticky; top: 76px; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.art-nav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.art-nav ul::-webkit-scrollbar { display: none; }
.art-nav a { display: block; white-space: nowrap; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--navy); }
.art-nav a:hover, .art-nav a.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.art-section { padding: 60px 0 30px; scroll-margin-top: 140px; }
.hand-title { font-family: var(--font-hand); font-weight: 700; font-style: italic; font-size: clamp(1.9rem, 4vw, 2.6rem); color: #111; border-bottom: 2px solid var(--blue); padding-bottom: 8px; margin-bottom: 8px; }
.art-meta { color: var(--muted); margin-bottom: 26px; }
.art-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.art-intro .photo { background: #fff; }
.art-intro .photo img { object-fit: contain; }
@media (max-width: 760px) { .art-intro { grid-template-columns: 1fr; } }
.quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.45; color: var(--navy); margin: 0; }
.quote-date { display: block; font-family: var(--font-sans); font-style: normal; color: var(--muted); font-size: .9rem; margin-top: 10px; }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.gallery { align-items: start; }
.gallery > * { min-width: 0; }
.gallery figure { grid-column: span 4; }
.gallery .span-3 { grid-column: span 3; }
.gallery .span-5 { grid-column: span 5; }
.gallery .span-6 { grid-column: span 6; }
.gallery .span-7 { grid-column: span 7; }
.gallery .span-8 { grid-column: span 8; }
.gallery .tall { grid-row: span 2; }
.gallery a.zoom { display: block; border-radius: var(--radius); overflow: hidden; background: var(--soft); cursor: zoom-in; position: relative; }
.gallery a.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery a.zoom:hover img { transform: scale(1.04); }
.gallery a.zoom.contain { background: #fff; border: 1px solid var(--line); }
.gallery a.zoom.contain img { object-fit: contain; }
.gallery a.zoom.dark { background: #000; }
.gallery a.zoom.dark img { object-fit: contain; }
.gallery .span-2 { grid-column: span 2; }
.gallery .span-12 { grid-column: 1 / -1; }
.h-240 { height: 240px; }
.h-260 { height: 260px; }
.h-280 { height: 280px; }
.h-320 { height: 320px; }
.h-400 { height: 400px; }
.h-480 { height: 480px; }
.h-560 { height: 560px; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gallery figure, .gallery .span-2, .gallery .span-3, .gallery .span-5, .gallery .span-6, .gallery .span-7, .gallery .span-8 { grid-column: span 1; }
  .gallery .full-mobile, .gallery .span-12 { grid-column: 1 / -1; }
  .gallery .tall { grid-row: auto; }
  .h-240, .h-260, .h-280, .h-320, .h-400 { height: 220px; }
  .h-480, .h-560 { height: 420px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .h-240, .h-260, .h-280, .h-320, .h-400 { height: auto; aspect-ratio: 4 / 3; }
  .h-480, .h-560 { height: auto; aspect-ratio: 3 / 4; }
  .gallery .h-auto-mobile { height: auto; aspect-ratio: auto; }
}

.poem-inline { align-self: center; text-align: center; display: flex; flex-direction: column; justify-content: center; padding: 20px; }
.poem-inline p { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; line-height: 1.6; margin: 0; color: var(--navy); }

.poems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .poems { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
.poem-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 34px 30px; }
.poem-card h3 { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; letter-spacing: .03em; margin-bottom: 18px; }
.poem-card .stanza { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.6; margin: 0 0 1.1em; color: var(--ink); }
.poem-card .stanza.solo { font-style: italic; font-weight: 600; }
.poem-card .sig { font-family: var(--font-sans); font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 12, 24, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #fff; }
.lightbox figcaption small { color: #c8cfdd; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 64px 10px 80px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* ---------- About ---------- */
.script-title { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--navy); margin: 0; }
.script-sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--blue); margin: 4px 0 0; }
.bio p { font-size: 1.05rem; }
.bio p:first-child::first-letter { font-family: var(--font-serif); font-size: 3.4em; float: left; line-height: .9; padding: 6px 10px 0 0; color: var(--blue); font-weight: 700; }
.about-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-photos .award { grid-column: 1 / -1; }
.about-photos a.zoom { display: block; border-radius: var(--radius); overflow: hidden; background: var(--soft); cursor: zoom-in; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .award a.zoom { aspect-ratio: 5 / 6; }
.about-photos .small a.zoom { aspect-ratio: 3 / 4; }
.about-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .about-layout { grid-template-columns: 1fr; } .about-photos .award a.zoom { aspect-ratio: 4 / 4.6; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.timeline .yr { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1.5rem; }
.timeline p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-info li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-info .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--blue); display: grid; place-items: center; }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info strong { display: block; font-family: var(--font-head); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.contact-info span, .contact-info a { color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 20px; } }
label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
label .req { color: var(--red); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 13px 14px; border: 1px solid #cbd2df; border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 79, 224, .18); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.alert { border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; font-weight: 600; display: none; }
.alert.show { display: block; }
.alert.ok { background: #e8f6ee; color: #11683a; border: 1px solid #b7e2c8; }
.alert.err { background: #fdecee; color: #9b1020; border: 1px solid #f3c0c6; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 60px; border-top: 3px solid var(--blue); padding: 40px 0 30px; text-align: center; background: #fff; }
.site-footer .f-logo { height: 30px; width: auto; margin: 0 auto 14px; }
.footer-tag { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; font-size: .8rem; color: var(--navy); text-transform: uppercase; }
.footer-tag .sep { color: var(--blue); margin: 0 6px; }
.footer-sub { color: var(--muted); font-size: .9rem; margin: 4px 0 18px; }
.footer-links { list-style: none; margin: 0 0 18px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--navy); font-size: .9rem; font-weight: 600; }
.footer-links a:hover { color: var(--blue); }
.copyright { color: var(--muted); font-size: .82rem; margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo, .hero-video { transition: none; }
  .scroll-cue span { animation: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
