/* ==========================================================================
   FoxyVisions — Lucas Bauman
   A production company site. Fox-orange on deep dark, cinematic.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Deep green + warm cream — cinematic forest palette */
  --fox:         #A8C2A9;             /* sage — accent (kept variable name for internal consistency) */
  --fox-soft:    #7FA888;             /* deeper sage */
  --fox-glow:    rgba(168, 194, 169, 0.35);
  --fox-dim:     rgba(168, 194, 169, 0.12);
  --dark:        #0d1a14;             /* deep forest black */
  --dark-2:      #14211b;             /* lifted forest */
  --cream:       #f4ecdc;
  --cream-dim:   rgba(244, 236, 220, 0.6);
  --cream-faint: rgba(244, 236, 220, 0.35);
  --border:      rgba(244, 236, 220, 0.08);

  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1400px;
  --pad-x: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

::selection { background: var(--fox); color: var(--dark); }

/* Subtle grain overlay for Kodak-ish warmth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  background-image:
    radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

/* ==========================================================================
   Language switcher
   ========================================================================== */
.lang-switch {
  position: fixed;
  top: 24px;
  right: var(--pad-x);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 500;
  text-transform: uppercase;
  padding: 8px 14px;
  background: rgba(13, 26, 20, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.lang-switch button {
  background: none;
  border: 0;
  color: var(--cream-faint);
  font: inherit;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s ease;
}
.lang-switch button:hover { color: var(--cream); }
.lang-switch button.active { color: var(--fox); }
.lang-switch .dot { color: var(--cream-faint); }

/* ==========================================================================
   Main site navigation — Apple-style Liquid Glass.
   Strong blur + saturation pump + soft tint + top highlight line.
   Menu is a SIBLING element (not a child) so the iOS stacking-context bug
   from earlier stays solved.
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 24px;
  background:
    radial-gradient(ellipse 48% 70% at 0% 0%,
      rgba(255, 255, 255, 0.055) 0%,
      rgba(255, 255, 255, 0.018) 30%,
      transparent 55%),
    radial-gradient(ellipse 26% 42% at 100% 100%,
      rgba(255, 255, 255, 0.012) 0%,
      transparent 50%),
    rgba(8, 16, 12, 0.58);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 1px 0 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02),
    inset -1px 0 0 rgba(255, 255, 255, 0.015),
    0 10px 36px rgba(0, 0, 0, 0.32),
    0 2px 8px rgba(0, 0, 0, 0.18);
  height: 56px;
  box-sizing: border-box;
}
/* Fallback for browsers without backdrop-filter (older Firefox, etc) */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-nav { background: rgba(11, 22, 17, 0.92); }
}
.site-nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}
.site-nav-brand .wm-foxy    { color: var(--fox); font-style: italic; font-weight: 600; }
.site-nav-brand .wm-visions { color: var(--cream); margin-left: 1px; }

.site-nav-menu {
  position: fixed;
  top: 14px;
  right: 40px;
  height: 56px;
  z-index: 201;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  text-decoration: none;
  padding: 6px 0;
}
.site-nav-link:hover,
.site-nav-link.active { color: var(--fox); opacity: 1; }

/* Lang switcher INSIDE the menu — desktop: inline pill-less divider style. */
/* The menu is a sibling of .site-nav, so we target via .site-nav-menu. */
.site-nav-menu .lang-switch {
  position: static;
  top: auto;
  right: auto;
  padding: 0 0 0 22px;
  border: 0;
  border-left: 1px solid var(--border);
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 11px;
  letter-spacing: 0.22em;
  gap: 6px;
  z-index: auto;
}
.site-nav-menu .lang-switch button         { padding: 2px 2px; opacity: 0.55; }
.site-nav-menu .lang-switch button:hover   { opacity: 1; }
.site-nav-menu .lang-switch button.active  { opacity: 1; color: var(--fox); }
.site-nav-menu .lang-switch .dot           { opacity: 0.4; }

/* Hamburger — mobile only */
.site-nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
}
.site-nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  margin: 5px 0;
}

