/* ============================================================
   HUTCHINSON SALT CO. — Global Styles
   Concept: "Deep Red & Prairie Stone"
   Crimson: #8B1A2B  |  Coal: #151820  |  Salt: #F5F2EC
   Font: Oswald (display) + Work Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
  --coal:      #151820;
  --slate:     #1E2530;
  --crimson:   #8B1A2B;
  --crimson-lt:#C04558;
  --crimson-dk:#6B1420;
  --salt:      #F5F2EC;
  --salt-dk:   #E8E3DB;
  --stone:     #7E8074;
  --text:      #1C1F26;
  --text-2:    #6B7280;
  --border:    #D1CFC7;
  --white:     #ffffff;
  --font-disp: 'Oswald', Impact, sans-serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --nav-h:     72px;
  --max-w:     1200px;
  --ease:      300ms ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--salt); line-height: 1.7; font-size: 16px; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-disp); text-transform: uppercase; letter-spacing: 0.04em; }
h1 { font-weight: 700; line-height: 1.0; }
h2 { font-weight: 600; line-height: 1.1; }
h3 { font-weight: 500; line-height: 1.3; }
p  { color: var(--text-2); }
.label {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--crimson);
  display: block; margin-bottom: 16px;
}
.label--light { color: rgba(192,69,88,.65); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  padding: 0 40px;
  background: transparent;
  transition: background var(--ease), box-shadow var(--ease);
}
.nav.scrolled { background: var(--coal); box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav__brand {
  font-family: var(--font-disp); font-size: 18px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--white);
  display: flex; align-items: center; gap: 12px;
}
.nav__logo { height: 40px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a {
  color: rgba(255,255,255,.55); font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a.nav__cta {
  color: var(--crimson-lt); border: 1px solid var(--crimson-lt); padding: 8px 18px;
  transition: all var(--ease);
}
.nav__links a.nav__cta:hover { background: var(--crimson); border-color: var(--crimson); color: var(--white); }
.nav__ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__ham span { display: block; width: 24px; height: 2px; background: var(--white); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--coal);
  position: relative; overflow: hidden; text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,24,32,.55) 0%, rgba(21,24,32,.82) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 900px; padding: 140px 40px 120px;
}
.hero__tag {
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--crimson-lt); margin-bottom: 32px; display: block;
}
.hero__title {
  font-size: clamp(32px, 5vw, 64px);
  color: var(--white); margin-bottom: 32px;
  letter-spacing: 0.06em;
}
.hero__line { display: block; }
.hero__line--dim { color: rgba(255,255,255,.35); font-weight: 300; }
.hero__sub {
  font-size: 17px; color: rgba(255,255,255,.45); max-width: 560px;
  margin: 0 auto 48px; line-height: 1.85;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border: 2px solid var(--crimson);
  font-family: var(--font-disp); font-size: 14px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson-lt);
  transition: all var(--ease);
}
.hero__cta:hover { background: var(--crimson); color: var(--white); }
.hero__rule {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--crimson);
}

/* ---------- Intro Band ---------- */
.intro {
  background: var(--coal); padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.intro__inner {
  max-width: 880px; margin: 0 auto; text-align: center; padding: 0 40px;
}
.intro__text {
  font-family: var(--font-body); font-size: clamp(18px, 2.5vw, 22px);
  color: rgba(255,255,255,.5); line-height: 1.85; font-weight: 300;
}
.intro__text strong { color: rgba(255,255,255,.85); font-weight: 500; }

/* ---------- Stats Strip ---------- */
.stats {
  background: var(--crimson); padding: 0;
}
.stats__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats__item {
  padding: 40px 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stats__item:last-child { border-right: none; }
.stats__num {
  font-family: var(--font-disp); font-size: 40px; font-weight: 700;
  color: var(--white); letter-spacing: 0.04em; line-height: 1;
}
.stats__lbl {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-top: 8px; display: block;
}

/* ---------- About ---------- */
.about { background: var(--salt); padding: 100px 0; }
.about__inner { max-width: 760px; margin: 0 auto; }
.about__inner h2 { font-size: clamp(32px, 4vw, 48px); color: var(--text); margin-bottom: 24px; }
.about__inner p { font-size: 16px; line-height: 1.85; }
.about__inner p + p { margin-top: 16px; }

/* ---------- Products ---------- */
.products { background: var(--salt-dk); padding: 80px 0; }
.products__header { text-align: center; margin-bottom: 64px; }
.products__header h2 { font-size: clamp(32px, 4vw, 48px); color: var(--text); margin-bottom: 12px; }
.products__header p { max-width: 500px; margin: 0 auto; line-height: 1.8; }

.product-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: var(--max-w); margin: 0 auto;
  background: var(--white); box-shadow: 0 1px 8px rgba(0,0,0,.06);
  margin-bottom: 2px;
}
.product-row:nth-child(odd) .product-row__img { order: 2; }
.product-row:nth-child(odd) .product-row__body { order: 1; }

.product-row__img {
  background: var(--coal); display: flex; align-items: center; justify-content: center;
  min-height: 320px; position: relative; overflow: hidden;
}
.product-row__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-row__img svg { width: 80px; height: 80px; stroke: var(--crimson); fill: none; stroke-width: 1; opacity: .4; }
.product-row__body { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; }
.product-row__body h3 { font-size: 24px; color: var(--text); margin-bottom: 4px; letter-spacing: 0.08em; }
.product-row__sub {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--crimson); font-weight: 600; margin-bottom: 16px; display: block;
}
.product-row__body p { font-size: 15px; line-height: 1.8; }
.product-row__grades { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.product-row__grade {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; background: var(--salt); color: var(--text); border-radius: 1px;
}

/* ---------- Heritage ---------- */
.heritage { background: var(--coal); padding: 100px 0; }
.heritage__top { max-width: 760px; margin: 0 auto 64px; }
.heritage__top h2 { font-size: clamp(32px, 4vw, 48px); color: var(--white); margin-bottom: 20px; }
.heritage__top p { color: rgba(255,255,255,.45); line-height: 1.85; font-size: 16px; }
.heritage__top p + p { margin-top: 16px; }

.timeline {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.timeline__item {
  background: var(--slate); padding: 36px 32px;
  border-top: 3px solid transparent;
  transition: border-color var(--ease);
}
.timeline__item:hover { border-top-color: var(--crimson); }
.timeline__mark {
  font-family: var(--font-disp); font-size: 32px; font-weight: 700;
  color: var(--crimson-lt); letter-spacing: 0.04em; line-height: 1; margin-bottom: 12px;
}
.timeline__text { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.75; }

/* ---------- Railroad ---------- */
.railroad {
  background: var(--slate); padding: 100px 0;
  position: relative;
}
.railroad::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--crimson);
}
.railroad__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.railroad__text h2 { font-size: clamp(32px, 4vw, 48px); color: var(--white); margin-bottom: 20px; }
.railroad__text p { color: rgba(255,255,255,.45); line-height: 1.85; }
.railroad__text p + p { margin-top: 16px; }
.railroad__nums { display: flex; gap: 48px; margin-top: 40px; }
.railroad__num-val {
  font-family: var(--font-disp); font-size: 48px; font-weight: 700;
  color: var(--crimson-lt); line-height: 1; letter-spacing: 0.04em;
}
.railroad__num-lbl {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-top: 6px; display: block;
}
.railroad__visual {
  aspect-ratio: 4/3; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; border-radius: 2px;
  overflow: hidden;
}
.railroad__visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Underground ---------- */
.underground { background: var(--salt); padding: 100px 0; }
.underground__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.underground__visual {
  aspect-ratio: 4/3; background: var(--coal); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; border-radius: 2px;
  overflow: hidden;
}
.underground__visual img { width: 100%; height: 100%; object-fit: cover; }
.underground__text h2 { font-size: clamp(32px, 4vw, 48px); color: var(--text); margin-bottom: 20px; }
.underground__text p { line-height: 1.85; font-size: 16px; }
.underground__text p + p { margin-top: 16px; }
.underground__cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
}
.underground__card {
  background: var(--salt-dk); padding: 24px; border-left: 3px solid var(--crimson);
}
.underground__card h4 {
  font-family: var(--font-disp); font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 6px;
}
.underground__card p { font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- Affiliations ---------- */
.affiliations {
  background: var(--salt-dk); padding: 48px 40px; text-align: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.affiliations__label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 20px;
}
.affiliations__list {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone);
}

