/* ═══════════════════════════════════════════════════════════════
   Karol García — Arte & Fotografía
   Main Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties ───────────────────────────────────────── */
:root {
  --bg:           #FAFAF8;
  --bg-alt:       #F2EEE8;
  --dark:         #1A1917;
  --dark2:        #2C2927;
  --text:         #2D2B27;
  --muted:        #7A776F;
  --accent:       #B5601F;
  --accent-h:     #8C4210;
  --accent-light: #F0D5C0;
  --border:       #E5E2DB;
  --white:        #FFFFFF;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --nav-h:    72px;
  --max-w:    1280px;
  --pad:      clamp(1rem, 4vw, 2.5rem);

  --ease:     0.3s ease;
  --ease-out: 0.4s cubic-bezier(0.16,1,0.3,1);

  --sh-sm:  0 2px 8px  rgba(26,25,23,.06);
  --sh-md:  0 8px 32px rgba(26,25,23,.12);
  --sh-lg:  0 16px 56px rgba(26,25,23,.2);

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 20px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body   { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.65; overflow-x: hidden; }
img    { display: block; max-width: 100%; height: auto; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4 { font-family: var(--serif); line-height: 1.2; }

/* ── Layout ──────────────────────────────────────────────────── */
.container       { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.container--wide { max-width: 1440px; }
.section         { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt     { background: var(--bg-alt); }
.section-dark    { background: var(--dark); color: var(--white); }

.section-header  { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-label   { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
                   color: var(--accent); margin-bottom: .6rem; display: block; }
.section-title   { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
.section-cta     { text-align: center; margin-top: 2.5rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.875rem;
  font-family: var(--sans); font-size: .875rem; font-weight: 500; letter-spacing: .04em;
  border-radius: var(--r-sm); border: 2px solid transparent; cursor: pointer;
  transition: all .2s ease; white-space: nowrap; line-height: 1;
}
.btn-primary        { background: var(--accent);    color: var(--white); border-color: var(--accent); }
.btn-primary:hover  { background: var(--accent-h);  border-color: var(--accent-h);
                      transform: translateY(-2px);  box-shadow: 0 6px 20px rgba(181,96,31,.35); }
.btn-outline        { background: transparent; color: var(--text);  border-color: var(--border); }
.btn-outline:hover  { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-outline-light  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: var(--white); transform: translateY(-1px); }

/* ── Header / Nav ────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h); transition: background var(--ease), box-shadow var(--ease);
}
.site-header.scrolled {
  background: rgba(250,250,248,.94); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--sh-sm);
}
.site-header.hero-top { background: transparent; }

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
}

/* Logo */
.site-logo    { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name    { font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
                color: var(--dark); transition: color var(--ease); }
.logo-tagline { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
                color: var(--muted); }
.hero-top .logo-name    { color: var(--white); }
.hero-top .logo-tagline { color: rgba(255,255,255,.55); }

/* Desktop nav */
.nav-menu { display: flex; align-items: center; gap: .25rem; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: .3rem;
  padding: .5rem .875rem; font-size: .875rem; font-weight: 500; color: var(--text);
  border-radius: var(--r-sm); transition: color .15s, background .15s;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--accent); background: var(--accent-light); }

.hero-top .nav-menu > li > a          { color: rgba(255,255,255,.82); }
.hero-top .nav-menu > li > a:hover,
.hero-top .nav-menu > li > a.active   { color: var(--white); background: rgba(255,255,255,.14); }

.chevron { transition: transform .2s ease; flex-shrink: 0; }
.has-dropdown:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + .4rem); left: 0; min-width: 190px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: .35rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: .55rem .875rem; font-size: .875rem;
  color: var(--text); border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}
.dropdown li a:hover { background: var(--bg-alt); color: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.nav-toggle span {
  display: block; width: 23px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all .25s ease;
}
.hero-top .nav-toggle span { background: var(--white); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .45; transition: opacity 1s ease;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(26,25,23,.88) 0%, rgba(26,25,23,.55) 55%, rgba(181,96,31,.18) 100%);
}
/* Subtle pattern when no bg image */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(181,96,31,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(232,164,124,.12) 0%, transparent 45%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1; text-align: center;
  color: var(--white); padding: var(--pad); max-width: 820px;
  animation: heroIn 1.1s var(--ease-out) both;
}
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hero-eyebrow { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase;
                color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.hero-title   { font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 700; line-height: 1.0;
                color: var(--white); margin-bottom: .75rem; }
.hero-sub     { font-family: var(--serif); font-style: italic;
                font-size: clamp(1rem, 2.2vw, 1.4rem); color: rgba(255,255,255,.7);
                margin-bottom: 2.5rem; }

.hero-scroll {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  background: none; border: none; cursor: pointer;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.45); animation: scrollBob 2.2s ease-in-out infinite;
}
.hero-scroll-bar { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent); }
@keyframes scrollBob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* ── Gallery Masonry ─────────────────────────────────────────── */
.gallery-masonry        { columns: 3; column-gap: 1rem; }
.gallery-masonry--lg    { columns: 4; column-gap: 1rem; }

.g-item {
  break-inside: avoid; margin-bottom: 1rem;
  border-radius: var(--r-sm); overflow: hidden; cursor: pointer;
}
.g-link { display: block; }
.g-wrap { position: relative; overflow: hidden; }
.g-wrap img { width: 100%; height: auto; transition: transform .6s var(--ease-out); }
.g-item:hover .g-wrap img { transform: scale(1.05); }

.g-overlay {
  position: absolute; inset: 0;
  background: rgba(26,25,23,0);
  display: flex; align-items: flex-end; padding: 1.1rem;
  transition: background var(--ease);
}
.g-item:hover .g-overlay { background: rgba(26,25,23,.5); }

.g-overlay-body {
  color: var(--white); transform: translateY(10px); opacity: 0;
  transition: opacity .3s, transform .3s;
}
.g-item:hover .g-overlay-body { transform: translateY(0); opacity: 1; }
.g-overlay-body h3  { font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: .2rem; }
.g-overlay-body span { font-size: .76rem; color: rgba(255,255,255,.75); }
.g-view-lbl {
  display: inline-block; margin-top: .4rem;
  padding: .2rem .75rem; border: 1px solid rgba(255,255,255,.45);
  border-radius: 100px; font-size: .74rem;
}
.gallery-empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }

/* ── Category Cards ──────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.cat-card {
  display: block; border-radius: var(--r-md); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.cat-thumb {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
}
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cat-card:hover .cat-thumb img { transform: scale(1.07); }
.cat-icon { font-size: 2.8rem; }
.cat-info { padding: .875rem 1rem; }
.cat-info strong { display: block; font-size: .95rem; font-weight: 600; margin-bottom: .2rem; }
.cat-info span   { font-size: .8rem; color: var(--muted); }

/* ── About Strip (homepage dark section) ─────────────────────── */
.about-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-strip-text h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); color: var(--white); margin-bottom: 1.1rem; }
.about-strip-text p  { color: rgba(255,255,255,.72); font-size: 1.0625rem; line-height: 1.8; margin-bottom: 2rem; }
.about-strip-deco {
  aspect-ratio: 4/5; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(181,96,31,.2), rgba(232,164,124,.08));
  border: 1px solid rgba(181,96,31,.25); position: relative;
}
.about-strip-deco::after {
  content: ''; position: absolute; inset: 14px;
  border: 1px solid rgba(255,255,255,.08); border-radius: calc(var(--r-lg) - 4px);
}

