/* ═══════════════════════════════════════════════════════
   LFTD MEDIA — THEME v2.1
   Forest Black × Evergreen × Fog White × Copper
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:ital,wght@0,400;0,500;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ─── Tokens ───────────────────────────────────────────── */
:root {
  --black:       #0e0f0d;
  --dark:        #161814;
  --mid:         #1e201c;
  --green:       #1c2e1e;
  --green-light: #2a4a2c;
  --fog:         #f0ede8;
  --fog-mid:     #c8c4bc;
  --fog-mute:    #7a7870;
  --copper:      #b5622a;
  --copper-l:    #d4784a;
  --copper-pale: #3a1f0e;
  --rule:        #252720;
  --rule-light:  #30332c;
  --neon:        #6aff6a;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --section-v: clamp(5rem, 10vw, 9rem);
  --max-w:     1280px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7,  0, 0.84, 0);
  --ease-circ: cubic-bezier(0,    0.55, 0.45, 1);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--fog);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Typography ──────────────────────────────────────────── */
.lftd-display-xl { font-family: var(--font-display); font-size: clamp(64px, 11vw, 148px); line-height: .9; }
.lftd-display-lg { font-family: var(--font-display); font-size: clamp(54px, 8vw, 110px);  line-height: .9; }
.lftd-display-md { font-family: var(--font-display); font-size: clamp(40px, 6vw, 80px);   line-height: .93; }
.lftd-display-sm { font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px);   line-height: .95; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper-l); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--copper); display: inline-block; flex-shrink: 0; }

.body-lg { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.7; color: var(--fog-mid); }
.body-md { font-size: 15px; line-height: 1.8; color: var(--fog-mid); }
.body-sm { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--fog-mute); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: clamp(18px, 1.4vw, 22px);
  letter-spacing: .06em; padding: 13px 30px;
  border: none; transition: all .25s var(--ease-out);
  white-space: nowrap; position: relative; overflow: hidden;
  cursor: pointer;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.08); opacity: 0;
  transition: opacity .2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary { background: var(--fog); color: var(--black); }
.btn-primary:hover { background: var(--copper-l); color: var(--fog); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(181,98,42,.35); }

.btn-copper { background: var(--copper); color: var(--fog); }
.btn-copper:hover { background: var(--copper-l); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(181,98,42,.4); }

.btn-outline {
  background: transparent; border: 1px solid var(--rule-light);
  color: var(--fog-mid);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; padding: 13px 24px;
}
.btn-outline:hover { border-color: var(--copper); color: var(--copper-l); }

.btn-arrow::after { content: '→'; transition: transform .2s var(--ease-out); }
.btn-arrow:hover::after { transform: translateX(5px); }

/* ─── Header ──────────────────────────────────────────────── */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}
#masthead.scrolled {
  background: rgba(14,15,13,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: #252720;
}

/* ─── Logo ────────────────────────────────────────────────── */
.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
/* Default size — overridden by lftd-logo-css from Customizer (injected in <head>) */
.custom-logo-link .custom-logo,
.custom-logo-link img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 200px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s;
}
.custom-logo-link:hover .custom-logo,
.custom-logo-link:hover img { opacity: 1; }

/* Fallback text logo if no image is set */
.site-name-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #f0ede8;
  opacity: 0.92;
  white-space: nowrap;
  line-height: 1;
}


/* ─── Nav ─────────────────────────────────────────────────── */
#masthead .site-nav {
  display: flex;
  align-items: center;
}
/* Force horizontal row — override any WP/browser defaults */
#masthead .site-nav .nav-menu,
#masthead .site-nav > ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: clamp(1.25rem, 2vw, 2.25rem) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Each item inline — NOT list-item which causes stacking */
#masthead .site-nav li,
#masthead .site-nav .nav-menu li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
#masthead .site-nav a {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c8c4bc;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  position: relative;
  transition: color 0.2s;
}
#masthead .site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #d4784a;
  transition: width 0.25s ease;
}
#masthead .site-nav a:hover { color: #f0ede8; }
#masthead .site-nav a:hover::after { width: 100%; }
#masthead .site-nav .current-menu-item > a,
#masthead .site-nav .current_page_item > a { color: #f0ede8; }
#masthead .site-nav .current-menu-item > a::after,
#masthead .site-nav .current_page_item > a::after { width: 100%; }

