:root {
  --ink: #090d0b;
  --forest: #0a1a11;
  --forest-soft: #10291b;
  --gold: #f5bd16;
  --gold-bright: #ffd74d;
  --paper: #f3f0e7;
  --paper-deep: #e4dfd2;
  --white: #fffdf7;
  --line: rgba(255, 255, 255, 0.18);
  --muted: rgba(255, 255, 255, 0.66);
  --display: "Arial Black", "Arial Narrow", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--white); background: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .75rem 1rem; color: var(--ink); background: var(--gold); }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 5rem; padding: 0 clamp(1.2rem, 4vw, 4.5rem); border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, min-height .3s ease; }
.site-header.is-scrolled { min-height: 4.25rem; background: rgba(6, 12, 8, .92); border-color: var(--line); backdrop-filter: blur(12px); }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a, .site-header > .text-link { font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.site-header nav a { color: rgba(255,255,255,.72); transition: color .2s; }
.site-header nav a:hover { color: var(--white); }
.site-header > .button { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: .72rem; width: fit-content; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; color: var(--ink); background: var(--gold); font-family: var(--display); font-size: .82rem; line-height: 1; transform: skew(-7deg); }
.brand-name { font-size: .83rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.35rem; padding: .9rem 1.35rem; border: 1px solid rgba(255,255,255,.5); border-radius: 0; color: var(--white); background: transparent; font-size: .75rem; font-weight: 850; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 2.65rem; padding: .68rem 1rem; }
.button-primary { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.button-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.button-secondary { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-secondary:hover { background: var(--green); border-color: var(--green); }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: .7rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--gold); font-size: 1.1rem; transition: transform .2s; }
.text-link:hover span { transform: translate(.15rem, -.15rem); }

.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--forest); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; animation: hero-in 1.5s cubic-bezier(.2,.7,.2,1) both; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,7,.95) 0%, rgba(5,10,7,.75) 35%, rgba(5,10,7,.14) 68%, rgba(5,10,7,.38) 100%), linear-gradient(0deg, rgba(4,8,5,.82) 0%, transparent 30%); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: min(47rem, 62vw); min-height: 100svh; padding: 8rem clamp(1.4rem, 7vw, 7.5rem) 6rem; animation: content-in 1s .22s ease both; }
.eyebrow { margin: 0 0 1.2rem; color: var(--gold); font-size: .72rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 900; letter-spacing: -.055em; line-height: .9; text-transform: uppercase; }
h1 { max-width: 9ch; font-size: clamp(4.6rem, 10.5vw, 10rem); }
h1 em { color: var(--gold); font-style: normal; }
.hero-copy { max-width: 36rem; margin: 2rem 0 0; color: rgba(255,255,255,.77); font-size: clamp(1rem, 1.35vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2.3rem; }
.hero-score { position: absolute; z-index: 2; top: 50%; right: clamp(1rem, 3vw, 3rem); display: flex; flex-direction: column; align-items: center; gap: .8rem; color: rgba(255,255,255,.62); font-size: .67rem; font-weight: 900; letter-spacing: .18em; }
.score-line { width: 1px; height: 5rem; background: rgba(255,255,255,.45); }
.hero-caption { position: absolute; z-index: 2; right: clamp(1.3rem, 5vw, 5rem); bottom: 2rem; display: flex; gap: 2rem; color: rgba(255,255,255,.62); font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.portfolio-section { padding: clamp(6rem, 10vw, 10rem) clamp(1.2rem, 4vw, 4.5rem); background: var(--paper); color: var(--ink); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); align-items: end; gap: 4rem; max-width: 90rem; margin: 0 auto clamp(3.5rem, 7vw, 7rem); }
.section-heading h2, .prints-content h2, .about-copy h2 { font-size: clamp(3.2rem, 6.6vw, 7rem); }
.section-heading > p { max-width: 34rem; margin: 0 0 .4rem; color: #535852; font-size: clamp(1rem, 1.35vw, 1.22rem); }
.portfolio-grid { --gallery-gap: clamp(.65rem, 1vw, .95rem); columns: 3 22rem; column-gap: var(--gallery-gap); max-width: 94rem; margin: 0 auto; }
.photo-card { position: relative; display: inline-block; width: 100%; margin: 0 0 var(--gallery-gap); break-inside: avoid; vertical-align: top; cursor: zoom-in; }
.photo-card button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; color: inherit; background: #151a17; cursor: zoom-in; }
.photo-card img { display: block; width: 100%; height: auto; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.photo-card button::after { content: "View"; position: absolute; right: 1.2rem; bottom: 1.2rem; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; color: var(--ink); background: var(--gold); font-size: .64rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(.6rem); transition: opacity .25s, transform .25s; }
.photo-card:hover img { transform: scale(1.025); filter: contrast(1.04); }
.photo-card:hover button::after { opacity: 1; transform: translateY(0); }

.prints-section { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 56rem; background: var(--forest); }
.prints-photo { position: relative; min-height: 45rem; overflow: hidden; }
.prints-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.prints-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(10,26,17,.6)); }
.vertical-label { position: absolute; z-index: 1; right: 1.3rem; bottom: 2rem; color: rgba(255,255,255,.6); font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.prints-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem); }
.prints-content > p:not(.eyebrow) { max-width: 38rem; margin: 2rem 0 0; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.prints-content > .button { align-self: flex-start; margin-top: 2.5rem; }
.process-list { display: grid; gap: 0; margin: 3rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--gold); font-size: .65rem; font-weight: 850; letter-spacing: .1em; }
.process-list strong { display: block; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.process-list p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; padding: clamp(6rem, 11vw, 11rem) clamp(1.3rem, 7vw, 8rem); color: var(--ink); background: var(--gold); }
.about-kicker { align-self: end; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 5.6rem); letter-spacing: -.05em; line-height: .92; text-transform: uppercase; }
.about-copy .eyebrow { color: rgba(9,13,11,.62); }
.about-copy > p:not(.eyebrow) { max-width: 38rem; margin: 2rem 0; font-size: 1.08rem; }
.about-copy .text-link span { color: var(--ink); }

