/* =========================================
   PORTFOLIO — style.css
   Colors: Teal · Off-White · Black
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700;900&family=Syne:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ── Reset & Variables ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --teal: #0D9488;
    --teal-dark: #0F766E;
    --teal-light: #CCFBF1;
    --black: #0A0A0A;
    --black-soft: #1C1C1C;
    --offwhite: #F4F0E8;
    --offwhite-2: #EAE6DC;
    --shadow: 6px 6px 0px var(--black);
    --shadow-lg: 10px 10px 0px var(--black);
    --shadow-teal: 6px 6px 0px var(--teal-dark);
    --radius: 4px;
    --font-display: 'Fraunces', serif;
    --font-body: 'Syne', sans-serif;
    --transition: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--offwhite);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    outline: none;
}

/* ── Scroll Fade-in ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--black);
    border-bottom: 2px solid var(--teal);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo with icon */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
    transform: translate(-1px, -1px) scale(1.03);
}

.logo-icon {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(2px 2px 0 var(--teal-dark));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-6deg);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--offwhite);
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-dot {
    color: var(--teal);
}

nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

nav a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--offwhite);
    padding: 8px 14px;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
}

nav a:hover,
nav a.active {
    color: var(--teal);
    border-color: var(--teal);
    background: rgba(13, 148, 136, 0.1);
}

.nav-cta {
    background: var(--teal) !important;
    color: var(--black) !important;
    border-color: var(--teal) !important;
    box-shadow: 3px 3px 0 var(--teal-dark);
    transition: transform 0.15s, box-shadow 0.15s !important;
}

.nav-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--teal-dark) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--offwhite);
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
    background: var(--black);
    border-top: 2px solid var(--teal);
    padding: 60px 32px 32px;
    margin-top: 100px;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 33px;
    border-bottom: 1px solid rgba(244, 240, 232, 0.1);
}

.footer-brand p {
    color: rgba(244, 240, 232, 0.6);
    font-size: 0.875rem;
    margin-top: 12px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    color: rgba(244, 240, 232, 0.6);
    font-size: 0.875rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--offwhite);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
}

.footer-bottom p {
    color: rgba(244, 240, 232, 0.4);
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(244, 240, 232, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(244, 240, 232, 0.6);
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: 2px 2px 0 rgba(13, 148, 136, 0);
}

.social-link:hover {
    border-color: var(--teal);
    color: var(--teal);
    box-shadow: 3px 3px 0 var(--teal-dark);
    transform: translate(-2px, -2px);
}

/* ─────────────────────────────────────────
   SECTION LAYOUT
───────────────────────────────────────── */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid var(--teal);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: rgba(10, 10, 10, 0.55);
    max-width: 500px;
    line-height: 1.7;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
}

/* ─────────────────────────────────────────
   BLOCK CARD SYSTEM — the 3D blocks
───────────────────────────────────────── */
.card {
    background: var(--offwhite);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translate(-4px, -4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.card-dark {
    background: var(--black-soft);
    border-color: var(--teal);
    box-shadow: var(--shadow-teal);
}

.card-dark:hover {
    transform: translate(-4px, -4px) scale(1.02);
    box-shadow: 12px 12px 0 var(--teal-dark);
}

.card-teal {
    background: var(--teal);
    border-color: var(--black);
    box-shadow: var(--shadow);
}

.card-teal:hover {
    transform: translate(-4px, -4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Card thumb */
.card-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--offwhite-2);
    overflow: hidden;
    position: relative;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-thumb img {
    transform: scale(1.06);
}

.card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--offwhite-2) 100%);
    font-size: 2.5rem;
}

/* Card body */
.card-body {
    padding: 20px;
}

.card-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--teal);
    color: var(--offwhite);
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.82rem;
    color: rgba(10, 10, 10, 0.55);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-dark .card-title {
    color: var(--offwhite);
}

.card-dark .card-desc {
    color: rgba(244, 240, 232, 0.5);
}

.card-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal);
}

.card-price.free {
    color: var(--teal-dark);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(10, 10, 10, 0.1);
    padding-top: 14px;
    margin-top: 6px;
}

.card-dark .card-footer {
    border-color: rgba(244, 240, 232, 0.1);
}

/* ─────────────────────────────────────────
   HORIZONTAL SCROLL TRACK
───────────────────────────────────────── */
.scroll-section {
    position: relative;
}

