/* ---------------------------------------------------------------
   Type is system-resolved here, no webfont request at all.
   Display uses the "Old Style" stack — Iowan Old Style on macOS,
   Palatino Linotype on Windows. An old-style serif reads as
   established and unhurried, which is the point for this firm, and
   it carries currency symbols and parentheses the page depends on.
   --------------------------------------------------------------- */
:root {
  --font-display: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, Palatino, serif;
  --font-body: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

:root {
  --navy: #0E2A47;
  --navy-deep: #0A1F35;
  --navy-soft: #16395C;
  --navy-line: #1E4468;
  --gold: #C7A76A;
  --gold-bright: #DBBE86;
  --stone: #F4F1EA;
  --stone-deep: #EAE5DA;
  --paper: #FFFFFF;
  --ink: #1A1F26;
  --muted: #5D6875;
  --muted-light: #9DAEC1;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 16px 40px rgba(14, 42, 71, 0.10);
  --shadow-lift: 0 28px 64px rgba(10, 31, 53, 0.22);
  --ease: 0.26s cubic-bezier(0.25, 0.7, 0.35, 1);
  --wrap: 1150px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.16; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.65rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.18rem; }
h4 { font-family: var(--font-body); font-weight: 600; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.19em; font-size: 0.72rem;
  font-weight: 600; color: var(--muted); margin-bottom: 15px;
}
.eyebrow.gold { color: var(--gold); }
.lede { color: var(--muted-light); font-size: 1.03rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 0.92rem;
  padding: 12px 26px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.btn-lg { padding: 15px 32px; font-size: 0.98rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(199, 167, 106, 0.34); }
.btn-quiet { border-color: rgba(14,42,71,0.18); color: var(--navy); }
.btn-quiet:hover { border-color: var(--navy); background: rgba(14,42,71,0.04); transform: translateY(-2px); }

/* ---------- Header ---------- */
#header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14,42,71,0.09); transition: box-shadow var(--ease);
}
#header.scrolled { box-shadow: 0 6px 22px rgba(14,42,71,0.08); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; flex: none; border-radius: 8px; background: var(--navy);
  color: var(--gold); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
}
.logo-text { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; line-height: 1.15; }
.logo-text em {
  display: block; font-family: var(--font-body); font-style: normal;
  font-size: 0.63rem; letter-spacing: 0.19em; text-transform: uppercase; color: var(--muted); margin-top: 2px;
}

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.89rem; font-weight: 500; color: var(--muted); position: relative; padding: 4px 0; transition: color var(--ease); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--gold); transition: width var(--ease); }
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 23px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform var(--ease), opacity var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(56px, 8vw, 92px) 0 clamp(64px, 8vw, 96px);
  background:
    radial-gradient(ellipse 70% 60% at 12% 0%, rgba(199,167,106,0.11), transparent 60%),
    var(--stone);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 56px; align-items: start; }
.hero h1 { margin-bottom: 22px; }
.hero-desc { color: var(--muted); font-size: 1.07rem; max-width: 33rem; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-marks { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-marks li { position: relative; padding-left: 20px; font-size: 0.87rem; color: var(--muted); font-weight: 500; }
.hero-marks li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 5px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

.hero-panel { background: var(--paper); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-lift); border-top: 4px solid var(--gold); }
.panel-kicker { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.panel-head h3 { font-size: 1.3rem; margin-bottom: 14px; }
.panel-copy { font-size: 0.93rem; color: var(--muted); margin-bottom: 20px; }
.panel-list { display: grid; gap: 10px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(14,42,71,0.1); }
.panel-list li { position: relative; padding-left: 22px; font-size: 0.88rem; color: var(--muted); }
.panel-list li::before {
  content: ''; position: absolute; left: 1px; top: 8px; width: 10px; height: 5px;
  border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}
.panel-fine { font-size: 0.79rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Credentials ---------- */
.creds { background: var(--navy); padding: 20px 0; }
.creds-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; }
.cred { font-size: 0.83rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); font-weight: 500; }
.cred-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.6; }

