/* === JOE NIPOTE — SITE STYLES === */

:root {
    --accent:     #5BB8DE;
    --accent-dim: rgba(91, 184, 222, 0.12);
    --bg:         #080808;
    --bg-card:    #111111;
    --bg-hover:   #1a1a1a;
    --border:     #2c2c2c;
    --text:       #e8e8e8;
    --text-muted: #888888;
    --nav-h:      68px;
    --radius:     10px;
    --radius-sm:  6px;
    --shadow:     0 8px 32px rgba(0,0,0,0.7);
    --font-serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transition: opacity 0.25s ease;
}
body.page-visible { opacity: 1; }

a { color: var(--text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    color: #fff;
}

img { max-width: 100%; display: block; }

/* ─── HEADER / NAV ─── */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(8,8,8,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.brand-link {
    display: flex;
    align-items: center;
    color: #fff;
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-menu > li { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: var(--accent-dim);
}

/* Dropdown caret */
.nav-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.nav-dropdown:hover > .nav-link::after,
.nav-dropdown.open > .nav-link::after {
    transform: rotate(-135deg) translateY(2px);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 160px;
    background: #161616;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    list-style: none;
    padding: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    z-index: 100;
}

/* Right-align the last dropdown so it doesn't overflow the viewport */
.nav-menu > li:last-child .dropdown-menu {
    left: auto;
    right: 0;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 5px;
    transition: all 0.15s;
}

.dropdown-menu li a:hover {
    color: var(--accent);
    background: var(--accent-dim);
}

/* Mobile toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* ─── MOBILE MENU ─── */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(300px, 85vw);
    background: #141414;
    border-left: 1px solid var(--border);
    padding: 24px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1;
}

.mobile-menu-close:hover {
    color: var(--accent);
    background: var(--accent-dim);
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links > li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-links > li:last-child {
    border-bottom: none;
}

.mobile-nav-links .nav-link {
    display: block;
    padding: 14px 4px;
    font-size: 1rem;
    border-radius: 0;
}

.mobile-nav-links .nav-link.active { color: var(--accent); }

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 4px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.mobile-dropdown-toggle:hover { color: var(--accent); }

.mobile-dropdown-arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-right: 4px;
}

.mobile-dropdown-toggle.open .mobile-dropdown-arrow {
    transform: rotate(-135deg);
}

.mobile-sub-links {
    list-style: none;
    padding: 0 0 8px 16px;
    display: none;
}

.mobile-sub-links.open { display: block; }

.mobile-sub-links li a {
    display: block;
    padding: 10px 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.2s;
}

.mobile-sub-links li:last-child a { border-bottom: none; }
.mobile-sub-links li a:hover { color: var(--accent); }

/* ─── HOME HERO ─── */
.hero-video-section {
    display: grid;
    grid-template-columns: 1fr 370px;
    height: calc(100vh - var(--nav-h));
}

.hero-video-container {
    position: relative;
    height: 100%;
    background: #000;
    overflow: hidden;
}

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

/* Controls */
.video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 14px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-progress-container {
    width: 100%;
    padding: 4px 0;
    cursor: pointer;
}

.video-progress-track {
    position: relative;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    transition: height 0.15s;
}

.video-progress-container:hover .video-progress-track { height: 5px; }

.video-progress-fill {
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    pointer-events: none;
}

.video-progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.15s;
}

.video-progress-container:hover .video-progress-thumb {
    transform: translate(-50%, -50%) scale(1);
}

.video-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-time {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    font-family: Helvetica, Arial, sans-serif;
    letter-spacing: 0.03em;
    user-select: none;
}

.mute-toggle-btn {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.85);
    transition: all 0.2s;
}

.mute-toggle-btn:hover {
    color: #fff;
    transform: scale(1.15);
}

/* ─── INFO COLUMN (home sidebar) ─── */
.info-column {
    border-left: 1px solid var(--border);
    overflow-y: auto;
    padding: 24px 20px 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--bg);
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.info-column::-webkit-scrollbar { width: 4px; }
.info-column::-webkit-scrollbar-track { background: transparent; }
.info-column::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.hero-headshot {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.hero-headshot img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-name {
    text-align: center;
}

.hero-name h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 4px;
}

.hero-name .tagline {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-style: italic;
}

.bio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
}

.bio-card h4 {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.bio-card p {
    font-size: 0.87rem;
    line-height: 1.75;
    color: #ccc;
}

.projects-carousel-section {
    padding: 12px 0 4px;
    border-top: 1px solid var(--border);
}

.projects-carousel-section h4 {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.projects-carousel {
    overflow: hidden;
    width: 100%;
    border-radius: 6px;
}

.projects-track {
    display: flex;
    width: max-content;
    gap: 8px;
    animation: projects-scroll 35s linear infinite;
}

.projects-track:hover {
    animation-play-state: paused;
}

.project-poster {
    flex-shrink: 0;
    width: 136px;
    height: 201px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.project-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes projects-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.social-section {}

.social-section h4 {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.platform-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.platform-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.fun-facts-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
}

.fun-facts-section h4 {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 2px;
}

.fun-facts-section .tagline-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.4;
}

.fun-facts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fun-facts-list li {
    font-size: 0.83rem;
    color: var(--text);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.fun-facts-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
    padding: 52px 24px 36px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to bottom, #0e0e0e, var(--bg));
}

.page-header-inner {
    max-width: 920px;
    margin: 0 auto;
}

.page-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 5vw, 3rem);
    margin-bottom: 10px;
}

