/* GC Solutions Wisconsin — draft v4 styles. BUSINESS CONTEMPORARY (Wade's ruling):
   bright, clean, polished contemporary corporate. White / very light gray base,
   brand blue primary, one controlled iridescent accent. System fonts only.
   v4: PANEL ARCHITECTURE — the front door is a grid of picture-backed panels,
   each clicking through to its own page. Shared by every page of the site. */

:root {
  --blue: #1757c2;        /* Wade's logo blue */
  --blue-dark: #0f4396;
  --blue-soft: #eaf1fd;   /* light blue tint for panels */
  --ink: #1d2733;         /* body text */
  --muted: #55636f;
  --muted-soft: #7c8a96;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;     /* very light gray section wash */
  --line: #dfe5ec;
  --flash: linear-gradient(90deg, #37c6f4, #7b5cff, #ff4fc3, #ffb03a, #37d67a, #37c6f4);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 22px; }

a { color: var(--blue); }
img { max-width: 100%; display: block; }

/* Header */
.site-header { background: #fff; }
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap;
}
.brand-lockup { display: flex; align-items: center; gap: 16px; }

/* The GC mark — type-based, after Wade's logo: snowflake over bold GC, name beneath */
.gc-mark {
  color: var(--blue); text-align: center; line-height: 1;
  display: flex; flex-direction: column; align-items: center; flex: none;
}
.mark-flake { font-size: 1.05rem; line-height: 1; }
.mark-gc { font-size: 1.95rem; font-weight: 800; letter-spacing: .01em; margin-top: 1px; }
.mark-name { font-size: .56rem; font-weight: 700; letter-spacing: .24em; margin-top: 3px; }

.brand-name { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; color: var(--ink); }
.brand-sub { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.header-phone {
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.02rem;
  border-radius: 8px; padding: 11px 18px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(23, 87, 194, .25);
}
.header-phone:hover { background: var(--blue-dark); }

/* The one flash accent — a thin iridescent rule under the header */
.flash-rule { height: 4px; background: var(--flash); }

/* Sections */
section { padding: 52px 0; }
section h2 {
  font-size: 1.7rem; margin: 0 0 10px; color: var(--ink);
  border-bottom: 3px solid var(--blue); display: inline-block; padding-bottom: 6px;
}
.section-lead { color: var(--muted); max-width: 46em; margin-top: 12px; }
.fine-line, .note { color: var(--muted-soft); font-size: .92rem; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #eef4fe 0%, #ffffff 88%);
  padding: 64px 0 56px;
}
.hero-overline {
  text-transform: uppercase; letter-spacing: .22em; font-size: .8rem;
  color: var(--blue); margin: 0 0 10px; font-weight: 700;
}
.hero h1 { font-size: 2.5rem; line-height: 1.15; margin: 0 0 20px; color: var(--ink); border: none; }
.hero-thesis { font-size: 1.13rem; max-width: 44em; margin: 0 0 14px; }
.hero-thesis strong { color: var(--blue-dark); }
.hero-position { max-width: 44em; color: var(--muted); margin: 22px 0 28px; }
.button {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 700; padding: 13px 24px; border-radius: 8px; margin: 4px 8px 4px 0;
  box-shadow: 0 2px 8px rgba(23, 87, 194, .22);
}
.button:hover { background: var(--blue-dark); }
.button-alt { background: #fff; color: var(--blue); border: 2px solid var(--blue); box-shadow: none; }
.button-alt:hover { background: var(--blue-soft); color: var(--blue-dark); }

/* Flagship — Bid Writing & Property Evaluation */
.flagship { background: var(--bg-soft); padding: 56px 0; }
.flagship-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 32px 26px; box-shadow: 0 6px 24px rgba(29, 39, 51, .07);
  position: relative; overflow: hidden;
}
.flagship-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--flash);
}
.flagship-overline {
  text-transform: uppercase; letter-spacing: .2em; font-size: .78rem;
  color: var(--blue); font-weight: 700; margin: 4px 0 8px;
}
.flagship-card h2 { border-bottom-color: var(--blue); }
.flagship-card h1 {
  font-size: 1.7rem; margin: 0 0 10px; color: var(--ink);
  border-bottom: 3px solid var(--blue); display: inline-block; padding-bottom: 6px;
}
.bid-types { font-size: 1.08rem; max-width: 46em; }
.bid-types strong { color: var(--blue-dark); }
.flagship-media {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 6px;
}
.flagship-media figure { margin: 0; }
.flagship-media img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line);
}
.flagship-phone { font-size: 1.12rem; margin: 22px 0 4px; }
.flagship-phone a {
  color: var(--blue); font-weight: 800; font-size: 1.5rem; text-decoration: none; letter-spacing: .01em;
}
.flagship-phone a:hover { color: var(--blue-dark); text-decoration: underline; }

