/* ==========================================================================
   Spectra Private Wealth — Editorial luxury, architectural restraint
   ========================================================================== */

:root {
  /* Palette — warm cream paper, deep ink, teal accent from the mark */
  --paper:       #F7F3EB;
  --paper-2:     #EFE8DA;
  --ink:         #0E1414;
  --ink-soft:    #2A3030;
  --ink-mute:    #6A6F6D;
  --line:        #E2DBCC;
  --line-soft:   #EAE3D4;
  --brand:       #4DCCCA;
  --brand-deep:  #1A8988;
  --brand-ink:   #0E4646;
  --gold:        #B8905E;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --script:"Yellowtail", "Brush Script MT", cursive;

  /* Rhythm */
  --maxw: 1240px;
  --pad:  clamp(20px, 4vw, 48px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--brand); color: var(--ink); }

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(rgba(14,20,20,.055) 1px, transparent 1px),
    radial-gradient(rgba(14,20,20,.04) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 1px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 420; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; margin: 0 0 .4em; font-variation-settings: "opsz" 72, "SOFT" 30; }
h2 em { font-style: italic; color: var(--ink); font-variation-settings: "opsz" 144, "SOFT" 60; }
h3 { font-size: 22px; margin: 0 0 .5em; letter-spacing: -.005em; }
p  { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-ink);
  margin: 0 0 1.4em;
  font-weight: 500;
}
.small { font-size: 14px; color: var(--ink-mute); }

.link {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link:hover { color: var(--brand-deep); border-color: var(--brand); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn span { transition: transform .4s var(--ease); display: inline-block; }
.btn:hover span { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost   { color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--wide    { width: 100%; justify-content: center; padding: 16px 22px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-color: var(--line); }
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
  height: 46px;
  width: auto;
  display: block;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav__brand:hover .nav__logo { transform: scale(1.02); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 14.5px; color: var(--ink-soft); transition: color .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--ink) !important;
  background: transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.nav__tel svg { color: var(--brand-deep); flex-shrink: 0; transition: transform .3s var(--ease); }
.nav__tel:hover { border-color: var(--brand-deep); background: color-mix(in oklab, var(--brand) 10%, transparent); }
.nav__tel:hover svg { transform: rotate(-8deg) scale(1.06); }
.nav__cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background .3s var(--ease);
}
.nav__cta:hover { background: var(--brand-deep); color: var(--paper) !important; }

.nav__burger {
  display: none;
  width: 40px; height: 36px;
  background: none; border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 16px; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 100px) var(--pad) clamp(60px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-ink);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 25%, transparent);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  font-size: clamp(54px, 11vw, 168px);
  line-height: .92;
  letter-spacing: -.025em;
  margin: 0;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: italic;
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--ink);
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: .08em; height: .12em;
  background: var(--brand);
  z-index: -1;
  opacity: .55;
}
.hero__lede { font-size: clamp(17px, 1.4vw, 20px); max-width: 58ch; color: var(--ink-soft); margin: .6em 0 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

.hero__meta {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero__meta dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
}
.hero__meta div { border-left: 1px solid var(--line); padding-left: 16px; }
.hero__meta div:first-child { border-left: 0; padding-left: 0; }
.hero__meta dt {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 6px;
}
.hero__meta dd {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-variation-settings: "opsz" 72;
  margin: 0; line-height: 1;
  letter-spacing: -.01em;
}
.hero__meta dd span { color: var(--brand-deep); }
.hero__meta dd small {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 4px;
  font-weight: 500;
}
.hero__meta__note { font-size: 11px; color: var(--ink-mute); margin: 14px 0 0; }

/* Decorative classical column illustration — echoes the logo mark */
.hero__columns {
  position: absolute;
  right: calc(var(--pad) * -0.2);
  top: 60px;
  width: 320px; height: 440px;
  opacity: .11;
  pointer-events: none;
  z-index: 1;
}
.hero__columns .col {
  position: absolute;
  top: 60px;
  bottom: 50px;
  width: 14px;
  background: linear-gradient(90deg,
    transparent 0%, var(--ink) 20%, var(--ink-soft) 35%,
    var(--ink) 50%, var(--ink-soft) 65%, var(--ink) 80%, transparent 100%);
  background-size: 4px 100%;
  background-repeat: repeat-x;
}
.hero__columns .col:nth-child(1) { left: 10%; }
.hero__columns .col:nth-child(2) { left: 26%; }
.hero__columns .col:nth-child(3) { left: 42%; }
.hero__columns .col:nth-child(4) { left: 58%; }
.hero__columns .col:nth-child(5) { left: 74%; }
.hero__columns .col:nth-child(6) { left: 90%; }
.hero__columns .pediment {
  position: absolute; top: 20px; left: 2%; right: 2%;
  height: 60px;
  background: var(--ink);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.hero__columns .base {
  position: absolute; bottom: 20px; left: 0; right: 0; height: 30px;
  background: linear-gradient(var(--ink), var(--ink-soft));
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 80% 10%, color-mix(in oklab, var(--brand) 18%, transparent), transparent 70%),
    radial-gradient(ellipse 500px 300px at 10% 80%, color-mix(in oklab, var(--gold) 10%, transparent), transparent 70%);
}

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) var(--pad);
  text-align: left;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement p {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.28;
  color: var(--ink);
  max-width: none;
  font-variation-settings: "opsz" 72, "SOFT" 30;
}
.statement p em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.drop {
  font-family: var(--serif);
  float: left;
  font-size: 5.5em;
  line-height: .85;
  padding: .06em .12em .05em 0;
  color: var(--brand-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 420;
}

/* ==========================================================================
   Section heads
   ========================================================================== */
.section__head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--pad) clamp(30px, 4vw, 56px);
}
.section__head h2 { max-width: 20ch; }

