:root {
  --grey: #797979;
  --light: #f5f5f5;
  --black: #000;
  --white: #fff;
  --soft: #d9d9d9;
  --gutter: 4vw;
  --head: "Epilogue", "Helvetica Neue", Arial, sans-serif;
  --body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --h1: clamp(2.4rem, 5.16vw, 5rem);
  --h2: clamp(1.9rem, 3.72vw, 3.4rem);
  --h3: clamp(1.45rem, 3vw, 2.5rem);
  --h4: clamp(1.25rem, 2.28vw, 2rem);
  --header-h: 99px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--grey); color: var(--white); font: 400 16px/1.5 var(--body); }
img, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, .h3, .h4 { margin: 0; font-family: var(--head); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3, .h3 { font-size: var(--h3); }
.h4 { font-size: var(--h4); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Buttons */
.btn { display: inline-block; font: 400 16px/1 var(--body); padding: 16px 21px; border: 2px solid; border-radius: 0; text-decoration: none; cursor: pointer; background: none; transition: background .2s, color .2s; }
.btn-outline { color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-dark { color: var(--black); border-color: var(--black); }
.btn-dark:hover { background: var(--black); color: var(--white); }
.btn-light { background: var(--soft); color: var(--black); border-color: var(--soft); }
.btn-light:hover { background: var(--white); border-color: var(--white); }

/* Hand-drawn underline */
.scribble {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5C50 3.5 96 9.5 150 6S252 3 298 6.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 100% .34em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: .12em;
}
.about .scribble { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5C50 3.5 96 9.5 150 6S252 3 298 6.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; height: var(--header-h); padding: 0 var(--gutter); color: var(--white); transition: background .25s, height .25s; }
.header.solid { background: var(--grey); height: 76px; }
.logo img { width: 92px; height: auto; }
.header.solid .logo img { width: 72px; }
.nav { margin-left: auto; margin-right: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 26px; }
.nav a, .nav button { font: 400 16px/24px var(--body); color: inherit; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.nav > ul > li { position: relative; }
.nav > ul > li > a:hover, .nav li.active > a, .nav li.active > button, .nav > ul > li > button:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 140px; padding: 14px 18px !important; background: var(--grey); opacity: 0; visibility: hidden; transition: opacity .15s; text-align: center; }
.sub li + li { margin-top: 8px; }
.sub a:hover { text-decoration: underline; text-underline-offset: 4px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; }
.head-right { display: flex; align-items: center; gap: 18px; }
.icon { display: block; width: 22px; height: 22px; color: inherit; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: currentColor; transition: transform .2s, top .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Heroes */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--black); }
.hero-small, .hero-home { min-height: 61.5vh; }
.hero-medium { min-height: 66vh; }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.shade { position: absolute; inset: 0; background: var(--grey); opacity: .15; }
.hero-text { position: relative; padding: 40px var(--gutter); width: min(100%, 712px); }
.hero-text p { margin: 30px 0 0; font-size: clamp(1.05rem, 2.04vw, 1.7rem); line-height: 1.5; }

/* Film-grain surface (replaces Squarespace's looping noise video) */
.grain { position: relative; background: var(--grey); isolation: isolate; }
.grain::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .32; mix-blend-mode: hard-light; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain .9s steps(4) infinite; }
@keyframes grain { 0% { background-position: 0 0; } 25% { background-position: -80px 50px; } 50% { background-position: 60px -90px; } 75% { background-position: -30px -40px; } 100% { background-position: 0 0; } }

/* Home */
.light { background: var(--light); color: var(--black); position: relative; }
.intro { padding: 44px var(--gutter) calc(2vw + 48px); z-index: 2; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .325fr); gap: 44px; align-items: start; }
.intro-text p { font: 500 var(--h4)/1.17 var(--head); letter-spacing: -.02em; margin: 0 0 1.3em; }
.intro-text .btn { display: table; margin: 8px auto 0; }
.intro-side { text-align: center; }
.intro-side img { margin: 16px auto 0; width: 100%; max-width: 300px; }
.edge { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: 2.6vw; min-height: 14px; margin-top: -1px; overflow: visible; }
.edge-fill { fill: var(--light); }
.edge-line { fill: none; stroke: var(--black); stroke-width: 6px; }
.logos { padding: calc(2.6vw + 60px) var(--gutter) 56px; text-align: center; color: var(--black); }
.logo-row { display: flex; justify-content: space-evenly; align-items: center; gap: 24px; margin-top: 42px; }
.logo-row a { flex: 0 1 var(--w); display: block; }
.logo-row img { width: 100%; object-fit: contain; }
.offer { padding: 72px var(--gutter) 72px; border-bottom: 6px solid var(--black); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 50px; align-items: center; }
.offer h2 { text-align: center; margin-bottom: 22px; }
.accordion details { border-top: 1px solid var(--black); }
.accordion details:last-child { border-bottom: 1px solid var(--black); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; cursor: pointer; padding: 15px 0; font: 500 var(--h4)/1.17 var(--head); letter-spacing: -.02em; }
.accordion summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: 0 0 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; transition: transform .2s; }
.plus::before { left: 0; right: 0; top: 7.5px; height: 1px; }
.plus::after { top: 0; bottom: 0; left: 7.5px; width: 1px; }
details[open] .plus::after { transform: rotate(90deg); }
.accordion p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.5; }
.contact { padding: 72px var(--gutter) 110px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; padding: 0 4vw; }
.contact h2 { margin-bottom: 18px; }
.contact-grid > div p { margin: 0 0 40px; }
.form { max-width: 400px; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { padding: 0; margin-bottom: 8px; font-size: 14px; }
.form label { display: block; font-size: 14px; margin-bottom: 22px; }
.form small { font-size: 12.5px; color: #555; margin-left: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea { display: block; width: 100%; margin-top: 8px; padding: 8px 0; background: transparent; border: 0; border-bottom: 1px solid var(--black); border-radius: 0; font: 16px/1.4 var(--body); color: var(--black); }
.form input:focus, .form textarea:focus { outline: none; border-bottom-width: 2px; }
.form textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 16px 0 0; font-size: 14px; min-height: 1.4em; }
.explore { position: relative; display: flex; align-items: center; justify-content: center; min-height: 66vh; overflow: hidden; }
.explore-text { position: relative; text-align: center; padding: 40px var(--gutter); }
.explore-text .btn { margin-top: 90px; }

/* Footer */
.footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px var(--gutter); font-size: 15px; }
.footer p { margin: 0; }
.footer a { margin-right: 8vw; }

