@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --bg: radial-gradient(circle at 10% 20%, #f9f4ed 0%, #f5f1ea 50%, #efe7db 100%);
    --ink: #131313;
    --muted: #5d5d5d;
    --accent: #1a7f6e;
    --accent-dark: #0f5b4f;
    --card: #ffffff;
    --glass: rgba(255, 255, 255, 0.55);
    --shadow: 0 20px 50px rgba(18, 18, 18, 0.15);
    --ambient-1: rgba(255, 198, 120, 0.25);
    --ambient-2: rgba(26, 127, 110, 0.2);
    --font-sans: 'Space Grotesk', sans-serif;
    --font-display: 'Playfair Display', serif;
    --radius-lg: 24px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --radius-pill: 999px;
    --border: rgba(0, 0, 0, 0.06);
    --header-offset: 80px;
}

body[data-theme="apple"] {
    --bg: #f5f5f7;
    --ink: #1d1d1f;
    --muted: #6e6e73;
    --accent: #0071e3;
    --accent-dark: #0051a8;
    --card: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
    --ambient-1: rgba(0, 113, 227, 0.08);
    --ambient-2: rgba(0, 0, 0, 0.04);
    --font-sans: -apple-system, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', sans-serif;
    --font-display: -apple-system, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --border: rgba(0, 0, 0, 0.08);
}

body[data-theme="android"] {
    --bg: #f8f9fa;
    --ink: #202124;
    --muted: #5f6368;
    --accent: #1a73e8;
    --accent-dark: #185abc;
    --card: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow: 0 18px 40px rgba(32, 33, 36, 0.12);
    --ambient-1: rgba(26, 115, 232, 0.1);
    --ambient-2: rgba(52, 168, 83, 0.08);
    --font-sans: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --border: rgba(32, 33, 36, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: var(--header-offset);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    padding-top: var(--header-offset);
}

.ambient {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 80% 15%, var(--ambient-1), transparent 55%),
        radial-gradient(circle at 15% 80%, var(--ambient-2), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(245, 241, 234, 0.8);
    border-bottom: 1px solid var(--border);
}

body[data-theme="apple"] .site-header,
body[data-theme="android"] .site-header {
    background: rgba(255, 255, 255, 0.85);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 16px;
}

.brand {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--ink);
}

.site-nav {
    display: flex;
    gap: 20px;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero {
    padding: 100px 0 72px;
}

.hero-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    margin: 16px 0 20px;
    line-height: 1.4;
}

.hero-description {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.hero-cta {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px color-mix(in srgb, var(--accent) 45%, transparent);
}

.btn-secondary {
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
    border: 1.5px solid var(--border);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--accent);
}

/* ── Contact Hero ─────────────────────────────────────── */
.contact-hero {
    padding: 80px 0 64px;
}

.contact-intro {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

/* ── Contact Segmentation ─────────────────────────────── */
.contact-segmentation {
    padding: 0 0 80px;
}

.contact-block {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.contact-block h2 {
    margin-bottom: 16px;
}

.contact-block p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 20px;
}

.contact-email {
    margin: 0;
}

.contact-email a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}

.contact-email a:hover {
    border-color: var(--text);
}

/* ── About Hero ───────────────────────────────────────── */
.about-hero {
    padding: 80px 0 64px;
}

.about-role {
    font-size: 18px;
    font-weight: 500;
    color: var(--muted);
    margin: 0 0 24px;
    line-height: 1.4;
}

