/* ==========================================================
   High Accord Advisory — main stylesheet
   ========================================================== */

:root {
  --ink: #14231f;          /* deep green-black, primary text & dark sections */
  --forest: #1f3d36;
  --moss: #4f6b5f;
  --paper: #f6f2ea;        /* warm page background */
  --sand: #ebe3d3;
  --line: #d9cfbc;
  --brass: #c8893a;        /* accent */
  --brass-deep: #a86c22;
  --muted: #5b6662;
  --white: #fffdf8;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--forest); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: transparent; color: var(--white); border-color: rgba(255,253,248,.35); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 234, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; color: var(--ink); }
.brand-mark-fill { fill: var(--brass); }
.brand-text { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; }
.brand-text em { font-style: italic; color: var(--moss); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; }
.site-nav a:not(.btn):hover { color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bar::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.hero::before {
  /* faint double-circle motif echoing the logo */
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  right: -260px; top: -200px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: -180px 0 0 -1px var(--paper), -180px 0 0 0 var(--line);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: center; position: relative; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); }
.hl { font-style: italic; color: var(--forest); background: linear-gradient(transparent 68%, rgba(200,137,58,.28) 68%); padding: 0 .08em; }
.lead { margin-top: 26px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* launch card */
.launch-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
  box-shadow: 0 30px 60px -30px rgba(20, 35, 31, .55);
  transform: rotate(1.2deg);
}
.launch-card-head { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,253,248,.6); margin-bottom: 18px; }
.launch-card-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(200,137,58,.2); }

.launch-steps { position: relative; }
.launch-steps::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1.5px; background: rgba(255,253,248,.14); }
.launch-steps li {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 0;
  position: relative;
  opacity: 0;
  animation: step-in .5s ease forwards;
  animation-delay: calc(.35s + var(--i) * .22s);
}
.launch-steps strong { display: block; font-weight: 600; font-size: 16px; }
.launch-steps small { display: block; font-size: 13.5px; color: rgba(255,253,248,.55); }
.tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--forest); border: 1.5px solid rgba(255,253,248,.25);
  position: relative; z-index: 1;
  animation: tick-on .4s ease forwards;
  animation-delay: calc(.6s + var(--i) * .22s);
}
.tick::after {
  content: ""; position: absolute; left: 7.5px; top: 4.5px; width: 6px; height: 10px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0;
  animation: tick-mark .3s ease forwards;
  animation-delay: calc(.7s + var(--i) * .22s);
}
.launch-card-foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(255,253,248,.18); font-size: 13.5px; color: var(--brass); }

@keyframes step-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes tick-on { to { background: var(--brass); border-color: var(--brass); } }
@keyframes tick-mark { to { opacity: 1; } }

/* ---------- strip ---------- */
.strip { background: var(--sand); border-block: 1px solid var(--line); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; flex-wrap: wrap; }
.strip-label { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--moss); }
.strip-list { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.strip-list li { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 28px; }
.strip-list li:not(:last-child)::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); }
.section-intro { margin-top: 18px; color: var(--muted); font-size: 18px; }
.section-intro a { color: var(--brass-deep); }

/* ---------- services ---------- */
.service-list { border-top: 1px solid var(--ink); }
.service { border-bottom: 1px solid var(--line); }
.service summary {
  list-style: none;
  display: grid;
  grid-template-columns: 64px minmax(200px, 1fr) 1.3fr 40px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
}
.service summary::-webkit-details-marker { display: none; }
.service-num { font-family: var(--font-display); font-size: 15px; color: var(--brass-deep); }
.service-title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); transition: color .2s; }
.service-line { color: var(--muted); }
.service summary:hover .service-title { color: var(--forest); }
.service-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line);
  position: relative; transition: background .2s, border-color .2s, transform .3s;
}
.service-toggle::before, .service-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%);
}
.service-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.service[open] .service-toggle { background: var(--ink); border-color: var(--ink); }
.service[open] .service-toggle::before, .service[open] .service-toggle::after { background: var(--white); }
.service[open] .service-toggle::after { transform: translate(-50%, -50%) rotate(0); }