@media (max-width: 820px) {
  .site-nav-toggle { display: block; }
  .site-nav-brand  { font-size: 18px; }

  /* Mobile drop-panel — fully separate from the bar. Pure display toggle.
     Generous padding, auto height — fits 4 nav links + lang switcher
     without internal scrolling on any normal viewport. */
  .site-nav-menu {
    display: none;
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    height: auto;
    min-height: auto;
    z-index: 199;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 26px;
    background:
      radial-gradient(ellipse 50% 60% at 0% 0%,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.016) 32%,
        transparent 56%),
      radial-gradient(ellipse 28% 38% at 100% 100%,
        rgba(255, 255, 255, 0.011) 0%,
        transparent 50%),
      rgba(8, 16, 12, 0.66);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.20),
      inset 1px 0 0 rgba(255, 255, 255, 0.10),
      inset 0 -1px 0 rgba(255, 255, 255, 0.02),
      inset -1px 0 0 rgba(255, 255, 255, 0.015),
      0 18px 48px rgba(0, 0, 0, 0.45),
      0 4px 12px rgba(0, 0, 0, 0.22);
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-nav-menu { background: rgba(11, 22, 17, 0.96); }
  }
  body.menu-open .site-nav-menu { display: flex; }

  .site-nav-link {
    width: 100%;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    opacity: 0.9;
  }
  .site-nav-link.active { color: var(--fox); }

  /* Lang switch — moves to the BOTTOM of the open mobile menu, with its
     own separator above. Reset every property the fixed-pill base set. */
  .site-nav-menu .lang-switch {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    margin: 28px 0 4px;
    padding: 22px 0 4px;
    border: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    gap: 14px;
    align-self: stretch;
    justify-content: flex-start;
  }
  .site-nav-menu .lang-switch button { padding: 10px 8px; font-size: 12px; }
  .site-nav-menu .lang-switch .dot   { opacity: 0.4; }

  /* Hamburger → X */
  .site-nav-toggle span                       { transition: transform 0.2s ease, opacity 0.2s ease; }
  .site-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .site-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Placeholder gradient shown while no source is wired up */
  background:
    radial-gradient(ellipse at 20% 30%, rgba(127, 168, 136, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(74, 107, 84, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, #152922 0%, #0d1a14 50%, #0a1611 100%);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,26,20,0.3) 0%, rgba(13,26,20,0.5) 50%, rgba(13,26,20,0.9) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(13,26,20,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad-x);
  animation: hero-fade 1.4s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes hero-fade {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  cursor: default;
}
.wm-foxy {
  color: var(--fox);
  font-style: italic;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), text-shadow 0.7s ease;
}
.wm-visions {
  color: var(--cream);
  display: inline-block;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1) 0.05s;
}
.wordmark:hover .wm-foxy {
  transform: translateX(-4px) rotate(-1.5deg);
  text-shadow: 0 0 40px var(--fox-glow);
}
.wordmark:hover .wm-visions {
  transform: translateX(4px);
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 20px;
}

.signature {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fox);
  opacity: 0.85;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--cream-dim);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  animation: bob 2.4s ease-in-out infinite;
  transition: color 0.2s;
}
@media (max-height: 640px) {
  .scroll-hint { display: none; }
}
.scroll-hint:hover { color: var(--fox); }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  margin-bottom: 56px;
}
.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--fox);
  margin-bottom: 16px;
}
.section-head h2,
.about h2,
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cream);
}

/* ==========================================================================
   Work grid — CSS masonry-esque via column-count with aspect tiles
   ========================================================================== */
.work {
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 10vw, 120px);
  background: var(--dark);
}

.grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
  grid-auto-flow: dense;
}

.tile {
  position: relative;
  overflow: hidden;
  background: var(--dark-2);
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
  isolation: isolate;
}
.tile.in {
  opacity: 1;
  transform: translateY(0);
}

.tile img,
.tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
  filter: saturate(0.95) contrast(1.02);
}
.tile:hover img,
.tile:hover video {
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.05);
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,26,20,0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}
.tile:hover::after { opacity: 1; }

.tile .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(127, 168, 136, 0.9);
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(6px);
}

/* Aspect ratio placements — mixing 16:9, 9:16, 1:1 on a 12-col grid */
.tile.ratio-16x9 {
  grid-column: span 6;
  aspect-ratio: 16 / 9;
}
.tile.ratio-9x16 {
  grid-column: span 3;
  aspect-ratio: 9 / 16;
}
.tile.ratio-1x1 {
  grid-column: span 3;
  aspect-ratio: 1 / 1;
}

