/* ============================================================
   34 ADVISORY — shared stylesheet
   Classic / corporate. Ink navy + warm ivory + brass accent.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Hanken+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --ink:        #10243a;
  --ink-2:      #0a1826;
  --ink-soft:   #1d3650;
  --ivory:      #f6f2e9;
  --ivory-2:    #efe8d8;
  --paper:      #fbf9f3;
  --brass:      #b08a4f;
  --brass-lt:   #c9a86a;
  --brass-dk:   #8f6e3a;
  --text:       #1c2733;
  --muted:      #5d6b78;
  --line:       #d9d0bd;
  --line-dark:  rgba(255,255,255,0.14);

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }

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

/* Eyebrow label */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-dk);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--brass-lt); }
.eyebrow.center { justify-content: center; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,243,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand .mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand .mark .num {
  color: var(--brass-dk);
}
.brand .name {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-left: 14px;
}
.brand .name::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 16px; background: var(--line);
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 0.84rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--text); position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--brass);
  transition: width 0.3s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--ivory);
  cursor: pointer; transition: all 0.25s ease;
}
.btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ivory); }
.btn.brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn.brass:hover { background: var(--brass-dk); border-color: var(--brass-dk); }
.btn.on-dark { border-color: rgba(255,255,255,0.4); background: transparent; color: var(--ivory); }
.btn.on-dark:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
}
.hero::before { /* fine grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 80% 0%, #000 30%, transparent 80%);
}
.hero::after { /* brass glow */
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(176,138,79,0.22), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero.home .wrap {
  padding-top: clamp(72px, 11vw, 132px);
  padding-bottom: clamp(72px, 11vw, 132px);
  max-width: 1180px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 300;
  max-width: 16ch;
  margin-top: 26px;
}
.hero h1 em { font-style: italic; color: var(--brass-lt); }
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(246,242,233,0.82);
  max-width: 56ch; margin-top: 26px; font-weight: 300;
}
.hero .cta-row { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Page header (interior pages) */
.page-head { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 100%;
  mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 75%);
}
.page-head .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 96px); }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; margin-top: 22px; max-width: 18ch; }
.page-head .lede { color: rgba(246,242,233,0.8); max-width: 58ch; margin-top: 20px; font-weight: 300; font-size: 1.1rem; }

/* ---------------- Sections ---------------- */
section { padding-block: clamp(60px, 9vw, 110px); }
.section-head { max-width: 62ch; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 20px; font-weight: 400; }
.section-head p { color: var(--muted); margin-top: 18px; font-size: 1.08rem; }

.band-ink { background: var(--ink); color: var(--ivory); }
.band-ivory { background: var(--ivory); }

/* Statement band */
.statement p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.32; font-weight: 300; max-width: 24ch;
}
.statement .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px,5vw,80px); align-items: start; }
.statement .meta { color: var(--muted); font-size: 0.95rem; }
.statement.band-ink .meta { color: rgba(246,242,233,0.7); }
.statement.band-ink p { color: var(--ivory); }
.statement.band-ink em { color: var(--brass-lt); font-style: italic; }

/* Pillars / cards */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.pillar {
  padding: clamp(30px, 4vw, 52px);
  background: var(--paper);
  border-right: 1px solid var(--line);
  transition: background 0.3s ease;
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: #fff; }
.pillar .idx { font-family: var(--serif); color: var(--brass); font-size: 0.95rem; letter-spacing: 0.1em; }
.pillar h3 { font-size: 1.7rem; margin: 14px 0 16px; }
.pillar p { color: var(--muted); }
.pillar ul { list-style: none; margin-top: 22px; }
.pillar li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.95rem; display: flex; gap: 12px; }
.pillar li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; background: var(--brass); flex: none; transform: rotate(45deg); }
.pillar .more { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 3px; }

