/* Paul Montone — paulmontone.com */

:root {
  --bg: #000;
  --fg: #fff;
  --muted: #8a8a8a;
  --dim: #b5b5b5;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --panel: #0a0a0a;
  --danger: #ff6b6b;
  --header-h: 4.25rem;
  --wrap: 1160px;
  --narrow: 40rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  background: var(--bg);
  color: var(--fg);
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: #080808;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

h1, h2, h3 {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}

p, ul, blockquote { margin: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow { width: min(var(--narrow), calc(100% - 2.5rem)); }

.kicker {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  padding: 0;
}

.site-nav a {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--fg); }

.menu-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: var(--fg);
  margin: 6px auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 5.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0.78) 70%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(4.25rem, 16vw, 11.5rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.8;
  margin: 0 0 1.5rem;
}

.hero .lede {
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  font-weight: 400;
  max-width: 22em;
  color: #e8e8e8;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.signature {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--fg);
}

/* Proof */
.proof {
  padding: 6.5rem 0 5rem;
  border-top: 1px solid var(--line);
}

.proof-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}

.proof-value {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 0.85;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.proof-label {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* About */
.about {
  padding: 8rem 0 7rem;
}

.about h2,
.record > .wrap > h2,
.builder h2,
.words h2,
.credentials h2,
.close h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.about p,
.close-lead,
.builder-list p {
  color: var(--dim);
  font-size: 1.125rem;
  max-width: 38rem;
}

/* Record */
.record { padding: 0 0 6rem; }

.record > .wrap > h2 { margin-bottom: 4rem; }

.chapter {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 6.5rem;
}

.chapter-flip { grid-template-columns: 0.95fr 1.05fr; }

.chapter-flip .chapter-media { order: 2; }

.chapter-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.chapter-meta {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.chapter h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.chapter-copy > p {
  color: var(--dim);
  margin-bottom: 1.25rem;
}

.facts {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}

.facts li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: #d0d0d0;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Builder */
.builder {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
}

.builder-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.builder-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builder-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.72) 45%, rgba(0,0,0,0.5) 100%);
}

.builder .wrap {
  position: relative;
  z-index: 1;
}

.builder .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.builder-list p + p { margin-top: 1.1rem; }

/* Quotes */
.words {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}

.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
}

blockquote p {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 400;
  color: #eee;
  max-width: 48rem;
}

blockquote footer {
  margin-top: 1.25rem;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

blockquote footer span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Credentials */
.credentials {
  padding: 0 0 8rem;
}

.cred-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.cred-grid li {
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--line);
}

.cred-grid li:nth-child(even) { padding-left: 2rem; }

.cred-grid h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.cred-grid p { color: var(--dim); font-size: 0.98rem; }

/* Close / form */
.close {
  padding: 8rem 0 6rem;
  border-top: 1px solid var(--line);
  text-align: left;
}

.close-lead { margin-bottom: 2.75rem; }

.contact-form { max-width: 36rem; }

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.optional { letter-spacing: 0.08em; text-transform: none; font-weight: 500; }

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.7rem 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--fg);
  transition: border-color 0.2s ease;
}

.field textarea { resize: vertical; min-height: 8rem; }

.field input:focus,
.field textarea:focus { border-bottom-color: var(--fg); }

.contact-form .btn { margin-top: 0.75rem; width: 100%; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  border: 1px solid var(--line-strong);
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--dim);
}

.form-status.error { border-color: var(--danger); color: #ffd5d5; }

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-header { transition: none; }
}

/* Focus */
:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 980px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid li:last-child { grid-column: 1 / -1; }
  .chapter,
  .chapter-flip { grid-template-columns: 1fr; gap: 1.5rem; }
  .chapter-flip .chapter-media { order: 0; }
  .builder .split { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .cred-grid li:nth-child(even) { padding-left: 0; }
}

@media (max-width: 720px) {
  .wrap, .wrap.narrow, .hero-content, .header-inner {
    width: calc(100% - 2rem);
  }
  .hero { padding-bottom: 3.5rem; min-height: 92svh; }
  .hero h1 { font-size: clamp(3.4rem, 20vw, 5.5rem); }
  .about, .words, .close, .builder { padding-top: 5rem; padding-bottom: 4.5rem; }
  .proof { padding: 4rem 0 3rem; }
  .fields { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(0,0,0,0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  body.nav-open { overflow: hidden; }
  .site-header { background: rgba(0,0,0,0.72); }
}

@media (max-width: 420px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid li:last-child { grid-column: auto; }
}
