/* =========================================================================
   ZEN DEN MARBLE — "Atelier Light" design system
   Daylight stone gallery: pale limestone, ink type, bronze hairlines.
   Type: Fraunces (display) · Manrope (body) · Space Mono (captions / specs)
   ========================================================================= */

:root {
  --bg:       #F4F1EA;   /* page background, warm limestone */
  --bg-soft:  #FAF8F2;   /* raised surface / bands */
  --card:     #FFFFFF;   /* cards / panels */
  --line:     #E6E2D7;   /* hairline */
  --line-2:   #D7D2C5;   /* stronger border */
  --bronze:   #9A7838;   /* primary accent — gold veining (deep, on light) */
  --bronze-2: #7E5F2A;   /* darker bronze for accent text */
  --jade:     #2E5A4D;   /* secondary accent — green marble */
  --ink:      #1E2421;   /* headings / near-black ink */
  --text:     #4D534B;   /* body */
  --text-dim: #847F73;   /* captions, meta */
  --shadow:   45,38,26;  /* warm shadow rgb */

  --f-disp: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------------------------------------------------- typography */
h1, h2, h3, h4 { font-family: var(--f-disp); font-weight: 340; color: var(--ink);
  line-height: 1.08; letter-spacing: -.012em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 330; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.32rem; letter-spacing: -.005em; }
em { font-style: italic; color: var(--jade); }
p { color: var(--text); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; color: #5A5F57; }
strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(22px, 5vw, 56px); }
.muted { color: var(--text-dim); }

.eyebrow { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--bronze); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow.rule::after { content: ""; width: 46px; height: 1px; background: var(--line-2); }
.eyebrow.center { justify-content: center; }

/* ---------------------------------------------------- buttons */
.btn { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 2px; cursor: pointer; border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-bronze { background: var(--bronze); color: #FBF8F0; border-color: var(--bronze); }
.btn-bronze:hover { background: var(--bronze-2); border-color: var(--bronze-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--bronze); color: var(--bronze-2); }
.btn-text { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--bronze-2); display: inline-flex; align-items: center; gap: 8px; }
.btn-text .ar { transition: transform .3s var(--ease); }
.btn-text:hover .ar { transform: translateX(4px); }

/* ---------------------------------------------------- marble plates (generated) */
[data-stone] { position: relative; overflow: hidden; background: #ECE8DF; isolation: isolate; }
[data-stone] > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.plate { border-radius: 3px; border: 1px solid var(--line-2);
  box-shadow: 0 34px 64px -42px rgba(var(--shadow),.32); }
.plate-cap { position: absolute; left: 0; bottom: 0; z-index: 2;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; color: #F4F1E9;
  background: rgba(28,33,29,.6); backdrop-filter: blur(3px); padding: 8px 12px; border-top-right-radius: 3px; }

/* ---------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(244,241,234,.84); backdrop-filter: blur(12px) saturate(120%);
  border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.nav > nav { display: contents; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.04; }
.brand-name { font-family: var(--f-disp); font-size: 1.22rem; color: var(--ink); }
.brand-name b { font-weight: 500; }
.brand-sub { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--bronze); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { font-size: .95rem; color: #464C44; transition: color .25s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--bronze-2); }
.nav-links .btn { padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 3px;
  width: 44px; height: 40px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; }

/* ---------------------------------------------------- hero (home) */
.hero { position: relative; min-height: 84vh; display: flex; align-items: center;
  overflow: hidden; margin-top: -77px; padding-top: 77px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(244,241,234,.95) 24%, rgba(244,241,234,.80) 50%, rgba(244,241,234,.42) 100%),
    linear-gradient(0deg, var(--bg) 2%, rgba(244,241,234,0) 38%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(56px, 9vw, 104px); }
.hero h1 { max-width: 13ch; margin-block: 22px 24px; }
.hero .lede { max-width: 44ch; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-dim); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .ln { width: 1px; height: 34px; background: linear-gradient(var(--bronze), transparent); }

/* ---------------------------------------------------- page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; margin-top: -77px; padding-top: 77px; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; opacity: .85; }
.page-hero-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(244,241,234,.78) 0%, rgba(244,241,234,.86) 55%, var(--bg) 100%); }
.page-hero-inner { position: relative; z-index: 2; padding-block: clamp(72px, 12vw, 150px) clamp(40px, 6vw, 70px); }
.crumb { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 22px; }
.crumb a:hover { color: var(--bronze); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { max-width: 52ch; margin-top: 22px; }

/* ---------------------------------------------------- section rhythm */
.section { padding-block: clamp(68px, 10vw, 134px); }
.section.tight { padding-block: clamp(48px, 7vw, 88px); }
.section-head { max-width: 64ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 18px; }
.divider { border: 0; height: 1px; background: var(--line); }

/* ---------------------------------------------------- intro statement */
.statement { font-family: var(--f-disp); font-weight: 330; font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.32; letter-spacing: -.01em; color: #2A302C; max-width: 24ch; }
.statement b { font-style: normal; font-weight: 500; color: var(--bronze); }
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.statement-grid .col p + p { margin-top: 1.1rem; }

/* ---------------------------------------------------- collection / gallery wall */
.grid { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.slab { display: flex; flex-direction: column; }
.slab .art { aspect-ratio: 4/5; border-radius: 3px; border: 1px solid var(--line-2);
  box-shadow: 0 26px 50px -38px rgba(var(--shadow),.34); transition: border-color .5s var(--ease), box-shadow .5s var(--ease); }
.slab:hover .art { border-color: rgba(154,120,56,.5); box-shadow: 0 32px 60px -36px rgba(var(--shadow),.42); }
.slab:hover .art > svg { transform: scale(1.05); }
.slab .art > svg { transition: transform 1.3s var(--ease); }
.slab .meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 15px; }
.slab .meta h3 { font-size: 1.16rem; }
.slab .ref { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; color: var(--text-dim); white-space: nowrap; }
.slab .sub { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim); margin-top: 5px; }
.slab .brandtag { color: var(--jade); }

/* ---------------------------------------------------- feature row */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature.flip .feature-media { order: -1; }
.feature-media { position: relative; aspect-ratio: 5/4; border-radius: 4px; border: 1px solid var(--line-2);
  box-shadow: 0 38px 70px -46px rgba(var(--shadow),.4); }
.feature-body h2 { margin-bottom: 22px; }
.feature-list { list-style: none; margin-top: 26px; display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.feature-list li { background: var(--card); padding: 15px 18px; display: flex; gap: 14px; align-items: baseline; font-size: .98rem; }
.feature-list .n { font-family: var(--f-mono); font-size: .7rem; color: var(--bronze); flex: none; }
.feature-list b { color: var(--ink); font-weight: 500; }

/* panel band (on raised surface) */
.band { background: var(--bg-soft); border-block: 1px solid var(--line); }

/* ---------------------------------------------------- process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line-2); }
.step .sn { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; color: var(--bronze); margin-bottom: 14px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: .98rem; }

/* ---------------------------------------------------- who-we-serve cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 1.8rem); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 30px 28px 32px;
  box-shadow: 0 18px 40px -34px rgba(var(--shadow),.3);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 26px 50px -32px rgba(var(--shadow),.4); }
.card .tag { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze); display: inline-block; margin-bottom: 16px; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 2px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .98rem; }

/* ---------------------------------------------------- assurance / stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.stat { background: var(--card); padding: 34px 26px; }
.stat .k { font-family: var(--f-disp); font-size: 1.7rem; color: var(--bronze); margin-bottom: 8px; }
.stat .l { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); line-height: 1.5; }

/* ---------------------------------------------------- brand chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: #575C53;
  border: 1px solid var(--line-2); border-radius: 2px; padding: 9px 15px; background: var(--card); }

/* ---------------------------------------------------- CTA panel */
.cta-panel { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--line-2);
  text-align: center; padding: clamp(48px, 8vw, 92px) clamp(24px, 6vw, 80px);
  box-shadow: 0 34px 70px -48px rgba(var(--shadow),.4); }
.cta-panel-bg { position: absolute; inset: 0; z-index: 0; opacity: .9; }
.cta-panel-scrim { position: absolute; inset: 0; z-index: 1; background: rgba(244,241,234,.82); }
.cta-panel > * { position: relative; z-index: 2; }
.cta-panel h2 { margin-bottom: 18px; }
.cta-panel p { max-width: 48ch; margin: 0 auto 32px; }
.cta-panel .hero-cta { justify-content: center; }

/* ---------------------------------------------------- forms */
.form-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 1rem; color: var(--ink); background: var(--card);
  border: 1px solid var(--line-2); border-radius: 3px; padding: 13px 14px; width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: #A39E91; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(154,120,56,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .86rem; color: var(--text-dim); margin-top: 16px; }

.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 32px 30px;
  box-shadow: 0 24px 50px -40px rgba(var(--shadow),.34); }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list .k { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.contact-list .v { color: var(--ink); font-size: 1.04rem; }
.contact-list a:hover { color: var(--bronze-2); }
.map { margin-top: 26px; border-radius: 5px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; filter: grayscale(.2) contrast(1.02); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); background: #EDE8DC; margin-top: clamp(40px, 6vw, 80px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(48px, 7vw, 76px); }
.footer-top .brand { margin-bottom: 18px; }
.footer-blurb { font-size: .96rem; color: var(--text-dim); max-width: 38ch; }
.footer-col h4 { font-family: var(--f-mono); font-weight: 400; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bronze); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a, .footer-col .v { color: #555A50; font-size: .96rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 26px; display: flex; flex-wrap: wrap;
  gap: 14px 28px; justify-content: space-between; align-items: center; }
.legal { font-size: .8rem; color: var(--text-dim); max-width: 70ch; }
.footer-meta { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; color: var(--text-dim); }

/* ---------------------------------------------------- reveals */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* hero entrance */
.hero-inner > * { opacity: 0; transform: translateY(20px); animation: rise .9s var(--ease) forwards; }
.hero-inner > *:nth-child(1) { animation-delay: .12s; }
.hero-inner > *:nth-child(2) { animation-delay: .22s; }
.hero-inner > *:nth-child(3) { animation-delay: .32s; }
.hero-inner > *:nth-child(4) { animation-delay: .42s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------- responsive */
@media (max-width: 940px) {
  .statement-grid, .feature, .form-wrap { grid-template-columns: 1fr; gap: 2.4rem; }
  .feature.flip .feature-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .steps, .cards3 { grid-template-columns: 1fr; gap: 1.4rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 77px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: rgba(244,241,234,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 16px clamp(22px,5vw,56px) 26px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; width: 100%; }
  .nav-links .btn { margin-top: 8px; }
  .nav-toggle { display: block; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 76vh; }
}
@media (max-width: 460px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-inner > * { opacity: 1; transform: none; }
}
