@font-face {
  font-family: Geist;
  src: url('../public/fonts/geist-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url('../public/fonts/geist-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url('../public/fonts/geist-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --ink: #292b27;
  --muted: #65665e;
  --accent: #93531c;
  --line: #d9d6cb;
  --gutter: clamp(1.25rem, 6vw, 7rem);
  /* Layers: media 0, content 1, journey controls 2, header 10, keyboard skip 20. */
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Geist, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #eacb9e;
  color: var(--ink);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.055em;
}
.section-shell {
  width: min(100%, 1440px);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  background: var(--paper);
  padding: 12px 20px;
  z-index: 20;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: absolute;
  inset: 0 0 auto;
  min-height: 84px;
  padding: 22px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  z-index: 10;
}
.wordmark {
  font-size: 1.5625rem;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark span {
  color: var(--accent);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 50px);
  font-size: 0.875rem;
  font-weight: 500;
}
.site-header nav a {
  padding-block: 8px;
}
.site-header nav a:hover,
.text-link:hover {
  color: var(--accent);
}
.contact-nav {
  border-bottom: 1px solid var(--ink);
}
.contact-nav span {
  margin-left: 12px;
}
.journey {
  position: relative;
}
.journey-scene {
  position: relative;
  min-height: 100dvh;
  height: max(700px, 100svh);
  overflow: clip;
  isolation: isolate;
  background: #e6e3d8;
}
.scene-media,
.scene-still,
#journey-video,
.scene-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scene-media {
  z-index: -1;
  overflow: hidden;
}
.scene-still {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 60% center;
}
.scene-sky {
  background-image: url('../public/images/story-sky.webp');
  transform-origin: 68% 35%;
}
.scene-air {
  background-image: url('../public/images/story-air.webp');
  opacity: 0;
  transform-origin: 69% 48%;
}
.scene-ground {
  background-image: url('../public/images/story-ground.webp');
  opacity: 0;
  transform-origin: 66% 55%;
}
#journey-video {
  object-fit: cover;
  object-position: 65% center;
  opacity: 0;
}
.scene-wash {
  background:
    linear-gradient(
      90deg,
      rgb(247 244 237 / 88%) 0%,
      rgb(247 244 237 / 61%) 34%,
      rgb(247 244 237 / 10%) 70%
    ),
    linear-gradient(
      180deg,
      rgb(247 244 237 / 45%),
      transparent 25%,
      transparent 65%,
      rgb(247 244 237 / 94%)
    );
}
.journey-content {
  position: absolute;
  top: 26%;
  left: var(--gutter);
  right: var(--gutter);
  max-width: 760px;
  z-index: 1;
}
.eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 500;
  margin-bottom: 28px;
}
h1 {
  font-size: clamp(4rem, 7.8vw, 7.8rem);
  letter-spacing: -0.075em;
  line-height: 1.03;
}
h1 span {
  color: var(--accent);
}
.hero-description {
  color: #4b4d45;
  max-width: 30ch;
  font-size: 1.0625rem;
  margin-top: 30px;
  line-height: 1.6;
}
.journey[data-chapter='2'] h1,
.journey[data-chapter='4'] h1 {
  font-size: clamp(3rem, 5.6vw, 5.7rem);
}
.journey-bottom {
  position: absolute;
  bottom: 114px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  z-index: 2;
}
.preview-note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #55564e;
}
.preview-note span {
  display: block;
  color: #626358;
  font-size: 0.75rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
}
.chapter-nav {
  position: absolute;
  bottom: 32px;
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  z-index: 2;
}
.chapter-nav button {
  border: 0;
  background: transparent;
  border-top: 1px solid #b3b0a3;
  text-align: left;
  font-size: 0.8125rem;
  color: #626358;
  padding: 12px 0 8px;
  transition: color 0.2s;
}
.chapter-nav button[aria-pressed='true'] {
  border-top: 2px solid var(--accent);
  padding-top: 11px;
  color: var(--accent);
  font-weight: 600;
}
.chapter-nav button:hover {
  color: var(--ink);
}
.mind-map {
  position: absolute;
  width: min(45vw, 570px);
  height: 320px;
  top: 27%;
  right: 4%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.mind-map svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  stroke-width: 1.5;
}
.mind-map path {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
}
.mind-map span {
  position: absolute;
  font-size: 0.875rem;
  padding: 7px 12px;
  border: 1px solid #c9b38e;
  background: #f7f4edf2;
  border-radius: 4px;
}
.map-center {
  top: 41%;
  left: 41%;
}
.map-a {
  top: 13%;
  left: 5%;
}
.map-b {
  top: 7%;
  left: 78%;
}
.map-c {
  top: 77%;
  left: 0;
}
.map-d {
  top: 71%;
  left: 75%;
}
.process-summary {
  padding-block: 64px;
  background: #efebe1;
}
.process-summary h2 {
  font-size: 1.75rem;
}
.process-summary ol {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 0;
}
.process-summary li {
  font-size: 0.9375rem;
  color: var(--muted);
}
.process-summary strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--ink);
  font-weight: 500;
}
.journey-active + .process-summary {
  display: none;
}
.introduction {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8%;
  padding-block: 140px 130px;
}
h2 {
  font-size: clamp(2.4rem, 4.2vw, 4.3rem);
}
.muted {
  color: var(--muted);
}
.intro-heading .eyebrow {
  margin-bottom: 24px;
}
.intro-copy {
  padding-top: 46px;
}
.intro-copy .role {
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 23px;
}
.role span {
  display: block;
  color: var(--accent);
}
.intro-copy > p {
  color: var(--muted);
  max-width: 43ch;
}
.intro-copy .location {
  font-size: 0.875rem;
  margin-top: 24px;
}
.work-section {
  padding-bottom: 120px;
  scroll-margin-top: 32px;
}
.section-heading {
  margin-bottom: 52px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-top: 20px;
  max-width: 48ch;
}
.work-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  column-gap: 48px;
  row-gap: 80px;
  align-items: start;
}
.work-secondary {
  padding-top: 110px;
}
.work-placeholder {
  aspect-ratio: 1.12;
  border-radius: 4px;
  padding: clamp(24px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.placeholder-kind {
  font-size: 0.875rem;
}
.work-placeholder > p {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.13;
  letter-spacing: -0.05em;
  font-weight: 500;
}
.placeholder-note {
  font-size: 0.75rem;
  opacity: 1;
}
.commerce-placeholder {
  background: #e6e2d6;
  color: #43483b;
}
.commerce-placeholder > p span {
  color: #737968;
}
.creative-placeholder {
  background: #edddc6;
  color: #614722;
}
.creative-placeholder > p span {
  color: #87653c;
}
.marketing-placeholder {
  background: #e8e5dc;
  color: #3f443b;
  aspect-ratio: 1.8;
}
.marketing-placeholder > p span {
  color: #6b7162;
}
.work-caption {
  padding-top: 25px;
}
.work-category {
  color: var(--accent);
  font-size: 0.8125rem;
}
.work-caption h3 {
  font-size: 1.5625rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 10px 0 16px;
}
.work-caption p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 49ch;
}
.evidence-note {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 18px;
}
.work-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 48px;
  align-items: center;
}
.work-wide .work-caption {
  padding-top: 0;
  max-width: 380px;
}
.work-disclosure {
  margin-top: 46px;
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 70ch;
}
.experience-section {
  padding-block: 96px 105px;
  border-top: 1px solid var(--line);
}
.experience-list {
  max-width: 1000px;
  margin-left: auto;
}
.experience {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 46px;
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.experience-date {
  color: var(--muted);
  font-size: 0.875rem;
}
.experience-date span {
  display: block;
  margin-top: 8px;
}
.experience h3 {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  margin-bottom: 9px;
}
.experience-role {
  font-weight: 500;
  font-size: 0.9375rem;
}
.experience-role + p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 18px;
  max-width: 64ch;
}
.skill-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  gap: 8px 20px;
  list-style: none;
  margin: 18px 0 0;
  color: var(--accent);
  font-size: 0.8125rem;
}
.education {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 28px;
  padding-top: 30px;
  margin-top: 32px;
  font-size: 0.875rem;
}
.education > p:first-child {
  color: var(--muted);
}
.education span {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  margin-top: 5px;
}
.contact-section {
  border-top: 1px solid var(--line);
  padding-block: 120px;
}
.contact-section h2 {
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  letter-spacing: -0.065em;
}
.contact-section h2 span {
  color: var(--accent);
}
.contact-section > p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 28px;
}
.email-link {
  display: block;
  width: fit-content;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: 42px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
  letter-spacing: -0.03em;
}
.email-link span {
  margin-left: 22px;
  display: inline-block;
  transition: transform 0.2s;
}
.email-link:hover span {
  transform: translate(3px, -3px);
}
.linkedin-link {
  margin-top: 26px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}