/* ---------- Contact ---------- */
.contact { background: var(--salt); padding: 100px 0; }
.contact__header { margin-bottom: 48px; }
.contact__header h2 { font-size: clamp(32px, 4vw, 48px); color: var(--text); margin-bottom: 12px; }
.contact__header p { max-width: 460px; line-height: 1.8; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 700px; }
.contact__col h3 {
  font-family: var(--font-disp); font-size: 14px; font-weight: 500;
  letter-spacing: 0.16em; color: var(--crimson); margin-bottom: 20px;
}
.contact__line { margin-bottom: 16px; }
.contact__line-lbl {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 2px; display: block;
}
.contact__line-val { font-size: 15px; color: var(--text); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--coal); padding: 56px 40px 28px; }
.footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 40px;
}
.footer__brand {
  font-family: var(--font-disp); font-size: 16px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 8px;
}
.footer__desc { font-size: 13px; color: rgba(255,255,255,.25); line-height: 1.6; max-width: 300px; }
.footer__links { display: flex; gap: 48px; }
.footer__col h4 {
  font-family: var(--font-disp); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--crimson-lt); margin-bottom: 14px;
}
.footer__col a { display: block; font-size: 13px; color: rgba(255,255,255,.35); margin-bottom: 8px; transition: color var(--ease); }
.footer__col a:hover { color: rgba(255,255,255,.8); }
.footer__bar {
  max-width: var(--max-w); margin: 40px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between;
}
.footer__bar p { font-size: 11px; color: rgba(255,255,255,.2); }
.footer__bar a { color: rgba(255,255,255,.2); transition: color var(--ease); }
.footer__bar a:hover { color: rgba(255,255,255,.5); }

/* ---------- Scroll Animations ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .product-row { grid-template-columns: 1fr; }
  .product-row:nth-child(odd) .product-row__img { order: 0; }
  .product-row:nth-child(odd) .product-row__body { order: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .railroad__inner { grid-template-columns: 1fr; gap: 48px; }
  .underground__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav { padding: 0 20px; }
  .nav__links {
    display: none; position: fixed; inset: 0; background: var(--coal);
    flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 18px; }
  .nav__links a.nav__cta { font-size: 14px; }
  .nav__ham { display: flex; }
  .hero__content { padding: 100px 24px 80px; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; }
  .railroad__nums { flex-direction: column; gap: 20px; }
  .underground__cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats__inner { grid-template-columns: 1fr; }
  .stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stats__item:last-child { border-bottom: none; }
}
