/* ========================================================================
 * Gale for Wasaga — brand styles (v2)
 * Tokens pulled from logo + hero asset; see Brand-guide.md.
 * ====================================================================== */

:root {
  --navy:       #16306E;
  --navy-deep:  #0E2250;
  --royal:      #1E4FB8;
  --maple-red:  #C41E2A;
  --maple-red-dark: #9E1621;
  --gold:       #F5B71F;
  --gold-deep:  #D79A0E;
  --sand:       #E8D4A8;
  --sand-soft:  #F1E7CE;
  --sunset:     #F4A88C;
  --cream:      #FFF8EC;
  --cream-2:    #FCF4E0;
  --ink:        #0F1A33;
  --ink-soft:   #4A5673;
  --line:       #E4DCC7;
  --white:      #FFFFFF;

  --shadow-sm:  0 1px 2px rgba(15, 26, 51, .08);
  --shadow-md:  0 6px 20px rgba(15, 26, 51, .10);
  --shadow-lg:  0 20px 50px rgba(15, 26, 51, .18);
  --shadow-xl:  0 30px 80px rgba(15, 26, 51, .22);

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  30px;

  --font-display: "Anton", "Barlow Condensed", Impact, sans-serif;
  --font-head:    "Barlow Condensed", "Source Sans 3", system-ui, sans-serif;
  --font-body:    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --nav-h: 132px;
  --container: 1180px;
  --container-narrow: 780px;

  --ease-out: cubic-bezier(.2, .9, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0ms !important; transition-duration: 0ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw + 14px, 18px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s; }
a:hover { color: var(--royal); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 40px);
}
.container.narrow { max-width: var(--container-narrow); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: 0 0 var(--radius-sm) 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ================ Typography ================ */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: .01em; color: var(--navy); margin: 0 0 .5em; line-height: 1.05; }
h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.0;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: .6em;
}
h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.5vw + .5rem, 1.4rem); color: var(--navy); text-transform: none; letter-spacing: normal; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .78rem;
  color: var(--maple-red);
  margin: 0 0 14px;
  padding: 5px 0;
  border-top: 3px solid var(--gold);
}
.eyebrow.light { color: var(--gold); }

