/* Long Bay Capital Advisors */
:root {
  --navy: #0b1f3a;
  --navy-2: #13294a;
  --navy-3: #1b365d;
  --steel: #2e5a8a;
  --gold: #b8975a;
  --gold-soft: #d9c49c;
  --mist: #eef2f6;
  --line: #d8dee6;
  --line-dark: rgba(255,255,255,.14);
  --ink: #17202d;
  --body: #3d4757;
  --muted: #6b7686;
  --white: #ffffff;
  --max: 1200px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.12; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.22rem; }
p { max-width: 68ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.band { padding: 104px 0; }
.band-mist { background: var(--mist); }
.band-navy { background: var(--navy); color: #c4cfdd; }
.band-navy h2, .band-navy h3 { color: var(--white); }

.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: .95rem; font-weight: 600; color: var(--steel); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.band-navy .kicker { color: var(--gold-soft); }
.intro { font-size: 1.16rem; color: var(--body); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 .98rem/1 var(--sans); padding: 16px 26px; border-radius: 3px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #c6a66b; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); color: var(--white); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-line-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-line-light:hover { background: var(--white); color: var(--navy); }

/* Utility bar + header */
.utility { background: var(--navy); color: #aebbd0; font-size: .86rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 24px; }
.utility a { color: #dfe6ef; text-decoration: none; }
.utility a:hover { color: var(--white); text-decoration: underline; }
.utility .u-links { display: flex; gap: 28px; }

.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { line-height: 1.05; }
.brand-text b { display: block; font-family: var(--serif); font-size: 1.32rem; color: var(--navy); letter-spacing: .005em; }
.brand-text span { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: .06em; margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 36px; list-style: none; }
.menu a { font-size: .97rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 6px 0; }
.menu a:hover { color: var(--steel); }
.menu a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
.menu .btn { padding: 12px 20px; color: var(--white); }
.menu .btn:hover { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; cursor: pointer; font: 600 .9rem var(--sans); color: var(--navy); }

/* Home hero */
.hero { background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%); padding: 88px 0 112px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 72px; align-items: center; }
.hero h1 { max-width: 18ch; }
.hero .intro { margin-top: 24px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 28px; font-size: .92rem; color: var(--muted); }

/* Term sheet: signature element */
.sheet {
  position: relative; background: var(--navy); color: #c9d3e1;
  border-radius: 4px; padding: 40px 40px 34px;
  box-shadow: 0 30px 60px -20px rgba(11,31,58,.45);
}
.sheet::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(184,151,90,.35); border-radius: 2px; pointer-events: none;
}
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--gold); }
.sheet-head h2 { font-size: 1.45rem; color: var(--white); }
.sheet-head small { font-size: .82rem; color: var(--gold-soft); white-space: nowrap; }
.sheet dl { margin-top: 6px; }
.sheet-row { display: grid; grid-template-columns: 128px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line-dark); }
.sheet-row:last-child { border-bottom: 0; }
.sheet dt { font-size: .86rem; color: #8fa0b7; padding-top: 2px; }
.sheet dd { font-family: var(--serif); font-size: 1.02rem; color: var(--white); line-height: 1.5; }
.sheet dd em { font-style: normal; color: var(--gold-soft); }
.sheet-foot { margin-top: 20px; font-size: .8rem; color: #8fa0b7; }

@media (prefers-reduced-motion: no-preference) {
  .sheet-row { opacity: 0; transform: translateY(6px); animation: fill .5s ease forwards; }
  .sheet-row:nth-child(1) { animation-delay: .25s; }
  .sheet-row:nth-child(2) { animation-delay: .4s; }
  .sheet-row:nth-child(3) { animation-delay: .55s; }
  .sheet-row:nth-child(4) { animation-delay: .7s; }
  .sheet-row:nth-child(5) { animation-delay: .85s; }
  .sheet-row:nth-child(6) { animation-delay: 1s; }
  @keyframes fill { to { opacity: 1; transform: none; } }
}

/* Principles strip */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle { padding: 44px 40px 44px 0; }
.principle + .principle { padding-left: 40px; border-left: 1px solid var(--line-dark); }
.principle h3 { font-size: 1.15rem; margin-bottom: 10px; }
.principle p { font-size: .97rem; }

/* Two-column heading layout */
.split-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: end; margin-bottom: 56px; }
.split-head p { font-size: 1.08rem; }

/* Service index (home) */
.svc-group + .svc-group { margin-top: 56px; }
.svc-group > h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--muted); padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.svc-row {
  display: grid; grid-template-columns: minmax(220px, 1fr) 2fr auto; gap: 40px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.svc-row h4 { font-family: var(--serif); font-size: 1.18rem; color: var(--navy); font-weight: 700; }
.svc-row p { color: var(--body); font-size: .99rem; }
.svc-row .more { font-size: .9rem; font-weight: 600; color: var(--steel); white-space: nowrap; }
.svc-row:hover h4 { color: var(--steel); }
.svc-row:hover .more { text-decoration: underline; }

/* Process (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 32px 28px 0 0; position: relative; counter-increment: s; }
.step::before {
  content: counter(s); position: absolute; top: -17px; left: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--gold);
  display: grid; place-items: center; font: 700 .9rem/1 var(--serif); color: var(--navy);
}
.step h3 { margin: 18px 0 10px; font-size: 1.15rem; }
.step p { font-size: .97rem; }

/* Statement */
.statement { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; }
.statement blockquote { font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 1.95rem); line-height: 1.45; color: var(--white); }
.statement .facts { border-top: 1px solid var(--line-dark); }
.fact { padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.fact b { display: block; color: var(--white); font-weight: 600; margin-bottom: 4px; }
.fact span { font-size: .95rem; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industries li {
  list-style: none; padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--serif); color: var(--navy); font-size: 1.04rem; background: var(--white);
}
.industries li span { display: block; font-family: var(--sans); font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.1rem; color: var(--navy); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 1.6rem/1 var(--sans); color: var(--gold); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; font-size: .99rem; }

/* CTA */
.cta { background: var(--navy-2); padding: 88px 0; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -10%; top: 0; bottom: 0; width: 55%;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(184,151,90,.07) 22px 23px);
  pointer-events: none;
}
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta h2 { color: var(--white); max-width: 20ch; }
.cta p { color: #c4cfdd; margin-top: 12px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Inner page header */
.page-head { background: var(--mist); padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); max-width: 22ch; }
.page-head .intro { margin-top: 18px; }

