/* ============================================================
   THE IT GUY PRO — Design System
   Dark Mode · Earth Tones · Mobile-First
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,900;1,6..96,400;1,6..96,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design Tokens ─────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:       #0c0b09;
  --bg-2:     #141210;
  --bg-3:     #1d1a17;
  --bg-4:     #252118;

  /* Earth Accent Palette */
  --clay:         #c4704f;
  --clay-light:   #d4896a;
  --clay-dim:     rgba(196, 112, 79, 0.12);
  --clay-glow:    rgba(196, 112, 79, 0.06);
  --ochre:        #c9993a;
  --ochre-dim:    rgba(201, 153, 58, 0.10);
  --sienna:       #9e6b45;

  /* Text */
  --text:     #ede8e2;
  --text-2:   #9a9189;
  --text-3:   #5c5650;
  --text-inv: #0c0b09;

  /* Borders */
  --border:       rgba(255, 255, 255, 0.07);
  --border-warm:  rgba(196, 112, 79, 0.18);

  /* Typography */
  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 999px;

  /* Motion */
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --dur:     0.45s;
  --dur-fast: 0.2s;

  /* Nav */
  --nav-h: 72px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--clay); color: var(--bg); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: var(--r-sm); }

/* ── Layout ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--sp-8); }
}

/* ── Typography ────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--sp-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ── Buttons ────────────────────────────────────── */
.btn-clay {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: var(--clay);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn-clay:hover { background: var(--clay-light); transform: translateY(-1px); }
.btn-clay:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid var(--border-warm);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--r-full);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); background: var(--clay-glow); }

.btn-full { width: 100%; justify-content: center; }

/* ── Scroll Reveal ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }


/* ══════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: var(--sp-6);
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition: opacity var(--dur-fast);
}
.logo:hover { opacity: 0.8; }
.logo-mark { color: var(--text); }
.logo-dot  { color: var(--clay); font-size: 1.2em; }
.logo-text { color: var(--text-2); font-size: 0.85em; }

/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-link:hover,
.nav-link.active { color: var(--text); background: var(--clay-glow); }

/* Nav controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav-controls { margin-left: 0; }
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-3);
  padding: 2px 4px;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast);
}
.lang-btn:hover { color: var(--text-2); }
.lang-btn.active { color: var(--clay); }
.lang-sep { color: var(--text-3); font-size: 0.7rem; }

/* Nav CTA */
.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 2px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-2);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast), width var(--dur) var(--ease);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 900px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--sp-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
  z-index: 99;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 400;
  color: var(--text-2);
  transition: color var(--dur-fast);
}
.mobile-link:hover { color: var(--clay); }
.mobile-lang {
  display: flex;
  gap: var(--sp-4);
}


/* ══════════════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-6);
  left: var(--sp-4);
  right: var(--sp-4);
  z-index: 200;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-6);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
@media (min-width: 520px) {
  .cookie-inner { flex-direction: row; align-items: center; }
}
.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  flex: 1;
}
.cookie-text p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
}
.cookie-text a { color: var(--clay); }
.cookie-text a:hover { text-decoration: underline; }
.cookie-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.cookie-actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.cookie-actions .btn-ghost,
.cookie-actions .btn-clay { padding: var(--sp-2) var(--sp-4); font-size: 0.8rem; }


/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-16);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(196, 112, 79, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}
@media (min-width: 860px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-8);
  }
}

/* Hero content */
.hero-content {
  flex: 1;
  max-width: 640px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--sp-6);
}
.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--clay);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-8);
}
.hero-line { display: block; }
.hero-accent {
  font-style: italic;
  color: var(--clay);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--sp-10);
}
@media (max-width: 859px) {
  .hero-sub { max-width: 100%; }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Hero decorative right */
.hero-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
@media (max-width: 859px) {
  .hero-deco { display: none; }
}
.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid var(--border-warm);
  background: var(--clay-dim);
  position: relative;
  z-index: 1;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--clay);
}
.badge-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: center;
}
.hero-geo {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin 30s linear infinite;
}
.hero-geo::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  transform: translateX(-50%);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0.4;
  animation: fadePulse 3s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--clay));
  animation: grow 1.8s ease-in-out infinite;
}
.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
@keyframes fadePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}
@keyframes grow {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ══════════════════════════════════════════════════
   EXPERTISE STRIP (MARQUEE)
══════════════════════════════════════════════════ */
.expertise-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: var(--sp-4) 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.strip-track {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.strip-track:hover { animation-play-state: paused; }
.strip-dot { color: var(--clay); opacity: 0.5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ══════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════ */
.about {
  padding: var(--sp-32) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
  }
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}
.about-bio p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
}
.about-bio p:first-child {
  font-size: 1.1rem;
  color: var(--text);
}

/* Expertise tags */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: var(--sp-6) 0;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--bg-2);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.tag:hover { border-color: var(--clay); color: var(--clay); background: var(--clay-dim); }

