/* Sinclair's Warehouse — bright, friendly, red & cream */
:root {
  --red: #d22730;
  --red-dark: #a91d25;
  --yellow: #ffc845;
  --cream: #fff8f0;
  --white: #ffffff;
  --ink: #2b2b2b;
  --ink-soft: #5a5a5a;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(43, 43, 43, 0.10);
  --shadow-lift: 0 10px 28px rgba(43, 43, 43, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--red); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--red);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 0;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 4px 24px;
  align-items: center; justify-content: center;
}
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--yellow); }

header.site {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky; top: 0; z-index: 50;
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  background: var(--red); color: var(--white);
  border-radius: 12px; padding: 6px 12px;
  font-size: 1.5rem; font-weight: 600; line-height: 1.2;
  transform: rotate(-2deg);
  box-shadow: 0 3px 0 var(--red-dark);
}
.brand .name { display: flex; flex-direction: column; }
.brand .name strong {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 1.25rem; color: var(--ink); line-height: 1.15; font-weight: 600;
}
.brand .name span { font-size: 0.78rem; color: var(--ink-soft); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

nav.main { display: flex; gap: 4px; align-items: center; }
nav.main a {
  text-decoration: none; color: var(--ink); font-weight: 800;
  padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s;
}
nav.main a:hover { background: var(--cream); color: var(--red); }
nav.main a.active { background: var(--red); color: var(--white); }
nav.main a.cta { background: var(--yellow); color: var(--ink); }
nav.main a.cta:hover { background: var(--red); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--red);
  border-radius: 10px; padding: 6px 10px; color: var(--red);
  font-size: 1.2rem; font-weight: 900; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 200, 69, .25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .08), transparent 40%);
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
  align-items: center; padding-top: 64px; padding-bottom: 72px;
}
.hero h1 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.12; font-weight: 600;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { margin: 18px 0 26px; font-size: 1.15rem; max-width: 34em; font-weight: 600; opacity: .95; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift);
  transform: rotate(1.5deg); border: 6px solid var(--white);
}
.hero .photo img { width: 100%; height: 100%; object-fit: cover; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 900;
  padding: 13px 26px; border-radius: 999px; font-size: 1rem;
  transition: transform .12s, box-shadow .12s; box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-white { background: var(--white); color: var(--red); }
.btn-red { background: var(--red); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); box-shadow: none; }

/* ---------- Ribbon (tagline) ---------- */
.ribbon {
  background: var(--yellow); color: var(--ink);
  text-align: center; font-weight: 900; padding: 10px 20px; font-size: 1.02rem;
}

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
section.block.alt { background: var(--white); }
.block h2 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600;
  margin-bottom: 8px; color: var(--ink);
}
.block h2 .dot { color: var(--red); }
.block p.sub { color: var(--ink-soft); font-weight: 600; margin-bottom: 30px; max-width: 46em; }

/* value props */
.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.prop {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); border-top: 5px solid var(--red);
}
.prop .emoji { font-size: 2rem; margin-bottom: 10px; }
.prop h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 6px; }
.prop p { color: var(--ink-soft); font-size: .95rem; font-weight: 600; }

/* featured photo strip */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.strip a { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: block; }
.strip img { width: 100%; height: 220px; object-fit: cover; transition: transform .25s; }
.strip a:hover img { transform: scale(1.05); }

