/* ============================================================
   ANAVRIN — Componentes Compartilhados
   ============================================================
   Estilos de componentes reutilizados em todas as páginas.
   Depende de brand.css (deve ser carregado antes).
   ============================================================ */


/* ── PRELOADER ────────────────────────────────────────────── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: var(--z-preloader);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-lg);
    transition: opacity var(--duration-slow), visibility var(--duration-slow);
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--fw-light);
    letter-spacing: 12px;
    color: var(--accent);
    text-transform: uppercase;
}
.preloader-line {
    width: 120px;
    height: 1px;
    background: var(--gradient-line);
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scaleX(0.5) }
    50%      { opacity: 1;   transform: scaleX(1) }
}


/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--duration-mid);
}
.navbar.scrolled {
    background: rgba(13, 27, 42, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 40px;
    border-bottom: 1px solid var(--glass-border);
}
.nav-logo {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-light);
    letter-spacing: var(--ls-logo);
    color: var(--accent);
    text-transform: uppercase;
    cursor: pointer;
}
.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    transition: color var(--duration-fast);
    cursor: pointer;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}
.nav-cta {
    padding: 10px 28px !important;
    background: var(--gradient-accent) !important;
    color: var(--bg-primary) !important;
    font-weight: var(--fw-semibold) !important;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) !important;
}
.nav-cta:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle span {
    width: 28px;
    height: 1.5px;
    background: var(--accent);
    transition: all var(--duration-fast);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px) }
.menu-toggle.active span:nth-child(2) { opacity: 0 }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px) }


/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 4px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s;
    border-radius: var(--radius-sm);
}
.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: transparent;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid rgba(119, 141, 169, 0.3);
    cursor: pointer;
    transition: all 0.4s;
    border-radius: var(--radius-sm);
}
.btn-secondary:hover {
    background: rgba(119, 141, 169, 0.08);
    border-color: var(--accent);
    transform: translateY(-2px);
}


/* ── SECTION BASE ─────────────────────────────────────────── */
section {
    position: relative;
    padding: var(--space-5xl) var(--space-lg);
}
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-label {
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-ultra);
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}
.section-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: var(--fw-light);
    margin-bottom: 20px;
}
.section-desc {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: var(--lh-relaxed);
    font-weight: var(--fw-light);
}
.divider {
    width: 60px;
    height: 1px;
    background: var(--gradient-divider);
    margin: var(--space-lg) 0;
}


/* ── REVEAL ANIMATION ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-slow), transform var(--duration-slow);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px) }
    to   { opacity: 1; transform: translateY(0) }
}


/* ── GLASS CARD ───────────────────────────────────────────── */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--duration-mid);
}
.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-xl);
}


/* ── STAT BLOCK ───────────────────────────────────────────── */
.stat {
    text-align: center;
    padding: var(--space-lg) var(--space-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: var(--fw-light);
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}


/* ── LOCATION CARD ────────────────────────────────────────── */
.location-card {
    position: relative;
    padding: 60px 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all var(--duration-mid);
}
.location-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-xl);
}
.location-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-light), var(--blue-mid));
}
.location-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(119, 141, 169, 0.3);
    font-size: var(--fs-xs);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}
.location-card h3 {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-light);
    margin-bottom: var(--space-lg);
}
.location-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: 36px;
}
.location-info li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: var(--fs-base);
    color: var(--text-secondary);
    font-weight: var(--fw-light);
}
.location-info svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.location-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s;
    width: 100%;
    justify-content: center;
}
.location-cta:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}


/* ── TESTIMONIAL ──────────────────────────────────────────── */
.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}
.star { color: var(--accent) }
.testimonial-card blockquote {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-style: italic;
    line-height: var(--lh-normal);
    margin-bottom: var(--space-lg);
}
.testimonial-author {
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--text-muted);
}


/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-whatsapp);
    cursor: pointer;
    transition: all var(--duration-fast);
    box-shadow: var(--shadow-glow);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-strong);
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: white;
}
.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid var(--accent);
    animation: waPulse 2s ease-in-out infinite;
}
@keyframes waPulse {
    0%, 100% { transform: scale(1);   opacity: 0.6 }
    50%      { transform: scale(1.2); opacity: 0 }
}


/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
    padding: 60px var(--space-lg) 40px;
    background: var(--bg-primary);
    border-top: 1px solid rgba(119, 141, 169, 0.08);
}
.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
}
.footer-brand .nav-logo {
    display: block;
    margin-bottom: 20px;
}
.footer-brand p {
    font-size: var(--fs-base);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    font-weight: var(--fw-light);
}
.footer h5 {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.footer-links a {
    color: var(--text-muted);
    font-size: var(--fs-base);
    font-weight: var(--fw-light);
    transition: color var(--duration-fast);
    cursor: pointer;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-bottom {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(119, 141, 169, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}


/* ── PAGE HEADER (para páginas internas) ──────────────────── */
.page-header {
    position: relative;
    padding: 200px var(--space-lg) var(--space-5xl);
    text-align: center;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}
.page-header .section-label {
    margin-bottom: var(--space-lg);
}
.page-header .section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    max-width: 800px;
    margin: 0 auto 20px;
}
.page-header .section-desc {
    max-width: 600px;
    margin: 0 auto;
}
.page-header .accent {
    color: var(--accent);
    font-style: italic;
}


/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .navbar { padding: 16px 24px }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 9998;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        overflow-y: auto;
    }
    .nav-links.active { display: flex }
    .nav-links a { font-size: 0.9rem; letter-spacing: 4px }
    .menu-toggle { display: flex; z-index: 9999; position: relative }
    section { padding: 80px 20px }
    .footer-content { grid-template-columns: 1fr; gap: 32px }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .location-card { padding: 40px 28px }
    .testimonial-card { width: 300px; padding: 28px }
    .page-header { padding: 160px 20px 80px }
}
@media (max-width: 480px) {
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .stat-number { font-size: 2rem }
}