/* CTA button in nav */
#masthead .site-nav .nav-cta,
#masthead .site-nav li:last-child > a {
  background: #b5622a !important;
  color: #f0ede8 !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 17px !important;
  letter-spacing: 0.07em !important;
  padding: 9px 22px 8px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  transition: background 0.2s !important;
  white-space: nowrap !important;
}
#masthead .site-nav .nav-cta::after { display: none !important; }
#masthead .site-nav .nav-cta:hover  { background: #d4784a !important; }

/* ─── Hamburger (hidden on desktop) ──────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #c8c4bc;
  transition: background 0.2s, transform 0.3s;
  border-radius: 1px;
}
.nav-toggle:hover .hamburger-bar { background: #f0ede8; }


/* ─── Footer ──────────────────────────────────────────────── */
#colophon {
  background: var(--dark); border-top: 1px solid var(--rule);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  max-width: var(--max-w); margin: 0 auto 3rem;
}
.footer-brand .logo { height: 28px; filter: brightness(0) invert(1); opacity: .75; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 13px; color: var(--fog-mute); line-height: 1.85; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper-l); margin-bottom: 1.25rem; font-weight: 400;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul a { font-size: 13px; color: var(--fog-mute); transition: color .2s; }
.footer-col ul a:hover { color: var(--fog); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 1.75rem; border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-family: var(--font-mono); font-size: 11px; color: var(--fog-mute); letter-spacing: .08em; margin: 0; }
.social-links { display: flex; gap: 1.5rem; }
.social-links a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fog-mute); transition: color .2s; }
.social-links a:hover { color: var(--copper-l); }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.lftd-hero {
  position: relative; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding: 0 0 clamp(3.5rem, 8vh, 7rem);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .55; transform-origin: center;
}
/* Only apply zoom animation to images, not video (video has its own motion) */
.hero-bg img {
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-bg video {
  /* No zoom on video — let the footage move naturally */
  animation: none;
  /* Disable pointer events so video controls don't show */
  pointer-events: none;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero-bg-gradient {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--black) 0%, var(--green) 55%, var(--black) 100%);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14,15,13,.97) 0%, rgba(14,15,13,.35) 55%, rgba(14,15,13,.15) 100%),
    linear-gradient(135deg, rgba(181,98,42,.07) 0%, transparent 55%);
}
.hero-bg-grain {
  position: absolute; inset: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--copper-l); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--copper); }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(68px, 13vw, 158px);
  line-height: .88; letter-spacing: .01em;
  color: var(--fog); margin-bottom: 1.75rem;
  display: flex; flex-direction: column;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-2 { color: var(--copper-l); }

.hero-sub {
  max-width: 540px; font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75; color: var(--fog-mid); margin-bottom: 2.5rem;
}
.hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute; bottom: 2.5rem; right: var(--gutter); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fog-mute);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--fog-mute), transparent);
  animation: scrollPulse 2s ease-in-out 1.5s infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%       { transform: scaleY(0.35); opacity: .5; }
}

.hero-corner-tag {
  position: absolute; bottom: 2.5rem; left: var(--gutter); z-index: 2;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--fog-mute);
}
.corner-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }

/* ═══════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════ */
.lftd-marquee {
  background: var(--copper); overflow: hidden;
  border-top: 1px solid rgba(0,0,0,.15);
  border-bottom: 1px solid rgba(0,0,0,.15);
  padding: .9rem 0;
}
.marquee-inner {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}
.lftd-marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display); font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: .06em; color: var(--fog); padding: 0 2rem;
}
.marquee-sep { color: rgba(255,255,255,.35); font-size: 14px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ═══════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════ */
.lftd-stats {
  background: var(--dark);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center; padding: clamp(2rem, 4vw, 3rem) 1.5rem;
  border-right: 1px solid var(--rule);
  position: relative; overflow: hidden;
}
.stat-item::before {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px; background: var(--copper);
  transition: width .4s var(--ease-out);
}
.stat-item:hover::before { width: 80%; }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1; color: var(--fog); display: block; margin-bottom: .4rem;
}
.stat-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--fog-mute);
}

/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.lftd-about { background: var(--black); padding: var(--section-v) 0; }
.about-inner {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 7vw, 8rem); align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
}
.about-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.about-visual:hover .about-img-wrap img { transform: scale(1.03); }
.about-img-reveal {
  position: absolute; inset: 0; background: var(--copper);
  z-index: 2; transform-origin: top;
  transition: transform .9s var(--ease-out);
}
.about-img-reveal.revealed { transform: scaleY(0); transform-origin: bottom; }

