/* My Iron Door Company — shared city landing-page styles.
   Matches the main site design system: Fraunces + Manrope, ivory/ink/teal palette,
   light sections alternating with ink dark bands, gold eyebrows, teal CTAs. */

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

:root {
  --ink: #101413;
  --ink-2: #27312f;
  --teal: #0e5652;
  --teal-2: #1d7771;
  --ivory: #f7f2e8;
  --paper: #fffaf0;
  --sand: #dfd0b6;
  --stone: #a79b87;
  --copper: #b97b4a;
  --gold: #f4c98f;
  --line: rgba(16, 20, 19, 0.13);
  --line-light: rgba(247, 242, 232, 0.14);
  --shadow: 0 28px 80px rgba(16, 20, 19, 0.18);
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --page-x: clamp(18px, 5vw, 72px);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--teal-2); font-variation-settings: "SOFT" 60; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ANNOUNCE BAR */
.announce {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center;
  min-height: 38px; padding: 8px var(--page-x);
  background: var(--ink); color: var(--ivory);
  font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
}
.announce span:nth-child(2) { color: var(--gold); }
.announce span:last-child { text-align: right; }
@media (max-width: 680px) { .announce { grid-template-columns: 1fr; }
  .announce span:first-child, .announce span:last-child { display: none; }
  .announce span:nth-child(2) { text-align: center; } }

/* HEADER / NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 3vw, 32px); padding: 14px var(--page-x);
  background: rgba(247, 242, 232, 0.9); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { width: clamp(150px, 16vw, 200px); height: auto; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav-links a { color: var(--ink-2); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--line); padding: 11px 18px; transition: all 0.2s;
}
.nav-cta:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 22px; border: 1px solid transparent;
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-2); border-color: var(--teal-2); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--ivory); border-color: rgba(247,242,232,0.4); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
/* ghost button on light surfaces */
.on-light .btn-ghost, .location-detail .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); backdrop-filter: none; }
.on-light .btn-ghost:hover, .location-detail .btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: transparent; }

/* HERO — dark band with door-photo background */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: #0d0c0a; color: var(--ivory);
  padding: clamp(96px, 14vw, 184px) var(--page-x) clamp(64px, 9vw, 116px);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(13,12,10,0.94) 0%, rgba(13,12,10,0.74) 46%, rgba(13,12,10,0.5) 72%, rgba(13,12,10,0.82) 100%),
    linear-gradient(180deg, rgba(13,12,10,0.45) 0%, transparent 30%, rgba(13,12,10,0.6) 100%);
}
.hero > *:not(.hero-bg) { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px; text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 104px); line-height: 0.92; color: var(--ivory);
  max-width: 16ch; margin-bottom: 24px; font-variation-settings: "SOFT" 50;
  text-shadow: 0 4px 30px rgba(0,0,0,0.55);
}
.hero h1 em { color: var(--gold); }
.hero-sub {
  font-size: clamp(15px, 1.5vw, 19px); color: rgba(247,242,232,0.84);
  max-width: 58ch; margin-bottom: 38px; line-height: 1.62;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: clamp(24px, 5vw, 64px); margin-top: 56px; padding-top: 38px;
  border-top: 1px solid rgba(247,242,232,0.18); flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; gap: 5px; }
.hero-stats b { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); color: var(--gold); font-weight: 600; line-height: 1; }
.hero-stats span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247,242,232,0.6); }

/* BREADCRUMB */
.breadcrumb { padding: 16px var(--page-x); font-size: 12px; color: rgba(16,20,19,0.5); letter-spacing: 0.04em; background: var(--ivory); }
.breadcrumb a:hover { color: var(--teal); text-decoration: underline; }

/* SECTIONS */
section { padding: clamp(70px, 10vw, 130px) var(--page-x); }
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--copper); margin-bottom: 16px; font-weight: 800; }
.section-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-heading { font-size: clamp(34px, 5vw, 68px); margin-bottom: 18px; max-width: 18ch; font-variation-settings: "SOFT" 60; }
.section-lede { font-size: clamp(16px, 1.4vw, 19px); color: rgba(16,20,19,0.66); max-width: 60ch; line-height: 1.6; margin-bottom: 48px; }

