/* ============================================================
   Treasure House Inc. — shared stylesheet
   Heritage-luxury editorial aesthetic
   ============================================================ */

:root {
  --ink:        #1c1a17;
  --ink-soft:   #36322c;
  --paper:      #f7f4ee;
  --paper-2:    #efe9df;
  --paper-3:    #e7dfd1;
  --muted:      #6b645a;
  --muted-2:    #8b8479;
  --line:       #e0d8ca;
  --line-2:     #d2c8b6;
  --gold:       #b08d4f;
  --gold-deep:  #927235;
  --gold-soft:  #c9a96a;
  --white:      #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --radius: 2px;
  --shadow: 0 18px 50px -28px rgba(28,26,23,.45);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .2px;
  margin: 0;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}

.serif-em { font-style: italic; color: var(--gold-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .35s var(--ease);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

/* ============================================================
   Utility bar
   ============================================================ */
.utility-bar {
  background: var(--ink);
  color: #cfc6b5;
  font-size: 12px;
  letter-spacing: .08em;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.utility-inner span { opacity: .85; }
.utility-actions { display: flex; gap: 22px; }
.utility-actions a { color: #cfc6b5; transition: color .3s; }
.utility-actions a:hover { color: var(--gold-soft); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,244,238,.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px -20px rgba(28,26,23,.5); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  border-radius: 50%;
}
.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand-name small {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 4px;
}

/* ---------- logo image brand ---------- */
.brand-logo { height: 60px; width: auto; display: block; }
.footer-brand .brand-logo { height: 52px; }
@media (max-width: 720px) { .brand-logo { height: 42px; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 6px; line-height: 0;
  transition: color .3s;
}
.icon-btn:hover { color: var(--gold-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink);
  transition: .3s;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(176,141,79,.16), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  padding: 92px 0 96px;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  letter-spacing: -.5px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex;
  gap: 38px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-meta .num {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.hero-meta .lbl {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 8px;
}

/* hero artwork (SVG/gradient placeholder framed) */
.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--line-2);
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-art .frame {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.hero-art .tag {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(28,26,23,.86);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 16px;
  z-index: 2;
}

/* ---------- decorative SVG art tiles ---------- */
.art-tile { width: 100%; height: 100%; display: block; }

/* ---------- real photography fills its frame ---------- */
.hero-art .frame img,
.cat-card .media img,
.product .media img,
.split .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-art .frame { background: var(--paper-3); }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.section-pad { padding: 88px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 46px);
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 20px;
}
.section-head-row h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  transition: gap .3s;
}
.section-link:hover { color: var(--ink); }

.alt { background: var(--paper-2); }
.dark {
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(176,141,79,.18), transparent 55%),
    var(--ink);
  color: var(--paper);
}
.dark .eyebrow { color: var(--gold-soft); }
.dark .section-head p { color: #c4bcae; }

/* ============================================================
   Categories
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card .media { aspect-ratio: 3/4; overflow: hidden; }
.cat-card .media svg { transition: transform .8s var(--ease); }
.cat-card:hover .media svg { transform: scale(1.06); }
.cat-card .body {
  padding: 20px 22px 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.cat-card h3 { font-size: 23px; }
.cat-card .count { font-size: 12px; color: var(--muted-2); letter-spacing: .1em; }

/* ============================================================
   Highlights / product cards
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product {
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product .media {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.product .media svg { transition: transform .8s var(--ease); }
.product:hover .media svg { transform: scale(1.05); }
.product .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--white);
  border: 1px solid var(--line-2);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 11px;
  color: var(--gold-deep);
}
.product .body { padding: 20px 22px 24px; }
.product .body .kicker {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 8px;
}
.product h3 { font-size: 22px; margin-bottom: 10px; }
.product .price {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 16px; padding-top: 14px;
}
.product .price .amt { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.product .price .more { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }

/* ============================================================
   Split / story strip
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split .media { min-height: 460px; position: relative; overflow: hidden; }
.split .copy {
  padding: 72px clamp(28px, 6vw, 84px);
  display: flex; flex-direction: column; justify-content: center;
}
.split .copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 20px; }
.split .copy p { color: var(--muted); font-size: 17px; }
.dark .split .copy p { color: #c4bcae; }

/* ============================================================
   Services
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc {
  background: var(--paper);
  padding: 40px 32px;
  transition: background .4s;
}
.svc:hover { background: var(--white); }
.svc .ic { color: var(--gold-deep); margin-bottom: 20px; }
.svc h3 { font-size: 22px; margin-bottom: 12px; }
.svc p { color: var(--muted); font-size: 15px; margin: 0; }

/* ============================================================
   Quote / press
   ============================================================ */
.quote-wrap { text-align: center; max-width: 880px; margin: 0 auto; }
.quote-wrap blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.28;
  font-style: italic;
  margin: 0 0 28px;
}
.quote-wrap cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ============================================================
   CTA / newsletter
   ============================================================ */
.cta-band {
  text-align: center;
  padding: 92px 0;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(176,141,79,.14), transparent 60%),
    var(--paper-2);
}
.cta-band h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 18px; }
.cta-band p { color: var(--muted); font-size: 18px; max-width: 36em; margin: 0 auto 32px; }
.subscribe {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.subscribe input {
  flex: 1;
  border: 1px solid var(--line-2);
  background: var(--white);
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 15px;
  border-radius: var(--radius);
}
.subscribe input:focus { outline: none; border-color: var(--gold); }

/* ============================================================
   Forms (contact)
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.field input, .field select, .field textarea {
  border: 1px solid var(--line-2);
  background: var(--white);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}

/* ============================================================
   Info cards (contact)
   ============================================================ */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex; gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: none; }
.info-list .ic { color: var(--gold-deep); flex: 0 0 auto; margin-top: 2px; }
.info-list .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.info-list .v { font-size: 16px; color: var(--ink); }

/* ============================================================
   About — timeline & values
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.value {
  border-top: 2px solid var(--gold);
  padding-top: 22px;
}
.value h3 { font-size: 24px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 15px; margin: 0; }

.timeline { max-width: 760px; margin: 0 auto; }
.tl-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: none; }
.tl-year { font-family: var(--serif); font-size: 30px; color: var(--gold-deep); font-weight: 600; }
.tl-body h3 { font-size: 21px; margin-bottom: 8px; }
.tl-body p { color: var(--muted); margin: 0; }

/* page hero (interior pages) */
.page-hero {
  background:
    radial-gradient(800px 360px at 80% -20%, rgba(176,141,79,.16), transparent 60%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 76px 0 64px;
}
.page-hero h1 { font-size: clamp(40px, 5.5vw, 68px); }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 38em; margin-top: 16px; }
.crumbs { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-deep); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #bdb4a4;
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-mark { border-color: var(--gold-soft); color: var(--gold-soft); }
.footer-brand p { margin-top: 20px; max-width: 30em; font-size: 14.5px; color: #a59c8c; }
.foot-social { display: flex; gap: 14px; margin-top: 24px; }
.foot-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16); color: #cfc6b5;
  transition: .3s; border-radius: 50%;
}
.foot-social a:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14.5px; color: #a59c8c; transition: color .3s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; font-size: 12.5px; color: #877f70;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a:hover { color: var(--gold-soft); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 72px; }
  .hero-art { max-width: 440px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split .media { min-height: 320px; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 22px 28px 28px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
  .utility-inner span { font-size: 11px; }
  .utility-actions { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .subscribe { flex-direction: column; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
}
