/*!
 * Landing Pack — Course / event theme "Craftline Academy" (v1.0.0)
 * Made by Vortaxis Studio · https://vortaxis.com
 * Change the brand by editing the tokens in the first two blocks.
 */
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #f6f1e8;
  --bg-2: #efe7da;
  --surface: #fffcf6;
  --surface-2: #f3ece0;
  --line: #e2d7c5;
  --ink: #1d1813;
  --mute: #6a5e50;
  --accent: #d9481f;
  --accent-2: #1f5c4a;
  --accent-ink: #fffaf2;
  --focus: #d9481f;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 14px 34px -14px rgba(60, 40, 20, .22);
  --shadow-lg: 0 34px 80px -30px rgba(60, 40, 20, .38);
}
[data-theme="dark"] {
  --bg: #14110e;
  --bg-2: #1b1713;
  --surface: #211c17;
  --surface-2: #2a241d;
  --line: #3a3128;
  --ink: #f6efe4;
  --mute: #b8aa97;
  --accent: #ff7a4d;
  --accent-2: #6fcfab;
  --accent-ink: #1a0f08;
  --focus: #ff9a74;
  --danger: #ff7a7a;
  --success: #7fdcb2;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px -14px rgba(0,0,0,.7);
  --shadow-lg: 0 34px 80px -30px rgba(0,0,0,.8);
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; }
.h2 { font-weight: 600; }
.eyebrow { color: var(--accent); }
.btn { border-radius: 14px; }

/* Top bar */
.topbar { background: var(--ink); color: var(--bg); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 42px; flex-wrap: wrap; padding: 6px 0; text-align: center; }
.topbar a { color: var(--bg); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; text-underline-offset: 3px; }
.topbar svg { width: 15px; height: 15px; }

/* Logo */
.logo span { display: inline-flex; flex-direction: column; line-height: .95; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.logo em { font-style: normal; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 70px color-mix(in srgb, var(--line) 25%, transparent), 0 0 0 140px color-mix(in srgb, var(--line) 15%, transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--accent-2); padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--accent-2) 10%, transparent); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero-title { font-size: clamp(46px, 6.4vw, 86px); line-height: 1.02; letter-spacing: -.02em; margin-top: 24px; font-weight: 500; }
.hero-title em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 580px; margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof { display: flex; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.faces { display: flex; align-items: center; }
.faces img, .faces span { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); margin-left: -10px; }
.faces img:first-child { margin-left: 0; }
.faces span { display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 700; }
.proof p { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 15px; flex-wrap: wrap; }
.proof b { color: var(--ink); }
.proof .stars svg { width: 16px; height: 16px; }

/* Ticket card */
.ticket { position: relative; padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 103px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.ticket::before { left: -14px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -14px; clip-path: inset(0 50% 0 0); }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ticket-tag { font-family: var(--font-head); font-style: italic; font-size: 24px; font-weight: 600; }
.ticket-seats { font-size: 14px; color: var(--mute); }
.ticket-seats b { color: var(--accent); }
.seat-bar { height: 8px; border-radius: 6px; background: var(--surface-2); margin: 14px 0 26px; overflow: hidden; }
.seat-bar i { display: block; height: 100%; width: var(--p); border-radius: 6px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.ticket-label { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--mute); padding-top: 18px; border-top: 1px dashed var(--line); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 22px; }
.countdown div { text-align: center; padding: 14px 4px 10px; border-radius: 14px; background: var(--surface-2); }
.countdown b { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; color: var(--mute); font-weight: 600; }
.ticket-facts { display: grid; gap: 14px; }
.ticket-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mute); }
.ticket-facts b { display: block; color: var(--ink); font-size: 15px; }
.ticket-facts svg { width: 20px; height: 20px; flex: none; color: var(--accent-2); margin-top: 2px; }
.ticket-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.ticket-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ticket-price s { color: var(--mute); font-size: 16px; }
.ticket-price b { font-family: var(--font-head); font-size: 38px; font-weight: 600; line-height: 1; }
.ticket-price span { font-size: 13px; font-weight: 700; color: var(--accent); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .ticket { max-width: 520px; } .ticket::before, .ticket::after { display: none; } }

/* Alumni logos */
.alumni li { font-size: 22px; white-space: nowrap; line-height: 1; }
.alumni .a1 { font-family: var(--font-head); font-weight: 700; font-style: italic; }
.alumni .a2 { font-weight: 700; letter-spacing: .24em; font-size: 17px; }
.alumni .a3 { font-family: var(--font-head); font-weight: 500; }
.alumni .a4 { font-weight: 700; letter-spacing: -.04em; font-size: 26px; }
.alumni .a5 { font-weight: 500; font-size: 19px; border: 2px solid currentColor; padding: 4px 10px; border-radius: 6px; }
.alumni .a6 { font-family: var(--font-head); font-weight: 800; letter-spacing: .02em; }