.about-corner-accent {
  position: absolute; top: -18px; left: -18px;
  width: 100px; height: 100px;
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
  pointer-events: none;
}
.about-year-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--copper); padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
}
.year-text { font-family: var(--font-display); font-size: 42px; color: var(--fog); line-height: 1; }
.year-sub  { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: rgba(240,237,232,.65); }

.about-img-placeholder {
  width: 100%; height: 100%;
  background: var(--mid);
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder span {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rule-light);
}

.about-headline { margin-bottom: 1.5rem; }
.about-lead { margin-bottom: 1.25rem; }
.about-founder {
  margin: 2rem 0; padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; gap: 1rem;
}
.founder-img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--rule-light);
  flex-shrink: 0;
}
.founder-initials {
  background: var(--mid); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; color: var(--copper-l);
}
.founder-info .name  { font-family: var(--font-display); font-size: 22px; color: var(--fog); display: block; }
.founder-info .title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-l); }

/* ═══════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════ */
.lftd-services {
  background: var(--dark);
  padding: var(--section-v) 0;
  border-top: 1px solid var(--rule);
}
.services-header {
  max-width: var(--max-w); margin: 0 auto 3.5rem;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: end;
}
.services-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
}
.service-card {
  background: var(--dark); padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative; overflow: hidden;
  transition: background .25s;
  cursor: default;
}
.service-card:nth-child(3), .service-card:nth-child(6) { border-right: none; }
.service-card:nth-child(4), .service-card:nth-child(5), .service-card:nth-child(6) { border-bottom: none; }
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--copper);
  transition: width .35s var(--ease-out);
}
.service-card:hover { background: var(--mid); }
.service-card:hover::before { width: 100%; }

.service-num {
  font-family: var(--font-display); font-size: clamp(48px, 5vw, 64px);
  color: var(--rule-light); line-height: 1; display: block;
  margin-bottom: 1.25rem; transition: color .25s;
}
.service-card:hover .service-num { color: var(--copper); }
.service-title {
  font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px);
  color: var(--fog); margin-bottom: .75rem; letter-spacing: .02em;
}
.service-desc { font-size: 13px; color: var(--fog-mute); line-height: 1.8; margin-bottom: 1.5rem; }
.service-list { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.service-list li {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fog-mute); padding: .4rem 0;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(37,39,32,.6);
  transition: color .2s;
}
.service-list li::before { content: '—'; color: var(--copper); flex-shrink: 0; }
.service-card:hover .service-list li { color: var(--fog-mid); }

/* ═══════════════════════════════════════════════════════
   WORK
   ═══════════════════════════════════════════════════════ */
.lftd-work { background: var(--black); padding: var(--section-v) 0; }
.work-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.work-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 2rem; flex-wrap: wrap;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(180px, 22vw, 300px);
  gap: 4px;
}
.work-item-1 { grid-column: span 7; grid-row: span 2; }
.work-item-2 { grid-column: span 5; }
.work-item-3 { grid-column: span 5; }
.work-item-4 { grid-column: span 4; }
.work-item-5 { grid-column: span 4; }
.work-item-6 { grid-column: span 4; }

.work-item {
  position: relative; overflow: hidden; cursor: pointer;
}
.work-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out), filter .4s;
  filter: brightness(.65) saturate(.75);
}
.work-item:hover img { transform: scale(1.06); filter: brightness(.4) saturate(.5); }
.work-item-info {
  position: absolute; inset: 0; display: flex;
  flex-direction: column; justify-content: flex-end;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(to top, rgba(14,15,13,.92) 0%, transparent 60%);
  transition: opacity .3s;
}
.work-item-1 .work-item-info { opacity: 1; }
.work-item:not(.work-item-1) .work-item-info { opacity: 0; }
.work-item:hover .work-item-info { opacity: 1; }
.work-item-cat {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--copper-l);
  margin-bottom: 5px;
}
.work-item-title {
  font-family: var(--font-display); font-size: clamp(20px, 2.5vw, 32px);
  color: var(--fog); line-height: 1;
}

