/* trevorhawley.digital — v5: commercial, high-ticket. Inter throughout, large type, centered sections. */

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --ink: #ffffff;
  --ink-soft: #c9c9c9;
  --ink-mute: #8a8a8a;
  --rule: #262626;
  --gold: #c9a961;
  --gold-hot: #e3c47f;
  --gold-soft: rgba(201, 169, 97, 0.12);
  --display: 'Inter Tight', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 1200px;
  --col: 820px;
  --r: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hot); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #0a0a0a;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* TYPE */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.9rem, 6.6vw, 5.4rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
}

.col { max-width: var(--col); margin: 0 auto; padding: 0 1.5rem; }
.col--wide { max-width: var(--max); }
.center { text-align: center; }
.center .lede, .center > p { margin-left: auto; margin-right: auto; }

section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
section + section { border-top: 1px solid var(--rule); }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.monogram { display: inline-flex; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.btn { color: #0a0a0a; }

/* BUTTONS */
.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2.4rem; }
.center .cta-row { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn--sm { padding: 0.62rem 1.3rem; font-size: 0.95rem; }
.btn--gold { background: var(--gold); color: #0a0a0a; border: 1px solid var(--gold); }
.btn--gold:hover { background: var(--gold-hot); border-color: var(--gold-hot); color: #0a0a0a; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #0a0a0a; transform: translateY(-1px); }

/* HERO */
.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(1000px 600px at 80% 20%, rgba(201, 169, 97, 0.10), transparent 60%),
    var(--bg);
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero__sub {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--gold);
  margin: 0 0 1.4rem;
}
.hero__text .lede { max-width: 40ch; }
.hero__figure { margin: 0; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* HOW I WORK + STATS */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3.5rem auto 0;
  max-width: 980px;
}
.stat-grid > div {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 2.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--gold);
}
.stat-label {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* PILLARS */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.pillar {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 2.4rem 2.1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pillar:hover { border-color: rgba(201, 169, 97, 0.5); transform: translateY(-2px); }
.pillar__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}
.pillar p { color: var(--ink-soft); font-size: 1.02rem; }
.pillar p:last-child { margin-bottom: 0; }

/* MANIFESTO */
.manifesto {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(201, 169, 97, 0.09), transparent 70%),
    var(--bg-2);
}
.manifesto h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }

/* TEACHING */
.framework-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--gold);
  margin: 3rem 0 0;
}
.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.6rem auto 0;
  max-width: 980px;
}
.framework {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 1.8rem 1rem;
  text-align: center;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* ABOUT */
.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about__figure { margin: 0; }
.about__figure img { width: 100%; border-radius: var(--r); }
.about__text p { color: var(--ink-soft); font-size: 1.08rem; }

.featured-line { margin: 1.6rem 0 0; font-size: 0.95rem; }
.featured-line a { color: var(--ink-mute); }
.featured-line a:hover { color: var(--ink); }
.featured-line strong { color: var(--ink-soft); font-weight: 600; }

/* FEATURED */
.featured__figure { margin: 3rem auto 0; max-width: 1040px; }
.featured__figure img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* VILLA TOURS */
.tours__stat {
  text-align: center;
  margin: 3rem 0 2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 500;
}
.tours__stat span {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--gold);
}
.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem 1.25rem;
}
.tour__thumb { position: relative; }
.tour__thumb img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
}
.tour__views {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.82);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.tour__title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  margin: 0.8rem 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tour__channel { margin: 0; font-size: 0.88rem; color: var(--ink-mute); }
.tour__new {
  margin-left: 0.35rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
}
.bali {
  background:
    radial-gradient(900px 450px at 50% 100%, rgba(201, 169, 97, 0.08), transparent 70%),
    var(--bg);
}

/* CONNECT */
.connect { background: var(--bg-2); }

/* FOOTER */
footer {
  padding: 2rem 0 2.6rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-mute);
  font-size: 0.9rem;
}
.footer__inner { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }
.footer__sep { color: var(--rule); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero__inner, .about__inner { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero__text .lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .hero__figure { order: -1; max-width: 520px; margin: 0 auto; }
  .hero__figure img { aspect-ratio: 4 / 3.4; }
  .about__figure { max-width: 560px; margin: 0 auto; }
  .pillar-grid { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .tour-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 0.8rem; }
  .tour__title { font-size: 0.9rem; }
  .tour__channel { font-size: 0.8rem; }
  .tour__views { font-size: 0.74rem; left: 0.4rem; bottom: 0.4rem; }
}

@media (max-width: 720px) {
  .nav__links a:not(.btn) { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .stat-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
