:root {
  --bg: #f3efe6;
  --panel: rgba(250, 247, 240, 0.9);
  --panel-strong: rgba(248, 244, 236, 0.98);
  --text: #171717;
  --muted: rgba(23, 23, 23, 0.66);
  --line: rgba(23, 23, 23, 0.16);
  --line-strong: rgba(23, 23, 23, 0.32);
  --accent: #191919;
  --accent-2: #857765;
  --accent-3: #b3a28e;
  --story-accent: #161616;
  --story-secondary: #8c7b68;
  --shadow: 0 10px 32px rgba(23, 23, 23, 0.08);
  --radius: 10px;
  --container: min(1180px, calc(100% - 40px));
  --font-body: "Manrope", Arial, sans-serif;
  --font-ui: "Roboto Flex", "Manrope", Arial, sans-serif;
  --font-display: "Roboto Flex", "Manrope", Arial, sans-serif;
  --font-heading: "Roboto Flex", "Manrope", Arial, sans-serif;
  --header-hero-text: #f7f2e6;
  --header-scrolled-text: #171717;
  --header-scrolled-bg: rgba(247, 243, 235, 0.9);
  --hero-display-text: #f7f2e6;
  --hero-copy-text: rgba(245, 239, 228, 0.84);
  --hero-eyebrow-text: rgba(245, 239, 228, 0.82);
  --hero-eyebrow-line: rgba(245, 239, 228, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 0, 0, 0.03), transparent 22%),
    radial-gradient(circle at 84% 16%, rgba(0, 0, 0, 0.028), transparent 20%),
    linear-gradient(180deg, #f7f3eb 0%, #f1ece2 56%, #ebe5d9 100%);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

.site-header,
.scroll-meter,
main,
.site-footer {
  transition: opacity 320ms ease;
}

.smooth-wrapper,
.smooth-content {
  width: 100%;
}

body.has-smooth-scroll .smooth-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

body.has-smooth-scroll .smooth-content {
  will-change: transform;
}

body.is-loading .site-header,
body.is-loading .scroll-meter,
body.is-loading main,
body.is-loading .site-footer {
  opacity: 0;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.018), transparent 18%),
    radial-gradient(circle at 80% 56%, rgba(0, 0, 0, 0.016), transparent 18%),
    linear-gradient(rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1));
  mix-blend-mode: multiply;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scroll-meter {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  height: 2px;
  background: rgba(23, 23, 23, 0.08);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.1), transparent 22%),
    linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
  color: #f4eee2;
  overflow: hidden;
}

.site-loader::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  opacity: 0.22;
  transform: translateX(-100%);
}

.site-loader::after {
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.06));
}

.site-loader-inner {
  width: min(220px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
}

.site-loader-mark {
  position: relative;
  width: clamp(72px, 9vw, 108px);
  height: 2px;
}

.site-loader-line-track,
.site-loader-line-fill {
  position: absolute;
  inset: 0;
}

.site-loader-line-track {
  background: rgba(244, 238, 226, 0.2);
}

.site-loader-line-fill {
  background: rgba(244, 238, 226, 0.92);
  transform: scaleX(0);
  transform-origin: left center;
}

.scroll-meter-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 320;
  padding-top: 0;
  isolation: isolate;
}

