:root {
  --forest: #13211c;
  --forest-2: #1a2e27;
  --brass: #c9a15a;
  --brass-dark: #a9823f;
  --paper: #faf8f4;
  --paper-2: #f1ece3;
  --ink: #23201b;
  --ink-soft: #55504a;
  --line: #e2dccf;
  --white: #ffffff;
  --shadow: 0 18px 50px -24px rgba(19, 33, 28, 0.45);
  --radius: 16px;
  --sidebar-w: 278px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: var(--brass-dark); text-decoration: none; }

img { display: block; max-width: 100%; }

/* ---------- Layout / Sidebar archetype ---------- */
.layout { display: flex; align-items: flex-start; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: var(--forest);
  color: #e8e3d6;
  position: sticky;
  top: 0;
  align-self: stretch;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 34px 26px 26px;
}

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 38px; }
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brass), var(--brass-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--forest); font-family: Georgia, serif; font-weight: 700; font-size: 22px;
}
.brand-name { font-family: Georgia, serif; font-size: 21px; color: var(--white); letter-spacing: .3px; }
.brand-sub { display: block; font-family: inherit; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-top: 2px; }

.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a {
  display: flex; align-items: center; gap: 11px;
  color: #c9c6ba;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav a:hover { background: var(--forest-2); color: var(--white); transform: translateX(3px); }
.nav a.active { background: var(--brass); color: var(--forest); font-weight: 600; }
.nav .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; flex: 0 0 6px; }

