:root {
  --e-bg: #e3d9c7;
  --e-ring: #9a8a6e;
  --e-ink: #5b5145;
  --e-acc: #8b6458;
  --ink: #1c1712;
  --ink-soft: #4a4037;
  --paper: #f6f0e6;
  --paper-deep: #ece2d2;
  --gold: #a8853f;
  --gold-soft: #c9ad72;
  --vermilion: #8e2b1f;
  --line: rgba(28, 23, 18, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 5vw, 64px);
  background: rgba(246, 240, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
}
.brand span { color: var(--gold); }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { width: 30px; height: auto; }
footer .brand-mark { width: 44px; }
footer .brand { flex-direction: column; gap: 10px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.nav a {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--gold); }

/* Hero */
.hero {
  position: relative; min-height: 88vh;
  display: grid; place-items: center; text-align: center;
  color: #fbf6ec; overflow: hidden; background: #2a1f17;
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5;
}
.hero-inner { position: relative; padding: 0 16px; max-width: 820px; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold-soft);
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 8vw, 96px); line-height: 1.02; margin: 18px 0 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero h1, .hero p, .hero .eyebrow { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero p { font-size: 17px; max-width: 560px; margin: 0 auto 36px; opacity: 0.9; }

.btn {
  display: inline-block; padding: 15px 34px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--gold-soft); color: inherit;
  background: transparent; cursor: pointer; transition: background .3s, color .3s;
}
.btn:hover { background: var(--gold-soft); color: var(--ink); }
.btn.dark { border-color: var(--ink); }
.btn.dark:hover { background: var(--ink); color: var(--paper); }

/* Sections */
section { padding: clamp(64px, 10vw, 120px) clamp(16px, 5vw, 64px); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 12px 0 16px;
}
.section-head .eyebrow { color: var(--gold); }
.section-head p { color: var(--ink-soft); }
.rule { width: 56px; height: 1px; background: var(--gold); margin: 0 auto; }

/* Manifesto */
.manifesto { background: var(--paper-deep); text-align: center; }
.manifesto blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 3.4vw, 38px); line-height: 1.4;
  max-width: 900px; margin: 0 auto 24px;
}
.manifesto cite { font-style: normal; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

/* Collection grid */
.grid {
  display: grid; gap: clamp(20px, 3vw, 40px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  max-width: 1280px; margin: 0 auto;
}
.piece { margin: 0; }
.piece .frame {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-deep);
  border: 1px solid var(--line); padding: 10px;
}
.piece img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
}
.piece:hover img { transform: scale(1.04); }
.piece figcaption { padding-top: 16px; }
.piece .region { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.piece h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 4px 0 6px; }
.piece p { font-size: 14.5px; color: var(--ink-soft); }

/* Feature split */
.split {
  display: grid; gap: clamp(32px, 6vw, 88px); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  max-width: 1200px; margin: 0 auto;
}
.split .frame { border: 1px solid var(--line); padding: 12px; background: var(--paper-deep); }
.split .frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.split h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; margin: 12px 0 20px; }
.split p { color: var(--ink-soft); margin-bottom: 18px; }
.split .eyebrow { color: var(--gold); }

/* Pillars */
.pillars {
  display: grid; gap: 32px; max-width: 1100px; margin: 0 auto; text-align: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.pillars .num { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; }
.pillars h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 10px 0 8px; }
.pillars p { color: var(--ink-soft); font-size: 15px; }

/* Dark band */
.band { background: var(--ink); color: var(--paper); text-align: center; }
.band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 5vw, 56px); margin: 12px 0 28px; }
.band .eyebrow { color: var(--gold-soft); }

/* Contact */
.contact-wrap {
  display: grid; gap: clamp(40px, 6vw, 96px); max-width: 1160px; margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}
.contact-info h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin: 12px 0 20px; }
.contact-info .eyebrow { color: var(--gold); }
.contact-info p { color: var(--ink-soft); margin-bottom: 24px; }
.contact-info dl { border-top: 1px solid var(--line); }
.contact-info dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.contact-info dd { font-family: var(--serif); font-size: 22px; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { color: var(--vermilion); }

form { display: grid; gap: 22px; }
label { display: grid; gap: 6px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); }
input, select, textarea {
  font: inherit; font-size: 17px; letter-spacing: normal; text-transform: none; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid rgba(28, 23, 18, 0.35);
  padding: 10px 0; border-radius: 0; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 140px; resize: vertical; }
.hidden { display: none; }
.form-row { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* Page heading */
.page-head { text-align: center; padding-bottom: 0; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 80px); line-height: 1.05; margin: 12px 0 18px; }
.page-head .eyebrow { color: var(--gold); }
.page-head p { color: var(--ink-soft); max-width: 600px; margin: 0 auto; }

