@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

:root {
  color-scheme: dark;
  --ink: #08090d;
  --ink-soft: #11131a;
  --paper: #f3f0ea;
  --muted: #a8a9b2;
  --line: rgba(255, 255, 255, 0.15);
  --cyan: #70e7ff;
  --coral: #ff7e5f;
  --violet: #8976ff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', 'DM Sans', system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { color: var(--ink); background: var(--cyan); }

.skip-link { position: fixed; z-index: 1000; top: 0.75rem; left: 0.75rem; transform: translateY(-200%); padding: 0.7rem 1rem; background: var(--paper); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 82px; padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(8,9,13,.88); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.05rem; font-weight: 600; letter-spacing: -.03em; }
.brand > span:last-child span, .brand-footer span { color: var(--cyan); }
.brand-mark { width: 22px; height: 22px; border: 2px solid var(--cyan); border-radius: 50%; box-shadow: inset -5px -3px 0 var(--ink), 6px 0 0 -3px var(--coral); }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.5rem); font-size: .88rem; }
.site-nav a:not(.nav-cta) { color: #d8d6d2; }
.site-nav a:not(.nav-cta):hover, .site-nav a[aria-current="page"] { color: var(--cyan); }
.nav-cta { padding: .68rem 1rem; border: 1px solid rgba(112,231,255,.65); }
.nav-cta:hover { background: var(--cyan); color: var(--ink); }
.menu-toggle { display: none; color: var(--paper); background: transparent; border: 0; }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, .78fr) minmax(420px, 1.22fr); align-items: center; gap: clamp(2rem, 5vw, 7rem); max-width: var(--max); margin: auto; padding: 8.5rem var(--pad) 5rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 45vw; height: 45vw; left: -25vw; top: 10%; background: radial-gradient(circle, rgba(96,64,255,.16), transparent 68%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.4rem; color: var(--cyan); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: .95; letter-spacing: -.045em; }
h1 { max-width: 9ch; font-size: clamp(4rem, 7.5vw, 8.5rem); }
h1 em { color: var(--cyan); font-weight: 500; }
.hero-intro { max-width: 34rem; margin: 2rem 0 0; color: #c4c3c6; font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.7; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 220px; padding: .95rem 1.1rem; border: 1px solid currentColor; font-size: .86rem; font-weight: 600; }
.button span, .text-link span { transition: transform .2s; }
.button:hover span, .text-link:hover span { transform: translateX(4px); }
.button-primary { border-color: var(--cyan); background: var(--cyan); color: var(--ink); }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: .65rem; padding-block: .35rem; border-bottom: 1px solid rgba(255,255,255,.45); font-size: .9rem; }

