@font-face {
  font-family: Bricolage;
  src: url('../fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Instrument;
  src: url('../fonts/instrument-serif.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: Instrument;
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #2a2a2a;
  --night: var(--ink);
  --night-deep: #1c1c1c;
  --night-raised: #3a3a3a;
  --paper: var(--white);
  --sand: #f5f3ee;
  --white: #fff;
  --muted: #5e5a55;
  --muted-on-dark: #e6e1d6;
  --gold: #c9a25e;
  --gold-vivid: #e3b92b;
  --gold-hover: #c99f12;
  --gold-pale: #f3e3b5;
  --accent: #795d28;
  --accent-deep: #644a1a;
  --accent-on-dark: var(--gold-vivid);
  --line: #e6e1d6;
  --line-strong: #9a8a66;
  --display: Instrument, Georgia, serif;
  --body: Bricolage, system-ui, sans-serif;
  --layout: 76rem;
  --gutter: clamp(1.25rem, 4.7vw, 4.6rem);
  --nav-logo-size: clamp(5.6rem, 7.1vw, 6.375rem);
  --nav-height: calc(var(--nav-logo-size) + 1rem);
  --nav-inset: clamp(1.25rem, 4.2vw, 4rem);
  --nav-top: clamp(.45rem, .7vw, .65rem);
  --nav-stack: calc(var(--nav-height) + var(--nav-top));
  --nav-radius: clamp(1.4rem, 2.5vw, 2.35rem);
  --ease: cubic-bezier(.22,.75,.24,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.55; }
body:has(dialog[open]), html.gallery-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.027em; line-height: .93; }
h2 { font-size: clamp(3.5rem, 7vw, 6.55rem); }
h2 em { color: var(--accent); }
section[id], main[id] { scroll-margin-top: calc(var(--nav-stack) + 1rem); }

.layout { width: min(calc(100% - var(--gutter) * 2), var(--layout)); margin-inline: auto; }
.section { padding-block: clamp(4.7rem, 9vw, 8.4rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.2rem; color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .135em; line-height: 1.45; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: currentColor; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 6; inset: 1rem auto auto 1rem; transform: translateY(-180%); padding: .7em 1em; background: var(--white); color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  padding-block-start: var(--nav-top);
  color: var(--white);
  pointer-events: none;
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(calc(100% - var(--nav-inset) * 2), 73rem);
  min-height: var(--nav-height);
  gap: clamp(.7rem, 1.6vw, 1.45rem);
  padding-inline: clamp(.48rem, 1.3vw, 1.25rem);
  border: 1px solid rgb(201 162 94 / 35%);
  border-radius: var(--nav-radius);
  background: linear-gradient(110deg, rgb(42 42 42 / 97%), rgb(28 28 28 / 97%) 55%);
  box-shadow: inset 0 1px rgb(243 227 181 / 8%), 0 8px 28px rgb(0 0 0 / 38%);
  backdrop-filter: blur(14px);
  perspective: 850px;
  pointer-events: auto;
}
.brand { display: inline-flex; align-items: center; gap: .66rem; min-width: max-content; text-decoration: none; }
.brand-mark { display: block; flex: 0 0 auto; width: 2.4rem; height: 2.4rem; }
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; }
.brand-name { font-size: 1.14rem; font-weight: 760; line-height: 1; letter-spacing: -.045em; }
.brand-name span { font-weight: 480; }
.brand-header { justify-self: start; }
.brand-header .brand-mark {
  width: var(--nav-logo-size);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(201 162 94 / 5%), 0 4px 15px rgb(0 0 0 / 65%);
  transition: box-shadow .36s var(--ease), transform .36s var(--ease);
}
.brand-header:is(:hover, :focus-visible) .brand-mark {
  transform: perspective(500px) translateZ(12px) rotateY(-13deg) rotateZ(-4deg);
  box-shadow: 0 0 0 5px rgb(201 162 94 / 14%), 0 8px 22px rgb(0 0 0 / 65%);
}
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.55vw, 2.25rem); }
.site-nav a { position: relative; padding-block: .65rem; color: var(--white); font-size: .94rem; font-weight: 550; text-decoration: none; transition: color .22s ease; }
.site-nav a::after {
  position: absolute;
  inset: auto 0 .25rem;
  height: 1px;
  background: var(--accent-on-dark);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent-on-dark); }