.lede {
  font-size: clamp(1.05rem, 1vw + .8rem, 1.28rem);
  color: var(--ink-soft);
  max-width: 68ch;
  line-height: 1.5;
}
.lede.light { color: #EBE5D1; }

.section-navy h2,
.section-navy .eyebrow,
.section-navy h3 { color: var(--white); }
.section-navy p, .section-navy li { color: #DEE5F4; }
.section-navy a { color: var(--gold); }
.section-navy a:hover { color: #FFE38A; }

/* ================ Buttons ================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); letter-spacing: .04em;
  font-size: 1rem; text-transform: uppercase;
  padding: 13px 24px;
  border: 0; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .15s ease, background .15s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--royal); color: var(--white); }
.btn-secondary { background: var(--maple-red); color: var(--white); }
.btn-secondary:hover { background: var(--maple-red-dark); color: var(--white); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
  padding: 11px 22px;
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  color: #FFE5B5; font-weight: 700; padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
.btn-ghost-light:hover { color: var(--gold); border-bottom-color: var(--gold); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ================ Nav ================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 16px;
  padding: 8px clamp(16px, 3vw, 40px);
  background: rgba(255, 248, 236, .95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  min-height: var(--nav-h);
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 120px; width: auto; display: block; }
@media (max-width: 960px) { .nav-logo img { height: 96px; } }
@media (max-width: 520px) { .nav-logo img { height: 76px; } }
.nav-center {
  display: flex; gap: clamp(12px, 2vw, 28px);
  justify-self: center;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: .82rem;
}
.nav-center a {
  color: var(--ink);
  padding: 8px 6px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
.nav-center a:hover { color: var(--navy); border-bottom-color: var(--gold); text-decoration: none; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--navy);
}
.nav-social svg { width: 20px; height: 20px; }
.nav-social a:hover { background: var(--navy); color: var(--white); }
.nav-cta { padding: 10px 18px; font-size: .85rem; }
.nav-cta-secondary { padding: 9px 16px; font-size: .82rem; border-width: 1.5px; }

.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-center { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; padding: 16px 24px; gap: 4px; box-shadow: var(--shadow-md); }
  .nav-center.open { display: flex; }
  .nav-center a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-center a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .nav-cta-secondary { display: none; }
}
@media (max-width: 520px) {
  .nav-social { display: none; }
}

/* ================ Hero ================ */
.hero {
  position: relative;
  min-height: clamp(620px, 88vh, 900px);
  display: grid; align-items: center;
  overflow: hidden; isolation: isolate;
  background-color: var(--navy-deep); /* fallback so hero-lede keeps contrast if photo fails to load */
}
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(14, 34, 80, .80) 0%, rgba(22, 48, 110, .55) 35%, rgba(22, 48, 110, .20) 65%, transparent 90%),
    linear-gradient(180deg, transparent 55%, rgba(22, 48, 110, .55) 100%);
}
@media (max-width: 820px) {
  .hero-photo img { object-position: 55% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(22, 48, 110, .30) 0%, rgba(22, 48, 110, .50) 45%, rgba(22, 48, 110, .88) 100%); }
}
.hero-content {
  width: 100%; max-width: var(--container);
  padding: 120px clamp(20px, 4vw, 40px) 80px;
  color: var(--white);
  margin: 0 auto;
}
.hero-logo {
  max-width: 320px; width: 44%; min-width: 180px;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .45));
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  margin: 0 0 .25em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
}
.hero h1 .h1-line1 { display: block; }
.hero h1 .h1-line2 { display: block; color: var(--gold); font-size: .85em; }
.hero-lede {
  font-size: clamp(1.15rem, 1.4vw + .8rem, 1.55rem);
  color: #F3EAD1;
  max-width: 28ch;
  margin: 0 0 30px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
  font-weight: 500;
}
.hero-ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ================ Sections ================ */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-cream { background: var(--cream); }
.section-sand  { background: var(--sand-soft); }
.section-navy  { background: var(--navy); color: var(--white); }

/* Reading comfort: cap body-copy line length on direct-child paragraphs of
 * section containers. Grid cards (.issue, .endorsement, form labels, etc.)
 * keep their own widths since they are nested deeper. */
.section > .container > p,
.section > .container.narrow > p { max-width: 68ch; }

/* CTA below the Our Town map, linking to /our-town.html */
.our-town-cta { text-align: center; margin: 18px 0 0; }

/* ================ Marquee strip ================ */
.marquee {
  background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 22px 0;
  border-bottom: 3px solid var(--gold);
}
.marquee-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  align-items: center; gap: 16px;
  text-align: center;
}
@media (max-width: 680px) {
  .marquee-row { grid-template-columns: 1fr; gap: 6px; }
}
.marquee-cell { display: flex; flex-direction: column; gap: 2px; }
.marquee-cell.accent .marquee-value { color: var(--gold); }
.marquee-label {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .15em;
  font-size: .7rem; color: #B3BFDB;
}
.marquee-value {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2vw + .6rem, 1.8rem);
  letter-spacing: .02em;
}
.marquee-value.count { font-variant-numeric: tabular-nums; }

