:root {
  --ink: #181917;
  --black: #111210;
  --white: #f8f7f1;
  --yellow: #f7cc25;
  --muted: #bcbdb5;
  --line: #444640;
  --sans: Arial, Helvetica, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --target: 44px;
  --gap: 8px;
  --icon-size: 22px;
  --label-dash: 8px;
  --display-weight: 900;
  --section-title: clamp(31px, 4.15vw, 65px);
  --section-space: clamp(36px, 6vw, 92px);
  --stripes: linear-gradient(115deg, transparent 12%, currentColor 12% 24%, transparent 24% 42%, currentColor 42% 54%, transparent 54% 72%, currentColor 72% 84%, transparent 84%);
  --gutter: clamp(20px, 5.1vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--sans); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.contact a:focus-visible { outline-color: var(--ink); }

.skip-link {
  position: fixed; z-index: 10; top: 8px; left: 8px;
  padding: 12px; background: var(--yellow); color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.icon {
  display: block; width: var(--icon-size); height: var(--icon-size); flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: bevel;
}
.flip { transform: scaleX(-1); }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 70px; padding: 6px var(--gutter); background: var(--black); color: var(--white);
  position: relative; z-index: 3; border-bottom: 1px solid var(--line);
}
.brand { font-size: clamp(16px, 1.55vw, 24px); letter-spacing: .11em; font-weight: var(--display-weight); white-space: nowrap; }
.site-header .brand { display: inline-flex; align-items: center; gap: var(--gap); min-height: var(--target); }
.brand b, .brand-stripes { color: var(--yellow); }
.brand-stripes { width: 24px; height: 12px; flex: none; background: var(--stripes); }
.desktop-nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 32px); font-size: 14px; }
.desktop-nav a { display: flex; align-items: center; min-height: var(--target); }
.desktop-nav a:hover, .mobile-menu nav a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 5px; }
.site-header .header-contact { gap: var(--gap); min-height: var(--target); padding: 6px 10px; font-size: 14px; }
.header-contact .icon { width: 18px; height: 18px; }
.mobile-menu { display: none; }
details:not([open]) > summary .icon-when-open, details[open] > summary .icon-when-closed { display: none; }

