/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
  --ivory:        #F7F3EC;
  --ivory-2:      #EFE8DA;
  --ivory-3:      #FBF8F3;
  --charcoal:     #1C1A17;
  --charcoal-2:   #2A2620;
  --charcoal-3:   #353028;
  --bronze:       #9A7235;
  --bronze-mid:   #B8924A;
  --bronze-light: #D5B06B;
  --bronze-pale:  #EAD7AF;
  --muted:        #7A6040;
  --soft:         #A08050;
  --line:         rgba(154,114,53,0.16);
  --line-mid:     rgba(154,114,53,0.28);
  --line-strong:  rgba(154,114,53,0.42);
  --shadow-sm:    0 4px 20px rgba(28,26,23,0.07);
  --shadow-md:    0 14px 55px rgba(28,26,23,0.11);
  --shadow-lg:    0 30px 100px rgba(28,26,23,0.15);
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Jost', system-ui, sans-serif;
  --ease:         cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--serif);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--bronze-pale); color: var(--charcoal); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.rv.vis { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ═══════════════════════════════════════════
   PROGRESS BAR
═══════════════════════════════════════════ */
.progress-bar {
  position: fixed;
  top: 68px; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-light));
  z-index: 998;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247,243,236,0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  z-index: 999;
  transition: box-shadow 0.3s, background 0.3s;
}
.nav.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(247,243,236,0.97);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  line-height: 1.15;
}
.nav-logo-sub {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--bronze); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-btns {
  display: flex;
  border: 1px solid var(--line-mid);
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 6px 9px;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--bronze); }
.lang-btn.active { background: var(--charcoal); color: var(--bronze-pale); }
.nav-cta {
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 8px 18px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--charcoal);
  transition: all 0.25s;
}

/* ═══════════════════════════════════════════
   MOBILE NAV OVERLAY
═══════════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--bronze-light); }
.mobile-nav-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 22px;
  cursor: pointer;
  font-family: var(--sans);
}

/* ═══════════════════════════════════════════
   COVER — CULTURAL BROWSER FRAME
═══════════════════════════════════════════ */
.cover {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 28px 56px;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cover::before {
  content: '';
  position: absolute;
  top: 15%; left: 50%;
  transform: translateX(-50%);
  width: 75%; height: 65%;
  background: radial-gradient(ellipse at center, rgba(184,146,74,0.09) 0%, transparent 68%);
  pointer-events: none;
}
.browser-wrap {
  width: 100%;
  max-width: 1080px;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fade-up 1.0s var(--ease) 0.1s forwards;
}

/* The cultural browser frame */
.browser {
  background: var(--ivory-3);
  border: 1px solid var(--line-mid);
  border-radius: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(154,114,53,0.06);
  overflow: hidden;
}

/* Chrome bar */
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: var(--ivory-2);
  border-bottom: 1px solid var(--line);
}
.chrome-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.chrome-dot-1 { background: rgba(154,114,53,0.50); }
.chrome-dot-2 { background: rgba(184,146,74,0.45); }
.chrome-dot-3 { background: rgba(213,176,107,0.55); }

.chrome-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 14px;
}
.chrome-icon {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--soft);
  flex-shrink: 0;
  user-select: none;
}
.chrome-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  outline: none;
  cursor: default;
  min-width: 0;
}
.chrome-input::placeholder { color: var(--muted); }
.chrome-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-mid);
  background: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bronze);
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.2s;
  font-family: var(--sans);
}
.chrome-btn:hover { background: var(--bronze); color: #fff; border-color: var(--bronze); }

/* Scene canvas */
.browser-scene {
  position: relative;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 56px 44px 44px;
}

/* Music staff notation lines — very subtle */
.scene-notation {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 22px,
    rgba(154,114,53,0.046) 22px,
    rgba(154,114,53,0.046) 23px
  );
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 15%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 15%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Gallery light shapes */
.scene-lights {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 35% 70% at 18% 25%, rgba(213,176,107,0.065), transparent),
    radial-gradient(ellipse 35% 70% at 82% 25%, rgba(213,176,107,0.065), transparent);
  pointer-events: none;
  z-index: 0;
}

/* HK skyline — bottom left */
.scene-hk {
  position: absolute;
  left: -1%; bottom: 0;
  width: 42%; height: auto;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
  animation: pan-l 40s ease-in-out infinite alternate;
}

