:root {
  --ink: #070707;
  --ink-soft: #0d0d0e;
  --paper: #f4eee8;
  --paper-soft: rgba(244, 238, 232, 0.78);
  --paper-faint: rgba(244, 238, 232, 0.52);
  --line: rgba(244, 238, 232, 0.16);
  --red: #a6151a;
  --red-bright: #c91f27;
  --red-soft: rgba(166, 21, 26, 0.42);
  --serif: "Playfair Display", Georgia, serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.experience {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.scene,
.scene-image,
.scene-shade,
.scene-vignette,
.scene-noise,
.scene-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene {
  z-index: -4;
  overflow: hidden;
}

.scene-image {
  inset: -4%;
  background-image: url("../assets/img/bg-mobile-fallback.jpg");
  background-size: cover;
  background-position: center center;
  filter: saturate(0.72) contrast(1.08) brightness(0.66);
  transform: scale(1.055);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}

.is-ready .scene-image {
  transform: scale(1.02);
}

.scene-shade {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.96) 0%, rgba(7, 7, 7, 0.90) 30%, rgba(7, 7, 7, 0.62) 58%, rgba(7, 7, 7, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.52) 0%, rgba(7, 7, 7, 0.10) 42%, rgba(7, 7, 7, 0.72) 100%);
}

.scene-vignette {
  box-shadow: inset 0 0 210px 52px rgba(0, 0, 0, 0.62);
}

.scene-noise {
  opacity: 0.14;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.33'/%3E%3C/svg%3E");
}

.scene-glow {
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.34;
}

.scene-glow-one {
  inset: auto auto -15rem -9rem;
  background: rgba(166, 21, 26, 0.50);
}

.scene-glow-two {
  width: 26rem;
  height: 26rem;
  inset: -12rem -8rem auto auto;
  background: rgba(166, 21, 26, 0.30);
}

.frame {
  position: absolute;
  inset: clamp(14px, 2vw, 26px);
  z-index: 4;
  pointer-events: none;
}

.frame-line {
  position: absolute;
  background: var(--line);
}

.frame-line-top,
.frame-line-bottom {
  left: 0;
  right: 0;
  height: 1px;
}

.frame-line-left,
.frame-line-right {
  top: 0;
  bottom: 0;
  width: 1px;
}

.frame-line-top { top: 0; }
.frame-line-right { right: 0; }
.frame-line-bottom { bottom: 0; }
.frame-line-left { left: 0; }

.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(58px, 7vw, 96px) clamp(34px, 6.5vw, 110px);
}

