/* ============================================================
   Little Red's Property & Marketing — shared stylesheet
   ============================================================ */

:root {
  --red: #C8000A;
  --red-dark: #8C0007;
  --red-tint: #FBEAE9;
  --ink: #262322;
  --ink-soft: #5B5652;
  --paper: #FAF7F4;
  --paper-2: #F1ECE7;
  --line: #E4DDD6;
  --white: #FFFFFF;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  text-wrap: pretty;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; margin: 0; }

p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 72px;
}

.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--red);
}

.italic-serif { font-family: 'EB Garamond', Georgia, serif; font-style: italic; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 3px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: var(--white); color: var(--ink); }

/* ---------- Header / Nav ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 72px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); display: block; }

.nav-wrap { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nav-link.active { font-weight: 700; color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.nav-cta { padding: 12px 26px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #1C1A19; padding: 40px 72px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ---------- Cards / components ---------- */
.corner-frame { position: relative; }
.corner-frame::before, .corner-frame::after { content: ""; position: absolute; width: 30px; height: 30px; pointer-events: none; }
.corner-frame::before { top: -9px; left: -9px; border-top: 3px solid var(--red); border-left: 3px solid var(--red); border-top-left-radius: 10px; }
.corner-frame::after { bottom: -9px; right: -9px; border-bottom: 3px solid var(--red); border-right: 3px solid var(--red); border-bottom-right-radius: 10px; }

.check-row { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

.cta-band { padding: 72px; text-align: center; }
.cta-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.cta-band.dark { background: var(--ink); }
.cta-band.dark h2 { color: var(--white); }
.cta-band.light { background: var(--paper); }
.cta-band.light h2 { color: var(--ink); }

/* ---------- Page header w/ photo background ---------- */
.page-header-photo {
  position: relative;
  padding: 96px 72px;
  text-align: center;
  background: var(--ink);
  overflow: hidden;
}
.page-header-photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-header-photo .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,26,25,0.72) 0%, rgba(28,26,25,0.5) 50%, rgba(28,26,25,0.78) 100%);
}
.page-header-photo .top-stripe { position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--red); }
.page-header-photo .content { position: relative; z-index: 2; }
.page-header-photo h1 { color: var(--white); font-size: 44px; font-weight: 800; margin-top: 16px; }
.page-header-photo p { color: rgba(255,255,255,0.82); font-size: 17px; line-height: 1.6; max-width: 620px; margin: 20px auto 0 auto; }

/* ---------- Grid helpers ---------- */
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }

/* ---------- Two-column split sections (hero, page headers, contact) ---------- */
.split-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; background: var(--white); }
.split-header { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); align-items: stretch; background: var(--white); }
.split-contact { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 80px; }
.split-hero > *, .split-header > *, .split-contact > * { min-width: 0; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .grid-12 > * { min-width: 0; }

/* ---------- Contact section + About hero (fixed-padding wrappers) ---------- */
.contact-wrap { background: var(--ink); padding: 96px 72px; }
.contact-form-box { background: var(--white); border-radius: 6px; padding: 48px; }
.about-hero { position: relative; background: var(--ink); padding: 160px 72px 180px 72px; overflow: hidden; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .container { padding: 0 40px; }
  .site-header { padding: 18px 24px; }
  .nav-toggle { display: flex; }
  .nav-wrap {
    position: fixed;
    top: 82px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }
  .nav-wrap.open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-link { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-link.active { border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; width: 100%; }

  .site-header, .cta-band, .page-header-photo, .footer, .site-footer { padding-left: 24px; padding-right: 24px; }

  .grid-12 > div,
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .split-hero, .split-header, .split-contact { grid-template-columns: 1fr; gap: 0; }
  .split-hero > div:first-child, .split-header > div:first-child { padding: 56px 24px !important; }
  .split-hero > div:last-child, .split-header > div:last-child { min-height: 280px; }
  .split-contact { gap: 40px; }

  .contact-wrap { padding: 56px 24px; }
  .contact-form-box { padding: 32px; }
  .about-hero { padding: 110px 24px 130px; }
  .about-hero h1 { font-size: 26px !important; }
  .about-hero > div > p.italic-serif:first-of-type { font-size: 22px !important; }
  .about-hero > div > p:not(.italic-serif) { font-size: 16px !important; }

  h1 { font-size: 34px !important; }
  .page-header-photo h1 { font-size: 32px !important; }

  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .site-header { padding: 16px 20px; }
  .site-header, .cta-band, .page-header-photo, .site-footer { padding-left: 20px; padding-right: 20px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 20px; }
  .cta-band h2 { font-size: 22px; }
  .page-header-photo { padding: 64px 20px; }
  .btn { padding: 14px 22px; font-size: 14px; }

  .split-hero > div:first-child, .split-header > div:first-child { padding: 44px 20px !important; }
  .split-contact form > div[style*="grid-template-columns"],
  .split-contact .grid-2 { grid-template-columns: 1fr !important; gap: 16px !important; }

  .contact-wrap { padding: 44px 18px; }
  .contact-form-box { padding: 24px 20px; }
  .about-hero { padding: 80px 18px 96px; }
  .about-hero h1 { font-size: 22px !important; }
  .about-hero > div > p.italic-serif:first-of-type { font-size: 19px !important; }
  .about-hero > div > p:not(.italic-serif) { font-size: 15px !important; }
  .about-hero img { object-fit: contain !important; object-position: center top !important; }
}