/* About */
.about { padding: calc(var(--header-h) + 62px) var(--gutter) 40px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1.18fr); gap: 5vw; align-items: start; }
.about-left { margin-top: -60px; }
.about-right { margin-top: 170px; }
.about-copy { text-align: center; padding-top: 0; }
.about-copy h1 { margin-bottom: 30px; }
.about-copy p { margin: 0 0 16px; }

/* Galleries */
.gallery { padding: 40px var(--gutter) 0; }
.gallery.first { padding-top: calc(var(--header-h) + 42px); }
main > .gallery:last-child { padding-bottom: 48px; }
.masonry { columns: 3; column-gap: 9px; position: relative; }
.tile { display: block; margin-bottom: 9px; break-inside: avoid; background: #6b6b6b; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.masonry.ready { columns: auto; }
.masonry.ready .tile { position: absolute; left: 0; top: 0; margin: 0; }
a.tile { cursor: zoom-in; }

/* Portrait cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 102px var(--gutter) 70px; }
.card { position: relative; display: block; overflow: hidden; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .25s; }
.card .h3 { position: absolute; z-index: 1; inset: 50% 0 auto; transform: translateY(-50%); padding: 0 32px; text-align: center; opacity: 0; transition: opacity .25s; }
.card:hover img { transform: scale(1.03); }
.card:hover::after, .card:focus-visible::after, .card:hover .h3, .card:focus-visible .h3 { opacity: 1; }
@media (hover: none) { .card::after, .card .h3 { opacity: 1; } }
.pager { padding: 36px var(--gutter) 24px; }
.pager a { display: inline-block; text-decoration: none; }
.pager small { display: block; font-size: 14px; }
.pager-next { text-align: right; }

/* Video pages */
.page-head { padding: calc(var(--header-h) + 62px) var(--gutter) 40px; text-align: center; }
.page-head h1 { max-width: 16em; margin: 0 auto; }
.vsec { padding: 0 var(--gutter) 70px; }
.vsec > h2, .vsec > .label { text-align: center; margin-bottom: 26px; }
.vsec > .label { font: 400 16px/1.5 var(--body); letter-spacing: 0; }
.vids { display: grid; gap: 36px 11px; margin: 0 auto 36px; }
.vids:last-child { margin-bottom: 0; }
.cols-1 { grid-template-columns: minmax(0, 1fr); max-width: 704px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tall.cols-1 { max-width: 300px; }
.tall.cols-2 { max-width: 620px; }
.cols-3 { max-width: 880px; }
.vid { margin: 0; }
.vid h3 { font: 400 16px/1.5 var(--body); letter-spacing: 0; margin-bottom: 10px; text-align: center; min-height: 1.5em; }
.frame { position: relative; background: #000; }
.frame iframe, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }

/* Legal + 404 */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--header-h) + 50px) var(--gutter) 60px; }
.legal h1 { margin-bottom: 20px; }
.legal h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.legal li { margin-bottom: .4em; }
.notfound { min-height: 70vh; display: flex; flex-direction: column; gap: 28px; align-items: center; justify-content: center; text-align: center; padding: 120px var(--gutter) 40px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.94); }
.lb[hidden] { display: none; }
.lb img { max-width: 94vw; max-height: 92vh; width: auto; height: auto; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font: 300 42px/1 var(--body); width: 64px; height: 64px; cursor: pointer; }
.lb .x { top: 8px; right: 8px; }
.lb .p { left: 8px; top: calc(50% - 32px); }
.lb .n { right: 8px; top: calc(50% - 32px); }