/* LinkedIn button */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--bg-2);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
  margin-top: var(--sp-2);
}
.linkedin-btn:hover { border-color: #0a66c2; color: #5599d4; background: rgba(10, 102, 194, 0.08); }

/* About visual */
.about-visual {
  position: relative;
}
.about-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.about-photo-placeholder {
  height: 280px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, var(--clay-dim), transparent 70%);
}
.photo-initials {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--text-3);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.about-stats {
  display: flex;
  align-items: center;
  padding: var(--sp-6) var(--sp-6);
  gap: 0;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clay);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.about-product-badge {
  position: absolute;
  bottom: -var(--sp-4);
  right: var(--sp-4);
  background: var(--bg-3);
  border: 1px solid var(--border-warm);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-top: var(--sp-4);
}
.badge-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.badge-product {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clay);
  transition: color var(--dur-fast);
}
.badge-product:hover { color: var(--clay-light); }


/* ══════════════════════════════════════════════════
   SERVICES PREVIEW
══════════════════════════════════════════════════ */
.services-preview {
  padding: var(--sp-24) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.services-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}
@media (min-width: 640px) {
  .services-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover {
  border-color: var(--border-warm);
  background: var(--bg-4);
  transform: translateY(-4px);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--clay);
  margin-bottom: var(--sp-6);
  display: block;
}
.service-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}