.site-nav a:is(:hover, :focus-visible, [aria-current])::after { transform: scaleX(1); }
.header-inner > .brand-header, .site-nav > a, .header-inner > .button-header { animation: nav-entry .62s var(--ease) both; }
.site-nav > a:nth-child(1) { animation-delay: .07s; }
.site-nav > a:nth-child(2) { animation-delay: .12s; }
.site-nav > a:nth-child(3) { animation-delay: .17s; }
.site-nav > a:nth-child(4), .header-inner > .button-header { animation-delay: .22s; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .contact-section :focus-visible { outline-color: var(--accent-on-dark); }
.menu-toggle { display: none; }

.button { display: inline-flex; min-height: 3.45rem; align-items: center; justify-content: center; gap: .9rem; padding: .76rem 1.17rem; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-size: .93rem; font-weight: 720; line-height: 1.25; transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease); }
.button span, .text-link span, .on-dark-link span { font-size: 1.12em; font-weight: 500; }
.button:active { transform: translateY(2px); }
.button-header { justify-self: end; min-height: 2.75rem; padding: .53rem .85rem; color: var(--white); border-color: var(--line-strong); border-radius: .85rem; font-size: .84rem; }
.button-header span { transition: transform .28s var(--ease); }
.button-header:hover { border-color: var(--accent-on-dark); background: var(--night-raised); }
.button-header:is(:hover, :focus-visible) span { transform: translate(2px,-2px); }
.button-primary { color: var(--ink); background: var(--gold-vivid); border-color: var(--accent); }
.button-primary:hover { background: var(--gold-hover); }
.on-dark-link, .text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: .62rem; width: fit-content; padding-block: .37rem; border-bottom: 1px solid currentColor; text-decoration: none; font-size: .9rem; font-weight: 700; transition: color .2s ease; }
.on-dark-link:hover, .site-footer .text-link:hover { color: var(--accent-on-dark); }
.text-link:hover { color: var(--accent); }

.site-opening { display: none; }
html[data-opening] { overflow: hidden; }
html[data-opening='loading'] body > :not(.site-opening) { visibility: hidden; }
html[data-opening='loading'] :is(.hero-image, .hero-copy > *, .hero-photo-link, .brand-header, .site-nav > a, .button-header) { animation-play-state: paused; }
html[data-opening] .site-opening {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 47%, var(--night-raised) 0%, var(--night-deep) 55%, #141414 93%);
  color: var(--white);
}
html[data-opening='hiding'] .site-opening { animation: opening-exit .52s var(--ease) both; }
.opening-inner { display: grid; justify-items: center; gap: 1.1rem; }
.opening-stage {
  display: grid;
  width: clamp(13.6rem, 31vw, 18rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(201 162 94 / 33%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(201 162 94 / 16%) 3%, transparent 70%);
  box-shadow: 0 0 0 .7rem rgb(201 162 94 / 3%), inset 0 0 40px rgb(201 162 94 / 5%);
  perspective: 500px;
}
.opening-coin {
  position: relative;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 12px 38px rgb(0 0 0 / 64%);
  transform-style: preserve-3d;
  animation: opening-coin .84s var(--ease) both;
}
.opening-coin::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--gold);
  background: linear-gradient(110deg, var(--accent), var(--gold-pale) 40%, var(--gold));
  content: '';
  transform: translateZ(-5px);
}
.opening-coin img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: translateZ(4px);
  backface-visibility: hidden;
}
.opening-inner p { margin-top: .3rem; color: var(--gold-pale); font-size: .71rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.opening-progress { width: 4.75rem; height: 2px; overflow: hidden; border-radius: 2px; background: rgb(201 162 94 / 24%); }
.opening-progress::after {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold-vivid);
  content: '';
  transform-origin: left;
  animation: opening-progress .88s var(--ease) both;
}
html[data-opening='hiding'] .opening-progress::after { animation: opening-progress-end .22s ease-out both; }

