/* KeyTurn Visuals — site styles. Tokens mirror brand.md §03–§06. */
:root {
  --ink: #141413;
  --ink-2: #1c1b19;
  --ink-3: #262522;
  --cream: #f2f0ed;
  --paper: #f7f5f1;
  --brass: #b8935a;
  --brass-hi: #cba872;
  --brass-deep: #7d5f2f;
  --taupe: #a9a59c;
  --muted: #5c5952;
  --line-dark: rgba(242, 240, 237, .12);
  --line-light: rgba(20, 20, 19, .12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brass-hi); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.4rem; }
h1 em, h2 em { font-style: italic; color: var(--brass); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--brass); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.eyebrow {
  font: 600 .75rem/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
}
.lede { font-size: 1.15rem; color: var(--taupe); max-width: 62ch; }
.fine { font-size: .875rem; color: var(--taupe); }
.center { text-align: center; }
.prose p { color: var(--taupe); }
.prose h2, .prose h3 { color: var(--cream); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s, border-color .2s;
}
.btn-lg { padding: 17px 30px; font-size: .85rem; }
.btn-sm { padding: 10px 16px; font-size: .72rem; }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-hi); color: var(--ink); }
.btn-ghost { border-color: rgba(242, 240, 237, .55); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-line { border-color: var(--brass); color: var(--brass-hi); }
.btn-line:hover { background: var(--brass); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 20, 19, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.home .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(20,20,19,.7), rgba(20,20,19,0)); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s; }
.home .site-header.scrolled { background: rgba(20, 20, 19, .9); border-color: var(--line-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--cream); text-decoration: none; font-size: .9rem; letter-spacing: .04em; opacity: .85; }
.nav a:not(.btn):hover, .nav a[aria-current] { opacity: 1; color: var(--brass-hi); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--cream); margin: 6px 0; transition: transform .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 860px) {
  .bar { padding: 12px 16px; }
  .brand img { height: 46px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 71px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .nav .nav-order { margin-top: 16px; padding: 15px; }
}

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink) center/cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,19,.35) 0%, rgba(20,20,19,.25) 40%, rgba(20,20,19,.92) 100%), linear-gradient(90deg, rgba(20,20,19,.6), rgba(20,20,19,0) 70%); }
.hero-inner { position: relative; padding-top: 140px; padding-bottom: 72px; }
.hero h1 { max-width: 12ch; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: #e4e1db; }
.hero-caption { margin: 40px 0 0; font-size: .8rem; color: var(--taupe); letter-spacing: .02em; }
.hero-caption::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--brass); vertical-align: middle; margin-right: 10px; }

/* strip */
.strip { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--ink-2); }
.strip-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-list li { padding: 22px 16px; text-align: center; color: var(--taupe); font-size: .92rem; border-left: 1px solid var(--line-dark); }
.strip-list li:first-child { border-left: 0; }
.strip-list strong { display: block; color: var(--cream); font: 500 1.3rem/1.3 var(--serif); }
@media (max-width: 760px) {
  .strip-list { grid-template-columns: 1fr 1fr; }
  .strip-list li:nth-child(3) { border-left: 0; }
  .strip-list li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding-top: 24px; }
.section-head { margin-bottom: 48px; max-width: 680px; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.paper { background: var(--cream); color: var(--ink); }
.paper + .paper { border-top: 1px solid var(--line-light); }
.paper .eyebrow { color: var(--brass-deep); }
.paper .lede, .paper .prose p, .paper .fine, .paper .meta { color: var(--muted); }
.paper .prose h2, .paper .prose h3 { color: var(--ink); }
.paper a:not(.btn) { color: var(--brass-deep); }
.paper a:not(.btn):hover { color: var(--ink); }
.paper h1 em, .paper h2 em { color: var(--brass-deep); }
.paper .btn-line { color: var(--brass-deep); border-color: var(--brass-deep); }
.paper .btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.page-hero { padding: clamp(72px, 11vw, 140px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); background: radial-gradient(ellipse at 80% 0%, rgba(184,147,90,.12), transparent 60%); }
.page-hero.has-photo { background-size: cover; background-position: center 40%; padding-top: clamp(110px, 16vw, 200px); padding-bottom: clamp(64px, 9vw, 120px); }
.page-hero.has-photo .lede { color: #e6e2db; }
.page-hero.compact { padding-bottom: 32px; border-bottom: 0; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* lists */
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line-dark); }
.paper .checks li { border-color: var(--line-light); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg); }
.paper .checks li::before { border-color: var(--brass-deep); }

/* pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; display: flex; flex-direction: column; padding: 40px 36px; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); color: var(--ink); }
.price-card.is-featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.price-card.is-featured .eyebrow { color: var(--brass); }
.price-card.is-featured .meta, .price-card.is-featured .fine { color: var(--taupe); }
.price-card.is-featured .checks li { border-color: var(--line-dark); }
.price-card.is-featured .checks li::before { border-color: var(--brass); }
.price-card h3 { font-size: 1.75rem; margin-bottom: 8px; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 24px; }
.amount { font: 500 3.4rem/1 var(--serif); }
.per { font-size: .9rem; color: var(--muted); }
.is-featured .per { color: var(--taupe); }
.meta { font-size: .92rem; margin-bottom: .6em; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card .fine { margin-bottom: 24px; }
.badge { position: absolute; top: -12px; right: 28px; background: var(--brass); color: var(--ink); font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; border-radius: 2px; }
@media (max-width: 600px) { .price-card { padding: 32px 22px; } .amount { font-size: 2.8rem; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.steps li { padding: 32px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.step-n { display: block; font: 500 italic 2.2rem/1 var(--serif); color: var(--brass); margin-bottom: 18px; }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--taupe); font-size: .95rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 4px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .steps li:first-child { border-top: 0; }
}

/* tours */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tour-grid.one { grid-template-columns: 1fr; }
@media (max-width: 960px) { .tour-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tour-grid { grid-template-columns: 1fr; } }
.tour-card { margin: 0; }
.tour-play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink-3); cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.tour-play img, .tour-play video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tour-play:hover img { transform: scale(1.03); }
.play-icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(20,20,19,.55); border: 1px solid rgba(242,240,237,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background .2s; }
.play-icon::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid var(--cream); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.tour-play:hover .play-icon { background: var(--brass); border-color: var(--brass); }
.tour-card figcaption { padding: 16px 2px 0; }
.tour-card h2, .tour-card h3 { font-size: 1.2rem; margin: 0 0 4px; }
.tour-card figcaption p { font-size: .85rem; color: var(--taupe); margin: 0; }
.paper .tour-card figcaption p { color: var(--muted); }

a.tour-play { text-decoration: none; }

/* home cards: a card when closed, the full row when open */
.tour-grid { align-items: start; }
.home-card { min-width: 0; scroll-margin-top: 104px; }
.home-card summary { list-style: none; cursor: pointer; display: block; }
.home-card summary::-webkit-details-marker { display: none; }
.home-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.home-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.home-card summary:hover .home-thumb img { transform: scale(1.03); }
.home-badge { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: var(--radius); background: rgba(20,20,19,.72); color: var(--cream); font: 500 .75rem/1 var(--sans); letter-spacing: .04em; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.home-cap { position: relative; display: block; padding: 16px 40px 0 2px; }
.home-cap h2, .home-cap h3 { font-size: 1.2rem; margin: 0 0 4px; }
.home-meta { display: block; font-size: .85rem; color: var(--taupe); }
.paper .home-meta { color: var(--muted); }
.home-cap::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 300 1.6rem/1 var(--sans); color: var(--brass); transition: transform .2s var(--ease); }
.home-card summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: var(--radius); }