/* ── Page Banner (inner pages) ───────────────────────────────── */
.page-banner {
  background: var(--dark); padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 2.5rem;
}
.page-banner h1   { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); margin-top: .5rem; }
.banner-desc      { color: rgba(255,255,255,.65); font-style: italic;
                    font-family: var(--serif); font-size: 1.0625rem; margin-top: .6rem; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .3rem;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.breadcrumb a    { color: rgba(255,255,255,.55); transition: color .15s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.75); }
.breadcrumb-light { color: var(--muted); }
.breadcrumb-light a { color: var(--muted); }
.breadcrumb-light a:hover { color: var(--accent); }
.breadcrumb-light span { color: var(--text); }

/* ── Filter Tabs ─────────────────────────────────────────────── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.ftab {
  padding: .45rem 1.1rem; font-size: .85rem; font-weight: 500;
  color: var(--muted); background: var(--white);
  border: 1.5px solid var(--border); border-radius: 100px;
  transition: all .18s ease; cursor: pointer;
}
.ftab:hover { color: var(--accent); border-color: var(--accent); }
.ftab.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ── Photo Page ──────────────────────────────────────────────── */
.photo-page { padding-top: var(--nav-h); }
.photo-viewer-wrap {
  background: var(--dark); display: flex; justify-content: center;
  align-items: center; padding: 2rem var(--pad) 0;
  min-height: 50vh;
}
.photo-full { max-height: 72vh; max-width: 100%; object-fit: contain; box-shadow: var(--sh-lg); }