.about-intro {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

/* ── About Experience ─────────────────────────────────── */
.about-experience {
    padding: 0 0 72px;
    border-top: 1px solid var(--border);
}

.about-experience h2 {
    margin-bottom: 32px;
}

.about-experience-content {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-experience-content p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

/* ── About Decisions ──────────────────────────────────── */
.about-decisions {
    padding: 72px 0;
    border-top: 1px solid var(--border);
}

.about-decisions h2 {
    margin-bottom: 48px;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.decision-item h3 {
    font-size: clamp(16px, 1.5vw, 19px);
    font-family: var(--font-display);
    margin: 0 0 14px;
    line-height: 1.3;
}

.decision-item p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

/* ── About Philosophy ─────────────────────────────────── */
.about-philosophy {
    padding: 72px 0;
    border-top: 1px solid var(--border);
}

.about-philosophy h2 {
    margin-bottom: 24px;
}

.philosophy-intro {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 0 48px;
}

.philosophy-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.philosophy-item h3 {
    font-size: clamp(16px, 1.5vw, 19px);
    font-family: var(--font-display);
    margin: 0 0 14px;
    line-height: 1.3;
}

.philosophy-item p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

/* ── About Mentoring ──────────────────────────────────── */
.about-mentoring {
    padding: 72px 0;
    border-top: 1px solid var(--border);
}

.about-mentoring h2 {
    margin-bottom: 20px;
}

.about-mentoring p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 680px;
    margin: 0;
}

/* ── About CTA ────────────────────────────────────────── */
.about-cta {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.about-cta h2 {
    margin-bottom: 16px;
}

.about-cta > .container > p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 0 36px;
}

.about-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Featured Product ─────────────────────────────────── */
.featured-product {
    padding: 72px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.featured-product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.featured-product-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-product-text h2 {
    margin: 0;
}

.product-description {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.product-status {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.featured-product-image {
    display: flex;
    justify-content: center;
}

.featured-product-image img {
    max-width: 260px;
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

/* ── What I Do ────────────────────────────────────────── */
.what-i-do {
    padding: 72px 0;
}

.what-i-do h2 {
    margin-bottom: 48px;
}

.what-i-do-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.what-i-do-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--border);
}

.what-i-do-item h3 {
    font-size: 18px;
    margin: 0;
    line-height: 1.3;
}

.what-i-do-item p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}


.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.05;
    margin: 0 0 20px;
    font-family: var(--font-display);
}

.lead {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px color-mix(in srgb, var(--accent) 45%, transparent);
}

.btn.ghost {
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.4);
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stats .stat {
    font-size: 22px;
    font-weight: 700;
    display: block;
}

.hero-stats .label {
    font-size: 13px;
    color: var(--muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.glass-card {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 360px;
    transform: translateY(12px);
    animation: floatIn 0.8s ease forwards;
}

.glass-card img {
    width: 100%;
    display: block;
}

.glass-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
}

.pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    color: var(--accent-dark);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section {
    padding: 60px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 30px;
}

h2 {
    font-size: clamp(26px, 3vw, 40px);
    margin: 0 0 12px;
    font-family: var(--font-display);
}

.section p {
    color: var(--muted);
    line-height: 1.6;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 18px 40px rgba(19, 19, 19, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.2s ease;
}

.card[data-slideshow] {
    cursor: pointer;
}

.card[data-slideshow]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.card:hover {
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-header img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
}

.placeholder {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    color: var(--accent-dark);
    font-weight: 700;
}

.meta {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags span {
    background: rgba(0, 0, 0, 0.06);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
}

.card-link {
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.slideshow-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 16, 28, 0.6);
    backdrop-filter: blur(10px);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.slideshow-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.slideshow-dialog {
    width: min(960px, 92vw);
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    display: grid;
    gap: 18px;
}

.slideshow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.slideshow-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.slideshow-close {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--ink);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
}

.slideshow-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.slideshow-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.slideshow-nav:disabled {
    opacity: 0.4;
    cursor: default;
}

.slideshow-image {
    width: min(420px, 70vw);
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.slideshow-footer {
    display: flex;
    justify-content: center;
    color: var(--muted);
    font-size: 14px;
}

body.slideshow-open {
    overflow: hidden;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: center;
}

.about-panel {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
}

.focus-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 12px;
    color: var(--muted);
}

.contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.site-footer {
    padding: 30px 0 40px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-inner a {
    color: var(--muted);
    text-decoration: none;
}

.footer-inner a:hover {
    color: var(--accent);
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.2s ease;
}

.lang-btn[aria-pressed="true"] {
    background: var(--accent);
    color: #ffffff;
}

.lang-btn:not([aria-pressed="true"]):hover {
    color: var(--accent);
}

.theme-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
}

.theme-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.theme-btn svg {
    width: 18px;
    height: 18px;
}

.theme-btn[aria-pressed="true"] {
    background: var(--accent);
    color: #ffffff;
}

.theme-btn[aria-pressed="true"] svg path,
.theme-btn[aria-pressed="true"] svg circle,
.theme-btn[aria-pressed="true"] svg rect,
.theme-btn[aria-pressed="true"] svg line {
    stroke: #ffffff;
    fill: #ffffff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(12px);
    }
}

/* Experience Evidence */
.experience-evidence {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.experience-evidence h2 {
    margin-bottom: 52px;
}

.experience-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.experience-item {
    padding-top: 24px;
    border-top: 2px solid var(--accent);
}

.experience-item h3 {
    font-size: clamp(17px, 1.6vw, 21px);
    font-family: var(--font-display);
    margin: 0 0 16px;
    line-height: 1.3;
}

.experience-item p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* ── Strategic CTAs ───────────────────────────────────── */
.strategic-cta {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.strategic-cta > .container > h2 {
    margin-bottom: 48px;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cta-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--border);
}

.cta-card h3 {
    font-size: 19px;
    font-family: var(--font-display);
    margin: 0;
    line-height: 1.3;
}

.cta-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* ===== PROJECTS ===== */
.projects-intro {
    padding: 100px 0 64px;
}

.projects-intro h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 32px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.projects-intro-text {
    max-width: 640px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
}

.projects-content {
    padding: 0 0 100px;
}

.projects-section {
    padding: 56px 0 0;
}

.projects-section + .projects-section {
    border-top: 1px solid var(--border);
    margin-top: 56px;
}

.projects-section h2 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin: 0 0 8px;
}

.projects-section-text {
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 40px;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    min-height: 1px;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.project-description {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
    flex: 1;
}

@keyframes pulse-live-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35), 0 0 6px rgba(34, 197, 94, 0.15);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0), 0 0 14px rgba(34, 197, 94, 0.3);
    }
}

@keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.3px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--muted);
    width: fit-content;
}

.project-status--live {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    animation: pulse-live-glow 2.4s ease-in-out infinite;
}

.project-status--live::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
    animation: blink-dot 1.5s ease-in-out infinite;
}

.project-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.1px;
}

.project-link:hover {
    text-decoration: underline;
}

/* ─── Product Page ─── */

.product-hero {
    padding: 80px 0 100px;
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.product-hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.product-tagline {
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink);
    margin: 0;
    font-weight: 400;
}

.product-description {
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
}

.product-cta {
    margin-top: 8px;
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.app-store-link:hover {
    opacity: 0.9;
}

.app-store-badge {
    height: 40px;
    width: auto;
    display: block;
}

.product-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.product-problem {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.product-problem h2 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin: 0 0 24px;
}

.problem-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    max-width: 680px;
    margin: 0 0 48px;
}

.problem-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-item {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.problem-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

.product-value {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.product-value h2 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin: 0 0 24px;
}

.value-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    max-width: 680px;
    margin: 0 0 48px;
}

.value-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-item {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.value-item h3 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 12px;
}

.value-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

.product-screenshots {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.product-screenshots h2 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin: 0 0 32px;
}

.screenshots-grid {
    --carousel-gap: 24px;
    --carousel-items: 3;
    display: block;
    overflow: hidden;
    padding-bottom: 6px;
    pointer-events: none;
}

.screenshots-track {
    display: flex;
    gap: var(--carousel-gap);
    width: max-content;
    will-change: transform;
}