/* INVENTORY GRID */
.inventory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.door-card { background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.door-card:hover { border-color: rgba(14,86,82,0.4); transform: translateY(-3px); box-shadow: var(--shadow); }
.door-card-media { aspect-ratio: 3/4; overflow: hidden; background: #ece4d6; }
.door-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.door-card:hover .door-card-media img { transform: scale(1.04); }
.door-card-body { padding: 20px 22px 24px; }
.door-card-tag { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); font-weight: 800; margin-bottom: 10px; }
.door-card-name { font-family: var(--display); font-size: 25px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.door-card-spec { font-size: 12.5px; color: rgba(16,20,19,0.6); line-height: 1.6; margin-bottom: 16px; }
.door-card-price { font-family: var(--display); font-size: 27px; color: var(--teal); font-weight: 600; }
.door-card-price span { font-family: var(--body); font-size: 11px; color: rgba(16,20,19,0.45); font-weight: 600; letter-spacing: 0.04em; margin-left: 5px; text-transform: uppercase; }

/* DARK SECTIONS */
.dark-section { background: var(--ink); color: var(--ivory); }
.dark-section .section-heading { color: var(--ivory); }
.dark-section .section-eyebrow { color: var(--gold); }
.dark-section .section-lede { color: rgba(247,242,232,0.7); }
.dark-section em, .cta-band em, .proof-band b, footer em { color: var(--gold); }

/* WHY GRID */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px; }
.why-item b { font-family: var(--display); font-size: 22px; font-weight: 600; display: block; margin-bottom: 9px; color: var(--gold); }
.why-item p { font-size: 14px; color: rgba(247,242,232,0.66); line-height: 1.66; }

/* PROOF BAND */
.proof-band { display: flex; gap: clamp(32px, 6vw, 84px); flex-wrap: wrap; padding: clamp(44px, 6vw, 76px) var(--page-x); background: var(--ink-2); color: var(--ivory); }
.proof-band div { display: flex; flex-direction: column; gap: 5px; }
.proof-band b { font-family: var(--display); font-size: clamp(32px, 5vw, 50px); color: var(--gold); font-weight: 600; line-height: 1; }
.proof-band span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,242,232,0.6); }

/* LOCATION */
.location-box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 720px) { .location-box { grid-template-columns: 1fr; } }
.location-detail h3 { font-family: var(--display); font-size: 28px; font-weight: 600; margin-bottom: 14px; }
.location-detail p { font-size: 14.5px; color: rgba(16,20,19,0.66); line-height: 1.75; margin-bottom: 10px; }
.location-detail a { color: var(--teal); font-weight: 600; }
.location-detail a:hover { text-decoration: underline; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 20px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); color: rgba(16,20,19,0.66); }
.hours-table td:first-child { color: var(--ink); font-weight: 700; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-light); padding: 24px 0; }
.faq-q { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 11px; color: var(--ivory); }
.faq-a { font-size: 14.5px; color: rgba(247,242,232,0.7); line-height: 1.76; }

/* CTA BAND */
.cta-band { background: var(--ink); color: var(--ivory); text-align: center; padding: clamp(70px, 9vw, 110px) var(--page-x); }
.cta-band .section-eyebrow { justify-content: center; color: var(--gold); }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 72px); margin: 0 auto 18px; max-width: 16ch; color: var(--ivory); }
.cta-band p { font-size: 15.5px; color: rgba(247,242,232,0.7); max-width: 52ch; margin: 0 auto 36px; line-height: 1.6; }
.cta-band .hero-actions { justify-content: center; }

/* FOOTER */
footer { background: var(--ink); color: var(--ivory); padding: 64px var(--page-x) 36px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { footer { grid-template-columns: 1fr; gap: 32px; } }
footer img { width: 200px; height: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.92; }
footer > div > p { font-size: 13.5px; color: rgba(247,242,232,0.6); line-height: 1.75; max-width: 42ch; }
footer h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(247,242,232,0.45); margin-bottom: 16px; font-family: var(--body); font-weight: 800; }
footer a { font-size: 13.5px; color: rgba(247,242,232,0.66); display: block; margin: 9px 0; transition: color 0.2s; }
footer a:hover { color: var(--gold); }
.footer-legal { grid-column: 1 / -1; padding-top: 30px; margin-top: 8px; border-top: 1px solid var(--line-light); font-size: 11px; color: rgba(247,242,232,0.4); letter-spacing: 0.02em; }