@media (max-width: 800px) {
  :root { --gutter: 6vw; --header-h: 84px; }
  .header { gap: 12px; }
  .burger { display: block; }
  .head-right { display: none; }
  .nav { position: fixed; inset: 0; z-index: 1; margin: 0; padding: 120px 8vw 40px; background: var(--grey); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
  .nav.open { visibility: visible; opacity: 1; }
  .nav > ul { flex-direction: column; gap: 22px; align-items: center; text-align: center; }
  .nav a, .nav button { font-size: 28px; line-height: 1.2; font-family: var(--head); }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; display: none; background: none; padding: 12px 0 0 !important; }
  .sub a { font-size: 20px; }
  .has-sub.open .sub { display: block; }
  .logo { position: relative; z-index: 2; }
  .logo img { width: 72px; }
  .intro-grid, .offer-grid, .contact-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { padding: 0; }
  .intro-side { order: -1; }
  .intro-side img { max-width: 240px; }
  .about { padding-top: calc(var(--header-h) + 24px); }
  .about-left, .about-right { margin-top: 0; }
  .about-left { order: -1; max-width: 60%; }
  .about-right { max-width: 70%; margin-left: auto; }
  .logo-row { flex-wrap: wrap; gap: 28px 20px; }
  .logo-row a { flex-basis: min(var(--w), 38%); }
  .masonry { columns: 2; column-gap: 4px; }
  .tile { margin-bottom: 4px; }
  .cols-2:not(.tall), .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain::before { animation: none; }
  * { transition: none !important; }
}
