/* ==========================================================================
   Site styles — ganngroup.com
   Version: v1.0.0
   Created: 12 November 2026

   Deploy path: /sites/ganngroup-com/public/css/site.css

   Loaded last, after /shared/css/base.css, so it wins. Ported from the
   approved design stylesheet (gg.css v1.1.0): container queries became
   ordinary @media queries at 480 / 768 / 1024, and cqi units became vw.
   Colours read the tokens in /tokens.css. No !important.

   Where this file overrides base.css on purpose:
     .btn           base makes buttons full-width, uppercase, 240px minimum
     headings       sizes and weights are set per class (.h1 .h2 .h3)
     body           17px / 1.55 as drawn in the design
   ========================================================================== */

:root {
  --red: var(--color-brand-500);
  --red-dk: var(--color-brand-700);
  --navy: var(--color-navy-900);
  --navy-2: var(--color-navy-800);
  --copper: var(--color-accent-500);
  --copper-lt: var(--color-accent-300);
  --ink: var(--color-neutral-950);
  --muted: var(--color-neutral-700);
  --cream: var(--color-neutral-100);
  --paper: var(--color-neutral-50);
  --line: var(--color-neutral-200);
  --max: var(--width-container);
}

body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
}

a:visited { color: var(--red); }
a:hover { color: var(--red-dk); }

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

