:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #101010;
  --panel-raised: #171717;
  --paper: #f1efe8;
  --muted: #9d9b96;
  --faint: #686762;
  --line: rgba(241, 239, 232, 0.16);
  --accent: #d3b8ff;
  --warm: #e3c99a;
  --page-gutter: clamp(1.25rem, 5vw, 5.5rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--paper); }
body, button, input, select, textarea { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font-size: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--bg); background: var(--accent); }

.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  transform: translateY(-180%); padding: .8rem 1rem;
  background: var(--paper); color: var(--bg); border-radius: 2px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 86px; padding: .85rem var(--page-gutter);
  background: linear-gradient(180deg, rgba(5, 5, 5, .78), rgba(5, 5, 5, 0));
  transition: background .25s ease, backdrop-filter .25s ease, min-height .25s ease;
}
.site-header.is-scrolled {
  min-height: 72px; background: rgba(9, 9, 9, .88);
  backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; min-width: 145px; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(241,239,232,.72); border-radius: 50%;
  font: italic 1.05rem/1 Georgia, serif; letter-spacing: -.08em;
}
.brand-name { display: flex; flex-direction: column; gap: .12rem; line-height: 1; }
.brand-name strong { font-size: .82rem; letter-spacing: .16em; font-weight: 650; }
.brand-name small { font-size: .53rem; letter-spacing: .28em; color: #c4c0b7; }
.main-nav { display: flex; align-items: center; gap: clamp(1.8rem, 4vw, 4.4rem); }
.main-nav a, .header-social {
  font-size: .76rem; letter-spacing: .075em; color: rgba(241,239,232,.84);
  transition: color .2s ease;
}
.main-nav a:hover, .header-social:hover, .footer-link:hover { color: var(--accent); }
.header-social { display: flex; align-items: center; gap: .7rem; min-width: 145px; justify-content: flex-end; }
.header-social svg {
  width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5;
}
.header-social .icon-dot { fill: currentColor; stroke: none; }
.menu-toggle { display: none; }
.hero {
  position: relative; min-height: min(940px, 100svh); min-height: max(720px, 100svh);
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding: 0 var(--page-gutter) clamp(7rem, 12vh, 10rem);
  background: #090909;
}
.hero-picture { position: absolute; inset: 0; z-index: -2; display: block; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image {
  z-index: 0; object-fit: cover; object-position: center top;
  opacity: .84; filter: saturate(.9);
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,7,7,.92) 0%, rgba(7,7,7,.60) 39%, rgba(7,7,7,.12) 74%, rgba(7,7,7,.18) 100%),
    linear-gradient(0deg, rgba(7,7,7,.88) 0%, rgba(7,7,7,.18) 50%, rgba(7,7,7,.22) 100%);
}
.hero-content { width: min(900px, 100%); position: relative; z-index: 1; padding-top: 7rem; }
.eyebrow {
  display: flex; align-items: center; gap: .65rem; margin: 0 0 1.55rem;
  color: rgba(241,239,232,.84); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow-dot {
  flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
  display: inline-block; background: var(--accent); box-shadow: 0 0 16px rgba(211,184,255,.7);
}
.eyebrow-divider { color: rgba(241,239,232,.55); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  max-width: 980px; margin-bottom: 1.4rem;
  font: 400 clamp(4.3rem, 9.5vw, 9rem)/.91 Georgia, "Times New Roman", serif;
  letter-spacing: -.065em; text-wrap: balance;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-deck {
  max-width: 445px; margin: 0 0 2rem; color: rgba(241,239,232,.8);
  font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.button {
  min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 1.25rem;
  border: 1px solid transparent; border-radius: 2px; padding: .85rem 1.2rem;
  font-size: .73rem; font-weight: 650; letter-spacing: .04em; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: #151318; background: var(--paper); }
.button-light:hover { background: var(--accent); }
.button-quiet { background: rgba(9,9,9,.22); border-color: rgba(241,239,232,.56); color: var(--paper); }
.button-quiet:hover { border-color: var(--paper); background: rgba(9,9,9,.55); }
.hero-side-note {
  position: absolute; top: 50%; right: 1.5rem; margin: 0; writing-mode: vertical-rl;
  color: rgba(241,239,232,.76); font-size: .55rem; letter-spacing: .24em;
}
.scroll-cue {
  position: absolute; bottom: 2rem; right: var(--page-gutter);
  display: flex; align-items: center; gap: .8rem;
  color: rgba(241,239,232,.65); font-size: .61rem; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-cue span { width: 35px; height: 1px; background: currentColor; }

.section-wrap { width: min(1440px, 100%); margin-inline: auto; padding-inline: var(--page-gutter); }
.work-section { padding-top: clamp(6rem, 10vw, 10.5rem); padding-bottom: clamp(6.5rem, 10vw, 10rem); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: 3.4rem; }
.eyebrow-muted { color: var(--muted); }
.section-heading h2, .about-copy h2, .contact-intro h2 {
  margin: 0; font: 400 clamp(3.2rem, 6vw, 6.2rem)/.96 Georgia, "Times New Roman", serif;
  letter-spacing: -.06em;
}
.section-intro { width: min(310px, 35%); margin: 0 1rem .3rem 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.gallery-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.filter-list { display: flex; align-items: center; gap: .45rem; }
.filter-button {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 35px;
  padding: .4rem .75rem; border: 1px solid transparent; border-radius: 100px;
  color: var(--muted); background: transparent; font-size: .71rem; cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.filter-button:hover { color: var(--paper); }
.filter-button.is-active { color: var(--paper); border-color: rgba(241,239,232,.26); background: rgba(255,255,255,.045); }

.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.1vw, 2rem); align-items: start; }
.art-card { min-width: 0; }
.art-card:nth-child(4n + 2), .art-card:nth-child(4n + 4) { margin-top: 4.4rem; }
.art-open {
  display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: zoom-in;
}
.art-image-wrap {
  position: relative; display: block; overflow: hidden; background: #151515;
  aspect-ratio: 1 / 1.15;
}
.art-open-tall .art-image-wrap { aspect-ratio: 1 / 1.38; }
.art-image-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .6s cubic-bezier(.2,.65,.2,1), filter .4s ease;
}
.art-card:nth-child(2) .art-image-wrap img { object-position: center 45%; }
.art-card:nth-child(6) .art-image-wrap img { object-position: center 43%; }
.art-open:hover .art-image-wrap img { transform: scale(1.035); filter: brightness(.85); }
.art-zoom {
  position: absolute; right: .8rem; top: .8rem; width: 36px; height: 36px;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.46); border-radius: 50%;
  background: rgba(8,8,8,.48); opacity: 0; transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease; font-size: 1rem;
}
.art-open:hover .art-zoom, .art-open:focus-visible .art-zoom { opacity: 1; transform: translateY(0); }
.art-meta {
  display: flex; gap: .7rem; margin: 1rem 0 0;
  color: var(--muted); font-size: .57rem; letter-spacing: .13em; text-transform: uppercase;
}
.art-card[hidden] { display: none; }
.text-link {
  display: inline-flex; align-items: center; gap: .8rem; padding-bottom: .3rem;
  border-bottom: 1px solid rgba(241,239,232,.42); color: var(--paper);
  font-size: .74rem; transition: color .2s ease, border-color .2s ease;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link span { font-size: .9rem; }

.about-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 11vw, 12rem); padding-block: clamp(7rem, 11vw, 11.5rem); }
.about-aside { display: flex; flex-direction: column; align-items: flex-start; }
.about-mark {
  width: min(280px, 100%); aspect-ratio: 1 / 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center; margin: 3rem 0 2rem;
  border: 1px solid rgba(241,239,232,.14); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(211,184,255,.12), transparent 66%), #101010;
}
.about-mark span { font: italic clamp(4.6rem, 8vw, 7.4rem)/.8 Georgia, serif; letter-spacing: -.1em; }
.about-mark small { margin-top: 1.1rem; color: var(--muted); font-size: .56rem; letter-spacing: .42em; }
.about-location { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .72rem; }
.about-location .eyebrow-dot { width: 6px; height: 6px; }
.about-copy { padding-top: 2.2rem; }
.about-copy h2 { margin-bottom: 2.4rem; font-size: clamp(3.4rem, 6vw, 6rem); }
.about-copy p { max-width: 680px; color: var(--muted); font-size: .98rem; line-height: 1.85; }
.about-copy .about-lead { color: var(--paper); font: clamp(1.3rem, 2vw, 1.8rem)/1.45 Georgia, "Times New Roman", serif; }
.about-copy .text-link { margin-top: 1rem; }

.contact-section { background: #18151c; border-top: 1px solid rgba(211,184,255,.18); }
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(4rem, 10vw, 11rem); padding-block: clamp(6rem, 10vw, 10rem); }
.contact-intro .eyebrow { color: #c9c2d2; }
.contact-intro h2 { margin-bottom: 1.6rem; }
.contact-intro > p:not(.eyebrow) { max-width: 350px; margin-bottom: 2.5rem; color: #b7b1bf; font-size: .95rem; line-height: 1.75; }
.contact-social:hover { color: var(--accent); }
.contact-social { color: #b7b1bf; font-size: .74rem; }
.contact-social span { margin-left: .35rem; }
.contact-form { padding-top: .4rem; }
.contact-form label { display: block; margin: 0 0 .55rem; color: #e7e2eb; font-size: .68rem; letter-spacing: .04em; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 50px; margin-bottom: 1.35rem; padding: .85rem .9rem;
  border: 1px solid rgba(241,239,232,.19); border-radius: 2px;
  background: rgba(8,8,8,.28); color: var(--paper); outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #89838e; }
.contact-form select { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, #b7b1bf 50%), linear-gradient(135deg, #b7b1bf 50%, transparent 50%); background-position: calc(100% - 17px) 22px, calc(100% - 12px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.contact-form select option { background: #18151c; color: var(--paper); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); background: rgba(8,8,8,.46); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row > div { min-width: 0; }
.form-submit-row { display: flex; align-items: center; gap: 1.2rem; }
.form-status { margin: 0; color: #c1bac9; font-size: .7rem; line-height: 1.5; }
.form-note { margin: .8rem 0 0; color: #928c98; font-size: .65rem; line-height: 1.5; }

.site-footer {
  min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem var(--page-gutter); border-top: 1px solid var(--line); background: var(--bg);
}
.brand-footer { min-width: auto; }
.site-footer > p, .footer-link, .copyright { margin: 0; color: var(--muted); font-size: .68rem; }
.footer-link { color: var(--paper); }
.footer-link span { margin-left: .3rem; }
.copyright { color: var(--faint); }

.lightbox {
  width: min(1150px, calc(100vw - 2rem)); max-width: none; max-height: calc(100svh - 2rem);
  padding: 0; border: 1px solid rgba(241,239,232,.2); background: #0b0b0b; color: var(--paper);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(8px); }
.lightbox-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); min-height: min(650px, calc(100svh - 2rem)); }
.lightbox-image-wrap { display: grid; place-items: center; min-height: 350px; overflow: hidden; background: #050505; }
.lightbox-image-wrap img { width: 100%; height: 100%; max-height: 78svh; object-fit: contain; }
.lightbox-caption { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: clamp(1.5rem, 4vw, 3.5rem); }
.lightbox-caption .eyebrow { margin-bottom: .8rem; }
.lightbox-caption h2 { margin-bottom: 1rem; font: 2.4rem/1.02 Georgia, serif; letter-spacing: -.04em; }
.lightbox-caption > p:not(.eyebrow) { margin-bottom: 1.8rem; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.lightbox-close, .lightbox-arrow {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 42px; height: 42px; border: 1px solid rgba(241,239,232,.4); border-radius: 50%;
  background: rgba(8,8,8,.78); color: var(--paper); cursor: pointer;
}
.lightbox-close { top: 1rem; right: 1rem; font-size: 1.5rem; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); font-size: 1.15rem; }
.lightbox-prev { left: .8rem; }
.lightbox-next { right: .8rem; }
.lightbox-close:hover, .lightbox-arrow:hover { color: var(--bg); border-color: var(--accent); background: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 1050px) {
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.35rem; }
  .art-card:nth-child(4n + 2), .art-card:nth-child(4n + 4) { margin-top: 0; }
  .art-card:nth-child(even) { margin-top: 3.6rem; }
  .contact-wrap { gap: 4rem; }
}
@media (max-width: 700px) {
  :root { --page-gutter: 1.2rem; }
  html { scroll-padding-top: 5rem; }
  .site-header { min-height: 70px; }
  .site-header.is-scrolled { min-height: 66px; }
  .brand { min-width: 0; }
  .brand-mark { width: 34px; height: 34px; font-size: .95rem; }
  .header-social { min-width: 0; margin-left: auto; margin-right: 1.25rem; }
  .header-social span { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 40px; height: 40px; padding: 8px; border: 1px solid rgba(241,239,232,.35);
    border-radius: 50%; background: rgba(8,8,8,.24); cursor: pointer;
  }
  .menu-toggle span { width: 100%; height: 1px; background: var(--paper); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: calc(100% - 1px); left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: .45rem var(--page-gutter) 1rem;
    background: rgba(9,9,9,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .9rem 0; border-top: 1px solid rgba(241,239,232,.08); }
  .hero { min-height: max(700px, 100svh); padding-bottom: 6.4rem; }
  .hero-image { object-position: center center; opacity: .74; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,7,7,.9) 0%, rgba(7,7,7,.4) 44%, rgba(7,7,7,.14) 100%), linear-gradient(90deg, rgba(7,7,7,.45), transparent 85%); }
  .hero-content { padding-top: 8rem; }
  .hero h1 { font-size: clamp(4.1rem, 15vw, 6.3rem); }
  .hero-deck { max-width: 340px; font-size: .98rem; }
  .hero-side-note { right: .6rem; font-size: .48rem; }
  .scroll-cue { right: var(--page-gutter); bottom: 1.45rem; }
  .work-section { padding-top: 5.7rem; padding-bottom: 6.5rem; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 1.3rem; margin-bottom: 2.4rem; }
  .section-heading h2, .about-copy h2, .contact-intro h2 { font-size: clamp(3.3rem, 15vw, 5rem); }
  .section-intro { width: min(420px, 100%); margin: 0; }
  .gallery-controls { align-items: flex-end; gap: .5rem; }
  .filter-list { flex-wrap: wrap; gap: .2rem; }
  .filter-button { padding: .38rem .6rem; font-size: .65rem; }
  .art-grid { gap: 2.5rem .8rem; }
  .art-card:nth-child(even) { margin-top: 2.4rem; }
  .art-image-wrap { aspect-ratio: 1 / 1.15; }
  .art-open-tall .art-image-wrap { aspect-ratio: 1 / 1.35; }
  .art-meta { font-size: .5rem; gap: .25rem; margin-top: .75rem; letter-spacing: .1em; }
  .about-section { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 6rem; }
  .about-aside { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: .5rem 1rem; }
  .about-aside .eyebrow { grid-column: 1 / -1; }
  .about-mark { width: min(160px, 100%); margin: 1rem 0 .4rem; }
  .about-mark span { font-size: 4.5rem; }
  .about-location { align-self: end; margin: 0 0 1rem; font-size: .65rem; }
  .about-copy { padding-top: .4rem; }
  .about-copy h2 { margin-bottom: 1.4rem; }
  .about-copy p { font-size: .9rem; }
  .about-copy .about-lead { font-size: 1.35rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; padding-block: 5.8rem; }
  .contact-intro > p:not(.eyebrow) { margin-bottom: 1.6rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit-row { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: .7rem; padding-block: 1.3rem; }
  .site-footer > p { grid-column: 1 / -1; order: 2; }
  .copyright { order: 3; }
  .footer-link { justify-self: end; }
  .lightbox { width: calc(100vw - 1rem); max-height: calc(100svh - 1rem); }
  .lightbox-layout { display: flex; flex-direction: column; min-height: 0; max-height: calc(100svh - 1rem); }
  .lightbox-image-wrap { min-height: 0; height: min(65svh, 560px); }
  .lightbox-image-wrap img { max-height: 65svh; }
  .lightbox-caption { padding: 1.2rem 1.25rem 1.5rem; }
  .lightbox-caption .eyebrow { margin-bottom: .45rem; }
  .lightbox-caption h2 { margin-bottom: .55rem; font-size: 1.8rem; }
  .lightbox-caption > p:not(.eyebrow) { margin-bottom: .8rem; font-size: .75rem; }
  .lightbox-caption .text-link { font-size: .68rem; }
  .lightbox-close { top: .5rem; right: .5rem; }
  .lightbox-arrow { top: 32svh; width: 36px; height: 36px; }
}