/* Vienna architecture — bottom right */
.scene-vienna {
  position: absolute;
  right: -1%; bottom: 0;
  width: 42%; height: auto;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
  animation: pan-r 40s ease-in-out infinite alternate;
}

/* Route SVG overlay */
.scene-route {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Brand text — sits above all scene layers including the route zone */
.scene-text {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 640px;
  isolation: isolate;
}
/* Ivory halo — stronger against the illustration to keep title crisp */
.scene-text::before {
  content: '';
  position: absolute;
  inset: -36px -56px;
  background: radial-gradient(
    ellipse 88% 94% at 50% 44%,
    rgba(251,248,243,0.92) 22%,
    rgba(251,248,243,0.70) 52%,
    transparent 80%
  );
  z-index: -1;
  pointer-events: none;
}
.scene-eyebrow {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--bronze);
  opacity: 0;
  animation: fade-up 0.85s var(--ease) 0.4s forwards;
}
.scene-title {
  font-family: var(--serif);
  font-size: clamp(58px, 8.5vw, 100px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  margin-top: 14px;
  opacity: 0;
  animation: fade-up 0.85s var(--ease) 0.55s forwards;
}
.scene-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.9vw, 21px);
  line-height: 1.58;
  color: var(--muted);
  margin-top: 22px;
  opacity: 0;
  animation: fade-up 0.85s var(--ease) 0.72s forwards;
}
.scene-cities {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--soft);
  margin-top: 16px;
  opacity: 0;
  animation: fade-up 0.85s var(--ease) 0.88s forwards;
}

/* Exploration prompts */
.scene-prompts {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
  opacity: 0;
  animation: fade-up 0.85s var(--ease) 1.05s forwards;
}
.prompt-tag {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid rgba(154,114,53,0.36);
  border-radius: 20px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  background: rgba(247,243,236,0.92);
  box-shadow: 0 4px 18px rgba(28,26,23,0.08);
  transition: background 0.22s, color 0.22s, border-color 0.22s,
              transform 0.22s, box-shadow 0.22s;
  cursor: pointer;
}
.prompt-tag:hover {
  background: var(--charcoal);
  color: var(--bronze-pale);
  border-color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28,26,23,0.14);
}

/* Scroll hint */
.scroll-hint {
  margin-top: 22px;
  text-align: center;
  opacity: 0;
  animation: fade-up 0.85s var(--ease) 1.3s forwards;
}
.scroll-hint-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--bronze-light), transparent);
  margin: 0 auto 7px;
}
.scroll-hint-label {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ═══════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pan-l {
  from { transform: translateX(-8px) scale(1.015); }
  to   { transform: translateX(8px) scale(1.0); }
}
@keyframes pan-r {
  from { transform: translateX(8px) scale(1.0); }
  to   { transform: translateX(-8px) scale(1.015); }
}
@keyframes draw-route {
  to { stroke-dashoffset: 0; }
}

/* ═══════════════════════════════════════════
   SHARED SECTION
═══════════════════════════════════════════ */
.section { position: relative; padding: 100px 10%; overflow: hidden; }
.inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.section-sub {
  font-size: clamp(15px, 1.75vw, 19px);
  line-height: 1.78;
  color: var(--muted);
  margin-top: 16px;
  max-width: 660px;
}

/* ═══════════════════════════════════════════
   BRIDGE (dark)
═══════════════════════════════════════════ */
.bridge {
  background: var(--charcoal);
  color: #fff;
  padding: 110px 10%;
  position: relative;
  overflow: hidden;
}
/* Europe–Asia route image — very low opacity so text stays primary */
.bridge::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/image_Europe%E2%80%93Asia%20cultural%20route%20background.png');
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}
/* Dark charcoal veil — preserves text contrast over the image */
.bridge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28,26,23,0.55);
  pointer-events: none;
  z-index: 1;
}
.bridge .inner { max-width: 820px; text-align: center; position: relative; z-index: 2; }
.bridge .eyebrow { color: var(--bronze-pale); }
.bridge-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.44;
  color: #fff;
}
.bridge-rule {
  width: 40px; height: 1px;
  background: var(--bronze-mid);
  margin: 28px auto;
}
.bridge-body {
  font-size: clamp(15px, 1.65vw, 18px);
  line-height: 1.9;
  color: rgba(255,255,255,0.58);
}
.bridge-body + .bridge-body { margin-top: 14px; }
.bridge-cities {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-top: 28px;
}

