/* ========================
   IRON & OAK FENCE CO — CSS
   ======================== */

:root {
  --bg: #faf7f2;
  --bg-warm: #f5f0e8;
  --iron: #1c1c1c;
  --iron-mid: #2e2e2e;
  --oak: #c87a2f;
  --oak-light: #e8a04a;
  --oak-muted: rgba(200, 122, 47, 0.15);
  --text: #1c1c1c;
  --text-mid: #4a4440;
  --text-light: #8a7d72;
  --border: rgba(28, 28, 28, 0.12);
  --white: #ffffff;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography helpers ── */
h1, h2, h3, h4 {
  font-family: 'Bitter', serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(to bottom, rgba(250, 247, 242, 0.95) 0%, rgba(250, 247, 242, 0) 100%);
}
.nav__brand {
  font-family: 'Bitter', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav__logo-iron { color: var(--iron); }
.nav__logo-amp { color: var(--oak); margin: 0 1px; }
.nav__logo-oak { color: var(--oak); }
.nav__tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

/* Atmospheric gradient: iron-dark top to warm amber base */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(28, 28, 28, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(200, 122, 47, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-warm) 100%);
  z-index: 0;
}

/* Iron bar pattern — subtle vertical lines */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(28, 28, 28, 0.03) 80px,
    rgba(28, 28, 28, 0.03) 81px
  );
}

/* Warm glow at bottom — like golden hour light */
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(200, 122, 47, 0.06) 0%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.hero__eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--oak);
}
.hero__eyebrow-text {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}

.hero__headline {
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}
.hero__headline-iron { color: var(--iron); }
.hero__headline-crafted { color: var(--text-mid); font-style: italic; font-weight: 400; padding-left: 2px; }
.hero__headline-oak { color: var(--oak); }

.hero__sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero__details {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero__detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 28px;
}
.hero__detail:first-child { padding-left: 0; }
.hero__detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}
.hero__detail-value {
  font-family: 'Bitter', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--iron);
}
.hero__detail-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.hero__scroll-cue {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  writing-mode: vertical-rl;
}
.hero__scroll-arrow {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--oak), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── MATERIAL SECTION ── */
.material {
  padding: 120px 48px;
  background: var(--iron);
  color: var(--white);
  position: relative;
}

.material__label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 500;
  margin-bottom: 48px;
}

.material__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 64px;
}

.material__column {
  padding: 48px 48px 48px 0;
}
.material__column--iron {
  padding-right: 64px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.material__column--oak {
  padding-left: 64px;
}

.material__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--oak);
}
.material__icon svg { width: 100%; height: 100%; }

.material__title {
  font-family: 'Bitter', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.material__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  font-weight: 300;
}

.material__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.material__list li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  padding-left: 16px;
  position: relative;
  font-weight: 400;
}
.material__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oak);
}

.material__quote {
  max-width: 680px;
}
.material__quote blockquote {
  font-family: 'Bitter', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  font-weight: 400;
}

/* ── PROCESS ── */
.process {
  padding: 120px 48px;
  background: var(--bg);
}

.process__header {
  display: flex;
  align-items: baseline;
  gap: 32px;
  margin-bottom: 72px;
  max-width: 800px;
}

.process__label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 500;
  flex-shrink: 0;
}

.process__title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--iron);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.process__step {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--border);
}
.process__step:last-child { border-right: none; }
.process__step:not(:first-child) { padding-left: 32px; }

.process__step-num {
  font-family: 'Bitter', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(28, 28, 28, 0.08);
  line-height: 1;
  margin-bottom: 20px;
}

.process__step-title {
  font-family: 'Bitter', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--iron);
  margin-bottom: 12px;
}

.process__step-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 300;
}

/* ── REGIONS ── */
.regions {
  padding: 120px 48px;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

/* Large ghost text */
.regions__bg-text {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: 'Bitter', serif;
  font-size: 18vw;
  font-weight: 700;
  color: rgba(28, 28, 28, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.regions__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.regions__label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 500;
  margin-bottom: 24px;
}

.regions__title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--iron);
  margin-bottom: 20px;
  line-height: 1.15;
}

.regions__desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 300;
}

.regions__areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-self: start;
}

.regions__area {
  font-family: 'Bitter', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--iron);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 20px;
}
.regions__area::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--oak);
  border-radius: 50%;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 48px;
  background: var(--iron);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.closing__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 500;
  margin-bottom: 24px;
}

.closing__headline {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
}

.closing__body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

.closing__vision-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  margin-bottom: 20px;
}

.closing__vision-text {
  font-family: 'Bitter', serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* ── FOOTER ── */
.footer {
  padding: 48px 48px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.footer__brand {
  font-family: 'Bitter', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
}
.footer__brand-iron { color: var(--iron); }
.footer__brand-amp { color: var(--oak); margin: 0 1px; }
.footer__brand-oak { color: var(--oak); }
.footer__brand-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 4px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
}

.footer__location {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 500;
  margin-bottom: 8px;
}
.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 300;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--text-light);
}
.footer__credit {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(2) { border-right: none; }
  .process__step:nth-child(3) { border-right: 1px solid var(--border); }
  .process__step:nth-child(4) { border-right: none; }
  .process__step:nth-child(3),
  .process__step:nth-child(4) { padding-top: 40px; }
  .closing { grid-template-columns: 1fr; gap: 48px; }
  .regions__content { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero__headline { font-size: 2.8rem; }
  .hero__details { flex-wrap: wrap; gap: 16px; }
  .hero__detail-divider { display: none; }
  .hero__detail { padding: 0; }
  .hero__scroll-cue { display: none; }

  .material { padding: 80px 24px; }
  .material__columns { grid-template-columns: 1fr; }
  .material__column--iron { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-right: 0; padding-bottom: 40px; margin-bottom: 0; }
  .material__column--oak { padding-left: 0; padding-top: 40px; }

  .process { padding: 80px 24px; }
  .process__steps { grid-template-columns: 1fr; }
  .process__step { border-right: none; border-bottom: 1px solid var(--border); padding-left: 0; padding-right: 0; }
  .process__step:last-child { border-bottom: none; }

  .regions { padding: 80px 24px; }
  .regions__areas { grid-template-columns: 1fr; }

  .closing { padding: 80px 24px; }

  .footer { padding: 40px 24px 32px; }
  .footer__top { flex-direction: column; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
