/* Aldervane Wealth & Retirement (concept site). Fog, petrol and sand: quiet, open, unhurried.
   Humanist display face (Optima family) over a system sans; thin rules instead of boxes. */
:root {
  --fog: #f2f4f1;
  --fog-2: #e7ebe6;
  --white: #ffffff;
  --ink: #13252b;
  --text: #22343a;
  --muted: #4e5e64;
  --accent: #1f5a63;
  --accent-deep: #164750;
  --accent-tint: #dbe7e6;
  --sand: #e9dcc6;
  --clay: #87552f;
  --line: #cfd7d3;
  --night: #102126;
  --on-night: #e4ece9;
  --on-night-muted: #aebfbb;
  --display: Optima, Candara, "Noto Sans", "Gill Sans", "Segoe UI", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
  --r: 10px;
  --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fog); color: var(--text); font: 1.0625rem/1.65 var(--sans); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: .002em; }
h1 { font-size: clamp(2rem, 1.55rem + 1.9vw, 2.85rem); }
h2 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); }
h3 { font-size: 1.2rem; }
p, ul { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 3px; }
svg { flex: none; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; }

/* Concept label */
.concept-bar { background: var(--sand); color: var(--ink); font-size: .875rem; text-align: center; }
.concept-bar a { color: var(--ink); display: inline-flex; align-items: center; min-height: 40px; padding-inline: var(--s3); }

/* Header */
.site-head { background: var(--fog); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding-block: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--ink); text-decoration: none; min-height: 44px; }
.brand svg { width: 40px; height: 40px; }
.brand-word { display: grid; line-height: 1.05; font-family: var(--display); font-size: 1.4rem; font-weight: 600; letter-spacing: .01em; }
.brand-word small { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: var(--s2) var(--s5); flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--accent); color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); border-radius: 8px; font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-line { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-line:hover { background: var(--accent-tint); color: var(--accent-deep); }
.nav .btn { min-height: 44px; padding-inline: var(--s4); }
.text-link { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; text-decoration: none; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* Hero */
.hero { padding-block: var(--s8) var(--s8); overflow: hidden; }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: var(--s4); }
.hero h1 { max-width: 16ch; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; margin-top: var(--s5); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-note { margin-top: var(--s5); font-size: .925rem; color: var(--muted); display: flex; gap: var(--s2); align-items: center; }
.hero-note svg { width: 18px; height: 18px; color: var(--accent); }
.hero-art { width: 100%; height: auto; display: block; }

/* Sections */
.section { padding-block: var(--s8); }
.section.tint { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: var(--s7); }
.section-head p { color: var(--muted); margin-top: var(--s3); }

/* Who we serve: three columns divided by thin rules */
.serve { display: grid; gap: var(--s6); }
.serve > div { border-top: 1px solid var(--ink); padding-top: var(--s5); }
.serve svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: var(--s3); }
.serve p { color: var(--muted); margin-top: var(--s2); }

/* Services */
.services { display: grid; gap: var(--s5) var(--s7); }
.service { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start; }
.service .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; }
.service .icon svg { width: 24px; height: 24px; }
.service p { color: var(--muted); margin-top: var(--s1); }
.after { margin-top: var(--s6); }

/* How we work together: a track of stages, joined by a line, never numbered */
.track { list-style: none; padding: 0; display: grid; gap: var(--s5); position: relative; }
.track li { position: relative; padding-left: var(--s6); }
.track li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--fog); border: 2.5px solid var(--accent); }
.track li::after { content: ""; position: absolute; left: 5px; top: 1.4rem; bottom: calc(-1 * var(--s5) - .45rem); width: 2px; background: var(--line); }
.track li:last-child::after { display: none; }
.track li:last-child::before { background: var(--accent); }
.track h3 { font-size: 1.1rem; }
.track p { color: var(--muted); margin-top: var(--s1); font-size: 1rem; }
.track .when { display: block; font-size: .85rem; color: var(--clay); font-weight: 600; margin-top: var(--s1); }