/* ═══════════════════════════════════════════
   WHAT WE CURATE
═══════════════════════════════════════════ */
.curate {
  background: var(--ivory-3);
  position: relative;
  overflow: hidden;
}
/* "What We Do" image — very low opacity, purely textural */
.curate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/image_what%20we%20do.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
/* Warm ivory veil — keeps service-card text crisp against the pattern */
.curate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(251,248,243,0.58);
  pointer-events: none;
  z-index: 1;
}
.curate .inner { position: relative; z-index: 2; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.service-card {
  background: rgba(255,255,255,0.70);
  border: 1px solid var(--line);
  padding: 32px 26px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-mid); }
.service-card:hover::after { transform: scaleX(1); }
.service-no {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--bronze);
  margin-bottom: 16px;
}
.service-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--charcoal);
}
.service-text {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
  margin-top: 12px;
}

/* ═══════════════════════════════════════════
   COLLABORATION CONTEXTS
═══════════════════════════════════════════ */
.contexts { background: var(--ivory-2); }
.context-panel {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  margin-top: 52px;
  border: 1px solid var(--line-mid);
  box-shadow: var(--shadow-md);
  min-height: 370px;
}
.context-tabs {
  border-right: 1px solid var(--line);
  background: var(--ivory);
}
.context-tab {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s;
}
.context-tab:hover { background: rgba(154,114,53,0.05); color: var(--charcoal); }
.context-tab.active { background: var(--charcoal); color: var(--bronze-pale); }
.ct-small {
  display: block;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 5px;
  opacity: 0.72;
}
.ct-title {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}
.context-content { padding: 40px; background: #fff; }
.cc-kicker {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}
.cc-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.18;
}
.cc-body {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--muted);
  margin-top: 16px;
}
.cc-list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.cc-list li {
  font-size: 14.5px;
  color: var(--charcoal-2);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cc-list li::before {
  content: '◆';
  font-size: 7px;
  color: var(--bronze);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   STUDIO (dark)
═══════════════════════════════════════════ */
/* UPDATE: place assets/bg-studio-editorial.png to activate the background */
.studio {
  background: var(--charcoal-2);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Studio editorial image — sits behind the charcoal at moderate opacity */
.studio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/image_Eura%20Projects%20Studio.png');
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}
/* Dark charcoal veil — preserves white text contrast over the image */
.studio::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28,26,23,0.62);
  pointer-events: none;
  z-index: 1;
}
.studio .inner { position: relative; z-index: 2; }
.studio .eyebrow { color: var(--bronze-pale); }
.studio .section-title { color: #fff; }
.studio .section-sub { color: rgba(255,255,255,0.52); }
.studio-grid {
  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  gap: 68px;
  margin-top: 54px;
  align-items: start;
}
.studio-poster {
  background: var(--charcoal);
  border: 1px solid rgba(154,114,53,0.20);
  padding: 38px 34px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.studio-poster-label {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--bronze);
}
.studio-poster-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2.3vw, 24px);
  line-height: 1.46;
  color: #fff;
  margin: 26px 0;
}
.studio-poster-foot {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.26);
}
.studio-items { display: grid; gap: 28px; }
.studio-item { border-top: 1px solid rgba(154,114,53,0.16); padding-top: 24px; }
.studio-num { font-family: var(--serif); font-size: 16px; color: var(--bronze); margin-bottom: 8px; }
.studio-item h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: #fff; }
.studio-item p { font-size: 14.5px; line-height: 1.72; color: rgba(255,255,255,0.48); margin-top: 8px; }
.studio-project-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-light);
  transition: color 0.2s, gap 0.2s;
}
.studio-project-link:hover { color: #fff; gap: 16px; }

/* ═══════════════════════════════════════════
   HOW WE WORK
═══════════════════════════════════════════ */
.process {
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
/* "How We Work" illustration — low opacity, purely structural texture */
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/image_how%20we%20work.png');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
/* Warm ivory veil — keeps charcoal process-card text fully readable */
.process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(247,243,236,0.56);
  pointer-events: none;
  z-index: 1;
}
.process .inner { position: relative; z-index: 2; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border: 1px solid var(--line-mid);
}
.process-step {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  min-height: 210px;
  transition: background 0.22s;
}
.process-step:last-child { border-right: 0; }
.process-step:hover { background: rgba(154,114,53,0.04); }
.ps-num { font-family: var(--serif); font-size: 24px; color: var(--bronze); margin-bottom: 16px; }
.ps-title { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--charcoal); }
.ps-text { font-size: 14px; line-height: 1.72; color: var(--muted); margin-top: 12px; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact {
  background: linear-gradient(148deg, #f5e8cf 0%, #ede0c4 55%, #e3cc9e 100%);
  position: relative;
  overflow: hidden;
}
/* Contact image — very low opacity over the warm gradient */
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/image_Contact.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
/* Warm veil — keeps contact info and form fully readable */
.contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245,232,207,0.52);
  pointer-events: none;
  z-index: 1;
}
.contact .inner { position: relative; z-index: 2; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}
.contact-card {
  background: rgba(255,255,255,0.52);
  border: 1px solid var(--line-strong);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.contact-row { border-top: 1px solid var(--line); padding: 17px 0; }
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-label {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 6px;
}
.contact-value {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--charcoal-2);
  line-height: 1.35;
}
.contact-value a:hover { color: var(--bronze); }
.contact-value-sm { font-size: 15px; line-height: 1.65; }