.home-card[open] { grid-column: 1 / -1; padding: 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); }
.home-card[open] summary { display: flex; align-items: center; gap: 18px; }
.home-card[open] .home-thumb { flex: 0 0 120px; }
.home-card[open] .home-badge { display: none; }
.home-card[open] .home-cap { flex: 1; padding-top: 0; }
.home-card[open] .home-cap::after { transform: rotate(45deg); top: 4px; }
.home-panel { padding-top: 24px; }
.home-tour { max-width: 960px; margin: 0 auto 28px; }
.home-tour .fine { margin: 10px 0 0; text-align: center; }
@media (max-width: 600px) {
  .home-card[open] { padding: 14px; }
  .home-card[open] .home-thumb { flex-basis: 84px; }
}

/* photo grids (portfolio panels and the photography page) */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.photo-grid + .fine { margin-top: 20px; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* popup for the tour and for enlarged photos */
.lightbox { border: 0; padding: 0; margin: auto; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; color: var(--cream); }
.lightbox::backdrop { background: rgba(12,12,11,.9); }
.lightbox-stage { display: flex; align-items: center; justify-content: center; }
.lightbox-stage video, .lightbox-stage img { display: block; max-width: min(1280px, 94vw); max-height: 84vh; width: auto; height: auto; border-radius: var(--radius); background: #141413; }
.lightbox-stage video { width: min(1280px, 94vw); aspect-ratio: 16 / 9; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 2px 0; font-size: .85rem; color: var(--taupe); }
.lightbox button { font: inherit; color: var(--cream); background: rgba(20,20,19,.6); border: 1px solid rgba(242,240,237,.45); border-radius: var(--radius); padding: 8px 14px; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--brass); border-color: var(--brass); color: var(--ink); outline: 0; }
.lightbox-nav { display: flex; gap: 8px; }
.lightbox-nav[hidden] { display: none; }
body.lightbox-open { overflow: hidden; }

/* disclosure note */
.note { border: 1px solid var(--line-dark); border-left: 2px solid var(--brass); background: var(--ink-2); padding: 28px 30px; margin-bottom: 48px; border-radius: var(--radius); }
.note p:not(.eyebrow) { color: #dcd8d1; }
.note p:last-child { margin-bottom: 0; }

/* faq */
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 500 1.2rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 1.6rem/1 var(--sans); color: var(--brass-deep); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 12px 0; max-width: 70ch; }

/* cta band */
.cta-band { background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 8px; }
.cta-inner p { color: var(--taupe); margin: 0; max-width: 56ch; }

/* order form */
.order-form { display: grid; gap: 20px; }
.order-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.order-form legend { font: 600 .75rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.order-form label { display: grid; gap: 8px; font-size: .9rem; color: var(--cream); }
.opt { color: var(--taupe); font-size: .8rem; }
.order-form input:not([type=radio]):not([type=checkbox]), .order-form textarea {
  width: 100%; padding: 14px 16px; background: var(--ink-2); color: var(--cream);
  border: 1px solid rgba(242,240,237,.22); border-radius: var(--radius); font: 400 1rem/1.4 var(--sans);
}
.order-form input::placeholder, .order-form textarea::placeholder { color: #7d7a73; }
.order-form input:focus, .order-form textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(184,147,90,.25); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.choice { grid-template-columns: auto 1fr; align-items: start; gap: 14px !important; padding: 18px 20px; border: 1px solid rgba(242,240,237,.22); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; }
.choice:has(input:checked) { border-color: var(--brass); background: rgba(184,147,90,.08); }
.choice small { display: block; color: var(--taupe); font-size: .85rem; margin-top: 4px; }
.choice input, .check input { accent-color: var(--brass); width: 18px; height: 18px; margin-top: 3px; }
.check { grid-template-columns: auto 1fr; align-items: start; gap: 12px !important; }
.order-form [data-for] { display: grid; gap: 20px; }
.order-form [data-for][hidden] { display: none; }
.order-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { border: 1px solid #c7724f; background: rgba(199,114,79,.12); color: #f0c9b8; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; }

/* footer */
.site-footer { border-top: 1px solid var(--line-dark); padding: 72px 0 32px; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 120px; width: auto; }
.site-footer h2.eyebrow { font-size: .72rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; color: var(--taupe); font-size: .92rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--brass-hi); }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-base p { margin: 0; font-size: .8rem; color: var(--taupe); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