/* ═══════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════ */
.lftd-process {
  background: var(--green); padding: var(--section-v) 0;
  position: relative; overflow: hidden;
}
.lftd-process::before {
  content: 'LFTD'; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-display); font-size: clamp(180px, 30vw, 400px);
  color: rgba(255,255,255,.025); white-space: nowrap; pointer-events: none;
  letter-spacing: .05em;
}
.process-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.process-header { margin-bottom: 3.5rem; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem); position: relative;
}
.process-step {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(4px);
  position: relative; overflow: hidden;
  transition: background .25s, border-color .25s;
}
.process-step:hover { background: rgba(0,0,0,.28); border-color: rgba(181,98,42,.3); }
.step-num {
  font-family: var(--font-display); font-size: clamp(56px, 6vw, 80px);
  line-height: 1; color: rgba(255,255,255,.07); display: block; margin-bottom: 1.25rem;
}
.step-connector {
  display: none; /* handled by CSS on desktop */
}
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute; top: 50%; right: calc(-1 * clamp(.5rem, 1vw, .75rem) - .6em);
  transform: translateY(-50%);
  font-family: var(--font-display); font-size: 22px; color: var(--copper);
  z-index: 2;
}
.step-title { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); color: var(--fog); margin-bottom: .6rem; }
.step-desc { font-size: 13px; color: rgba(240,237,232,.5); line-height: 1.8; }

/* ═══════════════════════════════════════════════════════
   WHY LFTD
   ═══════════════════════════════════════════════════════ */
.lftd-why { background: var(--black); padding: var(--section-v) 0; }
.why-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem); align-items: start;
}
.why-sticky { position: sticky; top: 96px; }
.why-headline {
  font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 72px);
  line-height: .92; margin-bottom: 1.5rem; color: var(--fog);
}
.why-lead { font-size: clamp(15px, 1.2vw, 18px); color: var(--fog-mid); line-height: 1.8; margin-bottom: 2rem; }

.why-list { display: flex; flex-direction: column; }
.why-item {
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; align-items: start;
  transition: background .2s;
  cursor: default;
}
.why-item:first-child { border-top: 1px solid var(--rule); }
.why-item:hover .why-title { color: var(--copper-l); }
.why-num {
  font-family: var(--font-display); font-size: 22px;
  color: var(--copper-l); padding-top: 3px; line-height: 1;
}
.why-title {
  font-family: var(--font-display); font-size: clamp(24px, 2.5vw, 30px);
  color: var(--fog); margin-bottom: .4rem; transition: color .2s;
}
.why-desc { font-size: 13px; color: var(--fog-mute); line-height: 1.85; }

/* ═══════════════════════════════════════════════════════
   QUOTE
   ═══════════════════════════════════════════════════════ */
.lftd-quote {
  background: var(--copper-pale); padding: var(--section-v) 0;
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(181,98,42,.15);
  border-bottom: 1px solid rgba(181,98,42,.15);
}
.quote-inner { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; position: relative; z-index: 1; }
.quote-mark {
  position: absolute; top: -4rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: clamp(200px, 28vw, 380px);
  color: rgba(181,98,42,.1); line-height: 1; pointer-events: none;
  user-select: none;
}
.quote-text {
  font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 58px);
  line-height: 1.08; color: var(--fog); margin-bottom: 2rem;
  font-style: normal;
}
.quote-author {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--copper-l);
  font-style: normal;
}