.cory-site-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.nav {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 16px;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.site-header.is-condensed .nav,
body.menu-open .nav,
.cory-site-fun .nav {
  background: var(--header-scrolled-bg);
  backdrop-filter: none;
}

.cory-site-home .site-header:not(.is-condensed):not(.menu-active) .nav {
  background: transparent;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-name {
  display: inline-block;
  color: var(--header-scrolled-text);
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.nav-descriptor {
  display: none;
}

.nav-explore {
  position: relative;
  margin-left: 0;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-height: 28px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--header-scrolled-text) !important;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: opacity 220ms ease, transform 220ms ease, color 180ms ease;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
  overflow: visible;
  z-index: 380;
}

.nav-explore-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  flex: 0 0 10px;
  transition: opacity 180ms ease;
}

.nav-explore-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.nav-explore-label-open {
  display: none;
}

.site-header.menu-active .nav-explore {
  opacity: 1;
  pointer-events: auto;
}

.nav-explore:hover,
.nav-explore:focus-visible {
  background: transparent !important;
  color: var(--header-scrolled-text) !important;
  box-shadow: none !important;
  outline: none;
}

.cory-site-home .site-header:not(.is-condensed):not(.menu-active) .brand-name,
.cory-site-home .site-header:not(.is-condensed):not(.menu-active) .nav-descriptor,
.cory-site-home .site-header:not(.is-condensed):not(.menu-active) .nav-explore,
.cory-site-home .site-header:not(.is-condensed):not(.menu-active) .nav-explore:hover,
.cory-site-home .site-header:not(.is-condensed):not(.menu-active) .nav-explore:focus-visible {
  color: var(--header-hero-text) !important;
}

.site-header.menu-active .nav-explore-label-closed {
  display: none;
}

.site-header.menu-active .nav-explore-label-open {
  display: inline-block;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 14px;
  transition: opacity 220ms ease, transform 220ms ease;
}

.nav-links a:not(.button) {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links a:not(.button):hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-toggle {
  display: none !important;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-text {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-overlay {
  position: fixed;
  inset: 0 !important;
  width: 100vw;
  height: 100dvh;
  z-index: 360;
  display: none;
  align-items: stretch;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0;
  background: #f3efe6;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.nav-overlay[hidden] {
  display: none !important;
}

.nav-overlay.is-open {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-overlay-inner {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  grid-template-rows: auto 1fr auto;
  gap: 24px 20px;
  align-items: start;
  align-content: stretch;
  padding: 28px 40px 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.menu-open .site-header {
  z-index: 400;
}

.nav-overlay-top,
.nav-overlay-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-overlay-top {
  grid-column: 1 / -1;
}

.nav-overlay-brand,
.nav-overlay-label,
.nav-overlay-close {
  margin: 0;
  color: rgba(23, 23, 23, 0.72);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-overlay-close {
  display: none;
}

.nav-overlay-links {
  display: grid;
  grid-column: 2;
  align-self: center;
  justify-self: end;
  justify-items: start;
  gap: 10px;
  width: min(100%, 430px);
}

.nav-overlay-actions {
  display: grid;
  grid-column: 1;
  justify-items: start;
  align-content: end;
  gap: 12px;
  max-width: 34rem;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
}

.nav-overlay-links a {
  color: var(--text);
  font-family: var(--font-ui);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  transform: translate3d(0, 0, 0);
  transition: color 180ms ease, transform 220ms ease;
}

.nav-overlay-links a:hover,
.nav-overlay-links a.is-active {
  color: rgba(23, 23, 23, 0.64);
  transform: translateX(4px);
}

.nav-overlay-actions h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.nav-overlay-actions p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.nav-overlay [data-menu-item] {
  will-change: transform, opacity;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--text);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-ghost,
.button-secondary {
  border-color: var(--text);
  background: transparent;
  color: var(--text);
}

.button-ghost:hover,
.button-secondary:hover {
  background: rgba(23, 23, 23, 0.04);
}

.section {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  width: 100%;
  max-width: none;
  position: relative;
  min-height: 100vh;
  padding-top: 112px;
  padding-bottom: 36px;
  display: grid;
  align-items: stretch;
  isolation: isolate;
  overflow: clip;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  margin: 0;
  z-index: -4;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-scrim {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, rgba(10, 10, 10, 0.42) 34%, rgba(10, 10, 10, 0.68) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.16) 48%, rgba(10, 10, 10, 0.42) 100%);
}

.hero-noise,
.hero-orb {
  position: absolute;
  pointer-events: none;
}

.hero-noise {
  inset: 0;
  opacity: 0.1;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 30%), rgba(255, 255, 255, 0.12), transparent 16%),
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  z-index: -2;
}

.hero-orb {
  display: none;
}

.hero-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  min-height: calc(100vh - 124px);
  padding-bottom: 34px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--line-strong);
  color: rgba(23, 23, 23, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(4.1rem, 10vw, 8.6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.section-heading h2 {
  padding-top: 0.08em;
  padding-bottom: 0.04em;
}

.story-experience-head h2 {
  font-family: var(--font-display);
  font-size: clamp(4.1rem, 10vw, 8.6rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.05em;
  padding-top: 0.08em;
}

.hero h1 span {
  display: block;
}

.hero-eyebrow {
  color: var(--hero-eyebrow-text);
  border-color: var(--hero-eyebrow-line);
}

.hero-body,
.section-copy,
.hero-panel-card p,
.story-step-panel p,
.story-intro p,
.process-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.75;
}

.hero-body {
  max-width: 540px;
  margin-top: 36px;
  color: var(--hero-copy-text);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-panel {
  display: none;
}

.story-intro,
.story-stage,
.story-step-panel,
.process-card,
.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.story-intro::before,
.story-stage::before,
.story-step-panel::before,
.process-card::before,
.contact-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 24%);
}

.hero-panel-kicker,
.story-stage-kicker,
.story-stage-label,
.process-step,
.story-meta-card span {
  color: rgba(23, 23, 23, 0.56);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--hero-display-text);
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.24);
}

.hero .button,
.hero .button-ghost,
.hero .button-secondary {
  border-color: rgba(245, 239, 228, 0.72);
  color: #f7f2e6;
  background: rgba(255, 255, 255, 0.04);
}

.hero .button:hover,
.hero .button-ghost:hover,
.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.story-intro {
  margin-top: 10px;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.story-experience,
.work,
.contact {
  padding-top: 128px;
}

.story-experience-head {
  max-width: 860px;
}

.story-experience-head .section-copy {
  max-width: 720px;
  margin-top: 20px;
}

.story-shell {
  display: block;
  margin-top: 46px;
}

.story-stage-wrap {
  position: static;
  max-width: 920px;
  margin-bottom: 52px;
}

.story-stage {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

.stage-wipe {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #0d0d0d;
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}

.story-stage-top {
  display: grid;
  gap: 16px;
}

.story-progress {
  width: 100%;
  height: 2px;
  border-radius: 0;
  background: rgba(23, 23, 23, 0.12);
  overflow: hidden;
}

.story-progress-fill {
  display: block;
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, var(--story-accent), var(--story-secondary));
  transition: width 260ms ease;
}

.story-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  margin-top: 24px;
}

.story-stage-copy h3 {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.story-stage-body {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.story-stage-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.story-meta-card {
  padding: 18px 16px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.24);
}

.story-meta-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.story-stage-visual {
  position: relative;
  min-height: 340px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.story-stage-visual::before {
  position: absolute;
  top: -20px;
  bottom: -20px;
  left: 50%;
  width: 1px;
  content: "";
  background:
    linear-gradient(180deg, transparent 0%, rgba(23, 23, 23, 0.72) 12%, rgba(23, 23, 23, 0.72) 88%, transparent 100%);
  transform: translateX(-50%);
}

.story-stage-visual::after {
  position: absolute;
  inset: 12% 12% 12% auto;
  width: 34%;
  content: "";
  border: 1px solid rgba(23, 23, 23, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.16);
}

.story-ghost {
  position: absolute;
  right: -12px;
  bottom: -18px;
  color: rgba(23, 23, 23, 0.07);
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 13vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.visual-frame {
  min-height: 200px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.visual-frame-main {
  display: grid;
  align-items: end;
  padding: 24px;
}

.visual-wave {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 130px;
}

.visual-wave span {
  border-radius: 0;
  background: linear-gradient(180deg, var(--story-accent), var(--story-secondary));
  animation: pulse 1800ms ease-in-out infinite;
}

.visual-wave span:nth-child(1) { height: 28%; }
.visual-wave span:nth-child(2) { height: 64%; animation-delay: 90ms; }
.visual-wave span:nth-child(3) { height: 36%; animation-delay: 180ms; }
.visual-wave span:nth-child(4) { height: 82%; animation-delay: 270ms; }
.visual-wave span:nth-child(5) { height: 46%; animation-delay: 360ms; }
.visual-wave span:nth-child(6) { height: 72%; animation-delay: 450ms; }
.visual-wave span:nth-child(7) { height: 34%; animation-delay: 540ms; }
.visual-wave span:nth-child(8) { height: 58%; animation-delay: 630ms; }

.visual-stack {
  position: relative;
  min-height: 150px;
  margin-top: 22px;
}

.visual-card {
  position: absolute;
  width: min(100%, 250px);
  padding: 16px 18px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 0;
  background: rgba(248, 244, 236, 0.94);
  box-shadow: none;
  opacity: 0;
  transform: translateY(42px) rotate(-5deg) scale(0.96);
  transition: transform 320ms ease, opacity 320ms ease, border-color 320ms ease;
}

.visual-card:nth-child(1) {
  inset: 8px auto auto 0;
}

.visual-card:nth-child(2) {
  inset: 34px 0 auto auto;
  transform: translateY(42px) rotate(4deg) scale(0.96);
}

.visual-card:nth-child(3) {
  inset: 86px auto auto 40px;
  transform: translateY(42px) rotate(-3deg) scale(0.96);
}

.visual-card.is-current {
  opacity: 1;
  transform: translateY(0) rotate(-2deg) scale(1);
  border-color: color-mix(in srgb, var(--story-accent) 42%, rgba(23, 23, 23, 0.24));
}

.visual-card span,
.visual-card small {
  display: block;
  color: rgba(23, 23, 23, 0.58);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
}

.visual-card small {
  margin-top: 8px;
}

.story-steps {
  display: grid;
  gap: 34px;
}

.story-step {
  min-height: auto;
  display: flex;
  align-items: flex-start;
}

.story-step-panel {
  width: 100%;
  max-width: 860px;
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  opacity: 1;
  transition: transform 260ms ease, opacity 260ms ease, border-color 260ms ease;
}

.story-step.is-active .story-step-panel {
  opacity: 1;
  border-color: rgba(23, 23, 23, 0.36);
}

.story-step-panel h3,
.process-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.story-step-panel p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 20px;
}

.story-cut {
  position: relative;
  width: 100vw;
  min-height: 42vh;
  display: grid;
  place-items: center;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 32px 40px;
  overflow: hidden;
  --cut-sheen-x: -100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(180deg, #0d1620 0%, #09111a 100%);
  color: #f5efe4;
}

.story-cut::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  opacity: 0.42;
  transform: translateX(var(--cut-sheen-x));
}

.story-cut p {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-align: center;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  margin-top: 40px;
}

.work-feature,
.work-photo-card,
.work-note-card,
.contact-panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 24%),
    rgba(250, 247, 240, 0.76);
}

.work-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.work-feature-media,
.work-photo,
.contact-portrait {
  margin: 0;
  overflow: hidden;
  background: rgba(23, 23, 23, 0.06);
}

.work-feature-media img,
.work-photo img,
.contact-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-feature-copy {
  display: grid;
  align-content: start;
}

.work-feature-copy h3,
.work-note-card h3 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.work-feature-copy p:last-of-type,
.work-note-card p,
.work-photo-copy p {
  margin-top: 16px;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.work-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  color: rgba(23, 23, 23, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-rail {
  display: grid;
  gap: 22px;
}

.work-photo-card,
.work-note-card {
  padding: 20px;
}

.work-photo {
  aspect-ratio: 4 / 5;
}

.work-photo-copy {
  padding-top: 16px;
}

.work-note-card {
  align-content: start;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.contact-panel h2 {
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
}

.contact-panel .section-copy {
  max-width: 760px;
  margin-top: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 28px;
  align-items: center;
}

.contact-copy-block {
  min-width: 0;
}

.contact-portrait {
  aspect-ratio: 4 / 5;
}

.subpage-main {
  padding-top: 116px;
  padding-bottom: 88px;
}

.subpage-hero {
  padding-top: 32px;
}

.subpage-hero h1 {
  max-width: 14ch;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.subpage-intro {
  max-width: 58ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.75;
}

.product-hero h1,
.product-intro h2,
.product-details h2 {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.product-intro h2,
.product-details h2 {
  letter-spacing: -0.02em;
}

.product-hero .subpage-intro,
.product-intro .section-copy,
.product-details .section-copy {
  max-width: 58ch;
  margin-top: 22px;
}

.product-hero-story {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 140px 0 42px;
  display: grid;
  align-items: end;
  overflow: clip;
  isolation: isolate;
}

.product-hero-media,
.product-hero-scrim {
  position: absolute;
  inset: 0;
}

.product-hero-media {
  margin: 0;
}

.product-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-scrim {
  background:
    linear-gradient(180deg, rgba(7, 10, 16, 0.42) 0%, rgba(7, 10, 16, 0.14) 28%, rgba(7, 10, 16, 0.78) 100%);
}

.product-hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 28px;
  align-items: end;
}

.product-hero-copy,
.product-hero-aside {
  color: #f7f2e6;
}

.product-hero-copy .eyebrow {
  color: rgba(247, 242, 230, 0.84);
}

.product-hero-copy .eyebrow::after {
  background: rgba(247, 242, 230, 0.34);
}

.product-hero .subpage-intro {
  color: rgba(245, 239, 228, 0.84);
}

.product-meta {
  margin-top: 24px;
}

.product-hero-aside {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.product-hero-icon,
.product-step-icon,
.product-step-banner,
.product-note-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(250, 247, 240, 0.76);
  box-shadow: var(--shadow);
}

.product-hero-icon {
  width: min(240px, 100%);
  padding: 14px;
  background: rgba(8, 12, 18, 0.36);
  border-color: rgba(247, 242, 230, 0.14);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.product-hero-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.product-intro,
.product-story-sequence,
.product-details {
  margin-top: 52px;
}

.product-intro {
  max-width: 76ch;
}

.product-story-sequence {
  width: var(--container);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.product-story-sequence .section-heading {
  width: 100%;
  margin: 0;
}

.product-story-step {
  width: 100%;
  margin-top: 28px;
  padding: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  background: transparent;
  border-top: 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}

.product-story-step.is-dark {
  background: transparent;
  color: inherit;
}

.product-story-step.is-dark .product-feature-number {
  color: rgba(23, 23, 23, 0.52);
}

.product-story-step.is-dark .product-story-step-copy p:last-child {
  color: var(--muted);
}

.product-story-step-copy,
.product-story-step-visual {
  min-width: 0;
}

.product-story-step-copy {
  padding: 0;
  display: grid;
  align-content: start;
  max-width: 58ch;
}

.product-story-step-visual {
  position: relative;
  min-height: 0;
  display: grid;
  justify-items: start;
  padding: 0;
}

.product-step-icon,
.product-step-banner {
  width: 100%;
  max-width: 640px;
}

.product-step-icon {
  width: min(240px, 100%);
  padding: 14px;
  background: rgba(248, 244, 236, 0.94);
}

.product-step-icon img,
.product-step-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.product-step-banner {
  margin: 0;
  max-width: 100%;
  height: auto;
}

.product-step-banner img {
  height: auto;
  object-fit: contain;
}

.product-story-cut {
  margin: 28px 0;
}

.product-note-card {
  padding: 28px;
}

.product-feature-number {
  color: rgba(23, 23, 23, 0.52);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-story-step-copy h3,
.product-note-card h3 {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.product-story-step-copy p:last-child,
.product-note-card p:last-child {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.product-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.archive {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.archive-card,
.archive-note {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 24%),
    rgba(250, 247, 240, 0.76);
  box-shadow: var(--shadow);
}

.archive-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.archive-card-media,
.archive-card-copy {
  min-width: 0;
}

.archive-card-media {
  margin: 0;
  min-height: 100%;
}

.archive-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-card-copy,
.archive-note {
  padding: 30px;
}

.archive-card-copy h2,
.archive-note h3 {
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.archive-card-copy p + p,
.archive-note p:last-child {
  margin-top: 16px;
}

.archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  align-items: center;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.archive-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  color: rgba(23, 23, 23, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 44px;
  color: rgba(244, 239, 228, 0.62);
  font-size: 0.88rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleY(0.9);
    transform-origin: bottom;
  }

  50% {
    transform: scaleY(1.08);
    transform-origin: bottom;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .work-grid,
  .archive-card,
  .work-feature,
  .contact-layout,
  .product-details,
  .product-story-step,
  .product-hero-shell {
    grid-template-columns: 1fr;
  }

  .story-stage-grid {
    grid-template-columns: 1fr;
  }

  .story-cut {
    min-height: 28vh;
  }

  .story-stage-visual {
    min-height: 300px;
  }

  .product-hero-aside {
    justify-items: start;
  }

  .product-story-step-visual {
    min-height: 32vh;
  }

}

@media (max-width: 820px) {
  body.has-smooth-scroll {
    overflow: auto;
    height: auto !important;
  }

  body.has-smooth-scroll .smooth-wrapper {
    position: relative;
    inset: auto;
    overflow: visible;
  }

  body.has-smooth-scroll .smooth-content {
    will-change: auto;
    transform: none !important;
  }

  .site-header {
    padding-top: 10px;
  }

  .nav {
    width: calc(100% - 20px);
    border-radius: 6px;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav-links {
    display: none;
  }

  .nav-overlay {
    padding: 0;
  }

  .nav-overlay-inner {
    width: 100%;
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 20px 18px 22px;
    border-radius: 0;
  }

  .nav-overlay-links a {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .nav-overlay-links,
  .nav-overlay-actions {
    grid-column: 1;
    justify-self: start;
    width: 100%;
  }

  .nav-links .button {
    width: 100%;
  }

  .hero,
  .story-experience,
  .work,
  .contact {
    padding-top: 96px;
  }

  .hero {
    min-height: calc(100vh - 12px);
    padding-bottom: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: end;
    min-height: calc(100vh - 142px);
    padding-bottom: 24px;
  }

  .site-loader-inner {
    padding-bottom: 34px;
  }

  .subpage-main {
    padding-top: 104px;
  }

  .subpage-hero {
    padding-top: 24px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: calc(100% - 20px);
  }

  .button,
  .button-ghost,
  .button-secondary {
    width: 100%;
  }

  .hero-panel-card,
  .story-intro,
  .story-stage,
  .story-step-panel,
  .process-card,
  .contact-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .story-stage-meta {
    grid-template-columns: 1fr;
  }

  .visual-card {
    width: calc(100% - 10px);
  }

  .site-footer {
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