/* Advisor placeholders */
.advisors { display: grid; gap: var(--s5); }
.advisor { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: center; padding: var(--s5); border: 1.5px dashed var(--line); border-radius: var(--r); background: var(--white); }
.advisor .portrait { width: 72px; height: 72px; border-radius: 50%; background: var(--fog-2); color: var(--muted); display: grid; place-items: center; }
.advisor .portrait svg { width: 34px; height: 34px; }
.advisor strong { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.advisor p { color: var(--muted); font-size: .95rem; }

/* Placeholders */
.placeholder { border: 1.5px dashed var(--accent); border-radius: var(--r); padding: var(--s5); background: var(--white); }
.placeholder .tag { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: var(--s2); }
.placeholder strong { display: block; font-family: var(--display); color: var(--ink); font-size: 1.2rem; margin-bottom: var(--s2); }
.placeholder p { color: var(--muted); }

/* Fees */
.fees { display: grid; gap: var(--s6); align-items: start; }
.ticks { list-style: none; padding: 0; display: grid; gap: var(--s3); margin-top: var(--s4); }
.ticks li { display: flex; gap: var(--s3); }
.ticks svg { width: 20px; height: 20px; color: var(--accent); margin-top: .2rem; }
.fee-lines { list-style: none; padding: 0; margin-top: var(--s4); border-top: 1px solid var(--line); }
.fee-lines li { display: grid; gap: var(--s1); padding-block: var(--s3); border-bottom: 1px solid var(--line); }
.fee-lines b { color: var(--ink); font-weight: 600; }
.fee-lines span { color: var(--muted); font-size: .95rem; }

/* Service detail page */
.page-hero { padding-block: var(--s8) var(--s7); border-bottom: 1px solid var(--line); }
.page-hero .lede { margin-top: var(--s4); }
.detail { display: grid; gap: var(--s4); padding-block: var(--s6); border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail-head { display: flex; gap: var(--s3); align-items: center; }
.detail-head svg { width: 28px; height: 28px; color: var(--accent); }
.detail > p { color: var(--muted); max-width: 40rem; }
.questions { display: grid; gap: var(--s5); }
.questions h3 { font-size: 1.1rem; }
.questions p { color: var(--muted); margin-top: var(--s1); }

/* Closing band */
.closing { background: var(--accent); color: #eef5f4; border-radius: 14px; padding: var(--s7) var(--s6); display: grid; gap: var(--s5); align-items: center; }
.closing h2 { color: #fff; }
.closing p { margin-top: var(--s2); color: #d6e6e4; max-width: 34rem; }
.closing .btn-primary { background: var(--fog); color: var(--accent-deep); }
.closing .btn-primary:hover { background: #fff; color: var(--ink); }
.closing :focus-visible { outline-color: var(--sand); }

/* Intro call form */
.layout { display: grid; gap: var(--s7); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: var(--s6) var(--s5); }
.form h2 { font-size: 1.4rem; }
.form > p { color: var(--muted); margin-top: var(--s2); }
.fields { display: grid; gap: var(--s5); margin-top: var(--s5); }
.field { display: grid; gap: var(--s2); }
.two { display: grid; gap: var(--s5); }
.field label, legend { font-weight: 600; color: var(--ink); }
input, select, textarea { font: inherit; color: var(--text); background: var(--white); border: 1.5px solid #8b9a98; border-radius: 8px; padding: .7rem .85rem; min-height: 48px; width: 100%; }
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--clay); outline-offset: 1px; border-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: var(--s2); }
.choices { display: flex; flex-wrap: wrap; gap: var(--s2); }
.choices label { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--fog); }
.choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.choices input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--accent); }
.privacy { display: flex; gap: var(--s3); padding: var(--s4); border-radius: 8px; background: var(--fog); font-size: .95rem; color: var(--text); }
.privacy svg { width: 22px; height: 22px; color: var(--accent); margin-top: .1rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s5); }
.form-foot p { color: var(--muted); font-size: .925rem; }
.form-note { margin-top: var(--s4); padding: var(--s3) var(--s4); border-left: 4px solid var(--clay); background: #f7efe3; color: var(--ink); font-weight: 600; }
.aside { display: grid; gap: var(--s6); }
.aside section { border-top: 1px solid var(--ink); padding-top: var(--s4); }
.aside h2 { font-size: 1.2rem; }
.aside p { color: var(--muted); margin-top: var(--s2); }

/* Footer */
.site-foot { background: var(--night); color: var(--on-night); margin-top: var(--s8); font-size: .95rem; }
.site-foot a { color: var(--on-night); }
.site-foot a:hover { color: #fff; }
.site-foot :focus-visible { outline-color: var(--sand); }
.foot-grid { display: grid; gap: var(--s6); padding-block: var(--s7) var(--s6); }
.site-foot .brand { color: #fff; }
.site-foot .brand-word { font-size: 1.15rem; }
.site-foot .brand-word small { color: var(--on-night-muted); }
.foot-about { color: var(--on-night-muted); margin-top: var(--s3); max-width: 22rem; }
.site-foot h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: var(--s2); }
.site-foot ul { list-style: none; padding: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 44px; }
.disclosures { border: 1.5px dashed #4c6268; border-radius: var(--r); padding: var(--s4) var(--s5); color: var(--on-night-muted); }
.disclosures strong { color: var(--on-night); display: block; margin-bottom: var(--s1); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2) var(--s5); padding-block: var(--s4) var(--s5); margin-top: var(--s5); border-top: 1px solid #2b4148; color: var(--on-night-muted); }
.foot-base a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 720px) {
  .serve { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: 1fr 1fr; }
  .advisors { grid-template-columns: 1fr 1fr; }
  .questions { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s7); }
  .two { grid-template-columns: 1fr 1fr; }
  .closing { grid-template-columns: 1fr auto; padding: var(--s7); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form { padding: var(--s7) var(--s6); }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .track { grid-template-columns: repeat(5, 1fr); gap: var(--s5); }
  .track li { padding-left: 0; padding-top: var(--s6); }
  .track li::before { top: 0; }
  .track li::after { left: 1.25rem; right: calc(-1 * var(--s5)); top: 5px; bottom: auto; width: auto; height: 2px; }
  .fees { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .layout { grid-template-columns: 1.5fr 1fr; gap: var(--s8); }
  .detail { grid-template-columns: 1fr 1.3fr; gap: var(--s4) var(--s8); }
  .detail > * { grid-column: 2; }
  .detail > .detail-head { grid-column: 1; grid-row: 1 / span 3; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
