/* =============================================================
   Purple Studio — main stylesheet
   Brand tokens up top; edit colors here to retheme the whole site.
   ============================================================= */
:root {
    --purple: #7B3F8C;
    --purple-dark: #6a3479;
    --plum:   #4A1F45;
    --gold:   #C8A96E;
    --cream:  #F5EFE8;
    --white:  #FAF8F5;
    --sand:   #E7DFD6;
    --ink:    #2b1428;
    --muted:  #6b5866;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 8px rgba(74,31,69,.06);
    --shadow-md: 0 12px 32px rgba(74,31,69,.10);
    --shadow-lg: 0 24px 60px rgba(74,31,69,.14);

    --container: 1200px;
    --header-h: 76px;

    --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'DM Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    background: var(--white);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--purple-dark); }
h1, h2, h3, h4 { color: var(--plum); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 .6em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s var(--ease), background .2s, color .2s, box-shadow .2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--plum); border-color: rgba(74,31,69,.18); }
.btn-ghost:hover { background: var(--cream); color: var(--plum); }
.btn-gold { background: var(--gold); color: var(--plum); }
.btn-gold:hover { filter: brightness(.96); color: var(--plum); }

/* --- Header --- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: saturate(140%) blur(16px);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    background: rgba(250, 248, 245, 0.78);
    border-bottom: 1px solid rgba(74,31,69,.06);
    transition: box-shadow .3s var(--ease), background .3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(74,31,69,.06); background: rgba(250, 248, 245, 0.92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--plum); font-family: inherit; }
.logo:hover { color: var(--plum); }
.logo-text { display: inline-flex; align-items: baseline; gap: 6px; font-size: 20px; line-height: 1; }
.logo-text strong { font-weight: 700; color: var(--purple); }
.logo-caps { font-weight: 400; letter-spacing: 0.28em; font-size: 12px; color: var(--plum); text-transform: uppercase; }
.viola { flex: 0 0 auto; }

.nav-desktop { display: flex; gap: 30px; }
.nav-desktop a { color: var(--plum); font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.nav-desktop a:hover { color: var(--purple); }
.nav-desktop a.is-active { color: var(--purple); }
.nav-desktop a.is-active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--gold); border-radius: 2px;
}

.hamburger {
    display: none;
    background: transparent; border: 0; padding: 10px; cursor: pointer;
    width: 42px; height: 42px; position: relative;
}
.hamburger span {
    display: block; height: 2px; background: var(--plum); border-radius: 2px;
    margin: 5px auto; width: 22px; transition: transform .3s var(--ease), opacity .2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 24px;
    border-top: 1px solid rgba(74,31,69,.06);
    background: var(--white);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--plum); font-weight: 500; padding: 14px 0; border-bottom: 1px solid rgba(74,31,69,.06); }
.nav-mobile a.is-active { color: var(--purple); }
.nav-mobile .btn { margin-top: 14px; justify-content: center; }

@media (max-width: 900px) {
    .nav-desktop, .nav-cta { display: none; }
    .hamburger { display: block; }
}

/* --- Sections --- */
section { padding: 90px 0; }
section.alt { background: var(--sand); }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow {
    display: inline-block;
    font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--purple); font-weight: 600; margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* --- Hero --- */
.hero { padding: 70px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--purple); font-weight: 600; margin-bottom: 22px;
}
.hero .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero .lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 34px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-visual .frame {
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--cream);
    position: relative;
}
.hero-visual .frame img,
.hero-visual .frame .placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card {
    position: absolute; left: -30px; bottom: 40px;
    background: var(--white); border-radius: var(--radius-sm);
    padding: 20px 24px; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 16px;
    max-width: 260px;
}
.hero-card .num { font-size: 2.2rem; color: var(--purple); font-weight: 700; line-height: 1; }
.hero-card .label { font-size: 13px; color: var(--muted); line-height: 1.3; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-card { left: 20px; bottom: 20px; }
    section { padding: 70px 0; }
}