.final-cta { position: relative; display: grid; place-items: center; min-height: 75svh; overflow: hidden; text-align: center; }
.final-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta-scrim { position: absolute; inset: 0; background: rgba(4,9,6,.68); }
.final-cta-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final-cta h2 { font-size: clamp(4rem, 9vw, 9rem); }
.final-cta .button { margin-top: 2.5rem; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1.2rem, 4vw, 4.5rem); color: rgba(255,255,255,.6); background: #050806; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-brand { color: var(--white); }

.lightbox, .notice-dialog { width: min(94vw, 92rem); max-width: none; padding: 0; border: 1px solid rgba(255,255,255,.18); color: var(--white); background: rgba(3,7,5,.97); }
.lightbox::backdrop, .notice-dialog::backdrop { background: rgba(0,0,0,.87); backdrop-filter: blur(5px); }
.lightbox figure { margin: 0; }
.lightbox figure img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.5rem; padding: 1rem 5rem 1rem 1.4rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lightbox-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; }
.lightbox-close { position: absolute; z-index: 3; top: .8rem; right: .8rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.35); color: white; background: rgba(0,0,0,.5); font-size: 1.6rem; cursor: pointer; }
.lightbox-nav { position: absolute; z-index: 2; top: 50%; width: 3.2rem; height: 3.2rem; border: 1px solid rgba(255,255,255,.35); color: white; background: rgba(0,0,0,.55); cursor: pointer; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.notice-dialog { width: min(90vw, 34rem); padding: 3rem; }
.notice-dialog h2 { font-size: clamp(2.5rem, 6vw, 4rem); }
.notice-dialog > p:last-child { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Order page */
.order-page { color: var(--ink); background: var(--paper); }
.light-header { position: static; color: var(--ink); border-color: rgba(9,13,11,.15); }
.light-header .brand-mark { color: var(--paper); background: var(--forest); }
.light-header .text-link span { color: var(--forest); }
.order-main { display: grid; grid-template-columns: minmax(22rem, .86fr) minmax(32rem, 1.14fr); min-height: calc(100svh - 5rem); }
.order-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem); color: var(--white); background: var(--forest); }
.order-intro h1 { font-size: clamp(4.2rem, 7.2vw, 7.5rem); }
.order-intro > p:not(.eyebrow) { max-width: 32rem; margin: 2rem 0 0; color: var(--muted); }
.order-assurance { display: grid; gap: .7rem; margin-top: 3rem; color: rgba(255,255,255,.68); font-size: .68rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.order-assurance span::before { content: "✓"; margin-right: .65rem; color: var(--gold); }
.order-panel { padding: clamp(3rem, 7vw, 7rem); }
.order-panel h2 { margin: 2rem 0 2.5rem; font-family: var(--body); font-size: 1.9rem; letter-spacing: -.03em; text-transform: none; }
.step-indicator { display: grid; grid-template-columns: auto auto 1fr auto auto 1fr auto auto; align-items: center; gap: .6rem; color: #777b75; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.step-indicator span:nth-child(1), .step-indicator span:nth-child(4), .step-indicator span:nth-child(7) { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1px solid #a9ada6; border-radius: 50%; }
.step-indicator span:first-child { color: var(--paper); background: var(--forest); border-color: var(--forest); }
.step-indicator i { height: 1px; background: #cbc7bb; }
.order-panel form { max-width: 42rem; }
.order-panel fieldset { margin: 0 0 2rem; padding: 0; border: 0; }
.order-panel legend { margin-bottom: 1rem; font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.field-label { display: block; margin-bottom: .55rem; color: #4c504a; font-size: .78rem; font-weight: 750; }
.field-label span { color: #858980; font-weight: 500; }
.order-panel input, .order-panel textarea, .order-panel select { width: 100%; padding: .9rem 1rem; border: 1px solid #bdb9ad; border-radius: 0; color: var(--ink); background: #fffefa; outline: none; }
.order-panel input:focus, .order-panel textarea:focus, .order-panel select:focus { border-color: var(--forest); box-shadow: 0 0 0 2px rgba(10,26,17,.13); }
.field-help { margin: .45rem 0 0; color: #777b75; font-size: .75rem; }
.selected-photo { display: grid; grid-template-columns: 7rem 1fr; align-items: center; gap: 1rem; margin-bottom: 1rem; padding: .75rem; border: 1px solid #bdb9ad; background: #fffefa; }
.selected-photo[hidden] { display: none; }
.selected-photo img { display: block; width: 7rem; height: 5.25rem; object-fit: cover; }
.selected-photo strong { font-size: 1rem; letter-spacing: .08em; }
.selected-photo p { margin: .35rem 0 0; color: #747871; font-size: .75rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.product-choice { position: relative; display: flex; flex-direction: column; min-height: 7rem; padding: 1rem; border: 1px solid #bdb9ad; background: #fffefa; cursor: pointer; }
.product-choice:has(input:checked) { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.product-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-choice strong { font-size: .88rem; }
.product-choice small { margin-top: .3rem; color: #747871; }
.product-choice b { margin-top: auto; color: var(--forest); font-size: .78rem; }
.order-summary { margin: 2rem 0 1rem; border-block: 1px solid #c8c3b7; }
.order-summary > div { display: flex; justify-content: space-between; gap: 2rem; padding: .8rem 0; font-size: .82rem; }
.order-summary > div + div { border-top: 1px solid #ddd8cc; }
.order-summary strong { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.checkout-button { width: 100%; }
.checkout-button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.checkout-note { margin: .8rem 0 0; color: #747871; font-size: .74rem; text-align: center; }
.order-footer { color: rgba(255,255,255,.62); }

@keyframes hero-in { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes content-in { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; gap: 1rem; }
  .site-header nav { display: none; }
  .hero-content { width: min(44rem, 86vw); }
  .hero-scrim { background: linear-gradient(90deg, rgba(5,10,7,.94), rgba(5,10,7,.5)), linear-gradient(0deg, rgba(4,8,5,.86), transparent 45%); }
  .section-heading { grid-template-columns: 1fr; gap: 2rem; }
  .portfolio-grid { columns: 2 18rem; }
  .prints-section { grid-template-columns: 1fr; }
  .prints-photo { min-height: 80svh; }
  .about-section { grid-template-columns: 1fr; gap: 4rem; }
  .order-main { grid-template-columns: 1fr; }
  .order-intro { min-height: 42rem; }
}

@media (max-width: 620px) {
  .site-header { min-height: 4.4rem; padding-inline: 1rem; }
  .brand-name { display: none; }
  .site-header .button-small { min-height: 2.4rem; padding: .55rem .75rem; font-size: .65rem; }
  .hero-image { object-position: 62% center; }
  .hero-content { width: 100%; justify-content: flex-end; padding: 7rem 1.25rem 7rem; }
  .hero-score { display: none; }
  .hero-caption { right: auto; left: 1.25rem; bottom: 1.5rem; }
  .hero-caption span:last-child { display: none; }
  h1 { font-size: clamp(4rem, 22vw, 6.8rem); }
  .hero-copy { font-size: .96rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .portfolio-section { padding-inline: .85rem; }
  .section-heading { padding-inline: .4rem; }
  .section-heading h2, .prints-content h2, .about-copy h2 { font-size: clamp(2.6rem, 13.5vw, 5rem); }
  .portfolio-grid { columns: 1; }
  .portfolio-grid { --gallery-gap: .65rem; }
  .prints-photo { min-height: 70svh; }
  .prints-content { padding: 4.5rem 1.3rem; }
  .about-section { padding: 5rem 1.3rem; }
  .final-cta { min-height: 70svh; }
  footer { align-items: flex-start; flex-direction: column; }
  .lightbox { width: 100vw; border: 0; }
  .lightbox figcaption { align-items: flex-start; flex-direction: column; padding-right: 1rem; }
  .lightbox-nav { top: 36%; bottom: auto; }
  .lightbox-actions { width: 100%; justify-content: space-between; }
  .order-panel, .order-intro { padding: 4rem 1.2rem; }
  .order-intro h1 { font-size: clamp(3.6rem, 18vw, 5rem); }
  .choice-grid { grid-template-columns: 1fr; }
  .step-indicator { grid-template-columns: auto 1fr auto 1fr auto; }
  .step-indicator span:nth-child(2), .step-indicator span:nth-child(5), .step-indicator span:nth-child(8) { display: none; }
}

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