/* hallmark · v2.0.0 · deal: custom · theme: warm gallery (by request: Rendium, more luxury) · genre: editorial · shape: Portfolio Index · hero: full-bleed Stage · signature: a real render, full bleed, at dusk · job: get a free pilot render */
/* critique: the work carries the page; serif heads, a thin sans, warm neutrals, hairlines and numbers; one bronze action; no invented numbers, no prices */
/* answered: reveal is opacity and transform only, skipped under reduced motion and visible without JS */

:root {
  --bg: #F4F0EA; --surface: #EBE5DC; --ink: #1E1A16; --muted: #6B6259; --accent: #8A5A3B;
  --line: rgba(30, 26, 22, .14); --on-accent: #F7F3EE; --shade: rgba(16, 13, 10, .62); --shade-0: rgba(16, 13, 10, 0);
  --on-img: #F7F3EE; --focus: #8A5A3B;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --max: 1320px; --gut: clamp(16px, 4vw, 48px); --gap: clamp(16px, 2vw, 28px);
  --s1: clamp(72px, 10vw, 152px); --r: 2px; --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #141210; --surface: #1C1916; --ink: #EDE6DC; --muted: #A39A8F; --accent: #C4936B;
    --line: rgba(237, 230, 220, .14); --on-accent: #141210; --focus: #C4936B;
  }
}
:root[data-theme=dark] {
  --bg: #141210; --surface: #1C1916; --ink: #EDE6DC; --muted: #A39A8F; --accent: #C4936B;
  --line: rgba(237, 230, 220, .14); --on-accent: #141210; --focus: #C4936B;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; margin: 0; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.2vw, 108px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1.5px solid var(--focus); outline-offset: 3px; transition: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus-visible { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 880px; }
.small { font-size: 14px; color: var(--muted); }
.small a { text-decoration: underline; text-underline-offset: 3px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.brand__name { font-family: var(--serif); font-size: 26px; }
.brand__tag { font-size: 13px; color: var(--muted); }
.menu { display: flex; gap: 32px; font-size: 15px; }
.menu a { position: relative; padding: 6px 0; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.menu a:not(.btn):hover::after { transform: scaleX(1); }
.m-only { display: none; }
.nav__act { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 14px; padding: 6px 2px; border-bottom: 1px solid var(--line); }
.lang:hover { border-color: var(--ink); }
.theme, .burger { appearance: none; background: none; border: 0; color: var(--ink); width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; transition: background-color .3s var(--ease); }
.theme:hover, .burger:hover { background: var(--surface); }
.burger { display: none; }
.burger__l, .burger__l::before { display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.burger__l::before { content: ""; position: absolute; top: 7px; }
.burger__l { transform: translateY(-3.5px); }
.nav.is-open .burger__l { transform: translateY(0) rotate(45deg); }
.nav.is-open .burger__l::before { transform: translateY(-7px) rotate(-90deg); }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--accent); color: var(--on-accent); font: 400 15px/1 var(--sans); border: 1px solid var(--accent); border-radius: var(--r); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn--nav { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--light { background: var(--on-img); border-color: var(--on-img); color: #1E1A16; }
.btn--light:hover { background: transparent; color: var(--on-img); border-color: var(--on-img); }
.btn--ghost-light { background: transparent; color: var(--on-img); border-color: rgba(247, 243, 238, .55); }
.btn--ghost-light:hover { background: var(--on-img); color: #1E1A16; border-color: var(--on-img); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.link { display: inline-block; border-bottom: 1px solid var(--accent); padding-bottom: 3px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.link:hover { color: var(--accent); }
.more { margin-top: clamp(32px, 4vw, 48px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* hero */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; color: var(--on-img); isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: settle 2.4s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--shade) 0%, var(--shade-0) 62%); }
.hero__in { padding-block: clamp(48px, 8vw, 104px); }
.hero h1 { max-width: 13ch; }
.hero .lead { color: var(--on-img); opacity: .9; max-width: 34ch; margin-top: 20px; font-size: clamp(18px, 1.6vw, 21px); }
@keyframes settle { from { transform: scale(1.06); opacity: .6; } to { transform: scale(1); opacity: 1; } }
.hero--s { padding-block: clamp(40px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.hero--s h1 { max-width: 16ch; }
.hero--s .lead { margin-top: 20px; }
.crumbs { padding-top: 24px; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a:hover { color: var(--ink); }

/* sections */
.sec { padding-block: var(--s1); }
.sec--alt { background: var(--surface); }
.sec--top { padding-top: clamp(40px, 6vw, 80px); }
.head { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 24px; row-gap: 16px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 960px; }
.head > :not(.num) { grid-column: 2; }
.head:not(:has(.num)) { grid-template-columns: minmax(0, 1fr); }
.head:not(:has(.num)) > * { grid-column: 1; }
.num { font: 400 14px/1 var(--sans); color: var(--accent); font-variant-numeric: tabular-nums; padding-top: .9em; border-top: 1px solid var(--line); align-self: start; }
.head > .num { padding-top: 14px; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 52ch; }
.head--sub { font-size: clamp(26px, 2.6vw, 36px); margin: clamp(56px, 7vw, 96px) 0 28px; max-width: 30ch; }

/* numbered rows */
.rows { border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 26px 0; transition: padding .4s var(--ease), color .3s var(--ease); }
.rows .num { border: 0; padding: 0; }
.rows__t { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; transition: transform .4s var(--ease); }
.rows__d { color: var(--muted); }
.rows a:hover .rows__t { transform: translateX(10px); color: var(--accent); }

/* images */
.ph, .proj { margin: 0; overflow: hidden; background: var(--surface); position: relative; }
.ph img, .ph video, .proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ph figcaption, .proj figcaption { font-size: 14px; color: var(--muted); padding-top: 12px; background: var(--bg); }
.sec--alt .ph figcaption, .sec--alt .proj figcaption { background: var(--surface); }
.ph:hover img, .proj:hover img, .mk:hover img { transform: scale(1.03); }
.ph--hero { aspect-ratio: 21 / 9; margin-bottom: clamp(48px, 6vw, 96px); }
.ph--wide { aspect-ratio: 16 / 9; }
.gal { display: grid; gap: var(--gap); }
.gal--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--gap); }
.gal--work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal--work .ph:nth-child(3n+1) { grid-column: 1 / -1; }
.gal .ph img { aspect-ratio: 4 / 3; }
.gal--work .ph:nth-child(3n+1) img, .gal--3 .ph img { aspect-ratio: 16 / 10; }
.ph--video video { aspect-ratio: 4 / 3; }

/* feature */
.feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.feature > .ph img { aspect-ratio: 4 / 3; }
.feature__side { display: grid; gap: 20px; padding-bottom: 8px; border-top: 1px solid var(--line); padding-top: 24px; }
.feature__k { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }
.feature__side p:not(.feature__k) { color: var(--muted); }
.feature__side .link { justify-self: start; }
.projs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.proj img { aspect-ratio: 3 / 4; }

/* markets */
.mks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.mk { display: grid; gap: 14px; align-content: start; }
.mk .ph img { aspect-ratio: 4 / 5; }
.mk__t { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1; margin-top: 10px; transition: color .3s var(--ease); }
.mk__d { color: var(--muted); font-size: 16px; }
.mk:hover .mk__t { color: var(--accent); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.steps li { display: grid; gap: 14px; align-content: start; }
.steps .num { padding-top: 18px; }
.steps p { color: var(--muted); }
.ticks { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 40px; }
.ticks li { border-bottom: 1px solid var(--line); }
.ticks a, .ticks li:not(:has(a)) { display: block; padding: 14px 0; }
.ticks a:hover { color: var(--accent); }

/* band */
.band { position: relative; min-height: min(80vh, 760px); display: flex; align-items: center; color: var(--on-img); isolation: isolate; text-align: center; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 13, 10, .42); }
.band__in { display: grid; justify-items: center; gap: 28px; padding-block: var(--s1); }
.band h2 { max-width: 16ch; }
.band .lead { color: var(--on-img); opacity: .9; }

/* split + facts + faq */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--form .ph { margin-top: 40px; }
.split--form .ph img { aspect-ratio: 4 / 3; }
.facts { margin: 0 0 56px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.facts dd { margin: 0; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 62ch; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 48px 0 16px; }
.prose p, .prose ul { margin-bottom: 16px; color: var(--muted); }
.prose ul { list-style: disc; padding-left: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* locations */
.locs__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); }
.locs__g h2 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 18px; }
.locs { border-top: 1px solid var(--line); }
.loc { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: color .3s var(--ease); }
.loc:hover { color: var(--accent); }
.loc__c { color: var(--muted); font-size: 14px; }

/* form */
.form { display: grid; gap: 22px; background: var(--surface); padding: clamp(24px, 4vw, 48px); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 300 17px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; appearance: none; transition: border-color .3s var(--ease); }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg); color: var(--ink); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field input:user-invalid { border-color: #B4533A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; margin-top: 8px; }
.form-msg { min-height: 1.4em; font-size: 15px; }
.form-msg.is-err { color: #B4533A; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: var(--s1) 40px; }
.foot__mark { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.foot__line { font-family: var(--serif); font-size: clamp(36px, 5vw, 72px); line-height: 1.02; max-width: 14ch; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding-block: 56px; }
.fcol h2 { font: 400 14px/1.4 var(--sans); color: var(--muted); margin-bottom: 16px; letter-spacing: 0; }
.fcol ul { display: grid; gap: 8px; font-size: 15px; }
.fcol--wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.fcol a:hover { color: var(--accent); }
.foot__small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }
.foot__small a:hover { color: var(--ink); }

/* reveal: only added by JS to items below the fold */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .menu { gap: 22px; }
  .projs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcol--wide { grid-column: 1 / -1; }
  .fcol--wide ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .burger { display: grid; }
  .btn--nav { display: none; }
  .menu { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gut) 28px; background: var(--bg); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
  .nav.is-open .menu { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .menu li { border-bottom: 1px solid var(--line); }
  .menu a { display: block; padding: 18px 0; font-family: var(--serif); font-size: 30px; }
  .menu a:not(.btn)::after { display: none; }
  .m-only { display: block; border: 0 !important; padding-top: 20px; }
  .menu .m-only .btn { display: flex; width: 100%; font: 400 15px/1 var(--sans); padding: 0 28px; }
  .feature, .split, .steps, .mks, .locs__g { grid-template-columns: minmax(0, 1fr); }
  .gal--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal--3 .ph:first-child { grid-column: 1 / -1; }
  .rows a { grid-template-columns: 44px minmax(0, 1fr); }
  .rows__d { grid-column: 2; }
  .head { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .mk .ph img { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__in { height: 64px; gap: 8px; }
  .menu { inset: 64px 0 auto 0; }
  .brand__name { font-size: 22px; }
  .brand__tag { font-size: 12px; }
  .hero { min-height: 86vh; }
  .actions .btn { flex: 1 1 100%; }
  .gal--2, .gal--3, .gal--work { grid-template-columns: minmax(0, 1fr); }
  .gal--work .ph:nth-child(3n+1) { grid-column: auto; }
  .ph--hero { aspect-ratio: 4 / 3; }
  .projs { gap: 12px; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .fcol--wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head { grid-template-columns: minmax(0, 1fr); }
  .head > * { grid-column: 1 !important; }
  .head > .num { justify-self: start; min-width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