.hero {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: clip;
  min-height: calc(clamp(36rem, 49vw, 46rem) + var(--nav-stack));
  margin-block-start: calc(-1 * var(--nav-stack));
  padding-block-start: var(--nav-stack);
  background: var(--night);
  color: var(--white);
}
.hero-scene { position: absolute; z-index: -2; inset: -3%; transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .65s var(--ease); }
.hero-scene picture { display: block; width: 100%; height: 100%; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; animation: scene-entry 1.28s var(--ease) both; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(28 28 28 / 92%) 0%, rgb(28 28 28 / 88%) 26%, rgb(28 28 28 / 67%) 53%, rgb(28 28 28 / 8%) 83%), linear-gradient(0deg, rgb(28 28 28 / 76%), transparent 42%); }
.hero-inner { display: grid; align-items: center; position: relative; padding-block: clamp(4.2rem, 8vw, 7.1rem) clamp(5.6rem, 9vw, 8.2rem); pointer-events: none; }
.hero-copy { max-width: 48rem; pointer-events: auto; }
.hero-location { color: var(--accent-on-dark); animation: copy-entry .65s var(--ease) both; }
.hero h1 { font-size: clamp(5.2rem, 10vw, 10.3rem); line-height: .84; transform-origin: 50% 92%; animation: title-entry .96s .15s var(--ease) both; }
.hero h1 em { color: var(--accent-on-dark); }
.hero-description { max-width: 35ch; margin-top: 1.65rem; color: var(--white); font-size: clamp(1.03rem, 1.5vw, 1.24rem); line-height: 1.55; animation: copy-entry .78s .19s var(--ease) both; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.35rem; margin-top: 1.9rem; animation: copy-entry .78s .28s var(--ease) both; }
.hero-actions a, .hero-photo-link { pointer-events: auto; }
.hero-photo-link { position: absolute; inset: auto 0 1.75rem auto; display: flex; gap: .65rem; align-items: center; padding: .44rem .62rem; border: 1px solid rgb(255 255 255 / 29%); border-radius: 3px; background: rgb(28 28 28 / 80%); color: var(--white); font-size: .75rem; font-weight: 650; text-decoration: none; animation: copy-entry .7s .26s var(--ease) both; }
.hero-photo-link:hover { border-color: var(--accent-on-dark); }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.65rem 3.5rem; margin-bottom: clamp(2rem, 4.3vw, 3.8rem); }
.section-heading > p { max-width: 30ch; padding-bottom: .25rem; color: var(--muted); font-size: 1.03rem; }
.section-heading > a { flex: 0 0 auto; margin-bottom: .25rem; }
.collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem, 2vw, 1.65rem); }
.service-card { min-width: 0; }
.service-link { height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--gold); border-radius: 6px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 5px 14px rgb(0 0 0 / 3%); transform: perspective(750px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .42s var(--ease), box-shadow .33s ease, border-color .25s ease; }
.service-link:hover, .service-link:focus-visible { box-shadow: 0 14px 28px rgb(0 0 0 / 8%); border-color: var(--accent); }
.service-link:active { transform: perspective(750px) scale(.98); }
.service-image { aspect-ratio: 1.65; overflow: hidden; background: var(--sand); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.service-link:hover img { transform: scale(1.055); }
.service-copy { position: relative; flex: 1; padding: 1.15rem 3.25rem 1.28rem 1.08rem; }
.service-copy h3 { font-size: clamp(1.05rem, 1.45vw, 1.26rem); font-weight: 740; line-height: 1.2; letter-spacing: -.02em; }
.service-copy p { margin-top: .42rem; color: var(--muted); font-size: .91rem; line-height: 1.48; }
.card-arrow { position: absolute; inset: 1rem .92rem auto auto; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--accent); line-height: 1; transition: background-color .22s ease, color .22s ease; }
.service-link:hover .card-arrow, .service-link:focus-visible .card-arrow { background: var(--accent); border-color: var(--accent); color: var(--white); }