/* Curriculum */
.cur-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.cur-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.cur-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 36px 0 0; }
.cur-stats div { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.cur-stats dt { font-size: 13px; color: var(--mute); font-weight: 600; }
.cur-stats dd { margin: 4px 0 0; font-family: var(--font-head); font-size: 40px; font-weight: 600; line-height: 1; }
.weeks { display: grid; gap: 14px; }
.week { display: flex; gap: 22px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .3s, box-shadow .3s, border-color .3s; }
.week:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.wk { font-family: var(--font-head); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent); min-width: 54px; }
.week h3 { font-size: 22px; }
.week p { color: var(--mute); margin-top: 6px; font-size: 16px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tags i { font-style: normal; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--mute); }
@media (max-width: 900px) { .cur-grid { grid-template-columns: 1fr; } .cur-intro { position: static; } }
@media (max-width: 480px) { .week { flex-direction: column; gap: 10px; padding: 22px; } }

/* Format */
.format-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.format .f-icon { background: color-mix(in srgb, var(--accent-2) 14%, transparent); color: var(--accent-2); }
.format h3 { font-family: var(--font-head); }
@media (max-width: 960px) { .format-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .format-grid { grid-template-columns: 1fr; } }

/* People */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; max-width: none; }
.split-head .lead { margin: 0; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { margin: 0; }
.ph { border-radius: 22px; overflow: hidden; aspect-ratio: 6 / 7; background: var(--surface-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.person:hover .ph img { transform: scale(1.05); filter: saturate(1.05); }
.person figcaption { margin-top: 14px; }
.person b { font-family: var(--font-head); font-size: 21px; font-weight: 600; display: block; }
.person span { color: var(--mute); font-size: 14px; }
@media (max-width: 960px) { .people { grid-template-columns: 1fr 1fr; } .split-head { grid-template-columns: 1fr; } }

/* Agenda */
.sched-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.agenda { display: grid; }
.agenda li { display: grid; grid-template-columns: 80px 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.agenda li:first-child { border-top: 1px solid var(--line); }
.agenda time { font-family: var(--font-head); font-size: 24px; font-weight: 600; }
.agenda h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.agenda p { color: var(--mute); font-size: 15px; margin-top: 2px; }
.pill { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.pill.hot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (max-width: 900px) { .sched-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .agenda li { grid-template-columns: 1fr auto; } .agenda time { grid-column: 1 / -1; font-size: 20px; } }

/* Pricing */
.price .amt { font-family: var(--font-head); font-weight: 600; }
.price .was { color: var(--mute); font-size: 20px; margin-left: 8px; font-family: var(--font-body); }
.plan h3 { font-size: 24px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }
.quote blockquote { font-family: var(--font-head); font-size: 20px; line-height: 1.45; font-weight: 400; }
.quote.big { background: var(--accent-2); color: #f6efe4; border-color: transparent; }
.quote.big blockquote { font-size: 26px; }
.quote.big .avatar { background: var(--accent) !important; }
.quote.big figcaption div span { color: rgba(246, 239, 228, .75); }
[data-theme="dark"] .quote.big { background: #1f4a3d; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } .quote.big blockquote { font-size: 22px; } }

/* Register */
.register { background: var(--ink); color: var(--bg); }
.register .eyebrow { color: color-mix(in srgb, var(--accent) 80%, #fff); }
.register .lead { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.reg-points { display: grid; gap: 12px; margin-top: 28px; }
.reg-points li { display: flex; gap: 10px; align-items: center; }
.reg-points svg { width: 20px; height: 20px; color: var(--accent); }
.reg-points a { color: inherit; }
.reg-form { color: var(--ink); display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tix { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tix legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.tix label { position: relative; cursor: pointer; }
.tix input { position: absolute; opacity: 0; inset: 0; }
.tix span { display: block; padding: 12px; border-radius: 14px; border: 1px solid var(--line); font-size: 14px; color: var(--mute); transition: border-color .2s, background-color .2s; height: 100%; }
.tix b { display: block; color: var(--ink); font-size: 15px; }
.tix input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); box-shadow: 0 0 0 1px var(--accent); }
.tix input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
[data-theme="dark"] .register { background: #0c0a08; color: var(--ink); }
[data-theme="dark"] .register .lead { color: var(--mute); }
@media (max-width: 900px) { .reg-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .two, .tix { grid-template-columns: 1fr; } }