/* ==========================================================================
   PHILOSOPHY
   ========================================================================== */
.philosophy {}
.philosophy__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(60px, 10vw, 120px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.principle {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.principle:nth-child(2n) { border-right: 0; padding-right: 0; padding-left: 32px; }
.principle:nth-last-child(-n+2) { border-bottom: 0; }
.principle__num {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  font-size: 22px;
  color: var(--brand-deep);
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.principle h3 { font-size: clamp(22px, 2vw, 28px); font-variation-settings: "opsz" 72, "SOFT" 40; }
.principle p  { font-size: 15.5px; max-width: 46ch; color: var(--ink-soft); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--paper-2); position: relative; }
.services::before, .services::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line);
}
.services::before { top: 0; } .services::after { bottom: 0; }
.services__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(70px, 10vw, 130px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.svc {
  padding: 48px 40px 52px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
  position: relative;
  transition: background .4s var(--ease);
}
.svc:nth-child(2n) { border-right: 0; }
.svc:nth-last-child(-n+2) { border-bottom: 0; }
.svc:hover { background: var(--paper); }
.svc:hover .svc__num { color: var(--brand-deep); }
.svc__num {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .15em;
  color: var(--ink-mute);
  margin-bottom: 18px;
  transition: color .3s var(--ease);
}
.svc h3 { font-size: clamp(20px, 1.8vw, 24px); font-variation-settings: "opsz" 72, "SOFT" 40; }
.svc p { font-size: 15px; color: var(--ink-soft); margin-bottom: 0; }

/* ==========================================================================
   ADVISOR
   ========================================================================== */
.advisor {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) var(--pad);
}
.advisor__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.advisor__portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink);
  margin: 0;
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--ink) 5%, transparent),
    0 40px 80px -30px color-mix(in oklab, var(--ink) 35%, transparent);
}
.advisor__portrait::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid color-mix(in oklab, var(--brand) 45%, transparent);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}
.advisor__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, color-mix(in oklab, var(--ink) 75%, transparent) 100%);
  z-index: 1;
  pointer-events: none;
}
.advisor__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 1.4s var(--ease);
}
.advisor__portrait:hover img { transform: scale(1.03); }
.advisor__portrait figcaption {
  position: absolute; bottom: 22px; left: 26px; right: 26px;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: color-mix(in oklab, var(--brand) 85%, white);
  z-index: 3;
  display: flex; align-items: center; gap: 10px;
}
.advisor__portrait figcaption span {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 72;
  font-size: 18px;
  letter-spacing: -.01em;
  text-transform: none;
  color: #fff;
}
.advisor__portrait figcaption::after {
  content: "";
  flex: 1;
  height: 1px;
  background: color-mix(in oklab, var(--brand) 60%, transparent);
}
.advisor__body h2 { max-width: 18ch; }
.cred {
  list-style: none; margin: 32px 0 24px; padding: 0;
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cred li {
  flex: 1 1 0;
  min-width: 120px;
  padding: 18px 18px 18px 0;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.cred li:last-child { border-right: 0; }
.cred span {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-mute);
}
.cred strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 420;
  font-variation-settings: "opsz" 72;
  letter-spacing: -.01em;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.process .eyebrow { color: var(--brand); }
.process h2 { color: var(--paper); }
.process h2 em { color: var(--brand); }
.steps {
  list-style: none;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(70px, 10vw, 130px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid color-mix(in oklab, var(--paper) 15%, transparent);
}
.step {
  padding: 40px 24px 0 0;
  border-right: 1px solid color-mix(in oklab, var(--paper) 10%, transparent);
  position: relative;
}
.step:last-child { border-right: 0; padding-right: 0; }
.step:not(:first-child) { padding-left: 24px; }
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 48px;
  color: var(--brand);
  margin-bottom: 18px;
  letter-spacing: .02em;
  line-height: 1;
}
.step h3 {
  color: var(--paper);
  font-size: 22px;
  font-variation-settings: "opsz" 72, "SOFT" 40;
}
.step p {
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  font-size: 15px;
  max-width: 38ch;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) var(--pad);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact__intro h2 { max-width: 16ch; }
.contact__intro address {
  margin-top: 28px;
  font-style: normal;
  font-family: var(--sans);
  color: var(--ink-soft);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* Form */
.form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--ink) 4%, transparent),
    0 20px 40px -20px color-mix(in oklab, var(--ink) 12%, transparent);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.field > span small { text-transform: none; letter-spacing: .02em; color: var(--ink-mute); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit;
  font-family: var(--sans);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink);
  transition: border-color .3s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--brand-deep);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230E1414' fill='none' stroke-width='1.5'/></svg>") no-repeat right 2px center;
  padding-right: 20px;
}
.field--consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}
.field--consent input {
  width: 18px; height: 18px;
  border: 1px solid var(--ink-soft);
  accent-color: var(--brand-deep);
  flex-shrink: 0;
  margin-top: 2px;
}
.field--consent span {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-mute);
  line-height: 1.5;
  font-weight: 400;
}

.hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }

.form__status {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--brand-deep);
  min-height: 1.2em;
}
.form__status.error { color: #B23A3A; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 80%, transparent);
  padding: clamp(60px, 8vw, 96px) var(--pad) 40px;
}
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__logo {
  height: 64px;
  width: auto;
  display: block;
  opacity: .95;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer a { display: block; color: color-mix(in oklab, var(--paper) 75%, transparent); padding: 4px 0; transition: color .2s var(--ease); font-size: 14.5px; }
.footer a:hover { color: var(--brand); }
.footer p { color: color-mix(in oklab, var(--paper) 65%, transparent); font-size: 14px; }

.footer__fine {
  max-width: var(--maxw);
  margin: 32px auto 0;
  font-size: 12px;
  color: color-mix(in oklab, var(--paper) 45%, transparent);
  line-height: 1.7;
}
.footer__fine p { font-size: 12px; color: inherit; max-width: 90ch; }
.footer__line {
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in oklab, var(--paper) 8%, transparent);
  font-size: 12px;
  letter-spacing: .05em;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .nav__links a:not(.nav__cta):not(.nav__tel) { display: none; }
  .nav__cta { padding: 8px 14px; font-size: 13px; }
  .nav__tel { padding: 8px 10px; gap: 0; }
  .nav__tel span { display: none; }
  .nav__tel svg { width: 16px; height: 16px; }

  .hero__columns { display: none; }
  .hero__meta dl { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .hero__meta div:nth-child(3) { border-left: 0; padding-left: 0; }

  .philosophy__grid { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(2n) {
    padding: 32px 0;
    border-right: 0;
    padding-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .principle:last-child { border-bottom: 0; }

  .svc { padding: 36px 28px 40px; }

  .advisor__grid { grid-template-columns: 1fr; gap: 40px; }
  .advisor__portrait { max-width: 380px; margin: 0 auto; width: 100%; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .step { padding: 32px 24px 32px 0; border-bottom: 1px solid color-mix(in oklab, var(--paper) 10%, transparent); }
  .step:nth-child(2n), .step:last-child { border-right: 0; padding-right: 0; }
  .step:not(:first-child) { padding-left: 0; }
  .step:nth-child(2n) { padding-left: 24px; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__line { flex-direction: column; gap: 8px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .svc:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(n) { border-right: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid color-mix(in oklab, var(--paper) 10%, transparent); }
  .step:last-child { border-bottom: 0; }
  .cred li { flex-basis: 50%; min-width: 0; padding-right: 12px; }
  .cred li:nth-child(2n), .cred li:last-child { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta dl { grid-template-columns: 1fr 1fr; }
}
