/* ============================================================
   Redwell Creative — stylesheet
   Aesthetic: dark "well" depth + a single bold red — the
   name's own colour. Ripple/concentric-ring motif (water in
   a well), condensed industrial display type, sharp corners,
   underline CTAs. No cream, no pastel, no purple gradients.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;600;700;800;900&family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --well: #14161c;
  --well-raised: #1c1f27;
  --well-deep: #0a0b0e;
  --paper: #f2efe6;
  --paper-dim: rgba(242, 239, 230, 0.72);
  --red: #e1402a;
  --red-deep: #b52f1d;
  --red-dim: rgba(225, 64, 42, 0.16);
  --muted: #8b8f98;
  --line: rgba(242, 239, 230, 0.16);
  --line-soft: rgba(242, 239, 230, 0.09);
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);

  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --max: 1180px;
  --edge: clamp(1.5rem, 5vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--well);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 0.35em;
  color: var(--paper);
}
em, .accent { font-style: normal; color: var(--red); }

p { margin: 0 0 1em; color: var(--paper-dim); }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}

/* -------- ripple texture (water in a well) -------- */
.ripples {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: relative;
  z-index: 20;
  padding: 1.6rem var(--edge) 0;
}
.site-nav .wrap {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
}
.brand .mark { color: var(--red); }
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 0.2rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  transition: right 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: var(--red); }
.nav-links a.nav-cta {
  background: var(--red);
  color: var(--well) !important;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
  display: inline-block;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--paper); transform: translateY(-2px); }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--paper);
  font-family: var(--mono); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--well); border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--edge) 2rem; gap: 1.2rem;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: end;
}
.hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  margin-top: 0.5rem;
  max-width: 15ch;
}
.hero-lede {
  font-size: 1.15rem;
  max-width: 40ch;
  color: var(--paper-dim);
}
.hero-side {
  border-left: 2px solid var(--red);
  padding-left: 2rem;
  align-self: end;
}
.hero-side .num {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--red);
  display: block;
  line-height: 1;
}
.hero-side p { font-size: 0.95rem; margin-top: 0.4rem; }
.hero-cta-row {
  margin-top: 2.4rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 2px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--red); color: var(--well); }
