/* ============================================================
   Marketing site — local styles
   Builds on top of ../../colors_and_type.css (semantic tokens)
   ============================================================ */

* { box-sizing: border-box; }
body { background: var(--surface-page); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border-hairline);
  height: 72px;
  display: flex; align-items: center;
}
.site-header .container { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; border: 0; }
.brand-lockup img { height: 44px; width: auto; display: block; }
.brand-lockup .wordmark {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 18px; color: var(--biscay-base); line-height: 1;
}
.brand-lockup .wordmark small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .15em; color: var(--gold-dark); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--biscay-base); border: 0; transition: color 120ms; }
.nav a:not(.btn):hover { color: var(--accent-red); }
.nav a:not(.btn).active { color: var(--gold-dark); }

/* ---------- Buttons (shared) ---------- */
.btn {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 14px; line-height: 1;
  padding: 14px 22px; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  transition: all 120ms cubic-bezier(.2,.8,.2,1); text-decoration: none;
}
.btn .arrow { font-family: var(--font-body); font-weight: 700; font-size: 16px; }
.btn-primary    { background: var(--biscay-base); color: var(--white); }
.btn-primary:hover    { background: var(--biscay-dark); }
.btn-primary:active   { transform: translateY(1px); background: var(--biscay-darker); }
.btn-gold       { background: var(--gold-base); color: var(--biscay-darker); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline-light  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: var(--white); color: var(--biscay-base); }
.btn-outline    { background: transparent; color: var(--biscay-base); border-color: var(--biscay-base); }
.btn-outline:hover { background: var(--biscay-base); color: var(--white); }
.btn-sm { padding: 10px 16px; font-size: 12px; }

/* ---------- Section frames ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.brand { background: var(--biscay-base); color: var(--fg-on-brand); position: relative; overflow: hidden; }
.section.brand .eyebrow,
.section.brand .section-eyebrow { color: var(--gold-light); }
.section.dark { background: var(--biscay-darker); color: var(--fg-on-brand); }
.section.subtle { background: var(--neutral-lightest); }

.section-eyebrow {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 12px; color: var(--gold-dark);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.section-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-base); }

.section h2.section-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0; font-size: 48px; line-height: 1.02; color: var(--biscay-base);
  margin: 0 0 18px; max-width: 720px;
}
.section.brand h2.section-title, .section.dark h2.section-title { color: var(--white); }
.section .section-sub { font-size: 17px; line-height: 1.5; color: var(--fg-2); max-width: 620px; margin: 0 0 36px; }
.section.brand .section-sub, .section.dark .section-sub { color: rgba(255,255,255,.78); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, var(--biscay-base) 0%, var(--biscay-dark) 100%);
  color: var(--white);
  padding: 120px 0 140px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Subtle mountain silhouette at bottom */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 30%, var(--biscay-darker) 100%);
  clip-path: polygon(0 100%, 0 80%, 12% 55%, 22% 70%, 32% 40%, 42% 60%, 52% 30%, 62% 55%, 72% 35%, 82% 60%, 92% 45%, 100% 65%, 100% 100%);
  opacity: .55;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--gold-base);
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--gold-light); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.hero .eyebrow::before, .hero .eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--gold-base); }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 96px; line-height: .98; letter-spacing: -0.005em; color: var(--white);
  margin: 0; max-width: 980px;
}
.hero h1 .plus { color: var(--accent-red); }
.hero .lead {
  font-size: 20px; line-height: 1.5; color: rgba(255,255,255,.82);
  max-width: 600px; margin: 28px 0 36px;
}
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .meta-row { display: flex; gap: 32px; margin-top: 56px; color: rgba(255,255,255,.7); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.hero .meta-row span { display: inline-flex; align-items: center; gap: 8px; }
.hero .meta-row svg { width: 16px; height: 16px; color: var(--gold-light); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white); border: 1px solid var(--border-hairline);
  border-radius: 2px; padding: 28px; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 140ms cubic-bezier(.2,.8,.2,1), box-shadow 140ms;
  cursor: pointer;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.service-card.featured { border-top: 4px solid var(--gold-base); padding-top: 24px; }
.service-card .ic { width: 36px; height: 36px; color: var(--biscay-base); stroke-width: 1.75; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0; font-size: 26px; color: var(--biscay-base); margin: 0; line-height: 1; }
.service-card p { font-size: 14.5px; color: var(--fg-2); margin: 0; line-height: 1.5; }
.service-card .learn { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--biscay-base); display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; border: 0; }
.service-card .learn::after { content: "→"; font-family: var(--font-body); transition: transform 120ms; }
.service-card:hover .learn::after { transform: translateX(4px); }