.section-pad { padding-inline: var(--gutter); }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 490px; border-bottom: 1px solid var(--line);
}
.hero-content {
  align-self: center; padding: clamp(40px, 6.2vw, 120px) clamp(16px, 2.6vw, 50px)
    clamp(40px, 6.2vw, 120px) var(--gutter);
}
.eyebrow, .section-kicker, .overline {
  font: 700 13px/1.35 var(--mono); letter-spacing: .13em; text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow { display: flex; gap: 12px; align-items: center; }
.eyebrow::before {
  content: ''; display: block; width: var(--label-dash); height: 1px; flex: none;
  background: currentColor;
}
.hero h1 {
  margin-bottom: 19px; font-size: clamp(39px, 6vw, 116px); font-weight: var(--display-weight);
  letter-spacing: -.075em; line-height: .94;
}
.hero h1 span { color: var(--yellow); }
.hero-intro { max-width: 34ch; font-size: clamp(16px, 1.45vw, 23px); line-height: 1.5; color: var(--muted); }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 54px; padding: 12px 17px; font-weight: 700;
}
.hero-content .button { margin-top: 25px; }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-yellow:hover { background: #ffe06a; }
.button-outline { border: 1px solid var(--yellow); color: var(--yellow); }
.button-outline:hover { background: var(--yellow); color: var(--black); }

.chronicle { min-width: 0; display: flex; flex-direction: column; background: var(--black); border-left: 1px solid var(--line); }
.chronicle-head, .photo-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 16px;
}
.chronicle-head { min-height: 48px; }
.chronicle-head h2::after {
  content: ""; width: 28px; height: 8px; margin-left: 4px;
  background: var(--stripes);
}
.chronicle-head h2 {
  display: flex; gap: 8px; align-items: center;
  color: var(--yellow); font: 700 14px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em;
}
.chronicle-head > span, .photo-count { font: 700 12px/1.2 var(--mono); }
.chronicle-head > span { color: var(--muted); }
.photo-stage {
  position: relative; isolation: isolate; display: grid; align-items: center; min-height: 280px;
  aspect-ratio: 4 / 3; flex: 1; overflow: hidden; background: #282925; touch-action: pan-y pinch-zoom;
}
.photo-stage::after {
  content: ''; position: absolute; inset: 12px; z-index: 2; pointer-events: none;
  --corner: linear-gradient(var(--yellow), var(--yellow));
  background: var(--corner) top left / 15px 2px, var(--corner) top left / 2px 15px,
    var(--corner) top right / 15px 2px, var(--corner) top right / 2px 15px,
    var(--corner) bottom left / 15px 2px, var(--corner) bottom left / 2px 15px,
    var(--corner) bottom right / 15px 2px, var(--corner) bottom right / 2px 15px;
  background-repeat: no-repeat;
}
.photo-frame, .case-photo img {
  position: absolute; inset: 0; display: block; margin: auto;
  width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;
}
.photo-frame { user-select: none; }
.photo-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.photo-caption { display: flex; align-items: center; gap: 12px; min-width: 0; }
.photo-count { color: var(--yellow); white-space: nowrap; }
.photo-source, .text-link { display: inline-flex; align-items: center; gap: 6px; }
.photo-source { min-height: 44px; font-size: 14px; }
.photo-source:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.photo-source .icon, .text-link .icon { width: 16px; height: 16px; }
.photo-controls, .video-controls { flex: none; display: flex; gap: 6px; }
.photo-controls button, .video-controls button {
  width: var(--target); height: var(--target); display: grid; place-items: center;
  padding: 0; border: 1px solid var(--line); background: var(--ink); cursor: pointer;
}
.photo-controls button:hover, .video-controls button:not([aria-disabled="true"]):hover { border-color: var(--yellow); color: var(--yellow); }
.video-controls button[aria-disabled="true"] { opacity: .38; cursor: default; }
.photo-error { order: 3; grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.photo-fallback { display: inline-flex; align-items: center; gap: var(--gap); padding: 14px 16px; text-decoration: underline; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 21px var(--gutter); border-bottom: 1px solid var(--line); }
.stats > div { display: grid; gap: 4px; }
.stats strong { color: var(--yellow); font-size: clamp(23px, 3.4vw, 50px); line-height: 1; letter-spacing: -.04em; }
.stats .stat-prefix { display: block; margin-bottom: 4px; font: 700 clamp(13px, 1.35vw, 19px)/1.25 var(--sans); letter-spacing: normal; }
.stats > div > span { font-size: clamp(13px, 1.35vw, 19px); }

.videos { padding-block: clamp(28px, 4.2vw, 65px); background: var(--black); border-bottom: 1px solid var(--line); }
.videos-head, .portfolio-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 20px; }
.videos h2 { margin-top: 9px; font-size: clamp(26px, 3.1vw, 45px); letter-spacing: -.05em; }
.video-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 28%, 330px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--line) var(--black);
  list-style: none; margin: 0; padding: 3px 3px 10px; scroll-padding-inline: 3px;
}
.video-list > li { min-width: 0; scroll-snap-align: start; }
.video-card {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 10px; align-items: center;
  height: 100%; min-height: 98px; padding: 12px;
  background: var(--ink); border: 1px solid var(--line);
}
.video-card:hover { border-color: var(--yellow); }
.video-card:focus-visible { outline-offset: -3px; }
.video-card .icon { width: 18px; height: 18px; }
.video-badge { display: grid; place-items: center; width: 40px; height: 40px; background: var(--yellow); color: var(--ink); }
.video-label { display: grid; gap: 5px; }
.video-label strong { font-size: 15px; }
.video-label small { color: var(--muted); font: 12px/1.2 var(--mono); }

.work-layout, .faq {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px); padding-block: var(--section-space);
}
.section-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.kicker-rule { width: var(--label-dash); height: 1px; flex: none; background: currentColor; }
.section-heading h2, .about h2, .portfolio h2, .faq h2, .contact h2 {
  font-size: var(--section-title); letter-spacing: -.06em; line-height: .99;
}
.section-heading p, .faq-heading > p { margin: 12px 0 18px; color: var(--muted); line-height: 1.5; }
.service-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); }
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-icon { color: var(--yellow); }
.service-item h3 { font-size: clamp(17px, 1.5vw, 22px); font-weight: 600; }
.service-item p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.portfolio-head { display: block; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 12px; }
.case-feature { grid-column: 1 / -1; }
.case-photo { position: relative; aspect-ratio: 4 / 3; background: var(--black); }
.case-index, .case-open { position: absolute; top: 6px; padding: 5px; background: var(--black); }
.case-index { left: 6px; font: 12px/1 var(--mono); }
.case-open { right: 6px; width: 30px; height: 30px; color: var(--yellow); }
.case-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; padding-top: 9px; }
.case-meta p { font: 12px/1.25 var(--mono); color: var(--yellow); }
.case-meta h3 { margin-top: 2px; font-size: clamp(18px, 2.1vw, 34px); line-height: 1.1; letter-spacing: -.04em; }
.case-tag, .case-description { font-size: 13px; line-height: 1.4; color: var(--muted); }
.case-description { margin-top: 6px; }
.case-source { margin-top: 17px; font-size: 14px; }
.case-source a { display: inline-flex; align-items: center; gap: var(--gap); text-decoration: underline; text-underline-offset: 4px; }
.case-source .icon, .contact-details .icon { width: 16px; height: 16px; }

