/* ============================================================
   VALTIER MANAGEMENT — Design System
   Palette: Midnight Bordeaux, Golden Caramel, Cream Cashmere,
            Vintage Greige. Type: Cormorant + Inter.
   ============================================================ */

:root {
  --bordeaux: #2A070C;
  --bordeaux-soft: #3A1218;
  --caramel: #B28558;
  --caramel-deep: #8A6540;
  --cream: #DDC8B3;
  --cream-bg: #F3EBDF;
  --cream-page: #FAF6EF;
  --greige: #9F8E87;
  --ink: #2A070C;
  --ink-soft: #5A4A44;
  --line: #E4D8C7;

  --font-display: "Cormorant", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-page);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--caramel-deep);
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 32px;
  border: 1px solid var(--bordeaux);
  color: var(--bordeaux);
  background: transparent;
  transition: all .25s ease;
  cursor: pointer;
}
.btn:hover { background: var(--bordeaux); color: var(--cream-bg); }
.btn-solid { background: var(--bordeaux); color: var(--cream-bg); }
.btn-solid:hover { background: var(--bordeaux-soft); }
.btn-light { border-color: var(--cream); color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--bordeaux); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,239,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { display: block; }
.brand .brand-name {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  letter-spacing: 0.22em; color: var(--bordeaux);
  padding-left: 0.22em;
}
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-soft); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--bordeaux); }
.nav-cta { display: inline-block; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--bordeaux); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bordeaux);
  color: var(--cream-bg);
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
  position: relative; overflow: hidden;
}
.hero .arch-bg {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  opacity: 0.12; pointer-events: none;
}
.hero-inner { max-width: 760px; position: relative; }
.hero .eyebrow { color: var(--caramel); }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  margin: 22px 0 26px; color: var(--cream-bg);
  letter-spacing: 0.01em;
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--cream); max-width: 620px; margin-bottom: 38px;
  font-weight: 300; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section basics ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 18px 0 20px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section.tint { background: var(--cream-bg); }
.section.dark { background: var(--bordeaux); color: var(--cream); }
.section.dark h2 { color: var(--cream-bg); }
.section.dark .eyebrow { color: var(--caramel); }
.section.dark p { color: var(--cream); }

/* ---------- Statement line ---------- */
.statement { text-align: center; max-width: 900px; margin: 0 auto; }
.statement p {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.35; color: var(--bordeaux); font-weight: 500;
}
.statement .accent { color: var(--caramel-deep); font-style: italic; }

/* ---------- Grid of cards ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.cell {
  background: var(--cream-page); padding: 2.6rem 2.2rem;
  transition: background .3s;
}
.section.tint .cell { background: var(--cream-bg); }
.cell:hover { background: #fff; }
.cell .num {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--caramel); letter-spacing: 0.1em;
}
.cell h3 { font-size: 1.7rem; margin: 14px 0 12px; }
.cell p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Service list (detailed) ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.svc-item {
  padding: 2.8rem 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
.svc-item h3 { font-size: 1.9rem; }
.svc-item p { color: var(--ink-soft); }
.svc-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 3rem;
  padding: 2.8rem 0; border-top: 1px solid var(--line);
  align-items: start;
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row h3 { font-size: 1.9rem; }
.svc-row .svc-lead { color: var(--caramel-deep); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; padding-top: 10px; }
.svc-row p { color: var(--ink-soft); }

/* ---------- Audience blocks ---------- */
.aud { border-top: 1px solid var(--line); }
.aud-item {
  display: grid; grid-template-columns: 90px 1fr; gap: 2.5rem;
  padding: 3rem 0; border-bottom: 1px solid var(--line); align-items: start;
}
.aud-item .aud-mark { color: var(--caramel); }
.aud-item h3 { font-size: 2rem; margin-bottom: 12px; }
.aud-item p { color: var(--ink-soft); max-width: 640px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.tinted-panel .panel {
  background: var(--bordeaux); color: var(--cream);
  padding: clamp(2.5rem, 5vw, 4rem); min-height: 340px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.split .panel .arch-lg { margin-bottom: 8px; }
.split .panel h3 { color: var(--cream-bg); font-size: 2rem; }
.split .panel p { color: var(--cream); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 2.2rem 1.6rem 2.2rem 0; border-top: 2px solid var(--caramel); }
.step .step-n { font-family: var(--font-display); font-size: 1.4rem; color: var(--caramel-deep); }
.step h4 { font-size: 1.35rem; margin: 12px 0 10px; font-weight: 500; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bordeaux); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--cream-bg); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.cta-band p { color: var(--cream); max-width: 560px; margin: 0 auto 34px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line);
  background: #fff; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  border-radius: 0; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--caramel); }
.contact-detail { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.contact-detail .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--caramel-deep); font-weight: 500; margin-bottom: 6px; }
.contact-detail .v { font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bordeaux); color: var(--cream); padding: 4rem 0 2.5rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(221,200,179,0.2); }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.2em; color: var(--cream-bg); }
.footer-brand p { color: var(--greige); max-width: 320px; margin-top: 14px; font-size: 0.95rem; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--caramel); margin-bottom: 16px; font-weight: 600; font-family: var(--font-body); }
.footer-col a { display: block; color: var(--cream); font-size: 0.95rem; margin-bottom: 10px; opacity: 0.85; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.82rem; color: var(--greige); flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream-page);
    border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 2rem;
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open .nav-cta { margin-top: 14px; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .svc, .split, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .aud-item { grid-template-columns: 1fr; gap: 1rem; }
  .footer-top { gap: 2rem; }
}
@media (max-width: 500px) {
  .steps { grid-template-columns: 1fr; }
  .brand .brand-name { font-size: 22px; }
}