.service-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  padding: 0 0 36px 88px;
  animation: reveal .35s ease;
}
.service-body h3 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); margin-bottom: 14px; }
.service-body ul li { padding: 7px 0 7px 22px; position: relative; border-bottom: 1px dashed var(--line); }
.service-body ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 1.5px; background: var(--brass); }
.service-body p { color: var(--muted); }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- launchpad ---------- */
.launchpad { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.launchpad::after {
  content: ""; position: absolute; left: -140px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255,253,248,.08); box-shadow: 160px 0 0 -1px var(--ink), 160px 0 0 0 rgba(255,253,248,.08);
  pointer-events: none;
}
.on-dark .eyebrow { color: var(--brass); }
.on-dark .section-intro { color: rgba(255,253,248,.65); }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.package {
  display: flex; flex-direction: column;
  background: rgba(255,253,248,.04);
  border: 1px solid rgba(255,253,248,.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.package-tag { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,253,248,.5); }
.package h3 { font-size: 32px; margin: 10px 0 10px; }
.package-desc { color: rgba(255,253,248,.65); font-size: 15.5px; min-height: 3.2em; }
.checks { margin: 24px 0 32px; flex: 1; }
.checks li { position: relative; padding: 9px 0 9px 30px; font-size: 15.5px; border-top: 1px solid rgba(255,253,248,.08); }
.checks li::before {
  content: ""; position: absolute; left: 3px; top: 14px; width: 6px; height: 11px;
  border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.package .btn { align-self: flex-start; }

.package.featured { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-12px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.package.featured .package-tag { color: var(--brass-deep); }
.package.featured .package-desc { color: var(--muted); }
.package.featured .checks li { border-top-color: var(--line); }
.package.featured .checks li::before { border-color: var(--brass-deep); }

.launchpad-note { margin-top: 44px; color: rgba(255,253,248,.65); max-width: 640px; position: relative; z-index: 1; }
.launchpad-note a { color: var(--brass); }

/* ---------- approach ---------- */
.approach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.approach li { padding: 0 28px 0 0; position: relative; }
.approach li:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 60px; right: 12px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.approach-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-family: var(--font-display); font-size: 20px; margin-bottom: 22px; background: var(--paper);
}
.approach li:last-child .approach-num { background: var(--brass); border-color: var(--brass); color: var(--white); }
.approach h3 { font-size: 26px; margin-bottom: 10px; }
.approach p { color: var(--muted); font-size: 16px; }

/* ---------- principles ---------- */
.principles-wrap { background: var(--sand); border-block: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); }
.principles-intro h2 { font-size: clamp(30px, 3.6vw, 44px); }
.principles-intro h2 em { color: var(--brass-deep); }
.principles-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; margin: 0; }
.principles-list dt { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; padding-top: 16px; border-top: 2px solid var(--ink); }
.principles-list dd { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 17.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border: solid var(--brass-deep); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); animation: reveal .3s ease; }

/* ---------- contact ---------- */
.contact { padding-top: 0; }
.contact-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 64px);
}
.contact-info h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 16px; }
.contact-info > p { color: var(--muted); }
.contact-details { margin-top: 32px; }
.contact-details li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.contact-details span { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); padding-top: 3px; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { color: var(--brass-deep); }

.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field .invalid { border-color: #b4452a; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--forest); }
.form-status.err { color: #b4452a; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,253,248,.75); padding-top: 64px; margin-top: var(--section-y); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.brand-footer .brand-mark { color: var(--white); }
.brand-footer .brand-text { color: var(--white); }
.brand-footer .brand-text em { color: var(--brass); }
.footer-tag { margin-top: 14px; max-width: 360px; font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.footer-nav a { text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--brass); }
.footer-base { border-top: 1px solid rgba(255,253,248,.12); padding-block: 22px; font-size: 14px; color: rgba(255,253,248,.5); }

/* ---------- reveal on scroll ---------- */
.js .fade { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .fade.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .launch-card { max-width: 460px; transform: none; }
  .packages { grid-template-columns: 1fr; max-width: 520px; }
  .package.featured { transform: none; }
  .approach { grid-template-columns: 1fr 1fr; gap: 44px 0; }
  .approach li:nth-child(2)::after { display: none; }
  .principles, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .service summary { grid-template-columns: 48px 1fr 40px; }
  .service-line { grid-column: 2 / 3; grid-row: 2; margin-top: -14px; font-size: 15.5px; }
  .service-toggle { grid-column: 3; grid-row: 1 / span 2; }
  .service-body { grid-template-columns: 1fr; gap: 28px; padding-left: 72px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .site-nav .btn { margin-top: 16px; }
  .strip-inner { flex-direction: column; align-items: flex-start; }
  .approach { grid-template-columns: 1fr; gap: 36px; }
  .approach li::after { display: none; }
  .principles-list { grid-template-columns: 1fr; gap: 28px; }
  .service summary { gap: 16px; padding: 22px 0; grid-template-columns: 36px 1fr 36px; }
  .service-toggle { width: 36px; height: 36px; }
  .service-body { padding-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .contact-details li { grid-template-columns: 1fr; gap: 2px; }
  .hero::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .fade { opacity: 1; transform: none; }
}
