/* Golden Hills Software - site styles
   Palette comes from the logo (moon grey, field gold) plus a Front Range dusk. */

/* Self-hosted variable fonts (SIL OFL 1.1, licenses in /assets/fonts) */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/newsreader.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/newsreader-italic.woff2") format("woff2");
}

:root {
  --ink: #23263a;
  --ink-soft: #4a4e66;
  --gold: #e7aa35;
  --gold-deep: #8a5f0e;
  --moon: #d5d5d5;
  --violet: #5b5680;
  --paper: #ffffff;
  --mist: #f3f3f6;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.1875rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; max-width: 38em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--paper); color: var(--ink); padding: .5rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  padding: 1.25rem 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand {
  display: flex; align-items: center; gap: .7rem;
  color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em;
}
.brand img { width: 2.6rem; height: 2.6rem; }
.site-nav ul { display: flex; gap: clamp(.9rem, 2.4vw, 2rem); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: rgba(255,255,255,.88); text-decoration: none;
  font-family: var(--display); font-size: 1rem; font-weight: 500;
}
.site-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(600px, 94vh, 920px);
  background: #1f2340;
  color: #fff;
  display: flex; flex-direction: column;
}
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-moon {
  position: absolute; z-index: -1;
  width: clamp(70px, 9vw, 130px); aspect-ratio: 1;
  right: clamp(8%, 14vw, 18%); top: clamp(110px, 17vh, 190px);
  animation: moonrise 3.2s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes moonrise {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.hero-copy {
  width: 100%;
  padding-top: clamp(8.5rem, 22vh, 12rem);
  padding-bottom: clamp(13rem, 32vw, 22rem);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  max-width: 13ch;
  font-weight: 700;
  letter-spacing: -0.022em;
}
.hero-lede {
  margin-top: 1.5rem;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  max-width: 34em;
  color: rgba(255,255,255,.86);
}
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn {
  display: inline-block; padding: .8rem 1.35rem;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem;
  text-decoration: none; border-radius: 999px;
  border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f1bd55; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #33374f; }
.btn-line { color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 1rem; }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.section-head p { margin-top: 1rem; font-size: 1.3rem; color: var(--ink-soft); max-width: 30em; }

/* ---------- Products ---------- */
.product {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem); align-items: center;
  margin-top: clamp(4rem, 8vw, 6.5rem);
}
.product.flip .product-visual { order: -1; }
.product-name {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  color: var(--ink-soft); margin: 0 0 1rem;
}
.product-name svg { width: 2rem; height: auto; }
.product h3 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  margin-bottom: 1.1rem;
}
.product ul { padding: 0; margin: 1.4rem 0; list-style: none; }
.product li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; max-width: 34em; }
.product li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .6rem; height: .6rem; border-radius: 50%; background: var(--gold);
}
.product .fact { font-style: italic; color: var(--ink-soft); }
.product .go { margin-top: 1.6rem; }

