/* =========================================================
   Jakob Wulf – Base
   Shared across all pages: tokens, reset, nav, contact, footer
   ========================================================= */

:root {
  --bg: #080808;
  --text: #efefef;
  --accent: #00c96a;
  --line: #161616;
  --font: 'Figtree', system-ui, sans-serif;
  --max: 1400px;
  --gutter: 2.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

/* NAV */
.nav-wrap { position: sticky; top: 0; z-index: 100; background: rgba(8,8,8,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2.5rem; max-width: var(--max); margin: 0 auto; }
.nav-logo { font-size: 14px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-size: 12px; color: #666; letter-spacing: 0.04em; text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-avail { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--accent); }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.3;transform:scale(0.7)} }

/* CONTACT */
.contact-section { max-width: var(--max); margin: 0 auto; padding: 4rem 2.5rem 6.5rem; }
.contact-divider-wrap { max-width: var(--max); margin: 0 auto; padding: 0 2.5rem; }
.contact-divider { height: 1px; background: #1e1e1e; margin-bottom: 0; }
.contact-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; }
.contact-title { font-size: clamp(36px, 5vw, 72px); font-weight: 500; letter-spacing: -0.03em; line-height: 0.95; color: var(--text); position: relative; z-index: 1; }
.contact-right { text-align: right; flex-shrink: 0; position: relative; z-index: 1; }
.contact-sub { font-size: 14px; color: #444; line-height: 1.75; max-width: 260px; margin-bottom: 1.5rem; }
.contact-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: var(--bg); font-size: 13px; padding: 13px 30px; border-radius: 4px; font-weight: 500; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.contact-btn:hover { transform: scale(1.04); box-shadow: 0 0 24px rgba(255,255,255,0.12); }
.contact-btn .arrow { display: inline-block; transition: transform 0.25s ease; }
.contact-btn:hover .arrow { transform: translateX(5px); }

/* FOOTER */
.footer { max-width: var(--max); margin: 0 auto; padding: 5rem 2.5rem 4rem; display: flex; justify-content: space-between; align-items: center; }
.footer-right { display: flex; gap: 2rem; align-items: center; }
.footer-credit { font-size: 10px; letter-spacing: 0.1em; color: #3a3a3a; text-transform: uppercase; }
.footer-link { font-size: 10px; letter-spacing: 0.1em; color: #3a3a3a; text-transform: uppercase; text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: #666; }

@media (max-width: 768px) {
  :root { --gutter: 1rem; }
  .nav { padding: 1.25rem 1rem; }
  .nav-links a { display: none; }
  .contact-section { padding: 3rem 1rem 3rem; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .contact-right { text-align: left; }
  .footer { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 3rem 1rem; }
  .footer-right { flex-wrap: wrap; gap: 0.75rem 1.5rem; }
}

/* CONTACT XL – big typographic call to action (alternative to .contact-section) */
.contact-xl { max-width: var(--max); margin: 0 auto; padding: 6rem var(--gutter) 5rem; }
.contact-xl-title { position: relative; display: inline-flex; align-items: baseline; gap: 0.25em; font-size: clamp(72px, min(14vw, 22vh), 240px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.9; color: var(--text); text-decoration: none; padding-bottom: 0.12em; margin-left: -0.06em; /* optical alignment: compensate the L side bearing */ }
.contact-xl-accent { font-family: 'Doto', ui-monospace, monospace; font-weight: 800; letter-spacing: -0.02em; word-spacing: -0.34em; color: #8a8a8a; transition: color 0.4s ease; }
.contact-xl-title::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.contact-xl-title:hover::after { transform: scaleX(1); }
.contact-xl-title:hover .contact-xl-accent { color: var(--text); }
.contact-xl-meta { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-xl-meta a { color: #777; text-decoration: none; transition: color 0.15s; }
.contact-xl-meta a:hover { color: var(--text); }
.contact-xl-meta a[href^="mailto"] { text-transform: none; }
.contact-xl-status { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--accent); }
.contact-xl-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.5s ease-in-out infinite; }

@media (max-width: 768px) {
  .contact-xl { padding: 4rem 1rem 3rem; }
  .contact-xl-title { font-size: 15vw; }
  .contact-xl-meta { flex-direction: column; gap: 0.75rem; }
  .contact-xl-status { margin-left: 0; }
}

/* "copied" note for the email – clicking "Let's talk." / the address copies it (js/copy-mail.js), on every page */
.copy-note { position: fixed; left: 50%; bottom: 2rem; z-index: 200; translate: -50% 0.5rem; opacity: 0; pointer-events: none;
  padding: 0.7rem 1.1rem; border: 1px solid #2a2a2a; background: rgba(8,8,8,0.9); backdrop-filter: blur(8px);
  font: 400 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); transition: opacity 0.3s ease, translate 0.3s ease; }
.copy-note.is-on { opacity: 1; translate: -50% 0; }