/* Footer */
footer {
  border-top: 1px solid var(--line); padding: 48px clamp(16px, 5vw, 64px) 32px;
  text-align: center; font-size: 13px; color: var(--ink-soft);
}
footer .brand { display: inline-block; margin-bottom: 12px; }
footer .credits { max-width: 900px; margin: 24px auto 0; font-size: 11.5px; line-height: 1.8; opacity: 0.8; }
footer .credits a { color: var(--ink-soft); }

/* Image fallback when a photo can't load */
img.missing { visibility: hidden; }

@media (max-width: 560px) {
  .site-header { flex-direction: column; gap: 10px; padding-top: 14px; padding-bottom: 12px; }
  .brand { font-size: 22px; }
  .nav a { font-size: 11px; letter-spacing: 0.18em; }
}

/* Collection tabs */
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(8px, 2vw, 20px);
  max-width: 1100px; margin: 0 auto clamp(36px, 5vw, 60px);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 16px 12px; min-width: 120px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-soft); background: none; border: none; border-bottom: 1px solid transparent; cursor: pointer;
  transition: color .3s, border-color .3s;
}
.tab .emblem { width: 58px; height: 58px; opacity: .75; transition: opacity .3s; }
.tab:hover .emblem, .tab[aria-selected="true"] .emblem { opacity: 1; }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--gold); }
.tab:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.emblem .e-bg { fill: var(--e-bg); }
.emblem .e-ring { fill: none; stroke: var(--e-ring); stroke-width: .8; }
.emblem .e-ink { fill: none; stroke: var(--e-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.emblem .acc { fill: var(--e-acc); stroke: none; }
.emblem .acc-line { stroke: var(--e-acc); }
.panel[hidden] { display: none; }
.piece.soon .frame { display: grid; place-content: center; justify-items: center; gap: 16px; background: var(--paper-deep); }
.piece.soon .emblem { width: 96px; height: 96px; }
.piece.soon .frame span { font-family: var(--serif); font-size: 22px; color: var(--ink-soft); }
.door { align-items: start; }
.door-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.door-photos .frame img { aspect-ratio: 3 / 4; }
.specs { border-top: 1px solid var(--line); margin: 8px 0 28px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.specs dd { font-family: var(--serif); font-size: 19px; text-align: right; }
@media (max-width: 560px) { .tab { min-width: 0; padding: 10px 8px; letter-spacing: .14em; } .tab .emblem { width: 46px; height: 46px; } }

.slot { max-width: 460px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 10px; padding: clamp(32px, 5vw, 56px) 16px; border: 1px solid var(--line); background: var(--paper-deep); }
.slot .emblem { width: 96px; height: 96px; margin-bottom: 8px; }
.slot .region { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.slot h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.slot p { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }

/* Our Story portrait */
.story-portrait { margin: 0; display: grid; gap: 12px; }
.story-portrait .frame { box-shadow: 0 24px 50px -32px rgba(28, 23, 18, .5); background: var(--paper); }
.story-portrait .frame img { aspect-ratio: 3 / 4; object-position: 50% 30%; }
.story-portrait figcaption { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-soft); text-align: right; }

/* Our Story on the Nandi painting */
.story-nandi { position: relative; overflow: hidden; background: #241c16; color: var(--paper); }
.story-nandi .story-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; filter: saturate(.78); }
.story-nandi::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(28, 21, 16, .2) 0%, rgba(28, 21, 16, .5) 42%, rgba(28, 21, 16, .86) 64%); }
@media (max-width: 760px) { .story-nandi::before { background: rgba(28, 21, 16, .8); } }
.story-nandi .split { position: relative; z-index: 2; }
.story-nandi .split h2 { color: var(--paper); }
.story-nandi .split p { color: rgba(246, 240, 230, .82); }
.story-nandi .eyebrow { color: var(--gold-soft); }
.story-nandi .story-portrait figcaption { color: rgba(246, 240, 230, .8); }
.story-nandi .story-portrait .frame { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.story-nandi .btn.dark { border-color: var(--gold-soft); color: var(--paper); }
.story-nandi .btn.dark:hover { background: var(--gold-soft); color: var(--ink); }

.frame.single img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.frame.white { background: var(--paper); }
.frame.white img { object-fit: contain; background: var(--paper); }
.door-photos .frame.white img { object-fit: contain; }

.sculpt-photos { grid-template-columns: 1fr; }
.sculpt-photos .frame img { aspect-ratio: auto; height: auto; }
.sculpt-photos .frame:last-child { width: 46%; justify-self: end; margin-top: -32%; position: relative; box-shadow: 0 20px 40px -24px rgba(28, 23, 18, .45); }