/* ================ Issues ================ */
.issues {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.issue {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--maple-red);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  display: flex; flex-direction: column;
}
.issue:nth-child(3n+1) { border-top-color: var(--navy); }
.issue:nth-child(3n+2) { border-top-color: var(--gold); }
.issue:nth-child(3n+3) { border-top-color: var(--maple-red); }
.issue:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.issue-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--sand-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 14px;
  color: var(--navy);
}
.issue:nth-child(3n+2) .issue-icon { background: #FCE9B8; color: var(--gold-deep); }
.issue:nth-child(3n+3) .issue-icon { background: #F8D0D4; color: var(--maple-red); }
.issue h3 { margin-bottom: 8px; }
.issue p { margin: 6px 0; color: var(--ink-soft); }
.issue .issue-body { display: none; margin-top: 6px; color: var(--ink); }
.issue.open .issue-body { display: block; }
.issue-toggle {
  margin-top: auto; padding-top: 12px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--navy); font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: .82rem;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
}
.issue-toggle:hover { color: var(--royal); }
.issue-toggle::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.issue.open .issue-toggle::after { content: "−"; }

/* ================ Meet Dan ================ */
.meet-dan {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 860px) {
  .meet-dan { grid-template-columns: 1fr 1.3fr; gap: 60px; }
}
.meet-dan-photo { position: relative; }
.meet-dan-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.meet-dan-caption {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(22, 48, 110, .9); color: var(--white);
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: .92rem; line-height: 1.35;
  backdrop-filter: blur(4px);
}
.meet-dan blockquote {
  margin: 26px 0 0; padding: 18px 0 18px 24px;
  border-left: 5px solid var(--gold);
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  color: var(--navy); line-height: 1.35;
}

/* ================ Map section ================ */
.map-wrap { margin-top: 40px; padding: 0 clamp(18px, 3vw, 40px); }
#map {
  width: 100%; height: clamp(320px, 52vh, 560px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-xl);
  background: #20345f; /* navy placeholder while loading */
  position: relative;
}
.map-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #B3BFDB; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .15em; font-size: .9rem;
}
.map-attrib { text-align: right; font-size: .75rem; color: #B3BFDB; margin-top: 8px; max-width: var(--container); margin-left: auto; margin-right: auto; padding: 0 clamp(18px, 3vw, 40px); }
.map-attrib a { color: var(--gold); }

/* ================ Endorsements ================ */
.endorsements {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.endorsement {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.endorsement::before {
  content: "\201C"; /* left double quote */
  position: absolute; top: -6px; left: 18px;
  font-family: serif; color: var(--gold); font-size: 5rem; line-height: 1;
  pointer-events: none;
}
.endorsement-quote { font-size: 1.05rem; color: var(--ink); line-height: 1.5; margin: 10px 0 18px; font-style: italic; }
.endorsement-attrib { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.endorsement-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .95rem;
  flex-shrink: 0;
}
.endorsement-name { font-weight: 700; color: var(--navy); font-size: .95rem; }
.endorsement-role { color: var(--ink-soft); font-size: .82rem; line-height: 1.3; }

/* ================ Events ================ */
.events {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; gap: 14px;
}
.event {
  display: grid; grid-template-columns: auto 1fr;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.event-date {
  background: var(--navy); color: var(--white);
  padding: 18px 22px; min-width: 120px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; line-height: 1;
}
.event-date .m {
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold);
}
.event-date .d {
  font-family: var(--font-display); font-size: 2.6rem;
  margin: 6px 0 4px;
}
.event-date .t {
  font-size: .8rem; color: #B3BFDB;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
}
.event-body { padding: 18px 22px; }
.event-body h3 { margin: 0 0 4px; }
.event-body .loc { color: var(--ink-soft); font-size: .9rem; margin: 0 0 6px; }
.event-body p { margin: 0; color: var(--ink); }
.event-body .rsvp {
  display: inline-flex; margin-top: 10px;
  font-weight: 700; color: var(--maple-red); font-size: .9rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.event-body .rsvp:hover { color: var(--maple-red-dark); }
@media (max-width: 540px) {
  .event { grid-template-columns: 1fr; }
  .event-date { flex-direction: row; gap: 10px; padding: 10px 22px; }
  .event-date .d { font-size: 1.3rem; margin: 0; }
}

/* ================ Get involved tiles ================ */
.actions {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 40px;
}
.action-tile {
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(245, 183, 31, .25);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  color: var(--white) !important;
  transition: transform .2s var(--ease-out), border-color .2s, background .2s;
}
.action-tile:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(245, 183, 31, .1); text-decoration: none; }
.action-tile h3 { color: var(--gold) !important; margin: 4px 0; }
.action-tile p { color: #DEE5F4 !important; margin: 0; line-height: 1.45; font-size: .95rem; }
.action-tile .action-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(245, 183, 31, .2);
  color: var(--white); /* gold-on-gold fails contrast; white reads cleanly on the gold-tint circle */
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
}
.action-tile .action-cta {
  margin-top: auto; padding-top: 14px;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold) !important;
}
.action-tile-red { border-color: rgba(196, 30, 42, .4); }
.action-tile-red .action-icon { background: rgba(196, 30, 42, .2); color: #FFA5AB; }
.action-tile-red h3 { color: #FFA5AB !important; }
.action-tile-red .action-cta { color: #FFA5AB !important; }
.action-tile-red:hover { border-color: #FFA5AB; background: rgba(196, 30, 42, .12); }

/* ================ Forms ================ */
.form { margin-top: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid label.full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.form label em { color: var(--maple-red); font-style: normal; }
.form input, .form textarea, .form select {
  font: inherit; font-size: 1rem;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(245, 183, 31, .45);
}
.form .hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.btn-submit { margin-top: 22px; }
.form-status { margin-top: 14px; min-height: 1.5em; font-weight: 600; }
.form-status.success { color: #1B7A3E; }
.form-status.error { color: var(--maple-red); }

.form-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 640px; margin: 0; }
.form-inline input { flex: 1 1 200px; min-width: 0; padding: 11px 14px; }
.form-inline .form-status { flex-basis: 100%; margin-top: 6px; }

.fieldset { border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 16px 20px 10px; background: var(--white); }
.fieldset legend { padding: 0 8px; font-weight: 700; color: var(--navy); }
.fieldset legend em { color: var(--maple-red); font-style: normal; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 20px; }
.checkbox-grid label {
  display: flex; flex-direction: row; align-items: center; gap: 10px;
  font-weight: 500; color: var(--ink);
  font-size: .95rem; padding: 6px 0; cursor: pointer;
}
.checkbox-grid input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--navy); margin: 0;
}

/* ================ Ribbon (stay informed) ================ */
.ribbon {
  background: linear-gradient(135deg, var(--sand) 0%, var(--cream-2) 100%);
  padding: 36px 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.ribbon-row {
  display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 24px;
}
@media (max-width: 720px) { .ribbon-row { grid-template-columns: 1fr; gap: 12px; } }
.ribbon-text h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; }
.ribbon-text p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ================ Contact ================ */
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; max-width: 720px; }
.contact-list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 24px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  text-decoration: none;
}
.contact-list a:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-label {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--maple-red);
  min-width: 70px; font-size: .78rem;
}
.contact-value { font-size: 1.1rem; color: var(--navy); font-weight: 600; }
.contact-social {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 24px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.contact-social a { padding: 4px 0; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.contact-social a:hover { color: var(--royal); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ================ Footer ================ */
.footer { background: var(--ink); color: #B9C2D9; padding: 36px 0 44px; }
.footer-body { text-align: center; display: grid; gap: 10px; }
.authorization { color: var(--gold); font-weight: 600; margin: 0; font-size: .92rem; }
.copyright { margin: 0; font-size: .88rem; }
.footer a { color: var(--gold); }

/* ================ Placeholder notes (dev-mode reminder) ================ */
.placeholder-note {
  display: inline-block; margin-top: 22px;
  background: rgba(245, 183, 31, .16);
  border: 1px dashed var(--gold-deep);
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--ink);
}
body.is-live [data-placeholder] { display: none; }

/* ================ Scroll reveal ================ */
/* Content is always visible — the reveal effect is only a subtle slide-up.
 * If JS doesn't run or IntersectionObserver doesn't fire (e.g. full-page screenshot
 * tools), the page is still readable. Opacity is left alone deliberately. */
.reveal { transform: translateY(16px); transition: transform .7s var(--ease-out); }
.reveal.in { transform: none; }