.side-foot { margin-top: auto; padding-top: 26px; }
.adnote {
  background: var(--forest-2);
  border: 1px solid rgba(201,161,90,.28);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #cfcbbe;
}
.adnote strong { display: block; color: var(--brass); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.side-contact { font-size: 13px; color: #9c988c; margin-top: 16px; line-height: 1.7; }
.side-contact span { color: #cfcbbe; }

/* mobile top bar */
.topbar { display: none; }

/* ---------- Main ---------- */
.main { flex: 1 1 auto; min-width: 0; }
.wrap { max-width: 1080px; padding: 0 clamp(22px, 5vw, 70px); margin: 0 auto; }

/* ---------- Hero (asymmetric) ---------- */
.hero { position: relative; padding: 0; }
.hero-inner { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.hero-copy {
  flex: 1 1 440px;
  background: var(--paper);
  padding: clamp(48px, 7vw, 96px) clamp(26px, 5vw, 68px);
  display: flex; flex-direction: column; justify-content: center;
}
.eyebrow { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-dark); font-weight: 700; margin-bottom: 18px; }
.hero-copy h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 22px; }
.hero-copy p { color: var(--ink-soft); font-size: 18px; max-width: 46ch; margin-bottom: 30px; }
.hero-media { flex: 1 1 380px; min-height: 420px; background: var(--forest-2); position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 28px; bottom: 28px;
  background: rgba(19,33,28,.86); color: #fff;
  padding: 14px 18px; border-radius: 12px;
  font-size: 13.5px; backdrop-filter: blur(4px);
  border: 1px solid rgba(201,161,90,.35);
}
.hero-badge b { color: var(--brass); font-family: Georgia, serif; font-size: 20px; display: block; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600;
  padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  font-family: inherit;
}
.btn-primary { background: var(--brass); color: var(--forest); }
.btn-primary:hover { background: var(--brass-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(169,130,63,.8); color: #1a1a14; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-dark); transform: translateY(-2px); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); transform: translateY(-2px); }
.btn-link { color: var(--brass-dark); font-weight: 600; border-bottom: 1.5px solid var(--brass); padding-bottom: 2px; }
.btn-link:hover { color: var(--forest); border-color: var(--forest); }

/* ---------- Generic sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tint { background: var(--paper-2); }
.section.dark { background: var(--forest); color: #d9d5c8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: #b7b3a6; }

.lead-head { max-width: 620px; margin-bottom: 44px; }
.lead-head .eyebrow { margin-bottom: 14px; }
.lead-head h2 { font-size: clamp(27px, 3.6vw, 40px); margin-bottom: 16px; }
.lead-head p { color: var(--ink-soft); font-size: 18px; }
.section.dark .lead-head p { color: #b7b3a6; }

.split { display: flex; gap: clamp(28px, 5vw, 64px); align-items: center; flex-wrap: wrap; }
.split > * { flex: 1 1 360px; }
.split.reverse { flex-direction: row-reverse; }
.media-frame { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); min-height: 300px; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose h2, .prose h3 { margin-bottom: 16px; }

/* stat strip */
.stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.stat { flex: 1 1 150px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.section.dark .stat { background: var(--forest-2); border-color: rgba(201,161,90,.22); }
.stat b { font-family: Georgia, serif; font-size: 34px; color: var(--brass-dark); display: block; line-height: 1; }
.section.dark .stat b { color: var(--brass); }
.stat span { font-size: 14px; color: var(--ink-soft); }
.section.dark .stat span { color: #a9a596; }

/* ---------- Cards (services) ---------- */
.card-row { display: flex; flex-wrap: wrap; gap: 26px; }
.card {
  flex: 1 1 300px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201,161,90,.6); }
.card-img { height: 186px; background: var(--paper-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.card-body h3 { font-size: 21px; margin-bottom: 9px; }
.card-body p { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-family: Georgia, serif; }
.price b { font-size: 25px; color: var(--ink); }
.price span { display: block; font-size: 12.5px; color: var(--ink-soft); font-family: inherit; }

/* feature list */
.feat-list { display: flex; flex-wrap: wrap; gap: 22px; }
.feat { flex: 1 1 260px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.section.dark .feat { background: var(--forest-2); border-color: rgba(201,161,90,.2); }
.feat .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--paper-2); color: var(--brass-dark); display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-weight: 700; font-size: 20px; margin-bottom: 15px; }
.section.dark .feat .ic { background: var(--forest); color: var(--brass); }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--ink-soft); }
.section.dark .feat p { color: #a9a596; }

/* testimonials */
.quotes { display: flex; flex-wrap: wrap; gap: 24px; }
.quote { flex: 1 1 280px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.quote .mark { font-family: Georgia, serif; font-size: 58px; color: var(--brass); line-height: .6; opacity: .5; }
.quote p { font-size: 16px; color: var(--ink); margin: 6px 0 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: var(--brass); display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-weight: 700; }
.quote .who b { font-size: 15px; }
.quote .who span { font-size: 13px; color: var(--ink-soft); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  border-radius: 22px; padding: clamp(36px, 5vw, 60px); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.cta-band p { color: #b7b3a6; max-width: 48ch; }
.cta-band .copy { flex: 1 1 340px; }

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15.5px;
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--paper); color: var(--ink); transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201,161,90,.18); }
.field textarea { resize: vertical; min-height: 96px; }
.field .err { color: #b4452f; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #cf6a53; }
.field.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  background: var(--brass); color: var(--forest);
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  box-shadow: 0 16px 34px -12px rgba(169,130,63,.85);
  display: inline-flex; align-items: center; gap: 9px;
  transition: transform .16s ease, background .16s ease;
}
.float-cta:hover { transform: translateY(-3px); background: var(--brass-dark); color: #1a1a14; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(680px, calc(100% - 32px)); z-index: 60;
  background: var(--forest); color: #e8e3d6;
  border: 1px solid rgba(201,161,90,.35); border-radius: 16px;
  padding: 20px 22px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
  display: none; gap: 18px; align-items: center; flex-wrap: wrap;
}
.cookie.show { display: flex; }
.cookie p { font-size: 14px; color: #c9c6ba; flex: 1 1 320px; }
.cookie a { color: var(--brass); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie .btn { padding: 11px 20px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--forest); color: #a9a596; padding: 56px 0 30px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.foot-col { flex: 1 1 200px; }
.foot-col h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; font-family: inherit; letter-spacing: .04em; text-transform: uppercase; }
.foot-col a { display: block; color: #a9a596; font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--brass); }
.foot-col p { font-size: 14px; line-height: 1.8; }
.foot-col .email { color: #cfcbbe; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13px; }
.foot-bar .disc { color: #807c70; max-width: 60ch; }

/* legal / content pages */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.doc .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 23px; margin: 34px 0 12px; }
.doc h3 { font-size: 18px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); margin-bottom: 12px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 7px; }
.contact-lines { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.contact-lines .row { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-lines .row:last-child { border-bottom: none; }
.contact-lines .k { flex: 0 0 150px; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.contact-lines .v { color: var(--ink-soft); font-size: 15px; }

.thanks-wrap { min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 0; }
.thanks-card { max-width: 560px; }
.thanks-card .check { width: 76px; height: 76px; border-radius: 50%; background: var(--brass); color: var(--forest); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; font-size: 38px; }
.thanks-card h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.thanks-card p { color: var(--ink-soft); font-size: 18px; margin-bottom: 14px; }
.thanks-card .ref { background: var(--paper-2); border-radius: 12px; padding: 14px 18px; display: inline-block; font-size: 15px; margin-bottom: 26px; }
.thanks-card .ref b { color: var(--brass-dark); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pill { font-size: 13px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-soft); padding: 7px 14px; border-radius: 999px; }

/* ---------- Utilities ---------- */
.btn-block { width: 100%; justify-content: center; }
.btn-row.center { justify-content: center; }
.mt-30 { margin-top: 30px; }
.narrow { max-width: 720px; }
.eyebrow.light { color: var(--brass); }
.btn-cookie { color: #e8e3d6; border-color: rgba(201,161,90,.4); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .layout { flex-direction: column; }
  .sidebar {
    position: fixed; left: 0; top: 0; height: 100vh; z-index: 70;
    transform: translateX(-100%); transition: transform .26s ease; width: 270px; min-height: 100vh;
  }
  .sidebar.open { transform: translateX(0); box-shadow: 30px 0 60px -20px rgba(0,0,0,.5); }
  .topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; background: var(--forest); color: #fff; position: sticky; top: 0; z-index: 50;
  }
  .topbar .brand { margin-bottom: 0; }
  .topbar .brand-name { font-size: 18px; }
  .burger { background: var(--forest-2); border: 1px solid rgba(201,161,90,.35); color: var(--brass); width: 44px; height: 44px; border-radius: 11px; font-size: 20px; cursor: pointer; }
  .scrim { display: none; position: fixed; inset: 0; background: rgba(10,16,13,.55); z-index: 65; }
  .scrim.show { display: block; }
  .main { width: 100%; }
}
@media (min-width: 901px) { .topbar, .scrim { display: none; } }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-media { min-height: 280px; }
  .cta-band { text-align: left; }
  .contact-lines .row { flex-direction: column; gap: 2px; }
  .contact-lines .k { flex: none; }
  .float-cta { right: 14px; bottom: 14px; padding: 12px 18px; }
}