.site-footer button {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.static-journey .journey-scene {
  height: max(650px, 90svh);
  min-height: 0;
}
.static-journey .journey-bottom {
  bottom: 40px;
}
@media (min-width: 1600px) {
  .journey-content {
    left: max(var(--gutter), calc((100vw - 1240px) / 2));
  }
}
@media (max-width: 1023px) {
  .mind-map {
    right: 3%;
    width: 43%;
    top: 49%;
    height: 230px;
  }
  .mind-map span {
    font-size: 0.75rem;
    padding: 5px 7px;
  }
  .experience {
    grid-template-columns: 185px 1fr;
    gap: 30px;
  }
  .work-grid,
  .work-wide {
    gap: 40px 28px;
  }
  .work-secondary {
    padding-top: 70px;
  }
}
@media (max-width: 767px) {
  .site-header {
    padding-block: 22px;
    min-height: 72px;
    gap: 14px;
  }
  .wordmark {
    font-size: 1.4375rem;
  }
  .site-header nav {
    gap: 20px;
    font-size: 0.8125rem;
  }
  .contact-nav span {
    margin-left: 5px;
  }
  .journey-scene {
    height: max(700px, 100svh);
    min-height: 100dvh;
  }
  .scene-still,
  #journey-video {
    background-position: 66% center;
    object-position: 66% center;
  }
  .scene-wash {
    background: linear-gradient(
      180deg,
      rgb(247 244 237 / 74%),
      rgb(247 244 237 / 48%) 30%,
      rgb(247 244 237 / 5%) 66%,
      var(--paper) 100%
    );
  }
  .journey-content {
    top: 20%;
    max-width: 550px;
  }
  .eyebrow {
    font-size: 0.75rem;
    margin-bottom: 23px;
  }
  h1 {
    font-size: clamp(3.7rem, 12vw, 6rem);
  }
  .hero-description {
    font-size: 0.9375rem;
    margin-top: 23px;
    max-width: 27ch;
  }
  .journey-bottom {
    bottom: 136px;
  }
  .preview-note {
    font-size: 0.75rem;
  }
  .preview-note span {
    font-size: 0.75rem;
  }
  .skip-work {
    font-size: 0.8125rem;
    gap: 12px;
  }
  .chapter-nav {
    bottom: 24px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 20px;
  }
  .chapter-nav button {
    font-size: 0.75rem;
    padding: 8px 0;
  }
  .chapter-nav button[aria-pressed='true'] {
    padding-top: 7px;
  }
  .journey[data-chapter='2'] h1,
  .journey[data-chapter='4'] h1 {
    font-size: clamp(2.6rem, 8.2vw, 4.2rem);
  }
  .mind-map {
    top: 49%;
    left: 9%;
    width: 80%;
    height: 200px;
  }
  .mind-map span {
    font-size: 0.75rem;
  }
  .introduction {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 80px;
  }
  .intro-copy {
    padding-top: 0;
  }
  .intro-copy .role {
    font-size: 1.125rem;
  }
  .intro-copy > p {
    max-width: 54ch;
  }
  h2 {
    font-size: clamp(2.15rem, 7.5vw, 3.4rem);
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .section-heading > p {
    font-size: 1rem;
  }
  .work-grid,
  .work-wide {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .work-secondary {
    padding-top: 0;
  }
  .work-wide {
    gap: 0;
  }
  .work-wide .work-caption {
    padding-top: 25px;
    max-width: none;
  }
  .work-placeholder {
    aspect-ratio: 1.2;
    padding: 28px;
  }
  .work-placeholder > p {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  .marketing-placeholder {
    aspect-ratio: 1.45;
  }
  .work-section {
    padding-bottom: 70px;
  }
  .experience-section {
    padding-block: 70px;
  }
  .experience {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 28px;
  }
  .experience-date {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .experience-date span {
    margin-top: 0;
  }
  .experience h3 {
    font-size: 1.4375rem;
  }
  .education {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-section {
    padding-block: 75px;
  }
  .contact-section h2 {
    font-size: clamp(3rem, 10vw, 5rem);
  }
  .contact-section > p:not(.eyebrow) {
    font-size: 0.9375rem;
  }
  .email-link {
    font-size: clamp(1.05rem, 5vw, 1.65rem);
  }
  .email-link span {
    margin-left: 10px;
  }
  .site-footer {
    font-size: 0.75rem;
    row-gap: 16px;
  }
  .process-summary ol {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-summary h2 {
    font-size: 1.5625rem;
  }
}
@media (max-width: 374px) {
  .site-header nav {
    gap: 12px;
  }
  .wordmark {
    font-size: 1.25rem;
  }
  .contact-nav span {
    display: none;
  }
  .journey-bottom {
    align-items: start;
  }
  .preview-note {
    max-width: 150px;
  }
  .hero-description {
    max-width: 24ch;
  }
}
@media (max-height: 540px) {
  .journey-content {
    position: relative;
    padding-block: 100px 180px;
    top: auto;
  }
  .journey-scene {
    height: auto;
    min-height: 650px;
  }
  h1 {
    font-size: 4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .mind-map {
    display: none;
  }
  .scene-still {
    transform: none !important;
  }
}

/* Large preferred text sizes use normal document flow, not a pinned viewport. */
.large-text .site-header {
  position: relative;
  flex-wrap: wrap;
  background: var(--paper);
}
.large-text .site-header nav {
  flex-wrap: wrap;
}
.large-text .journey-scene {
  height: auto;
  min-height: 0;
}
.large-text .journey-content {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  padding: 70px var(--gutter);
}
.large-text h1 {
  font-size: clamp(2rem, 8vw, 4rem);
}
.large-text h1,
.large-text h2,
.large-text h3,
.large-text .email-link {
  overflow-wrap: anywhere;
}
.large-text .journey-bottom {
  position: relative;
  inset: auto;
  padding: 10px var(--gutter) 40px;
  flex-wrap: wrap;
}
.large-text .introduction,
.large-text .work-grid,
.large-text .work-wide,
.large-text .experience,
.large-text .education {
  grid-template-columns: 1fr;
}
.large-text .work-placeholder {
  aspect-ratio: auto;
  min-height: 400px;
  gap: 32px;
}
.large-text .work-secondary {
  padding-top: 0;
}
.large-text .process-summary ol {
  grid-template-columns: 1fr;
}
@media (max-width: 767px) {
  .scene-sky {
    background-position: 75% center;
  }
  .scene-air {
    background-size: auto 80%;
    background-position: 90% 50%;
    background-color: #e5e2d9;
  }
  .scene-ground {
    background-size: auto 70%;
    background-position: 84% 46%;
    background-color: #dde0dd;
  }
}
.work-item {
  min-width: 0;
}
.large-text .work-placeholder p {
  overflow-wrap: anywhere;
}
.large-text .mind-map {
  display: none;
}
/* Native pinning avoids repeated whole-page measurements on mobile. */
.journey-active {
  height: calc(max(700px, 100svh) + max(3500px, 550svh));
}
.journey-active .journey-scene {
  position: sticky;
  top: 0;
}

/* Approved film: keep the lower street action visible beneath the copy. */
.scene-sky {
  background-image: url('../public/images/journey-desktop.jpg');
}
#journey-video {
  object-position: center;
}
.film-ready .scene-still {
  visibility: hidden;
}
.journey-content {
  max-width: 620px;
}
@media (min-width: 768px) {
  .journey-content {
    top: 16%;
  }
  .journey h1 {
    font-size: clamp(3rem, 5.5vw, 5.6rem);
  }
}
@media (max-width: 767px) {
  .scene-sky {
    background-image: url('../public/images/journey-mobile.jpg');
  }
  #journey-video {
    object-position: center;
  }
  .journey-content {
    top: 13%;
  }
  .journey h1,
  .journey[data-chapter='2'] h1,
  .journey[data-chapter='4'] h1 {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }
  .journey .eyebrow {
    margin-bottom: 14px;
  }
  .journey .hero-description {
    margin-top: 16px;
  }
  .scene-wash {
    background: linear-gradient(
      180deg,
      rgb(247 244 237 / 70%),
      rgb(247 244 237 / 45%) 24%,
      transparent 48%,
      transparent 75%,
      rgb(247 244 237 / 75%)
    );
  }
}

/* DESIGN.md content system. Film timing, source files and camera are unchanged. */
@font-face {
  font-family: Inter;
  src: url('../public/fonts/inter-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('../public/fonts/inter-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('../public/fonts/inter-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../public/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #111827;
  --muted: #4b5563;
  --accent: #ed7b46;
  --line: #d8dadf;
  --surface: #53617a;
}
body {
  font-family: Inter, sans-serif;
}
h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.eyebrow,
.panel-label,
.work-category,
.experience-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.035em;
}
.scene-wash {
  display: none;
}
.journey-content {
  width: fit-content;
  right: auto;
  max-width: min(620px, calc(100% - 2 * var(--gutter)));
  padding: 20px 24px;
  background: rgb(255 255 255 / 90%);
  border-radius: 16px;
}
.journey h1 span {
  color: #9b401b;
}
.journey .eyebrow {
  margin-bottom: 16px;
}
.journey .hero-description {
  margin-top: 16px;
}
.journey:not([data-chapter='0']) .hero-description {
  display: none;
}
.journey-bottom {
  align-items: center;
}
.skip-work,
.preview-note {
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  color: #111827;
}
.chapter-nav {
  background: rgb(255 255 255 / 94%);
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.chapter-nav button[aria-pressed='true'] {
  color: #923b18;
  border-color: #ed7b46;
}
.site-header .wordmark,
.site-header nav {
  background: rgb(255 255 255 / 94%);
  padding: 8px 12px;
  border-radius: 8px;
}
.introduction,
.work-section,
.experience-section,
.ecosystem {
  padding-top: 80px;
  padding-bottom: 80px;
}
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-size: 0.875rem;
}
.primary-action {
  background: #ed7b46;
  color: #111827;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
}
.section-heading .eyebrow {
  margin-bottom: 20px;
}
.work-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.work-caption {
  padding: 24px;
}
.work-placeholder {
  border: 0;
  border-radius: 0;
  min-height: 300px;
}
.commerce-placeholder {
  background: #53617a;
  color: white;
}
.commerce-placeholder p,
.commerce-placeholder p span,
.commerce-placeholder .placeholder-kind,
.commerce-placeholder .placeholder-note {
  color: white;
}
.marketing-placeholder {
  background: #fce9df;
  color: #111827;
}
.marketing-placeholder p span {
  color: #923b18;
}
.film-project {
  display: block;
  position: relative;
  overflow: hidden;
}
.film-project img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.film-project span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
}
.ecosystem {
  border-top: 1px solid var(--line);
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.ecosystem-map {
  background: #53617a;
  border-radius: 16px;
  padding: 32px;
  color: white;
  display: flex;
  flex-direction: column;
}
.panel-label {
  text-transform: uppercase;
}
.orbit-layout {
  position: relative;
  min-height: 340px;
  flex: 1;
  display: grid;
  place-items: center;
}
.orbit-layout::before,
.orbit-layout::after {
  content: '';
  position: absolute;
  width: 75%;
  height: 1px;
  background: #95a0b3;
  transform: rotate(35deg);
}
.orbit-layout::after {
  transform: rotate(-35deg);
}
.orbit-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: #ed7b46;
  color: #111827;
  font-weight: 500;
  font-size: 1.25rem;
  box-shadow: 0 0 0 16px rgb(255 255 255 / 5%);
}
.orbit-node {
  position: absolute;
  z-index: 2;
  border: 1px solid #95a0b3;
  background: #53617a;
  padding: 10px 14px;
  border-radius: 9999px;
  font-size: 0.8125rem;
}
.node-commerce {
  top: 16%;
  left: 0;
}
.node-content {
  top: 16%;
  right: 0;
}
.node-campaigns {
  bottom: 16%;
  left: 0;
}
.node-production {
  bottom: 16%;
  right: 0;
}
.map-caption {
  max-width: 38ch;
  color: #edf0f5;
  font-size: 0.875rem;
}
.capability-stack {
  display: grid;
  gap: 16px;
}
.capability-stack article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.capability-stack .panel-label {
  color: #923b18;
}
.capability-stack h3 {
  margin: 12px 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.capability-stack p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tool-row span {
  font-size: 0.75rem;
  padding: 4px 8px;
  background: #f3f4f6;
  border-radius: 8px;
}
.experience {
  border-color: var(--line);
}
.skill-list li {
  border-radius: 9999px;
  background: #f3f4f6;
}
.contact-section {
  background: #53617a;
  color: #fff;
  border-radius: 16px;
  padding: 64px;
  margin-top: 32px;
  margin-bottom: 64px;
}
.contact-section h2 span {
  color: #ffb18a;
}
.contact-section p,
.contact-section .eyebrow,
.contact-section .email-link,
.contact-section .linkedin-link {
  color: white;
}
@media (max-width: 767px) {
  .journey-content {
    padding: 12px 16px;
  }
  .journey h1,
  .journey[data-chapter='2'] h1,
  .journey[data-chapter='4'] h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .journey-content .eyebrow {
    font-size: 0.625rem;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-map {
    padding: 24px;
  }
  .orbit-layout {
    min-height: 300px;
  }
  .orbit-core {
    width: 110px;
    height: 110px;
    font-size: 1rem;
  }
  .orbit-node {
    font-size: 0.6875rem;
    padding: 7px 9px;
  }
  .contact-section {
    padding: 32px 24px;
  }
  .film-project img {
    height: 240px;
  }
  .introduction,
  .work-section,
  .experience-section,
  .ecosystem {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* Keep the film unobstructed: text has a light edge, not a covering panel. */
.journey-content {
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-shadow:
    0 1px 3px rgb(255 255 255 / 90%),
    0 0 12px rgb(255 255 255 / 65%);
}

/* Temporary arrival stills: preserve the complete supplied composition. */
.arrival {
  background: #bed3df;
}
.arrival-stage {
  position: relative;
  aspect-ratio: 2688 / 1520;
  max-height: 100svh;
  width: 100%;
  overflow: hidden;
}
.arrival-image {
  position: absolute;
  inset: 0;
  display: block;
}
.arrival-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.arrival-caption {
  position: absolute;
  left: 5%;
  top: 12%;
  width: 26%;
  margin: 0;
  color: #193747;
  font-size: clamp(1.2rem, 2.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.arrival-caption span {
  display: block;
  margin-top: 1rem;
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}
.arrival.is-animated {
  height: calc(100svh + 65vh);
}
.arrival.is-animated .arrival-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  max-height: none;
  aspect-ratio: auto;
}
.arrival.is-animated .arrival-end {
  opacity: var(--arrival-progress, 0);
}
.arrival.is-animated .arrival-caption {
  opacity: var(--arrival-copy, 0);
}
.intro-actions {
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .arrival-stage {
    aspect-ratio: 1520 / 2688;
  }
  .arrival-caption {
    left: 8%;
    top: 10%;
    width: 84%;
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .arrival-caption span {
    font-size: 0.55em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .arrival.is-animated {
    height: auto;
  }
  .arrival.is-animated .arrival-stage {
    position: relative;
    height: auto;
  }
  .arrival.is-animated .arrival-end,
  .arrival.is-animated .arrival-caption {
    opacity: 1;
  }
}
/* Approved clear navigation / deep teal direction. */
.site-header .wordmark,
.site-header nav,
.chapter-nav,
.skip-work,
.preview-note {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.site-header .wordmark,
.site-header nav {
  padding: 0;
}
.chapter-nav {
  border: 0;
  padding: 0;
}
.journey-content {
  text-shadow: none;
}
.site-header,
.site-header a,
.wordmark span,
.journey h1,
.journey h1 span,
.journey .eyebrow,
.hero-description,
.chapter-nav button,
.preview-note,
.skip-work {
  color: #153e49;
}
.chapter-nav button[aria-pressed='true'] {
  color: #153e49;
  border-color: #153e49;
}
.chapter-nav button {
  border-color: #41626a;
}
.arrival {
  color: #153e49;
}
.arrival-introduction {
  position: absolute;
  left: 5%;
  top: 29%;
  width: 28%;
}
.arrival-introduction h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.8rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.03em;
}
.arrival-introduction p {
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  line-height: 1.6;
  margin: 0;
}
.arrival-links a {
  position: absolute;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  font-weight: 500;
  color: #153e49;
  text-decoration: none;
}
.arrival-links a:hover {
  color: #092831;
  border-bottom-width: 2px;
}
.arrival-hire {
  left: 42%;
  top: 19%;
}
.arrival-work {
  left: 8%;
  top: 53%;
}
.arrival-linkedin {
  left: 9%;
  top: 69%;
}
.arrival-utilities {
  position: absolute;
  bottom: 12px;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  gap: 12px;
}
.arrival-utilities button {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.arrival.is-animated .arrival-introduction,
.arrival.is-animated .arrival-links {
  opacity: var(--arrival-copy, 0);
}
.arrival:focus-within .arrival-links,
.arrival:focus-within .arrival-introduction {
  opacity: 1;
}
.work-dialog {
  width: min(760px, 90vw);
  max-height: 85dvh;
  border: 0;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 16px;
  color: #153e49;
}
.work-dialog::backdrop {
  background: rgb(10 35 45 / 65%);
}
.work-dialog img {
  width: 100%;
  height: auto;
  margin-block: 24px;
  border-radius: 8px;
}
.work-dialog h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.work-close {
  float: right;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 8px;
}
.work-note {
  font-size: 0.8rem;
  margin-top: 24px;
}
@media (max-width: 767px) {
  .arrival-caption {
    top: 5%;
  }
  .arrival-introduction {
    left: 8%;
    top: 17%;
    width: 84%;
  }
  .arrival-introduction h2 {
    font-size: 1.1rem;
  }
  .arrival-introduction p {
    font-size: 0.78rem;
  }
  .arrival-links a {
    font-size: 0.8rem;
  }
  .arrival-hire {
    left: 8%;
    top: 31%;
  }
  .arrival-work {
    left: 8%;
    top: 39%;
  }
  .arrival-linkedin {
    left: 8%;
    top: 47%;
  }
}
@media (max-height: 540px), (min-resolution: 2dppx) and (max-width: 600px) {
  .arrival:not(.is-animated) .arrival-stage {
    max-height: none;
  }
}
.large-text .arrival-stage {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  overflow: visible;
  padding: 24px;
}
.large-text .arrival-image {
  position: relative;
}
.large-text .arrival-start {
  display: none;
}
.large-text .arrival-caption,
.large-text .arrival-introduction,
.large-text .arrival-links a,
.large-text .arrival-utilities {
  position: static;
  width: auto;
  margin: 20px 0;
  display: block;
}
/* Unboxed film controls, with contrast chosen from the actual decoded frame. */
.journey-bottom {
  bottom: max(28px, env(safe-area-inset-bottom));
}
.skip-work,
.skip-work:hover {
  border: 0;
  text-decoration: none;
}
.journey .light-film-text,
.journey .light-film-text h1,
.journey .light-film-text h1 span,
.journey .light-film-text .eyebrow,
.journey .light-film-text .hero-description {
  color: #fff8ed;
  text-shadow: 0 1px 3px rgb(0 20 28 / 65%);
}
/* A pinned scene must fit the viewport so its skip control is always visible. */
.journey-active .journey-scene {
  height: 100svh;
  min-height: 0;
}
.journey[data-chapter='5'] #journey-title,
.journey[data-chapter='5'] #journey-title span {
  color: #fff8ed;
  text-shadow: 0 2px 5px rgb(0 20 28 / 80%);
}
.inquiry-email-alternative {
  margin: 1rem 0 0;
  font-size: 0.85rem;
}
.inquiry-email-alternative a {
  color: inherit;
  text-underline-offset: 0.2em;
}
.inquiry-dialog {
  background: #e8f0f3;
}
#inquiry-notice {
  margin-block: 18px;
  font-size: 0.875rem;
  line-height: 1.6;
}
#inquiry-form {
  display: grid;
  gap: 10px;
}
#inquiry-form label {
  margin-top: 8px;
  font-weight: 500;
}
#inquiry-form input,
#inquiry-form select,
#inquiry-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #68858e;
  border-radius: 8px;
  background: #fff;
  color: #153e49;
  font: inherit;
}
#inquiry-form textarea {
  resize: vertical;
}
.inquiry-submit {
  border: 0;
  border-radius: 8px;
  background: #153e49;
  color: #fff8ed;
  padding: 14px 20px;
  margin-top: 12px;
  font: inherit;
  cursor: pointer;
}
#inquiry-status {
  line-height: 1.5;
  font-size: 0.875rem;
}

.journey[data-chapter='5'] .journey-content .eyebrow {
  color: #fff8ed;
  text-shadow: 0 2px 5px rgb(0 20 28 / 80%);
}

.gallery-items article {
  border-top: 1px solid #adc3cc;
  padding: 28px 0;
}
.gallery-items video,
.gallery-items iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
  margin: 16px 0;
}
.gallery-items img {
  max-height: 70vh;
  object-fit: contain;
}
.youtube-load {
  display: block;
  width: 100%;
  padding: 48px 16px;
  margin: 16px 0;
  background: #153e49;
  color: white;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}
/* Capabilities: six branches and twelve smaller branches, without node badges. */
.mind-map {
  width: min(49vw, 660px);
  height: auto;
  aspect-ratio: 600 / 560;
  right: 3%;
  left: auto;
  top: 23%;
}
.mind-map svg {
  overflow: visible;
  stroke: #153e49;
  stroke-width: 1.8;
}
.mind-map path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.mind-map .constellation-cross {
  stroke: #63898c;
  stroke-width: 1;
}
.mind-map circle {
  fill: #d99f42;
  stroke: #153e49;
  stroke-width: 1;
}
.mind-map text {
  fill: #153e49;
  stroke: none;
  font-family: Inter, sans-serif;
  font-size: 19px;
  font-weight: 600;
  paint-order: stroke;
  stroke: #f8f3e9;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.mind-map .branch-detail {
  font-size: 18px;
  font-weight: 500;
}
.mind-map path {
  stroke-linecap: round;
}
.mind-map .constellation-leaf text {
  font-size: 16px;
  font-weight: 500;
}
.mind-map .constellation-core circle {
  fill: #153e49;
  stroke: #f8f3e9;
  stroke-width: 1.5;
}
.mind-map .constellation-core text {
  fill: #fff8ed;
  font-size: 23px;
}
@media (max-width: 767px) {
  .mind-map {
    top: auto;
    bottom: 13%;
    left: 2%;
    right: 2%;
    width: 96%;
    height: auto;
  }
  .mind-map text {
    font-size: 21px;
  }
  .mind-map .constellation-leaf text {
    font-size: 19px;
  }
}

/* Organic branches sweep upward; every tip carries its capability. */
.mind-map .organic-tree path {
  stroke: #21616c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.mind-map .organic-trunk {
  stroke-width: 7;
}
.mind-map .organic-branch {
  stroke-width: 4;
}
.mind-map .organic-tip circle {
  fill: #e6b34e;
  stroke: #a87525;
  stroke-width: 1;
}
.mind-map .branch-heading {
  font-size: 21px;
  font-weight: 650;
}
.mind-map .branch-detail {
  font-size: 13px;
  font-weight: 500;
  stroke-width: 2.5px;
}
.mind-map .organic-root {
  font-size: 25px;
  font-weight: 650;
}

.gallery-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.75;
  margin-top: 20px;
}
.youtube-load {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
}
.work-dialog .youtube-load img {
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
}
.youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 20px;
  border-radius: 999px;
  background: #153e49;
  color: white;
  box-shadow: 0 3px 20px #0005;
  white-space: nowrap;
}
.youtube-load:hover .youtube-play {
  background: #216478;
}
.youtube-load:focus-visible {
  outline: 3px solid #247a92;
  outline-offset: 4px;
}
.media-unavailable {
  display: grid;
  place-items: center;
  min-height: 120px;
}
.gallery-items h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.3;
}

.social-project-link {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}
.social-project-link img {
  width: 100%;
  border-radius: 8px;
}