.photo-nav-bar {
  background: var(--dark); display: flex; justify-content: space-between; align-items: center;
  padding: .9rem var(--pad); max-width: 100%;
}
.pnav-btn {
  padding: .45rem 1rem; font-size: .85rem;
  color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-sm); transition: all .18s;
}
.pnav-btn:hover    { color: var(--white); border-color: rgba(255,255,255,.45); }
.pnav-disabled     { opacity: .3; cursor: default; pointer-events: none; }
.pnav-center       { font-size: .85rem; color: rgba(255,255,255,.5); transition: color .15s; }
.pnav-center:hover { color: var(--white); }

.photo-detail-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem; padding: 3rem 0 4rem;
}

.photo-title { font-size: clamp(1.5rem, 2.5vw, 2.25rem); margin-bottom: 1rem; }

.photo-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: 1.25rem; }
.pm-item    { display: flex; flex-direction: column; font-size: .85rem; }
.pm-item dt { font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .15rem; }
.pm-item a  { color: var(--accent); }

.photo-desc { font-size: 1rem; line-height: 1.8; color: var(--muted); margin-top: .5rem; }

/* ── Comments ────────────────────────────────────────────────── */
.comments-heading { font-size: 1.2rem; padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.comments-empty   { color: var(--muted); font-style: italic; margin-bottom: 1.5rem; }
.comments-list    { display: flex; flex-direction: column; gap: .875rem; margin-bottom: 2rem; }

.comment {
  padding: 1.1rem 1.25rem; background: var(--bg-alt);
  border-radius: var(--r-md); border-left: 3px solid var(--accent-light);
}
.comment-head  { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.comment-head strong { font-size: .9rem; }
.comment-head time   { font-size: .8rem; color: var(--muted); }
.comment p           { font-size: .9rem; line-height: 1.65; }

.comment-form-box { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.comment-form-box h3 { font-size: 1.05rem; margin-bottom: 1.25rem; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .875rem; }
.form-group label { font-size: .84rem; font-weight: 500; }

.form-group input,
.form-group textarea,
.form-group select {
  padding: .72rem 1rem; font-family: var(--sans); font-size: .9375rem; color: var(--text);
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-sm);
  outline: none; transition: border-color .18s, box-shadow .18s; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(181,96,31,.13);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert     { padding: .9rem 1.1rem; border-radius: var(--r-md); font-size: .9rem; margin-bottom: 1.1rem; }
.alert-ok  { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── About Page ──────────────────────────────────────────────── */
.about-grid        { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.about-photo-frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4;
                     background: var(--bg-alt); border: 1px solid var(--border); }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 5rem; font-weight: 700; color: var(--border);
}
.about-text-col h2   { font-size: clamp(1.9rem, 3vw, 2.75rem); margin-bottom: 1.4rem; }
.about-body p        { font-size: 1.0625rem; line-height: 1.82; color: var(--muted); margin-bottom: 1rem; }
.skills-row          { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 .5rem; }
.skill-pill {
  display: flex; align-items: center; gap: .45rem;
  padding: .45rem 1rem; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 100px; font-size: .875rem; font-weight: 500;
}

/* ── Contact Page ────────────────────────────────────────────── */
.contact-grid       { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; }
.contact-info-col h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); margin-bottom: 1rem; }
.contact-info-col p  { color: var(--muted); line-height: 1.78; margin-bottom: 1.75rem; }
.contact-items       { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item        { display: flex; align-items: flex-start; gap: 1rem; }
.ci-icon             { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.contact-item strong { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .15rem; }
.contact-item p      { font-size: .9rem; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--dark2); padding: 3rem 0 0; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad) 2.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
}
.footer-logo  { font-family: var(--serif); font-size: 1.45rem; font-weight: 700;
                color: var(--white); display: block; margin-bottom: .4rem; }
.footer-brand p { font-size: .83rem; color: rgba(255,255,255,.4); }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; font-weight: 600;
                  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4);
                  margin-bottom: .9rem; }