.page-header .subtitle {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 600px;
}

/* ─── CONTENT SECTION ─── */
.content-section {
    padding: 48px 24px 100px;
}

.content-inner {
    max-width: 920px;
    margin: 0 auto;
}

/* Two-column page layout */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 36px;
    align-items: start;
}

.page-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ─── VIDEO EMBED ─── */
.video-embed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
    border: 1px solid var(--border);
    margin-bottom: 28px;
}

.video-embed-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ─── CREDITS ─── */
.credits-group {
    margin-bottom: 28px;
}

.credits-group h3 {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.credit-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.88rem;
    gap: 12px;
}

.credit-item:last-child { border-bottom: none; }
.credit-title { color: var(--text); font-weight: 500; }
.credit-role { color: var(--text-muted); font-size: 0.8rem; flex-shrink: 0; }

/* Sidebar cards */
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.sidebar-card h4 {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.sidebar-card p {
    font-size: 0.84rem;
    color: var(--text);
    line-height: 1.65;
}

.sidebar-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-card ul li {
    font-size: 0.84rem;
    color: var(--text);
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}

.sidebar-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ─── PROJECT CARDS ─── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
}

/* Invisible full-card link overlay — sits under the CTAs */
.card-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* CTAs need to sit above the overlay */
.project-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(201,168,76,0.1);
}

.project-card-img {
    background: #181818;
    border-bottom: 1px solid var(--border);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.project-card:hover .project-card-img img {
    transform: scale(1.04);
}

.project-card-img .project-icon {
    font-size: 3.5rem;
    opacity: 0.35;
}

.project-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 8px;
}

.project-card-body p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.project-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.project-cta:hover {
    gap: 8px;
    color: var(--accent);
}

/* ─── GALLERY ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.gallery-item {
    overflow: hidden;
    background: #111;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1;
}

.gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 1/2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.3s ease;
    filter: brightness(0.88) saturate(0.9);
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(1.05) saturate(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(0,0,0,0.35);
}

/* ─── RING ANNOUNCER ─── */
.ring-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}

.ring-photo {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #111;
    border: 1px solid var(--border);
}

.ring-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.ring-photo:hover img { transform: scale(1.05); }

.highlight-card {
    background: linear-gradient(135deg, rgba(201,168,76,0.07), rgba(201,168,76,0.02));
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 24px;
}

.highlight-card h3 {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 14px;
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.highlight-list li {
    font-size: 0.9rem;
    color: var(--text);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.highlight-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 2px;
}

/* ─── ABOUT / BIO ─── */
.bio-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 40px;
    align-items: start;
}

.bio-text-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bio-text-body p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #ccc;
}

.bio-text-body h3 {
    font-size: 1.1rem;
    margin-top: 8px;
}

.bio-sidebar {}

.bio-photo {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 18px;
}

.bio-photo img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* ─── CONTACT ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.contact-card h3 {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.87rem;
    line-height: 1.8;
    color: #bbb;
}

.contact-card a {
    color: var(--accent);
}

.contact-card a:hover { text-decoration: underline; }

.contact-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* ─── FOOTER ─── */
.site-footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 28px 24px;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 0.81rem;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
}

.footer-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.footer-btn.primary {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.footer-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.footer-copy {
    font-size: 0.74rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── UTILITIES ─── */
.section-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 4px;
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 28px 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1000px) {
    .hero-video-section { grid-template-columns: 1fr 320px; }
}

@media (max-width: 820px) {
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: flex; }

    /* Hero: switch from grid to flex column */
    .hero-video-section {
        display: flex;
        flex-direction: column;
        height: auto;
        background: #000;
    }

    .hero-video-container {
        order: 1;
        width: 100%;
        height: min(60vw, 380px);
        margin: 12px 0;
    }

    .hero-video-container video {
        position: static;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .video-controls-bar { background: none; padding: 0; }
    .video-progress-container { display: none; }
    #play-pause-toggle { display: none; }
    .video-time { display: none; }
    .video-controls-row { justify-content: flex-end; padding: 8px 10px; }

    .info-column {
        order: 2;
        border-left: none;
        border-top: 1px solid var(--border);
        overflow-y: visible;
        height: auto;
        padding: 20px 16px 40px;
    }

    .hero-headshot img {
        max-height: 280px;
        object-fit: cover;
        object-position: center top;
    }

    /* Smaller platform buttons on mobile */
    .platform-btn {
        padding: 6px 8px;
        font-size: 0.72rem;
        gap: 5px;
    }
    .platform-btn svg { width: 12px; height: 12px; }
    .platform-links { grid-template-columns: 1fr 1fr; }

    /* Inner page layouts */
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.wide { aspect-ratio: 1; }
    .gallery-item.tall { aspect-ratio: 1; grid-row: span 1; }
    .ring-photos { grid-template-columns: 1fr 1fr; }
    .bio-layout { grid-template-columns: 1fr; }
    .bio-layout .bio-sidebar { display: grid; grid-template-columns: 180px 1fr; gap: 20px; }
    .bio-photo { margin-bottom: 0; }
    .page-layout { grid-template-columns: 1fr; }
    .page-sidebar { position: static; }
}

@media (max-width: 580px) {
    .projects-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .ring-photos { grid-template-columns: 1fr; }
    .contact-social-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-actions { width: 100%; justify-content: flex-start; }
    .footer-btn { flex: 0 1 auto; }
    .bio-layout .bio-sidebar { grid-template-columns: 1fr; }
    .hero-headshot img { max-height: 240px; }
}
