/* ============================================================
   DANIELLE APPLESTONE — Personal Dossier
   Fonts: Gantari (matches applestone.co)
   Aesthetic: editorial minimal (applestone.co × Co-Star)
   ============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

:root {
    --dark:        #1b1c1f;
    --dark-soft:   #27282c;
    --white:       #ffffff;
    --cream:       #F7F6F2;
    --accent:      #1c9e68;
    --accent-dim:  #158054;
    --text:        #1b1c1f;
    --muted:       #72787f;
    --border:      #E2DFD8;
    --font:        'Gantari', sans-serif;
    --nav-h:       64px;
    --max:         1120px;
    --section-v:   100px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: background 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

nav.scrolled .nav-name { color: var(--dark); }
nav.scrolled .nav-links a { color: var(--muted); }
nav.scrolled .nav-links a:hover { color: var(--dark); }

.nav-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
    min-height: 100vh;
    background: #2C3044;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 20px) 40px 80px;
    position: relative;
}

.hero-inner {
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-left { display: flex; flex-direction: column; }

.hero-right .video-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}

.hero-name {
    font-size: clamp(2.2rem, 4.5vw, 4.5rem);
    font-weight: 800;
    line-height: 0.95;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 36px;
}

.hero-tagline {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    max-width: 640px;
    line-height: 1.4;
    margin-bottom: 48px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-role {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(28,158,104,0.4);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
    50% { opacity: 0.7; transform: scaleY(1); }
}

/* ── INTRO VIDEO ─────────────────────────────────────────── */
#intro-video {
    background: var(--cream);
    padding: var(--section-v) 40px;
}

.intro-video-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--dark);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    background: var(--dark-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255,255,255,0.4);
    border: 1px dashed rgba(255,255,255,0.12);
}

.video-placeholder svg { opacity: 0.3; }

.video-placeholder span {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── SHARED SECTION STYLES ───────────────────────────────── */
.section-dark {
    background: var(--white);
    color: var(--text);
    padding: var(--section-v) 40px;
    border-bottom: 1px solid var(--border);
}

.section-light {
    background: var(--white);
    color: var(--text);
    padding: var(--section-v) 40px;
    border-bottom: 1px solid var(--border);
}

.section-cream {
    background: #F2F2F4;
    color: var(--text);
    padding: var(--section-v) 40px;
    border-bottom: 1px solid var(--border);
}

.inner {
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

.section-dark .section-heading { color: var(--dark); }
.section-light .section-heading,
.section-cream .section-heading { color: var(--dark); }

/* ── LOOKING FOR ─────────────────────────────────────────── */
#looking-for .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

#looking-for .left-col .section-heading {
    margin-bottom: 0;
}

#looking-for .right-col p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--dark);
    font-weight: 400;
}

/* ── DRIVERS ─────────────────────────────────────────────── */
#drivers .drivers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 0;
}

#drivers .driver-card {
    padding: 48px 40px;
    border: 1px solid var(--border);
    background: #F2F2F4;
    transition: background 0.2s;
}

#drivers .driver-card:hover { background: #EAEAEC; }

.driver-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
}

.driver-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

#drivers .driver-card h3,
#drivers .driver-card .driver-title { color: var(--dark) !important; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
#testimonials .videos-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.testimonial-item { display: flex; flex-direction: column; gap: 16px; }

.testimonial-item iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 6px;
    border: none;
    display: block;
}

.testimonial-credit {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-transform: uppercase;
    text-align: center;
}

/* ── WHAT I LOVE ─────────────────────────────────────────── */
#love .love-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.love-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.love-item:nth-child(odd) { padding-right: 48px; border-right: 1px solid var(--border); }
.love-item:nth-child(even) { padding-left: 48px; }

.love-dash {
    width: 20px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 12px;
}

.love-text {
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 400;
}

