/* Golden Coast Investments — site styles. Tokens mirror 01-BRAND/BRAND-GUIDE.md. */
:root {
  --atlantic: #0F2E33;
  --atlantic-2: #173B41;
  --atlantic-3: #24494F;
  --brass: #B8914E;
  --bronze: #86642D;
  --gilt: #CDAA68;
  --sand: #F5F0E6;
  --sand-2: #EDE5D6;
  --paper: #FBF9F4;
  --ink: #14262A;
  --slate: #46585B;
  --line: #E2D9C8;
  --line-dark: rgba(245, 240, 230, .16);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--atlantic); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--bronze); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--atlantic); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.45rem, 5.2vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.5rem; line-height: 1.2; }
h4 { font-size: 1.2rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--slate); max-width: 46rem; }
.eyebrow {
  display: block; margin: 0 0 1rem;
  font: 600 .75rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze);
}
.muted { color: var(--slate); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--atlantic); color: var(--sand); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--atlantic); color: var(--sand); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--sand); }
.section--ink .eyebrow { color: var(--gilt); }
.section--ink .lead, .section--ink .muted { color: rgba(245, 240, 230, .78); }
.section--ink a { color: var(--gilt); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.rule { width: 64px; height: 2px; background: var(--brass); border: 0; margin: 0 0 1.4rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--atlantic);
  background: var(--atlantic); color: var(--sand); text-decoration: none;
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--atlantic-3); color: #fff; border-color: var(--atlantic-3); }
.btn--gold { background: var(--brass); border-color: var(--brass); color: var(--atlantic); }
.btn--gold:hover { background: var(--gilt); border-color: var(--gilt); color: var(--atlantic); }
.btn--ghost { background: transparent; color: var(--atlantic); }
.btn--ghost:hover { background: var(--atlantic); color: var(--sand); }
.section--ink .btn--ghost, .hero .btn--ghost { color: var(--sand); border-color: rgba(245, 240, 230, .5); }
.section--ink .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--sand); color: var(--atlantic); }
.btn--small { padding: .7rem 1.1rem; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 244, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.site-header__logo img { width: 232px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .3rem 0; border-bottom: 1px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--atlantic); border-bottom-color: var(--brass); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; color: var(--atlantic); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 24px 24px; gap: 1rem; }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-header__logo img { width: 196px; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: var(--atlantic); color: var(--sand); padding: clamp(72px, 10vw, 128px) 0 clamp(72px, 9vw, 112px); }
.hero h1 { color: var(--sand); }
.hero__grid h1 { font-size: clamp(2.4rem, 4.4vw, 3.55rem); }
.hero .eyebrow { color: var(--gilt); }
.hero .lead { color: rgba(245, 240, 230, .8); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.hero__arch { position: absolute; right: -60px; top: -30px; width: 560px; opacity: .10; pointer-events: none; }
.hero a:not(.btn), .panel a { color: var(--gilt); }
@media (max-width: 640px) { .hero__arch { width: 300px; right: -140px; top: -10px; opacity: .07; } }
.hero--page { padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.hero--page h1 { max-width: 20ch; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__arch { width: 380px; right: -120px; } }

.panel { background: var(--atlantic-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px 28px 22px; }
.panel h2 { font-size: 1.55rem; margin-bottom: .9rem; color: var(--sand); }
.spec { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.1rem; font-size: .95rem; }
.spec dt { color: var(--gilt); font: 600 .72rem/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.spec dd { margin: 0; color: var(--sand); }
.panel__foot { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line-dark); font-size: .9rem; }

/* grids + cards */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section--sand .card { background: #fff; }
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card__k { display: block; font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1rem; }
.card--link { display: block; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.card--link:hover { border-color: var(--brass); color: inherit; transform: translateY(-2px); }
.card--link .more { display: inline-block; margin-top: .6rem; font-weight: 600; color: var(--atlantic); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 14px; height: 2px; background: var(--brass); }
.section--ink .ticks li { border-color: var(--line-dark); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--brass); padding-top: 1.2rem; }
.steps li::before { content: "0" counter(step); display: block; font: 600 2.4rem/1 var(--serif); color: var(--brass); margin-bottom: .8rem; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--slate); font-size: .98rem; margin: 0; }
.section--ink .steps p { color: rgba(245, 240, 230, .78); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* criteria table */
.criteria { width: 100%; border-collapse: collapse; font-size: 1rem; }
.criteria th, .criteria td { text-align: left; vertical-align: top; padding: 1.1rem 1.2rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.criteria th { width: 30%; font: 600 .75rem/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
@media (max-width: 640px) { .criteria th, .criteria td { display: block; width: 100%; padding-right: 0; } .criteria th { border-bottom: 0; padding-bottom: .2rem; } }

/* FAQ */
.faqs { border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font: 600 1.3rem/1.3 var(--serif); color: var(--atlantic); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.05rem; font: 400 1.6rem/1 var(--sans); color: var(--brass); }
details.faq[open] summary::after { content: "–"; }
.faq__a { padding: 0 0 1.3rem; color: var(--slate); max-width: 50rem; }

/* CTA band */
.cta-band { background: var(--atlantic); color: var(--sand); padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--sand); }
.cta-band .lead { color: rgba(245, 240, 230, .8); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band__contact { font-size: .95rem; color: rgba(245, 240, 230, .8); margin-top: 1rem; }
.cta-band__contact a { color: var(--gilt); }

/* prose (articles, legal) */
.prose { max-width: 44rem; }
.prose h2 { font-size: 2rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose li { margin-bottom: .45rem; }
.prose .note { background: var(--sand); border-left: 3px solid var(--brass); padding: 1rem 1.2rem; font-size: .95rem; color: var(--slate); }
.byline { font-size: .9rem; color: var(--slate); margin-bottom: 2rem; }

/* person */
.person { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.person__mono { width: 200px; aspect-ratio: 4 / 5; background: var(--atlantic); display: grid; place-items: center; border-radius: var(--radius); }
.person__mono img { width: 46%; }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; } }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.4rem; font-size: .98rem; }
.facts dt { font: 600 .72rem/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.facts dd { margin: 0; }

/* forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.4rem; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font: 600 .82rem/1.4 var(--sans); letter-spacing: .02em; margin-bottom: .4rem; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #CFC4B0; border-radius: var(--radius); padding: .8rem .9rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.field input[type="file"] { padding: .6rem; background: var(--paper); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--slate); }
.check input { margin-top: .3rem; accent-color: var(--atlantic); }
.hp { position: absolute; left: -5000px; }
.contact-aside { background: var(--sand); border-radius: var(--radius); padding: 28px; }
.contact-aside h3 { font-size: 1.35rem; }
.contact-aside p { font-size: .97rem; }

/* footer */
.site-footer { background: var(--atlantic); color: rgba(245, 240, 230, .82); padding: 72px 0 36px; font-size: .95rem; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--gilt); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer__brand img { width: 232px; margin-bottom: 1.2rem; }
.site-footer__brand p { max-width: 26rem; }
.site-footer__h { font: 600 .72rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gilt); margin: .4rem 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .8rem; line-height: 1.6; color: rgba(245, 240, 230, .6); }
.site-footer__legal a { text-decoration: underline; color: rgba(245, 240, 230, .75); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* dev build only: pending claims + settings are visible */
.devbar { display: none; }
.is-dev .devbar { display: block; position: fixed; left: 12px; bottom: 12px; z-index: 60; max-width: 560px; background: #1d1d1d; color: #f2f2f2; font: 500 .75rem/1.45 var(--sans); padding: .6rem .8rem; border-radius: 4px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.is-dev .claim--pending { background: rgba(205, 170, 104, .28); box-shadow: inset 0 -2px 0 #B8914E; cursor: help; }
.is-dev .devbar .claim--pending { color: #fff; padding: 0 .2rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