.screenshots-track.is-animated {
    animation: screenshots-marquee 40s linear infinite;
}

.screenshots-track img {
    width: var(--item-width, 240px);
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    flex: 0 0 var(--item-width, 240px);
}

@keyframes screenshots-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(var(--scroll-distance, 0px) * -1));
    }
}
.product-stack {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.product-stack h2 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin: 0 0 24px;
}

.stack-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    max-width: 680px;
    margin: 0 0 32px;
}

.stack-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stack-list li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}

.product-status-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.product-status-section h2 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin: 0 0 24px;
}

.product-status-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
}

.product-links {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.product-links h2 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin: 0 0 24px;
}

.product-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-links-list a {
    font-size: 15px;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-links-list .app-store-link {
    text-decoration: none;
}

.product-links-list a:hover {
    color: var(--muted);
}

@media (max-width: 720px) {
    :root {
        --header-offset: 148px;
    }
    .contact-hero {
        padding: 56px 0 40px;
    }

    .about-hero {
        padding: 56px 0 40px;
    }

    .about-decisions {
        padding: 56px 0;
    }

    .decision-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-philosophy {
        padding: 56px 0;
    }

    .philosophy-principles {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-mentoring {
        padding: 56px 0;
    }

    .about-cta {
        padding: 60px 0;
    }

    .about-cta-actions {
        flex-direction: column;
    }

    .about-cta-actions .btn-primary,
    .about-cta-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 64px 0 48px;
    }

    .hero-container {
        text-align: left;
    }

    .featured-product-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .featured-product-image {
        order: 1;
    }

    .featured-product-text {
        order: 2;
    }

    .featured-product-image img {
        max-width: 200px;
    }

    .what-i-do-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-description {
        margin: 0;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .header-inner {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 12px;
    }

    .site-nav {
        display: flex;
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        flex-wrap: wrap;
    }

    .header-actions {
        order: 2;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .slideshow-dialog {
        padding: 18px;
    }

    .slideshow-body {
        flex-direction: column;
    }

    .slideshow-image {
        width: min(320px, 80vw);
    }

    .experience-highlights {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .experience-evidence {
        padding: 60px 0;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .strategic-cta {
        padding: 60px 0;
    }

    .projects-intro {
        padding: 64px 0 40px;
    }

    .projects-intro-text {
        font-size: 16px;
    }

    .projects-content {
        padding: 0 0 60px;
    }

    .projects-section {
        padding: 40px 0 0;
    }

    .projects-section + .projects-section {
        margin-top: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-card {
        padding: 24px;
    }

    .product-hero {
        padding: 56px 0 64px;
    }

    .product-problem {
        padding: 56px 0;
    }

    .problem-points {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-value {
        padding: 56px 0;
    }

    .value-points {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-screenshots {
        padding: 56px 0;
    }

    .screenshots-grid {
        --carousel-items: 1;
        --carousel-gap: 16px;
        --carousel-item-max: 200px;
    }

    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-hero-image {
        order: 2;
    }

    .product-hero-text {
        order: 1;
    }
}

/* ── Privacy Hero ─────────────────────────────────────── */
.privacy-hero {
    padding: 80px 0 64px;
}

.privacy-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 20px;
    line-height: 1.2;
}

.privacy-intro {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

/* ── Privacy Content ──────────────────────────────────── */
.privacy-content {
    padding: 0 0 96px;
    border-top: 1px solid var(--border);
}

/* ── Privacy Blocks ───────────────────────────────────── */
.privacy-block {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    max-width: 680px;
}

.privacy-block h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 12px;
}

.privacy-block p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.privacy-block a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}

.privacy-block a:hover {
    border-color: var(--ink);
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 56px 0 48px;
    }

    .privacy-content {
        padding: 0 0 72px;
    }

    .privacy-block {
        padding: 32px 0;
    }
}
