/* ==========================================================================
   Connor Logan — Luxury Black & Gold Personal Brand Landing Page
   ========================================================================== */

:root {
  --black: #0a0908;
  --black-deep: #050504;
  --charcoal: #141210;
  --charcoal-lift: #1c1917;
  --gold: #c9a24b;
  --gold-soft: #d8bb7a;
  --gold-dim: #8a7038;
  --ivory: #efe7da;
  --ivory-dim: #b9b0a0;
  --hairline: rgba(201, 162, 75, 0.22);

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Jost", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

::selection { background: var(--gold-dim); color: var(--black); }

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Type helpers */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  color: var(--ivory);
  margin: 0 0 1.2rem;
  max-width: 18ch;
}

.section-lede {
  color: var(--ivory-dim);
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 0;
}

.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 6vw;
}

.gold-underline {
  position: relative;
  white-space: nowrap;
}
.gold-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.03em;
  height: 0.045em;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.3s var(--ease);
}
.btn--primary {
  background: var(--gold);
  color: var(--black-deep);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(239, 231, 218, 0.35);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}
.btn--line {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-dim);
  padding: 0.8rem 1.8rem;
}
.btn--line:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 75, 0.08);
}
.btn--large { padding: 1.15rem 2.8rem; font-size: 0.86rem; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  background: linear-gradient(to bottom, rgba(10,9,8,0.92), rgba(10,9,8,0));
  backdrop-filter: blur(6px);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--ivory);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__links a { color: var(--ivory-dim); transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--gold-soft); }
.nav__cta {
  border: 1px solid var(--gold-dim);
  padding: 0.55rem 1.2rem;
  color: var(--gold) !important;
}
.nav__cta:hover { border-color: var(--gold); background: rgba(201,162,75,0.08); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav__toggle span {
  width: 22px; height: 1px;
  background: var(--ivory);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8.5rem 6vw 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(201,162,75,0.10), transparent 55%),
    var(--black-deep);
}

.hero__video-wrap {
  position: relative;
  width: min(920px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--hairline);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(160deg, #171512, #0d0c0a 70%);
  color: var(--ivory-dim);
  font-size: 0.82rem;
}
.hero__video-placeholder code {
  color: var(--gold-soft);
  background: rgba(201,162,75,0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.75rem;
}
.hero__play {
  width: 66px; height: 66px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero__play:hover { background: rgba(201,162,75,0.1); transform: scale(1.05); }
.hero__play svg { margin-left: 4px; }

.hero__frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(239,231,218,0.12);
  border-radius: 3px;
  pointer-events: none;
}

.hero__content {
  margin-top: 3.2rem;
  max-width: 780px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--ivory);
  margin: 0 0 1.4rem;
}
.hero__headline em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero__sub {
  color: var(--ivory-dim);
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 0 auto 2.4rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.scroll-cue__line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ==========================================================================
   STORY
   ========================================================================== */
.story {
  padding: 9rem 6vw;
  background: var(--black);
  border-top: 1px solid var(--hairline);
}
.story__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: start;
}
.story__portrait-frame {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.story__portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
}
.story__caption {
  margin-top: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.story__body p {
  color: var(--ivory-dim);
  font-size: 1.03rem;
  margin: 0 0 1.3rem;
}
.story__signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-soft);
  margin-top: 1.5rem;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  padding: 9rem 0;
  background: var(--charcoal);
  border-top: 1px solid var(--hairline);
}
.services__list {
  max-width: var(--container);
  margin: 4.5rem auto 0;
  padding: 0 6vw;
}
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left 0.4s var(--ease);
}
.service-row:first-child { border-top: 1px solid var(--hairline); }
.service-row:hover { padding-left: 0.6rem; }
.service-row__index {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-dim);
}
.service-row__body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  margin: 0 0 0.6rem;
  color: var(--ivory);
}
.service-row__body p {
  color: var(--ivory-dim);
  margin: 0;
  max-width: 58ch;
  font-size: 0.98rem;
}