/* Services page */
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 72px; align-items: start; }
.svc-nav { position: sticky; top: 112px; }
.svc-nav p { font-size: .9rem; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.svc-nav p + ul { margin-bottom: 26px; }
.svc-nav ul { list-style: none; border-left: 2px solid var(--line); }
.svc-nav a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: .94rem; color: var(--body); text-decoration: none; }
.svc-nav a:hover { color: var(--navy); border-left-color: var(--gold); }
.svc-detail { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.svc-detail:last-child { border-bottom: 0; margin-bottom: 0; }
.svc-detail h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 14px; }
.svc-detail > p { font-size: 1.05rem; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; }
.svc-cols h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.ticks { list-style: none; }
.ticks li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--gold); }
.group-title { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 48px; }
.group-title:not(:first-child) { margin-top: 24px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-grid p + p { margin-top: 18px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--navy); }
.value { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.value h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value p { font-size: .96rem; }
.sidecard { background: var(--navy); color: #c9d3e1; padding: 40px; border-radius: 4px; }
.sidecard h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 14px; }
.sidecard .ticks li { color: #c9d3e1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field-full { grid-column: 1 / -1; }
label { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: var(--white);
  padding: 14px 15px; border: 1px solid #b9c3cf; border-radius: 3px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--steel); outline-offset: 0; border-color: var(--steel); }
textarea { min-height: 150px; resize: vertical; }
.form-actions { margin-top: 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-actions p { font-size: .88rem; color: var(--muted); }
.direct { border-top: 2px solid var(--navy); }
.direct-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.direct-item span { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.direct-item a, .direct-item p { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); text-decoration: none; font-weight: 700; }
.direct-item a:hover { color: var(--steel); text-decoration: underline; }
.prep { margin-top: 32px; background: var(--mist); padding: 28px; border-radius: 4px; }
.prep h3 { font-size: 1.05rem; margin-bottom: 14px; }

/* Footer */
.site-footer { background: var(--navy); color: #a3b1c5; font-size: .93rem; padding: 80px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.site-footer .brand-text b { color: var(--white); }
.site-footer .brand-text span { color: #8796ab; }
.foot-about { margin-top: 20px; max-width: 36ch; }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #a3b1c5; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.legal { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr auto; gap: 32px; font-size: .82rem; color: #8796ab; }
.legal p { max-width: 90ch; }

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid, .split-head, .statement, .faq, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 20ch; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-layout { grid-template-columns: 1fr; gap: 40px; }
  .svc-nav { position: static; }
}
@media (max-width: 860px) {
  .utility .u-area { display: none; }
  .menu-btn { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 84px;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 8px 32px 24px; box-shadow: 0 20px 30px -20px rgba(11,31,58,.3);
  }
  .menu.open { display: flex; }
  .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu a[aria-current="page"] { box-shadow: none; color: var(--steel); }
  .menu .btn { margin-top: 16px; border-bottom: 0; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .principle:first-child { border-top: 0; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .menu { padding: 8px 16px 20px; }
  .band { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .sheet { padding: 30px 22px 26px; }
  .sheet-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .sheet-head { flex-direction: column; gap: 4px; }
  .steps, .industries, .values, .svc-cols, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .value:nth-child(even) { padding-left: 0; border-left: 0; }
  .utility .u-links { gap: 16px; }
  .utility .u-email { display: none; }
  .brand-text b { font-size: 1.15rem; }
  .legal { grid-template-columns: 1fr; }
  .cta { padding: 64px 0; }
}