/* ═══════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════ */
.lftd-cta {
  background: var(--dark); padding: var(--section-v) 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-display); font-size: clamp(180px, 28vw, 360px);
  color: rgba(255,255,255,.022); white-space: nowrap; pointer-events: none; user-select: none;
  letter-spacing: .05em;
}
.cta-inner { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 120px); line-height: .9;
  color: var(--fog); margin-bottom: 1.5rem;
}
.cta-sub { font-size: clamp(15px, 1.2vw, 18px); color: var(--fog-mid); line-height: 1.75; margin-bottom: 2.5rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   PAGE TEMPLATE BASE
   ═══════════════════════════════════════════════════════ */
.site-main { padding-top: 68px; }
.page-content-wrap { max-width: var(--max-w); margin: 0 auto; padding: 5rem var(--gutter); }
.entry-content h1, .entry-content h2 { font-family: var(--font-display); line-height: .93; margin-bottom: 1rem; }
.entry-content p { color: var(--fog-mid); margin-bottom: 1.25rem; }
.entry-content a { color: var(--copper-l); }
.entry-content a:hover { color: var(--fog); }

/* ═══════════════════════════════════════════════════════
   ANIMATION SYSTEM
   Initial hidden states are set via JS adding .anim-ready
   to <body> — so if JS fails, content is always visible.
   ═══════════════════════════════════════════════════════ */

/* Base — only hidden when JS has initialised */
body.anim-ready .lftd-anim { will-change: transform, opacity; }

/* ── Fade up */
body.anim-ready .lftd-anim.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
body.anim-ready .lftd-anim.anim-fade-up.lftd-visible {
  opacity: 1;
  transform: none;
}

/* ── Fade only */
body.anim-ready .lftd-anim.anim-fade {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}
body.anim-ready .lftd-anim.anim-fade.lftd-visible {
  opacity: 1;
}

/* ── Slide from left */
body.anim-ready .lftd-anim.anim-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
body.anim-ready .lftd-anim.anim-left.lftd-visible {
  opacity: 1;
  transform: none;
}

/* ── Scale up */
body.anim-ready .lftd-anim.anim-scale {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
body.anim-ready .lftd-anim.anim-scale.lftd-visible {
  opacity: 1;
  transform: none;
}

/* ── Hero clip-up: text slides up from behind overflow:hidden */
.hero-line {
  display: block;
  overflow: hidden;
  line-height: 0.93;
}
.hero-line-inner {
  display: block;
}
body.anim-ready .hero-line-inner {
  transform: translateY(105%);
  transition: transform 0.9s var(--ease-out);
}
body.anim-ready .anim-clip-up.lftd-visible .hero-line-inner {
  transform: none;
}
body.anim-ready .anim-clip-up.lftd-visible .hero-line:nth-child(2) .hero-line-inner {
  transition-delay: 0.14s;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2), .service-card:nth-child(4) { border-right: none; }
  .service-card:nth-child(3), .service-card:nth-child(5) { border-right: 1px solid var(--rule); }
  .service-card:nth-child(3) { border-bottom: 1px solid var(--rule); }
  .service-card:nth-child(4), .service-card:nth-child(5) { border-bottom: 1px solid var(--rule); }
  .service-card:nth-child(6) { border-right: none; border-bottom: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .process-step:nth-child(4)::after { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--rule); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--rule); border-right: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 480px; }
  .about-year-badge { bottom: auto; right: auto; top: -1rem; right: -1rem; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .nav-toggle { display: flex; }
  #masthead .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(14,15,13,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem clamp(1.25rem, 4vw, 3rem);
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid #252720;
  }
  #masthead .site-nav.open { display: flex; }
  /* Stack items vertically on mobile */
  #masthead .site-nav .nav-menu,
  #masthead .site-nav > ul {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100%;
  }
  #masthead .site-nav li,
  #masthead .site-nav .nav-menu li {
    display: block !important;
    width: 100%;
    border-bottom: 1px solid #252720;
  }
  #masthead .site-nav a {
    display: block !important;
    font-size: 13px;
    letter-spacing: 0.14em;
    padding: 1rem 0 !important;
    width: 100%;
  }
  #masthead .site-nav .nav-cta,
  #masthead .site-nav li:last-child > a {
    margin-top: 1.5rem !important;
    display: inline-block !important;
    width: auto !important;
  }

  /* Hero */
  .hero-headline { font-size: clamp(56px, 14vw, 88px); }
  .hero-scroll-indicator, .hero-corner-tag { display: none; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 1.5rem 1rem; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--rule); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--rule); }

  /* About */
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 100%; }
  .about-img-wrap { aspect-ratio: 4/3; }
  .about-year-badge { display: none; }
  .about-corner-accent { display: none; }

  /* Services */
  .services-header { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }

  /* Work */
  .work-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .work-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .work-item-1, .work-item-2, .work-item-3,
  .work-item-4, .work-item-5, .work-item-6 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .work-item-info { opacity: 1 !important; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none !important; }

  /* Why */
  .why-inner { grid-template-columns: 1fr; }
  .why-sticky { position: static; margin-bottom: 2.5rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Small mobile (≤480px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(50px, 15vw, 72px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .work-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .about-founder { flex-direction: column; align-items: flex-start; }
}

/* ─── Reduce motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  body.anim-ready .lftd-anim { opacity: 1 !important; transform: none !important; }
  body.anim-ready .hero-line-inner { transform: none !important; }
  .about-img-reveal { transform: scaleY(0) !important; }
  .marquee-inner { animation: none; }
  .hero-bg img { animation: none; }
  .scroll-line { animation: none; }
}

/* ─── Elementor helpers ──────────────────────────────────── */
.lftd-section-dark  { background: var(--black) !important; }
.lftd-section-mid   { background: var(--dark)  !important; }
.lftd-section-green { background: var(--green) !important; }
.lftd-text-copper   { color: var(--copper-l) !important; }
.lftd-text-muted    { color: var(--fog-mute) !important; }
.lftd-text-mono     { font-family: var(--font-mono) !important; font-size: 11px !important; letter-spacing: .18em !important; text-transform: uppercase !important; }
.lftd-border-top    { border-top: 1px solid var(--rule) !important; }
.lftd-border-bottom { border-bottom: 1px solid var(--rule) !important; }

/* ═══════════════════════════════════════════════════════
   CLIENT PORTAL STYLES
   ═══════════════════════════════════════════════════════ */

/* ── Shared screens ──────────────────────────────────── */
.portal-screen { display: none; }
.portal-screen.active { display: block; }

#portalApp {
  min-height: 100vh;
  background: var(--black);
  padding-top: 68px; /* header height */
}

/* ── Login screen ────────────────────────────────────── */
.portal-login {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--gutter);
}