/* ---------- Sections ---------- */
.section { padding: clamp(62px, 8vw, 100px) 0; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-stone { background: var(--stone); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-sub { color: var(--muted); margin-top: 14px; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc {
  background: var(--paper); border: 1px solid rgba(14,42,71,0.11); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(199,167,106,0.6); }
.svc-num { font-family: var(--font-display); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.1em; }
.svc h3 { margin: 10px 0 12px; }
.svc > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.svc ul { display: grid; gap: 9px; padding-top: 18px; border-top: 1px solid rgba(14,42,71,0.09); }
.svc ul li { position: relative; padding-left: 20px; font-size: 0.87rem; color: var(--muted); }
.svc ul li::before { content: ''; position: absolute; left: 3px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Approach ---------- */
.approach-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.approach-grid > div h2 { margin-bottom: 18px; }
.timeline { display: grid; gap: 4px; }
.timeline li { position: relative; padding: 0 0 30px 54px; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 0; width: 1px; background: var(--navy-line); }
.tl-step {
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-soft); border: 1px solid var(--navy-line); color: var(--gold);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
}
.timeline h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline p { color: var(--muted-light); font-size: 0.93rem; }

/* ---------- Cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  background: var(--paper); border: 1px solid rgba(14,42,71,0.11); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-tag { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.case h3 { font-size: 1.15rem; margin-bottom: 12px; }
.case > p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.case-stat { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(14,42,71,0.1); }
.case-stat strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--navy); line-height: 1.1; }
.case-stat span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--paper); border-radius: var(--radius-lg); padding: 32px 28px; border-left: 3px solid var(--gold); box-shadow: var(--shadow); }
.quote p { font-family: var(--font-display); font-size: 1.06rem; line-height: 1.5; margin-bottom: 20px; }
.quote footer strong { display: block; font-size: 0.9rem; }
.quote footer span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { text-align: center; }
.person-photo {
  width: 108px; height: 108px; margin: 0 auto 20px; border-radius: 50%;
  background: linear-gradient(155deg, var(--navy), var(--navy-soft));
  display: grid; place-items: center; color: var(--gold);
  font-family: var(--font-display); font-size: 2rem; font-weight: 500;
  border: 3px solid var(--stone-deep);
}
.person-photo::after { content: attr(data-initials); }
.person h3 { font-size: 1.08rem; margin-bottom: 4px; }
.person-role { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.person-bio { font-size: 0.9rem; color: var(--muted); max-width: 21rem; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid rgba(14,42,71,0.11); border-radius: var(--radius); transition: border-color var(--ease); }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px;
  font-family: var(--font-display); font-size: 1.04rem; font-weight: 500; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform var(--ease), border-color var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--gold); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 0.93rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-intro h2 { margin-bottom: 18px; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.cd-item { display: flex; flex-direction: column; gap: 5px; }
.cd-label { font-size: 0.71rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); font-weight: 600; }
.cd-value { font-size: 0.91rem; color: var(--muted-light); line-height: 1.5; }
.cd-value.link { color: #fff; transition: color var(--ease); }
.cd-value.link:hover { color: var(--gold); }

.contact-form { background: var(--paper); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lift); }
.fr { margin-bottom: 18px; }
.fr.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; }
.contact-form label > span {
  display: block; font-size: 0.76rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin-bottom: 7px;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font-family: inherit; font-size: 0.94rem; color: var(--ink);
  background: var(--stone); border: 1.5px solid rgba(14,42,71,0.13);
  border-radius: 9px; padding: 12px 14px; resize: vertical;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(199,167,106,0.2);
}
.contact-form .invalid { border-color: #B4434B; box-shadow: 0 0 0 3px rgba(180,67,75,0.13); }
.form-note { font-size: 0.81rem; color: var(--muted); text-align: center; margin-top: 14px; }
.form-note.success { color: #1E7A4C; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--muted-light); padding: 58px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 38px; }
.footer .logo-text { color: #fff; }
.footer .logo-text em { color: var(--muted-light); }
.footer-brand p { font-size: 0.88rem; margin-top: 16px; max-width: 21rem; }
.footer-col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 15px; }
.footer-col a { display: block; font-size: 0.88rem; padding: 5px 0; transition: color var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--navy-line); padding-top: 22px; font-size: 0.81rem; }
.footer-credit a { color: var(--gold); }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.45s cubic-bezier(0.2,0.8,0.3,1), transform 0.55s cubic-bezier(0.2,0.8,0.3,1); }
.reveal.visible { opacity: 1; transform: none; }
/* The rule under a section heading draws itself in rather than fading. */
.section-head { position: relative; }
.section-head.reveal::after {
  content: ''; position: absolute; left: 50%; bottom: -18px; height: 2px; width: 0;
  background: currentColor; opacity: 0.25; transform: translateX(-50%);
  transition: width 0.7s cubic-bezier(0.2,0.8,0.3,1) 0.15s;
}
.section-head.reveal.visible::after { width: 54px; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .case-grid, .quotes, .team-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; left: 0; right: 0; top: 76px; flex-direction: column; gap: 0;
    background: var(--paper); padding: 10px 24px 20px;
    border-bottom: 1px solid rgba(14,42,71,0.1); box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid rgba(14,42,71,0.07); font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 470px) {
  .container { padding: 0 18px; }
  .fr.two, .contact-details { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .creds-row { gap: 10px 14px; }
  .cred { font-size: 0.74rem; }
}

/* Alternate section opening: heading left, supporting line set beside it.
   Breaks the centred eyebrow/heading/subtitle rhythm repeating down the page. */
.section-head--left {
  text-align: left; max-width: none; margin-bottom: 46px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px 56px; align-items: end;
}
.section-head--left .eyebrow { grid-column: 1 / -1; margin-bottom: 2px; }
.section-head--left .section-sub { margin-top: 0; padding-bottom: 8px; }
.section-head--left.reveal::after { left: 0; transform: none; }
@media (max-width: 820px) {
  .section-head--left { grid-template-columns: 1fr; gap: 12px; }
}

/* Footer entries that name a page this demo does not contain are rendered as
   plain text, not links — nothing in the footer should look clickable and
   then do nothing. */
.footer-col span.footer-static {
  display: block;
  padding: 5px 0;
  cursor: default;
}
