:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --surface: #fff;
  --ink: #11110f;
  --muted: #6f706a;
  --line: #d9d9d3;
  --soft: #ecece7;
  --accent: #9b4a27;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --content-max: 92rem;
  --page-pad: max(var(--gutter), calc((100vw - var(--content-max)) / 2));
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --font: "Lato", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 var(--font); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { border: 0; padding: 0; background: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 300; letter-spacing: -.045em; }
:where(a, button, input):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
main:focus { outline: none; }

.skip { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; background: var(--ink); color: white; transform: translateY(-150%); transition: transform 160ms var(--ease-out); }
.skip:focus { transform: translateY(0); }

header { position: sticky; z-index: 20; top: 0; min-height: 5.75rem; display: grid; grid-template-columns: minmax(13rem, 1fr) auto minmax(13rem, 1fr); align-items: center; gap: 2rem; padding: 1rem var(--page-pad); border-bottom: 1px solid var(--line); background: var(--bg); }
body.home-page header { position: absolute; right: 0; left: 0; border-bottom-color: rgba(255,255,255,.25); background: transparent; color: white; }
body.home-page .brand-wordmark, body.home-page .brand-monogram { filter: brightness(0) invert(1); }
body.home-page nav a, body.home-page .languages button { color: rgba(255,255,255,.7); }
body.home-page nav a:is(:hover, .active), body.home-page .languages button.active, body.home-page #menu { color: white; }
body.home-page .languages span { color: rgba(255,255,255,.45); }
.brand { display: flex; align-items: center; width: fit-content; }
.brand-wordmark { display: block; width: 17.5rem; height: auto; filter: brightness(0); }
.brand-monogram { display: none; width: 2.5rem; height: auto; filter: brightness(0); }
nav { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.2vw, 2.25rem); }
nav a, .languages button, #menu { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: .875rem; }
nav a { position: relative; color: var(--muted); transition: color 140ms ease; }
nav a::after { content: ""; position: absolute; right: 0; bottom: .35rem; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 180ms var(--ease-out); }
nav a:is(:hover, .active) { color: var(--ink); }
nav a.active::after { transform: scaleX(1); transform-origin: left; }
.tools { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; }
.languages { display: flex; align-items: center; gap: .1rem; }
.languages span { color: #a6a69e; }
.languages button { min-width: 44px; color: var(--muted); transition: color 140ms ease, transform 140ms var(--ease-out); }
.languages button.active { color: var(--ink); font-weight: 700; }
#menu { display: none; min-width: 44px; font-size: 1.2rem; transition: transform 140ms var(--ease-out); }
button:active, .pill:active, .collection:active, .shot:active { transform: scale(.97); }
button:disabled { cursor: default; opacity: .45; transform: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: clamp(7rem, 14vh, 10rem) var(--page-pad) clamp(3rem, 7vh, 5rem); background: #11110f; color: white; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7,9,10,.8) 0%, rgba(7,9,10,.52) 36%, rgba(7,9,10,.12) 68%, rgba(7,9,10,.24) 100%), linear-gradient(0deg, rgba(7,9,10,.5), transparent 42%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(39rem, 100%); transform: translateZ(0); }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.eyebrow { margin-bottom: 1.5rem; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 9ch; margin-bottom: 1.5rem; font-size: clamp(4.5rem, 7vw, 7rem); line-height: .9; }
.hero-copy { max-width: 29rem; margin-bottom: 2rem; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.pill { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.25rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: .875rem; transition: background-color 140ms ease, color 140ms ease, transform 140ms var(--ease-out); }
.pill:hover { background: transparent; color: var(--ink); }
.small-link { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid var(--ink); font-size: .875rem; transition: color 140ms ease, border-color 140ms ease, transform 140ms var(--ease-out); }
.small-link:hover { color: var(--accent); border-color: var(--accent); }
.hero .pill { position: relative; isolation: isolate; border-color: white; background: white; color: var(--ink); transform: translateZ(0); }
.hero .pill:hover { background: transparent; color: white; }
.hero .small-link { border-color: white; color: white; }
.hero .small-link:hover { border-color: rgba(255,255,255,.7); color: rgba(255,255,255,.7); }
.scroll { display: inline-flex; margin-top: clamp(3rem, 8vh, 6rem); color: rgba(255,255,255,.68); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-slides { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: #11110f; }
.hero-track { display: flex; width: 100%; height: 100%; transform: translate3d(-100%,0,0); will-change: transform; }
.hero-slide { min-width: 100%; height: 100%; margin: 0; flex: 0 0 100%; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 320ms var(--ease-out); }
.hero-pagination { position: absolute; z-index: 2; right: var(--page-pad); bottom: clamp(1.5rem, 4vh, 3rem); display: flex; gap: 0; transform: translateZ(0); }
.hero-pagination button { position: relative; min-width: 36px; min-height: 44px; padding: 0 .45rem; color: rgba(255,255,255,.55); transition: color 160ms ease; }
.hero-pagination button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hero-pagination button::after { content: ""; display: block; width: 100%; height: 2px; border-radius: 999px; background: currentColor; opacity: .72; transform: scaleX(.38); transform-origin: center; transition: opacity 180ms ease, transform 260ms var(--ease-out); }
.hero-pagination button:is(:hover, :focus-visible, .active) { color: white; }
.hero-pagination button.active::after { opacity: 1; transform: scaleX(1); }

.section, .page-intro, .gallery, .contact-strip, footer { padding-left: var(--page-pad); padding-right: var(--page-pad); }
.section { padding-top: clamp(5rem, 9vw, 9rem); padding-bottom: clamp(5rem, 9vw, 9rem); border-top: 1px solid var(--line); }
.together { padding-bottom: clamp(4rem, 6vw, 6rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }
.section-heading h2, .together h2 { max-width: 10ch; margin-bottom: 0; font-size: clamp(3rem, 4.8vw, 5rem); line-height: .98; }
.together-heading { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); margin-bottom: 5rem; }
.together-lead { max-width: 36rem; color: var(--muted); font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
.together-heading .pill { margin-top: 1rem; }
.offer-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.offer-list article { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.offer-number { display: block; margin-bottom: 2.5rem; color: var(--accent); font-size: .75rem; }
.offer-list h3, .process h3 { font-size: 1.5rem; }
.offer-list p, .process p { max-width: 31rem; color: var(--muted); }
.process { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-top: 5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.process ol { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process li { position: relative; margin-bottom: 2rem; padding-left: 3rem; counter-increment: steps; }
.process li:last-child { margin-bottom: 0; }
.process li::before { content: "0" counter(steps); position: absolute; top: .2rem; left: 0; color: var(--accent); font-size: .75rem; }
.process h4 { margin-bottom: .35rem; font-size: 1.125rem; }

.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 1.5rem; }
.collection { min-width: 0; }
.photo-wrap { overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); }
.collection img { display: block; width: 100%; height: 100%; padding: .8rem; object-fit: contain; transition: transform 220ms var(--ease-out); }
.collection-label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .9rem; }
.collection-label h3 { margin: 0; font-size: 1.25rem; }
.collection-label span { flex-shrink: 0; color: var(--muted); font-size: .75rem; }

.about { display: grid; gap: clamp(2rem, 5vw, 5rem); }
.about--home, .about--profile { grid-template-columns: minmax(12rem, .7fr) minmax(15rem, .8fr) minmax(20rem, 1.15fr); align-items: start; }
.about--profile { padding-top: clamp(3rem, 5vw, 5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.about h1, .about h2 { margin-bottom: 0; font-size: clamp(3rem, 4.8vw, 5rem); line-height: .98; }
.about p { max-width: 42rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.about-portrait { overflow: hidden; aspect-ratio: 4 / 5; margin: 0; background: var(--soft); }
.about-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-portrait--home img { object-position: 16% 50%; }
.about--profile .about-portrait img { object-position: 50% 20%; }
.contact-strip { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-top: clamp(4rem, 7vw, 7rem); padding-bottom: clamp(4rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.contact-strip > div { max-width: 50rem; }
.contact-strip h2 { margin-bottom: 1rem; font-size: clamp(2.75rem, 4.4vw, 4.5rem); line-height: 1; }
.contact-strip p { max-width: 40rem; margin-bottom: 0; color: var(--muted); }
.contact-circle { min-height: 48px; flex-shrink: 0; display: inline-flex; align-items: center; border-bottom: 1px solid var(--ink); font-size: .875rem; }

.page-intro { padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: 3rem; }
.page-intro h1 { max-width: 12ch; margin-bottom: 1.5rem; font-size: clamp(4rem, 6vw, 6.25rem); line-height: .95; }
.page-intro p { max-width: 42rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: 2rem; }
.filters a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; color: var(--muted); font-size: .875rem; transition: color 140ms ease, border-color 140ms ease; }
.filters a:is(:hover, .active) { color: var(--ink); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 2.5rem 1.5rem; padding-bottom: 7rem; }
.shot { min-width: 0; text-align: left; transition: transform 140ms var(--ease-out); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; padding: clamp(.45rem, 1vw, 1rem); background: var(--soft); object-fit: contain; transition: opacity 180ms ease; }
.shot.shot-crop img { padding: 0; object-fit: cover; }
.shot > span { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; color: var(--muted); font-size: .75rem; }
.shot img[data-pending], .shot img[data-loading] { opacity: .35; }
.shot img[data-failed] { min-height: 12rem; }
.empty { padding: 2rem var(--page-pad) 7rem; color: var(--muted); }

.timeline { margin: 1rem var(--page-pad) 6rem; }
.timeline-row { display: grid; grid-template-columns: 6rem 1fr 1fr; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.timeline-row h3 { margin: 0; font-size: 1.25rem; }
.timeline-row span { color: var(--muted); font-size: .875rem; }
.timeline-row > span:first-child { color: var(--accent); }
.contact-page { min-height: 68vh; padding-bottom: 7rem; }
.email { max-width: 100%; display: inline-block; margin: 1.5rem 0 2rem; border-bottom: 1px solid var(--ink); font-size: clamp(1.5rem, 4vw, 4rem); letter-spacing: -.04em; overflow-wrap: anywhere; }
.contact-links, footer .socials { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.contact-links a, footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); transition: color 140ms ease; }
.contact-links a:hover, footer a:hover { color: var(--ink); }

.vault-form { max-width: 28rem; margin: 2rem 0; }
.vault-form label { display: block; margin-bottom: .5rem; font-size: .875rem; }
.vault-fields { display: flex; flex-wrap: wrap; gap: .75rem; }
.vault-fields input { min-height: 48px; min-width: 9rem; flex: 1; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); }
.vault-fields button { min-height: 48px; padding: .75rem 1rem; background: var(--ink); color: white; }
.vault-status { min-height: 1.5rem; margin-top: .75rem; color: var(--muted); font-size: .875rem; }
.lock-button { min-height: 44px; border-bottom: 1px solid var(--ink); font-size: .875rem; }

footer { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
dialog { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; padding: 0; border: 0; background: rgba(247,247,244,.97); color: var(--ink); }
dialog::backdrop { background: rgba(17,17,15,.3); }
dialog[open] { display: flex; align-items: center; justify-content: center; }
.lightbar { position: absolute; z-index: 2; top: max(1rem, env(safe-area-inset-top)); right: var(--gutter); left: var(--gutter); display: flex; align-items: center; justify-content: space-between; font-size: .875rem; font-variant-numeric: tabular-nums; }
.lightbar button, .prev, .next { min-width: 44px; min-height: 44px; }
dialog figure { width: 82%; height: calc(100svh - 10rem); margin: 5rem 9%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
dialog img { max-width: 100%; max-height: calc(100% - 2.5rem); object-fit: contain; transition: opacity 120ms ease; }
dialog figcaption { padding-top: 1rem; color: var(--muted); font-size: .875rem; text-align: center; }
.prev, .next { position: absolute; z-index: 2; bottom: max(1rem, env(safe-area-inset-bottom)); padding: .6rem; font-size: .875rem; }
.prev { left: calc(50% - 9rem); }
.next { right: calc(50% - 9rem); }
dialog[open] figure { animation: photo-enter 220ms var(--ease-out); }
dialog.instant-open[open] figure { animation: none; }
@keyframes photo-enter { from { opacity: 0; transform: translateY(10px) scale(.97); } }

@media (hover: hover) and (pointer: fine) {
  .collection:hover img { transform: scale(1.018); }
  .shot:hover img { opacity: .88; }
}

@media (max-width: 1000px) {
  header { grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr); gap: 1rem; }
  .brand-wordmark { width: 14rem; }
  .collections, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about--home, .about--profile { grid-template-columns: .8fr 1.2fr; gap: 2.5rem; }
  .about--home .about-heading, .about--profile .about-heading { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  header { grid-template-columns: 1fr auto; min-height: 5rem; }
  .brand-wordmark { width: 13.5rem; }
  .tools { grid-column: 2; }
  #menu { display: inline-flex; }
  nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: .75rem var(--gutter) 1rem; border-bottom: 1px solid var(--line); background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; }
  nav.open { display: flex; }
  body.home-page nav.open { border-bottom-color: rgba(255,255,255,.18); background: #11110f; }
  nav a { justify-content: flex-start; }
  nav a::after { display: none; }
  .hero { min-height: 100svh; padding-top: 7rem; padding-bottom: 2rem; }
  .hero-content { max-width: 42rem; }
  .hero h1 { font-size: clamp(4.5rem, 14vw, 7rem); }
  .scroll { margin-top: 2.5rem; }
}

@media (max-width: 740px) {
  .brand-wordmark { display: none; }
  .brand-monogram { display: block; }
  .hero { padding-bottom: 1.5rem; }
  .hero-content { padding-bottom: 4.75rem; }
  .hero::after { background: linear-gradient(180deg, rgba(7,9,10,.42) 0%, rgba(7,9,10,.22) 38%, rgba(7,9,10,.48) 100%); }
  .hero-slide:is(:first-child, :nth-child(6)) { overflow: hidden; }
  .hero-slide:is(:first-child, :nth-child(6)) img { transform: translateY(clamp(1rem, 3svh, 1.75rem)) scale(1.1); }
  .hero h1 { max-width: 8ch; font-size: clamp(2.65rem, 11.5vw, 3.5rem); line-height: .94; }
  .hero-pagination { right: auto; bottom: 1rem; left: var(--gutter); }
  .section-heading, .contact-strip { align-items: flex-start; flex-direction: column; }
  .together-heading, .about, .process { grid-template-columns: 1fr; }
  .about--profile { gap: 2rem; padding-top: 3rem; }
  .about--home .about-heading, .about--profile .about-heading { grid-column: auto; }
  .about-portrait--home { aspect-ratio: 1; }
  .about-portrait--home img { object-position: 0 50%; }
  .together-heading { gap: 1.5rem; margin-bottom: 3.5rem; }
  .offer-list { grid-template-columns: 1fr; gap: 2rem; }
  .offer-number { margin-bottom: 1rem; }
  .process { gap: 1rem; margin-top: 3.5rem; }
  .collections { grid-template-columns: 1fr; gap: 2.5rem; }
  .photo-wrap { aspect-ratio: 4 / 3; }
  .gallery { gap: 1.5rem .75rem; }
  .shot img { padding: .45rem; }
  .timeline-row { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; }
  .timeline-row > span:last-child { grid-column: 2; }
  footer { align-items: flex-start; flex-direction: column; padding-top: 1.5rem; padding-bottom: 1.5rem; }
  dialog figure { width: 90%; margin-right: 5%; margin-left: 5%; }
}

@media (max-width: 380px) {
  .gallery { grid-template-columns: 1fr; }
  .vault-fields { flex-direction: column; }
  .vault-fields button { width: 100%; }
  .prev { left: 1rem; }
  .next { right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track { transition: none !important; }
  .hero-slide img { transition: none !important; }
  main, dialog figure { transform: none !important; animation: none !important; }
  button:active, .pill:active, .collection:active, .shot:active { transform: none; }
}