/* ── CLIFTONSTRENGTHS ────────────────────────────────────── */
#strengths .strengths-intro {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 700px;
    margin-bottom: 56px;
    line-height: 1.7;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.strength-card {
    padding: 32px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.strength-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.strength-rank {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.strength-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.1;
}

.strength-domain {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
}

.domain-executing    { background: rgba(148,0,211,0.1); color: #8B00CC; }
.domain-influencing  { background: rgba(255,140,0,0.1); color: #CC7700; }
.domain-strategic    { background: rgba(28,158,104,0.1); color: var(--accent-dim); }
.domain-relationship { background: rgba(0,90,200,0.1); color: #005AC8; }

.strength-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── LEADERSHIP PRINCIPLES ───────────────────────────────── */
#principles .principles-intro {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.55);
    max-width: 680px;
    margin-bottom: 64px;
    line-height: 1.7;
}

.principles-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.principle-card {
    padding: 48px 44px;
    background: #F2F2F4;
    border: 1px solid var(--border);
    transition: background 0.2s;
}

.principle-card:hover { background: #EAEAEC; }

.principle-title {
    font-size: 1.4rem;
    font-weight: 700;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.principle-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ── CAREER HIGHLIGHTS ───────────────────────────────────── */
#career .career-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: start;
}

.highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.highlight-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-item:first-child { border-top: 1px solid var(--border); }

.hi-marker {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 8px;
}

.highlight-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.highlight-text strong {
    color: var(--dark);
    font-weight: 600;
}

.career-aside {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    padding: 40px 36px;
    background: #F2F2F4;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.career-aside p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--dark);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s;
    width: 100%;
    justify-content: center;
}

.btn-download:hover { background: var(--dark-soft); }

/* ── BEYOND THE OFFICE ───────────────────────────────────── */
#beyond .beyond-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.beyond-item-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    display: block;
}

.beyond-item h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.beyond-item p { color: var(--muted); }

.beyond-item p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.65;
}

.beyond-video-wrapper {
    width: 60%;
    aspect-ratio: 9/16;
    border-radius: 8px;
    overflow: hidden;
    background: var(--dark);
    margin-bottom: 16px;
}

.beyond-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.band-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.band-emoji {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1.5px solid var(--dark);
    border-radius: 4px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
    margin-top: 24px;
}

.btn-outline:hover { background: var(--dark); color: #fff; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
    background: #2C3044;
    padding: 48px 40px;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.footer-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* ── FADE-IN ANIMATION ───────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
    :root { --section-v: 72px; }

    nav { padding: 0 24px; }
    .nav-links { gap: 20px; }
    .nav-links li:nth-child(n+4) { display: none; }

    #looking-for .inner { grid-template-columns: 1fr; gap: 40px; }
    #drivers .drivers-grid { grid-template-columns: 1fr; gap: 2px; }
    #testimonials .videos-row { grid-template-columns: 1fr; }
    #love .love-grid { grid-template-columns: 1fr; }
    .love-item:nth-child(odd) { border-right: none; padding-right: 0; }
    .love-item:nth-child(even) { padding-left: 0; }
    .strengths-grid { grid-template-columns: repeat(2, 1fr); }
    .principles-list { grid-template-columns: 1fr; }
    #career .career-layout { grid-template-columns: 1fr; }
    .career-aside { position: static; }
    #beyond .beyond-grid { grid-template-columns: 1fr; }
    #hero { padding: calc(var(--nav-h) + 40px) 24px 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { order: -1; }
    .scroll-hint { display: none; }
    .section-dark, .section-light, .section-cream, #intro-video { padding-left: 24px; padding-right: 24px; }
    footer { padding: 40px 24px; }
}

@media (max-width: 600px) {
    .strengths-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-name { font-size: 2rem; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── PATCHES & ADDITIONS ─────────────────────────────────── */

/* Nav inner wrapper */
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hero eyebrow / badge area */
.hero-eyebrow {
    margin-bottom: 28px;
}

/* General .inner container (max-width wrapper used in sections) */
.inner {
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
}

/* Looking-for text */
#looking-for .right-col p {
    color: var(--text) !important;
}

/* Looking-for stat cards */
.stat-card {
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #F2F2F4;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

/* Drivers section — section-label on dark needs white variant */
#drivers .section-label { color: var(--accent); }

/* Driver card text */
#drivers .driver-card h3,
#drivers .driver-title { color: #fff; }

/* Intro video wrapper */
.intro-video-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-video-inner .section-label {
    display: block;
    text-align: left;
    color: var(--muted);
    margin-bottom: 20px;
}

/* Video wrapper for intro (position:relative so overlay works) */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--dark);
}

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

/* Play overlay for intro video */
.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(27,28,31,0.55);
    cursor: pointer;
    transition: background 0.2s;
}

.video-overlay:hover { background: rgba(27,28,31,0.35); }

.play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}

.video-overlay:hover .play-btn {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.06);
}

.overlay-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

/* Strengths intro text */
#strengths .strengths-intro {
    color: var(--muted);
}

/* Principles intro text */
#principles .principles-intro {
    color: var(--muted);
}

/* Career body */
.career-body { width: 100%; }

/* Section labels — accent on all light sections */
.section-dark .section-label,
.section-cream .section-label,
.section-light .section-label { color: var(--accent); }

/* Beyond band card — ensure it fills height */
#beyond .beyond-item .band-card {
    margin-top: 0;
}

.band-card-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.album-cover {
    width: 300px !important;
    height: 300px !important;
    max-width: 300px !important;
    max-height: 300px !important;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    display: block;
}

.band-card-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