.scroll-track-wrapper {
    position: relative;
    overflow: hidden;
}

.scroll-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 16px 12px 24px;
    /* top 16 · sides 12 · bottom 24 */
    margin: 0 -12px;
    scroll-padding-left: 12px;
    /* tell snap where the "start" is */
    scroll-padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) var(--offwhite-2);
    cursor: grab;
}

.scroll-track:active {
    cursor: grabbing;
}

.scroll-track::-webkit-scrollbar {
    height: 4px;
}

.scroll-track::-webkit-scrollbar-track {
    background: var(--offwhite-2);
}

.scroll-track::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 2px;
}

.scroll-track .card {
    flex: 0 0 320px;
    scroll-snap-align: start;
}

.scroll-arrows {
    display: flex;
    gap: 8px;
    margin-top: 0;
}

.arrow-btn {
    width: 44px;
    height: 44px;
    background: var(--black);
    color: var(--offwhite);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 3px 3px 0 var(--teal);
    transition: all 0.2s;
}

.arrow-btn:hover {
    background: var(--teal);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--teal-dark);
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 2px solid var(--black);
    background: var(--offwhite);
    color: var(--black);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--teal);
    color: var(--offwhite);
    border-color: var(--teal-dark);
    box-shadow: 4px 4px 0 var(--teal-dark);
}

.btn-primary:hover {
    background: var(--teal);
    box-shadow: 8px 8px 0 var(--teal-dark);
}

.btn-dark {
    background: var(--black);
    color: var(--offwhite);
    border-color: var(--black-soft);
    box-shadow: 4px 4px 0 rgba(13, 148, 136, 0.4);
}

.btn-dark:hover {
    box-shadow: 8px 8px 0 var(--teal-dark);
    transform: translate(-3px, -3px);
}

.btn-outline {
    background: transparent;
    border-color: var(--teal);
    color: var(--teal);
    box-shadow: 3px 3px 0 var(--teal-dark);
}

.btn-outline:hover {
    background: var(--teal);
    color: var(--offwhite);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.72rem;
}

/* ─────────────────────────────────────────
   HERO — HOME
───────────────────────────────────────── */
.hero {
    background: var(--black);
    border-bottom: 2px solid var(--teal);
    padding: 100px 32px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--teal);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--offwhite);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--teal);
}

.hero p {
    color: rgba(244, 240, 232, 0.6);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero visual side */
.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.hero-block {
    background: var(--black-soft);
    border: 1.5px solid rgba(13, 148, 136, 0.3);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 5px 5px 0 rgba(13, 148, 136, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-block:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--teal);
}

.hero-block:nth-child(1) {
    grid-column: span 2;
}

.hero-block-label {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-block-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
}

.hero-block-sub {
    font-size: 0.8rem;
    color: rgba(244, 240, 232, 0.4);
    margin-top: 4px;
}

/* ─────────────────────────────────────────
   ABOUT STRIP (homepage teaser)
───────────────────────────────────────── */
.about-strip {
    background: var(--black);
    border-top: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    padding: 64px 32px;
}

.about-strip-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-strip h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--offwhite);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-strip h2 span {
    color: var(--teal);
}

.about-strip p {
    color: rgba(244, 240, 232, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-block {
    background: var(--black-soft);
    border: 1.5px solid rgba(13, 148, 136, 0.25);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 4px 4px 0 rgba(13, 148, 136, 0.3);
    transition: transform 0.25s, box-shadow 0.25s;
}

.stat-block:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--teal);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(244, 240, 232, 0.5);
    font-weight: 500;
}

/* ─────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────── */
.page-hero {
    background: var(--black);
    border-bottom: 2px solid var(--teal);
    padding: 60px 32px;
}

.page-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 900;
    color: var(--offwhite);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 16px;
}

.page-hero h1 em {
    font-style: italic;
    color: var(--teal);
}

.page-hero p {
    color: rgba(244, 240, 232, 0.55);
    font-size: 1rem;
    max-width: 560px;
    line-height: 1.7;
}

/* ─────────────────────────────────────────
   FILTER BAR
───────────────────────────────────────── */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 18px;
    background: transparent;
    border: 1.5px solid rgba(10, 10, 10, 0.2);
    border-radius: 2px;
    color: rgba(10, 10, 10, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.filter-btn.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--offwhite);
    box-shadow: 3px 3px 0 var(--teal-dark);
}