.footer-col ul li + li { margin-top: .45rem; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 1.25rem var(--pad);
  text-align: center; font-size: .78rem; color: rgba(255,255,255,.3);
  max-width: var(--max-w); margin: 0 auto;
}

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.96);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.65); transition: color .15s; line-height: 1;
}
.lb-close { top: 1.1rem; right: 1.25rem; font-size: 2.2rem; z-index: 1; }
.lb-prev  { left:  .75rem; top: 50%; transform: translateY(-50%); font-size: 3.5rem; padding: .5rem; }
.lb-next  { right: .75rem; top: 50%; transform: translateY(-50%); font-size: 3.5rem; padding: .5rem; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--white); }

.lb-figure { display: flex; flex-direction: column; align-items: center; gap: .75rem;
             max-width: 92vw; }
.lb-figure img { max-width: 90vw; max-height: 84vh; object-fit: contain; }
figcaption#lbCaption { font-size: .88rem; color: rgba(255,255,255,.6); text-align: center; }

/* ── Scroll fade-in ──────────────────────────────────────────── */
.js-fade { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js-fade.visible { opacity: 1; transform: none; }

/* ── Dropdown extras (nav separator & group label) ───────────── */
.dropdown-sep {
  height: 1px; background: var(--border); margin: .25rem .5rem;
}
.dropdown-group-label {
  display: block; padding: .35rem .875rem .1rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* ── Brand Split (homepage dual identity) ────────────────────── */
.brand-split {
  display: grid; grid-template-columns: 1fr 1fr;
}
.brand-card {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4rem);
}
.brand-card--dark  { background: var(--dark); color: var(--white); }
.brand-card--light { background: var(--bg-alt); }

.brand-card-inner  { max-width: 480px; }
.brand-eyebrow {
  font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem; display: block;
}
.brand-card--dark .brand-eyebrow { color: var(--accent-light); }

.brand-card h2 {
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: .5rem;
}
.brand-card--dark h2 { color: var(--white); }
.brand-desc { font-family: var(--serif); font-style: italic; font-size: 1rem;
              color: var(--muted); margin-bottom: 1.75rem; }
.brand-card--dark .brand-desc { color: rgba(255,255,255,.55); }

.brand-list { display: flex; flex-direction: column; gap: .6rem; }
.brand-list li a {
  font-size: .95rem; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: .5rem;
  transition: color .15s;
}
.brand-list li a::before { content: '→'; font-size: .75rem; opacity: .5; }
.brand-list li a:hover { color: var(--white); }
.brand-list--dark li a { color: var(--text); }
.brand-list--dark li a:hover { color: var(--accent); }

/* ── Video Grid & Card ───────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.video-card { display: flex; flex-direction: column; }
.vc-link    { display: block; }

.vc-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--dark); border-radius: var(--r-md);
}
.vc-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease-out);
}
.vc-link:hover .vc-thumb img { transform: scale(1.05); }
.vc-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--dark2), var(--dark));
}

.vc-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.2); transition: background var(--ease);
}
.vc-link:hover .vc-overlay { background: rgba(0,0,0,.45); }
.vc-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; padding-left: 3px;
  transform: scale(.85); transition: transform .2s, background .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.vc-link:hover .vc-play { transform: scale(1); background: var(--white); }

.vc-duration {
  position: absolute; bottom: .55rem; right: .65rem;
  background: rgba(0,0,0,.72); color: var(--white);
  font-size: .72rem; font-weight: 500; padding: .15rem .45rem;
  border-radius: var(--r-sm);
}
.vc-badge {
  position: absolute; top: .6rem; left: .65rem;
  background: var(--accent); color: var(--white);
  font-size: .68rem; font-weight: 600; padding: .15rem .55rem;
  border-radius: 100px; letter-spacing: .04em;
}
.vc-badge--arte { background: #5a3e7a; }

.vc-info { padding: .75rem 0 0; }
.vc-info h3 { font-size: 1rem; font-family: var(--sans); font-weight: 600; line-height: 1.35; }
.vc-info h3 a:hover { color: var(--accent); }
.vc-year { font-size: .82rem; color: var(--muted); margin-top: .2rem; display: block; }

/* ── Video Player Page ───────────────────────────────────────── */
.video-player-wrap {
  background: var(--dark); display: flex; justify-content: center; align-items: center;
  padding: 2rem var(--pad) 0;
}
.video-player-el {
  width: 100%; max-width: 1100px; max-height: 72vh;
  object-fit: contain; display: block;
}

.video-detail-grid { padding: 3rem 0 4rem; }
.video-detail-badge {
  display: inline-block;
  background: var(--accent-light); color: var(--accent);
  font-size: .75rem; font-weight: 600; padding: .25rem .75rem;
  border-radius: 100px; letter-spacing: .04em; text-transform: uppercase;
}

/* ── Photography Category Cards ──────────────────────────────── */
.photo-cat-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.photo-cat-card {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem 1.75rem; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.photo-cat-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--accent); }
.pcc-icon { font-size: 2rem; flex-shrink: 0; }
.pcc-info { flex: 1; }
.pcc-info strong { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: .2rem; }
.pcc-info span   { font-size: .85rem; color: var(--muted); }
.pcc-arrow { font-size: 1.25rem; color: var(--muted); transition: color var(--ease), transform var(--ease); }
.photo-cat-card:hover .pcc-arrow { color: var(--accent); transform: translateX(4px); }

