/* Masterclass landing page — cccforleaders.com/masterclass
   Plain CSS so each block maps to one Elementor section later.
   One dark system: black page, bordered dark panels, gold accents, Bebas headings. */

:root {
  --bg: #0b0b0b;
  --surface: #141311;
  --surface-2: #1a1916;
  --line: #2c2a26;
  --line-strong: #3d3a34;
  --white: #ffffff;
  --text: #bdb7ab;
  --muted: #8f8a80;
  --gold: #ecac2c;          /* sampled from the CCC logo */
  --gold-press: #d99a1c;
  --gold-soft: rgba(236, 172, 44, 0.12);
  --stripes: repeating-linear-gradient(90deg, rgba(236, 172, 44, 0.16) 0 1px, transparent 1px 14px);
  --error: #ff8a80;

  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1080px;
  --gutter: 20px;
  --section: clamp(72px, 10vw, 120px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 19px; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--gold); color: #111; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(44px, 9vw, 68px); margin-bottom: 24px; }
h3 { font-size: 28px; line-height: 1.05; margin-bottom: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lead { color: #d9d4ca; font-size: 21px; line-height: 1.55; }
.small { color: var(--muted); font-size: 15px; }

/* Highlighted phrase: white with the gold dotted underline from the hero */
.hl {
  color: var(--white);
  font-weight: 500;
  text-decoration: underline dotted var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Sections share one ground; a hairline separates them */
.section { padding: var(--section) 0; border-top: 1px solid var(--line); }

/* Eyebrow: gold label with the brand hexagon */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font: 500 14px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 14px;
  height: 16px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* Bordered dark panel, the same surface as the nav box */
.panel { border: 1px solid var(--line); background: var(--surface); }

/* Heading on the left, content on the right; the left side stays in view */
.split { display: grid; gap: 40px 72px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 4fr 7fr; align-items: start; }
  .split__side { position: sticky; top: 40px; }
}
.split__side > p:not(.eyebrow) { max-width: 36ch; }
.split__side .btn { margin-top: 12px; }

/* Intro row: heading left, lead right */
.intro { display: grid; gap: 8px 72px; margin-bottom: 48px; }
@media (min-width: 900px) {
  .intro { grid-template-columns: 1fr 1fr; align-items: end; }
  .intro h2 { margin-bottom: 0; }
}

/* Hexagon bullets */
.hexlist { margin: 0; padding: 0; list-style: none; }
.hexlist li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: #e6e1d7; }
.hexlist li:first-child { border-top: 1px solid var(--line); }
.hexlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 12px;
  height: 14px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hexlist small { display: block; margin-top: 2px; color: var(--muted); font-size: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 32px;
  border: 0;
  border-radius: 2px;
  background: var(--gold);
  color: #111;
  font: 400 24px/1 var(--display);
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--gold-press); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 20px; }
.btn--block { width: 100%; }
.btn--outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--gold); }
.btn--outline:hover { background: var(--gold-soft); }
@media (max-width: 599px) { .btn--wide-mobile { width: 100%; } }

.textlink {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.textlink:hover { color: var(--gold); }

/* ---------- Header: floating nav box ---------- */
.navbox {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 880px;
  margin: 0 var(--gutter);
  padding: 12px 12px 12px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}
@media (min-width: 920px) { .navbox { margin: 0 auto; } }
.navbox__logo { margin-right: auto; }
.navbox__logo img { width: 132px; }
.navbox__links { display: none; margin: 0; padding: 0; list-style: none; gap: 28px; }
.navbox__links a { color: #d9d4ca; font-size: 15px; text-decoration: none; }
.navbox__links a:hover { color: var(--white); }
.navbox__back { color: #d9d4ca; font-size: 15px; text-decoration: none; }
.navbox__back:hover { color: var(--white); }
@media (min-width: 900px) {
  .navbox__logo img { width: 156px; }
  .navbox__links { display: flex; }
}

/* ---------- 1. Hero ---------- */
.hero { position: relative; overflow: clip; padding-top: 16px; }
.hero__grid { display: grid; gap: 8px; padding-top: clamp(40px, 6vw, 56px); }
.hero__copy { position: relative; z-index: 1; }

/* Gold-ringed avatar with a line running out to the left edge */
.ringed { position: relative; width: 64px; margin: 0 0 24px; }
.ringed img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--gold); }
.ringed::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 16px);
  width: 100vw;
  height: 2px;
  background: var(--gold);
}