.filter-btn:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--offwhite);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--teal-dark);
}

.filter-btn.active:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--teal-dark);
}

/* ─────────────────────────────────────────
   GRID LAYOUT
───────────────────────────────────────── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ─────────────────────────────────────────
   DETAIL PAGE
───────────────────────────────────────── */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

.detail-main-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--offwhite-2);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.thumb-row {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.thumb-item {
    flex: 0 0 120px;
    height: 80px;
    background: var(--offwhite-2);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: 3px 3px 0 var(--black);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
}

.thumb-item:hover,
.thumb-item.active {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--teal);
    border-color: var(--teal);
}

.detail-desc h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.detail-desc p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(10, 10, 10, 0.65);
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    margin-top: 8px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--offwhite-2);
    font-size: 0.88rem;
    color: rgba(10, 10, 10, 0.7);
}

.feature-list li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    background: var(--teal);
    color: var(--offwhite);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Sticky sidebar */
.detail-sidebar {
    position: sticky;
    top: 80px;
}

.price-card {
    background: var(--offwhite);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    margin-bottom: 20px;
}

.price-card .price {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
}

.price-card .price span {
    font-size: 1.2rem;
    color: rgba(10, 10, 10, 0.4);
    text-decoration: line-through;
}

.price-card .price-note {
    font-size: 0.78rem;
    color: rgba(10, 10, 10, 0.45);
    margin-bottom: 24px;
}

.price-card .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

.detail-meta {
    background: var(--offwhite);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--offwhite-2);
    font-size: 0.82rem;
}

.meta-row:last-child {
    border-bottom: none;
}

.meta-label {
    color: rgba(10, 10, 10, 0.45);
    font-weight: 600;
}

.meta-value {
    font-weight: 700;
    color: var(--black);
}

/* ─────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────── */
.about-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.profile-block {
    background: var(--black-soft);
    border: 2px solid var(--teal);
    border-radius: var(--radius);
    box-shadow: var(--shadow-teal);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.profile-block:hover {
    transform: translate(-5px, -5px);
    box-shadow: 14px 14px 0 var(--teal-dark);
}

.profile-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.profile-info {
    padding: 24px;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--offwhite);
    margin-bottom: 4px;
}

.profile-role {
    font-size: 0.8rem;
    color: var(--teal);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.profile-bio {
    font-size: 0.88rem;
    color: rgba(244, 240, 232, 0.55);
    line-height: 1.7;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--teal);
    border: 2px solid var(--offwhite);
    border-radius: 50%;
}

.timeline-year {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 0.85rem;
    color: rgba(10, 10, 10, 0.55);
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--offwhite);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: 3px 3px 0 var(--black);
    font-size: 0.82rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill-tag:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--teal);
    border-color: var(--teal);
}

.skill-icon {
    font-size: 1.2rem;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: relative;
        top: 0;
    }

    .about-hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .about-strip-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--black);
        border-bottom: 2px solid var(--teal);
        padding: 16px 20px;
        transform: translateY(-110%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .mobile-nav.open {
        transform: translateY(0);
    }

    .mobile-nav a {
        display: block;
        color: var(--offwhite);
        padding: 12px 0;
        border-bottom: 1px solid rgba(244, 240, 232, 0.1);
        font-size: 0.9rem;
        font-weight: 600;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    .scroll-track .card {
        flex: 0 0 280px;
    }

    .hero {
        padding: 70px 20px;
    }

    .page-hero {
        padding: 40px 20px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===================================
   TWEAKS — hover polish, image thumbs, carousels, footer spacing
   =================================== */

/* Nav links — same lift as .nav-cta, keeps existing colour/border style */
nav a {
    transition: transform 0.2s, box-shadow 0.2s, color 0.2s,
        border-color 0.2s, background 0.2s;
}

nav a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 var(--teal-dark);
}

.nav-cta:hover {
    box-shadow: 5px 5px 0 var(--teal-dark) !important;
}

/* Footer column links — underline slide + teal shift */
.footer-col a {
    position: relative;
    display: block;
    width: fit-content;
    padding-bottom: 2px;
}

.footer-col a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal);
    transition: width 0.25s ease;
}

.footer-col a:hover {
    color: var(--teal);
}

.footer-col a:hover::after {
    width: 100%;
}

/* Social icons — stronger 3D lift (style unchanged at rest) */
.social-link {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s, border-color 0.25s, color 0.25s;
}