.btn-primary:hover { background: var(--paper); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-ghost {
  border: none;
  padding: 0.9rem 0;
  color: var(--paper);
  border-bottom: 2px solid var(--paper);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--red); border-color: var(--red); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { border-left: none; border-top: 2px solid var(--red); padding-left: 0; padding-top: 1.5rem; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.7s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
section { position: relative; }
.section { padding: 5.5rem 0; }
.section-raised { background: var(--well-raised); }
.section-deep { background: var(--well-deep); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); max-width: 16ch; }
.section-head .lede { max-width: 34ch; font-size: 1.02rem; }

/* -------- pillars / service cards -------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--well);
  padding: 2.4rem 1.8rem;
  transition: background 0.25s ease;
}
.pillar:hover { background: var(--well-raised); }
.pillar .idx {
  font-family: var(--mono);
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1.2rem;
}
.pillar h3 { font-size: 1.4rem; margin-bottom: 0.5rem; text-transform: none; }
.pillar p { font-size: 0.92rem; }

@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* -------- founding offer banner -------- */
.banner {
  border: 1px solid var(--line);
  background: var(--well-raised);
  padding: 2.6rem clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -8%;
  width: 360px; height: 360px;
  border: 1px solid var(--red);
  border-radius: 50%;
  opacity: 0.35;
}
.banner::after {
  content: '';
  position: absolute;
  top: -30%; right: 4%;
  width: 220px; height: 220px;
  border: 1px solid var(--red);
  border-radius: 50%;
  opacity: 0.25;
}
.banner h3 { font-size: 1.9rem; max-width: 20ch; text-transform: none; }
@media (max-width: 780px) { .banner { grid-template-columns: 1fr; } }

/* -------- about split -------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.stat-list { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 2rem; }
.stat { border-top: 1px solid var(--line); padding-top: 1rem; }
.stat .num { font-family: var(--mono); font-weight: 600; font-size: 1.5rem; color: var(--red); }

/* -------- pricing tables -------- */
.price-group { margin-bottom: 3.2rem; }
.price-group h3 {
  font-size: 1.5rem;
  text-transform: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
  margin-bottom: 0;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-bottom: 1px solid var(--line-soft); }
.price-table td { padding: 1.1rem 0; vertical-align: top; }
.price-table td.name { font-weight: 700; width: 26%; }
.price-table td.desc { color: var(--muted); font-size: 0.94rem; padding-right: 2rem; }
.price-table td.price {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: right;
  white-space: nowrap;
  color: var(--red);
}

.bundle-card { border: 1px solid var(--line); padding: 2rem; margin-bottom: 1.4rem; }
.bundle-card h4 { font-size: 1.3rem; text-transform: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.bundle-card .save { font-family: var(--mono); font-weight: 600; color: var(--red); font-size: 1.2rem; }

/* -------- work / portfolio placeholder -------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work-card {
  aspect-ratio: 4/5;
  border: 1px dashed var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem; position: relative; overflow: hidden;
}
.work-card .tag {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.4rem;
}
.work-card h4 { font-size: 1.2rem; text-transform: none; }
.work-card.is-live {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  border: 1px solid var(--red);
  background: var(--well-raised);
  padding: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  transition: background 0.2s ease;
}
.work-card.is-live:hover { background: var(--well-deep); }
.work-card.is-live .live-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.4rem clamp(1.5rem, 4vw, 3rem);
}
.work-card.is-live img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 780px) {
  .work-card.is-live { grid-template-columns: 1fr; }
  .work-card.is-live img { order: -1; min-height: 220px; max-height: 280px; }
}
.work-card.is-live .tag { color: var(--red); }
.work-card.is-live h4 { font-size: 1.8rem; }
.work-card.is-live p { max-width: 60ch; font-size: 0.98rem; margin-bottom: 0.6rem; }
.work-card.is-live .card-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  border-bottom: 2px solid var(--red);
  align-self: flex-start;
  padding-bottom: 0.2rem;
}
.work-card.is-live:hover .card-link { color: var(--red); }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

/* -------- process steps -------- */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  grid-column: 1;
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-weight: 600;
  color: var(--red);
  font-size: 1.2rem;
}
.step > div { grid-column: 2; }
.step h4 { font-size: 1.2rem; margin-bottom: 0.3rem; text-transform: none; }

/* -------- contact -------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.4rem; }
.field label {
  display: block; font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.5rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--well-raised);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--paper);
  outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); }
.field textarea { resize: vertical; min-height: 110px; }

.field-check {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.9rem; color: var(--paper-dim); margin-bottom: 1.6rem;
}
.field-check input { width: auto; margin-top: 0.2rem; accent-color: var(--red); }

.contact-info-item { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.contact-info-item:last-child { border-bottom: 1px solid var(--line); }
.contact-info-item .k { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.contact-info-item .v { font-family: var(--display); font-size: 1.4rem; margin-top: 0.2rem; text-transform: none; }

.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--well-deep); color: var(--paper); padding: 3.5rem 0 2rem; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line); margin-bottom: 1.6rem;
}
.footer-brand { font-family: var(--display); font-size: 1.8rem; max-width: 16ch; text-transform: uppercase; }
.footer-brand .mark { color: var(--red); }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-links h5 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.footer-links a { display: block; margin-bottom: 0.6rem; font-size: 0.95rem; }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.78rem; color: var(--muted);
  flex-wrap: wrap; gap: 0.5rem;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); max-width: 18ch; margin-top: 0.6rem; }
.page-hero .lede { max-width: 46ch; font-size: 1.08rem; }

.mt-lg { margin-top: 3rem; }
.center { text-align: center; }
