:root {
  --ink: #07090d;
  --midnight: #0d1420;
  --surface: #151a20;
  --ivory: #e7e2d8;
  --steel: #9a9c9b;
  --red: #b72722;
  --line: rgba(231, 226, 216, .25);
  --gutter: clamp(1.25rem, 3.1vw, 2.75rem);
  --mono: "Courier New", Courier, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ivory); background: var(--ink); font-family: var(--sans); font-weight: 400; }
body::before { content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; color: var(--ink); background: var(--ivory); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: absolute; z-index: 10; top: 0; left: 0; display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 2.25rem var(--gutter); }
.site-header.is-scrolled { position: fixed; padding-block: 1rem; background: rgba(7, 9, 13, .88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark img { width: clamp(13.5rem, 22vw, 20rem); height: auto; }
.site-nav { display: flex; gap: clamp(1.7rem, 4vw, 4rem); }
.site-nav a, .menu-toggle, .eyebrow, .text-link, .hero-index { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .22em; }
.site-nav a { position: relative; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: -.55rem; left: 0; height: 1px; background: var(--ivory); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: none; }

.hero { position: relative; min-height: 100svh; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 52% 50%; animation: hero-in 1.4s cubic-bezier(.22,.8,.25,1) both; }
.hero-shade { background: linear-gradient(0deg, rgba(7,9,13,.5), transparent 35%), linear-gradient(180deg, rgba(7,9,13,.34), transparent 22%); }
.hero-copy { position: absolute; z-index: 1; right: var(--gutter); bottom: 2rem; left: var(--gutter); display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero-label, .hero-work-link { margin: 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; }
.hero-label { color: rgba(231,226,216,.84); }
.hero-work-link { padding-bottom: .45rem; border-bottom: 1px solid currentColor; text-decoration: none; }
.eyebrow { margin: 0 0 1.75rem; color: var(--steel); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.1rem; font-size: clamp(2.65rem, 4.75vw, 5.25rem); line-height: 1.02; letter-spacing: .015em; font-weight: 400; text-transform: uppercase; }
.hero-intro { max-width: 34rem; margin-bottom: 2rem; color: #c4c1ba; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.5; letter-spacing: .025em; }
.text-link { display: inline-flex; width: min(17rem, 100%); justify-content: space-between; padding-bottom: .75rem; border-bottom: 1px solid var(--ivory); text-decoration: none; }
.hero-index { position: absolute; z-index: 1; right: var(--gutter); bottom: 2rem; color: var(--steel); }

.section { padding: clamp(6rem, 11vw, 10rem) var(--gutter); border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; margin-bottom: clamp(3rem, 7vw, 6rem); align-items: start; }
.section-head .eyebrow { margin-top: .65rem; }
.section h2, .contact-section h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5.5vw, 6.5rem); line-height: .98; letter-spacing: -.025em; font-weight: 400; text-transform: uppercase; }
.section-copy { color: var(--steel); line-height: 1.6; }
.work-intro { margin: 0 0 clamp(2rem, 4vw, 3.5rem); font-size: clamp(1.5rem, 3vw, 3.25rem); font-weight: 400; letter-spacing: -.015em; text-transform: uppercase; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem) .35rem; }
.project-card { position: relative; border-top: 1px solid var(--line); }
.project-link { display: block; text-decoration: none; }
.project-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.35rem; background: var(--surface); }
.project-media::after { content: ""; position: absolute; inset: 0; background: rgba(183,39,34,.2); opacity: 0; transition: opacity .45s ease; }
.project-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); transition: transform .7s cubic-bezier(.22,.8,.25,1); }
.project-media--contain img { object-fit: contain; }
.project-link:hover img { transform: scale(1.035); }
.project-link:hover .project-media::after { opacity: 1; }
.project-meta { display: grid; grid-template-columns: 1fr auto; gap: .75rem 1rem; align-items: baseline; }
.project-role, .project-tours { color: var(--steel); font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.project-tours { grid-column: 1 / -1; }
.project-title { margin: 0; font-size: clamp(1.4rem, 2.3vw, 2.35rem); font-weight: 400; text-transform: uppercase; }

.studio-section { display: grid; grid-template-columns: 1.5fr 1fr; gap: 5vw; background: var(--ivory); color: var(--ink); }
.studio-section .eyebrow { color: #5d5e5d; }
.studio-copy { padding-top: 3.5rem; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.5; }
.studio-copy p + p { margin-top: 2rem; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 5rem 0 0; border-top: 1px solid rgba(7,9,13,.25); }
.facts div { padding: 1.25rem 1rem 0 0; }
.facts dt { margin-bottom: .6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: #5d5e5d; }
.facts dd { margin: 0; font-size: 1.1rem; }
.studio-image { grid-column: 1 / -1; margin: 5rem 0 0; }
.studio-image img { width: 100%; max-height: 75svh; object-fit: cover; object-position: center 46%; }
.studio-image figcaption { margin-top: .8rem; color: #5d5e5d; font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }

.services-section { display: grid; grid-template-columns: 1fr 2fr; gap: 6vw; }
.services-section .section-head { display: block; }
.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: 3rem minmax(12rem, 1fr) 1.5fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.service-list span { color: var(--red); font-family: var(--mono); font-size: .75rem; }
.service-list h3 { margin-bottom: 0; font-size: 1.45rem; font-weight: 400; text-transform: uppercase; }
.service-list p { margin-bottom: 0; color: var(--steel); line-height: 1.55; }

.contact-section { padding: clamp(6rem, 12vw, 12rem) var(--gutter) 4rem; background: var(--red); }
.contact-section .eyebrow { color: var(--ivory); }
.contact-mail { display: flex; justify-content: space-between; margin-top: clamp(4rem, 9vw, 8rem); padding: 1.5rem 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; font-size: clamp(1.25rem, 3.2vw, 3.4rem); text-decoration: none; }
.contact-meta { display: flex; justify-content: space-between; margin-top: 3rem; line-height: 1.6; }
.contact-meta a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.site-footer { display: flex; justify-content: space-between; padding: 1.5rem var(--gutter); color: var(--steel); font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }

.legal-page { max-width: 54rem; margin: 0 auto; padding: 9rem var(--gutter) 5rem; line-height: 1.65; }
.legal-page h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
.legal-page h2 { margin-top: 3rem; font-size: 1.4rem; text-transform: uppercase; font-weight: 400; }
.legal-page a { text-underline-offset: .2em; }

.subpage-header { position: fixed; background: rgba(7,9,13,.88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.subpage-header .back-link { margin-left: auto; font-family: var(--mono); font-size: .68rem; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; }
.artist-hero, .tour-hero { position: relative; min-height: 80svh; overflow: hidden; }
.artist-hero > img, .tour-hero > img, .artist-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.artist-hero > img, .tour-hero > img { object-fit: cover; }
.artist-hero--contain > img, .tour-hero--contain > img { object-fit: contain; background: var(--ink); }
.artist-hero-shade { background: linear-gradient(0deg, rgba(7,9,13,.95), rgba(7,9,13,.12) 70%); }
.artist-hero-copy { position: absolute; z-index: 1; right: var(--gutter); bottom: 4rem; left: var(--gutter); }
.artist-hero-copy h1 { max-width: 70rem; }
.artist-hero-copy > p:last-child { max-width: 38rem; color: #c4c1ba; font-size: 1.1rem; line-height: 1.55; }
.tour-section, .tour-detail { padding: clamp(5rem, 10vw, 9rem) var(--gutter); }
.tour-list { border-top: 1px solid var(--line); }
.tour-list a { display: grid; grid-template-columns: minmax(0, 1.7fr) 1fr 6rem 2rem; gap: 1rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.tour-list h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 4.25rem); font-weight: 400; text-transform: uppercase; }
.tour-list span { color: var(--steel); font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.tour-list b { color: var(--red); font-size: 1.4rem; font-weight: 400; }
.tour-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; border-top: 1px solid var(--line); }
.tour-detail h2 { max-width: 34rem; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.25; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }
.tour-detail > div:last-child { max-width: 35rem; color: var(--steel); font-size: 1.15rem; line-height: 1.6; }
.tour-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; padding: 0 var(--gutter) clamp(5rem, 10vw, 9rem); }
.tour-gallery figure { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.tour-gallery img { width: 100%; height: 100%; object-fit: cover; }
.tour-gallery--contain figure { aspect-ratio: auto; display: flex; align-items: center; justify-content: center; }
.tour-gallery--contain img { width: 100%; height: auto; object-fit: contain; }

@keyframes hero-in { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 800px) {
  .site-header { padding-top: 1.5rem; }
  .wordmark img { width: 11.5rem; }
  .menu-toggle { display: block; cursor: pointer; }
  .site-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.25rem; visibility: hidden; opacity: 0; background: rgba(7,9,13,.98); transition: opacity .25s ease, visibility .25s ease; }
  .site-nav.is-open { z-index: -1; visibility: visible; opacity: 1; }
  .site-nav a { font-size: 1.1rem; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,9,13,.68), transparent 48%), linear-gradient(180deg, rgba(7,9,13,.38), transparent 25%); }
  .hero-copy { bottom: 1.5rem; align-items: flex-start; flex-direction: column; gap: .8rem; }
  h1 { font-size: clamp(2.45rem, 11vw, 4rem); }
  .hero-index { display: none; }
  .section-head, .studio-section, .services-section { grid-template-columns: 1fr; }
  .section-head { gap: .5rem; }
  .section-copy { max-width: 35rem; }
  .project-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .project-card { min-width: 84vw; scroll-snap-align: start; }
  .project-meta { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; margin-top: 2rem; }
  .facts div { padding: 1.25rem 0; border-bottom: 1px solid rgba(7,9,13,.18); }
  .service-list li { grid-template-columns: 2rem 1fr; }
  .service-list p { grid-column: 2; }
  .contact-meta, .site-footer { gap: 2rem; }
  .tour-list a { grid-template-columns: 1fr auto; }
  .tour-list span { grid-column: 1; }
  .tour-list b { grid-column: 2; grid-row: 1; }
  .tour-detail { grid-template-columns: 1fr; }
  .tour-gallery { grid-template-columns: 1fr; }
}