/* Type */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--copper); flex: none; }
.h1 { margin: 0 0 22px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; }
.h1 em, .h2 em { font-style: normal; color: var(--red); }
.h2 { margin: 0 0 14px; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; font-weight: 800; }
.lede { margin: 0 0 32px; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
p { margin: 0 0 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto; min-width: 0; min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 3px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red, .btn-red:visited { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); color: #fff; }
.btn-line, .btn-line:visited { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white, .btn-white:visited { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--cream); color: var(--red-dk); }
.btn:disabled { opacity: .6; cursor: wait; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more, .more:visited { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--red); text-decoration: none; min-height: 44px; }
.more svg { width: 18px; height: 18px; transition: transform .15s; }

/* Header */
.hdr { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.hdr-in { max-width: var(--max); margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; gap: 28px; }
.hdr-logo { display: block; flex: none; }
.hdr-logo img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav a:visited { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--red); }
.nav a.on { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.hdr-call { min-height: 46px; padding: 0 18px; font-size: 15px; }
.hdr-tools { display: none; }
.icon-btn, .icon-btn:visited { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink); cursor: pointer; padding: 0; text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.red, .icon-btn.red:visited { background: var(--red); border-color: var(--red); color: #fff; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }
.mnav { display: flex; flex-direction: column; padding: 4px 20px 24px; border-top: 1px solid var(--line); background: #fff; }
.mnav[hidden] { display: none; }
.mnav a.link, .mnav a.link:visited { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 800; color: var(--ink); text-decoration: none; }
.mnav a.link.on { color: var(--red); }
.mnav a.link svg { width: 18px; height: 18px; color: var(--red); }
.mnav .btn { margin-top: 20px; width: 100%; }
@media (max-width: 768px) {
  .nav, .hdr-call { display: none; }
  .hdr-tools { display: flex; gap: 10px; margin-left: auto; }
  .icon-btn { display: inline-flex; }
  .hdr-in { padding: 10px 20px; }
  .hdr-logo img { height: 52px; }
}
@media (min-width: 769px) {
  .mnav, .mnav[hidden] { display: none; }
}

/* Home hero */
.hero { background: var(--cream); }
.hero-in { max-width: var(--max); margin: 0 auto; padding: 72px 32px 88px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-photo { position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--copper); border-radius: 3px; }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 3px; }
.proof { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid #D9CEC0; }
.proof div { min-width: 120px; }
.proof b { display: block; font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.proof span { font-size: 14px; color: var(--muted); }

/* Inner page hero */
.phero { background: var(--cream); }
.phero-in { max-width: var(--max); margin: 0 auto; padding: 64px 32px 72px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.phero-in.solo { grid-template-columns: minmax(0, 1fr); }
.phero-in > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.phero-wrap { padding-top: 64px; padding-bottom: 72px; }
.crumbs { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--muted); }
.crumbs a, .crumbs a:visited { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* Sections */
.sec { padding: 96px 0; }
.sec.paper { background: var(--paper); }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head p { font-size: 18px; color: var(--muted); }
.split-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.split-head .sec-head { margin-bottom: 0; }
.split-head.tight { margin-bottom: 32px; }
.lead-lg { font-size: 18px; }

/* Buy / Sell paths */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.path, .path:visited { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; color: var(--ink); text-decoration: none; }
.path:hover { border-color: var(--ink); color: var(--ink); }
.path:hover .more svg { transform: translateX(4px); }
.path img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.path-body { display: flex; flex-direction: column; flex: 1; padding: 30px 32px 26px; }
.path-body .h3 { font-size: 28px; }
.path-body p { color: var(--muted); }
.path-body .more { margin-top: auto; }
.tag { align-self: flex-start; margin-bottom: 14px; padding: 5px 10px; background: var(--cream); border-radius: 2px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red-dk); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.step { padding-top: 26px; border-top: 2px solid var(--ink); }
.step .n { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--red); }
.step p { font-size: 15.5px; color: var(--muted); }

/* Features */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feat { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 3px; }
.feat .ic { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 3px; background: var(--cream); color: var(--red); }
.feat .ic svg { width: 22px; height: 22px; }
.feat p { margin: 0; font-size: 15.5px; color: var(--muted); }
.feat .h3 { font-size: 19px; margin-bottom: 6px; }

/* Team */
.team { background: var(--navy); color: #fff; }
.team .h2 { color: #fff; }
.team .eyebrow { color: var(--copper-lt); }
.team .sec-head p { color: #C3CED6; }
.agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.agent, .agent:visited { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: 3px; color: #fff; text-decoration: none; }
.agent:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.agent:hover .more svg { transform: translateX(4px); }
.agent img { width: 168px; height: 168px; object-fit: cover; object-position: center 20%; border-radius: 2px; }
.agent .h3 { font-size: 26px; margin-bottom: 6px; color: inherit; }
.agent .creds { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #C3CED6; }
.agent .more, .agent .more:visited { color: var(--copper-lt); }
.agents.light .agent, .agents.light .agent:visited { background: #fff; color: var(--ink); border-color: var(--line); }
.agents.light .agent:hover { border-color: var(--ink); color: var(--ink); }
.agents.light .creds { color: var(--muted); }
.agents.light .more, .agents.light .more:visited { color: var(--red); }

/* CTA band */
.band { background: var(--red); color: #fff; }
.band-in { max-width: var(--max); margin: 0 auto; padding: 60px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band .h2 { margin-bottom: 8px; color: #fff; }
.band p { margin: 0; font-size: 18px; color: #fff; }
.band .phone, .band .phone:visited { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; font-size: 26px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.band .phone svg { width: 24px; height: 24px; }
.band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Forms */
.card { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 36px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field .req { color: var(--red); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--color-neutral-300); border-radius: 3px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(205,25,53,.22); border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--color-error-600); }
.form .btn { justify-self: start; }
.fine { margin: 0; font-size: 13px; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 10px 14px; border-radius: 3px; font-size: 15px; }
.form-status[hidden] { display: none; }
.form-status.is-error { color: var(--color-error-800); background: var(--color-error-100); border: 1px solid var(--color-error-600); }
.form-done[hidden] { display: none; }
.form-done .h3 { font-size: 26px; }
.form-done p { color: var(--muted); margin: 0; }
.nojs { margin: 0; font-size: 15px; color: var(--muted); }

/* Two-column layouts */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item, .contact-item:visited { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); text-decoration: none; background: #fff; }
a.contact-item:hover { border-color: var(--ink); color: var(--ink); }
.contact-item .ic { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 3px; background: var(--cream); color: var(--red); }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.contact-item b { font-size: 18px; font-weight: 800; }

/* Agent profile */
.profile { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: start; }
.profile-photo img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: center 20%; border-radius: 3px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.pills li { padding: 7px 12px; border: 1px solid #D9CEC0; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.bio p { font-size: 17.5px; line-height: 1.7; color: var(--color-neutral-800); }
.cta-row.gap-top { margin-top: 28px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.values .n { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--red); }
.values p { color: var(--muted); }

.lede.mb0 { margin-bottom: 0; }

/* 404 */
.nf { min-height: 50vh; }

/* Footer */
.ftr { background: var(--ink); color: #D9D5D0; font-size: 17px; line-height: 1.55; }
.ftr-in { max-width: var(--max); margin: 0 auto; padding: 64px 32px 28px; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ftr-logo { display: inline-block; padding: 10px 14px; background: #fff; border-radius: 3px; }
.ftr-logo img { height: 56px; width: auto; }
.ftr-about { margin-top: 18px; max-width: 300px; }
.ftr h4 { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.ftr ul { margin: 0; padding: 0; list-style: none; }
.ftr li a, .ftr li a:visited { display: inline-flex; align-items: center; min-height: 44px; color: #D9D5D0; text-decoration: none; font-size: 15px; }
.ftr li a:hover { color: #fff; text-decoration: underline; }
.ftr p { font-size: 15px; }
.ftr-fine { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; line-height: 1.6; color: var(--color-neutral-400); }
.ftr-fine p { margin: 0; font-size: 13px; max-width: 760px; }
.version-badge { font-family: var(--font-mono); color: var(--color-neutral-400); }
@media (max-width: 768px) {
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .ftr-in { padding: 48px 20px 24px; }
  .ftr-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Responsive: page sections */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .agent, .agent:visited { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
  .agent img { width: 120px; height: 120px; }
  .profile { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 36px 20px 64px; }
  .hero-photo::before { inset: 14px -10px -14px 10px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .phero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 20px 48px; }
  .phero-wrap { padding-top: 36px; padding-bottom: 48px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .paths, .agents, .feats, .two, .profile, .values { grid-template-columns: minmax(0, 1fr); }
  .two, .profile { gap: 40px; }
  .values { gap: 32px; }
  .band-in { padding: 48px 20px; }
  .card { padding: 24px; }
  .profile-photo { max-width: 360px; }
}
@media (max-width: 480px) {
  .steps, .form { grid-template-columns: minmax(0, 1fr); }
  .lede { font-size: 17.5px; }
  .path-body { padding: 24px 22px 20px; }
  .path-body .h3 { font-size: 24px; }
  .proof { gap: 18px 28px; }
  .proof b { font-size: 22px; }
  .cta-row .btn, .form .btn, .band-actions .btn { width: 100%; }
  .feat { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px; }
  .agent, .agent:visited { grid-template-columns: 96px minmax(0, 1fr); padding: 18px; }
  .agent img { width: 96px; height: 96px; }
  .agent .h3 { font-size: 22px; }
  .band .phone { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .more svg { transition: none; }
}
