/* ==========================================================
   The Daily Scoop Co. — shared styles
   Palette pulled from the logo: cream, cherry red, blue, gold.
   ========================================================== */

:root {
  --cream: #F7EFD9;
  --paper: #FCF8EC;
  --red: #9C2E22;
  --red-bright: #C0392B;
  --red-dark: #7C2419;
  --blue: #3B5A6B;
  --blue-dark: #2B4452;
  --gold: #E8A33D;
  --ink: #3B2A20;
  --ink-soft: #6B5646;
  --line: #E4D8B8;
  --radius: 10px;
  --shadow: 0 2px 0 rgba(59,42,32,0.06), 0 12px 28px -14px rgba(59,42,32,0.28);
  --font-display: 'Alfa Slab One', Georgia, serif;
  --font-body: 'Bitter', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; color: var(--red-dark); }
h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px; display: block;
}
.lede { font-size: 19px; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Awning stripe (signature element) ---------- */
.awning {
  height: 22px;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0,0 L40,0 L20,22 Z' fill='%23C0392B'/%3E%3Cpath d='M40,0 L80,0 L60,22 Z' fill='%233B5A6B'/%3E%3Cpath d='M80,0 L120,0 L100,22 Z' fill='%23E8A33D'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 120px 22px;
}
.awning.flip { transform: scaleY(-1); }

/* ---------- Header / nav ---------- */
.site-header { background: var(--paper); border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 20; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 22px; max-width: 1060px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--red-dark); }
.brand svg { width: 38px; height: 38px; flex-shrink: 0; }
.brand .name { font-family: var(--font-display); font-size: 21px; line-height: 1.05; }
.brand .name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
nav.main { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
nav.main a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink);
  padding: 8px 14px; border-radius: 999px; border: 2px solid transparent;
}
nav.main a:hover { background: var(--cream); }
nav.main a[aria-current="page"] { border-color: var(--blue); color: var(--blue-dark); }
nav.main a.cta { background: var(--red); color: var(--cream); }
nav.main a.cta:hover { background: var(--red-dark); }
nav.main a.cta[aria-current="page"] { border-color: var(--gold); }

@media (max-width: 640px) {
  .site-header .bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  nav.main { justify-content: flex-start; }
  nav.main a { padding: 7px 12px; font-size: 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer; border: 3px solid var(--gold);
  background: var(--red); color: var(--cream); padding: 13px 26px; border-radius: 8px;
  box-shadow: 4px 4px 0 var(--blue); transition: transform .12s, box-shadow .12s;
}
.btn:hover { color: var(--cream); background: var(--red-dark); transform: translate(-1px,-1px); box-shadow: 6px 6px 0 var(--blue); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--blue); }
.btn.alt { background: var(--paper); color: var(--red-dark); border-color: var(--red); }
.btn.alt:hover { background: #fff; color: var(--red-dark); }

/* ---------- Photo slots (placeholders you swap for real pictures) ---------- */
.photo-slot {
  position: relative; margin: 0; overflow: hidden;
  border: 2.5px dashed var(--blue); border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(59,90,107,0.06) 0 14px, rgba(59,90,107,0.0) 14px 28px),
    var(--paper);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--blue-dark); aspect-ratio: 4 / 3;
}
.photo-slot.tall { aspect-ratio: 3 / 4; }
.photo-slot.wide { aspect-ratio: 16 / 10; }
.photo-slot.square { aspect-ratio: 1 / 1; }
.photo-slot .hint { padding: 16px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.photo-slot .hint svg { display: block; margin: 0 auto 8px; width: 34px; height: 34px; opacity: .75; }
.photo-slot .hint span { display: block; font-weight: 400; font-size: 12.5px; opacity: .8; margin-top: 4px; }
/* Once a real <img> is dropped inside a slot, it fills the frame and the dashed look goes away */
.photo-slot:has(img) { border: 0; background: none; box-shadow: var(--shadow); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home: hero ---------- */
.hero { padding: 54px 0 64px; }
.hero .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.hero h1 .accent { color: var(--blue); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero .perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 15px; }
.hero .perks li::before { content: "★"; color: var(--gold); margin-right: 7px; }
@media (max-width: 800px) { .hero .grid { grid-template-columns: 1fr; } .hero { padding: 36px 0 44px; } .hero .photo-slot { max-width: 400px; } }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.block.blue { background: var(--blue); color: var(--cream); }
section.block.blue h2, section.block.blue h3 { color: var(--cream); }
section.block.blue .eyebrow { color: var(--gold); }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; box-shadow: var(--shadow); }
.paper .step { background: #fff; }
.step .num {
  font-family: var(--font-display); font-size: 22px; color: var(--cream); background: var(--red);
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--gold); margin-bottom: 14px;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review .stars { color: var(--gold); letter-spacing: 3px; font-size: 20px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 16.5px; flex: 1; }
.review .who { font-weight: 700; font-size: 14.5px; color: var(--blue-dark); }
.review .who span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13.5px; }
.review.placeholder { border-style: dashed; border-color: var(--blue); background: var(--paper); }
.review.placeholder blockquote { color: var(--ink-soft); font-style: italic; }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- About / bio ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: center; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 28px; } .about .photo-slot { max-width: 340px; } }

