/* ==========================================================
   Bene Visuals — site styles
   Brand: Noir & brass. Bone-led pages, ink for depth,
   brass only as an accent.
   ========================================================== */

:root {
  --bone: #F3EEE4;       /* page background */
  --paper: #EAE3D6;      /* alternate section background */
  --ink: #15171A;        /* text, dark sections */
  --graphite: #23262A;   /* raised surfaces on ink */
  --stone: #4A4843;      /* secondary text on bone */
  --mist: #CDC8BE;       /* secondary text on ink */
  --brass: #C9A45C;      /* accent on dark backgrounds */
  --brass-deep: #7A5E27; /* accent text on light backgrounds */
  --rule: #D6CEBF;       /* hairlines on bone */
  --rule-dark: #34383E;  /* hairlines on ink */

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --step-4: clamp(2.75rem, 1.6rem + 5vw, 5.75rem);

  --radius: 6px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 450;
  line-height: 1.6;
  /* Bodoni: use a sturdier optical size so hairlines stay readable at large sizes */
  font-variation-settings: "opsz" 24;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-family: var(--sans); font-weight: 600; font-size: var(--step-1); line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
figure { margin: 0; }
section[id], main { scroll-margin-top: 72px; }

.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.lede { font-size: var(--step-1); color: var(--stone); max-width: 38ch; line-height: 1.5; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bone); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--brass-deep); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .prints-banner :focus-visible, .contact :focus-visible,
.site-footer :focus-visible, .package-featured :focus-visible, .mobile-menu :focus-visible,
.site-header[data-state="top"] :focus-visible, .lightbox :focus-visible { outline-color: var(--brass); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font: 600 1rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-small { min-height: 40px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #D8B672; }
.btn-ghost-light { color: var(--bone); border-color: rgba(243, 238, 228, .6); }
.btn-ghost-light:hover { background: rgba(243, 238, 228, .12); border-color: var(--bone); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bone); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--bone);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s var(--ease); }
.site-header[data-state="solid"] {
  background: rgba(243, 238, 228, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header[data-state="solid"] .header-inner { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.brand-mark { width: 34px; height: 34px; color: var(--brass); }
.site-header[data-state="solid"] .brand-mark { color: var(--ink); }
.brand-word { width: 148px; height: 18px; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.primary-nav a:not(.btn) {
  font-weight: 500; font-size: .9375rem; text-decoration: none; padding-block: .4rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s var(--ease);
}
.primary-nav a:not(.btn):hover { background-size: 100% 1px; }
.menu-toggle { display: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--bone);
}
.mobile-menu::backdrop { background: transparent; }
.mobile-menu-inner { display: flex; flex-direction: column; min-height: 100%; padding: 1.25rem var(--gutter) 2rem; }
.menu-close { align-self: flex-end; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: inherit; cursor: pointer; }
.menu-close svg { width: 26px; height: 26px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 2rem; }
.mobile-menu nav a {
  font-family: var(--serif); font-weight: 500; font-size: 2.25rem; line-height: 1.2; text-decoration: none;
  padding-block: .55rem; border-bottom: 1px solid var(--rule-dark);
}
.mobile-menu nav a:last-child { color: var(--brass); border-bottom: 0; }
.mobile-menu-contact { margin-top: auto; color: var(--mist); line-height: 1.9; }
.mobile-menu-contact a { text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh); display: flex; align-items: flex-end;
  color: var(--bone); background: var(--ink);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(21, 23, 26, .82) 0%, rgba(21, 23, 26, .35) 45%, rgba(21, 23, 26, .15) 70%, rgba(21, 23, 26, .45) 100%);
}
.hero-content { padding-bottom: clamp(4rem, 10vh, 7rem); position: relative; }
.hero h1 { font-size: var(--step-4); max-width: 12ch; }
.hero-lede { margin-top: 1.25rem; max-width: 44ch; font-size: var(--step-1); color: rgba(243, 238, 228, .95); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* The signature moment: viewfinder brackets close in and lock on the frame */
.viewfinder { position: absolute; inset: clamp(88px, 12vh, 120px) clamp(1rem, 4vw, 3rem) clamp(1.25rem, 3vh, 2rem); pointer-events: none; }
.vf { position: absolute; width: clamp(36px, 5vw, 64px); height: clamp(36px, 5vw, 64px); border: 0 solid var(--brass); }
.vf-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 14px; }
.vf-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 14px; }
.vf-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 14px; }
.vf-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 14px; }

/* Brackets are visible by default; the animation only plays the "lock on" from outside in.
   If a browser skips the animation, the corners still show. */