.hero h1 { font-size: clamp(60px, 14vw, 88px); line-height: 0.9; max-width: 10ch; }
.hero__sub { max-width: 34ch; margin: 24px 0 28px; font-size: 20px; line-height: 1.6; }
@media (min-width: 768px) { .hero__sub { font-size: 21px; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
@media (max-width: 599px) { .hero__actions .btn { flex: 1 1 100%; } }
.hero__small { margin: 20px 0 0; color: var(--muted); font-size: 15px; }

/* Portrait sits on the bottom edge; the stripes run out to the right edge */
.hero__media { position: relative; display: grid; justify-items: center; align-self: end; padding-top: 24px; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 -50vw 0 -24px;
  background: var(--stripes);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
  mask-image: linear-gradient(to bottom, transparent, #000 45%);
}
.hero__media img { position: relative; width: min(100%, 400px); }

.namecard {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  max-width: 360px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: rgba(20, 19, 17, 0.94);
  color: #a9a397;
  font-size: 15px;
  line-height: 1.5;
}
.namecard strong { display: block; color: var(--white); font: 400 26px/1 var(--display); letter-spacing: 0.02em; margin-bottom: 6px; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; }
  .hero__copy { padding-bottom: 56px; }
  .hero h1 { max-width: 13ch; }
  .hero__media { align-self: stretch; padding-top: 0; }
  .hero__media::before {
    top: -400px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
    mask-image: linear-gradient(to bottom, transparent, #000 30%);
  }
  /* Top of Greg's head level with the top of the avatar. The cutout has 12.8%
     transparent space above his head: top + 0.128 * (100% - top) = 0 gives -14.68%.
     The left edge fades so his shoulder never sits on the subhead. */
  .hero__media img {
    position: absolute;
    top: -14.68%;
    bottom: 0;
    right: -40px;
    width: auto;
    height: 114.68%;
    max-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  }
  .namecard { left: -32px; right: auto; bottom: 40px; margin: 0; }
}
@media (min-width: 1200px) { .hero__media img { right: -120px; } }

/* ---------- 2. Who it's for: four bordered cards ---------- */
.cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .cards--4 .card__tag { margin-bottom: 40px; }
}
.card { padding: 28px 24px 32px; }
.card__tag { display: block; margin-bottom: 14px; color: var(--gold); font: 400 22px/1 var(--display); letter-spacing: 0.04em; }
.card p { margin: 0; font-size: 17px; }

/* ---------- 3. What you'll work on: numbered 2 x 2 grid ---------- */
.steps { display: grid; gap: 0 40px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps li { counter-increment: step; padding: 28px 0 32px; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font: 400 48px/1 var(--display);
}
.steps p { margin: 0; font-size: 17px; }

/* ---------- 4. What you take home: photo + list ---------- */
.media-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .media-split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.framed { position: relative; margin: 0; padding: 0 0 20px 20px; }
.framed::before { content: ""; position: absolute; inset: 40px 40px 0 0; background: var(--stripes); }
.framed img { position: relative; width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border: 1px solid var(--line); }
.framed figcaption { position: relative; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- 5. The day: timeline ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 79px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 32px; padding: 0 0 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 74px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline time { color: var(--gold); font: 400 22px/1 var(--display); letter-spacing: 0.04em; padding-top: 4px; font-variant-numeric: tabular-nums; }
.timeline strong { display: block; color: var(--white); font-weight: 500; }
.timeline p { margin: 4px 0 0; font-size: 17px; }
.timeline .is-break::before { background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-strong), 0 0 0 4px var(--bg); }
.timeline .is-break time { color: var(--muted); }
.timeline .is-break strong { color: var(--muted); font-weight: 400; }

/* ---------- 6. About Greg: profile card + numbers ---------- */
.profile { display: grid; overflow: hidden; }
@media (min-width: 900px) { .profile { grid-template-columns: 5fr 6fr; } }
.profile__photo { margin: 0; min-height: 320px; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.profile__body { padding: clamp(28px, 5vw, 56px); }
.profile__role { margin: -12px 0 24px; color: var(--gold); font-size: 16px; }
.profile__body p:not(.eyebrow):not(.profile__role) { font-size: 17px; }

.numbers { display: grid; grid-template-columns: 1fr; margin: 12px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .numbers { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.numbers li { padding: 24px; border: 1px solid var(--line); margin-top: -1px; }
@media (min-width: 640px) { .numbers li { margin-top: 0; } }
.numbers strong { display: block; color: var(--gold); font: 400 64px/0.9 var(--display); }
.numbers span { display: block; margin-top: 8px; font-size: 16px; }
@media (max-width: 639px) {
  .numbers li { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; padding: 18px 20px; }
  .numbers strong { font-size: 44px; }
  .numbers span { margin-top: 0; }
}

/* ---------- 7. Testimonials: stacked quotes + logo strip ---------- */
.quotes { display: grid; gap: 12px; }
.quote { margin: 0; padding: 28px; }
.quote blockquote { margin: 0 0 24px; color: #e6e1d7; font-size: 18px; }
.quote blockquote::before { content: "\201C"; display: block; height: 32px; color: var(--gold); font: 400 64px/1 var(--display); }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; flex: none; filter: grayscale(1); }
.quote figcaption strong { display: block; color: var(--white); font-weight: 500; font-size: 16px; }

.logos { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.logos > p { margin-bottom: 28px; text-align: center; color: var(--muted); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.logos ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; margin: 0; padding: 0; list-style: none; }
.logos img { width: auto; filter: brightness(0) invert(1); opacity: 0.6; }

/* ---------- 8. Fee: single price card with a corner tag ---------- */
.price { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 48px); border-top: 3px solid var(--gold); }
.price__tag {
  position: absolute;
  top: 22px;
  right: -46px;
  width: 190px;
  padding: 6px 0;
  background: var(--gold);
  color: #111;
  font: 400 18px/1 var(--display);
  letter-spacing: 0.06em;
  text-align: center;
  transform: rotate(45deg);
}
.price__label { margin: 0 0 12px; color: var(--muted); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.price__amount { margin: 0; color: var(--white); font: 400 clamp(72px, 16vw, 104px)/0.9 var(--display); }
.price__tax { margin: 8px 0 28px; color: var(--muted); }
.price .hexlist { margin-bottom: 32px; }
.price .small { margin: 14px 0 0; }

/* ---------- 9. FAQs: bordered accordion rows ---------- */
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); background: var(--surface); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  color: var(--white);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--gold); font: 400 32px/0.8 var(--display); }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 24px 24px; font-size: 17px; }

/* ---------- 10. Contact + closing call ---------- */
.contact { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.contact li { padding: 24px; }
.contact span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.contact a { color: var(--white); font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { color: var(--gold); }

.closing { position: relative; overflow: hidden; margin-top: 72px; padding: clamp(32px, 6vw, 64px); }
.closing::after {
  content: "";
  position: absolute;
  inset: 0 0 0 55%;
  background: var(--stripes);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.closing > * { position: relative; z-index: 1; }
.closing h2 { max-width: 14ch; }
.closing .hero__actions { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); font-size: 15px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-top: 40px; padding-bottom: 40px; }
.footer__top img { width: 156px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 auto 0 0; padding: 0; list-style: none; }
.footer__links a { color: #d9d4ca; text-decoration: none; }
.footer__links a:hover { color: var(--white); }
.footer__bottom { padding: 20px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__bottom a { color: var(--muted); }

/* ---------- Register page ---------- */
.reg-head { position: relative; overflow: clip; padding: 16px 0 48px; }
.reg-head .wrap { padding-top: clamp(40px, 6vw, 56px); }
.reg-head h1 { font-size: clamp(56px, 12vw, 88px); line-height: 0.9; }
.summary { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 20px 0 0; padding: 0; list-style: none; }
.summary li { color: var(--white); }

.reg { padding-bottom: var(--section); }
.reg-head .wrap,
.reg .wrap { max-width: 800px; }
.step { margin-bottom: 12px; padding: clamp(24px, 5vw, 40px); }
.step h2 { font-size: clamp(36px, 8vw, 48px); margin-bottom: 8px; }
.step__intro { color: var(--muted); margin-bottom: 28px; }
.step__label { margin: 0 0 12px; color: var(--gold); font: 500 14px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }

.fields { display: grid; gap: 20px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { color: var(--white); font-weight: 500; font-size: 16px; }
.field label small { color: var(--muted); font-weight: 400; font-size: 14px; }
.field input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--bg);
  color: var(--white);
  font: 400 17px/1.3 var(--body);
}
.field input::placeholder { color: #5f5a52; }
.field input:hover { border-color: #57534b; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__hint { margin: 0; color: var(--muted); font-size: 14px; }
.field__error { margin: 0; color: var(--error); font-size: 14px; }
.field__error:empty { display: none; }
.field:has(.field__error:not(:empty)) .field__hint { display: none; }

.gst { margin-top: 28px; padding: 24px; border: 1px dashed var(--line-strong); }
.gst h3 { font-family: var(--body); font-size: 17px; font-weight: 500; line-height: 1.4; margin-bottom: 4px; }
.gst h3 small { color: var(--muted); font-weight: 400; }
.gst > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }

.pay { display: grid; gap: 28px; align-items: start; }
@media (min-width: 640px) { .pay { grid-template-columns: 240px 1fr; } }
.qr {
  display: grid;
  place-items: center;
  width: 240px;
  aspect-ratio: 1;
  padding: 20px;
  border: 1px dashed var(--line-strong);
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
@media (hover: none) and (pointer: coarse) { .pay .qr { order: 2; } }
.pay__total { margin: 0 0 4px; color: var(--white); font: 400 56px/1 var(--display); }
.pay__upi { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 22px; }
.pay__upi code { padding: 8px 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--white); font: 500 16px/1.2 ui-monospace, Menlo, monospace; }
.linkbtn {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--white);
  font: 500 15px/1 var(--body);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.only-phone { display: none; }
@media (hover: none) and (pointer: coarse) { .only-phone { display: inline-flex; } }
.step .small { margin: 14px 0 0; }

.done { padding: clamp(28px, 5vw, 48px); border-top: 3px solid var(--gold); }
.done h2 { margin-bottom: 16px; }
.done strong { color: var(--white); }
[hidden] { display: none !important; }