/* Service cards */
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-top: 26px;
}
.service {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: 10px; padding: 20px 22px;
  box-shadow: 0 2px 10px rgba(29, 39, 51, .05);
}
.service h3 { margin: 0 0 8px; font-size: 1.12rem; }
.service p { margin: 0 0 8px; color: var(--muted); }
.service .signature { color: var(--ink); font-weight: 600; font-style: italic; }

/* Probate block */
.probate {
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--blue);
  border-radius: 10px; padding: 24px 26px; margin-top: 30px;
  box-shadow: 0 2px 10px rgba(29, 39, 51, .05);
}
.probate h3 { margin-top: 0; font-size: 1.3rem; }
.counts { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.counts li { font-size: 1.02rem; color: var(--muted); }
.counts strong { font-size: 1.45rem; color: var(--blue-dark); }

/* Work / albums */
.album-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 24px;
}
.album-frame {
  margin: 0; aspect-ratio: 4 / 3; border: 2px dashed #b9c7d6; border-radius: 10px;
  background: repeating-linear-gradient(45deg, #f2f6fb, #f2f6fb 12px, #e8eff7 12px, #e8eff7 24px);
  display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; text-align: center; padding: 12px;
}
.album-frame span {
  color: var(--muted); font-weight: 600; background: rgba(255,255,255,.88);
  padding: 6px 12px; border-radius: 4px;
}
.album-frame small {
  color: var(--muted-soft); font-size: .82rem; background: rgba(255,255,255,.75);
  padding: 3px 10px; border-radius: 4px;
}
.album-frame-wide { aspect-ratio: 16 / 6; margin-top: 24px; }
.showcase { background: var(--bg-soft); }

/* Turnkey */
.turnkey {
  background: var(--blue-soft); border: 1px solid #cfdef8; border-radius: 10px;
  padding: 26px 28px; margin-top: 30px;
}
.turnkey h3 { margin-top: 0; color: var(--blue-dark); font-size: 1.3rem; }
.turnkey p { margin-bottom: 0; max-width: 48em; color: var(--ink); }

/* Services section wash */
.services { background: var(--bg-soft); }
.services .service { background: #fff; }

/* Paperwork / credentials */
.paperwork p { max-width: 48em; color: var(--muted); }
.credentials { background: var(--bg-soft); }
.cred-list { list-style: none; padding: 0; margin-top: 18px; }
.cred-list li {
  padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); max-width: 40em;
}
.cred-list li strong { color: var(--ink); }

/* CTA */
.cta-inner { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.cta-text { flex: 1 1 420px; }
.cta-flash { flex: 0 1 320px; margin: 0; }
.cta-flash img {
  border-radius: 10px; box-shadow: 0 8px 24px rgba(29, 39, 51, .28);
}
.cta-owner { color: var(--muted); margin-top: 14px; }

/* Hub */
.hub { background: var(--bg-soft); }
.hub-list { list-style: none; padding: 0; margin-top: 16px; }
.hub-list li { padding: 8px 0; border-bottom: 1px solid var(--line); max-width: 40em; }
.hub-list a { font-weight: 600; }
.hub-rooms { color: var(--muted); margin-top: 18px; }

/* Footer */
.site-footer {
  background: #fff; border-top: 1px solid var(--line);
  padding: 26px 0 30px; text-align: center;
}
.footer-line { margin: 0; color: var(--muted); font-size: .95rem; }
.footer-phone { margin: 6px 0; }
.footer-phone a {
  color: var(--blue); font-weight: 800; font-size: 1.6rem; text-decoration: none; letter-spacing: .01em;
}
.footer-phone a:hover { color: var(--blue-dark); text-decoration: underline; }

/* ===== v4 — Panel architecture ===== */

/* Front-door hero sits tighter above the panel grid */
.door-hero { padding: 56px 0 40px; }

/* Panel grid — the front door */
.panel-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; padding-bottom: 64px;
}
.panel {
  display: block; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 2px 10px rgba(29, 39, 51, .05);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.panel:hover {
  box-shadow: 0 10px 28px rgba(23, 87, 194, .16);
  border-color: #b9cdf2; transform: translateY(-2px);
}
.panel-art {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px; position: relative;
}
/* Picture slot — an elegant empty frame naming the photo that belongs here */
.panel-art.slot {
  border-bottom: 2px dashed #b9c7d6;
  background: repeating-linear-gradient(45deg, #f2f6fb, #f2f6fb 14px, #e8eff7 14px, #e8eff7 28px);
}
.slot-caption {
  color: var(--muted); font-weight: 600; font-size: .98rem;
  background: rgba(255,255,255,.9); padding: 8px 14px; border-radius: 6px;
  box-shadow: 0 1px 4px rgba(29, 39, 51, .08);
}
/* Solid brand-blue panel art */
.panel-art.blue {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff; flex-direction: column; gap: 8px;
}
.panel-art.blue .blue-flake { font-size: 1.7rem; line-height: 1; }
.panel-art.blue .blue-line { font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }
.panel-body { padding: 18px 22px 20px; }
.panel-body h3 { margin: 0 0 6px; font-size: 1.18rem; color: var(--ink); }
.panel-body p { margin: 0; color: var(--muted); font-size: .97rem; }
.panel:hover .panel-body h3 { color: var(--blue-dark); }

/* Subpages */
.back-row { margin: 0 0 14px; }
.back-link { font-weight: 700; text-decoration: none; font-size: .98rem; }
.back-link:hover { text-decoration: underline; }
.page-title {
  font-size: 1.9rem; margin: 0 0 12px; color: var(--ink);
  border-bottom: 3px solid var(--blue); display: inline-block; padding-bottom: 6px;
}
/* Picture slot used inside subpages (e.g. flagship's second frame) */
.slot-frame {
  margin: 0; aspect-ratio: 4 / 3; border: 2px dashed #b9c7d6; border-radius: 10px;
  background: repeating-linear-gradient(45deg, #f2f6fb, #f2f6fb 12px, #e8eff7 12px, #e8eff7 24px);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
}
.slot-frame .slot-caption { font-size: .92rem; }

/* ===== v5 — Wade's categories ===== */

/* The roof line — standing banner quote under the welcome */
.roof-banner {
  font-size: 1.28rem; font-weight: 700; color: var(--blue-dark);
  max-width: 40em; margin: 20px 0 26px; line-height: 1.45;
}
/* Movement labels on the front door (The Work / The House) */
.movement-label {
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-soft); margin: 0 0 14px;
}
/* Work grid hands off to the house grid — tighter bottom */
.panel-grid.work-grid { padding-bottom: 30px; }
/* House cards sit quieter: flatter shadow, slightly smaller titles */
.panel-grid.quiet .panel { box-shadow: 0 1px 5px rgba(29, 39, 51, .04); }
.panel-grid.quiet .panel-body h3 { font-size: 1.06rem; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  section { padding: 38px 0; }
  .header-inner { justify-content: center; text-align: center; }
  .brand-lockup { flex-direction: column; gap: 8px; }
  .header-phone { width: 100%; text-align: center; }
  .flagship-card { padding: 24px 20px 20px; }
  .flagship-media { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-flash { flex-basis: auto; width: 100%; max-width: 340px; }
  .panel-grid { grid-template-columns: 1fr; padding-bottom: 44px; }
  .page-title { font-size: 1.6rem; }
}

/* ===== v8 — The stage band: GC FOCUS medallion, turning slowly ===== */

/* Dark stage — deep navy sampled from the emblem image's own ground,
   with a soft radial glow lifting the center where the medallion stands */
.stage-band {
  background: radial-gradient(ellipse 95% 130% at 50% 42%, #0d1e3a 0%, #081426 55%, #060d1d 100%);
  padding: 62px 0 56px;
}
.stage-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 52px; flex-wrap: wrap;
}
/* The stage the snowflake stands on — the wheel and its hub.
   v9 corrections (Wade, 2026-11-11): the STANDALONE snowflake is the only
   thing that spins; it turns IN PLANE (never mirrored), and the hub is a
   second, still copy of the same art clipped to the navy disc, so
   GC FOCUS stands upright and reads correct at every moment. */
.stage-emblem {
  position: relative; flex: 0 0 auto;
  width: 380px; max-width: 78vw; aspect-ratio: 1 / 1;
}
/* The wheel: one in-plane revolution every 30 seconds, steady as a sign turning */
.emblem-wheel {
  position: absolute; inset: 0;
  animation: emblem-wheel 30s linear infinite;
  will-change: transform;
  filter: brightness(1.32) saturate(1.28) drop-shadow(0 0 22px rgba(125, 211, 252, .35));
}
@keyframes emblem-wheel {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* The hub: the same art held perfectly still, clipped to the navy disc
   (disc measured at ~22% of frame; clip allows its rim) */
.emblem-hub {
  position: absolute; inset: 0;
  clip-path: circle(13% at 50% 50%);
  pointer-events: none;
  filter: brightness(1.32) saturate(1.28);
}
/* The art itself — the standalone snowflake on transparency: no mask, no square */
.emblem-img { display: block; width: 100%; height: 100%; }
/* Welcome text on the dark stage — light ink, kept in its own clear column */
.stage-text { max-width: 33em; }
.stage-band h1 { color: #ffffff; }
.stage-band .hero-thesis { color: #cfe0f5; }
.stage-band .hero-thesis strong { color: #ffffff; }
.stage-band .button { box-shadow: 0 2px 16px rgba(64, 140, 255, .45); }
/* The roof banner now stands directly under the stage */
.stage-band + .wrap .roof-banner { margin-top: 30px; }

/* Small screens: the medallion takes the stage first, the welcome under it */
@media (max-width: 760px) {
  .stage-inner { flex-direction: column; gap: 30px; text-align: center; }
  .stage-text { max-width: 100%; }
  .stage-emblem { width: 250px; }
  .stage-band { padding: 46px 0 42px; }
}

/* Reduced motion: the snowflake stands still — no turn */
@media (prefers-reduced-motion: reduce) {
  .emblem-wheel { animation: none; }
}