/* ---------- Chips (service area) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { border: 2px solid var(--gold); background: rgba(247,239,217,0.1); color: var(--cream); padding: 6px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 64px 0; }
.cta-band p { max-width: 50ch; margin: 0 auto 24px; color: var(--ink-soft); font-size: 18px; }

/* ---------- Page header for inner pages ---------- */
.page-head { padding: 46px 0 30px; }
.page-head h1 { font-size: clamp(32px, 5.5vw, 48px); }

/* ---------- Quote form ---------- */
.form-card { background: #fff; border: 2px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px 30px 34px; margin-bottom: 70px; }
fieldset { border: 0; border-top: 2px dashed var(--line); margin: 0; padding: 26px 0 6px; }
fieldset:first-of-type { border-top: 0; }
legend {
  font-family: var(--font-display); color: var(--red-dark); font-size: 22px; padding: 0 12px 0 0;
  display: flex; align-items: center; gap: 12px; float: left; width: 100%; margin-bottom: 18px;
}
legend .n { font-size: 15px; background: var(--red); color: var(--cream); width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--gold); flex-shrink: 0; }
fieldset > *:not(legend) { clear: both; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row.three { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 640px) { .row, .row.three { grid-template-columns: 1fr; gap: 0; } .form-card { padding: 4px 18px 26px; } }
.field { margin-bottom: 18px; }
label.lbl, .lbl { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.lbl .req { color: var(--red-bright); }
.lbl .opt { font-weight: 400; color: var(--ink-soft); font-size: 13.5px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 2px solid var(--line); border-radius: 8px; padding: 11px 13px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(59,90,107,0.35); border-color: var(--blue); }
.help { font-size: 13.5px; color: var(--ink-soft); margin-top: 5px; }

/* Choice cards (radios) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span {
  display: block; height: 100%; padding: 13px 15px; border: 2px solid var(--line); border-radius: 8px;
  background: var(--paper); font-weight: 600; font-size: 15.5px; line-height: 1.3;
}
.choice span small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.choice input:hover + span { border-color: var(--blue); }
.choice input:checked + span { border-color: var(--red); background: #FBEDE6; box-shadow: inset 0 0 0 1px var(--red); }
.choice input:focus-visible + span { outline: 3px solid rgba(59,90,107,0.45); outline-offset: 2px; }

.submit-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.submit-row .note { font-size: 14px; color: var(--ink-soft); max-width: 44ch; }
.thanks { display: none; margin-top: 26px; padding: 22px; border: 2.5px solid var(--blue); border-radius: var(--radius); background: #EAF1F4; }
.thanks.show { display: block; }
.thanks h3 { color: var(--blue-dark); }
.thanks textarea { background: #fff; min-height: 150px; font-size: 14.5px; }
.thanks .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 26px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 2px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 26px; }
.contact-card h3 { margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list .k { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; display: block; }
.contact-list a { font-weight: 700; font-size: 18px; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .val { font-weight: 700; font-size: 18px; }
.contact-list [hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--red-dark); color: var(--cream); margin-top: 0; }
.site-footer .inner { max-width: 1060px; margin: 0 auto; padding: 38px 22px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { font-family: var(--font-display); font-weight: 400; font-size: 18px; margin: 0 0 10px; color: var(--gold); }
.site-footer p { margin: 0 0 8px; font-size: 15px; opacity: .92; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { max-width: 1060px; margin: 0 auto; padding: 14px 22px 22px; border-top: 1px solid rgba(247,239,217,0.2); font-size: 13px; opacity: .75; }
@media (max-width: 700px) { .site-footer .inner { grid-template-columns: 1fr; gap: 22px; } }

/* If no social links are set, let the contact card use the full width */
.contact-grid:has([data-social-group][hidden]) { grid-template-columns: 1fr; }