/* Approach grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 54px; }
.grid-3 .cell { background: var(--paper); padding: clamp(26px, 3vw, 40px); }
.band-ink .grid-3 { background: var(--line-dark); border-color: var(--line-dark); }
.band-ink .grid-3 .cell { background: var(--ink); }
.grid-3 .num { font-family: var(--serif); font-size: 2.4rem; color: var(--brass); line-height: 1; }
.band-ink .grid-3 .num { color: var(--brass-lt); }
.grid-3 h3 { font-size: 1.25rem; margin: 16px 0 10px; }
.band-ink .grid-3 h3 { color: #fff; }
.grid-3 p { color: var(--muted); font-size: 0.96rem; }
.band-ink .grid-3 p { color: rgba(246,242,233,0.72); }

/* CTA band */
.cta-band { background: var(--ink-2); color: var(--ivory); text-align: center; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; left: 50%; top: -40%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(176,138,79,0.18), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: #fff; font-weight: 300; max-width: 20ch; margin: 18px auto 0; }
.cta-band p { color: rgba(246,242,233,0.78); max-width: 50ch; margin: 18px auto 32px; }

/* Detailed service blocks (services page) */
.svc-group { border-top: 1px solid var(--line); padding-top: clamp(34px, 5vw, 56px); margin-top: clamp(40px,6vw,72px); }
.svc-group:first-of-type { margin-top: 0; }
.svc-group .head { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px,4vw,60px); }
.svc-group h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; }
.svc-group .head > p { color: var(--muted); }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.svc-list .item { background: var(--paper); padding: clamp(24px,3vw,36px); }
.svc-list .item:hover { background: #fff; }
.svc-list .item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc-list .item h3 span { color: var(--brass); font-family: var(--serif); margin-right: 10px; }
.svc-list .item p { color: var(--muted); font-size: 0.95rem; }

/* About: profile / values */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(34px,6vw,80px); align-items: center; }
.split .body p + p { margin-top: 18px; }
.split .body p { color: var(--text); font-size: 1.05rem; }
.figure-card {
  background: var(--ink); color: var(--ivory); padding: clamp(30px,4vw,46px);
  position: relative; overflow: hidden;
}
.figure-card::after { content: "34"; position: absolute; right: -10px; bottom: -34px; font-family: var(--serif); font-size: 12rem; color: rgba(176,138,79,0.12); line-height: 1; }
.figure-card .row { position: relative; z-index: 2; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.figure-card .row:first-child { border-top: 0; }
.figure-card .k { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-lt); }
.figure-card .v { font-family: var(--serif); font-size: 1.5rem; margin-top: 4px; color:#fff; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 54px; }
.values .v { background: var(--paper); padding: clamp(26px,3vw,40px); }
.values .v .lbl { font-family: var(--serif); color: var(--brass); font-size: 1.1rem; }
.values .v h3 { font-size: 1.3rem; margin: 10px 0; }
.values .v p { color: var(--muted); font-size: 0.96rem; }

.team-note { background: var(--ivory); border: 1px dashed var(--line); padding: 22px 26px; margin-top: 40px; color: var(--muted); font-size: 0.92rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,72px); align-items: start; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; color: var(--text);
  padding: 13px 15px; border: 1px solid var(--line); background: #fff;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); }
.field textarea { resize: vertical; min-height: 130px; }

.contact-info .block { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-info .block:first-child { border-top: 0; padding-top: 0; }
.contact-info .k { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-dk); font-weight: 600; }
.contact-info .v { font-family: var(--serif); font-size: 1.35rem; margin-top: 6px; }
.contact-info .v a:hover { color: var(--brass-dk); }
.contact-info .small { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink-2); color: rgba(246,242,233,0.7); padding-block: clamp(48px,6vw,72px) 32px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.site-footer .mark { font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.site-footer .mark .num { color: var(--brass-lt); }
.site-footer p { font-size: 0.92rem; max-width: 38ch; margin-top: 14px; }
.site-footer h5 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: 16px; font-family: var(--sans); font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 0.92rem; }
.site-footer li a:hover { color: #fff; }
.site-footer .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 0.82rem; color: rgba(246,242,233,0.45); }
.site-footer .disclaimer { max-width: none; font-size: 0.78rem; color: rgba(246,242,233,0.4); margin-top: 18px; line-height: 1.6; }

/* ---------------- Animations ---------------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: rise 0.8s cubic-bezier(0.2,0.7,0.2,1) forwards; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.18s; } .d3 { animation-delay: 0.28s; } .d4 { animation-delay: 0.38s; }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .nav { position: fixed; inset: 78px 0 auto 0; background: var(--paper); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform 0.32s ease; align-items: stretch; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 15px 0; border-top: 1px solid var(--line); }
  .nav a:first-of-type { border-top: 0; }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .pillars, .grid-3, .statement .wrap, .svc-group .head, .svc-list, .split, .values, .contact-grid, .site-footer .top { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .figure-card::after { font-size: 8rem; }
}
