/* Riverside Embroidery Service — site styles */
:root {
  --navy: #14213D;
  --ink: #1C2330;
  --body: #3D4656;
  --muted: #5A6372;
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --accent-soft: #F4A27E;
  --sand: #F4F2EE;
  --sand-deep: #E3DED4;
  --line: #E4E1DA;
  --navy-line: #2E3D5E;
  --navy-text: #C9D0DD;
  --radius: 10px;
  --wrap: 1240px;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 12px 18px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 800; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.25; }
p { margin: 0; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 20px; color: var(--body); max-width: 560px; }
.section { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--body); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 28px; border-radius: 6px;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top bar */
.topbar { background: var(--navy); color: #E9ECF2; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--accent-soft); }
.topbar .phones { display: flex; gap: 20px; flex-wrap: wrap; }

/* Header */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 16px; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav .btn { padding: 12px 22px; min-height: 46px; font-size: 16px; color: #fff; }

.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; border: 1.5px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,33,61,.08); padding: 8px 24px 24px; display: flex; flex-direction: column; }
.menu-panel a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 18px; }
.menu-panel .btn { margin-top: 18px; border-bottom: 0; color: #fff; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
  .header { position: relative; }
}

/* Hero */
.hero { background: var(--sand); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1.5px dashed var(--accent); padding: 6px 14px; border-radius: 999px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--body); margin: 4px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 8px; }
.hero-media { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-media .ph-wide { grid-column: span 2; height: 300px; }
.hero-media .ph { height: 200px; }

/* Photo slots — replace each .ph with <img src="images/..." alt="..." class="photo"> */
.ph {
  border-radius: var(--radius); background: var(--sand-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 20px; color: var(--muted); font-size: 14px;
  background-image: radial-gradient(circle at 1px 1px, rgba(20,33,61,.10) 1px, transparent 0);
  background-size: 14px 14px;
}
.ph svg { opacity: .55; }
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Strip */
.strip { border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: center; justify-content: center; padding-top: 26px; padding-bottom: 26px; font-size: 15px; color: var(--muted); }
.strip strong { color: var(--navy); }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.card .ph { height: 200px; border-radius: 0; }
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.card-body p { color: var(--body); }
.card-body ul { margin: 4px 0 0; padding-left: 20px; color: var(--body); font-size: 16px; }

/* Steps */
.dark { background: var(--navy); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--accent-soft); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { border: 1.5px dashed #5B6B8C; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--accent-soft); line-height: 1; }
.step p { color: var(--navy-text); font-size: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; border-top: 1px solid var(--navy-line); margin-top: 48px; padding-top: 28px; font-size: 16px; color: var(--navy-text); }
.facts strong { color: #fff; }

/* Gallery */
.split-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.split-head .section-head { margin-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery .ph, .gallery .photo { height: 280px; }
.gallery figcaption { font-size: 15px; color: var(--muted); }

/* Reviews */
.sand { background: var(--sand); }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.review p { font-size: 18px; color: var(--ink); }
.review footer { font-size: 15px; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 18px; }

/* Suppliers */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > :first-child { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split > :last-child { flex: 1 1 520px; min-width: 0; }
.suppliers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.suppliers a { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 22px 16px; text-align: center; font-family: var(--display); font-weight: 700; color: var(--navy); transition: border-color .15s, color .15s; }
.suppliers a:hover { border-color: var(--accent); color: var(--accent); }

/* CTA band */
.cta { background: var(--accent); color: #fff; border-radius: 14px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; font-size: clamp(28px, 3vw, 36px); }
.cta p { font-size: 18px; color: #FFF1EA; margin-top: 8px; }
.cta > div:first-child { flex: 1 1 420px; min-width: 0; }

/* Contact */
.contact-list { margin: 28px 0 0; display: grid; grid-template-columns: 110px 1fr; gap: 16px 20px; }
.contact-list dt { font-weight: 600; color: var(--navy); }
.contact-list dd { margin: 0; color: var(--body); }
.map { min-height: 380px; border: 0; width: 100%; border-radius: var(--radius); }

/* Footer */
.footer { background: var(--navy); color: var(--navy-text); font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--accent-soft); }
.footer-bottom { border-top: 1px solid var(--navy-line); padding-top: 20px; padding-bottom: 20px; font-size: 14px; color: #A9B2C3; }

/* Quote page */
.quote-page { background: var(--sand); }
.quote-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 64px; padding-bottom: 96px; }
.form-card { flex: 999 1 600px; min-width: 0; background: #fff; border-radius: 12px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 32px; }
.aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel { background: #fff; border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.panel.navy { background: var(--navy); color: #fff; }
.panel.navy h2 { color: #fff; }
.panel h2 { font-size: 22px; font-weight: 700; }
.panel ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; color: var(--navy-text); font-size: 16px; }
.panel ol strong { color: #fff; }
.panel .big { font-weight: 600; font-size: 18px; text-decoration: none; }
.panel small { display: block; font-size: 15px; color: var(--muted); border-top: 1px dashed #DCD8D0; padding-top: 14px; }

form { display: flex; flex-direction: column; gap: 28px; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
legend { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--navy); padding: 0; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15px; }
.req { color: var(--accent); }
input, select, textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #C9C4BA; border-radius: 6px;
  min-height: 48px; background: #fff; color: var(--ink); width: 100%;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,33,61,.15); }
.drop { border: 2px dashed #C9C4BA; border-radius: 8px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--muted); font-weight: 400; }
.drop input { border: 0; padding: 0; min-height: 0; width: auto; max-width: 100%; font-size: 14px; }
.hint { font-size: 14px; color: var(--muted); font-weight: 400; }
.submit-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.notice { display: none; background: #FFF4EC; border: 1.5px solid var(--accent-soft); border-radius: 8px; padding: 16px 18px; color: var(--ink); }
.notice.show { display: block; }
.hp { position: absolute; left: -9999px; }

/* Thanks page */
.thanks { min-height: 60vh; display: flex; align-items: center; }
.thanks .wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding-top: 96px; padding-bottom: 96px; max-width: 760px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .cta { padding: 40px 24px; }
  .contact-list { grid-template-columns: 1fr; gap: 4px; }
  .contact-list dd { margin-bottom: 14px; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* Trade-first additions */
.logo { height: 58px; width: auto; display: block; }
.glance { flex: 1 1 400px; min-width: 0; background: #fff; border: 2px dashed #CFC8BA; border-radius: 14px; padding: 32px; }
.glance-head { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 18px; }
.glance dl { margin: 0; display: flex; flex-direction: column; }
.glance dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.glance dt { font-weight: 600; color: var(--navy); font-size: 15px; }
.glance dd { margin: 0; color: var(--body); font-size: 16px; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: #FBEDE5; color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.icon.light { background: rgba(244,162,126,.14); color: var(--accent-soft); }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.reason { border: 1.5px dashed #5B6B8C; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.reason p { color: var(--navy-text); font-size: 16px; }
.steps.light .step { border-color: #CFC8BA; }
.steps.light .step-num { color: var(--accent); }
.steps.light .step p { color: var(--body); }
.section:not(.dark) .facts { border-top-color: var(--line); color: var(--body); }
.section:not(.dark) .facts strong { color: var(--navy); }
.local { border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.local > div:first-child { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 600px) {
  .logo { height: 46px; }
  .glance { padding: 24px; }
  .glance dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Photos */
.hero-media img.photo { height: 200px; }
.hero-media img.hero-wide { grid-column: span 2; height: 300px; }
.card-img { width: 100%; height: 210px; object-fit: cover; display: block; }
@media (max-width: 600px) { .hero-media img.hero-wide { height: 220px; } .hero-media img.photo { height: 140px; } }