/* ==========================================================================
   WHY
   ========================================================================== */
.why {
  padding: 9rem 6vw;
  background: var(--black);
  border-top: 1px solid var(--hairline);
}
.why__inner {
  max-width: 900px;
  margin: 0 auto;
}
.why__lede {
  font-size: 1.15rem;
  color: var(--ivory-dim);
  max-width: 56ch;
  margin: 0 0 3rem;
}
.why__grid {
  display: grid;
  gap: 2rem;
}
.why__point {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
}
.why__mark { color: var(--gold); font-size: 1.2rem; }
.why__point p { margin: 0; color: var(--ivory-dim); font-size: 1rem; }
.why__point strong { color: var(--ivory); font-weight: 500; }

/* ==========================================================================
   PROOF
   ========================================================================== */
.proof {
  padding: 9rem 0;
  background: var(--charcoal);
  border-top: 1px solid var(--hairline);
}
.proof__grid {
  max-width: var(--container);
  margin: 4rem auto 0;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.proof__card {
  margin: 0;
  padding: 2.2rem 1.9rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--black);
}
.proof__card:nth-child(2) { transform: translateY(1.4rem); }
.proof__card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--ivory);
  margin: 0 0 1.2rem;
}
.proof__card footer {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
}
.proof__stats {
  max-width: var(--container);
  margin: 5rem auto 0;
  padding: 3rem 6vw 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.proof__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-soft);
}
.proof__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

/* ==========================================================================
   OFFER
   ========================================================================== */
.offer {
  padding: 9rem 0;
  background: var(--black);
  border-top: 1px solid var(--hairline);
}
.offer__list {
  max-width: var(--container);
  margin: 4.5rem auto 0;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.offer-card {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 2.6rem 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--charcoal-lift);
}
.offer-card--feature {
  border-color: var(--gold-dim);
  background: linear-gradient(160deg, #1d1a15, #141210);
  transform: translateY(-0.8rem);
}
.offer-card__tag {
  position: absolute;
  top: -0.8rem; left: 2.1rem;
  background: var(--gold);
  color: var(--black-deep);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}
.offer-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0.4rem 0 0;
  color: var(--ivory);
}
.offer-card__meta {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0;
}
.offer-card p:not(.offer-card__meta) {
  color: var(--ivory-dim);
  font-size: 0.96rem;
  margin: 0;
  flex-grow: 1;
}
.offer-card .btn { margin-top: 0.6rem; align-self: flex-start; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  padding: 10rem 6vw;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201,162,75,0.10), transparent 60%),
    var(--black-deep);
  border-top: 1px solid var(--hairline);
}
.final-cta__inner {
  max-width: 720px;
  margin: 0 auto;
}
.final-cta__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.2;
  color: var(--ivory);
  margin: 0 0 1.4rem;
}
.final-cta__sub {
  color: var(--ivory-dim);
  font-size: 1.05rem;
  margin: 0 0 2.4rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 3.5rem 6vw;
  border-top: 1px solid var(--hairline);
  background: var(--black-deep);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__mark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ivory);
}
.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.footer__links a { transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--gold-soft); }
.footer__copy {
  width: 100%;
  margin: 0;
  font-size: 0.74rem;
  color: var(--ivory-dim);
  opacity: 0.6;
  text-align: center;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .story__inner { grid-template-columns: 1fr; gap: 3rem; }
  .story__portrait-frame { max-width: 380px; }
  .proof__grid, .offer__list { grid-template-columns: 1fr; }
  .proof__card:nth-child(2) { transform: none; }
  .offer-card--feature { transform: none; }
  .proof__stats { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--black-deep);
    border-left: 1px solid var(--hairline);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2.4rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { padding-top: 7rem; }
  .service-row { grid-template-columns: 50px 1fr; }
  .lg-only { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scroll-cue__line { animation: none; }
}