/* ══════════════════════════════════════════════════
   INSTAGRAM / SOCIAL
══════════════════════════════════════════════════ */
.social-section {
  padding: var(--sp-24) 0;
}
.social-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}
@media (min-width: 900px) {
  .social-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--sp-16);
  }
}
.social-text { display: flex; flex-direction: column; gap: var(--sp-4); }
.social-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.social-sub { color: var(--text-2); font-size: 1rem; line-height: 1.7; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.ig-post {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.ig-post:hover { border-color: var(--border-warm); transform: scale(1.02); }
.ig-post-bg {
  position: absolute; inset: 0;
  background: var(--bg-3);
}
.ig-post:nth-child(1) .ig-post-bg { background: linear-gradient(135deg, #1a1510 0%, #2a1f12 100%); }
.ig-post:nth-child(2) .ig-post-bg { background: linear-gradient(135deg, #0f1520 0%, #1a2535 100%); }
.ig-post:nth-child(3) .ig-post-bg { background: linear-gradient(135deg, #1a1015 0%, #2a1520 100%); }
.ig-post:nth-child(4) .ig-post-bg { background: linear-gradient(135deg, #101a10 0%, #152515 100%); }
.ig-post-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4);
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
}
.ig-post-cat {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .25rem;
}
.ig-post-title {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.ig-post-icon {
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.ig-post-icon svg { display: block; }


/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
.contact {
  padding: var(--sp-32) 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(196, 112, 79, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: start; }
}
.contact-sub {
  font-size: 1rem;
  color: var(--text-2);
  margin-top: var(--sp-4);
  line-height: 1.7;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color var(--dur-fast);
}
.contact-item:hover { color: var(--clay); }
.contact-icon {
  font-size: 0.9rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}
.contact-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px var(--clay-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

/* Privacy checkbox — custom via label::before */
.form-privacy {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  padding: var(--sp-3) var(--sp-4);
}
/* Hide native checkbox completely */
.form-privacy input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}
/* Custom checkbox box rendered via label::before */
.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
  cursor: pointer;
}
.privacy-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  box-sizing: border-box;
  margin-top: 2px;
  flex-shrink: 0;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.form-privacy input[type="checkbox"]:checked + .privacy-label::before {
  background: var(--clay);
  border-color: var(--clay);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%230c0b09' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.privacy-label a { color: var(--clay); }
.privacy-label a:hover { text-decoration: underline; }

/* Form status */
.form-status {
  font-size: 0.85rem;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  text-align: center;
  display: none;
}
.form-status.success { background: rgba(74, 162, 100, 0.1); color: #6fcf97; border: 1px solid rgba(74, 162, 100, 0.2); display: block; }
.form-status.error   { background: rgba(196, 112, 79, 0.1); color: var(--clay); border: 1px solid var(--border-warm); display: block; }

/* Submit loading state */
button[type="submit"].loading {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}


/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: var(--sp-12) 0 var(--sp-8);
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color var(--dur-fast);
}
.footer-nav a:hover { color: var(--clay); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-copy, .footer-location {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}


/* ══════════════════════════════════════════════════
   ACCESSIBILITY & UTILITIES
══════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── No emojis system ── */
.cookie-icon { display: none; }
.article-letter {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════
   CONNETTITI SECTION (index.html)
══════════════════════════════════════════════════ */
/*.connect-section {
	padding: 80px 0;
	border-top: 1px solid rgba(255, 255, 255, .06);
}

.connect-inner {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 60px;
	align-items: center;
}

.connect-sub {
	font-size: .88rem;
	color: var(--muted, #888);
	line-height: 1.7;
	margin-top: 12px;
}

.connect-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.connect-item {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 20px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 12px;
	text-decoration: none;
	transition: all .2s;
	cursor: pointer;
}

.connect-item:hover {
	border-color: rgba(255, 255, 255, .2);
	background: rgba(255, 255, 255, .03);
}

.connect-item--featured {
	border-color: rgba(201, 122, 58, .4);
	background: rgba(201, 122, 58, .05);
}

.connect-item--featured:hover {
	border-color: rgba(201, 122, 58, .7);
	background: rgba(201, 122, 58, .08);
}

.connect-code {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .06);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .75rem;
	font-weight: 700;
	color: #fff;
	flex-shrink: 0;
	font-family: monospace;
}

.connect-name {
	display: block;
	font-size: .88rem;
	font-weight: 500;
	color: #f0ebe4;
	margin-bottom: 2px;
}

.connect-desc {
	display: block;
	font-size: .72rem;
	color: #888;
	line-height: 1.4;
}

.connect-arrow {
	margin-left: auto;
	color: #888;
	font-size: .9rem;
}
 @media(max-width:768px) {
    .connect-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
} */
/* ══════════════════════════════════════════════════
   LINKS HUB SECTION (index.html)
══════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   LINKS HUB — editorial list
══════════════════════════════════════════════════ */
.links-hub {
  padding: var(--sp-24) 0;
  border-top: 1px solid var(--border);
}
.links-hub-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}
@media (min-width: 860px) {
  .links-hub-inner {
    grid-template-columns: 260px 1fr;
    gap: var(--sp-16);
    align-items: start;
  }
}
.links-hub-intro {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.links-hub-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--text);
  margin: var(--sp-3) 0 var(--sp-4);
}
.links-hub-title em {
  font-style: italic;
  color: var(--clay);
}
.links-hub-sub {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* Hub list */
.hub-list { width: 100%; }

.hub-entry {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-2);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: padding-left var(--dur-fast) var(--ease), background var(--dur-fast);
  border-radius: var(--r-md);
}
.hub-entry:first-child { border-top: 1px solid var(--border); }
.hub-entry:hover {
  padding-left: var(--sp-4);
  background: var(--clay-glow);
}
.hub-entry-code {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--text-3);
  width: 24px;
  flex-shrink: 0;
  transition: color var(--dur-fast);
}
.hub-entry:hover .hub-entry-code,
.hub-entry--featured .hub-entry-code { color: var(--clay); }

.hub-entry-body { flex: 1; }
.hub-entry-name {
  display: block;
  font-weight: 500;
  font-size: .95rem;
  color: var(--text);
  transition: color var(--dur-fast);
}
.hub-entry:hover .hub-entry-name,
.hub-entry--featured .hub-entry-name { color: var(--clay); }

.hub-entry-arrow {
  font-size: .85rem;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast);
}
.hub-entry:hover .hub-entry-arrow {
  transform: translateX(6px);
  color: var(--clay);
}
.hub-entry--featured .hub-entry-arrow { color: var(--clay); }

/* Social row */
.hub-entry--social {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  padding: 0;
  border-radius: 0;
  background: none !important;
}
.hub-entry--social:hover { padding-left: 0; }
.hub-social-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-2);
  text-decoration: none;
  transition: padding-left var(--dur-fast) var(--ease), background var(--dur-fast);
  border-radius: var(--r-md);
}
.hub-social-item:hover {
  padding-left: var(--sp-4);
  background: var(--clay-glow);
}
.hub-social-item:hover .hub-entry-code { color: var(--clay); }
.hub-social-item:hover .hub-entry-name { color: var(--clay); }
.hub-social-item:hover .hub-entry-arrow { transform: translateX(6px); color: var(--clay); }
.hub-social-divider { background: var(--border); }



/* ── Logo image ── */
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity var(--dur-fast);
}
.logo:hover .logo-img { opacity: 0.8; }
.logo-text-fallback {
  align-items: baseline;
  gap: 0;
}