.hero-shell {
  width: min(1260px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(520px, 1.32fr);
  align-items: center;
  gap: clamp(54px, 8vw, 132px);
}

.brand-panel {
  align-self: stretch;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(22px, 3vw, 46px);
  border-right: 1px solid rgba(244, 238, 232, 0.14);
}

.logo-wrap {
  width: min(330px, 100%);
  margin-left: -18px;
}

.brand-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.brand-rule {
  width: 46px;
  height: 1px;
  margin: 22px 0 18px;
  background: var(--red-bright);
  box-shadow: 0 0 16px rgba(201, 31, 39, 0.28);
}

.brand-tagline {
  margin: 0;
  color: rgba(244, 238, 232, 0.62);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.hero-copy {
  width: min(790px, 100%);
  padding-top: 4px;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: clamp(18px, 2.2vw, 30px);
}

.eyebrow-line span {
  display: block;
  width: clamp(42px, 5vw, 76px);
  height: 1px;
  background: var(--red-bright);
}

h1 {
  margin: 0;
  max-width: 860px;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 7.1vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.90;
  text-wrap: balance;
}

h1 > span {
  display: block;
}

.heading-accent {
  margin-top: 0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 238, 232, 0.78);
  text-shadow: 0 0 50px rgba(166, 21, 26, 0.12);
}

.subtitle {
  margin: clamp(28px, 3.6vw, 44px) 0 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.25vw, 2.35rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.2;
}

.copy-rule {
  width: 100%;
  height: 1px;
  margin: clamp(24px, 3vw, 34px) 0;
  background: linear-gradient(90deg, rgba(244, 238, 232, 0.24), rgba(244, 238, 232, 0));
}

.description {
  max-width: 640px;
  margin: 0;
  color: var(--paper-soft);
  font-size: clamp(0.94rem, 1.15vw, 1.08rem);
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: 0.005em;
}

.construction {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0;
  color: rgba(244, 238, 232, 0.70);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.construction::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 5px rgba(166, 21, 26, 0.12), 0 0 20px rgba(201, 31, 39, 0.36);
}

.corner-mark {
  position: absolute;
  z-index: 3;
  width: 76px;
  height: 76px;
  pointer-events: none;
  opacity: 0.8;
}

.corner-mark-top {
  top: clamp(14px, 2vw, 26px);
  right: clamp(14px, 2vw, 26px);
  border-top: 1px solid rgba(201, 31, 39, 0.72);
  border-right: 1px solid rgba(201, 31, 39, 0.72);
}

.corner-mark-bottom {
  bottom: clamp(14px, 2vw, 26px);
  left: clamp(14px, 2vw, 26px);
  border-bottom: 1px solid rgba(201, 31, 39, 0.72);
  border-left: 1px solid rgba(201, 31, 39, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.is-ready .reveal {
  animation: reveal 0.95s cubic-bezier(.2,.7,.2,1) forwards;
}

.is-ready .reveal-1 { animation-delay: 0.10s; }
.is-ready .reveal-2 { animation-delay: 0.22s; }
.is-ready .reveal-3 { animation-delay: 0.36s; }
.is-ready .reveal-4 { animation-delay: 0.50s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .scene-image {
    background-position: 58% center;
  }

  .scene-shade {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.89) 0%, rgba(7, 7, 7, 0.68) 48%, rgba(7, 7, 7, 0.88) 100%),
      linear-gradient(90deg, rgba(7, 7, 7, 0.86) 0%, rgba(7, 7, 7, 0.45) 100%);
  }

  .hero {
    align-items: flex-start;
    padding-top: clamp(68px, 10vw, 104px);
    padding-bottom: clamp(68px, 10vw, 104px);
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: clamp(38px, 7vw, 60px);
  }

  .brand-panel {
    min-height: 0;
    align-self: auto;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 238, 232, 0.14);
    padding: 0 0 30px;
  }

  .logo-wrap {
    width: min(260px, 68vw);
    margin-left: -14px;
  }

  .brand-rule {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  h1 {
    max-width: 760px;
    font-size: clamp(3.5rem, 10.5vw, 6.8rem);
  }
}

@media (max-width: 640px) {
  .frame {
    inset: 10px;
  }

  .corner-mark {
    width: 50px;
    height: 50px;
  }

  .corner-mark-top {
    top: 10px;
    right: 10px;
  }

  .corner-mark-bottom {
    bottom: 10px;
    left: 10px;
  }

  .hero {
    min-height: 100svh;
    padding: 54px 28px 58px;
  }

  .hero-shell {
    gap: 34px;
  }

  .brand-panel {
    padding-bottom: 24px;
  }

  .logo-wrap {
    width: 220px;
    margin-left: -11px;
  }

  .brand-tagline {
    max-width: 280px;
    font-size: 0.60rem;
    letter-spacing: 0.22em;
  }

  .eyebrow-line {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.75rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
  }

  .heading-accent {
    -webkit-text-stroke-width: 0.8px;
  }

  .subtitle {
    margin-top: 24px;
    font-size: clamp(1.25rem, 6.4vw, 1.75rem);
  }

  .copy-rule {
    margin: 22px 0;
  }

  .description {
    font-size: 0.92rem;
    line-height: 1.72;
  }

  .construction {
    margin-top: 24px;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  h1 {
    font-size: 2.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .scene-image {
    transform: scale(1.02);
  }
}