/* Candor mini survey */
.survey {
  --c-deep: #155971; --c-sky: #5bafc9;
  background: #fff; border: 1px solid #dfe5ea; border-radius: 14px;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 30px 60px -30px rgba(21, 89, 113, .35);
  font-family: var(--display);
}
.survey-top { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: #6a7a86; margin-bottom: 1.4rem; }
.survey-top svg { width: 5.5rem; }
.survey-q { font-size: 1.3rem; font-weight: 600; color: var(--c-deep); letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 1.1rem; }
.survey-opts { display: grid; gap: .5rem; }
.survey-opt {
  display: flex; align-items: center; gap: .7rem;
  border: 1.5px solid #dfe5ea; border-radius: 10px; padding: .6rem .85rem;
  font-size: 1rem; color: #33424d;
}
.survey-opt i { width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 2px solid #b8c4cc; flex: none; }
.survey-opt.on { border-color: var(--c-sky); background: #eef7fa; }
.survey-opt.on i { border-color: var(--c-deep); background: radial-gradient(circle, var(--c-deep) 45%, transparent 50%); }
.survey-tip {
  margin-top: 1.2rem; padding: .8rem 1rem; border-radius: 10px;
  background: #fbf3e2; color: #5c4510; font-size: .95rem; line-height: 1.4;
  border-left: 4px solid var(--gold);
}

/* COIN mini diagram */
.coin {
  background: #fff; border: 1px solid #e1e1ea; border-radius: 14px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: 0 30px 60px -30px rgba(35, 38, 58, .4);
  font-family: var(--display);
}
.coin-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; color: var(--ink-soft); margin-bottom: .6rem; }
.coin-top strong { font-size: 1.1rem; letter-spacing: .08em; color: var(--ink); }
.coin svg { display: block; width: 100%; height: auto; }
.coin-steps { margin: .8rem 0 0; padding: .9rem 0 0 1.5rem; border-top: 1px solid #ececf2; font-size: .95rem; color: var(--ink-soft); }
.product .coin-steps li { padding-left: .2rem; margin-bottom: .2rem; }
.product .coin-steps li::before { display: none; }
.coin-key { margin: .6rem 0 0; font-size: .85rem; color: #8a8da0; }
.coin-key span { white-space: nowrap; }
.coin-steps li::marker { color: var(--gold-deep); font-weight: 700; }
.product .soon {
  display: inline-block; margin-bottom: 0; padding: .45rem 1rem; border-radius: 999px;
  background: #fbf3e2; color: #5c4510; border: 1px solid #f0d9a6;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
}

/* Bingo mini card */
.bingo {
  background: #1a3a2b; color: #f4ebd3;
  border-radius: 20px; padding: clamp(1rem, 2.6vw, 1.6rem);
  box-shadow: 0 30px 60px -30px rgba(26, 58, 43, .6);
  font-family: var(--display);
  transform: rotate(-1.5deg);
}
.bingo-head { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: .02em; margin-bottom: .55rem; color: #e7aa35; }
.bingo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.bingo-grid span {
  position: relative; aspect-ratio: 1;
  background: #f4ebd3; color: #1a3a2b; border-radius: 6px;
  display: grid; place-items: center; text-align: center;
  font-size: clamp(.5rem, .9vw, .64rem); line-height: 1.1; font-weight: 600;
  padding: 3px;
}
.bingo-grid span.hit::after {
  content: ""; position: absolute; inset: 14%;
  border-radius: 50%; background: rgba(231, 170, 53, .72);
  mix-blend-mode: multiply;
}

/* SurveyGold heritage */
.heritage {
  margin-top: clamp(4.5rem, 9vw, 7rem);
  border-top: 2px solid var(--moon);
  padding-top: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(1.5rem, 5vw, 4.5rem);
}
.heritage-year {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(4rem, 10vw, 7.5rem); line-height: .9; letter-spacing: -0.05em;
  color: var(--moon);
}
.heritage-year small { display: block; font-size: 1.05rem; letter-spacing: 0; font-weight: 600; color: var(--ink-soft); margin-bottom: .6rem; }
.heritage h3 { font-size: 1.6rem; margin-bottom: .8rem; }

/* ---------- Agency ---------- */
.agency { background: var(--mist); }
.agency-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.services { margin: 0; }
.services div { padding: 1.4rem 0; border-top: 1px solid #d9d9e0; }
.services div:last-child { border-bottom: 1px solid #d9d9e0; }
.services dt { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: .3rem; }
.services dd { margin: 0; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 5rem); }
.portrait { width: clamp(160px, 18vw, 240px); height: auto; margin-top: 2rem; border-radius: 50%; }
.creds { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.creds li { padding-left: 1rem; border-left: 3px solid var(--gold); max-width: 36em; }
.creds b { font-family: var(--display); font-weight: 600; display: block; font-size: 1.02rem; }

/* ---------- Contact + footer ---------- */
.contact { position: relative; background: var(--ink); color: #fff; padding: clamp(5rem, 11vw, 8rem) 0 3rem; overflow: hidden; }
.contact-ridge { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(40px, 6vw, 90px); }
.contact h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.contact-lede { color: rgba(255,255,255,.82); font-size: 1.25rem; margin-top: 1rem; }
.footer {
  margin-top: clamp(4rem, 8vw, 6rem); padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between;
  font-size: .95rem; color: rgba(255,255,255,.66);
}
.footer > div { flex: 1 1 28rem; }
.footer p { margin: 0 0 .4rem; max-width: 46em; }
.footer .brand { color: #fff; margin-bottom: .8rem; }
.footer .brand img { width: 2.2rem; height: 2.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer ul a { color: rgba(255,255,255,.85); font-family: var(--display); font-weight: 500; text-decoration: none; }
.footer ul a:hover { color: var(--gold); text-decoration: underline; }
.small-note { font-size: 1.05rem; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .product, .heritage, .agency-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .product.flip .product-visual { order: 0; }
  .product-visual { max-width: 30rem; }
}
@media (max-width: 560px) {
  body { font-size: 1.125rem; }
  .site-header .wrap { justify-content: center; }
  .site-nav ul { gap: 1.1rem; }
  .site-nav a { font-size: .95rem; }
  .hero-copy { padding-top: 9.5rem; padding-bottom: 17rem; }
  .hero-moon { top: 118px; right: 7%; width: 64px; }
  .bingo-grid span { font-size: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-moon { animation: none; }
}
@media print {
  .site-header, .hero-scene, .hero-moon, .contact-ridge { display: none; }
  .hero, .contact { background: #fff; color: #000; min-height: 0; }
  .hero-lede, .contact p { color: #000; }
}

/* ---------- Subpages (booking, confirmation) ---------- */
.sub .site-header { position: relative; }
.sub-top { position: relative; background: var(--ink); padding-bottom: clamp(3rem, 7vw, 6rem); }
.sub-ridge { position: absolute; bottom: -1px; left: 0; width: 100%; height: clamp(36px, 6vw, 90px); }
.sub-main { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6rem); }
.sub-main h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.sub-lede { font-size: 1.3rem; margin-top: 1rem; }
.sub-note { color: var(--ink-soft); font-size: 1.05rem; }
.book-head { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: flex-start; margin-bottom: 2rem; }
.book-portrait { width: clamp(72px, 9vw, 96px); height: auto; border-radius: 50%; flex: none; }
.booking { border-top: 2px solid var(--moon); padding-top: 1.5rem; }
.booking iframe { min-height: 640px; }
.confirm { text-align: center; max-width: 40rem; }
.confirm img { width: 144px; height: auto; border-radius: 50%; margin: 0 auto 1rem; }
.confirm p { margin-left: auto; margin-right: auto; }
.confirm p span { display: block; text-wrap: balance; }
.confirm .sub-note span + span { margin-top: .35rem; }
.confirm-name { font-family: var(--display); font-weight: 600; color: var(--ink-soft); margin-bottom: 1.25rem; }
.confirm .actions { justify-content: center; }
.sub-foot { padding: clamp(3rem, 6vw, 4.5rem) 0 3rem; }
.sub-foot .footer { margin-top: 0; }
@media (max-width: 560px) { .book-head { flex-direction: column; } }
.legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: .8rem !important; }
.legal a { color: rgba(255,255,255,.75); font-size: .9rem; }
.legal a:hover { color: var(--gold); }
.booking-gate { background: var(--mist); border-radius: 14px; padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 44rem; }
.booking-gate .btn { margin: .5rem 0 1rem; font-size: 1.05rem; }
.booking-gate .sub-note { margin-bottom: 0; }
.contact-lede a { color: var(--gold); }

/* Founder nameplate + colleague quotes */
.nameplate { margin-top: 1rem; font-family: var(--display); }
.nameplate b { display: block; font-size: 1.2rem; font-weight: 700; }
.nameplate span { color: var(--gold-deep); font-weight: 600; font-size: 1.05rem; }
.praise { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.praise h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.75rem; }
.praise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem); }
.praise figure { margin: 0; padding-top: 1.25rem; border-top: 2px solid var(--gold); }
.praise blockquote { margin: 0 0 1rem; font-style: italic; font-size: 1.25rem; line-height: 1.5; max-width: 34em; }
.praise figcaption { font-size: .98rem; color: var(--ink-soft); }
.praise figcaption b { display: block; font-family: var(--display); font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .praise-grid { grid-template-columns: minmax(0, 1fr); } }