.vf { --from: translate(0, 0); }
.vf-tl { --from: translate(-40px, -40px); }
.vf-tr { --from: translate(40px, -40px); }
.vf-bl { --from: translate(-40px, 40px); }
.vf-br { --from: translate(40px, 40px); }
.hero .vf { animation: vf-lock .9s var(--ease) .1s backwards; }
.js .hero .hero-content > * { opacity: 0; transform: translateY(14px); }
.hero.is-ready .hero-content > * { animation: rise .8s var(--ease) forwards; }
.hero.is-ready .hero-content > :nth-child(1) { animation-delay: .75s; }
.hero.is-ready .hero-content > :nth-child(2) { animation-delay: .9s; }
.hero.is-ready .hero-content > :nth-child(3) { animation-delay: 1.05s; }
@keyframes vf-lock { from { opacity: 0; transform: var(--from); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Credentials ---------- */
.credentials { border-bottom: 1px solid var(--rule); }
.cred-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cred-list li { padding: 1.75rem 1.5rem 1.75rem 0; display: grid; gap: .25rem; }
.cred-list li + li { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.cred-list strong { font-weight: 600; font-size: 1rem; }
.cred-list span { color: var(--stone); font-size: var(--step--1); line-height: 1.45; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.services-intro { position: sticky; top: 104px; }
.services-intro .lede { margin-top: 1rem; }
.services-figure { margin-top: 2.25rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.services-figure img { width: 100%; height: 100%; object-fit: cover; }
.service-list li { padding-block: 2rem; border-top: 1px solid var(--rule); }
.service-list li:last-child { border-bottom: 1px solid var(--rule); }
.service-list h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); letter-spacing: -.005em; }
.service-list p { margin-top: .6rem; color: var(--stone); max-width: 52ch; }

/* ---------- Packages ---------- */
.packages { background: var(--paper); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head .lede { max-width: 44ch; font-size: var(--step-0); }
.size-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 1.75rem; }
.size-picker .filters { flex-wrap: wrap; overflow: visible; }
.size-label { font-weight: 600; font-size: .9375rem; }
.price-quote { font-size: .55em; letter-spacing: 0; }
.addon-note { grid-column: 2; margin-top: .75rem; color: var(--stone); font-size: var(--step--1); }
.package-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; border-top: 1px solid var(--ink); }
.package { display: flex; flex-direction: column; padding: 2.25rem 1.5rem 2rem; }
.package + .package { border-left: 1px solid var(--rule); }
.package-featured {
  background: var(--ink); color: var(--bone); border-left: 0 !important;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 30px 60px -30px rgba(21, 23, 26, .55);
}
.package-featured + .package { border-left: 0; }
.package-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.package h3 { font-size: 1.125rem; }
.badge { font-size: .8125rem; font-weight: 600; color: var(--brass); border: 1px solid rgba(201, 164, 92, .55); border-radius: 999px; padding: .2rem .65rem; }
.price { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 2.3rem + 2.4vw, 4.25rem); line-height: 1; margin-top: 1.25rem; letter-spacing: -.02em; }
.price .currency { font-size: .45em; vertical-align: .9em; margin-right: .08em; }
.package-sum { margin-top: .5rem; color: var(--stone); }
.package-featured .package-sum { color: var(--mist); }
.ticks { margin-block: 1.75rem 2rem; display: grid; gap: .7rem; flex: 1; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: .6rem; align-items: start; line-height: 1.45; }
.ticks svg { width: 16px; height: 16px; margin-top: .2rem; color: var(--brass-deep); }
.package-featured .ticks svg { color: var(--brass); }
.package .btn { align-self: stretch; }

.addons { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1fr 2.4fr; gap: 1rem 3rem; align-items: start; }
.addons h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); }
.addon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.addon-list div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--rule); }
.addon-list dd { font-weight: 600; white-space: nowrap; }
.offer { grid-column: 2; margin-top: .75rem; color: var(--brass-deep); font-weight: 500; }