.form-grid { display: grid; gap: 13px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.80);
  padding: 11px 13px;
  color: var(--charcoal);
  outline: none;
  font-size: 15.5px;
  font-family: var(--serif);
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--bronze); }
.field textarea { min-height: 100px; resize: vertical; }
.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--charcoal);
  color: var(--bronze-pale);
  border: 1px solid var(--charcoal);
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.form-note {
  font-family: var(--sans);
  font-size: 9.5px;
  color: var(--soft);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.36);
  padding: 34px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(154,114,53,0.10);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { font-family: var(--serif); font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.55); line-height: 1.2; }
.footer-brand span { display: block; font-family: var(--sans); font-size: 7.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--bronze); margin-top: 2px; }
.footer-links { display: flex; gap: 18px; list-style: none; }
.footer-links a { font-family: var(--sans); font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.32); transition: color 0.2s; }
.footer-links a:hover { color: var(--bronze-light); }
.footer-copy { font-family: var(--sans); font-size: 8.5px; letter-spacing: 0.08em; text-align: right; line-height: 1.6; }

/* ═══════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .browser-wrap, .scene-eyebrow, .scene-title,
  .scene-tagline, .scene-cities, .scene-prompts, .scroll-hint { opacity: 1; transform: none; }
  .rv { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .service-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-grid   { grid-template-columns: 1fr; }
  .studio-grid    { grid-template-columns: 1fr; gap: 38px; }
  .context-panel  { grid-template-columns: 1fr; }
  .context-tabs   { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }

  .cover { padding: 88px 14px 44px; }
  .browser-chrome { padding: 10px 12px; gap: 9px; }
  .chrome-input { font-size: 9.5px; }
  .chrome-input::placeholder { font-size: 9px; }
  .browser-scene { min-height: 400px; padding: 36px 18px 32px; }

  .section { padding: 68px 6%; }
  .bridge  { padding: 80px 6%; }
  /* Reduce image presence on mobile so the quote remains primary */
  .bridge::before  { opacity: 0.18; }
  /* Pattern is denser on small screens — pull back opacity */
  .curate::before  { opacity: 0.09; }
  /* Studio editorial image — tone down on mobile */
  .studio::before  { opacity: 0.22; }
  /* Process planning map — reduce on mobile so cards stay primary */
  .process::before  { opacity: 0.09; }
  /* Contact image — tone down on mobile over the warm gradient */
  .contact::before  { opacity: 0.09; }

  .service-grid  { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-step  { border-bottom: 1px solid var(--line); }

  .footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 480px) {
  .process-grid   { grid-template-columns: 1fr; }
  .chrome-dot     { width: 8px; height: 8px; }
}