/* ── THERAPIST PROFILE PAGE ───────────────────────────────── */

/* Hero do perfil */
.profile-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 0;
}
.profile-hero-bg {
    position: absolute;
    inset: 0;
}
.profile-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.profile-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,27,42,0.3) 0%,
        rgba(13,27,42,0.1) 30%,
        rgba(13,27,42,0.6) 60%,
        rgba(13,27,42,0.98) 85%,
        var(--bg-primary) 100%
    );
}
.profile-hero-content {
    position: relative;
    z-index: var(--z-content);
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-2xl) var(--space-4xl);
}
.profile-hero-content .section-label {
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}
.profile-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: var(--fw-light);
    line-height: 1;
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}
.profile-specialty {
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}
.profile-hero-cta {
    margin-top: var(--space-xl);
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
}

/* Bio section */
.profile-bio {
    background: var(--bg-primary);
    padding: var(--space-5xl) var(--space-lg);
}
.profile-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: start;
}
.profile-bio-text .section-title {
    margin-bottom: var(--space-md);
}
.profile-bio-text .accent {
    color: var(--accent);
    font-style: italic;
}
.profile-bio-text > p {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    font-weight: var(--fw-light);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-md);
}
.profile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}
.profile-detail-item {
    padding: var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.profile-detail-label {
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.profile-detail-value {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    color: var(--accent);
}
.profile-bio-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-sm);
}
.profile-bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}
.profile-bio-image:hover img {
    transform: scale(1.03);
}
.profile-bio-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(13,27,42,0.4) 100%);
    pointer-events: none;
}
.profile-bio-image-frame {
    position: absolute;
    top: -12px;
    right: -12px;
    bottom: 12px;
    left: 12px;
    border: 1px solid rgba(112,136,166,0.15);
    pointer-events: none;
}

/* Services list */
.profile-services {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}
.profile-service-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-base);
    color: var(--text-secondary);
    font-weight: var(--fw-light);
}
.profile-service-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Gallery */
.profile-gallery {
    background: var(--bg-secondary);
    padding: var(--space-5xl) var(--space-lg);
}
.profile-gallery-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}
.profile-gallery-header .section-desc { margin: 0 auto }
.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.profile-gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}
.profile-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s, filter .6s;
}
.profile-gallery-item:hover img {
    transform: scale(1.06);
}
.profile-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13,27,42,0.3);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.profile-gallery-item:hover::after {
    opacity: 1;
}
.profile-gallery-item.landscape {
    aspect-ratio: 16/9;
    grid-column: span 2;
}

/* Quote */
.profile-quote {
    padding: var(--space-4xl) var(--space-lg);
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}
.profile-quote::before,
.profile-quote::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: var(--gradient-line-faint);
}
.profile-quote::before { top: 0 }
.profile-quote::after { bottom: 0 }
.profile-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: var(--fw-light);
    font-style: italic;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.4;
    color: var(--text-primary);
}
.profile-quote .accent {
    color: var(--accent);
}

/* CTA section */
.profile-cta {
    text-align: center;
    padding: var(--space-5xl) var(--space-lg);
    background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,0.08) 0%, transparent 60%), var(--bg-secondary);
}
.profile-cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--fw-light);
    margin-bottom: var(--space-md);
}
.profile-cta .accent { color: var(--accent); font-style: italic }
.profile-cta p {
    color: var(--text-secondary);
    font-weight: var(--fw-light);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    line-height: var(--lh-relaxed);
}
.profile-cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Other therapists */
.other-therapists {
    background: var(--bg-primary);
    padding: var(--space-5xl) var(--space-lg);
}
.other-therapists-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}
.other-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: var(--max-width);
    margin: 0 auto;
}
.other-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-sm);
}
.other-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .6s;
    filter: brightness(0.8);
}
.other-card:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}
.other-card-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(13,27,42,0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
}
.other-card-info h4 {
    font-size: var(--fs-xl);
}
.other-card-info span {
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--accent);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(13,27,42,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    transition: all var(--duration-fast);
}
.lightbox-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Profile responsive */
@media (max-width: 1024px) {
    .profile-bio-grid { grid-template-columns: 1fr; gap: var(--space-2xl) }
    .profile-gallery-grid { grid-template-columns: repeat(2, 1fr) }
    .other-grid { grid-template-columns: repeat(3, 1fr) }
}
@media (max-width: 768px) {
    .profile-hero { min-height: 80vh }
    .profile-hero-content { padding: 0 var(--space-lg) var(--space-2xl) }
    .profile-details { grid-template-columns: 1fr }
    .profile-gallery-grid { grid-template-columns: repeat(2, 1fr) }
    .profile-gallery-item.landscape { grid-column: span 2 }
    .other-grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 480px) {
    .profile-name { font-size: 2.8rem }
    .profile-gallery-grid { grid-template-columns: 1fr 1fr }
    .profile-gallery-item.landscape { grid-column: span 1; aspect-ratio: 3/4 }
    .other-grid { grid-template-columns: 1fr 1fr }
}