/* --- Placeholder image --- */
.placeholder {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, #EFE4D8 60%, var(--sand) 100%);
    color: rgba(74,31,69,.35);
    font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; font-size: 12px;
    width: 100%; height: 100%;
}
.placeholder.p2 { background: linear-gradient(135deg, #EBDDEA 0%, #E9D8E4 60%, #D6C0D2 100%); }
.placeholder.p3 { background: linear-gradient(135deg, #F0E9DF 0%, #DECFC1 100%); }

/* --- Featured projects (home) --- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr; } }
.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .thumb img { transform: scale(1.04); }
.project-card .meta { padding: 22px 22px 26px; }
.project-card .cat { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--purple); font-weight: 600; }
.project-card h3 { margin: 8px 0 6px; color: var(--plum); font-size: 1.15rem; }
.project-card .loc { color: var(--muted); font-size: 14px; }

.center-cta { text-align: center; margin-top: 50px; }

/* --- About teaser (home) --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .frame { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--cream); }
.split .frame img, .split .frame .placeholder { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
    background: var(--cream);
    padding: 36px 30px;
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--white); color: var(--purple);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); margin-bottom: 0; }

/* --- CTA band --- */
.cta-band {
    background: var(--plum);
    color: var(--white);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before, .cta-band::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
}
.cta-band::before { width: 300px; height: 300px; background: var(--purple); top: -80px; left: -60px; }
.cta-band::after  { width: 260px; height: 260px; background: var(--gold);   bottom: -80px; right: -40px; opacity: .18; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto 32px; }

/* --- Footer --- */
.site-footer {
    background: var(--cream);
    padding: 70px 0 24px;
    color: var(--plum);
    border-top: 1px solid rgba(74,31,69,.06);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 14px; }
.site-footer h4 { color: var(--plum); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 6px 0; font-size: 15px; }
.footer-links a { color: var(--plum); }
.footer-links a:hover { color: var(--purple); }
.footer-bottom { border-top: 1px solid rgba(74,31,69,.08); padding-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }

/* --- Floating WhatsApp --- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 40;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(37,211,102,.4);
    transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* --- Page header (about/contact/portfolio) --- */
.page-hero { padding: 80px 0 40px; text-align: center; background: var(--cream); }
.page-hero .eyebrow {
    font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--purple); font-weight: 600; margin-bottom: 14px; display: inline-block;
}
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* --- Portfolio blocks --- */
.project-block { padding: 90px 0; }
.project-block.sand { background: var(--sand); }
.project-block .inner { display: grid; grid-template-columns: 1.65fr 1fr; gap: 56px; align-items: center; }
.project-block.reversed .inner { grid-template-columns: 1fr 1.65fr; }
.project-block.reversed .details { order: -1; }
@media (max-width: 900px) {
    .project-block { padding: 60px 0; }
    .project-block .inner,
    .project-block.reversed .inner { grid-template-columns: 1fr; gap: 30px; }
    .project-block.reversed .details { order: 0; }
}
.project-block .cat {
    font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--purple); font-weight: 600; margin-bottom: 12px;
}
.project-block h2 { margin-bottom: 20px; }
.project-block .meta-row {
    display: flex; flex-wrap: wrap; gap: 22px;
    margin-bottom: 22px; padding: 18px 0;
    border-top: 1px solid rgba(74,31,69,.12);
    border-bottom: 1px solid rgba(74,31,69,.12);
}
.project-block .meta-row .item .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.project-block .meta-row .item .v { color: var(--plum); font-weight: 600; margin-top: 2px; }
.project-block .desc { color: var(--ink); }
.project-block .desc-toggle {
    background: transparent; border: 0; padding: 12px 0; cursor: pointer;
    color: var(--purple); font-weight: 600; font-size: 14px; font-family: inherit;
    display: inline-flex; align-items: center; gap: 8px;
    letter-spacing: 0.02em;
}
.project-block .desc-toggle .chev { transition: transform .3s var(--ease); }
.project-block .desc-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.project-block .desc-body {
    max-height: 0; overflow: hidden; transition: max-height .5s var(--ease);
    color: var(--muted);
}

/* --- Carousel --- */
.carousel {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--cream);
    aspect-ratio: 1/1;
    touch-action: pan-y;
}
.carousel-track { display: flex; height: 100%; transition: transform .5s var(--ease); will-change: transform; }
.carousel-slide { flex: 0 0 100%; height: 100%; }
.carousel-slide img,
.carousel-slide .placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.9);
    border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--plum);
    box-shadow: var(--shadow-sm);
    transition: background .2s, transform .15s var(--ease);
}
.carousel-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }
.carousel-dots {
    position: absolute; bottom: 14px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 8px;
}
.carousel-dots button {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.6); border: 0; cursor: pointer;
    transition: transform .2s var(--ease), background .2s;
}
.carousel-dots button.is-active { background: #fff; transform: scale(1.4); }
.carousel-count {
    position: absolute; top: 14px; right: 14px;
    background: rgba(74,31,69,.7); color: #fff;
    padding: 5px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
}

/* --- Lightbox --- */
.carousel-slide img.lb-thumb { cursor: zoom-in; }
body.lb-open { overflow: hidden; }
.lb {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(20, 8, 22, 0.94);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 68px;
    opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb-stage {
    flex: 1;
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    min-width: 0;
}
.lb-img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    background: var(--cream);
    display: block;
}
.lb-close {
    position: absolute; top: 18px; right: 22px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s var(--ease), transform .15s var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.lb-arrow {
    flex: 0 0 auto;
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s var(--ease), transform .15s var(--ease);
    margin: 0 12px;
}
.lb-arrow:hover { background: rgba(255,255,255,.24); transform: scale(1.06); }
.lb-count {
    position: absolute; bottom: 22px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.45);
    color: #fff;
    padding: 6px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
}
@media (max-width: 640px) {
    .lb { padding: 20px 8px; }
    .lb-arrow { width: 42px; height: 42px; margin: 0 4px; }
    .lb-close { top: 12px; right: 12px; }
}

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info .info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(74,31,69,.08); }
.contact-info .info-item .icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--cream); color: var(--purple);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info .info-item .k { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact-info .info-item .v { color: var(--plum); font-weight: 600; margin-top: 2px; }
.contact-info .info-item .v a { color: var(--plum); }
.contact-info .info-item .v a:hover { color: var(--purple); }

.contact-form { background: var(--cream); padding: 40px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--plum); margin-bottom: 6px; }
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(74,31,69,.15);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: inherit; font-size: 15px; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none; border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(123,63,140,.12);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.form-msg.ok  { background: #E4F4E8; color: #1D6A2C; }
.form-msg.err { background: #FBE6E6; color: #8A1A1A; }

/* --- About page --- */
.about-story h2 { margin-bottom: 20px; }
.about-story .quote {
    padding: 30px; background: var(--cream); border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm); font-style: italic; color: var(--plum);
    margin: 30px 0;
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; }
.team-card .avatar {
    aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
    background: var(--cream); margin-bottom: 16px;
}
.team-card .avatar img, .team-card .avatar .placeholder { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.team-card .role { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* --- Scroll reveal --- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* --- Admin styles (loaded inline on admin pages too) --- */
.admin-shell { min-height: 100vh; background: var(--sand); }
.admin-header {
    background: var(--plum); color: #fff;
    padding: 18px 30px;
    display: flex; align-items: center; justify-content: space-between;
}
.admin-header a { color: rgba(255,255,255,.85); font-size: 14px; }
.admin-header a:hover { color: #fff; }
.admin-main { max-width: 1100px; margin: 40px auto; padding: 0 24px; }
.admin-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.admin-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
table.admin-table { width: 100%; border-collapse: collapse; }
table.admin-table th, table.admin-table td { padding: 12px; text-align: left; border-bottom: 1px solid rgba(74,31,69,.08); font-size: 14px; }
table.admin-table th { color: var(--plum); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-actions a { margin-right: 12px; font-size: 13px; }
.admin-actions a.del { color: #A31C1C; }
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--plum); padding: 24px; }
.login-card { background: var(--white); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); }
.login-card .logo { margin: 0 auto 24px; justify-content: center; }
.form-field select {
    width: 100%; padding: 14px 16px; border: 1px solid rgba(74,31,69,.15);
    border-radius: var(--radius-sm); background: var(--white);
    font-family: inherit; font-size: 15px; color: var(--ink);
}
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 16px; }
.image-tile { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream); }
.image-tile img { width: 100%; height: 100%; object-fit: cover; }
.image-tile .tile-actions {
    position: absolute; inset: auto 0 0 0;
    background: rgba(74,31,69,.85); color: #fff;
    padding: 6px 10px; font-size: 12px;
    display: flex; justify-content: space-between; gap: 8px;
}
.image-tile .tile-actions a, .image-tile .tile-actions button {
    color: #fff; font-size: 12px; background: transparent; border: 0; cursor: pointer; padding: 0;
}
.image-tile .tile-actions .cover-badge { color: var(--gold); font-weight: 600; }