/* ═══════════════════════════════════════════
   ILLUSTRATION MAP
═══════════════════════════════════════════ */
.scene-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.eura-cover {
  --cover-display: 'Bodoni Moda', 'Times New Roman', serif;
  --cover-sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --cover-mono: 'Space Mono', 'SFMono-Regular', ui-monospace, monospace;
  position: relative;
  overflow: hidden;
  clip-path: inset(0);
  isolation: isolate;
  min-height: max(640px, 100svh);
  display: flex;
  flex-direction: column;
  background: #141210;
  color: #F7F3EB;
  font-family: var(--cover-sans);
}
.eura-cover a { color: #F7F3EB; text-decoration: none; transition: color 320ms cubic-bezier(0.22,1,0.36,1); }
.eura-cover a:hover { color: #D2C9BB; }
.eura-cover__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 2200ms cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  z-index: 0;
}
.eura-cover__ink-pad {
  position: absolute;
  inset: 0;
  z-index: 1;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.eura-cover__header {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px clamp(1.25rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.eura-cover__brand { display: flex; flex-direction: column; gap: 7px; }
.eura-cover__brand-name {
  font-family: var(--cover-display);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.eura-cover__brand-sub {
  font-family: var(--cover-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B7AE9F;
}
.eura-cover__wide { display: flex; align-items: center; gap: 32px; }
.eura-cover__nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.eura-cover__actions { display: flex; align-items: center; gap: 28px; }
.eura-cover__languages { display: flex; gap: 12px; font-family: var(--cover-mono); font-size: 11px; letter-spacing: 0.12em; }
.eura-cover .cover-lang {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #968C7E;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 320ms cubic-bezier(0.22,1,0.36,1);
}
.eura-cover .cover-lang:hover,
.eura-cover .cover-lang.active { background: transparent; color: #F7F3EB; }
.eura-cover__contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--cover-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #F7F3EB;
}
.eura-cover__contact-rule {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: #F7F3EB;
  transition: width 500ms cubic-bezier(0.22,1,0.36,1), background 320ms cubic-bezier(0.22,1,0.36,1);
}
.eura-cover__contact:hover .eura-cover__contact-rule { width: 54px; background: #D2C9BB; }
.eura-cover__narrow { display: none; }
.eura-cover__menu {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #F7F3EB;
  font-family: var(--cover-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.eura-cover__title-wrap {
  position: relative;
  z-index: 1;
  pointer-events: none;
  flex: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 5rem) clamp(40px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.eura-cover__title {
  transition: -webkit-text-fill-color 2200ms cubic-bezier(0.22,1,0.36,1);
  font-family: var(--cover-display);
  font-weight: 400;
  font-size: clamp(72px, 13vw, 220px);
  white-space: nowrap;
  width: auto;
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0;
  color: #F7F3EB;
}
@media (max-width: 1080px) {
  .eura-cover__wide { display: none; }
  .eura-cover__narrow { display: block; }
}
@media (max-width: 760px) {
  .eura-cover__title { font-size: clamp(64px, 23vw, 200px); white-space: normal; width: min-content; }
}
@media (prefers-reduced-motion: reduce) {
  .eura-cover__canvas,
  .eura-cover__title { transition-duration: 0.01ms; }
}

.route-view-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html[data-view="home"],
html[data-view="home"] body {
  height: 100%;
  overflow: hidden;
  background: #141210;
}
html[data-view="home"] main { height: 100%; }
html[data-view="home"] main > section:not(.eura-cover),
html[data-view="home"] .route-view-title,
html[data-view="home"] .footer,
html[data-view="home"] .progress-bar { display: none !important; }

html[data-view]:not([data-view="home"]) main > section:not(.eura-cover) { display: none; }
html[data-view="about"] #bridge,
html[data-view="what-we-do"] #curate,
html[data-view="what-we-do"] #contexts,
html[data-view="what-we-do"] #process,
html[data-view="projects"] #projects,
html[data-view="studio"] #studio,
html[data-view="contact"] #contact { display: block; }
html[data-view="projects"] #projects { min-height: calc(100svh - 96px); }

html[data-view]:not([data-view="home"]) .eura-cover {
  min-height: 96px;
  height: 96px;
  overflow: visible;
  clip-path: none;
  display: block;
}
html[data-view]:not([data-view="home"]) .eura-cover__canvas,
html[data-view]:not([data-view="home"]) .eura-cover__ink-pad,
html[data-view]:not([data-view="home"]) .eura-cover__title-wrap { display: none; }
html[data-view]:not([data-view="home"]) .eura-cover__header { min-height: 96px; }
html[data-view]:not([data-view="home"]) .progress-bar { top: 95px; }
.eura-cover__nav a[aria-current="page"] { color: #D2C9BB; }

@media (max-width: 760px) {
  html[data-view="projects"] #projects { min-height: calc(100svh - 84px); }
  html[data-view]:not([data-view="home"]) .eura-cover,
  html[data-view]:not([data-view="home"]) .eura-cover__header {
    min-height: 84px;
    height: 84px;
  }
  html[data-view]:not([data-view="home"]) .progress-bar { top: 83px; }
}
