/* Self-hosted fonts (SIL Open Font License) – no requests to Google */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("../fonts/big-shoulders-display.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/work-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/work-sans-italic.woff2") format("woff2");
}

:root {
  --stone: #EDE8DE;
  --surface: #F5F1E8;
  --ink: #211F19;
  --ink-soft: #6b6357;
  --oxblood: #8A2331;
  --oxblood-bright: #C4526A;
  --oxblood-soft: rgba(138, 35, 49, 0.1);
  --oxblood-deep: #4F1019;
  --ember: #C1502E;
  --gold: #D99E3D;
  --line: rgba(33, 31, 25, 0.14);
  --line-on-dark: rgba(237, 232, 222, 0.16);
  --radius: 4px;
  --container: 1160px;
  --font: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.diamond { color: var(--oxblood); font-size: 0.7em; margin-right: 8px; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 100;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(237, 232, 222, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-sub {
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-soft);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a:not(.nav-cta) { position: relative; }

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-cta {
  padding: 9px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink) !important;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--stone) !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--oxblood);
  color: var(--stone);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px -14px rgba(138, 35, 49, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--stone);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 130px;
  background: var(--ink);
  color: var(--stone);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  opacity: 0.75;
  will-change: transform;
}

.hero-blob-1 {
  width: 640px;
  height: 640px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, var(--oxblood) 0%, rgba(138, 35, 49, 0) 72%);
  animation: hero-drift-1 22s ease-in-out infinite;
}

.hero-blob-2 {
  width: 480px;
  height: 480px;
  left: -140px;
  bottom: -200px;
  background: radial-gradient(circle, var(--ember) 0%, rgba(193, 80, 46, 0) 72%);
  animation: hero-drift-2 26s ease-in-out infinite;
}

.hero-blob-3 {
  width: 380px;
  height: 380px;
  right: 8%;
  bottom: -160px;
  background: radial-gradient(circle, var(--gold) 0%, rgba(217, 158, 61, 0) 72%);
  animation: hero-drift-3 19s ease-in-out infinite;
}

@keyframes hero-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 50px) scale(1.12); }
}

@keyframes hero-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.08); }
}

@keyframes hero-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -60px) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hairline {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--oxblood-bright);
  margin-bottom: 28px;
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-title {
  margin: 0 0 26px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6.2vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.005em;
  color: var(--stone);
}

.hero-title-accent {
  display: block;
  color: var(--oxblood-bright);
  margin-top: 6px;
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(237, 232, 222, 0.72);
  max-width: 520px;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-ghost {
  color: var(--stone);
  border-color: rgba(237, 232, 222, 0.4);
}

.hero .btn-ghost:hover {
  background: var(--stone);
  color: var(--ink);
}

/* Sections */
.section { padding: 120px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--oxblood);
  font-weight: 600;
  margin: 0 0 24px;
}

.lead {
  font-size: 1.22rem;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 0 64px;
}

.lead-block {
  font-size: 1.22rem;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 0 64px;
}

.lead-block p { margin: 0 0 20px; }
.lead-block p:last-child { margin-bottom: 0; }
.lead-block em { font-style: italic; color: var(--ink); }

.section-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
}

/* Why - numbered grid */
.why { padding-bottom: 0; }

.numbered-band {
  background: var(--oxblood-deep);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 72px;
  padding: 80px 0;
}

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.numbered-item {
  border-right: 1px solid var(--line-on-dark);
  padding-right: 32px;
}

.numbered-item.cascade-item {
  opacity: 0;
  transform: translateY(40px) rotate(-2deg);
}

.numbered-item.cascade-item:nth-child(2) { transform: translateY(40px) rotate(1.5deg); }
.numbered-item.cascade-item:nth-child(3) { transform: translateY(40px) rotate(-1deg); }

.numbered-item.cascade-item.is-visible { opacity: 1; transform: none; }

.numbered-item:last-child { border-right: none; }

.numbered-item .num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  color: var(--gold);
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 14px;
}

.numbered-item h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--stone);
}

