/* Jan Pavelka — site styles. Dark cinematic theme. */

@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/big-shoulders-display-600.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/big-shoulders-display-800.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-700.woff2") format("woff2"); }

:root {
  --bg: #0b0b0c;
  --bg-2: #101012;
  --card: #141416;
  --line: #26262a;
  --line-2: #2c2c30;
  --text: #f2efe9;
  --muted: #a8a49c;
  --gold: #e3a73f;
  --gold-2: #f0bc5e;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1400px;
  --gutter: clamp(16px, 3vw, 44px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --row-h: 320px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .small a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p a:hover, .prose a:hover { color: var(--gold-2); }
::selection { background: var(--gold); color: var(--bg); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200; padding: 12px 18px;
  background: var(--gold); color: var(--bg); font-weight: 700; transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- type */
.display-xl, .display-l, .display-m, .hero__title, .logo, .cat-card__title, .work-card__title {
  font-family: var(--display); text-transform: uppercase; line-height: .95; letter-spacing: .01em;
}
.display-xl { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 800; }
.display-l { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 800; }
.display-m { font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 800; }
.eyebrow {
  margin: 0 0 1.1rem; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--warn { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.6; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.prose p { max-width: 68ch; color: #dcd8d0; }
.prose strong { color: var(--text); font-weight: 700; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); text-decoration: none !important;
}
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(5px); }

/* ---------- buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 54px; padding: 0 28px;
  font: 700 .86rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none !important;
  border: 1px solid transparent; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--bg) !important; }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border-color: rgba(242, 239, 233, .45); color: var(--text) !important; background: rgba(11, 11, 12, .25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--text); background: var(--text); color: var(--bg) !important; }
.btn--xl { min-height: 64px; padding: 0 30px; font-size: clamp(.82rem, 1.6vw, 1rem); letter-spacing: .06em; text-transform: none; max-width: 100%; }
.btn--xl span { overflow-wrap: anywhere; }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(11, 11, 12, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(38, 38, 42, .8);
  transition: background-color .35s, border-color .35s, transform .35s var(--ease);
}
.has-hero .site-header:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header:not(.is-scrolled)::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(11, 11, 12, .65), rgba(11, 11, 12, 0));
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-weight: 800; font-size: 26px; letter-spacing: .08em; white-space: nowrap; }
.logo:hover { color: var(--gold); }

.nav-list { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .is-current > .nav-link::after { transform: scaleX(1); }
.nav-cta { color: var(--gold); }
.chev { width: 11px; height: 11px; transition: transform .25s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 8px); left: -20px; min-width: 290px; padding: 10px;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub a { display: block; padding: 11px 14px; font-size: 15px; color: var(--text); transition: background-color .2s, color .2s; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--card); color: var(--gold); }
@media (hover: hover) and (min-width: 961px) {
  .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .has-sub:hover .chev { transform: rotate(180deg); }
}
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-sub.is-open .chev { transform: rotate(180deg); }
.menu-toggle, .nav-mobile-foot { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  /* backdrop-filter would become the containing block of the fixed menu panel */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(11, 11, 12, .95); }
  .logo { font-size: 22px; }
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; position: relative; z-index: 2;
  }
  .burger { position: relative; width: 26px; height: 12px; }
  .burger span { position: absolute; left: 0; right: 0; height: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
  .burger span:first-child { top: 0; }
  .burger span:last-child { top: 10px; }
  .menu-open .burger span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-open .burger span:last-child { top: 5px; transform: rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px; background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transition-delay: 0s; }
  .menu-open .site-header { background: var(--bg); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link {
    width: 100%; justify-content: space-between; padding: 16px 0; font-family: var(--display); font-weight: 800;
    font-size: clamp(2rem, 9vw, 2.8rem); letter-spacing: .02em; line-height: 1;
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--gold); }
  .chev { width: 20px; height: 20px; }
  .sub {
    position: static; min-width: 0; padding: 0 0 14px; border: 0; box-shadow: none; background: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-sub.is-open .sub { display: block; }
  .sub a { padding: 10px 0 10px 16px; border-left: 1px solid var(--line); font-size: 17px; }
  .sub a:hover, .sub a[aria-current="page"] { background: none; border-left-color: var(--gold); }
  .nav-mobile-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; color: var(--muted); font-size: 15px; }
  .nav-mobile-foot a:hover { color: var(--gold); }
  .menu-open { overflow: hidden; }
}

/* ---------- reveal animation */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- sections */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 100px); }
.section--alt { background: var(--bg-2); border-block: 1px solid #1a1a1d; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.page-head { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-head .display-xl { max-width: 16ch; }
.page-head .lead { margin-top: 1.5rem; color: #cfcbc3; }
.page-head .meta { margin-top: 2rem; }

/* ---------- hero */
.hero {
  position: relative; display: flex; align-items: flex-end; min-height: 100svh; min-height: 100vh;
  margin-top: calc(-1 * var(--header-h)); isolation: isolate; overflow: hidden;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__media, .cta-band__bg, .about-hero__media, .project-hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .cta-band__bg img, .about-hero__media img, .project-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: heroZoom 18s var(--ease) both; transform-origin: 60% 40%; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__media::after, .about-hero__media::after, .project-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, .85) 0%, rgba(11, 11, 12, .45) 55%, rgba(11, 11, 12, .15) 100%),
    linear-gradient(0deg, rgba(11, 11, 12, 1) 0%, rgba(11, 11, 12, 0) 40%);
}
.hero__inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(80px, 12vh, 140px); }
.hero__title { font-weight: 800; font-size: clamp(3.6rem, 11vw, 10rem); line-height: .86; letter-spacing: 0; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #e2ded6; }
.hero__eyebrow, .hero__title, .hero__lead, .hero .btn-row { animation: rise 1s var(--ease) both; }
.hero__title { animation-delay: .12s; }
.hero__lead { animation-delay: .26s; }
.hero .btn-row { animation-delay: .4s; }
@media (max-width: 520px) { .hero__eyebrow::before { display: none; } .hero__eyebrow { letter-spacing: .14em; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(242, 239, 233, .55); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollDot 2s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- credits strip */
.credits { border-block: 1px solid var(--line); background: var(--bg); }
.credits__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.credits__list li { display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; border-left: 1px solid var(--line); }
.credits__list li:first-child { border-left: 0; padding-left: 0; }
.credits__list strong { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 2rem); text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.credits__list span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
@media (max-width: 860px) {
  .credits__list { grid-template-columns: 1fr 1fr; }
  .credits__list li { padding: 20px 16px; border-left: 1px solid var(--line); }
  .credits__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .credits__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- work cards */
.work-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: clamp(16px, 2vw, 28px); }
.work-card--lead { grid-row: span 2; }
.work-card { background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.work-card__link { display: flex; flex-direction: column; height: 100%; }
.work-card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #1a1a1d; }
.work-card--lead .work-card__media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.work-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.work-card__link:hover .work-card__media img, .work-card__link:focus-visible .work-card__media img { transform: scale(1.06); filter: saturate(1.05); }
.work-card__body { padding: clamp(20px, 2.4vw, 32px); }
.work-card__meta { margin: 0 0 .6rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.work-card__title { font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.6rem); margin-bottom: .6rem; }
.work-card--lead .work-card__title { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.work-card__text { color: #cfcbc3; max-width: 52ch; }
@media (max-width: 800px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card--lead { grid-row: auto; }
  .work-card--lead .work-card__media { aspect-ratio: 3 / 2; min-height: 0; }
}

/* ---------- services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--card); padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 34px); transition: background-color .3s; }
.service:hover { background: #18181b; }
.service__icon { display: block; width: 46px; height: 46px; color: var(--gold); margin-bottom: 28px; }
.service h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin-bottom: .7rem; }
.service p { color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- about teaser */
.about-teaser { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-teaser__media { position: relative; }
.about-teaser__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-teaser__media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.about-teaser__body .display-l { margin-bottom: 1.6rem; }
.about-teaser__body .muted { margin: 1.2rem 0 2rem; }
@media (max-width: 800px) {
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser__media { max-width: 440px; margin-right: 18px; }
}

/* ---------- testimonial rotator */
.testimonial-band { text-align: left; }
.quotes { max-width: 1100px; }
.quotes__track { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; }
.js .quote { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s .7s; }
.js .quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--display); font-weight: 600; text-transform: none; font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.08; margin: 0 0 1.6rem;
}
.quote figcaption { color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.quotes__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.quotes__dots { display: flex; gap: 6px; }
.quotes__dots button { width: 44px; height: 44px; display: grid; place-items: center; }
.quotes__dots button::before { content: ""; width: 26px; height: 2px; background: var(--line-2); transition: background-color .3s, width .3s; }
.quotes__dots button[aria-current="true"]::before { background: var(--gold); width: 34px; }
.quotes__dots button:hover::before { background: var(--muted); }

/* ---------- CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 14vw, 180px); }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .74) 55%, rgba(11, 11, 12, .5) 100%); }
.cta-band .display-xl { max-width: 12ch; }
.cta-band .lead { margin-top: 1.4rem; color: #e2ded6; }
.cta-band .btn--gold span { text-transform: none; letter-spacing: .02em; font-size: 1rem; overflow-wrap: anywhere; }

/* ---------- footer */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 14px; }
.footer-h { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer li + li { margin-top: 8px; }
.site-footer li a { display: inline-flex; align-items: center; gap: 10px; color: #d6d2ca; transition: color .2s; overflow-wrap: anywhere; }
.site-footer li a:hover { color: var(--gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-base p { margin: 0; }
.to-top:hover { color: var(--gold); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- about page */
.about-hero, .project-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(78vh, 760px); margin-top: calc(-1 * var(--header-h)); overflow: hidden; }
.about-hero__inner, .project-hero__inner { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.project-hero .display-xl { max-width: 14ch; }
.about-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.about-grid__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.portrait { margin: 0 0 28px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.facts dd { margin: 0; color: #dcd8d0; font-size: .95rem; }
.pull {
  margin: 2.2rem 0; padding-left: 24px; border-left: 2px solid var(--gold);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1;
}
.callout { margin-top: 2.4rem; padding: 26px 28px; background: var(--card); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; color: var(--text) !important; }
.callout .link-arrow { color: var(--gold); }
.timeline-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 4vw, 56px); }
.tl-h { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.tl-year { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--gold); line-height: 1.2; }
@media (max-width: 900px) {
  .about-grid, .timeline-grid { grid-template-columns: 1fr; }
  .about-grid__aside { position: static; max-width: 480px; }
}
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- testimonials page */
.t-grid { columns: 2 420px; column-gap: clamp(16px, 2vw, 28px); }
.t-card {
  break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 28px); padding: clamp(28px, 3.4vw, 48px);
  background: var(--card); border: 1px solid var(--line); position: relative;
}
.t-card::before { content: "“"; position: absolute; top: 10px; right: 26px; font-family: var(--display); font-weight: 800; font-size: 7rem; line-height: 1; color: var(--gold); opacity: .9; }
.t-card blockquote { margin: 34px 0 28px; }
.t-card blockquote p { font-size: 1.06rem; line-height: 1.75; color: #dcd8d0; margin: 0; }
.t-card figcaption { display: flex; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.t-card figcaption strong { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: .02em; }
.t-card figcaption span span { display: block; margin-top: 4px; color: var(--gold); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.t-avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: #222; border: 1px solid var(--line-2); }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-avatar--logo { background: #fff; }

/* ---------- portfolio index */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.cat-card { grid-column: span 2; }
.cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 3; }
.cat-card a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #18181b; isolation: isolate; }
.cat-card:nth-child(1) a, .cat-card:nth-child(2) a { aspect-ratio: 4 / 3; }
.cat-card__media, .cat-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cat-card__media { z-index: -1; }
.cat-card__media img { object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.cat-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .2) 55%, rgba(11, 11, 12, 0) 100%); transition: opacity .5s; }
.cat-card a:hover .cat-card__media img, .cat-card a:focus-visible .cat-card__media img { transform: scale(1.06); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 32px); }
.cat-card__num { display: block; font-family: var(--display); font-weight: 600; color: var(--gold); font-size: 1.1rem; letter-spacing: .1em; margin-bottom: 8px; }
.cat-card__title { font-weight: 800; font-size: clamp(1.9rem, 3vw, 3rem); margin-bottom: 14px; }
.cat-card .link-arrow { opacity: .85; }
.cat-card--warn .cat-card__media img { filter: blur(22px) saturate(.6) brightness(.7); transform: scale(1.15); }
.cat-card--warn a:hover .cat-card__media img { transform: scale(1.2); }
.cat-card__badge { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(11, 11, 12, .75); border: 1px solid var(--gold); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card, .cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 1; }
  .cat-card:nth-child(1) { grid-column: span 2; }
  .cat-card a, .cat-card:nth-child(2) a { aspect-ratio: 4 / 5; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card:nth-child(1) { grid-column: auto; }
  .cat-card a, .cat-card:nth-child(n) a { aspect-ratio: 4 / 3.4; }
}

/* ---------- meta list */
.meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; }
.meta div { min-width: 120px; }
.meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.meta dd { margin: 4px 0 0; font-size: 1.05rem; }

/* ---------- justified gallery (pure CSS, uses each item's aspect ratio) */
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery::after { content: ""; flex-grow: 1e4; }
.g-item { position: relative; flex-grow: calc(var(--ar) * 100); flex-basis: calc(var(--ar) * var(--row-h)); aspect-ratio: var(--ar); max-width: 100%; }
.g-link { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #18181b; cursor: zoom-in; }
.g-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.g-link:hover img, .g-link:focus-visible img { transform: scale(1.04); }
.g-link:focus-visible { outline-offset: 2px; }
.g-zoom {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(11, 11, 12, .7); color: var(--text); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.g-zoom svg { width: 18px; height: 18px; }
.g-link:hover .g-zoom, .g-link:focus-visible .g-zoom { opacity: 1; transform: none; }
@media (max-width: 1100px) { :root { --row-h: 260px; } }
@media (max-width: 640px) {
  :root { --row-h: 180px; }
  .gallery { gap: 6px; }
}

/* ---------- BTS project list */
.bts-project { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.bts-project:first-child { border-top: 0; padding-top: 0; }
.bts-project__head { display: grid; grid-template-columns: 1fr auto; gap: 14px 40px; align-items: end; margin-bottom: 28px; }
.bts-project__head h2 { grid-column: 1 / -1; }
.bts-project__head p { margin: 0; color: #cfcbc3; grid-column: 1 / -1; }
.bts-project__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.bts-project .gallery { --row-h: 240px; }

/* ---------- project pages */
.project-intro { max-width: 900px; margin-left: 0; }
.project-intro .lead { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.project-intro p:not(.lead) { color: var(--muted); }
.final__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.final__quote { margin: 2rem 0 0; padding-left: 22px; border-left: 2px solid var(--gold); }
.final__quote p { font-size: 1.12rem; line-height: 1.7; color: #dcd8d0; }
@media (max-width: 900px) { .final__grid { grid-template-columns: 1fr; } }

.video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform 1s var(--ease), opacity .4s; }
.video:hover img { transform: scale(1.04); opacity: .85; }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--bg); transition: transform .35s var(--ease);
  box-shadow: 0 0 0 0 rgba(227, 167, 63, .5); animation: pulse 2.6s infinite;
}
.video__play svg { width: 34px; height: 34px; margin-left: 4px; }
.video:hover .video__play { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 167, 63, .45); } 70% { box-shadow: 0 0 0 22px rgba(227, 167, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 167, 63, 0); } }
.video__label { position: absolute; left: 20px; bottom: 16px; right: 20px; font-weight: 700; font-size: .9rem; }
.video__label small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: clamp(56px, 7vw, 100px); background: var(--line); border: 1px solid var(--line); padding: 0; max-width: calc(var(--maxw) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.pager a { display: block; padding: clamp(22px, 3vw, 36px); background: var(--bg); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 2.2rem); line-height: 1; transition: background-color .3s, color .3s; }
.pager a:hover { background: var(--card); color: var(--gold); }
.pager small { display: block; margin-bottom: 10px; font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; color: var(--gold); font-weight: 700; }
.pager__next { text-align: right; }
.section--alt + .pager { margin-top: clamp(56px, 7vw, 100px); }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager__next { text-align: left; } }

/* ---------- sensitive content gate */
.sensitive { position: relative; min-height: 440px; }
.sensitive__content img { filter: blur(30px) grayscale(.6) brightness(.55); transform: scale(1.1); transition: filter .8s var(--ease), transform .8s var(--ease); }
.sensitive.is-revealed .sensitive__content img { filter: none; transform: none; }
.sensitive.is-revealed .g-link:hover img { transform: scale(1.04); }
.sensitive__gate { position: absolute; inset: 0; z-index: 2; display: grid; place-items: start center; padding: clamp(24px, 6vw, 80px) 16px; }
.sensitive.is-revealed .sensitive__gate { display: none; }
.sensitive__box { position: sticky; top: calc(var(--header-h) + 24px); max-width: 560px; padding: clamp(26px, 4vw, 44px); background: rgba(11, 11, 12, .9); border: 1px solid var(--gold); text-align: left; backdrop-filter: blur(8px); }
.sensitive__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; }
.sensitive__box p:not(.eyebrow):not(.sensitive__title) { color: var(--muted); }
.sensitive__box .btn { margin-top: 10px; }

/* ---------- contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); padding-block: clamp(56px, 8vw, 110px); align-items: start; }
.contact__intro .lead { margin: 1.5rem 0 2rem; }
.contact__links { margin-top: 26px; display: grid; gap: 12px; }
.contact__links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.contact__links a:hover { color: var(--gold); }
.contact__img { margin: 40px 0 0; }
.contact__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.contact__form-wrap { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-form { padding: clamp(24px, 3.4vw, 48px); background: var(--card); border: 1px solid var(--line); }
.contact-form h2 { margin-bottom: .6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-top: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.field .opt { color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 0; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227, 167, 63, .2); }
.field [aria-invalid="true"] { border-color: #e2705c; }
.contact-form .btn { width: 100%; margin-top: 24px; }
.form-error { margin: 16px 0 0; color: #f29a88; font-weight: 500; }
.form-note { margin-top: 14px; }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .contact__form-wrap { position: static; }
}
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- 404 */
.notfound { padding-block: clamp(80px, 14vw, 180px); min-height: 60vh; }
.notfound .display-xl { max-width: 14ch; }
.notfound .lead { margin-top: 1.5rem; color: var(--muted); }

/* ---------- lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 8, 9, .97); color: var(--text); overflow: hidden; touch-action: pan-y pinch-zoom;
}
.lightbox::backdrop { background: rgba(8, 8, 9, .9); }
.lightbox[open] { display: grid; animation: lbIn .3s ease both; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { margin: 0; display: grid; grid-template-rows: 1fr auto; place-items: center; height: 100%; padding: 64px clamp(12px, 7vw, 96px) 16px; min-height: 0; }
.lb-img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .25s, transform .25s var(--ease); }
.lb-img.is-loading { opacity: .25; }
.lb-caption { max-width: 80ch; padding: 14px 16px 6px; text-align: center; color: var(--muted); font-size: .9rem; min-height: 2.5em; }
.lb-count { position: absolute; top: 18px; left: 22px; margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: .12em; color: var(--muted); font-size: 1.05rem; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; color: var(--text); background: rgba(20, 20, 22, .65); border: 1px solid var(--line); transition: background-color .2s, color .2s, border-color .2s; }
.lb-btn:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 12px; top: 50%; margin-top: -27px; }
.lb-next { right: 12px; top: 50%; margin-top: -27px; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 10px; margin: 0; }
  .lb-stage { padding: 60px 0 76px; }
  .lb-img { max-height: calc(100dvh - 190px); }
}
.lb-open { overflow: hidden; }


/* ---------- home intro */
.home-intro { display: grid; grid-template-columns: 1fr auto; gap: 24px 64px; align-items: end; padding-top: clamp(56px, 7vw, 96px); padding-bottom: 0; }
.home-intro__text { margin: 0; max-width: 62ch; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.55; color: #dcd8d0; }
@media (max-width: 800px) { .home-intro { grid-template-columns: 1fr; } }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a:hover { color: var(--gold); }
.service h3 a::after { content: " →"; color: var(--gold); font-size: .8em; }

/* ---------- services page */
.svc-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.svc-toc a { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.svc-toc a:hover { border-color: var(--gold); color: var(--gold); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc--flip .svc__media { order: 2; }
.svc__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc__num { margin: 0 0 10px; font-family: var(--display); font-weight: 600; color: var(--gold); font-size: 1.2rem; letter-spacing: .1em; }
.svc__body .display-l { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: 1.2rem; }
.svc__text { color: #dcd8d0; font-size: 1.08rem; max-width: 58ch; }
.svc__links { display: grid; gap: 10px; margin: 1.4rem 0 2rem; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc--flip .svc__media { order: 0; } }
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(32px, 4vw, 56px); background: var(--line); border: 1px solid var(--line); }
.faq__item { background: var(--card); padding: clamp(22px, 3vw, 36px); }
.faq__item h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.55rem; line-height: 1.05; margin-bottom: .7rem; }
.faq__item p { margin: 0; color: #cfcbc3; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
@media (min-width: 961px) and (max-width: 1180px) { .nav-list { gap: 16px; } .nav-link { letter-spacing: .08em; font-size: 12px; } }

/* ---------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}

@media print {
  .site-header, .cta-band, .lightbox, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
}