.about { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); align-items: center; gap: clamp(2.6rem, 8vw, 7rem); }
.about-visual { position: relative; padding: 0 1.1rem 1.1rem 0; }
.about-visual::before { content: ''; position: absolute; z-index: -1; inset: 1.1rem 0 0 1.1rem; border: 1px solid var(--gold); border-radius: 6px; }
.about-visual { isolation: isolate; }
.about-photo { overflow: hidden; border-radius: 5px; aspect-ratio: 1.12; background: var(--line); transform: perspective(950px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .55s var(--ease); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-visual figcaption { position: absolute; inset: auto 0 2.1rem auto; max-width: 16rem; color: var(--white); background: var(--night); padding: .8rem 1.15rem; border-radius: 3px 0 0 3px; font-size: .86rem; box-shadow: 0 8px 18px rgb(0 0 0 / 13%); }
.about-copy > p:not(.eyebrow) { max-width: 47ch; margin-top: 1.3rem; color: var(--muted); font-size: 1.02rem; }

.gallery-preview { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: repeat(2, minmax(0,1fr)); gap: .8rem; aspect-ratio: 2.3; }
.gallery-cover { position: relative; display: block; overflow: hidden; min-height: 0; border-radius: 5px; background: var(--line); }
.gallery-cover-main { grid-row: span 2; }
.gallery-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-cover:hover img, .gallery-cover:focus-visible img { transform: scale(1.06); }

.contact-section { color: var(--white); background: var(--night); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); align-items: start; gap: clamp(2.5rem, 7vw, 7rem); }
.contact-copy .eyebrow, .contact-copy h2 em { color: var(--accent-on-dark); }
.contact-copy > p:not(.eyebrow) { margin-top: 1.4rem; max-width: 34ch; color: var(--muted-on-dark); font-size: 1.06rem; }
.contact-links { display: grid; gap: .87rem; margin-top: 1.75rem; font-style: normal; }
.contact-links a { display: flex; align-items: start; flex-wrap: wrap; gap: .2rem .6rem; padding-top: .8rem; border-top: 1px solid rgb(201 162 94 / 30%); text-decoration: none; line-height: 1.4; }
.contact-links a:hover > span:last-child { text-decoration: underline; }
.contact-links a > span:first-child { flex: 0 0 6.2rem; color: var(--accent-on-dark); font-size: .85rem; font-weight: 750; }
.contact-links a > span:last-child { color: var(--white); overflow-wrap: anywhere; font-size: .94rem; }
.quote-panel { padding: clamp(1.25rem, 3vw, 2.45rem); border: 1px solid rgb(201 162 94 / 36%); border-radius: 6px; background: var(--night-raised); }
.quote-panel h3 { margin-bottom: 1.1rem; font-size: 1.28rem; font-weight: 700; letter-spacing: -.025em; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.form-fields:disabled, .quote-panel:has(.form-fields:disabled) .form-note { display: none; }
.field { display: block; color: var(--white); font-size: .87rem; font-weight: 650; }
.field-wide { grid-column: 1 / -1; }
.field span { color: var(--accent-on-dark); }
.field .optional { color: var(--muted-on-dark); font-size: .8rem; font-weight: 450; }
.field :is(input,select,textarea) { display: block; width: 100%; margin-top: .32rem; padding: .66rem .7rem; min-height: 2.86rem; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--night); color: var(--white); color-scheme: dark; font-size: 1rem; font-weight: 450; }
.field :is(input,textarea)::placeholder { color: var(--muted-on-dark); }
.field textarea { resize: vertical; }
.quote-panel .button { margin-top: 1.2rem; }
.form-note { margin-top: .68rem; color: var(--muted-on-dark); font-size: .82rem; }
.form-status:not(:empty) { margin-top: .65rem; color: var(--muted-on-dark); font-size: .88rem; }
.form-status[data-state='success'] { color: #b5e2bb; }
.form-status[data-state='error'] { color: #ffb4aa; }
.quote-panel noscript a { margin-top: .75rem; }
.quote-panel .text-link:hover { color: var(--accent-on-dark); }

.gallery-hero { padding-block: clamp(3rem, 7.5vw, 6.5rem) clamp(3.1rem, 6.6vw, 5.5rem); background: var(--sand); }
.gallery-hero h1 { font-size: clamp(4.2rem, 9.2vw, 8.6rem); }
.gallery-hero h1 em { color: var(--accent); }
.gallery-hero p:not(.eyebrow) { max-width: 46ch; margin-top: 1rem; color: var(--muted); }
.breadcrumbs { display: flex; align-items: center; gap: .5rem; padding-bottom: 1.75rem; color: var(--muted); font-size: .86rem; }
.gallery-list-section { padding-block: clamp(2.2rem, 5.3vw, 4.6rem) clamp(4rem, 7vw, 6rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.55rem, 1.5vw, 1.1rem); }
.gallery-grid a { display: block; overflow: hidden; border-radius: 4px; background: var(--line); aspect-ratio: 1.3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.075); }
.gallery-callout { padding-block: clamp(2.8rem, 5vw, 4.3rem); background: var(--sand); }
.gallery-callout .layout { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem 2rem; }
.gallery-callout h2 { font-size: clamp(2.7rem, 5vw, 4.5rem); }
.gallery-dialog { position: fixed; width: min(69rem, calc(100% - 1.1rem)); max-width: none; max-height: calc(100% - 1.1rem); margin: auto; padding: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--night-deep); color: var(--white); }
.gallery-dialog::backdrop { background: rgb(28 28 28 / 90%); }
.gallery-dialog .lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; min-height: 3.15rem; padding: .25rem .65rem .25rem 1rem; }
.gallery-dialog .lightbox-toolbar h2 { font: 680 .91rem/1.2 var(--body); letter-spacing: 0; }
.gallery-dialog figure { text-align: center; }
.gallery-dialog figure img { width: 100%; height: min(72vh, 44rem); object-fit: contain; background: #141414; }
.gallery-dialog figcaption { min-height: 2.6rem; padding: .55rem 1rem; color: var(--muted-on-dark); font-size: .86rem; }
.lightbox-controls { display: flex; align-items: center; gap: .15rem; }
.lightbox-controls button { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border: 0; border-radius: 3px; background: transparent; color: var(--white); font-size: 1.25rem; }
.lightbox-controls button:hover, .lightbox-controls button:focus-visible { background: var(--night-raised); outline-color: var(--accent-on-dark); }
.error-page { display: grid; grid-template-rows: auto 1fr; min-height: 100dvh; color: var(--white); background: var(--night-deep); }
.error-page :focus-visible { outline-color: var(--accent-on-dark); }
.error-brand { margin: 1.5rem var(--gutter); }
.error-content { align-self: center; width: min(100%, 48rem); margin-inline: auto; padding: 2rem var(--gutter) 5rem; text-align: center; }
.error-content h1 { margin-block: .5rem 1rem; font-size: clamp(3.5rem, 8vw, 6.5rem); text-wrap: balance; }
.error-content .eyebrow, .error-actions .text-link:hover { color: var(--accent-on-dark); }
.error-content .eyebrow { justify-content: center; }
.error-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }

[data-reveal] { transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal-pending { opacity: 0; transform: translateY(22px); }
.reveal-pending:focus-within { opacity: 1; transform: none; }
@keyframes copy-entry { from { opacity: 0; transform: translateY(1.15rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes nav-entry {
  from { opacity: 0; transform: perspective(700px) translateY(-.65rem) rotateX(-18deg); }
  to { opacity: 1; transform: none; }
}
@keyframes opening-coin {
  from { opacity: .4; transform: translateZ(-120px) rotateY(-66deg) rotateX(11deg); }
  74% { opacity: 1; transform: translateZ(12px) rotateY(8deg) rotateX(-2deg); }
  to { opacity: 1; transform: translateZ(0) rotateY(0) rotateX(0); }
}
@keyframes opening-progress { from { transform: scaleX(0); } to { transform: scaleX(.8); } }
@keyframes opening-progress-end { from { transform: scaleX(.8); } to { transform: scaleX(1); } }
@keyframes opening-exit {
  0%, 12% { opacity: 1; }
  to { opacity: 0; transform: scale(1.04); }
}
@keyframes scene-entry {
  from { transform: perspective(1000px) translateZ(125px) rotateY(-12deg) rotateX(7deg) scale(1.1); }
  to { transform: none; }
}
@keyframes title-entry {
  from { opacity: 0; transform: perspective(950px) translate3d(0, 1.6rem, -140px) rotateX(35deg); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-image { object-position: 59% center; }
  .header-inner { gap: 1rem; }
  .site-nav { gap: 1.15rem; }
  .gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  :root {
    --nav-logo-size: 3.4rem;
    --nav-height: 4.25rem;
    --nav-inset: clamp(.6rem, 3.3vw, .95rem);
  }
  .header-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 0; }
  .header-inner > .button-header { display: none; }
  .site-nav { order: 3; flex: 0 0 100%; gap: .3rem .95rem; flex-wrap: wrap; padding-bottom: .55rem; }
  .site-nav[data-menu-enhanced] {
    position: absolute;
    inset: calc(100% + .55rem) 0 auto;
    display: grid;
    gap: 0;
    max-height: calc(100dvh - var(--nav-stack) - 1rem);
    overflow-y: auto;
    padding: .4rem var(--gutter) .85rem;
    border: 1px solid rgb(201 162 94 / 38%);
    border-radius: 1.25rem;
    background: var(--night-deep);
    box-shadow: 0 14px 32px rgb(0 0 0 / 33%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-.6rem) rotateX(-7deg);
    transform-origin: top;
    transition: visibility 0s .3s, opacity .26s ease, transform .3s var(--ease);
  }
  .site-nav[data-menu-open] { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .site-nav[data-menu-enhanced] a { padding: .7rem .12rem; font-size: 1rem; }
  .site-nav[data-menu-enhanced] a + a { border-top: 1px solid rgb(201 162 94 / 27%); }
  .site-nav[data-menu-enhanced] a::after { width: 1.35rem; }
  .menu-toggle { display: grid; align-content: center; justify-content: center; gap: .36rem; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-strong); background: transparent; color: var(--white); border-radius: .75rem; }
  .menu-toggle span { width: 1.18rem; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(.21rem) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-.21rem) rotate(-45deg); }
  .hero { min-height: calc(37rem + var(--nav-stack)); }
  .hero-image { object-position: 62% center; }
  .hero::after { background: linear-gradient(70deg, rgb(28 28 28 / 96%) 0%, rgb(28 28 28 / 84%) 47%, rgb(28 28 28 / 48%) 100%), linear-gradient(0deg, rgb(28 28 28 / 76%), transparent 38%); }
  .hero-inner { padding-block: 3.4rem 6.4rem; }
  .hero h1 { font-size: clamp(4.7rem, 13.5vw, 7rem); }
  .hero-description { max-width: 30ch; }
  .hero-photo-link { inset-block-end: 1.2rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .about-grid, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .about-copy { order: -1; }
  .about-photo { aspect-ratio: 1.27; }
  .gallery-preview { aspect-ratio: 1.25; gap: .55rem; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 405px) {
  .hero { min-height: calc(35rem + var(--nav-stack)); }
  .hero h1 { font-size: clamp(3.85rem, 14vw, 4.7rem); }
  .hero-actions { gap: .75rem 1.1rem; }
  .service-copy { padding: .83rem .67rem 2.6rem; }
  .service-copy p { font-size: .85rem; }
  .card-arrow { inset: auto .65rem .62rem auto; width: 1.65rem; height: 1.65rem; }
  .form-fields { grid-template-columns: minmax(0,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .hero-scene, .service-link, .about-photo { transform: none; }
}