/* brands */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; align-items: center; }
.brandcard {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 16px; display: flex; align-items: center; justify-content: center; height: 92px;
}
.brandcard img { max-height: 52px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filters button {
  border: 2px solid var(--red); background: var(--white); color: var(--red);
  font-weight: 900; font-family: inherit; font-size: .95rem;
  padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: all .15s;
}
.filters button:hover { background: var(--cream); }
.filters button.on { background: var(--red); color: var(--white); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.grid figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--white); cursor: zoom-in; position: relative; margin: 0;
}
.grid figure img { width: 100%; height: 240px; object-fit: cover; transition: transform .25s; }
.grid figure:hover img { transform: scale(1.05); }
.grid figure .tag {
  position: absolute; left: 10px; top: 10px;
  background: rgba(255, 255, 255, .92); color: var(--red);
  font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 10px; border-radius: 999px;
}
.grid figure.hide { display: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(20, 10, 10, .92);
  align-items: center; justify-content: center; flex-direction: column; gap: 14px;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1100px); max-height: 80vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox .cap { color: var(--white); font-weight: 700; text-align: center; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: var(--white);
  border: none; font-size: 1.6rem; cursor: pointer; border-radius: 50%;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  transition: background .15s; font-family: inherit;
}
.lightbox button:hover { background: var(--red); }
.lightbox .x { top: 20px; right: 20px; }
.lightbox .prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Locations ---------- */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.loc .map { aspect-ratio: 4 / 3; }
.loc iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc .info { padding: 22px; }
.loc h3 { font-size: 1.2rem; font-weight: 900; color: var(--red); margin-bottom: 6px; }
.loc p { font-weight: 600; color: var(--ink-soft); }
.loc p strong { color: var(--ink); }
.loc .info a.btn { margin-top: 14px; }

.hours {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center;
  margin-top: 26px; border-left: 6px solid var(--yellow);
}
.hours h3 { font-weight: 900; }
.hours p { font-weight: 700; color: var(--ink-soft); }
.hours p strong { color: var(--red); }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.about-wrap .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); border: 6px solid var(--white); transform: rotate(-1.5deg); }
.about-copy p { margin-bottom: 16px; font-size: 1.04rem; }
.about-copy .highlight {
  background: var(--white); border-left: 6px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 22px 0; font-weight: 700; box-shadow: var(--shadow);
}

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h1 { font-family: 'Fredoka','Nunito',sans-serif; font-weight: 600; font-size: 2rem; margin-bottom: 6px; }
.legal .updated { color: var(--ink-soft); font-weight: 700; margin-bottom: 28px; }
.legal h2 { font-size: 1.15rem; font-weight: 900; margin: 28px 0 10px; color: var(--red); }
.legal p, .legal li { margin-bottom: 12px; color: var(--ink); }
.legal ul { padding-left: 24px; margin-bottom: 12px; }

/* ---------- Special order callout ---------- */
.callout {
  background: var(--yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 34px 30px;
  display: flex; flex-wrap: wrap; gap: 20px 32px;
  align-items: center; justify-content: space-between;
}
.callout .text { max-width: 44em; }
.callout h3 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; margin-bottom: 6px;
}
.callout p { font-weight: 700; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white); text-align: center; padding: 52px 20px;
}
.cta-band h2 { font-family: 'Fredoka','Nunito',sans-serif; font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.cta-band p { font-weight: 700; margin-bottom: 22px; opacity: .95; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink); color: #d9d4cd; padding: 46px 0 30px; font-size: .95rem;
}
footer.site .cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px; margin-bottom: 30px;
}
footer.site h4 { color: var(--white); font-weight: 900; margin-bottom: 12px; }
footer.site a { color: #d9d4cd; text-decoration: none; }
footer.site a:hover { color: var(--yellow); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; font-weight: 600; }
footer.site .social { display: flex; gap: 12px; margin-top: 6px; }
footer.site .social a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1);
  transition: background .15s;
}
footer.site .social a:hover { background: var(--red); }
footer.site .social svg { width: 20px; height: 20px; fill: currentColor; }
footer.site .fine {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px;
  font-size: .82rem; color: #a8a29a; font-weight: 600;
}
footer.site .fine p { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 52px; }
  .hero .photo { display: none; }
  .locs { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-wrap .photo { max-width: 480px; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px 20px 18px; box-shadow: var(--shadow-lift); gap: 6px;
  }
  nav.main.open { display: flex; }
  nav.main a { text-align: center; }
  .nav-toggle { display: block; }
}