.numbered-item p { margin: 0; color: rgba(237, 232, 222, 0.72); }

@media (max-width: 760px) {
  .numbered-item { border-right: none; border-bottom: 1px solid var(--line-on-dark); padding-bottom: 28px; padding-right: 0; }
}

/* Offer - Check / Build / Lead */
.offer { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.offer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.module {
  border: 1px solid var(--line);
  padding: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
}

.module-tilt {
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  width: 100%;
}

.module:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 48px -30px rgba(33, 31, 25, 0.25);
  transform: translateY(-4px);
}

.offer-split { display: flex; align-items: stretch; width: 100%; }

.offer-media { position: relative; flex: 0 0 160px; overflow: hidden; }
.offer-media::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 14px);
}

.offer-check .offer-media { background: linear-gradient(160deg, #DCD4C2, #B9A98A 60%, var(--oxblood-bright)); }
.offer-build .offer-media { background: linear-gradient(160deg, var(--oxblood-bright), var(--oxblood) 55%, var(--oxblood-deep)); }
.offer-lead .offer-media { background: linear-gradient(160deg, var(--oxblood-deep), #2a0a10 55%, var(--ink)); }

.offer-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-check .offer-media::after,
.offer-build .offer-media::after,
.offer-lead .offer-media::after { display: none; }

.offer-check.module,
.offer-lead.module { background: var(--stone); }

.offer-body { padding: 36px 40px; flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; }

.offer-body .num {
  font-family: var(--display);
  font-weight: 900;
  color: var(--oxblood);
  opacity: 0.35;
  font-size: 1.7rem;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.offer-body h3 { margin: 0 0 14px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 2rem; letter-spacing: 0.01em; }

.offer-quote {
  color: var(--oxblood-deep);
  font-style: italic;
  font-size: 1.15rem;
  border-left: 2px solid var(--oxblood);
  padding-left: 18px;
  margin: 0 0 18px;
}

.offer-meta {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.offer-deliv { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.offer-deliv li { font-size: 1.05rem; padding-left: 21px; position: relative; color: var(--ink); }
.offer-deliv li::before { content: "\25C6"; position: absolute; left: 0; top: 0.25em; font-size: 0.55em; color: var(--ember); }

.offer-price-row {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  border-top: 1px solid var(--line);
}
.offer-price { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--oxblood); white-space: nowrap; }
.offer-price-note { font-size: 0.85rem; color: var(--ink-soft); }
.offer-foot { margin: 14px 0 0; font-size: 0.92rem; color: var(--ink-soft); }

.offer-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

/* Build - the bridge: same full width as Check/Lead, filled oxblood, no number */
.offer-build.module { background: var(--oxblood); box-shadow: 0 16px 32px -16px rgba(79, 16, 25, 0.5); }
.offer-build h3 { color: var(--stone); font-size: 1.7rem; }
.offer-build .offer-quote { border-left-color: var(--gold); color: var(--stone); }
.offer-build .offer-meta { color: rgba(237, 232, 222, 0.72); border-bottom-color: var(--line-on-dark); }
.offer-build .offer-deliv li { color: var(--stone); }
.offer-build .offer-deliv li::before { color: var(--gold); }
.offer-build .offer-price-row { border-top-color: var(--line-on-dark); }
.offer-build .offer-price { color: var(--stone); }
.offer-build .offer-price-note { color: rgba(237, 232, 222, 0.65); }

/* Lead - deep, gravitas, gold accent */
.offer-lead.module { background: var(--oxblood-deep); }
.offer-lead .offer-body .num { color: var(--gold); opacity: 0.55; }
.offer-lead h3 { color: var(--stone); }
.offer-lead .offer-quote { color: var(--stone); border-left-color: var(--gold); }
.offer-lead .offer-meta { color: rgba(237, 232, 222, 0.7); border-bottom-color: var(--line-on-dark); }
.offer-lead .offer-deliv li { color: var(--stone); }
.offer-lead .offer-deliv li::before { color: var(--gold); }
.offer-lead .offer-price-row { border-top-color: var(--line-on-dark); }
.offer-lead .offer-price { color: var(--gold); }
.offer-lead .offer-price-note, .offer-lead .offer-foot { color: rgba(237, 232, 222, 0.65); }

.offer-cta { margin-top: 40px; text-align: center; }

@media (max-width: 760px) {
  .offer-media { flex-basis: 100px; }
  .offer-body { padding: 24px 20px; }
  .offer-body h3, .offer-build h3 { font-size: 1.5rem; }
  .offer-quote { font-size: 1rem; }
  .offer-deliv li { font-size: 0.95rem; }
  .offer-price { font-size: 1.4rem; }
}

/* Offer v2: equal-weight modules, sub-labels, path line */
.offer-sub { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--oxblood); margin: 0 0 10px; }
.offer-build .offer-sub, .offer-lead .offer-sub { color: var(--gold); }
.offer-build .offer-body .num { color: var(--gold); opacity: 0.55; }
.offer-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.offer-build .offer-foot { color: rgba(237, 232, 222, 0.72); border-top-color: var(--line-on-dark); }
.offer-lead .offer-foot { border-top-color: var(--line-on-dark); }
.offer-path { margin: 40px 0 0; text-align: center; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.3rem; color: var(--ink); }
.offer-path span { color: var(--oxblood); }
.offer-cta-row { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.offer-cta-q { margin: 0; font-size: 1.15rem; color: var(--ink-soft); }
.btn-lg { padding: 20px 48px; font-size: 1rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  aspect-ratio: 4 / 5;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  object-fit: cover;
  object-position: top center;
  margin-top: -36px;
}

.about-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-signature {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  margin-top: 24px;
}

.about-text .about-link { margin-top: 8px; }
.about-link a {
  color: var(--oxblood);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.about-link a:hover { color: var(--oxblood-deep); }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
}

/* Testimonial */
.testimonial { background: var(--stone); border-top: 1px solid var(--line); }

.rec-card {
  display: flex;
  max-width: 580px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.rec-media {
  flex: 0 0 110px;
  background: linear-gradient(165deg, var(--oxblood-deep), #2a0a10 60%, var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.9;
}

.rec-body {
  flex: 1;
  min-width: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.rec-quote {
  font-family: var(--font);
  font-weight: 400;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
}

.rec-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.rec-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--oxblood-deep);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.74rem;
  flex-shrink: 0;
}

.rec-author div { display: flex; flex-direction: column; }
.rec-author strong { font-size: 0.88rem; color: var(--ink); }
.rec-author div span { color: var(--ink-soft); font-size: 0.8rem; }

@media (max-width: 760px) {
  .rec-media { flex-basis: 80px; }
  .rec-mark { font-size: 2.2rem; }
  .rec-body { padding: 22px 20px; }
}

/* Contact */
.contact { background: var(--oxblood-deep); text-align: center; padding-bottom: 64px; }
.contact .section-title { color: var(--stone); }
.contact p { color: rgba(237, 232, 222, 0.72); max-width: 480px; margin: 0 auto 36px; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .btn-primary { background: var(--stone); color: var(--oxblood-deep); }
.contact .btn-primary:hover { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45); }
.contact .contact-alt { margin: 20px auto 0; font-size: 0.9rem; }
.contact-alt a { color: var(--stone); text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(237, 232, 222, 0.65); padding: 64px 0 24px; }
.site-footer .logo { color: var(--stone); }
.site-footer .logo-sub { color: rgba(237, 232, 222, 0.5); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding-top: 24px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--stone); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* Legal page */
.legal-inner { max-width: 720px; }

.legal-block { margin: 0 0 40px; }

.legal-block h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--oxblood);
  margin: 0 0 10px;
}

.legal-block p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-block a { color: var(--ink); }

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column-reverse; gap: 16px; }
  .footer-links { gap: 20px; }
  .nav-links { gap: 14px; }
  .nav-links li:not(:last-child) { display: none; }
}

/* Reveal-on-scroll base state (JS adds .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .cascade-item { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
