/* ============================================
   STUDIO AURUM — Dark mode, gold accents
   ============================================ */

:root {
  --bg: #0A0A0A;
  --bg-elev: #111111;
  --bg-card: #0E0E0E;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --fg: #F5F2EC;
  --fg-muted: #9A958C;
  --fg-dim: #6B6862;
  --gold: #957B5F;
  --gold-soft: #C6A47E;
  --gold-deep: #6B5840;

  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --pad: clamp(24px, 5vw, 96px);
  --pad-xl: clamp(80px, 14vw, 220px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  cursor: url('y-cursor.svg') 20 6, auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

a:hover {
  color: var(--gold);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--fg);
}

/* ---------- Layout ---------- */

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.hairline {
  height: 1px;
  background: var(--hairline);
  width: 100%;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.nav-inner > nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.nav-inner > nav * {
  pointer-events: auto;
}

.logo {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark,
.logo-y {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  color: var(--gold-soft);
  letter-spacing: 0;
  line-height: 1;
  flex-shrink: 0;
}

.logo-mark::after {
  content: "Y";
  display: block;
}

.logo em {
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--hairline-strong);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-cta .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.nav-cta:hover .arrow {
  transform: translateX(3px);
}

.menu-toggle {
  display: none;
}

/* Blur backdrop behind open mobile menu */
.nav-backdrop {
  position: fixed;
  inset: 0;
  top: 80px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

body.menu-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}


.nav-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  padding: 24px var(--pad) 32px;
  flex-direction: column;
  gap: 28px;
  z-index: 51;
}

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.nav-drawer-links li a {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  transition: color 0.3s var(--ease);
}

.nav-drawer-links li a:hover,
.nav-drawer-links li a.active {
  color: var(--gold);
}

.nav-drawer-links li a.active::before {
  display: none;
}

.nav-drawer .nav-cta {
  display: inline-flex !important;
  align-self: flex-start;
}

.nav-drawer-lang {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 860px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .nav-inner > nav {
    position: static;
    transform: none;
    pointer-events: auto;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 22px;
    height: 1px;
    background: var(--fg);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
    display: block;
  }
  .nav.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .nav.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  .nav.nav-open .nav-drawer {
    display: flex;
  }
}

/* ---------- Language switcher ---------- */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 16px;
}

.lang-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.25s;
  line-height: 1;
}

.lang-btn:hover { color: var(--fg-muted); }
.lang-btn.active { color: var(--gold-soft); }

.lang-sep {
  color: var(--hairline-strong);
  font-size: 11px;
  font-family: var(--mono);
  pointer-events: none;
  user-select: none;
}

/* ---------- Bilingual content ---------- */

html[data-lang="en"] .de { display: none !important; }
html[data-lang="de"] .en { display: none !important; }

@media (max-width: 860px) {
  .lang-switcher { margin-right: 8px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 999px;
  transition: all 0.4s var(--ease);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -12px rgba(149, 123, 95, 0.55);
}

.btn-ghost {
  border-color: var(--hairline-strong);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.display {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(54px, 9vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.display em {
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 300;
}

.h1 {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.h1 em {
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 300;
}

.h2 {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h2 em {
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 300;
}

.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 56ch;
  font-weight: 300;
}

p {
  text-wrap: pretty;
}

/* ---------- Sections ---------- */

section {
  padding-top: var(--pad-xl);
  padding-bottom: var(--pad-xl);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}

@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }
}

.section-head .meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-head .lede {
  color: var(--fg-muted);
  max-width: 48ch;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 80px 0 40px;
  margin-top: 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 580px) {
  footer {
    padding: 52px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  /* Tagline full width */
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--hairline);
  }

  /* Contact full width at bottom */
  .footer-grid > div:nth-child(3) {
    grid-column: 1 / -1;
    order: 4;
    padding-top: 28px;
    border-top: 1px solid var(--hairline);
  }

  /* Studio and Social stay side by side */
  .footer-grid > div:nth-child(2) { order: 2; }
  .footer-grid > div:nth-child(4) { order: 3; }

  .footer-tagline {
    font-size: 22px;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bottom .right {
    gap: 20px;
    flex-wrap: wrap;
  }
}

.footer-grid h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid li {
  color: var(--fg-muted);
}

.footer-grid a {
  color: var(--fg-muted);
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-tagline {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 200;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.footer-tagline em {
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 300;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  color: var(--fg-dim);
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

.footer-bottom .right {
  display: flex;
  gap: 24px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* ---------- Placeholder image (subtle striped) ---------- */

.placeholder {
  position: relative;
  background-color: #141210;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(198, 164, 126, 0.05) 0px,
      rgba(198, 164, 126, 0.05) 1px,
      transparent 1px,
      transparent 14px
    );
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

.placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(198, 164, 126, 0.10), transparent 70%);
  pointer-events: none;
}

.placeholder span {
  position: relative;
  z-index: 1;
  opacity: 0.7;
}

.placeholder.tone-1 {
  background-color: #1a1612;
  background-image:
    radial-gradient(ellipse at 30% 30%, rgba(198, 164, 126, 0.13), transparent 75%),
    radial-gradient(ellipse at 80% 80%, rgba(149, 123, 95, 0.10), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 14px);
}
.placeholder.tone-2 {
  background-color: #11100e;
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(198, 164, 126, 0.10), transparent 72%),
    radial-gradient(ellipse at 20% 90%, rgba(149, 123, 95, 0.08), transparent 68%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 14px);
}
.placeholder.tone-3 {
  background-color: #15130f;
  background-image:
    linear-gradient(160deg, rgba(198, 164, 126, 0.12) 0%, rgba(20,18,16,0.0) 55%, rgba(149, 123, 95, 0.09) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 14px);
}
.placeholder.tone-4 {
  background-color: #0f0e0c;
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(198, 164, 126, 0.13), transparent 68%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 14px);
}
.placeholder.tone-5 {
  background-color: #181410;
  background-image:
    linear-gradient(180deg, rgba(198, 164, 126, 0.08) 0%, rgba(0,0,0,0.4) 100%),
    radial-gradient(ellipse at 40% 60%, rgba(149, 123, 95, 0.09), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 14px);
}

/* Y mark logo */
.y-mark {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 200;
  line-height: 0.85;
  color: var(--gold-soft);
  letter-spacing: -0.04em;
}

.y-hero {
  position: relative;
  font-family: var(--serif);
  font-weight: 200;
  line-height: 0.85;
  font-size: clamp(280px, 42vw, 720px);
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  text-stroke: 1px var(--gold);
  user-select: none;
  letter-spacing: -0.06em;
}

.y-hero.filled {
  -webkit-text-stroke: 0;
  color: var(--gold-soft);
}

/* ---- Universal Y cursor — no arrow, no hand ---- */
*, *::before, *::after {
  cursor: url('y-cursor.svg') 20 6, auto !important;
}

a:hover, button:hover, [role="button"]:hover,
input[type="submit"]:hover, input[type="button"]:hover,
input[type="checkbox"]:hover, input[type="radio"]:hover,
label:hover, select:hover,
.logo:hover, .nav-links a:hover, .nav-cta:hover,
.btn:hover, .menu-toggle:hover, .filter:hover,
.chip:hover, .service-more:hover, .project:hover,
.member-social a:hover, .footer-grid a:hover,
.info-social a:hover, .skills-list li:hover {
  cursor: url('y-cursor-hover.svg') 20 6, auto !important;
}

/* ---------- Back Button ---------- */

.page-back {
  padding: clamp(24px, 4vw, 48px) 0 0;
}

.page-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.3s var(--ease);
}

.page-back a:hover { color: var(--gold); }