.social-link:hover {
    transform: translate(-3px, -3px) scale(1.08);
    box-shadow: 5px 5px 0 var(--teal-dark);
}

.social-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

/* .hover-block utility — opts any static block into the card lift */
.hover-block {
    transition: transform var(--transition), box-shadow var(--transition);
}

.hover-block:hover {
    transform: translate(-4px, -4px) scale(1.02);
    box-shadow: var(--shadow-lg) !important;
}

.hover-block.teal-shadow:hover {
    box-shadow: 10px 10px 0 var(--teal-dark) !important;
}

/* Kill the 100px void before the footer — contents still have their own padding */
footer {
    margin-top: 0;
}

/* Phone mockup screen image */
.phone-screen-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

/* Screenshot strip images */
.screenshot-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Skill-tag icon image */
.skill-tag img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Testimonial carousel — reuses .scroll-track pattern */
.review-track .card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
}

@media (max-width: 1024px) {
    .review-track .card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .review-track .card {
        flex: 0 0 85%;
    }
}

/* Detail-page main image accepting an <img> */
.detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prevent inner .card from "popping out" of an outer .hover-block on hover */
.hover-block .card:hover {
    transform: none;
    box-shadow: var(--shadow);
}

/* Base styles for the mask icons */
.web-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #878686;
    /* Starting color (White) */
    transition: background-color 0.3s ease;
    /* Smooth fade effect */

    /* Ensures the icon fits perfectly */
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Pull in the logos from the web links */
.mask-notion {
    -webkit-mask-image: url('https://cdn.simpleicons.org/notion');
    mask-image: url('https://cdn.simpleicons.org/notion');
}

.mask-gumroad {
    -webkit-mask-image: url('https://cdn.simpleicons.org/gumroad');
    mask-image: url('https://cdn.simpleicons.org/gumroad');
}

/* THE HOVER COLOR */
.social-link:hover .web-icon {
    background-color: #008080;
    /* Changes to Teal on hover */
}

/* =========================================
   FOOTER NEWSLETTER BAND
   ========================================= */
.footer-newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: rgb(17, 17, 17);
    border: 2px solid var(--teal);
    border-radius: var(--radius);
    box-shadow: var(--shadow-teal);
    padding: 32px 36px;
    margin-bottom: 48px;
}

.footer-newsletter-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid var(--teal);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 14px;
}

.footer-newsletter-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--offwhite);
    margin-bottom: 10px;
}

.footer-newsletter-sub {
    font-size: 0.88rem;
    color: rgba(244, 240, 232, 0.55);
    line-height: 1.7;
    max-width: 360px;
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.footer-newsletter-form iframe.beehiiv-embed {
    width: 100% !important;
    max-width: 100% !important;
    height: 100px !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
}

.footer-newsletter-note {
    font-size: 0.72rem;
    color: rgba(244, 240, 232, 0.4);
    margin: 0;
    letter-spacing: 0.02em;
}

/* Hover lift uses .hover-block — override the default shadow to teal */
.footer-newsletter.hover-block:hover {
    box-shadow: 10px 10px 0 var(--teal-dark) !important;
}

@media (max-width: 768px) {
    .footer-newsletter {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 24px;
        margin-bottom: 40px;
    }

    .footer-newsletter-sub {
        max-width: none;
    }
}

/* =========================================
   WIDGETS — embed frame, settings list, copy link
   ========================================= */

.widget-embed-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--offwhite-2);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}

.widget-embed-frame iframe,
.widget-embed-frame img {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

.embed-link-card {
    background: var(--black-soft);
    border: 1.5px solid var(--teal);
    border-radius: var(--radius);
    box-shadow: var(--shadow-teal);
    padding: 24px;
    margin-bottom: 20px;
}

/* Embed link — wraps long URLs so the box fills the full card width */
.embed-link-input {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: var(--black);
    border: 1.5px solid rgba(244, 240, 232, 0.15);
    border-radius: var(--radius);
    color: var(--offwhite);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.5;
    padding: 16px 18px;
    min-width: 0;
    outline: none;
    box-sizing: border-box;
    resize: none;
    word-break: break-all;
    overflow-wrap: anywhere;
    cursor: text;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.embed-link-input:hover {
    border-color: rgba(13, 148, 136, 0.55);
}

.embed-link-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.25);
}