/* ---------- Process ---------- */
.process { padding-block: clamp(4rem, 8vw, 7rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2rem, 4vw, 3rem); counter-reset: none; }
.steps li { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.step-num { display: block; font-family: var(--serif); font-weight: 500; font-size: 3rem; line-height: 1; color: var(--brass-deep); margin-bottom: 1rem; }
.steps p { margin-top: .5rem; color: var(--stone); max-width: 34ch; }

/* ---------- Work / gallery ---------- */
.work { background: var(--ink); color: var(--bone); }
.work .filter { color: var(--bone); border-color: var(--rule-dark); }
.work .filter:hover { border-color: var(--mist); }
.work .filter[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.work .tile { background: var(--graphite); }
.work :focus-visible { outline-color: var(--brass); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  font: 500 .9375rem/1 var(--sans); color: var(--ink); background: transparent;
  border: 1px solid var(--rule); border-radius: 999px; padding: .65rem 1.1rem; min-height: 44px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery li { break-inside: avoid; margin-bottom: 1rem; }
.gallery li[hidden] { display: none; }
.tile {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--paper);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
}
.tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: .3rem .7rem; border-radius: 999px; background: rgba(21,23,26,.78); color: var(--brass); font: 600 .75rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; backdrop-filter: blur(4px); }
.tile img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.tile::before, .tile::after {
  content: ""; position: absolute; width: 28px; height: 28px; border: 0 solid var(--bone);
  opacity: 0; transition: opacity .25s, transform .35s var(--ease); z-index: 1;
}
.tile::before { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 8px; transform: translate(6px, 6px); }
.tile::after { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 8px; transform: translate(-6px, -6px); }
.tile:hover::before, .tile:hover::after, .tile:focus-visible::before, .tile:focus-visible::after { opacity: 1; transform: none; }
.tile:hover img { transform: scale(1.02); }

/* ---------- Prints ---------- */
.prints { background: var(--ink); color: var(--bone); }
.prints-banner { position: relative; isolation: isolate; min-height: clamp(520px, 82vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.prints-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.prints-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--ink) 0%, rgba(21, 23, 26, .55) 40%, rgba(21, 23, 26, .05) 75%); }
.prints-copy { padding-bottom: clamp(3rem, 7vw, 5rem); }
.prints-copy h2 { max-width: 16ch; font-size: var(--step-3); }
.prints-copy p { margin-top: 1.25rem; max-width: 46ch; color: rgba(243, 238, 228, .93); font-size: var(--step-1); line-height: 1.5; }
.prints-copy .btn { margin-top: 2rem; }
.print-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.print-row[hidden] { display: none; }
.prints:has(.print-row[hidden]) { padding-bottom: 0; }
.print-row a { display: grid; text-decoration: none; }
.print-row img {
  aspect-ratio: 4 / 5; width: 100%; object-fit: cover;
  border: 10px solid var(--bone); /* mat, like a framed print */
  border-radius: 2px; transition: transform .5s var(--ease);
}
.print-row a:hover img { transform: translateY(-4px); }
.print-title { margin-top: 1rem; font-family: var(--serif); font-weight: 500; font-size: var(--step-1); }
.print-place { color: var(--mist); font-size: var(--step--1); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.6; max-width: 46ch; }
.about-copy p + p { color: var(--stone); font-size: var(--step-0); }
.about-sign { width: 40px; height: 40px; margin-top: 2rem; color: var(--brass-deep); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--bone); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.contact .lede { color: var(--mist); margin-top: 1rem; }
.contact-list { margin-top: 2.5rem; display: grid; }
.contact-list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--rule-dark); }
.contact-list dt { color: var(--mist); font-size: var(--step--1); padding-top: .15rem; }
.contact-list a { text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }

.booking-form { background: var(--graphite); border-radius: calc(var(--radius) * 2); padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field label { font-size: .9375rem; font-weight: 500; }
.optional { color: var(--mist); font-weight: 450; }
.field input, .field select, .field textarea {
  width: 100%; font: 450 1rem/1.4 var(--sans); color: var(--bone);
  background: var(--ink); border: 1px solid var(--rule-dark); border-radius: var(--radius);
  padding: .8rem .9rem; min-height: 48px; transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A867E; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23B9B4AA' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px; padding-right: 2.5rem; }
.field input[type="date"] { color-scheme: dark; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201, 164, 92, .25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #E2836F; }
.form-status { min-height: 1.5em; font-size: .9375rem; color: var(--mist); }
.form-status.is-error { color: #F0A493; }
.form-status.is-success { color: var(--brass); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); border-top: 1px solid var(--rule-dark); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2.25rem; font-size: var(--step--1); }
.site-footer .brand { color: var(--bone); }
.site-footer .brand-mark { color: var(--brass); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: #0F1012; color: var(--bone);
  display: none; grid-template-columns: 64px 1fr 64px; align-items: center;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: transparent; }
.lb-figure { display: grid; justify-items: center; gap: .9rem; padding: 4rem .5rem 2rem; max-height: 100vh; }
.lb-img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; border-radius: 4px; object-fit: contain; }
.lb-caption { color: var(--mist); font-size: var(--step--1); text-align: center; }
.lb-nav, .lb-close {
  width: 48px; height: 48px; display: grid; place-items: center; justify-self: center;
  background: rgba(243, 238, 228, .08); border: 0; border-radius: 999px; color: inherit; cursor: pointer;
  transition: background-color .2s;
}
.lb-nav:hover, .lb-close:hover { background: rgba(243, 238, 228, .18); }
.lb-nav svg, .lb-close svg { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
.lightbox[open] .lb-img { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- 3D tour ---------- */
.tour-feature { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(3rem, 7vw, 5.5rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule-dark); }
.tour-cover { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--graphite); }
.tour-cover img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.tour-cover::after { content: ""; position: absolute; inset: 0; background: rgba(21,23,26,.25); transition: background-color .3s; }
.tour-cover:hover img { transform: scale(1.02); }
.tour-cover:hover::after { background: rgba(21,23,26,.1); }
.tour-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border-radius: 999px; background: rgba(243,238,228,.92); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.tour-play svg { width: 30px; height: 30px; margin-left: 4px; }
.tour-copy .eyebrow { color: var(--brass); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tour-copy h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); line-height: 1.05; margin-top: .6rem; }
.tour-copy p:not(.eyebrow) { color: var(--mist); margin-top: 1rem; max-width: 42ch; }
.tour-copy .btn { margin-top: 1.75rem; }
.tour-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: #0F1012; color: var(--bone); }
.tour-modal[open] { display: grid; grid-template-rows: auto 1fr; }
.tour-modal::backdrop { background: rgba(0,0,0,.6); }
.tour-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; }
.tour-ext { color: var(--mist); font-size: var(--step--1); text-underline-offset: 3px; }
.tour-close { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(243,238,228,.08); border: 0; border-radius: 999px; color: inherit; cursor: pointer; }
.tour-close:hover { background: rgba(243,238,228,.18); }
.tour-close svg { width: 22px; height: 22px; }
.tour-frame { min-height: 0; }
.tour-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-feature { grid-template-columns: 5fr 7fr; }
.video-frame { border-radius: var(--radius); overflow: hidden; background: var(--graphite); aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (max-width: 860px) { .tour-feature, .video-feature { grid-template-columns: 1fr; } .video-feature .video-frame { order: -1; } }

@media (min-width: 861px) {
  .hero-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(21, 23, 26, .55) 0%, rgba(21, 23, 26, .25) 38%, transparent 60%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) and (min-width: 981px) {
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 1rem; }
  .package, .package + .package, .package-featured + .package { border: 1px solid var(--rule); border-radius: var(--radius); }
  .package-featured { border-color: var(--ink); }
}

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .menu-icon, .menu-icon::before { display: block; width: 24px; height: 1.8px; background: currentColor; border-radius: 2px; position: relative; }
  .menu-icon::before { content: ""; position: absolute; top: 7px; width: 16px; }
  .menu-icon { transform: translateY(-3.5px); }

  .cred-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cred-list li:nth-child(n+3) { border-top: 1px solid var(--rule); }

  .services-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .services-figure { aspect-ratio: 16 / 9; }

  .package-grid { grid-template-columns: 1fr; border-top: 0; gap: 1rem; }
  .package { border: 1px solid var(--rule); border-radius: var(--radius); }
  .package + .package { border-left: 1px solid var(--rule); }
  .package-featured { border-color: var(--ink); border-radius: var(--radius); }
  .package-featured + .package { border-left: 1px solid var(--rule); }
  .addons { grid-template-columns: 1fr; }
  .offer, .addon-note { grid-column: 1; }

  .about-photo { max-width: 440px; }
}

@media (max-width: 640px) {
  .brand-word { width: 124px; height: 15px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero h1 { max-width: 11ch; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cred-list { grid-template-columns: 1fr; }
  .cred-list li, .cred-list li + li { padding: 1.1rem 0; border-left: 0; }
  .cred-list li + li { border-top: 1px solid var(--rule); }
  .addon-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .work-head { align-items: start; }
  .gallery { columns: 2 140px; column-gap: .6rem; }
  .gallery li { margin-bottom: .6rem; }
  .print-row { grid-template-columns: 1fr 1fr; }
  .print-row li:last-child { display: none; }
  .print-row img { border-width: 6px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 6.25rem 1fr; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 1.25rem; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-figure { padding: 4.5rem .75rem 6rem; }
  .lb-img { max-height: calc(100vh - 12rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .hero .hero-content > * { opacity: 1; transform: none; }
}