.login-card {
  width: 100%;
  max-width: 420px;
}

.login-card .big-title,
.login-card h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 88px);
  line-height: 0.9;
  color: var(--fog);
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

#loginError {
  background: rgba(226,75,74,0.1);
  border: 1px solid var(--red, #e24b4a);
  padding: 10px 14px;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #e24b4a;
  letter-spacing: 0.06em;
  display: none;
}

/* ── Portal fields ───────────────────────────────────── */
.portal-field {
  margin-bottom: 18px;
}
.portal-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog-mute);
  margin-bottom: 8px;
}
.portal-field input,
.portal-field textarea {
  width: 100%;
  background: var(--mid);
  border: 1px solid var(--rule-light);
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.portal-field input:focus,
.portal-field textarea:focus {
  border-color: var(--copper-l);
}
.portal-field input::placeholder,
.portal-field textarea::placeholder {
  color: #444;
}
.portal-field textarea {
  resize: vertical;
  min-height: 90px;
  font-family: var(--font-body);
}

.portal-field.full { grid-column: 1 / -1; }

.char-count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #444;
  text-align: right;
  margin-top: 4px;
  letter-spacing: 0.06em;
}

/* Login button */
#loginBtn {
  width: 100%;
  background: var(--fog);
  color: var(--black);
  border: none;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.06em;
  padding: 14px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
#loginBtn:hover { background: var(--copper-l); color: var(--fog); }
#loginBtn:disabled { background: var(--rule); color: #555; cursor: not-allowed; }

/* ── Dashboard ───────────────────────────────────────── */
.portal-dashboard {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 4rem;
}

.dashboard-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.92;
  color: var(--fog);
}

.progress-block { text-align: right; }

.prog-pct {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  color: var(--fog);
}

.prog-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.prog-track {
  height: 2px;
  background: var(--rule);
  margin-top: 8px;
  width: 140px;
  margin-left: auto;
}

.prog-fill {
  height: 2px;
  background: var(--fog);
  transition: width 0.4s ease;
}

/* Drive/storage banner */
.drive-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mid);
  border: 1px solid var(--rule-light);
  padding: 12px 18px;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog-mute);
  letter-spacing: 0.08em;
}
.drive-banner strong { color: var(--fog); }

/* ── Upload sections accordion ───────────────────────── */
.upload-section {
  border: 1px solid var(--rule);
  margin-bottom: 12px;
}

.section-toggle {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid var(--rule);
  transition: background 0.15s;
  user-select: none;
}
.section-toggle:hover { background: var(--mid); }

.sec-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sec-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  color: var(--rule-light);
  line-height: 1;
  min-width: 48px;
  transition: color 0.2s;
}
.section-toggle:hover .sec-num { color: var(--copper); }

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--fog);
}

