/* ==========================================================================
   BRAND TOKENS. Drew's colors go here and nowhere else.
   --accent      buttons, highlights, step numbers
   --accent-ink  text on top of --accent
   --deep        dark sections, header text, headings
   --paper       page background
   ========================================================================== */
:root {
  --accent: #F26A1B;
  --accent-ink: #FFFFFF;
  --accent-soft: #FDE7D9;
  --deep: #0F1B2D;
  --deep-2: #172842;
  --paper: #FAF6EF;
  --card: #FFFFFF;
  --ink: #0F1B2D;
  --muted: #5B6472;
  --line: #E7DFD2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .08);
  --shadow-lg: 0 2px 4px rgba(15, 27, 45, .08), 0 24px 48px rgba(15, 27, 45, .18);
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Bradley Hand", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hl { color: var(--accent); }
.opt { font-weight: 500; color: var(--muted); font-size: .85em; }

.kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.kicker-light { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--font-body);
  padding: 17px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-ghost { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn-ghost:hover { background: var(--deep); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.topbar-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--deep); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--deep); color: #fff;
  font: 800 1.35rem/1 var(--font-display);
  box-shadow: inset 0 -4px 0 var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 800 1.12rem/1.1 var(--font-display); letter-spacing: -0.01em; }
.brand-text small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--deep); opacity: .8; }
.nav a:hover { opacity: 1; color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  z-index: -1;
}
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.3rem); font-weight: 800; letter-spacing: -0.035em; color: var(--deep); }
.hero h1 .hl { display: inline-block; position: relative; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .12em;
  background: var(--accent); opacity: .22; border-radius: 99px;
}
.season {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: .86rem; font-weight: 600; color: var(--deep); text-decoration: none; box-shadow: var(--shadow);
}
.season:hover { border-color: var(--accent); }
.season-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.lede { font-size: 1.2rem; color: var(--muted); margin-top: 22px; max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { font-weight: 600; font-size: .95rem; color: var(--deep); display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}

.hero-photos { position: relative; height: 560px; }
.polaroid {
  margin: 0; background: #fff; padding: 10px 10px 0; border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.polaroid img { border-radius: 2px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.polaroid figcaption { font: 600 1.45rem/1 var(--font-hand); color: #3a3a3a; text-align: center; padding: 10px 0 14px; }
.hero-photos .polaroid { position: absolute; width: 54%; transition: transform .35s ease; }
.p-a { left: 0; top: 40px; transform: rotate(-7deg); z-index: 1; }
.p-b { left: 25%; top: 0; transform: rotate(3deg); z-index: 3; }
.p-c { right: 0; top: 110px; transform: rotate(9deg); z-index: 2; }
.hero-photos:hover .p-a { transform: rotate(-10deg) translateX(-12px); }
.hero-photos:hover .p-c { transform: rotate(12deg) translateX(12px); }

/* ---------- marquee ---------- */
.marquee { background: var(--deep); color: #fff; overflow: hidden; padding: 18px 0; border-block: 4px solid var(--accent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 800 clamp(1.3rem, 2.6vw, 2rem)/1 var(--font-display); letter-spacing: -0.01em; padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: "\2605"; color: var(--accent); font-size: .7em; margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-lede { font-size: 1.12rem; color: var(--muted); max-width: 44rem; margin-top: 16px; }
.section-dark { background: var(--deep); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .section-lede { color: rgba(255, 255, 255, .72); }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.svc svg {
  width: 46px; height: 46px; padding: 10px; border-radius: 12px;
  background: var(--accent-soft); stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 18px;
}
.svc h3 { color: var(--deep); margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: .96rem; line-height: 1.55; }
.svc-cta { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); text-decoration: none; display: flex; flex-direction: column; }
.svc-cta h3, .svc-cta p { color: var(--accent-ink); }
.svc-cta p { opacity: .92; }
.svc-arrow { margin-top: auto; padding-top: 18px; font-weight: 700; }

/* photo wall */
.wall { columns: 4 230px; column-gap: 20px; margin-top: 48px; }
.wall-item {
  break-inside: avoid; margin: 0 0 22px; display: block; width: 100%;
  background: #fff; padding: 8px 8px 30px; border-radius: 3px; border: 0; cursor: zoom-in;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transform: rotate(var(--r, 0deg));
  transition: transform .25s ease, box-shadow .25s ease;
}
.wall-item:hover, .wall-item:focus-visible { transform: rotate(0deg) scale(1.03); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); z-index: 2; position: relative; outline: none; }
.wall-item img { width: 100%; border-radius: 2px; background: #e9e4dc; }
.wall-item.extra { display: none; }
.wall.open .wall-item.extra { display: block; }
.wall-more { display: flex; justify-content: center; margin-top: 18px; }
.wall-more .btn { border-color: rgba(255, 255, 255, .5); color: #fff; }
.wall-more .btn:hover { background: #fff; color: var(--deep); }

/* testimonials (renders only when testimonials.js has real quotes) */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 56px; }
.tcard { background: var(--deep-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 26px; }
.tcard blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.tcard blockquote::before { content: "\201C"; display: block; font: 800 3rem/0.8 var(--font-display); color: var(--accent); margin-bottom: 8px; }
.tcard cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); position: relative; }
.step-n {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font: 800 1.5rem/1 var(--font-display); margin-bottom: 20px;
}
.steps h3 { color: var(--deep); margin-bottom: 8px; font-size: 1.3rem; }
.steps p { color: var(--muted); }

/* quote / form */
.section-quote { background: linear-gradient(180deg, var(--paper), var(--accent-soft)); }
.quote-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.quote-copy h2 { color: var(--deep); }
.quote-polaroid { width: 62%; max-width: 300px; margin-top: 40px; transform: rotate(-4deg); }
.form {
  background: var(--card); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.form-body { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 600; font-size: .92rem; color: var(--deep); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.3 var(--font-body); color: var(--ink);
  padding: 14px 14px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field .invalid, .field input.invalid, .field select.invalid { border-color: #D93025; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.chips legend { font-weight: 700; color: var(--deep); margin-bottom: 12px; padding: 0; font-size: 1rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips label span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .95rem; background: #fff; transition: all .15s ease; user-select: none;
}
.chips input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.chips.invalid label span { border-color: #D93025; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.consent.invalid span { color: #D93025; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #B3261E; font-weight: 600; font-size: .95rem; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success .big { font: 800 2.6rem/1 var(--font-display); color: var(--accent); margin-bottom: 12px; }
button[disabled] { opacity: .65; cursor: progress; }

/* footer */
.footer { background: var(--deep); color: rgba(255, 255, 255, .75); padding: 44px 0; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.brand-foot { color: #fff; }
.brand-foot .brand-mark { background: var(--accent); box-shadow: none; }
.brand-foot small { color: rgba(255, 255, 255, .6); }
.foot-links { margin-left: auto; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-copy { width: 100%; font-size: .85rem; color: rgba(255, 255, 255, .5); }

/* sticky mobile CTA */
.sticky-cta { display: none; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 14, 24, .88); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border: 10px solid #fff; border-radius: 4px; }
.lb-close {
  position: fixed; top: 16px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #fff; color: var(--deep); font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; }
  .hero-photos { height: 440px; max-width: 560px; width: 100%; margin: 8px auto 0; }
  .quote-in { grid-template-columns: 1fr; gap: 36px; }
  .quote-polaroid { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .topbar .btn-sm { margin-left: auto; padding: 10px 14px; font-size: .85rem; }
  .topbar-in { height: 62px; gap: 12px; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.2rem; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: .66rem; }
  .hero { padding: 36px 0 48px; }
  .lede { font-size: 1.08rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-photos { height: 340px; }
  .hero-photos .polaroid { width: 52%; }
  .polaroid figcaption { font-size: 1.15rem; padding: 7px 0 10px; }
  .section { padding: 68px 0; }
  .services { grid-template-columns: 1fr; gap: 14px; }
  .svc { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
  .svc svg { margin: 0; grid-row: span 2; }
  .svc h3 { margin-bottom: 4px; }
  .svc-cta { display: flex; }
  .wall { columns: 2; column-gap: 12px; }
  .wall-item { padding: 5px 5px 18px; margin-bottom: 14px; }
  .steps { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; border-radius: 16px; }
  .sticky-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 60; transition: transform .25s ease, opacity .25s ease;
    transform: translateY(140%); opacity: 0; pointer-events: none;
  }
  .sticky-cta.show { transform: none; opacity: 1; pointer-events: auto; }
  .foot-links { margin-left: 0; }
  .footer { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  * { transition: none !important; }
}