@media (max-width: 900px) {
  .tile.ratio-16x9 { grid-column: span 12; }
  .tile.ratio-9x16 { grid-column: span 6; }
  .tile.ratio-1x1  { grid-column: span 6; }
}
@media (max-width: 520px) {
  .tile.ratio-16x9,
  .tile.ratio-9x16,
  .tile.ratio-1x1 { grid-column: span 12; }
  .tile.ratio-9x16 { aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding: clamp(80px, 12vw, 140px) 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.about h2 { margin: 16px 0 32px; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.65;
  color: var(--cream);
  opacity: 0.9;
  font-weight: 400;
  margin-bottom: 32px;
}

.credits {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fox);
  opacity: 0.8;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 10vw, 120px);
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}
.contact h2 { margin: 16px 0 20px; }
.contact-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--cream-dim);
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s ease;
  background: rgba(244, 236, 220, 0.02);
}
.contact-btn:hover {
  border-color: var(--fox);
  color: var(--fox);
  transform: translateY(-1px);
}
.contact-btn.primary {
  background: var(--fox);
  color: var(--dark);
  border-color: var(--fox);
}
.contact-btn.primary:hover {
  background: transparent;
  color: var(--fox);
  box-shadow: 0 0 30px var(--fox-glow);
}

/* Form */
.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 620px) {
  .contact-form .row { grid-template-columns: 1fr; }
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  padding: 10px 2px;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--fox);
}

.submit {
  align-self: flex-start;
  margin-top: 8px;
  padding: 13px 32px;
  background: transparent;
  border: 1px solid var(--fox);
  color: var(--fox);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s ease;
}
.submit:hover {
  background: var(--fox);
  color: var(--dark);
  box-shadow: 0 0 30px var(--fox-glow);
}
.submit:disabled {
  opacity: 0.5;
  cursor: wait;
}
.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--cream-faint);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 32px var(--pad-x);
  border-top: 1px solid var(--border);
  background: var(--dark);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cream-faint);
}
.foot-mark {
  font-family: var(--serif);
  font-style: italic;
  color: var(--fox);
  letter-spacing: 0;
  font-size: 13px;
}
.foot-sep { color: var(--cream-faint); opacity: 0.5; }

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}
.services-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.services-head {
  text-align: center;
  margin-bottom: 64px;
}
.services-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-top: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(244, 236, 220, 0.015);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.service:hover {
  border-color: var(--fox);
  transform: translateY(-3px);
  background: rgba(168, 194, 169, 0.03);
}
.service-icon {
  width: 38px;
  height: 38px;
  color: var(--fox);
  margin-bottom: 20px;
  opacity: 0.9;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.service p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--cream-dim);
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .tile { opacity: 1; transform: none; }
  .hero-content { animation: none; }
  .scroll-hint { animation: none; }
}

/* ==========================================================================
   Process page (process.html)
   ========================================================================== */
.page-process {
  /* full-width body, no special wrapper */
}

/* Top page nav: home link + lang switcher */
.page-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--pad-x);
  background: rgba(13, 26, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, transform 0.3s ease;
}
.home-link svg { color: var(--fox); transition: transform 0.3s ease; }
.home-link:hover svg { transform: translateX(-3px); }
.home-mark .wm-foxy {
  color: var(--fox);
  font-style: italic;
  font-weight: 600;
}
.home-mark .wm-visions {
  color: var(--cream);
}
.page-nav .lang-switch {
  position: static;
  padding: 6px 12px;
  font-size: 11px;
  background: transparent;
  border: 1px solid var(--border);
}

/* Process hero */
.process-hero {
  padding: clamp(80px, 14vw, 140px) 0 clamp(50px, 8vw, 80px);
  background: var(--dark);
}
.process-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.process-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 18px 0 32px;
}
.process-lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.6;
  color: var(--cream);
  opacity: 0.9;
  font-weight: 400;
}

/* Generic process section */
.proc-section {
  padding: clamp(60px, 10vw, 120px) 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.proc-section.dark-bg {
  background: var(--dark-2);
}
.proc-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.proc-inner.narrow {
  max-width: 880px;
}
.proc-inner.center {
  text-align: center;
}
.proc-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 16px 0 28px;
}
.proc-head {
  text-align: center;
  margin-bottom: 56px;
}
.proc-head-sub {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--cream-dim);
}
.proc-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 18px;
}
.proc-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proc-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.9;
}
.proc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--fox);
}
.proc-list li strong {
  color: var(--fox);
  font-weight: 500;
}