/* ── Project Grid ────────────────────────────────────────────── */
.project-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.project-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.project-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.project-card:hover .project-img img { transform: scale(1.04); }
.project-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent-light), var(--bg-alt));
}
.project-body { padding: 1.5rem; }
.project-body h2 { font-size: 1.25rem; margin-bottom: .6rem; }
.project-body p  { font-size: .95rem; line-height: 1.7; color: var(--muted); margin-bottom: 1.25rem; }

/* ── CV Grid ─────────────────────────────────────────────────── */
.cv-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.cv-section { }
.cv-heading {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  color: var(--dark); border-bottom: 2px solid var(--accent-light);
  padding-bottom: .5rem; margin-bottom: 1rem;
}
.cv-list { display: flex; flex-direction: column; gap: .65rem; }
.cv-list li { font-size: .95rem; line-height: 1.55; color: var(--text); }
.cv-meta {
  display: block; font-size: .78rem; color: var(--muted);
  font-style: italic; margin-top: .15rem;
}
.cv-list--placeholder li { color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .gallery-masonry--lg { columns: 3; }
  .about-strip         { grid-template-columns: 1fr; gap: 2rem; }
  .about-strip-deco    { display: none; }
  .photo-detail-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner        { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .brand-split         { grid-template-columns: 1fr; }
  .video-grid          { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 1rem var(--pad); overflow-y: auto; gap: 0;
  }
  .nav-menu.open       { display: flex; }
  .nav-menu > li > a   { padding: .875rem 0; font-size: 1.1rem;
                         border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-menu > li > a:hover,
  .nav-menu > li > a.active { background: transparent; }
  .chevron             { margin-left: auto; }

  .dropdown {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    background: transparent; padding: 0 0 0 1rem;
  }
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; }

  .gallery-masonry,
  .gallery-masonry--lg { columns: 2; }
  .cat-grid            { grid-template-columns: repeat(2, 1fr); }
  .about-grid          { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-frame   { max-width: 280px; aspect-ratio: 1; }
  .contact-grid        { grid-template-columns: 1fr; gap: 2rem; }
  .form-row            { grid-template-columns: 1fr; }
  .footer-inner        { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-masonry,
  .gallery-masonry--lg { columns: 1; }
  .cat-grid            { grid-template-columns: 1fr; }
  .video-grid          { grid-template-columns: 1fr; }
  .project-grid        { grid-template-columns: 1fr; }
  .cv-grid             { grid-template-columns: 1fr; }
  .photo-cat-cards     { grid-template-columns: 1fr; }
}
