:root {
  --ink: #070305; --wine-950: #120407; --wine-900: #21070d; --wine-800: #3a0914;
  --wine-700: #5b1022; --champagne: #e9c98e; --champagne-light: #fff1c9;
  --champagne-dark: #9c6f38; --ivory: #f6eee2; --muted: #b9a9a6;
  --glass: rgba(48, 12, 20, .66); --line: rgba(236, 199, 135, .34);
  --serif: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1180px, calc(100vw - 48px)); --nav-h: 72px; --radius: 24px;
  --ease: cubic-bezier(.2,.75,.2,1); --slow: 900ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; color: var(--ivory); font-family: var(--sans); background: var(--ink); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--ivory); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; z-index: 40; top: 22px; left: 50%; width: min(1390px, calc(100vw - 56px)); transform: translateX(-50%); transition: opacity .45s, transform .45s; }
.site-header.is-hidden { opacity: 0; transform: translate(-50%, -130%); pointer-events: none; }
.nav-shell { height: var(--nav-h); display: flex; align-items: center; padding: 0 22px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: linear-gradient(110deg, rgba(76,18,30,.75), rgba(20,7,11,.58)); box-shadow: 0 22px 55px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(22px) saturate(125%); }
.brand { width: 88px; height: 54px; display: grid; place-items: center; overflow: hidden; flex: none; }
.brand img, .panel-logo, footer img { width: 95px; height: 62px; object-fit: contain; mix-blend-mode: screen; }
.nav-rule { width: 1px; height: 34px; background: var(--line); margin: 0 24px 0 8px; }
.nav-links { display: flex; align-items: center; justify-content: space-around; flex: 1; gap: 12px; }
.nav-links a { position: relative; padding: 12px 14px; font: 16px var(--serif); white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; height: 1px; left: 50%; right: 50%; bottom: 6px; background: var(--champagne); transition: .3s; }
.nav-links a:hover::after, .nav-links a.is-active::after { left: 14px; right: 14px; }
.language-switcher { display: flex; align-items: center; margin-left: 18px; }
.language-switcher button { border: 0; background: none; padding: 8px 5px; cursor: pointer; font-size: 10px; letter-spacing: .12em; opacity: .55; }
.language-switcher button.is-active { color: var(--champagne-light); opacity: 1; }
.language-switcher i { width: 1px; height: 10px; background: var(--line); }
.menu-toggle { position: fixed; z-index: 60; right: 26px; top: 24px; width: 54px; height: 54px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; background: rgba(55,14,24,.72); box-shadow: 0 12px 30px rgba(0,0,0,.3); backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transform: translateY(-18px); transition: .4s var(--ease); cursor: pointer; }
.menu-toggle.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.menu-toggle-icon {
  grid-area: 1 / 1;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--champagne-light);
  stroke-width: 1;
  stroke-linecap: round;
  pointer-events: none;
  transition: opacity .22s var(--ease), visibility 0s;
}
.menu-toggle[aria-expanded="false"] .menu-toggle-icon--close,
.menu-toggle[aria-expanded="true"] .menu-toggle-icon--bars {
  opacity: 0;
  visibility: hidden;
  transition-delay: 0s, .22s;
}
.menu-panel { position: fixed; z-index: 50; inset: 0; display: grid; place-content: center; text-align: center; background: rgba(13,2,5,.92); backdrop-filter: blur(28px); opacity: 0; visibility: hidden; transition: .45s; }
.menu-panel.is-open { opacity: 1; visibility: visible; }
.panel-glow { position: absolute; inset: 20% 25%; background: radial-gradient(circle, rgba(112,23,46,.4), transparent 65%); filter: blur(30px); }
.panel-logo { position: relative; margin: 0 auto 25px; }
.menu-panel nav { position: relative; display: grid; gap: 10px; }
.menu-panel nav a { font: clamp(30px, 6vw, 54px)/1.15 var(--serif); letter-spacing: -.02em; transition: color .2s; }
.menu-panel nav a:hover { color: var(--champagne); }
.panel-languages { position: relative; display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.panel-languages button { border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: 9px 13px; cursor: pointer; }
.panel-languages button.is-active { background: var(--champagne); color: var(--ink); }

.hero { position: relative; height: max(740px, 100svh); min-height: 680px; overflow: hidden; isolation: isolate; background: #1b050a url('assets/hero-desktop.webp') center/cover no-repeat; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7,2,4,.2) 0%, transparent 45%, rgba(10,2,4,.05) 100%), radial-gradient(circle at 37% 48%, rgba(116,29,40,.15), transparent 34%); }
.hero::after { content: ''; position: absolute; z-index: 6; inset: auto 0 0; height: 22%; background: linear-gradient(transparent, var(--hero-about-seam, #0d0306)); pointer-events: none; }
.hero-mobile-logo { display: none; }
.hero-lights { position: absolute; z-index: 1; inset: 0; background: url('assets/light-trails.webp') center/cover no-repeat; mix-blend-mode: screen; opacity: .72; pointer-events: none; }
.hero-portrait-source { display: contents; }
.hero-portrait { position: absolute; z-index: 2; right: 2vw; bottom: -7%; height: 95%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(-35px 25px 45px rgba(0,0,0,.36)); }
.hero-portrait {
  mask-image: linear-gradient(to bottom,
    #000 calc(100% - 80px),
    rgba(0, 0, 0, .85) calc(100% - 56px),
    rgba(0, 0, 0, .32) calc(100% - 25px),
    transparent);
}
.hero-content { position: relative; z-index: 7; display: flex; height: 100%; justify-content: center; flex-direction: column; align-items: flex-start; padding-top: 78px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 20px; margin: 0 0 24px; text-transform: uppercase; letter-spacing: .42em; color: var(--champagne-light); font-size: 11px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 68px; height: 1px; background: linear-gradient(90deg, transparent, var(--champagne)); }
.eyebrow::after { transform: rotate(180deg); }
h1 { margin: 0; max-width: 100%; font: 400 clamp(69px, 7.1vw, 116px)/.76 var(--serif); text-transform: uppercase; font-kerning: normal; letter-spacing: .025em; background: linear-gradient(115deg, #8f6332 2%, #ffe8b8 23%, #b98a4f 46%, #fff0c8 65%, #8f6233 94%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 5px 12px rgba(0,0,0,.28)); }
#heroTitle {
  --surname-advance: 6.16em;
  --surname-count: 9;
  --surname-room: calc(min(1180px, 100vw - 48px) - 28px);
}
#heroTitle:lang(ru) { --surname-advance: 5.42em; --surname-count: 8; }
.hero-surname {
  --surname-tracking: min(.025em, calc((var(--surname-room) - var(--surname-advance)) / var(--surname-count)));
  display: inline-block;
  margin-left: 28px;
  letter-spacing: var(--surname-tracking);
}
.hero-kerned-pair {
  letter-spacing: calc(var(--surname-tracking) - .012em);
  margin-inline-end: .012em;
}
#heroTitle:lang(hy), .footer-credit:lang(hy) {
  font-family: "Noto Serif Armenian", Sylfaen, "Noto Sans Armenian", "SF Armenian", "Arial Unicode MS", serif;
}
#heroTitle:lang(hy) {
  font-size: clamp(52px, 6vw, 100px);
  line-height: 1.08;
  --surname-advance: 6.62em;
}
.hero-tagline { margin: 34px 0 37px 12px; font: italic 30px/1.2 var(--serif); color: #ead7bc; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-left: 10px; }
.btn { position: relative; overflow: hidden; min-width: 210px; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 25px; border: 1px solid rgba(255,232,184,.8); border-radius: 999px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }
.btn::before { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(91,52,19,.48); border-radius: inherit; pointer-events: none; }
.btn::after { content: ''; position: absolute; top: -40%; left: -60%; width: 40%; height: 180%; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); transition: left .7s; }
.btn:hover::after { left: 130%; }
.btn-primary { color: #1c0c08; background: linear-gradient(105deg, #9d7040, #ffe6b2 37%, #bc8c55 70%, #f7d99c); box-shadow: 0 0 26px rgba(234,188,111,.28), inset 0 1px rgba(255,255,255,.7); }
.hero-actions .btn-primary {
  min-width: max(var(--quote-width, 210px), var(--quote-mobile-min, 0px));
  gap: 16px;
  font-size: 15.25px;
  font-weight: 800;
  letter-spacing: .1em;
}
.hero-actions .btn-primary:lang(ru) { --quote-width: 251.203125px; }
.hero-actions .btn-primary:lang(hy) { --quote-width: 223.546875px; }
.quote-arrow { flex: none; transition: transform 250ms var(--ease); }
.hero-actions .btn-primary:hover .quote-arrow { transform: translateX(4px); }
.btn b { font-size: 20px; font-weight: 400; }
.btn-showreel { display: flex; align-items: center; gap: 15px; padding: 12px 0 13px; text-transform: uppercase; letter-spacing: .24em; font-size: 10px; }
.play-icon { width: 40px; height: 40px; display: grid; place-items: center; padding-left: 2px; border: 1px solid var(--champagne); border-radius: 50%; color: var(--champagne); font-size: 10px; transition: .3s; }
.play-icon svg { width: 14px; height: 14px; fill: currentColor; }
.btn-showreel:hover .play-icon { background: var(--champagne); color: var(--ink); box-shadow: 0 0 20px rgba(233,201,142,.35); }
.floating-cards { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.float-card-defs { position: absolute; }
.float-card {
  position: absolute;
  display: block;
  aspect-ratio: 5 / 7;
  perspective: 340px;
  opacity: 1;
  transform: rotate(var(--float-tilt));
  animation:
    float-rise var(--float-duration) var(--float-delay) ease-in-out infinite,
    float-sway var(--float-duration) calc(var(--float-delay) - var(--float-duration) / 4) ease-in-out infinite;
}
.float-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: float-turn var(--turn-duration) var(--turn-delay) ease-in-out infinite;
}
.float-card--near {
  --float-tilt: 23deg; --float-lift: 14px; --float-drift: 7px;
  --float-duration: 7.7s; --float-delay: -1.1s;
  --turn-angle: 25deg; --turn-duration: 9.2s; --turn-delay: -1.6s;
  top: 22%; right: 5.2%; width: clamp(62px, 5.8vw, 91px);
  filter: drop-shadow(0 9px 14px rgba(0, 0, 0, .5)) drop-shadow(0 0 8px rgba(231, 161, 101, .24));
}
.float-card--far, .float-card--middle { display: none; }
@keyframes float-rise {
  0%, 100% { transform: translateY(var(--float-lift)) rotate(calc(var(--float-tilt) + 2deg)); }
  50% { transform: translateY(calc(-1 * var(--float-lift))) rotate(calc(var(--float-tilt) - 2deg)); }
}
@keyframes float-sway {
  0%, 100% { translate: calc(-1 * var(--float-drift)) 0; }
  50% { translate: var(--float-drift) 0; }
}
@keyframes float-turn {
  0%, 100% { transform: rotateY(calc(-1 * var(--turn-angle))); }
  50% { transform: rotateY(var(--turn-angle)); }
}
.card-spread {
  --spread-card-width: clamp(72px, 6.8vw, 105px);
  display: none;
  position: absolute;
  z-index: 5;
  bottom: var(--spread-bottom, 30px);
  left: max(11%, calc((100% - 1180px) / 2 + 52px));
  pointer-events: none;
}
.spread-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--spread-card-width);
  aspect-ratio: 5 / 7;
  transform: translate3d(var(--card-x, 0px), var(--card-y, 0px), 0) translateX(-50%)
    rotate(var(--card-angle, -27deg)) translateY(var(--card-extension, 0%));
}
.spread-back, .spread-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.spread-back {
  --spread-back-shadow: 2px 3px 7px rgba(0,0,0,.55), inset 0 0 0 2px var(--spread-back-dark, var(--wine-950));
  display: grid;
  place-items: center;
  border: 1px solid var(--champagne-dark);
  background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(233,201,142,.08) 5px 6px),
    repeating-linear-gradient(-45deg, transparent 0 5px, rgba(233,201,142,.08) 5px 6px),
    linear-gradient(145deg, var(--spread-back-light, var(--wine-700)), var(--spread-back-dark, var(--wine-950)))
    var(--spread-back-dark, var(--wine-950));
  box-shadow: var(--spread-back-shadow);
}
.spread-front {
  background-color: #fffdf8;
  box-shadow: 2px 4px 10px rgba(0,0,0,.55);
}
.spread-reveal {
  --spread-back-light: #134c3b;
  --spread-back-dark: #061c16;
  --spread-back-badge: #0a3025;
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  appearance: none;
  border-radius: 6px;
  background: transparent;
  perspective: 540px;
  pointer-events: none;
  touch-action: pan-y pinch-zoom;
}
@property --spread-flip-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.spread-turn {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateY(calc(var(--reveal-lift, 0px) * (1 - cos(var(--spread-flip-angle))) / 2))
    rotateY(var(--spread-flip-angle));
  transition: --spread-flip-angle .9s cubic-bezier(.25,.55,.27,1);
}
.spread-turn > :is(.spread-back, .spread-front) {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.spread-turn > .spread-front { transform: rotateY(180deg); }
.spread-reveal.is-automatic > .spread-turn { transform: rotateY(180deg); transition: none; }
.spread-reveal.is-flipped > .spread-turn { --spread-flip-angle: 180deg; }
.spread-reveal.is-folded > .spread-turn { transition: none; }
.spread-reveal.is-ready {
  pointer-events: auto;
  cursor: pointer;
}
.spread-reveal.is-ready .spread-turn > .spread-back {
  box-shadow: 0 0 0 1px rgba(233,201,142,.46), 0 0 17px rgba(218,164,86,.28), var(--spread-back-shadow);
}
.spread-reveal:focus-visible { outline: none; }
.spread-reveal:focus-visible .spread-turn > :is(.spread-back, .spread-front) {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}
.hero:has(.spread-reveal.is-ready) .hero-content { pointer-events: none; }
.hero:has(.spread-reveal.is-ready) .hero-content > :not(.hero-actions),
.hero:has(.spread-reveal.is-ready) .hero-actions a { pointer-events: auto; }
.spread-back::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.spread-back i {
  display: grid;
  width: 32px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px double var(--champagne-dark);
  border-radius: 50%;
  background: var(--spread-back-badge, var(--wine-900));
  color: var(--champagne);
  font: 13px var(--serif);
}

.section { --section-gutter: 65px; position: relative; overflow: hidden; padding-block: var(--section-gutter); background: var(--ink); }
.section::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 8% 30%, rgba(90,14,31,.18), transparent 28%), radial-gradient(circle at 90% 60%, rgba(103,18,34,.13), transparent 24%); }
.section + .section::before { mask-image: linear-gradient(transparent, #000 var(--section-gutter), #000 calc(100% - var(--section-gutter)), transparent); }
h2 { margin: 0 0 26px; max-width: 760px; font: 400 clamp(44px, 5.4vw, 78px)/.98 var(--serif); letter-spacing: -.045em; background: linear-gradient(110deg, #fff0ce, #b98d56 70%, #f5dca9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-kicker { color: #b98a55; margin-bottom: 19px; }
.section-heading { position: relative; z-index: 2; max-width: 670px; margin-bottom: 54px; }
.section-heading p:last-child, .about-copy > p, .contact-lead { color: var(--muted); font: 16px/1.8 var(--sans); }
.centered { margin-inline: auto; text-align: center; }
.centered .section-kicker { justify-content: center; }
.about { padding-block-start: 130px; background: linear-gradient(180deg, var(--hero-about-seam, #0d0306), #130508 65%, #090305); }
.about::before { mask-image: linear-gradient(#000 calc(100% - var(--section-gutter)), transparent); }
.section-orbit { position: absolute; width: 850px; height: 850px; right: -460px; top: -50px; border: 1px solid rgba(218,172,99,.12); border-radius: 50%; box-shadow: 0 0 90px rgba(96,17,36,.14); }
.about-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 95px; }
.portrait-frame { position: relative; isolation: isolate; height: 552px; border: 1px solid var(--line); border-radius: 220px 220px 22px 22px; background: radial-gradient(ellipse at 47% 42%, color-mix(in srgb, var(--wine-800) 58%, #1d1418), color-mix(in srgb, var(--wine-900) 50%, #130e11) 39%, #0b0609 79%, #060405); box-shadow: 0 35px 75px rgba(0,0,0,.42), inset 0 -24px 68px rgba(5,1,5,.35); overflow: hidden; }
.portrait-frame::after { content: ''; position: absolute; z-index: 4; inset: 10px; border: 1px solid rgba(235,202,145,.16); border-radius: inherit; pointer-events: none; }
.about-portrait-zoom {
  position: absolute;
  z-index: 1;
  top: clamp(56px, 13%, 80px);
  left: -5.5%;
  width: 106%;
  perspective: 900px;
  transform: scale(calc(.835 + .165 * var(--about-portrait-progress, 0)));
  transform-origin: 50% 60%;
}
.about-portrait-life {
  position: relative;
  transform-origin: 50% 56%;
  filter: drop-shadow(14px 28px 24px rgba(2, 0, 4, .78));
  animation: about-portrait-turn 10.4s ease-in-out infinite,
    about-portrait-drift 10.4s -2.6s ease-in-out infinite,
    about-fire-back-strength 5.83s -1.4s ease-in-out infinite paused;
}
@keyframes about-portrait-turn {
  0%, 100% { transform: rotateY(-6.3deg) rotateX(2.2deg) scale(1); }
  50% { transform: rotateY(6.3deg) rotateX(-2.2deg) scale(1.022); }
}
@keyframes about-portrait-drift {
  0%, 100% { translate: -7px 4px; }
  50% { translate: 7px -4px; }
}
.about-portrait-image {
  width: 100%;
  height: auto;
  filter: brightness(calc(.36 + .64 * var(--about-portrait-progress, 0)))
    drop-shadow(0 12px 18px rgba(4, 0, 4, .38));
  mask-image: linear-gradient(#000 85%, rgba(0, 0, 0, .82) 93%, transparent);
}
@property --about-fire-flicker {
  syntax: '<number>';
  inherits: true;
  initial-value: 1;
}
@property --about-fire-back-strength {
  syntax: '<number>';
  inherits: true;
  initial-value: .4;
}
.about-flame-back {
  position: absolute;
  z-index: -1;
  left: 80%;
  top: 32.5%;
  width: 12.7%;
  height: auto;
  /* Place the bright base inside the ace so the portrait masks it. */
  translate: -49% -77%;
  transform-origin: 49% 77%;
  transform: rotate(-3deg);
  opacity: calc(var(--about-fire-back-strength) * (.43 + .37 * var(--about-portrait-progress, 0)));
  filter: brightness(calc(.85 + .24 * var(--about-fire-back-strength)));
  pointer-events: none;
  animation: about-fire-back-sway 3.29s -.72s ease-in-out infinite paused;
}
.about-card-fire {
  --fire-reveal: calc(.32 + .68 * var(--about-portrait-progress, 0));
  --fire-light: calc(var(--fire-reveal) * var(--about-fire-flicker));
  --combined-fire-light: calc(var(--fire-light) * .88 + var(--fire-reveal) * var(--about-fire-back-strength) * .28 * (1 - .5 * var(--fire-light)));
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: about-fire-flicker 3.71s -1.18s ease-in-out infinite paused;
}
.about-card-fire::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 12% 18% at 57% 27%, rgba(255, 164, 93, .36), transparent 95%),
    radial-gradient(ellipse 13% 23% at 81% 68%, rgba(255, 171, 85, .40), transparent 92%),
    radial-gradient(ellipse 23% 22% at 69% 55%, rgba(226, 108, 49, .29), transparent 92%),
    radial-gradient(ellipse 13% 19% at 84% 33%, rgba(255, 178, 88, .60), transparent 90%);
  mask: url('assets/about-portrait.webp') center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  opacity: var(--combined-fire-light);
}
.about-card-fire::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 15% 19% at 80% 26%, rgba(245, 116, 42, .30), transparent 92%);
  opacity: var(--combined-fire-light);
}
.about-card-flame {
  position: absolute;
  /* Align the corner of the charred edge in fire.webp with the ace. */
  left: 83.8%;
  top: 32.5%;
  width: 23%;
  aspect-ratio: 1;
  transform-origin: 65% 57%;
  transform: translate(-65%, -57%) rotate(-7deg);
  filter: brightness(calc(.53 + .56 * var(--fire-light)));
}
.about-card-flame img {
  width: 100%;
  height: auto;
  mask-image: linear-gradient(transparent 42%, #000 53%);
}
.about-flame-tip {
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(#000 42%, transparent 53%);
}
.about-flame-tip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/fire.webp') center / 100% 100% no-repeat;
  transform-origin: 53% 50%;
  animation: about-flame-sway 2.63s -.61s ease-in-out infinite paused;
}
.portrait-frame.is-fire-visible .about-card-fire,
.portrait-frame.is-fire-visible .about-flame-back,
.portrait-frame.is-fire-visible .about-flame-tip::before {
  animation-play-state: running;
}
.portrait-frame.is-fire-visible .about-portrait-life {
  animation-play-state: running, running, running;
}
@keyframes about-fire-back-strength {
  0%, 100% { --about-fire-back-strength: .12; }
  16% { --about-fire-back-strength: .67; }
  28% { --about-fire-back-strength: .38; }
  47% { --about-fire-back-strength: .83; }
  65% { --about-fire-back-strength: .16; }
  79% { --about-fire-back-strength: .56; }
  91% { --about-fire-back-strength: .27; }
}
@keyframes about-fire-back-sway {
  0%, 100% { transform: rotate(-3deg) skewX(0deg) scale(.90, .82); }
  23% { transform: rotate(2deg) skewX(-1deg) scale(.95, 1.07); }
  46% { transform: rotate(-4deg) skewX(2deg) scale(.84, .91); }
  69% { transform: rotate(-8deg) skewX(-1deg) scale(.88, 1.11); }
  85% { transform: rotate(-1deg) skewX(-2deg) scale(.91, .94); }
}
@keyframes about-fire-flicker {
  0%, 100% { --about-fire-flicker: .94; }
  11% { --about-fire-flicker: .77; }
  18% { --about-fire-flicker: .91; }
  29% { --about-fire-flicker: 1; }
  42% { --about-fire-flicker: .85; }
  55% { --about-fire-flicker: .96; }
  68% { --about-fire-flicker: .76; }
  82% { --about-fire-flicker: .99; }
}
@keyframes about-flame-sway {
  0%, 100% { transform: skewX(-3deg) scale(1, .99); }
  19% { transform: skewX(8deg) scale(.96, 1.07); }
  41% { transform: skewX(1deg) scale(1.025, .94); }
  59% { transform: skewX(-7deg) scale(1.05, 1.01); }
  78% { transform: skewX(4deg) scale(.97, 1.055); }
}
.about-portrait-effects { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.about-signature {
  position: absolute;
  z-index: 3;
  bottom: 5.5%;
  left: 50%;
  width: 71%;
  height: auto;
  transform: translateX(-50%);
}
.about-signature-art { mask: url(#about-signature-mask); }
.about-signature-strokes path { opacity: 0; }
.about-signature-finish { opacity: clamp(0, (var(--about-signature-progress, 0) - .96) / .04, 1); }
.lead { color: #e5d5c2 !important; font: italic 23px/1.45 var(--serif) !important; }
.about-copy > .section-kicker { color: #b98a55; font-size: 11px; text-transform: uppercase; letter-spacing: .24em; }
.about-copy > p:not(.section-kicker) { margin: 0 0 13px; }
.achievement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 26px 0 20px; padding: 0; list-style: none; }
.achievement {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  min-height: 136px;
  padding: 8px 9px 9px;
  border: 1px solid rgba(233,201,142,.23);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(89,26,43,.36), rgba(23,8,13,.24));
  box-shadow: inset 0 1px rgba(255,230,185,.07), 0 5px 12px rgba(0,0,0,.10);
  text-align: center;
  overflow-wrap: anywhere;
}
.achievement-icon { width: 36px; height: 36px; fill: none; stroke: url(#achievement-gold); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.achievement strong, .achievement span { display: block; }
.achievement strong { margin-block: 5px 4px; color: #ecd8b9; font-size: 15px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
.achievement span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.achievement .achievement-subtitle { margin-bottom: 2px; color: #ecd8b9; font-size: 13px; font-weight: 600; }
.biography-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  padding: 8px 15px;
  overflow: hidden;
  border: 1px solid rgba(233,201,142,.44);
  border-radius: 10px;
  background: linear-gradient(155deg, #3b2a25, #1c1114 48%, #251917);
  box-shadow: inset 0 1px rgba(255,228,187,.12), 0 4px 14px rgba(0,0,0,.24);
  color: var(--champagne);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .24s;
}
.biography-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 22%, rgba(255,226,174,.12) 50%, transparent 78%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity .4s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
@media (hover: hover) {
  .biography-button:hover { border-color: rgba(233,201,142,.72); }
  .biography-button:hover::after { opacity: 1; transform: translateX(25%); }
}
.biography-button svg, .biography-close svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.biography-button svg { flex: none; }
.biography-button .biography-book { width: 19px; }
.biography-button:focus-visible, .biography-close:focus-visible, .biography-scroll:focus-visible, .biography-return:focus-visible { outline: 2px solid #ae8049; outline-offset: 3px; }
html.biography-open { overflow: hidden; scrollbar-gutter: stable; }
html.biography-open body { overflow: hidden; }
.biography-dialog {
  width: min(1120px, calc(100% - 72px));
  height: min(900px, calc(100dvh - 64px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #d0b78f;
  background: #f7efe1;
  color: #2e211d;
  box-shadow: 0 24px 80px #10060970;
  overflow: hidden;
}
.biography-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: biography-enter .32s ease-out both; }
.biography-dialog::backdrop { background: rgba(12, 4, 7, .78); animation: biography-backdrop .32s ease-out both; }
@keyframes biography-enter { from { opacity: 0; transform: translateY(12px); } }
@keyframes biography-backdrop { from { opacity: 0; } }
.biography-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px clamp(14px, 4vw, 40px);
  border-bottom: 1px solid #dfcfb7;
}
.biography-toolbar-label { color: #795635; font: 600 11px/1.4 var(--sans); }
.biography-toolbar-label:focus { outline: none; }
.biography-status { margin: 0; padding: clamp(24px, 6vw, 72px); color: #664c33; }
.biography-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c4a77d;
  border-radius: 50%;
  background: transparent;
  color: #664c33;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.biography-close:hover { background: #efe4d1; border-color: #ae8049; color: #271911; }
.biography-close svg { width: 16px; height: 16px; }
.biography-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.biography-scroll:focus-visible { outline-offset: -3px; }
.biography-article {
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 72px) clamp(18px, 6vw, 72px);
  font: 18px/1.65 var(--serif);
}
.biography-article h2 {
  margin: 12px 0;
  color: #33221b;
  background: none;
  font-size: clamp(36px, 7vw, 84px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.biography-timeline {
  --timeline-indent: clamp(19px, 4vw, 37px);
  display: grid;
  gap: clamp(24px, 4.4vw, 46px);
  margin: clamp(24px, 4vw, 46px) 0 0 5px;
  padding: 0 0 0 var(--timeline-indent);
  border-inline-start: 1px solid #c4a77d;
  list-style: none;
}
.biography-event { position: relative; }
.biography-event::before {
  content: '';
  position: absolute;
  inset-block-start: clamp(10px, 1.3vw, 17px);
  inset-inline-start: calc(-1 * var(--timeline-indent) - 5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ac7b43;
  box-shadow: 0 0 7px #ac7b4338;
}
.biography-event h3 { margin: 0 0 12px; font: 400 clamp(25px, 4vw, 36px)/1.2 var(--serif); }
.biography-event time {
  display: inline-block;
  margin-inline-end: .12em;
  padding-inline-end: .42em;
  border-inline-end: 1px solid #c4a77d;
  font-variant-numeric: tabular-nums;
}
.biography-event p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .biography-timeline.has-scroll-reveal .biography-event-content { transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .biography-timeline.has-scroll-reveal .biography-event:not(.is-revealed) .biography-event-content { opacity: 0; transform: translateY(9px); }
}
.biography-footer { display: grid; justify-items: center; gap: 12px; margin-top: clamp(32px, 6vw, 60px); text-align: center; }
.biography-footer p { margin: 0; color: #644734; font: italic 400 clamp(22px, 4vw, 34px)/1.2 var(--serif); }
.biography-signature { width: min(68%, 290px); height: auto; }
.biography-return {
  min-height: 48px;
  padding: 8px 20px;
  border: 1px solid #c4a77d;
  border-radius: 999px;
  background: transparent;
  color: #664c33;
  font-weight: 600;
  cursor: pointer;
}
.biography-return:hover { background: #efe4d1; border-color: #ae8049; color: #271911; }
.gallery-section { background: linear-gradient(180deg, #090305, #16060b, #090305); }
.gallery { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1b090e;
  cursor: zoom-in;
}
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.045); }
}
.gallery-item:focus-visible, .lightbox button:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.videos-section { background: #090305; }
.video-halo { position: absolute; left: 50%; top: 5%; width: 80%; height: 70%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(112,22,43,.22), transparent 63%); }
.video-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { --video-play-inset: 18px; position: relative; aspect-ratio: 2 / 3; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(155deg, #410e1b, #110508 55%, #260812); overflow: hidden; cursor: pointer; }
.video-card:nth-child(2) { transform: translateY(30px); }
.video-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(4,1,2,.9)), radial-gradient(circle at 50% 35%, rgba(191,111,105,.22), transparent 30%); }
.video-card .play-icon {
  position: absolute;
  right: var(--video-play-inset);
  bottom: var(--video-play-inset);
  width: 64px;
  height: 64px;
  border-color: #ffe4ab;
  background: rgba(18, 8, 12, .58);
  color: #ffe4ab;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.video-card .play-icon svg { width: 19px; height: 19px; }
.video-showreel { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.video-showreel:focus-visible { outline: 2px solid var(--champagne); outline-offset: -3px; }
.video-meta { position: absolute; left: 24px; right: calc(var(--video-play-inset) + 74px); bottom: 24px; }
.video-meta small { color: var(--champagne-dark); text-transform: uppercase; letter-spacing: .2em; }
.video-meta h3 { margin: 8px 0 0; font: 24px var(--serif); overflow-wrap: anywhere; }
.video-card--showreel .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center top;
  transition: transform .45s var(--ease);
}
.video-card--showreel::before {
  z-index: 1;
  background: linear-gradient(180deg, transparent 44%, rgba(9,3,5,.18) 60%, rgba(9,3,5,.86));
  pointer-events: none;
}
.video-card--showreel .play-icon, .video-card--showreel .video-meta { z-index: 2; }
.video-card--showreel .video-meta small { color: var(--champagne); }
.video-card--showreel .video-showreel { z-index: 3; }
.video-pagination { display: none; }
@media (hover: hover) and (pointer: fine) {
  .video-card--showreel:hover .video-poster { transform: scale(1.035); }
  .video-card--showreel:hover .play-icon { box-shadow: 0 0 24px rgba(233,201,142,.40); }
}
.section.clients-section {
  --section-gutter: clamp(27px, 4.4vw, 48px);
  --bronze-glass-highlight: #f8ead9f5;
  --bronze-glass-mid: #f0dbc6f2;
  --bronze-glass-base: #e1c4a9f0;
  --bronze-glass-border: #fff0d680;
  --bronze-glass-glow: #edc49a38;
  --bronze-glass-radius: 9px;
  --bronze-glass-padding: clamp(4px, 1cqw, 9px);
  background: linear-gradient(180deg, #090305, #150509);
}
.clients-section .section-heading { margin-bottom: clamp(16px, 2.5vw, 32px); }
.logo-marquee {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2px, .75vw, 7px);
  width: 90%;
  margin-inline: auto;
  container-type: inline-size;
  contain: inline-size paint;
  overflow: clip;
}
.logo-row {
  --logo-gap: clamp(7px, 1.15cqw, 15px);
  /* Two six-logo cycles must cover even the widest viewport. */
  --logo-width: max(clamp(66px, 20cqw, 174px), calc(100cqw / 12 - var(--logo-gap) + 1px));
  --logo-image-size: 100%;
  --edge-fade: clamp(14px, 6%, 79px);
  overflow: hidden;
  padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--edge-fade), #000 calc(100% - var(--edge-fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--edge-fade), #000 calc(100% - var(--edge-fade)), transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: client-logos-scroll var(--logo-duration, 62s) linear var(--logo-phase, -7s) infinite paused;
}
.logo-marquee.is-moving .logo-track { animation-play-state: running; }
.logo-row:nth-child(2) { --logo-duration: 79s; --logo-phase: -32s; }
.logo-row:nth-child(3) { --logo-duration: 71s; --logo-phase: -44s; }
.logo-row:nth-child(4) { --logo-duration: 90s; --logo-phase: -53s; }
.logo-row:nth-child(even) .logo-track { animation-direction: reverse; }
.logo-cycle {
  display: flex;
  flex: none;
  gap: var(--logo-gap);
  margin: 0;
  padding: 0;
  padding-inline-end: var(--logo-gap);
  list-style: none;
}
.logo-cycle li {
  flex: none;
  width: var(--logo-width);
  aspect-ratio: 640 / 300;
  display: grid;
  place-items: center;
  padding: var(--bronze-glass-padding);
  border: 1px solid var(--bronze-glass-border);
  border-radius: var(--bronze-glass-radius);
  background: linear-gradient(147deg, var(--bronze-glass-highlight), var(--bronze-glass-mid) 53%, var(--bronze-glass-base));
  box-shadow: inset 0 1px #fff1cc40, 0 1px 5px var(--bronze-glass-glow);
}
.logo-cycle img { display: block; width: var(--logo-image-size); height: var(--logo-image-size); min-height: 0; object-fit: contain; }
@keyframes client-logos-scroll { from { transform: translateX(0); } to { transform: translateX(-33.3333333333%); } }
@media (max-width: 760px) {
  .logo-marquee { width: 100%; }
  .logo-row {
    --logo-width: clamp(104px, 30cqw, 168px);
    --bronze-glass-padding: 3px;
  }
}
.contact-section {
  display: grid;
  place-items: center;
  background:
    linear-gradient(#150509, transparent var(--section-gutter), transparent calc(100% - var(--section-gutter)), #060203),
    radial-gradient(circle at 50% 40%, #521124 0, #1d070d 35%, #080204 72%);
  text-align: center;
}
.contact-inner { position: relative; z-index: 2; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.contact-inner h2 { max-width: 820px; }
.contact-lead { max-width: 650px; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 34px; }
.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 140px;
  padding: 12px 12px;
  border: 1px solid rgba(233,201,142,.21);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(114,57,68,.19), rgba(30,8,13,.34));
  box-shadow: inset 0 1px rgba(255,236,199,.085);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: #e5d4bd;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .045em;
  transition: transform .3s var(--ease), border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.contact-icon { flex: none; color: var(--champagne); fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.contact-icon { width: 27px; height: 27px; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .contact-link:hover {
    transform: translateY(-3.5px);
    border-color: rgba(233,201,142,.42);
    background-color: rgba(94,35,49,.24);
    box-shadow: inset 0 1px rgba(255,236,199,.16), 0 5px 18px rgba(218,164,86,.12);
  }
  .contact-link:hover .contact-icon { transform: scale(1.09); }
}
@media (hover: none), (pointer: coarse) {
  .contact-link:active {
    transform: scale(.97);
    border-color: rgba(233,201,142,.48);
    background-color: rgba(94,35,49,.3);
    box-shadow: inset 0 1px rgba(255,236,199,.17);
    transition-duration: .15s;
  }
}
a.contact-link:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
  border-color: rgba(233,201,142,.48);
}
.is-disabled { opacity: .65; cursor: not-allowed; }
footer { background: #060203; border-top: 1px solid rgba(233,201,142,.11); }
.footer-inner { min-height: 95px; display: flex; align-items: center; justify-content: space-between; color: #76686a; font-size: 11px; letter-spacing: .08em; }
footer img { width: 60px; }
footer a { color: var(--champagne-dark); text-transform: uppercase; }
.footer-top {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(233, 201, 142, .35);
  border-radius: 999px;
  background: rgba(91, 23, 40, .35);
  color: var(--champagne);
  white-space: nowrap;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .15s ease;
}
.footer-top svg { flex: none; width: 15px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .footer-top:hover { border-color: rgba(233, 201, 142, .58); box-shadow: 0 0 15px rgba(233, 201, 142, .16); }
}
.footer-top:active { transform: scale(.97); background-color: rgba(101, 34, 49, .6); }
.footer-top:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
html.lightbox-open { overflow: hidden; scrollbar-gutter: stable; }
html.showreel-open { overflow: hidden; scrollbar-gutter: stable; }
html.showreel-open body { overflow: hidden; }
.showreel-dialog {
  width: min(470px, calc(100% - 32px), calc((100vh - 92px) * 9 / 16));
  width: min(470px, calc(100% - 32px), calc((100dvh - 92px) * 9 / 16));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #16070d;
  color: var(--champagne-light);
  box-shadow: 0 18px 70px #0009;
}
.showreel-dialog::backdrop { background: rgba(8, 2, 5, .88); }
.showreel-dialog[open] { animation: lightbox-photo-enter .24s ease-out both; }
.showreel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-inline: 12px 4px;
  color: var(--champagne);
  font: 500 12px var(--sans);
  letter-spacing: .06em;
}
.showreel-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.showreel-close:hover { background: #421321; }
.showreel-close:focus-visible { outline: 1px solid var(--champagne); outline-offset: -3px; }
.showreel-close svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.showreel-player { aspect-ratio: 9 / 16; background: #090305; }
.showreel-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.lightbox {
  --lightbox-edge: clamp(44px, 7vw, 96px);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 0;
  background: transparent;
  color: var(--champagne-light);
}
.lightbox::backdrop { background: rgba(8, 2, 5, .94); }
.lightbox-stage {
  position: absolute;
  inset: 65px var(--lightbox-edge) 58px;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  touch-action: pan-y pinch-zoom;
}
.lightbox-image { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; animation: lightbox-photo-enter .24s ease-out both; }
@keyframes lightbox-photo-enter { from { opacity: 0; } }
.lightbox-close, .lightbox-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(58, 13, 27, .64);
  color: var(--champagne-light);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lightbox-close:hover, .lightbox-arrow:hover { border-color: var(--champagne); background: #421321; }
.lightbox button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.lightbox-close { top: max(14px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
.lightbox-arrow { top: 50%; transform: translateY(-50%); }
.lightbox-arrow[hidden] { display: none; }
.lightbox-prev { left: clamp(3px, 2vw, 24px); }
.lightbox-next { right: clamp(3px, 2vw, 24px); }
.lightbox-count, .lightbox-status { position: absolute; inset-inline: var(--lightbox-edge); margin: 0; text-align: center; pointer-events: none; }
.lightbox-count { bottom: max(20px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .16em; }
.lightbox-status { top: 50%; transform: translateY(-50%); font-size: 14px; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 1051px) {
  .site-header { --nav-h: 54px; top: 29px; width: 88vw; }
  .site-header .brand { height: 50px; grid-template-rows: minmax(0, 1fr); }
  .site-header .brand img { height: 55px; }
  .site-header .nav-links { align-items: center; }
  .site-header .nav-links a { padding-block: 10px; }
  .language-switcher button { padding-inline: 7px; font-size: 12.5px; color: var(--muted); opacity: 1; }
  .language-switcher button.is-active { color: var(--champagne); }
  .site-header :is(a, button):focus-visible {
    outline: 1px solid var(--champagne);
    outline-offset: 2px;
    border-radius: 6px;
  }
  main { --hero-about-seam: #0d0306; }
  .hero { overflow: visible; z-index: 1; }
  .hero-portrait { right: 3vw; bottom: 0; height: auto; max-height: calc(100% - 100px); max-width: 52vw; object-position: right bottom; }
  .hero::after {
    z-index: 1;
    background: linear-gradient(transparent, rgba(13, 3, 6, .18) 28%, rgba(13, 3, 6, .54) 56%, rgba(13, 3, 6, .88) 83%, var(--hero-about-seam));
  }
  .hero-lights { opacity: .35; }
  .float-card--far, .float-card--middle { display: block; }
  .float-card--far {
    --float-tilt: -24deg; --float-lift: 8px; --float-drift: 4px;
    --float-duration: 8.7s; --float-delay: -4.6s;
    --turn-angle: 17deg; --turn-duration: 10.4s; --turn-delay: -5.6s;
    top: 25%; left: 51.5%; width: clamp(28.75px, 2.8125vw, 42.5px);
    filter: blur(.8px) drop-shadow(0 3px 7px rgba(0, 0, 0, .32));
    opacity: .9;
  }
  .float-card--middle {
    --float-tilt: 31deg; --float-lift: 11px; --float-drift: 6px;
    --float-duration: 6.8s; --float-delay: -2.8s;
    --turn-angle: 22deg; --turn-duration: 7.9s; --turn-delay: -3.1s;
    top: 40%;
    left: max(var(--float-left, 54%), calc((100% - 1180px) / 2 + min(42vw, var(--float-title-clearance, 665px))));
    width: clamp(56.25px, 5.69vw, 90.25px);
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .46));
  }
  .float-card--middle:lang(ru) { --float-left: 51%; --float-title-clearance: 600px; }
  .float-card--middle:lang(hy) { --float-left: 52%; --float-title-clearance: 630px; }
  .hero-content { padding-top: 18px; }
  .eyebrow { margin-bottom: 34px; }
  #heroTitle {
    line-height: .96;
    --title-inset: max(24px, (100vw - 1180px) / 2);
    --card-anchor: max(var(--title-card-left, 54vw), calc((100vw - 1180px) / 2 + min(42vw, var(--title-card-inset, 665px))));
    /* Allow for the leftmost corner of the card during its sway and tilt. */
    --surname-room: calc(var(--card-anchor) - var(--title-inset) - 32px);
  }
  #heroTitle:lang(ru) { --title-card-left: 51vw; --title-card-inset: 600px; }
  #heroTitle:lang(hy) { --title-card-left: 52vw; --title-card-inset: 630px; }
  .hero-surname { margin-left: 0; }
  .card-spread { display: block; }
}
@media (max-width: 1050px) {
  .site-header { display: none; } .menu-toggle { opacity: 1; pointer-events: auto; transform: none; }
  .hero-portrait { right: -13vw; height: 90%; } .hero-content { padding-top: 20px; }
  .about-grid { gap: 45px; } .portrait-frame { height: 484px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px), (761px <= width <= 1050px) and (orientation: portrait) {
  .hero {
    --mobile-hero-height: max(680px, 100svh);
    --mobile-portrait-top: clamp(54px, 8svh, 75px);
    --mobile-portrait-height: min(540px, 117vw, calc(var(--mobile-hero-height) - 320px));
    z-index: 1;
    height: var(--mobile-hero-height);
    min-height: 0;
    overflow: visible;
    background-position: 60% center;
  }
  .hero::before { z-index: 3; background: linear-gradient(180deg, transparent 34%, rgba(8,2,4,.22) 54%, rgba(8,2,4,.89) 76%, #0c0306 100%), linear-gradient(90deg, rgba(8,1,3,.18), transparent); }
  .hero-portrait {
    inset: var(--mobile-portrait-top) auto auto 50%;
    width: auto;
    height: var(--mobile-portrait-height);
    transform: translateX(-50%);
    object-position: center;
  }
  .hero-lights { opacity: .42; background-position: 72% center; }
  .hero-content { justify-content: flex-end; align-items: center; text-align: center; padding-bottom: clamp(82px, 11svh, 96px); }
  .eyebrow { gap: 10px; letter-spacing: .29em; font-size: 8px; margin-bottom: 16px; }
  .eyebrow::before, .eyebrow::after { width: 30px; }
  h1 { font-size: clamp(50px, 16vw, 73px); line-height: .84; }
  #heroTitle { --surname-room: min(100vw - 32px, 560px); }
  .hero-surname { margin-left: 0; }
  #heroTitle:lang(hy) { font-size: clamp(34px, 12vw, 62px); }
  .hero-tagline { margin: 21px 0 24px; font-size: 22px; }
  .hero-actions { --quote-mobile-min: 230px; margin: 0; gap: 15px; flex-direction: column; }
  :where(.hero) .btn { min-height: 54px; min-width: 230px; }
  .btn-showreel { font-size: 9px; }
  .floating-cards { width: min(100%, 530px); margin-inline: auto; }
  .float-card--far {
    --float-tilt: -21deg; --float-lift: 5px; --float-drift: 3px;
    --float-duration: 8.7s; --float-delay: -4.6s;
    --turn-angle: 17deg; --turn-duration: 10.4s; --turn-delay: -5.6s;
    display: block;
    top: calc(var(--mobile-portrait-top) + var(--mobile-portrait-height) * .20);
    left: 13%;
    width: clamp(27px, 8vw, 42px);
    opacity: .9;
    filter: blur(.5px) drop-shadow(0 3px 7px rgba(0,0,0,.32));
  }
  .float-card--near {
    --float-lift: 7px; --float-drift: 4px;
    top: calc(var(--mobile-portrait-top) + var(--mobile-portrait-height) * .13);
    right: 11%;
    width: clamp(36px, 10vw, 52px);
  }
  .float-card--middle {
    --float-tilt: 18deg; --float-lift: 6px; --float-drift: 3px;
    --float-duration: 6.8s; --float-delay: -2.8s;
    --turn-angle: 22deg; --turn-duration: 7.9s; --turn-delay: -3.1s;
    display: block;
    top: calc(var(--mobile-portrait-top) + var(--mobile-portrait-height) * .43);
    right: 4.5%;
    width: clamp(34px, 10vw, 52px);
    filter: drop-shadow(0 6px 10px rgba(0,0,0,.46));
  }
  .card-spread {
    --spread-card-width: clamp(44px, 13vw, 65px);
    display: block;
    z-index: 8;
    bottom: -26px;
    left: max(42px, 12%, calc((100% - 555px) / 2 + 48px));
  }
}
@media (761px <= width <= 1050px) and (orientation: portrait) {
  .hero {
    --mobile-hero-height: clamp(800px, 100svh, calc(80vw + 585px));
    --mobile-portrait-top: clamp(46px, 5.5svh, 74px);
    --mobile-portrait-height: min(85vw, 63svh, 870px);
  }
  .hero-content { padding-bottom: clamp(105px, 10svh, 132px); }
  .hero .eyebrow { gap: 14px; margin-bottom: 22px; font-size: 10px; }
  .hero .eyebrow::before, .hero .eyebrow::after { width: 46px; }
  #heroTitle { --surname-room: min(76vw, 800px); font-size: clamp(74px, 11vw, 110px); line-height: .91; }
  #heroTitle:lang(hy) { font-size: clamp(65px, 9.5vw, 94px); line-height: 1.03; }
  .hero-tagline { margin-block: 24px 29px; font-size: clamp(25px, 3.1vw, 32px); }
  .hero-actions { --quote-mobile-min: 240px; flex-direction: row; gap: 30px; }
  .hero .btn { min-height: 58px; }
  .hero .btn-showreel { font-size: 10px; }
  .floating-cards { width: min(96%, calc(var(--mobile-portrait-height) * .96)); }
  .float-card--far { width: clamp(38px, 5.6vw, 53px); }
  .float-card--near { width: clamp(48px, 6.8vw, 65px); }
  .float-card--middle { width: clamp(47px, 6.6vw, 66px); right: 3%; }
  .card-spread {
    --spread-card-width: clamp(67px, 8.6vw, 88px);
    bottom: -44px;
    left: max(12%, calc((100% - 680px) / 2 + 64px));
  }
  .about { padding-block-start: 110px; }
}
@media (761px <= width <= 1050px) and (min-height: 600px) and (orientation: landscape),
       (1051px <= width <= 1440px) and (min-height: 600px) and (orientation: landscape) and (any-pointer: coarse) {
  .hero { height: max(650px, 100svh); min-height: 0; z-index: 1; overflow: visible; }
  .hero-portrait {
    right: 2vw;
    bottom: 0;
    width: auto;
    height: auto;
    max-width: 48vw;
    max-height: calc(100% - 72px);
    object-position: right bottom;
  }
  .hero-content { padding-top: 22px; }
  .hero .eyebrow { gap: 14px; margin-bottom: 25px; font-size: 10px; }
  .hero .eyebrow::before, .hero .eyebrow::after { width: 42px; }
  #heroTitle {
    --surname-room: calc(47vw - max(24px, (100vw - 1180px) / 2) - 16px);
    font-size: clamp(50px, 5.9vw, 84px);
    line-height: .96;
  }
  #heroTitle:lang(hy) { font-size: clamp(45px, 5.4vw, 76px); }
  .hero-surname { margin-left: 0; }
  .hero-tagline { margin: 26px 0 28px; font-size: clamp(22px, 2.45vw, 30px); }
  .hero-actions { margin: 0; flex-wrap: wrap; max-width: calc(47vw - max(24px, (100vw - 1180px) / 2)); gap: 6px 20px; }
  .float-card--far {
    --float-tilt: -24deg; --float-lift: 7px; --float-drift: 4px;
    --float-duration: 8.7s; --float-delay: -4.6s;
    --turn-angle: 17deg; --turn-duration: 10.4s; --turn-delay: -5.6s;
    display: block; top: 25%; left: 53%; width: clamp(34px, 3.6vw, 48px);
    opacity: .9; filter: blur(.5px) drop-shadow(0 3px 7px rgba(0,0,0,.32));
  }
  .float-card--middle, .float-card--middle:lang(ru), .float-card--middle:lang(hy) {
    --float-tilt: 27deg; --float-lift: 8px; --float-drift: 4px;
    --float-duration: 6.8s; --float-delay: -2.8s;
    --turn-angle: 22deg; --turn-duration: 7.9s; --turn-delay: -3.1s;
    display: block; top: 51%; left: 49%; width: clamp(40px, 4.2vw, 58px);
    filter: drop-shadow(0 6px 10px rgba(0,0,0,.46));
  }
  .float-card--near { top: 19%; right: 5%; width: clamp(48px, 5.1vw, 72px); }
  .card-spread { display: block; --spread-card-width: clamp(60px, 6.4vw, 90px); }
}
@media (761px <= width <= 900px) and (orientation: portrait) {
  .contact-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .contact-link { width: 100%; padding-inline: 9px; }
}
@media (max-width: 760px) {
  :root { --wrap: min(100% - 32px, 560px); }
  .menu-toggle { right: 16px; top: 16px; width: 49px; height: 49px; }
  .hero-mobile-logo {
    display: grid;
    place-items: center;
    position: absolute;
    z-index: 7;
    left: max(16px, env(safe-area-inset-left));
    top: max(16px, env(safe-area-inset-top));
    width: 49px;
    height: 49px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(55, 14, 24, .72);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
  }
  .hero-mobile-logo img {
    width: 36px;
    height: 24px;
    object-fit: contain;
    object-position: center;
  }
  .float-card--middle .spread-back i {
    width: min(27.5px, calc(100% - 13px));
    font-size: clamp(8px, 2.65vw, 11.25px);
  }
  .float-card--near {
    top: max(82px, calc(var(--mobile-portrait-top) + var(--mobile-portrait-height) * .13 - var(--mobile-hero-height) * .055));
    right: calc(11% + 6vw);
  }
  .btn { min-height: 54px; min-width: 230px; }
  .section { --section-gutter: 45px; }
  .about { padding-block-start: 90px; }
  h2 { font-size: clamp(41px, 13vw, 60px); }
  .about-grid { grid-template-columns: 1fr; } .portrait-frame { width: 100%; height: 426px; max-width: 390px; margin: auto; }
  .achievement-grid { grid-template-columns: 1fr; grid-auto-rows: 1fr; }
  .achievement { min-height: 88px; display: flex; align-items: center; gap: 15px; padding: 8px 16px; text-align: left; }
  .achievement-icon { flex: none; }
  .biography-button { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; }
  html.biography-open { scrollbar-gutter: auto; }
  .biography-dialog { inset: 0; width: 100%; height: 100dvh; margin: 0; border: 0; }
  .biography-toolbar { padding-top: max(9px, env(safe-area-inset-top)); }
  .lightbox-prev { left: 3px; }
  .lightbox-next { right: 3px; }
  .lightbox-arrow { width: 38px; }
  .video-grid {
    --video-card-width: 82vw;
    --video-rail-start: max(16px, env(safe-area-inset-left));
    grid-template-columns: none;
    grid-auto-columns: var(--video-card-width);
    grid-auto-flow: column;
    gap: 8px;
    margin-inline: calc((100% - 100vw) / 2);
    padding-inline: var(--video-rail-start) calc(100vw - var(--video-card-width) - var(--video-rail-start));
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y pinch-zoom;
    scroll-padding-inline-start: var(--video-rail-start);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-grid .video-card {
    transform: none;
    transition-property: opacity;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .video-card--showreel .video-poster {
    object-position: center 30%;
    pointer-events: none;
    -webkit-user-drag: none;
  }
  .video-meta h3 { font-weight: 500; }
  .video-meta small { font-weight: 550; }
  .video-pagination {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 8px;
  }
  .video-page {
    display: grid;
    place-items: center;
    width: 36px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
  }
  .video-page::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #e9c98e65;
    transition: background-color .2s ease, width .2s ease;
  }
  .video-page[aria-current="true"]::before { width: 14px; background: var(--champagne); }
  .video-page:focus-visible { outline: 1px solid var(--champagne); outline-offset: -3px; }
  .contact-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: min(100%, clamp(260px, 76vw, 340px));
    margin-block: 20px 26px;
  }
  .contact-link {
    flex-direction: row;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 1px 13px;
    line-height: 1.25;
  }
  .contact-icon {
    width: 40px;
    height: 40px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(233,201,142,.075);
    stroke-width: 1.6;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    gap: clamp(4px, 1.5vw, 10px);
    padding: 14px 0;
  }
  .footer-credit {
    margin: 0;
    font-size: clamp(9px, 2.45vw, 11px);
    text-align: center;
    white-space: nowrap;
  }
  .footer-top {
    position: relative;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    border-color: var(--line);
    border-radius: 50%;
    background: rgba(55, 14, 24, .72);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .24);
  }
  .footer-top span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .footer-top svg { width: 18px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero {
    --mobile-hero-height: max(600px, 100svh);
    --mobile-portrait-top: clamp(34px, 6svh, 44px);
    --mobile-portrait-height: min(470px, 117vw, calc(var(--mobile-hero-height) - 360px));
  }
  .hero-content { padding-bottom: 72px; }
  .hero-tagline { margin-block: 16px 17px; }
  .hero-actions { gap: 12px; }
  .float-card--near {
    top: max(42px, calc(var(--mobile-portrait-top) + var(--mobile-portrait-height) * .19 - var(--mobile-hero-height) * .055));
    right: max(80px, calc(11% + 6vw));
  }
}
@media (max-width: 320px) {
  .gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .footer-top:active { transform: none; }
  .logo-row { overflow: auto; -webkit-mask-image: none; mask-image: none; }
  .logo-track { animation-name: none; }
  .logo-cycle-repeat { display: none; }
  .contact-link:hover, .contact-link:active, .contact-link:hover .contact-icon { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .about-portrait-zoom { transform: none; }
  .about-portrait-life { animation: none; }
  .about-portrait-image { filter: none; }
  .about-card-fire { --about-portrait-progress: .5; }
  .about-card-fire, .about-flame-back, .about-flame-tip::before { animation: none; }
  .about-signature-art { mask: none; }
}
