/* ===========================================================
   New Haven Trophies & Shirts
   Varsity / awards identity: deep varsity navy, trophy gold,
   warm cream. Oswald (condensed, athletic) + Inter.
   =========================================================== */

:root {
  /* Varsity navy */
  --navy-900: #131d33;
  --navy-800: #1a2745;
  --navy-700: #223357;
  --navy-600: #2c4270;

  /* Trophy gold */
  --gold-600: #b07d20;
  --gold-500: #c8912e;
  --gold-400: #dcab44;
  --gold-glow: rgba(200,145,46,.30);

  /* Warm paper + cream */
  --cream: #f6efe0;
  --paper: #fbf7ee;
  --line: #e6dcc7;

  /* Ink */
  --ink: #16181d;
  --ink-soft: #454a54;
  --ink-faint: #6c7381;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(19,29,51,.06), 0 2px 8px rgba(19,29,51,.06);
  --shadow-md: 0 6px 22px rgba(19,29,51,.10), 0 2px 6px rgba(19,29,51,.06);
  --shadow-lg: 0 24px 60px rgba(15,24,45,.30);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 64px);

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; margin: 0; letter-spacing: .005em; text-transform: uppercase; }
h3, h4 { text-transform: none; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 9vw, 118px); }

.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow.on-dark { color: var(--gold-400); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); display: inline-block; }

.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); }
.lead.on-dark { color: #d7deeb; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  min-height: 52px; white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-call { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 22px var(--gold-glow); }
.btn-call:hover { background: var(--gold-400); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color:#fff; transform: translateY(-2px); }
.btn-outline { background:#fff; color: var(--navy-800); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--navy-900); display: grid; place-items: center; box-shadow: 0 3px 10px rgba(19,29,51,.24); }
.brand .mark svg { width: 23px; height: 23px; color: var(--gold-400); }
.brand .word { line-height: 1; }
.brand .word b {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: 19px; letter-spacing: .02em; color: var(--navy-900); display: block; white-space: nowrap;
}
.brand .word span { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--navy-900); }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: var(--navy-900); font-size: 16px; white-space: nowrap; }
.nav-cta .label { white-space: nowrap; }
.nav-cta .pill { display: inline-flex; align-items: center; gap: 7px; background: var(--gold-500); color: var(--navy-900); padding: 10px 18px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px var(--gold-glow); transition: transform .15s, background .2s; }
.nav-cta .pill svg { width: 16px; height: 16px; }
.nav-cta .pill:hover { background: var(--gold-400); transform: translateY(-1px); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .label { display: none; }
}
@media (max-width: 480px) {
  .nav { height: 64px; gap: 8px; }
  .brand { gap: 9px; min-width: 0; }
  .brand .word b { font-size: 14px; white-space: normal; line-height: 1.05; }
  .brand .word span { display: none; }
  .brand .mark { width: 34px; height: 34px; flex: none; }
  .brand .mark svg { width: 20px; height: 20px; }
  .nav-cta { flex: none; }
  .nav-cta .pill { padding: 11px; gap: 0; }
  .nav-cta .pill .pill-txt { display: none; }
  .nav-cta .pill svg { width: 19px; height: 19px; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 130% at 12% 0%, #21335a 0%, var(--navy-900) 58%, #0e1628 100%); }
.hero::before {
  content:""; position:absolute; inset:0; opacity:.6; pointer-events:none;
  background-image: linear-gradient(90deg, rgba(220,171,68,.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero .wrap { position: relative; z-index:2; display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(52px, 8vw, 100px); }
.hero-copy { max-width: 620px; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); display:block; box-shadow: var(--shadow-lg); border: 3px solid rgba(220,171,68,.5); }
.hero-figure figcaption {
  position: absolute; left: 14px; bottom: 14px; display:flex; align-items:center; gap:8px;
  background: rgba(14,22,40,.78); backdrop-filter: blur(4px); border:1px solid rgba(255,255,255,.16);
  color:#e7ecf4; font-size: 12.5px; font-weight:600; padding: 7px 12px; border-radius: 999px;
}
.hero-figure figcaption svg { width:14px; height:14px; color: var(--gold-400); }
@media (max-width: 880px){
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 38px 44px; }
  .hero-figure { order: 2; }
}
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 22px;
}
.rating-badge .stars { color: var(--gold-400); letter-spacing: 2px; }
.hero h1 { font-size: clamp(40px, 6.8vw, 74px); margin-bottom: 20px; text-wrap: balance; line-height: .98; }
.hero h1 .gold { color: var(--gold-400); }
.hero .lead { max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14.5px; color: #d3dcea; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .dot { color: var(--gold-400); }

/* ---------------- Trust bar ---------------- */
.trustbar { background: var(--cream); border-bottom: 1px solid var(--line); }
.trustbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; padding-block: 20px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--navy-900); }
.trust-item svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; }
.trust-item .sub { color: var(--ink-faint); font-weight: 500; }
.trust-sep { width: 1px; height: 26px; background: var(--line); }
@media (max-width: 720px){ .trust-sep{ display:none; } }

/* ---------------- Section heading ---------------- */
.sec-head { max-width: 660px; margin-bottom: 46px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 50px); margin: 14px 0 16px; }
.sec-head p { color: var(--ink-soft); font-size: 18px; }