/* Phases — seven phases of the process */
.phases {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 920px;
  margin: 0 auto;
}
.phase {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
@media (max-width: 720px) {
  .phase { grid-template-columns: 1fr; gap: 12px; }
}
.phase-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--fox);
  line-height: 1;
  opacity: 0.85;
}
.phase-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  letter-spacing: -0.005em;
  color: var(--cream);
  margin-bottom: 8px;
}
.phase-when {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fox);
  opacity: 0.8;
  margin-bottom: 18px;
}
.phase-body p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 16px;
}
.phase-why {
  padding: 16px 20px;
  border-left: 2px solid var(--fox);
  background: rgba(168, 194, 169, 0.04);
  border-radius: 0 4px 4px 0;
  margin: 8px 0 16px !important;
  font-style: italic;
  font-family: var(--serif) !important;
  font-size: 15px !important;
  color: var(--cream) !important;
  opacity: 1 !important;
}
.phase-why strong {
  color: var(--fox);
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.phase-why em {
  color: var(--fox);
  font-style: italic;
}
.phase-deliver {
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  color: var(--cream-dim) !important;
  margin-bottom: 0 !important;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

/* Tier cards */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: 32px;
}
@media (max-width: 980px) {
  .tiers { grid-template-columns: 1fr; }
}
.tier {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  background: rgba(244, 236, 220, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.tier:hover {
  border-color: var(--fox);
  transform: translateY(-3px);
}
.tier.featured {
  border-color: var(--fox-soft);
  background: rgba(168, 194, 169, 0.05);
  position: relative;
}
.tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fox);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.tier-head {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.tier-name {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--fox);
  margin-bottom: 4px;
}
.tier-price {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.2rem;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.tier-for {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cream-dim);
}
.tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.9;
}
.tier-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fox);
  font-weight: 600;
  font-size: 14px;
}
.tier-base {
  font-family: var(--sans);
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fox);
  opacity: 0.85;
}
.tier-list li:has(.tier-base) {
  padding-left: 0;
  margin-bottom: 4px;
}
.tier-list li:has(.tier-base)::before { content: ''; }
.tier-fineprint {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--cream-faint);
  text-align: center;
  max-width: 720px;
  margin: 32px auto 0;
}

/* Add-ons table */
.addons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.addon {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name price"
    "note note";
  gap: 6px 24px;
  padding: 16px 20px;
  background: rgba(244, 236, 220, 0.02);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s ease;
}
.addon:hover { border-color: var(--fox); }
.addon-name {
  grid-area: name;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
}
.addon-price {
  grid-area: price;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--fox);
  font-weight: 500;
  align-self: center;
}
.addon-note {
  grid-area: note;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--cream-faint);
  line-height: 1.5;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  padding: 20px 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--cream);
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fox);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq summary:hover { color: var(--fox); }
.faq details p {
  padding: 0 8px 24px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.85;
  margin: 0;
}

/* CTA */
.proc-cta {
  padding: clamp(70px, 12vw, 130px) 0;
  background:
    radial-gradient(ellipse at center, rgba(168, 194, 169, 0.08) 0%, transparent 60%),
    var(--dark);
  border-top: 1px solid var(--border);
  text-align: center;
}
.proc-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 24px;
}
.cta-button {
  display: inline-block;
  margin-top: 24px;
  padding: 18px 44px;
  background: var(--fox);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid var(--fox);
  transition: all 0.3s ease;
}
.cta-button:hover {
  background: transparent;
  color: var(--fox);
  box-shadow: 0 0 40px var(--fox-glow);
  transform: translateY(-2px);
}

/* Process link in main page (footer area) */
.process-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fox);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s ease;
}
.process-link:hover {
  border-color: var(--fox);
  background: rgba(168, 194, 169, 0.05);
  box-shadow: 0 0 20px var(--fox-glow);
}
.process-link svg { transition: transform 0.3s ease; }
.process-link:hover svg { transform: translateX(3px); }

/* Footer mark link */
.foot-mark-link { text-decoration: none; }
.foot-mark-link:hover .foot-mark { opacity: 0.7; }