/* ---------- Work band ---------- */
.work-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 540px; }
.work-grid > * { position: relative; overflow: hidden; border-radius: 2px; background: var(--neutral-lighter); }
.work-grid > *:nth-child(1) { grid-row: span 2; }
.work-tile-caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  color: var(--white); pointer-events: none;
}
.work-tile-caption .eyebrow { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--gold-light); margin-bottom: 4px; }
.work-tile-caption .name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0; font-size: 20px; line-height: 1.05; }
.work-grid > *::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,15,31,.78) 100%);
  pointer-events: none; z-index: 1;
}

/* ---------- Testimonial ---------- */
.testimonial { text-align: center; max-width: 820px; margin: 0 auto; }
.testimonial .stars { color: var(--gold-base); font-size: 22px; letter-spacing: .25em; margin-bottom: 18px; }
.testimonial blockquote {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0; font-size: 36px; line-height: 1.15; color: var(--white);
  margin: 0; quotes: """ """;
}
.testimonial blockquote::before { content: open-quote; color: var(--gold-base); margin-right: .12em; }
.testimonial blockquote::after  { content: close-quote; color: var(--gold-base); margin-left: .12em; }
.testimonial cite { display: block; margin-top: 22px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--gold-light); font-style: normal; }

/* ---------- Quote form ---------- */
.quote-band { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.quote-card { background: var(--white); border: 1px solid var(--border-hairline); border-radius: 2px; padding: 32px; box-shadow: var(--shadow-2); }
.quote-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.quote-card .field { display: flex; flex-direction: column; gap: 6px; }
.quote-card .flabel { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--biscay-base); }
.quote-card input, .quote-card select, .quote-card textarea {
  font-family: var(--font-body); font-size: 14px; color: var(--fg-1);
  padding: 11px 12px; border: 1px solid var(--border-strong); border-radius: 4px;
  background: var(--white); outline: none; transition: border-color 120ms, box-shadow 120ms;
}
.quote-card input:focus, .quote-card select:focus, .quote-card textarea:focus { border-color: var(--biscay-base); box-shadow: 0 0 0 3px var(--focus-ring); }
.quote-card .submitted { padding: 32px; text-align: center; }
.quote-card .submitted .check { width: 56px; height: 56px; border-radius: 999px; background: var(--gold-lightest); color: var(--gold-dark); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.quote-card .submitted h4 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 24px; color: var(--biscay-base); margin: 0 0 8px; letter-spacing: 0; }
.quote-card .submitted p { color: var(--fg-2); margin: 0; }

.quote-side h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0; font-size: 36px; color: var(--white); line-height: 1.05; margin: 0 0 18px; }
.quote-side ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
.quote-side li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.45; }
.quote-side li .num { font-family: var(--font-display); font-weight: 700; color: var(--gold-base); font-size: 22px; line-height: 1; min-width: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--biscay-darker); color: rgba(255,255,255,.78); padding: 64px 0 32px; }
.site-footer .columns { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.site-footer h5 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--gold-light); margin: 0 0 16px; }
.site-footer a { display: block; color: rgba(255,255,255,.78); text-decoration: none; border: 0; font-size: 14px; padding: 4px 0; transition: color 120ms; }
.site-footer a:hover { color: var(--white); }
.site-footer .blurb { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.7); margin: 14px 0 0; max-width: 320px; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 12px; }
.site-footer .footer-brand img { height: 48px; }
.site-footer .footer-brand .wordmark { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 18px; color: var(--white); line-height: 1; }
.site-footer .footer-brand .wordmark small { display: block; font-size: 10px; color: var(--gold-light); letter-spacing: .15em; margin-top: 3px; }
.site-footer hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 40px 0 18px; }
.site-footer .legal { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.5); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; }