.about {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start; gap: clamp(24px, 5vw, 80px); padding-block: var(--section-space);
  background: var(--black); border-block: 1px solid var(--line);
}
.about h2 { font-weight: var(--display-weight); }
.about h2 span { color: var(--yellow); }
.about-location { margin-top: 12px; color: var(--muted); font: 700 13px/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.about-content > p { max-width: 54ch; line-height: 1.55; color: var(--muted); }
.about-steps {
  display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 10px;
  margin: 20px 0 6px; padding: 13px 0; list-style: none; border-block: 1px solid var(--line);
}
.about-steps li { display: flex; align-items: center; gap: var(--gap); font-size: 14px; }
.about-steps .icon { color: var(--yellow); }
.about .text-link { min-height: var(--target); }
.about .text-link .icon { color: var(--yellow); }

.faq-list details { padding: 8px 0 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding: 4px 0 8px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--yellow); }
.faq-list details p { padding-bottom: 14px; color: var(--muted); line-height: 1.5; }

.contact { padding-block: clamp(32px, 5vw, 76px); background: var(--yellow); color: var(--ink); }
.contact .section-kicker, .contact .overline { color: inherit; }
.contact .overline { margin-bottom: 7px; }
.contact-main { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.contact .button { background: var(--black); color: var(--white); }
.contact .button:hover { background: #34352d; }
.contact-sub { margin-top: 12px; line-height: 1.5; }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #826a11; }
.contact-details > div { display: grid; align-content: start; gap: 5px; }
.contact-details > div > span { font: 700 12px/1.35 var(--mono); letter-spacing: .12em; }
.contact-details a { display: inline-flex; align-items: center; gap: var(--gap); min-height: var(--target); text-decoration: underline; text-underline-offset: 4px; }
.site-footer {
  padding-block: clamp(26px, 4.5vw, 65px) 15px;
  background: var(--black); color: var(--white);
}
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 26px; }
.footer-kicker { margin-bottom: 8px; color: var(--yellow); font: 700 13px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.footer-brand { display: inline-block; font-size: clamp(40px, 8.3vw, 124px); font-weight: var(--display-weight); line-height: .92; letter-spacing: -.07em; }
.footer-brand span { color: var(--yellow); }
.footer-contact { display: grid; gap: 2px; }
.footer-contact p, .footer-bottom { font-size: 14px; color: var(--muted); }
.footer-contact a, .footer-bottom a { display: inline-flex; justify-self: start; align-items: center; min-height: 44px; gap: 8px; }
.footer-contact a:hover, .footer-bottom a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact .icon, .footer-bottom .icon { width: 16px; height: 16px; color: var(--yellow); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 55px;
  margin-top: 19px; padding: 8px 0 0; border-top: 1px solid var(--line);
}
.video-position { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; color: var(--muted); font: 12px/1.3 var(--mono); }
.video-position input { width: 100%; min-height: 44px; margin: 0; accent-color: var(--yellow); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { display: grid; place-items: center; width: var(--target); height: var(--target); border: 1px solid var(--line); cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] summary { color: var(--yellow); border-color: var(--yellow); }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; background: var(--black); box-shadow: 0 8px 18px #0003; }
  .mobile-menu nav a { display: grid; align-items: center; min-height: 44px; padding-inline: var(--gutter); border-top: 1px solid var(--line); }
  .hero { min-height: 0; }
}

@media (max-width: 730px) {
  .site-header { min-height: 60px; gap: 10px; }
  .site-header .header-contact { font-size: 13px; }
  .hero, .work-layout, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero-content { padding: 37px var(--gutter) 30px; }
  .hero h1 { font-size: clamp(40px, 10.7vw, 75px); }
  .chronicle { border-left: 0; border-top: 1px solid var(--line); }
  .photo-stage { min-height: 0; }
  .stats { padding-block: 16px; }
  .stats > div > span { line-height: 1.25; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .contact-main { flex-wrap: wrap; }
  .contact-details { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .site-header { gap: 6px; padding-inline: 12px; }
  .site-header .brand { gap: 6px; font-size: 15px; letter-spacing: .07em; }
  .site-header .brand-stripes { width: 14px; }
  .site-header .header-contact { gap: 4px; padding-inline: 7px; }
  .header-contact .icon { width: 16px; height: 16px; }
  .photo-caption { gap: 6px; }
  .photo-bar, .chronicle-head { padding-inline: 10px; }
  .stats { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.video-year { color: var(--yellow); font: 700 12px/1 var(--mono); white-space: nowrap; }
.video-position input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