.hero-art { position: relative; align-self: center; justify-self: end; width: min(54vw, 720px); aspect-ratio: 1; overflow: hidden; background: #11131a; }
.hero-art::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.16); pointer-events: none; }
.hero-art img { height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.hero-art:hover img { transform: scale(1.025); }
.art-index { position: absolute; top: 1rem; right: 1rem; padding: .35rem .55rem; background: rgba(8,9,13,.75); font-size: .7rem; letter-spacing: .12em; }
.art-caption { position: absolute; inset: auto 1.25rem 1.25rem; display: flex; justify-content: space-between; align-items: end; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.65); text-shadow: 0 1px 12px #000; }
.art-caption strong, .art-caption small { display: block; }
.art-caption small { color: rgba(255,255,255,.74); }
.scroll-cue { position: absolute; bottom: 2rem; left: var(--pad); display: flex; gap: .7rem; align-items: center; color: #777a85; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue span { width: 42px; height: 1px; background: #575a63; }

.section-pad { max-width: var(--max); margin-inline: auto; padding: clamp(6rem, 11vw, 11rem) var(--pad); }
.statement { display: grid; grid-template-columns: 80px 1.25fr .75fr; gap: clamp(2rem, 5vw, 7rem); border-top: 1px solid var(--line); }
.section-number { margin: .25rem 0 0; color: #6f717b; font-size: .75rem; }
.statement h2, .section-heading h2, .material-band h2, .cta-panel h2 { font-size: clamp(3.1rem, 6.2vw, 7rem); }
.statement-copy { align-self: end; max-width: 34rem; color: #b8b8be; font-size: 1.05rem; }
.statement-copy p { margin: 0 0 1rem; }

.featured { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading h2 { font-size: clamp(3rem, 5vw, 5.5rem); }
.featured-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.work-card { display: block; }
.work-image { overflow: hidden; background: var(--ink-soft); }
.work-card-wide .work-image { aspect-ratio: 1.5; }
.work-card-tall { margin-top: 12vw; }
.work-card-tall .work-image { aspect-ratio: .72; }
.work-image img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.work-card:hover .work-image img { transform: scale(1.025); }
.work-meta { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; }
.work-meta strong, .work-meta small { display: block; }
.work-meta small { margin-top: .2rem; color: #777a85; }

.material-band { position: relative; display: grid; grid-template-columns: .8fr 1fr .8fr; gap: clamp(2rem, 6vw, 7rem); align-items: end; padding: clamp(5rem, 9vw, 9rem) var(--pad); background: var(--cyan); color: var(--ink); overflow: hidden; }
.material-number { align-self: center; font-family: var(--serif); font-size: clamp(12rem, 28vw, 31rem); line-height: .55; color: rgba(8,9,13,.08); }
.material-copy { position: relative; z-index: 1; }
.material-copy .eyebrow { color: rgba(8,9,13,.62); }
.material-copy h2 { font-size: clamp(3.2rem, 5vw, 6rem); }
.material-copy p { max-width: 40rem; margin: 2rem 0 0; font-size: 1.05rem; }
.material-specs { position: relative; z-index: 1; border-top: 1px solid rgba(8,9,13,.35); }
.material-specs div { display: grid; grid-template-columns: .7fr 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(8,9,13,.25); font-size: .82rem; }
.material-specs span { color: rgba(8,9,13,.58); }
.material-specs strong { font-weight: 500; }

.cta-panel { text-align: center; }
.cta-panel h2 { font-size: clamp(3.4rem, 7.2vw, 8rem); }
.cta-panel .button-row { justify-content: center; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: start; padding: 3rem var(--pad) 2rem; border-top: 1px solid var(--line); color: #9698a1; font-size: .82rem; }
.brand-footer { gap: 0; color: var(--paper); font-size: 1.1rem; }
.site-footer p { margin: 0 0 .25rem; }
.site-footer a:hover { color: var(--cyan); }
.footer-links { display: flex; gap: 1.25rem; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; color: #5f6169; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Interior pages */
.page-main { padding-top: 82px; }
.page-hero { max-width: var(--max); margin: auto; padding: clamp(5.5rem, 9vw, 9rem) var(--pad) clamp(3rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.page-hero h1 { max-width: 12ch; font-size: clamp(4.2rem, 9vw, 9rem); }
.page-hero h1 em { color: var(--cyan); }
.page-hero-copy { max-width: 34rem; color: #b6b6bd; font-size: clamp(1rem, 1.4vw, 1.18rem); }
.page-hero-copy p { margin: 0; }
.breadcrumb { display: flex; gap: .55rem; align-items: center; margin: 0 0 2rem; color: #777a85; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--cyan); }
.content-shell { max-width: var(--max); margin: auto; padding: clamp(4rem, 8vw, 8rem) var(--pad); }
.prose { max-width: 760px; }
.prose h2, .split-content h2 { font-size: clamp(2.8rem, 5vw, 5.8rem); }
.prose p, .split-content p { color: #b9bac0; font-size: 1.05rem; line-height: 1.8; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 3rem; }
.filter-button { padding: .65rem .9rem; color: #a9abb3; background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: .78rem; }
.filter-button:hover, .filter-button[aria-pressed="true"] { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.25rem, 3vw, 3.5rem); align-items: start; }
.gallery-card { grid-column: span 4; }
.gallery-card:nth-child(6n + 1), .gallery-card:nth-child(6n + 5) { grid-column: span 7; }
.gallery-card:nth-child(6n + 2), .gallery-card:nth-child(6n + 6) { grid-column: span 5; margin-top: 7vw; }
.gallery-card:nth-child(6n + 3) { grid-column: span 5; }
.gallery-card:nth-child(6n + 4) { grid-column: span 7; margin-top: 4vw; }
.gallery-card[hidden] { display: none; }
.gallery-image { aspect-ratio: 1; overflow: hidden; background: var(--ink-soft); }
.gallery-card.landscape .gallery-image { aspect-ratio: 1.35; }
.gallery-card.portrait .gallery-image { aspect-ratio: .74; }
.gallery-image img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card .work-meta { border-top: 0; }
.placeholder-note { max-width: 650px; margin: 4rem 0 0 auto; padding: 1.4rem; border-left: 2px solid var(--cyan); color: #9a9ba4; font-size: .84rem; }

.split-content { display: grid; grid-template-columns: minmax(0, .85fr) minmax(300px, 1fr); gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.portrait-panel { position: sticky; top: 7rem; }
.portrait-art { aspect-ratio: .85; overflow: hidden; }
.portrait-art img { height: 100%; object-fit: cover; object-position: center 32%; }
.portrait-caption { padding-top: .8rem; color: #757782; font-size: .74rem; }
.quote { margin: 3.5rem 0; padding: 2.5rem 0 2.5rem clamp(1.5rem, 4vw, 4rem); border-block: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1.2; }
.process-list { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: process; }
.process-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); counter-increment: process; }
.process-list li::before { content: '0' counter(process); color: var(--cyan); font-size: .72rem; }
.process-list strong, .process-list span { display: block; }
.process-list span { margin-top: .25rem; color: #8e9099; font-size: .9rem; }

.print-hero-card { position: relative; min-height: 70svh; display: grid; place-items: end start; overflow: hidden; }
.print-hero-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.print-hero-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,13,.92) 0%, rgba(8,9,13,.3) 62%, transparent); }
.print-hero-content { position: relative; z-index: 1; max-width: 700px; padding: clamp(5rem, 9vw, 9rem) var(--pad); }
.print-hero-content h1 { font-size: clamp(4rem, 8vw, 8rem); }
.print-hero-content p { max-width: 34rem; color: #d0cfd2; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.spec-card { padding: 2rem; border-right: 1px solid var(--line); }
.spec-card:last-child { border-right: 0; }
.spec-card span { color: var(--cyan); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.spec-card h3 { margin: 1rem 0 .65rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.spec-card p { margin: 0; color: #8f919a; }

.artwork-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); min-height: 100svh; padding-top: 82px; }
.artwork-view { position: relative; min-height: calc(100svh - 82px); display: grid; place-items: center; padding: clamp(1.2rem, 4vw, 4rem); background: #050609; }
.artwork-view img { max-width: 100%; max-height: calc(100svh - 140px); width: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.artwork-info { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 7rem) var(--pad); border-left: 1px solid var(--line); }
.artwork-info h1 { max-width: 8ch; font-size: clamp(3.6rem, 6vw, 6.8rem); }
.artwork-intro { margin: 2rem 0; color: #b6b7bd; font-size: 1.05rem; }
.detail-list { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.detail-list div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: #777983; }
.detail-list dd { margin: 0; }
.artwork-nav { display: flex; justify-content: space-between; margin-top: 2rem; color: #8f9198; font-size: .8rem; }
.artwork-nav a:hover { color: var(--cyan); }

.contact-grid { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 9rem); }
.contact-card { padding: 2rem; border: 1px solid var(--line); }
.contact-card a { display: inline-block; margin-top: .6rem; color: var(--cyan); font-size: clamp(1.05rem, 2vw, 1.45rem); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #9b9da6; }
.field input, .field select, .field textarea { width: 100%; padding: .9rem 0; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid #42444c; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--cyan); }
.field textarea { min-height: 150px; resize: vertical; }
.field select option { background: var(--ink); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-status { color: var(--cyan); font-size: .82rem; }
.form-note { grid-column: 1 / -1; margin: 0; color: #6f717a; font-size: .76rem; }

@media (max-width: 900px) {
  .page-main { padding-top: 68px; }
  .page-hero-grid, .split-content, .artwork-detail, .contact-grid { grid-template-columns: 1fr; }
  .gallery-card, .gallery-card:nth-child(n) { grid-column: span 6; margin-top: 0; }
  .portrait-panel { position: static; }
  .portrait-art { aspect-ratio: 1.35; }
  .artwork-detail { padding-top: 68px; }
  .artwork-view { min-height: auto; }
  .artwork-view img { max-height: 70svh; }
  .artwork-info { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .page-hero { padding-top: 4rem; }
  .page-hero-grid { gap: 2rem; }
  .gallery-card, .gallery-card:nth-child(n) { grid-column: 1 / -1; }
  .gallery-card .gallery-image { aspect-ratio: 1; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-form { grid-template-columns: 1fr; }
  .field-wide, .form-actions, .form-note { grid-column: 1; }
}

@media (max-width: 900px) {
  .site-header { height: 68px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .75rem; padding: .6rem 0; cursor: pointer; }
  .menu-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
  .menu-lines, .menu-lines::before { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-lines { position: relative; }
  .menu-lines::before { content: ''; position: absolute; transform: translateY(-6px); }
  .menu-toggle[aria-expanded="true"] .menu-lines { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { transform: rotate(-90deg); }
  .site-nav { position: fixed; inset: 68px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 1rem var(--pad) 2rem; background: rgba(8,9,13,.97); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-cta { margin-top: 1rem; text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 8rem; gap: 3rem; }
  .hero-copy { max-width: 700px; }
  .hero-art { width: 100%; max-width: none; }
  .scroll-cue { display: none; }
  .statement { grid-template-columns: 42px 1fr; }
  .statement-copy { grid-column: 2; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .material-band { grid-template-columns: 1fr 1fr; }
  .material-number { position: absolute; right: -5%; top: 10%; }
  .material-copy { grid-column: 1 / -1; max-width: 720px; }
  .material-specs { grid-column: 2; }
}

@media (max-width: 620px) {
  .hero { padding-bottom: 4rem; }
  h1 { font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .section-pad { padding-block: 5.5rem; }
  .statement { grid-template-columns: 1fr; gap: 1.5rem; }
  .statement-copy { grid-column: 1; }
  .section-heading { align-items: start; flex-direction: column; }
  .featured-grid { grid-template-columns: 1fr; }
  .work-card-tall { margin-top: 1.5rem; }
  .work-card-tall .work-image { aspect-ratio: .9; }
  .material-band { grid-template-columns: 1fr; }
  .material-copy, .material-specs { grid-column: 1; }
  .material-specs { margin-top: 1rem; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: 1; }
}

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