.sec-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog-mute);
  margin-top: 3px;
  letter-spacing: 0.06em;
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid;
  white-space: nowrap;
}
.status-badge.pending { border-color: var(--rule-light); color: var(--fog-mute); }
.status-badge.done    { border-color: #97C459; color: #97C459; }

.section-body {
  padding: 24px;
  display: none;
}
.section-body.open { display: block; }

/* ── Drop zones ──────────────────────────────────────── */
.drop-zone {
  border: 1px dashed var(--rule-light);
  padding: clamp(1.5rem, 4vw, 2.5rem) 24px;
  text-align: center;
  cursor: pointer;
  background: var(--mid);
  transition: all 0.15s;
}
.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--copper-l);
  background: rgba(181,98,42,0.06);
}
.drop-zone input[type="file"] { display: none; }

.dz-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}
.drop-zone p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.drop-zone span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #444;
  display: block;
  margin-top: 6px;
  letter-spacing: 0.06em;
}

/* ── File previews ───────────────────────────────────── */
.file-preview-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--mid);
  padding: 12px 16px;
  margin-top: 12px;
  border: 1px solid var(--rule);
}
.file-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--rule);
  flex-shrink: 0;
}
.file-thumb-icon {
  width: 48px;
  height: 48px;
  background: var(--dark);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.file-meta { flex: 1; min-width: 0; }
.file-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog);
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-size {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog-mute);
  margin-top: 2px;
}
.btn-remove {
  background: none;
  border: 1px solid var(--rule);
  color: var(--fog-mute);
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.15s;
}
.btn-remove:hover { border-color: #e24b4a; color: #e24b4a; }

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.photo-chip { position: relative; }
.photo-chip img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--rule);
  display: block;
}
.rm-photo {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.8);
  border: none;
  cursor: pointer;
  color: var(--fog);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Contact / Copy form grid ────────────────────────── */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ── Upload log ──────────────────────────────────────── */
.upload-log {
  background: #060606;
  border: 1px solid var(--rule);
  padding: 14px 18px;
  margin-top: 1.5rem;
  max-height: 140px;
  overflow-y: auto;
  display: none;
}
.log-entry {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 0;
  display: flex;
  gap: 12px;
  letter-spacing: 0.04em;
}
.log-entry.ok   { color: #97C459; }
.log-entry.err  { color: #e24b4a; }
.log-entry.info { color: var(--fog-mute); }
.log-time       { color: #333; flex-shrink: 0; }

/* ── Action bar ──────────────────────────────────────── */
.action-bar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}

.btn-draft {
  background: none;
  border: 1px solid var(--rule);
  color: var(--fog-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 22px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-draft:hover { border-color: var(--copper); color: var(--fog); }

.btn-upload-drive {
  background: var(--fog);
  color: var(--black);
  border: none;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  padding: 11px 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}
.btn-upload-drive:hover { background: var(--copper-l); color: var(--fog); }
.btn-upload-drive:disabled { background: var(--rule); color: #555; cursor: not-allowed; }

/* ── Success screen ──────────────────────────────────── */
.portal-success {
  padding: 4rem var(--gutter);
  max-width: 600px;
  margin: 0 auto;
}
.success-check {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 120px);
  line-height: 1;
  color: var(--fog);
  margin-bottom: 0;
}
.success-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 80px);
  line-height: 0.92;
  margin-bottom: 1.25rem;
  color: var(--fog);
}
.success-body {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog-mute);
  letter-spacing: 0.08em;
  line-height: 2;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}
.summary-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid #97C459;
  color: #97C459;
}
.btn-drive-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--rule);
  color: var(--fog-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 22px;
  text-decoration: none;
  transition: all 0.15s;
  margin-bottom: 1rem;
  cursor: pointer;
}
.btn-drive-link:hover { border-color: var(--copper); color: var(--fog); }

.btn-restart {
  display: block;
  background: var(--fog);
  color: var(--black);
  border: none;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  padding: 13px 36px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.15s;
}
.btn-restart:hover { background: var(--copper-l); color: var(--fog); }

/* ── User bar (logged in indicator) ─────────────────── */
.user-bar {
  background: var(--dark);
  border-bottom: 1px solid var(--rule);
  padding: 8px var(--gutter);
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog-mute);
  letter-spacing: 0.08em;
}
.user-bar.visible { display: flex; }

/* ── Portal mobile fixes ─────────────────────────────── */
@media (max-width: 600px) {
  .dashboard-top { flex-direction: column; align-items: flex-start; }
  .progress-block { text-align: left; }
  .prog-track { margin-left: 0; }
  .action-bar { flex-direction: column; }
  .btn-upload-drive { width: 100%; justify-content: center; }
  .section-toggle { padding: 16px; }
  .section-body { padding: 16px; }
}