/* Settings rows — each row is an interactive 3D block card */
.settings-list {
    list-style: none;
    margin-top: 8px;
    display: grid;
    gap: 14px;
}

.settings-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background-color: var(--offwhite-2);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: 4px 4px 0 var(--black);
    font-size: 0.92rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.settings-list li:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--black);
    background-color: var(--offwhite);
}

.settings-list li:focus-within {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--teal-dark);
    border-color: var(--teal-dark);
    background-color: var(--offwhite);
}

.settings-list .setting-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--black);
}

.settings-list .setting-opts {
    color: rgba(10, 10, 10, 0.55);
    text-align: right;
}

/* Interactive colorful select — matches btn-primary / filter-btn language */
.setting-select {
    background-color: var(--teal);
    border: 1.5px solid var(--black);
    border-radius: var(--radius);
    box-shadow: 3px 3px 0 var(--black);
    color: var(--offwhite);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 8px 32px 8px 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M1 3l4 4 4-4' stroke='%23F4F0E8' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.setting-select:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--black);
    background-color: var(--teal-dark);
}

.setting-select:focus,
.setting-select:focus-visible {
    outline: none;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--teal-dark);
    background-color: var(--teal-dark);
}

.setting-select:active {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0 var(--black);
}

/* Dropdown options stay readable on native UIs */
.setting-select option {
    background: var(--offwhite);
    color: var(--black);
    font-weight: 600;
}

/* =========================================
   COURSES — playlist sidebar, video, description, celebration
   ========================================= */

.course-playlist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lesson-toggle {
    background: var(--offwhite);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0;
    overflow: hidden;
}

.lesson-toggle>summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    background: var(--offwhite-2);
    border-bottom: 2px solid var(--black);
    position: relative;
    transition: background 0.2s;
}

.lesson-toggle>summary::-webkit-details-marker {
    display: none;
}

.lesson-toggle>summary::before {
    content: '▸';
    display: inline-block;
    margin-right: 6px;
    color: var(--teal);
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.lesson-toggle[open]>summary::before {
    transform: rotate(90deg);
}

.lesson-toggle>summary:hover {
    background: var(--teal-light);
}

.lesson-toggle:not([open])>summary {
    border-bottom-color: transparent;
}

.lesson-level {
    flex: 1;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--black);
}

.lesson-count {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(10, 10, 10, 0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lesson-list {
    list-style: none;
    padding: 10px 14px 14px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lesson-link {
    position: relative;
    display: block;
    padding: 8px 12px;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(10, 10, 10, 0.72);
    border-radius: 3px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.lesson-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 1.5px;
    width: 0;
    background: var(--teal);
    transition: width 0.25s ease;
}

.lesson-link:hover {
    color: var(--teal);
}

.lesson-link:hover::after {
    width: calc(100% - 24px);
}

.lesson-link.is-playing {
    background: var(--teal);
    color: var(--offwhite);
    font-weight: 700;
    box-shadow: 3px 3px 0 var(--teal-dark);
}

.lesson-link.is-playing::after {
    display: none;
}

.lesson-link.is-done::before {
    content: '✓ ';
    color: var(--teal);
    font-weight: 900;
    margin-right: 2px;
}

.lesson-link.is-done:not(.is-playing) {
    color: rgba(10, 10, 10, 0.4);
    text-decoration: line-through;
}

/* Main column blocks */
.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--black);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.description-block {
    position: relative;
    background: var(--offwhite);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 36px;
    margin-bottom: 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.description-block:hover {
    transform: translate(-4px, -4px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.description-block h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    padding-right: 140px;
}

.description-block p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(10, 10, 10, 0.65);
    margin-bottom: 12px;
}

.description-block a {
    color: var(--teal);
    font-weight: 700;
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.description-block a:hover {
    color: var(--teal-dark);
    border-bottom-color: var(--teal-dark);
}

.done-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: var(--radius);
    border: 2px solid var(--teal-dark);
    background: var(--teal);
    color: var(--offwhite);
    box-shadow: 3px 3px 0 var(--teal-dark);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background 0.2s;
}

.done-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--teal-dark);
}

.done-btn.is-done {
    background: var(--black);
    border-color: var(--black);
    color: var(--teal);
    box-shadow: 3px 3px 0 var(--teal);
}

.done-btn.popped {
    animation: donePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes donePop {
    0% {
        transform: scale(1) translate(-2px, -2px);
    }

    40% {
        transform: scale(1.25) translate(-4px, -4px);
    }

    100% {
        transform: scale(1) translate(-2px, -2px);
    }
}

.next-lesson-shortcut {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--black-soft);
    border: 2px solid var(--teal);
    border-radius: var(--radius);
    box-shadow: var(--shadow-teal);
    color: var(--offwhite);
    cursor: pointer;
    text-decoration: none;
}

.next-lesson-shortcut .up-next-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 4px;
}