/* ---------------- Services ---------------- */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
  grid-column: span 4; display: flex; flex-direction: column; gap: 12px;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-500); }
.svc .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold-500) 15%, #fff); color: var(--gold-600); }
.svc .ic svg { width: 25px; height: 25px; }
.svc h3 { font-size: 21px; font-family: var(--font-body); font-weight: 800; color: var(--navy-900); }
.svc p { color: var(--ink-soft); font-size: 15.5px; }
.svc.feature { grid-column: span 6; background: var(--navy-900); color: #fff; border-color: transparent; }
.svc.feature .ic { background: rgba(220,171,68,.16); color: var(--gold-400); }
.svc.feature h3 { color: #fff; }
.svc.feature p { color: #d3dcea; }
.svc.feature .tag { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); }
@media (max-width: 900px){ .svc, .svc.feature { grid-column: span 6; } }
@media (max-width: 620px){ .svc, .svc.feature { grid-column: 1 / -1; } }

/* ---------------- Gallery (in the shop) ---------------- */
.shop { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px){ .gallery-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline:auto; } }
.shot { background:#fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.shot .ph { aspect-ratio: 4/3; overflow: hidden; background:#1c1c1c; }
.shot .ph img { width:100%; height:100%; object-fit: cover; transition: transform .55s ease; }
.shot:hover .ph img { transform: scale(1.05); }
.shot .cap { padding: 15px 18px; }
.shot .cap b { font-family: var(--font-body); font-weight: 800; font-size: 16px; color: var(--navy-900); }
.shot .cap p { font-size: 14px; color: var(--ink-soft); margin-top: 3px; }

/* ---------------- Spirit wear split ---------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } }
.spirit { background: var(--navy-900); color:#fff; }
.spirit h2 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 18px; }
.spirit h2 .gold { color: var(--gold-400); }
.spirit .lead { margin-bottom: 26px; }
.school-list { display:flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.school-list li { background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color:#e7ecf4; }
.spirit-photo img { width:100%; aspect-ratio: 4/5; object-fit: cover; display:block; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 3px solid rgba(220,171,68,.45); }
@media (max-width: 900px){ .spirit-photo img { aspect-ratio: 3/2; max-height: 420px; } }

/* ---------------- Reviews ---------------- */
.reviews-head { display:flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.google-score { display:flex; align-items: center; gap: 16px; background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding: 16px 22px; box-shadow: var(--shadow-sm); }
.google-score .num { font-family: var(--font-display); font-weight: 600; font-size: 46px; line-height: 1; color: var(--navy-900); }
.google-score .stars { color: var(--gold-500); font-size: 18px; letter-spacing: 2px; }
.google-score .meta { font-size: 13.5px; color: var(--ink-faint); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px){ .review-grid { grid-template-columns: 1fr; } }
.review {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px;
  box-shadow: var(--shadow-sm); display:flex; flex-direction: column; gap: 14px; position: relative;
}
.review .stars { color: var(--gold-500); letter-spacing: 2px; font-size: 15px; }
.review p { font-size: 15.5px; color: var(--ink); }
.review .who { display:flex; align-items:center; gap: 12px; margin-top: auto; padding-top: 6px; }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); display:grid; place-items:center; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.review .who b { font-size: 15px; }
.review .who span { font-size: 12.5px; color: var(--ink-faint); display:block; }
.kw-chips { display:flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; justify-content: center; }
.kw-chips .chip { background: var(--cream); border:1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.kw-chips .chip b { color: var(--gold-600); }

/* ---------------- Contact / location ---------------- */
.contact { background: var(--cream); }
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.info-block { display:grid; gap: 22px; align-content: start; }
.info-row { display:flex; gap: 14px; align-items: flex-start; }
.info-row .ic { flex:none; width: 44px; height: 44px; border-radius: 12px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; color: var(--gold-600); box-shadow: var(--shadow-sm); }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row h4 { font-size: 16px; color: var(--navy-900); margin-bottom: 3px; }
.info-row a, .info-row p { color: var(--ink-soft); font-size: 15.5px; }
.info-row a:hover { color: var(--gold-600); }
.hours-table { width:100%; border-collapse: collapse; background:#fff; border:1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-table td { padding: 11px 18px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--navy-900); }
.hours-table tr.today { background: color-mix(in srgb, var(--gold-500) 14%, #fff); }
.hours-table tr.today td:first-child { font-weight: 700; }
.hours-table .closed { color: var(--ink-faint); font-weight: 500; }
.map-embed { border: 0; width: 100%; height: 260px; border-radius: var(--r-md); margin-top: 6px; filter: saturate(1.04); }

/* Form */
.form-card { background:#fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-card h3 { font-size: 25px; font-family: var(--font-body); font-weight: 800; color: var(--navy-900); }
.form-card .sub { color: var(--ink-soft); font-size: 15px; margin: 8px 0 22px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15.5px; color: var(--ink); background: var(--paper); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-500) 22%, transparent); background:#fff;
}
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px){ .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; text-align: center; }
.form-status { display:none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; }
.form-status.ok { display:block; background: color-mix(in srgb, #3f9a4e 15%, #fff); color: #24692f; border:1px solid #4faa5c; }
.form-status.err { display:block; background:#fdecec; color:#b3261e; border:1px solid #f3b4b0; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-900); color: #cdd5e3; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 62px; }
@media (max-width: 780px){ .footer-top { grid-template-columns: 1fr; gap: 30px; } }
.fb-lockup { display:flex; align-items:center; gap: 14px; }
.fb-lockup .mark { width: 46px; height: 46px; flex: none; border-radius: 10px; background: rgba(255,255,255,.07); display:grid; place-items:center; border: 1px solid rgba(220,171,68,.4); }
.fb-lockup .mark svg { width: 26px; height: 26px; color: var(--gold-400); }
.footer-brand .word b { color:#fff; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 22px; display:block; letter-spacing: .02em; }
.footer-brand .word span { color: var(--gold-400); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 320px; color:#aab6c8; }
.footer-col h5 { font-family: var(--font-body); color:#fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.footer-col a, .footer-col p { display:block; color:#bcc6d6; font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover { color:#fff; }
.socials { display:flex; gap: 12px; margin-top: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display:grid; place-items:center; color:#fff; transition: background .2s, transform .15s; }
.socials a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display:flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color:#8b98ac; }

/* ---------------- Mobile sticky call bar ---------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--navy-900) 96%, transparent);
  backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.14);
}
.callbar a { flex: 1; }
.callbar .btn { width: 100%; min-height: 50px; }
.callbar .btn-dir { background: rgba(255,255,255,.14); color:#fff; }
@media (max-width: 860px){ .callbar { display: flex; } body { padding-bottom: 78px; } }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