.next-lesson-shortcut .up-next-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--offwhite);
    letter-spacing: -0.01em;
}

.next-lesson-shortcut .up-next-arrow {
    margin-left: auto;
    font-size: 1.4rem;
    color: var(--teal);
    transition: transform 0.25s ease;
}

.next-lesson-shortcut:hover .up-next-arrow {
    transform: translateX(6px);
}

/* Course breadcrumb */
.course-breadcrumb {
    background: var(--offwhite-2);
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
    padding: 12px 32px;
}

.course-breadcrumb-inner {
    max-width: 1240px;
    margin: 0 auto;
    font-size: 0.78rem;
    color: rgba(10, 10, 10, 0.45);
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-breadcrumb-inner a {
    color: var(--teal);
    font-weight: 600;
}

/* Celebration overlay */
.page-celebrate-flash {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.25s ease;
}

.page-celebrate-flash.visible {
    opacity: 1;
}

.celebrate-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 1024px) {
    .course-playlist {
        margin-top: 32px;
    }
}

@media (max-width: 768px) {
    .description-block {
        padding: 24px 22px;
    }

    .description-block h2 {
        padding-right: 0;
        margin-top: 44px;
    }

    .done-btn {
        top: 14px;
        right: 14px;
        padding: 8px 14px;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .page-celebrate-flash,
    .celebrate-canvas {
        display: none !important;
    }

    .done-btn.popped {
        animation: none;
    }
}

/* =========================================
   FOOTER BANDS — newsletter + feedback, side by side
   ========================================= */

/* Two bands sit side-by-side at the top of the footer */
.footer-bands {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

/* Each band is now half-width, so stack text above form instead of side-by-side.
   This overrides the 2-col rule on .footer-newsletter further up the file. */
.footer-newsletter,
.footer-feedback {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 30px;
    margin-bottom: 0;
    align-items: start;
}

/* Feedback card — same visual language as the newsletter band */
.footer-feedback {
    display: grid;
    background: rgb(17, 17, 17);
    border: 2px solid var(--teal);
    border-radius: var(--radius);
    box-shadow: var(--shadow-teal);
}

.footer-feedback.hover-block:hover {
    box-shadow: 10px 10px 0 var(--teal-dark) !important;
}

.footer-feedback-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid var(--teal);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 14px;
}

.footer-feedback-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--offwhite);
    margin-bottom: 10px;
}

.footer-feedback-sub {
    font-size: 0.88rem;
    color: rgba(244, 240, 232, 0.55);
    line-height: 1.7;
    margin: 0;
}

.footer-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-feedback-note {
    font-size: 0.72rem;
    color: rgba(244, 240, 232, 0.4);
    margin: 0;
    letter-spacing: 0.02em;
}

/* The Notion form iframe — wrapper crops the Notion page chrome and
   a negative margin-top pulls the form up so it sits visually centered. */
.notion-feedback-embed-wrap {
    width: 100%;
    height: 180px;
    background: var(--offwhite);
    border: 2px solid var(--black);
    border-radius: var(--radius);
    box-shadow: 4px 4px 0 var(--teal-dark);
    overflow: hidden;
    position: relative;
}

.notion-feedback-embed {
    width: 100%;
    height: 820px;
    /* taller than the wrapper */
    margin-top: -160px;
    /* pulls the top chrome out of view -> form centers */
    border: 0;
    background: transparent;
    display: block;
    color-scheme: light;
}

@media (max-width: 768px) {
    .notion-feedback-embed-wrap {
        height: 560px;
    }

    .notion-feedback-embed {
        height: 860px;
        margin-top: -140px;
    }
}

/* Beehiiv iframe needs a touch more height at the narrower width */
.footer-newsletter-form iframe.beehiiv-embed {
    height: 120px !important;
}

@media (max-width: 900px) {
    .footer-bands {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .footer-newsletter,
    .footer-feedback {
        padding: 24px 22px;
    }
}