/* =========================================================
   Chahana — Layout 3 · "notebook / scrapbook" portfolio
   ========================================================= */

:root {
  --paper: #faf6ec;
  --paper-2: #fffdf7;
  --ink: #17150f;
  --ink-soft: #4f4a40;
  --ink-faint: #8a8275;
  --rule: #d3e0ef;
  --red: #e0574d;
  --red-soft: #f6c9c4;
  --yellow: #ffe6a1;
  --blue: #d3e6fb;
  --pink: #ffd7e0;
  --green: #dcf0d3;
  --tape: rgba(233, 215, 167, .72);
  --tape-edge: rgba(196, 175, 124, .55);
  --shadow-s: 0 2px 0 rgba(23, 21, 15, .06), 0 10px 24px -18px rgba(23, 21, 15, .6);
  --shadow-m: 0 3px 0 rgba(23, 21, 15, .07), 0 26px 44px -30px rgba(23, 21, 15, .65);
  --line-h: 34px;
  --margin-x: clamp(26px, 7vw, 120px);
  --section-y: clamp(64px, 5.5vw, 88px);
  --section-head-gap: clamp(28px, 4vw, 52px);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit
}

h1,
h2,
h3,
h4 {
  margin: 0
}

p {
  margin: 0 0 1.05em
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 120;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem
}

.skip-link:focus {
  left: 1rem;
  top: 1rem
}

:focus-visible {
  outline: 2px dashed var(--red);
  outline-offset: 3px
}

/* ---------- the paper itself ---------- */
.paper-rules {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--line-h) - 1px), var(--rule) calc(var(--line-h) - 1px) var(--line-h));
  opacity: .55;
}

.paper-margin {
  position: fixed;
  top: 0;
  bottom: 0;
  left: var(--margin-x);
  width: 2px;
  z-index: 0;
  pointer-events: none;
  background: var(--red);
  opacity: .45;
}

.paper-margin::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 1px;
  background: var(--red);
  opacity: .28;
}

.punch-holes {
  position: fixed;
  left: calc(var(--margin-x) / 2 - 9px);
  top: 8vh;
  z-index: 0;
  pointer-events: none;
  display: grid;
  gap: 14vh;
}

.punch-holes i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #efe9db;
  box-shadow: inset 0 2px 3px rgba(23, 21, 15, .28), 0 1px 0 #fffdf7;
}

@media (max-width:820px) {
  .punch-holes {
    display: none
  }
}

/* ---------- shell ---------- */
.sheet {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: calc(var(--margin-x) + 26px);
  padding-right: clamp(18px, 4vw, 48px);
}

@media (max-width:640px) {
  .sheet {
    padding-left: calc(var(--margin-x) + 14px);
    padding-right: 16px
  }
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 236, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(23, 21, 15, .12);
  text-align: center;
}

.head-inner {
  width: 100%;
  margin: 0 auto;
  padding: 15px clamp(16px, 3vw, 40px) 15px calc(var(--margin-x) + 26px);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

.wordmark::after {
  content: ".";
  color: var(--red)
}

.tabs {
  /* margin-left: auto; */
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tabs a {
  text-decoration: none;
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: .3rem .3rem;
  border-radius: 3px;
  white-space: nowrap;
}

.tabs a b {
  font-family: var(--hand);
  font-size: .95rem;
  font-weight: 600;
  color: var(--red);
  margin-right: .18rem
}

.tabs a:hover,
.tabs a.is-active {
  color: var(--ink);
  background: var(--yellow)
}

.tabs a.tab-star::after {
  content: "★";
  color: var(--red);
  margin-left: .25rem;
  font-size: .62rem;
  vertical-align: super
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--hand);
  font-size: 1.15rem;
  padding: .1rem .8rem;
  border-radius: 22px;
  cursor: pointer;
}

@media (max-width:1279.98px) {
  .nav-toggle {
    display: block
  }

  .tabs {
    flex-basis: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .tabs.is-open {
    max-height: 420px;
    padding-bottom: .6rem
  }
}

/* ---------- shared type ---------- */
.hand {
  font-family: var(--hand);
  font-size: 1.24rem;
  color: var(--red);
  line-height: 1.35;
  margin: 0
}

.hand-note {
  font-family: var(--hand);
  font-size: 1.3rem;
  color: var(--ink-soft);
  transform: rotate(-1.2deg);
  margin-top: .4rem;
}

.drop::first-letter {
  font-family: var(--serif);
  font-size: 3.1rem;
  line-height: .86;
  float: left;
  padding: .12em .12em 0 0;
  color: var(--red);
}

.sec {
  position: relative;
  padding-block: var(--section-y)
}

.sec-feature {
  padding-bottom: clamp(56px, 8vw, 110px)
}

.sec-head {
  position: relative;
  margin-bottom: var(--section-head-gap)
}

.sec-num {
  position: absolute;
  right: 100%;
  margin-right: clamp(8px, 1.4vw, 22px);
  top: -.3em;
  font-family: var(--hand);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--red);
  display: grid;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  border: 2px solid var(--red);
  border-radius: 49% 51% 52% 48%/48% 50% 50% 52%;
  transform: rotate(-7deg);
  opacity: .9;
}

@media (max-width:900px) {
  .sec-num {
    position: static;
    transform: rotate(-4deg);
    margin: 0 0 .6rem;
    width: 2.3em;
    height: 2.3em
  }
}

.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 6vw, 3.9rem);
  letter-spacing: .13em;
  line-height: 1.02;
}

.sec-title .star {
  font-family: var(--sans);
  font-size: .34em;
  color: var(--red);
  vertical-align: super;
  font-style: normal
}

.sec-head::after {
  content: "";
  display: block;
  height: 12px;
  margin-top: .45rem;
  width: min(360px, 72%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8C60 3 118 10 176 6c58-4 116 2 182-2' fill='none' stroke='%23e0574d' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.sec-kicker {
  margin-top: .55rem;
  color: var(--red)
}

.sec-foot {
  font-size: .82rem;
  letter-spacing: .03em;
  color: var(--ink-faint);
  margin-top: 1.6rem;
  border-top: 1px dashed rgba(23, 21, 15, .2);
  padding-top: .8rem;
}

/* ---------- tilt + paper objects ---------- */
.tilt-l {
  transform: rotate(-1.1deg)
}

.tilt-r {
  transform: rotate(1deg)
}

.card,
.note,
.photo,
.map-card,
.pod-card,
.contact-card,
.tile-btn {
  position: relative;
  background: var(--paper-2);
  box-shadow: var(--shadow-s);
}

.card {
  padding: 1.15rem 1.25rem 1.3rem;
  border: 1px solid rgba(23, 21, 15, .12);
}

.card h3,
.note h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: .35rem;
}

.card p,
.note p {
  margin: 0;
  font-size: .94rem;
  color: var(--ink-soft)
}

.step-tag {
  display: inline-block;
  font-family: var(--hand);
  font-size: 1.15rem;
  color: var(--red);
  transform: rotate(-3deg);
  margin-bottom: .15rem;
}

.note {
  padding: 1.2rem 1.3rem 1.35rem;
  border-radius: 2px
}

.note::after {
  content: "";
  position: absolute;
  inset: auto 0 -10px auto;
  width: 38px;
  height: 10px;
  background: linear-gradient(to bottom right, rgba(23, 21, 15, .09), transparent);
}

.note-yellow {
  background: var(--yellow)
}

.note-blue {
  background: var(--blue)
}

.note-pink {
  background: var(--pink)
}

.note-green {
  background: var(--green)
}

.note ul {
  font-size: .92rem;
  color: var(--ink-soft)
}

.note li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: .2rem
}

.note li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red)
}

/* taped photo */
.photo {
  padding: 12px 12px 0;
  border: 1px solid rgba(23, 21, 15, .1);
  margin: 0
}

.photo img {
  width: 100%;
  object-fit: cover
}

.photo figcaption {
  font-family: var(--hand);
  font-size: 15px;
  color: var(--ink-soft);
  padding: .45rem .25rem .7rem;
  text-align: center;
}

.photo::before,
.tile-tape,
.map-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50% 0;
  width: 118px;
  height: 28px;
  background: var(--tape);
  border-left: 1px solid var(--tape-edge);
  border-right: 1px solid var(--tape-edge);
  transform: rotate(-2.4deg);
  z-index: 3;
  box-shadow: 0 1px 3px rgba(23, 21, 15, .14);
}

.tilt-r.photo::before {
  transform: rotate(2.8deg)
}

/* ---------- masthead ---------- */
.masthead {
  padding: clamp(34px, 6vw, 70px) 0 clamp(30px, 5vw, 58px);
  padding-bottom: 0;
}

.masthead-grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  align-items: start;
}

.masthead-grid>.photo-lead {
  grid-column: 1;
  grid-row: 1
}

.masthead-grid>.masthead-copy {
  grid-column: 2;
  grid-row: 1 / span 2
}

.masthead-grid>.masthead-note {
  grid-column: 1;
  grid-row: 2
}

.photo-lead img {
  aspect-ratio: 4/5
}

.masthead-copy {
  padding-top: .6rem;
  container-type: inline-size
}

.hand-top {
  margin-bottom: .4rem;
  color: var(--ink-faint)
}

.name-plate {
  font-family: var(--serif);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  font-size: clamp(2.6rem, 8cqw, 7.4rem);
  line-height: .9;
  letter-spacing: .06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 3px 3px 0 rgba(224, 87, 77, .16);
}

.role-line {
  font-family: var(--serif);
  font-size: clamp(.98rem, 2vw, 1.1rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: .7rem 0 1.1rem;
  color: var(--ink);
}

.role-line span {
  color: var(--red);
  margin: 0 .35rem
}

.lede {
  font-size: 1.03rem;
  max-width: 56ch;
  color: var(--ink-soft)
}

.mast-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.2rem
}

.btn-ink {
  display: inline-block;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  padding: .72rem 1.5rem;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 4px 4px 0 rgba(224, 87, 77, .55);
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-ink:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(224, 87, 77, .6);
  color: var(--paper)
}

.link-hand {
  font-family: var(--hand);
  font-size: 1.28rem;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(224, 87, 77, .45);
}

.link-hand:hover {
  color: var(--red);
  border-bottom-style: dashed
}

.masthead-note {
  margin-top: 1.4rem
}

.masthead-note .hand {
  color: var(--ink)
}

.strip {
  margin-top: clamp(28px, 4vw, 50px);
  padding: .8rem 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: clamp(.66rem, .55vw + .25rem, .8rem);
  line-height: 1.5;
}

.strip-viewport {
  --edge: clamp(16px, 5vw, 64px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent);
}

.strip-track {
  display: flex;
  width: max-content;
}

.strip-lane {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.strip span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 800;
}

.strip span::after {
  content: "\2737";
  margin: 0 .75rem;
  color: var(--red);
  letter-spacing: 0;
  font-size: .9em;
}

.strip-track[data-marquee="on"] {
  animation: strip-scroll var(--marquee-duration, 40s) linear infinite;
  will-change: transform;
}

.strip:hover .strip-track[data-marquee="on"],
.strip:focus-within .strip-track[data-marquee="on"] {
  animation-play-state: paused
}

@keyframes strip-scroll {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-50%, 0, 0)
  }
}

/* without the script there is a single lane, so let it wrap instead of overflow */
.strip-track:not([data-marquee="on"]) {
  width: 100%
}

.strip-track:not([data-marquee="on"]) .strip-lane {
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: .45rem;
  padding: 0 1rem;
}

.strip-track:not([data-marquee="on"]) span:last-child::after {
  content: none
}

@media (max-width:640px) {
  .strip {
    letter-spacing: .12em;
  }

  .strip span::after {
    margin: 0 .5rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  .strip-track[data-marquee="on"] {
    animation: none
  }

  .strip-viewport {
    overflow-x: auto
  }
}

@media (max-width:1140px) {
  .masthead-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr)
  }

  .masthead-grid>.masthead-note {
    grid-column: 1/-1;
    grid-row: auto;
    max-width: 420px
  }

  .masthead-grid>.masthead-copy {
    grid-row: 1
  }
}

@media (max-width:680px) {
  .masthead {
    padding-top: clamp(24px, 7vw, 46px)
  }

  .masthead-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 5vw, 30px);
  }

  /* these have to out-weigh the two-column placement rules above, or the copy
     stays parked in a zero-width second column */
  .masthead-grid>.photo-lead,
  .masthead-grid>.masthead-copy,
  .masthead-grid>.masthead-note {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
  }

  .photo-lead {
    width: min(290px, 80%);
    margin-inline: auto;
  }

  .masthead-copy {
    padding-top: 0
  }

  .name-plate {
    font-size: clamp(2.1rem, 12cqw, 3.6rem);
    letter-spacing: .04em;
    -webkit-text-stroke-width: 1.1px;
    text-shadow: 2px 2px 0 rgba(224, 87, 77, .16);
    overflow-wrap: break-word;
  }

  .role-line {
    font-size: .88rem;
    letter-spacing: .09em;
    line-height: 1.55;
    margin: .65rem 0 .9rem;
  }

  .lede {
    font-size: .98rem
  }

  .mast-actions {
    gap: .9rem;
    margin-top: 1.1rem;
  }

  .masthead-grid>.masthead-note {
    margin-top: .4rem
  }
}

/* ---------- 01 about ---------- */
.about-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 46px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr)
}

.about-intro p {
  font-size: 1.02rem;
  color: var(--ink-soft)
}

.evolution {
  display: grid;
  gap: 1.1rem
}

.evolution .card::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 18px;
  width: 18px;
  height: 18px;
  background: var(--red);
  opacity: .18;
  border-radius: 50%;
}

@media (max-width:860px) {
  .about-grid {
    grid-template-columns: 1fr
  }
}

/* ---------- 02 clients ---------- */
.map-card {
  padding: clamp(16px, 2.6vw, 30px);
  border: 1px solid rgba(23, 21, 15, .12)
}

.world-map {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.world-map img {
  width: 100%;
  aspect-ratio: 2048 / 996.796;
  opacity: .82;
  filter: sepia(.16)
}

/* every pin sits on its exact projected coordinate (--x / --y) */
.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
  z-index: 2;
}

.pin i {
  position: absolute;
  left: 0;
  top: 0;
  translate: -50% -50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 87, 77, .22);
  transition: scale .25s ease, box-shadow .25s ease;
}

/* generous hit area without moving the dot */
.pin i::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
}

.pin b {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(.5rem, .56vw, .64rem);
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper-2);
  padding: .1rem .38rem;
  border: 1px solid rgba(23, 21, 15, .16);
  box-shadow: 0 1px 0 rgba(23, 21, 15, .06);
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}

.pin[data-anchor="above"] b {
  translate: -50% calc(-100% - 11px)
}

.pin[data-anchor="below"] b {
  translate: -50% 11px
}

.pin[data-anchor="left"] b {
  translate: calc(-100% - 12px) -50%
}

.pin[data-anchor="right"] b {
  translate: 12px -50%
}

.pin[data-label="always"] b {
  opacity: 1
}

.pin.is-active {
  z-index: 6
}

.pin.is-active i {
  scale: 1.35;
  box-shadow: 0 0 0 6px rgba(224, 87, 77, .26)
}

.pin.is-active b {
  opacity: 1;
  color: #fff;
  background: var(--red);
  border-color: var(--red)
}

/* the seven Indian cities sit inside a couple of degrees, so the map
   carries one cluster label and the list below names them */
.map-cluster {
  position: absolute;
  transition: opacity .22s ease;
  left: var(--x);
  top: var(--y);
  translate: 0 -50%;
  text-align: left;
  line-height: 1.15;
  pointer-events: none;
}

.map-cluster::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: clamp(12px, 1.8vw, 26px);
  border-top: 1px dashed rgba(224, 87, 77, .75);
}

/* one city label at a time — the cluster note steps out of the way */
.world-map.is-probing .map-cluster {
  opacity: 0
}

.map-cluster b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(.62rem, .8vw, .9rem);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.map-cluster small {
  display: block;
  font-family: var(--hand);
  font-size: clamp(.7rem, .9vw, 1rem);
  color: var(--red)
}

.map-scribble {
  margin-top: .9rem;
  text-align: right;
  transform: rotate(-1.4deg)
}

.market-split {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: clamp(26px, 3.5vw, 44px)
}

.market-split h3 span {
  display: block;
  font-family: var(--hand);
  font-size: 1.2rem;
  color: var(--red);
  text-transform: lowercase;
  letter-spacing: 0
}

.city-list {
  list-style: none;
  margin: .7rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .45rem;
}

.city {
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: .05em;
  padding: .08rem .5rem;
  border: 1px solid rgba(23, 21, 15, .18);
  background: rgba(255, 253, 247, .78);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.city:hover,
.city.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff
}

/* ---------- client logo marquee ---------- */
.logo-marquee {
  --edge: clamp(24px, 6vw, 90px);
  margin-top: clamp(26px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
  padding: clamp(10px, 1.5vw, 20px) 0;
  /* background: var(--paper-2); */
  /* border-top: 1px solid rgba(23, 21, 15, .14); */
  /* border-bottom: 1px solid rgba(23, 21, 15, .14); */
  /* box-shadow: var(--shadow-s); */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent);
}

.logo-track {
  display: flex;
  width: max-content;
}

.logo-lane {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.6vw, 58px);
  padding: 0 clamp(13px, 1.8vw, 29px);
  margin: 0;
  list-style: none;
}

.logo-cell {
  flex: 0 0 auto;
  width: clamp(88px, 10vw, 132px);
}

.logo-cell img {
  width: 100%;
  height: auto;
  /* filter: grayscale(1); */
  opacity: 1;
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}

.logo-cell:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.07)
}

.logo-track[data-marquee="on"] {
  animation: logo-scroll var(--marquee-duration, 70s) linear infinite;
}

.logo-marquee:hover .logo-track[data-marquee="on"],
.logo-marquee:focus-within .logo-track[data-marquee="on"] {
  animation-play-state: paused
}

@keyframes logo-scroll {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-50%, 0, 0)
  }
}

/* without the script there is a single lane, so let it wrap instead of overflow */
.logo-track:not([data-marquee="on"]) {
  width: auto
}

.logo-track:not([data-marquee="on"]) .logo-lane {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: clamp(18px, 2.4vw, 34px)
}

@media (prefers-reduced-motion:reduce) {
  .logo-track[data-marquee="on"] {
    animation: none
  }

  .logo-marquee {
    overflow-x: auto
  }
}

@media (max-width:760px) {

  .pin b {
    opacity: 0
  }

  .pin.is-active b {
    opacity: 1
  }

  .map-cluster small {
    display: none
  }
}

/* ---------- 03 web projects ---------- */
.feature-intro {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr);
  align-items: end;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.feature-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem
}

.cue {
  font-family: var(--hand);
  font-size: 1.25rem;
  color: var(--red)
}

@media (max-width:760px) {
  .feature-intro {
    grid-template-columns: 1fr
  }
}

.tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.6vw, 34px)
}

.tile {
  grid-column: span 5;
  margin: 0
}

.tile-wide {
  grid-column: span 7
}

@media (max-width:900px) {

  .tile,
  .tile-wide {
    grid-column: span 12
  }
}

.tile-btn {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(23, 21, 15, .13);
  padding: 12px 12px 0;
  transition: transform .22s ease, box-shadow .22s ease;
}

.tile-btn img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(.92)
}

.tile-meta {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--paper-2);
  padding: .2rem .6rem;
  border: 1px solid rgba(23, 21, 15, .16);
}

.tile-meta b {
  font-family: var(--hand);
  color: var(--red);
  font-size: 1.15rem
}

.tile-meta i {
  font-style: normal;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

.tile-body {
  display: block;
  padding: .85rem .35rem 1.1rem
}

.tile-body strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.1;
}

.tile-body em {
  display: block;
  font-style: normal;
  font-family: var(--hand);
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin: .15rem 0 .5rem
}

.tile-body u {
  text-decoration: none;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: .15rem;
}

.tile-btn:hover,
.tile-btn:focus-visible {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: var(--shadow-m)
}

.tile:hover {
  z-index: 4
}

/* ---------- 04 process ---------- */
.process-top {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .75fr);
  align-items: start;
  margin-bottom: clamp(30px, 4vw, 54px);
}

.process-top p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0
}

.process-top blockquote {
  margin: .3rem 0 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.4;
}

@media (max-width:820px) {
  .process-top {
    grid-template-columns: 1fr
  }
}

.flow {
  position: relative;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 7vw, 110px)
}

.flow::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 0;
  border-left: 2px dashed rgba(23, 21, 15, .28);
}

.flow-step {
  position: relative;
  grid-column: 1;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  background: var(--paper-2);
  border: 1px solid rgba(23, 21, 15, .16);
  box-shadow: var(--shadow-s);
  padding: .8rem 1rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  transform: rotate(-.5deg);
}

.flow-step:nth-child(even) {
  grid-column: 2;
  justify-self: start;
  transform: rotate(.6deg)
}

.flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(20px, 5vw, 58px);
  height: 0;
  border-top: 2px dashed rgba(23, 21, 15, .28);
}

.flow-step::before {
  content: "";
  position: absolute;
  top: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  z-index: 2;
}

.flow-step:nth-child(odd)::after {
  right: calc(-1 * clamp(20px, 5vw, 58px))
}

.flow-step:nth-child(odd)::before {
  right: calc(-1 * clamp(26px, 5.6vw, 64px))
}

.flow-step:nth-child(even)::after {
  left: calc(-1 * clamp(20px, 5vw, 58px))
}

.flow-step:nth-child(even)::before {
  left: calc(-1 * clamp(26px, 5.6vw, 64px))
}

.fnum {
  font-family: var(--hand);
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1.1
}

.flow-step strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.15
}

.flow-step small {
  display: block;
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.5
}

.flow-step[data-phase]::marker {
  content: none
}

.flow-step.is-gate {
  background: #fff4f2;
  border-color: rgba(224, 87, 77, .5);
  border-style: dashed
}

.flow-step.is-gate .fnum {
  color: var(--red)
}

.gate {
  position: absolute;
  top: -12px;
  right: 12px;
  font-family: var(--hand);
  font-size: 1.05rem;
  background: var(--red);
  color: #fff;
  padding: 0 .55rem;
  border-radius: 20px;
  transform: rotate(-3deg);
}

.flow-step.is-launch {
  background: var(--yellow);
  border-color: rgba(23, 21, 15, .3)
}

.flow-step.is-launch::after {
  border-top-style: solid
}

@media (max-width:900px) {
  .flow {
    grid-template-columns: 1fr;
    padding-left: 34px
  }

  .flow::before {
    left: 10px
  }

  .flow-step,
  .flow-step:nth-child(even) {
    grid-column: 1;
    justify-self: stretch;
    max-width: none
  }

  .flow-step::after,
  .flow-step:nth-child(odd)::after,
  .flow-step:nth-child(even)::after {
    left: -24px;
    right: auto;
    width: 22px
  }

  .flow-step::before,
  .flow-step:nth-child(odd)::before,
  .flow-step:nth-child(even)::before {
    left: -30px;
    right: auto
  }
}

.process-principles {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.process-principles span {
  font-family: var(--hand);
  font-size: 1.2rem;
  color: var(--ink-soft);
  background: var(--paper-2);
  border: 1px dashed rgba(23, 21, 15, .3);
  padding: .05rem .8rem;
  border-radius: 30px;
}

/* ---------- 05 content ---------- */
.content-grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 46px);
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start
}

/* taller than the generic 21/9 slider crop — this one stands next to a
   column of cards, not spanning the full section width */
.content-grid .slide img {
  aspect-ratio: 0;
}

@media (max-width:860px) {
  .content-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .content-grid .slide img {
    aspect-ratio: 4/3
  }
}

/* the slider reuses .photo for its tape/border/shadow/figcaption chrome —
   only the parts specific to a scroller live here */
.content-slider {
  width: 100%;
}

.slider-viewport {
  position: relative;
}

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 21, 15, .18);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-s);
  transition: background .18s ease, transform .18s ease;
  z-index: 4;
}

.slider-nav:hover {
  background: var(--yellow);
  /* transform: translateY(-52%); */
}

.slider-prev {
  left: 12px
}

.slider-next {
  right: 12px
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  display: flex;
  gap: .5rem;
  z-index: 4;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--red);
  border-color: var(--red)
}

/* one image (or no JS): plain photo, no scroller chrome */
.content-slider:not([data-slider="on"]) .slider-nav,
.content-slider:not([data-slider="on"]) .slider-dots {
  display: none
}

.formats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr))
}

.formats .card:nth-child(odd) {
  transform: rotate(-.7deg)
}

.formats .card:nth-child(even) {
  transform: rotate(.8deg)
}

.wide-note {
  margin-top: 1.6rem;
  font-size: 1.35rem
}

@media (max-width:640px) {
  .slide img {
    aspect-ratio: 4/3
  }

  .slider-nav {
    width: 34px;
    height: 34px;
    font-size: 1.15rem
  }

  .slider-prev {
    left: 8px
  }

  .slider-next {
    right: 8px
  }
}

/* ---------- 06 servicing / shared split ---------- */
.split {
  display: grid;
  gap: clamp(24px, 3.6vw, 50px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start
}

.split-flip {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr)
}

.split-copy p {
  color: var(--ink-soft)
}

.split .photo img {
  aspect-ratio: 3/2
}

@media (max-width:860px) {

  .split,
  .split-flip {
    grid-template-columns: 1fr
  }

  .split-flip .photo {
    order: 2
  }
}

.relations {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem
}

.relations li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-top: 1px dashed rgba(23, 21, 15, .22);
  padding-top: 1rem
}

.relations h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: .04em;
  margin-bottom: .2rem
}

.relations p {
  margin: 0;
  font-size: .94rem
}

/* ---------- 07 strategy ---------- */
.three-up {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 1.4rem 0
}

.three-up h3 {
  font-size: 1.35rem
}

.strategy-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem)
}

.strategy-cta .btn-ink {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.chain {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .95rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: .6rem 0;
  text-align: center;
}

.chain b {
  color: var(--red)
}

/* ---------- 08 leadership ---------- */
.lead-grid {
  display: grid;
  gap: clamp(24px, 3.6vw, 48px);
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start
}

.photo-tall img {
  aspect-ratio: 4/3
}

/* A restrained, centered career timeline: the role cards sit directly
   on a fine filled spine, keeping the progression calm and editorial. */
.career-timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 1.8rem 0 1rem;
}

.career-timeline::before {
  content: "";
  position: absolute;
  top: 1.85rem;
  bottom: 1.25rem;
  left: 50%;
  width: 2px;
  translate: -50% 0;
  background: linear-gradient(to top, rgba(224, 87, 77, .38), var(--red) 48%, var(--red));
}

.career-timeline::after {
  content: none;
}

.career-step {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 9px;
}

.career-step:not(.career-step-current)::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
  transform: translateX(-50%) rotate(45deg);
  z-index: 4;
}

.career-card {
  position: relative;
  z-index: 2;
  width: min(88%, 430px);
  padding: 1.15rem 1.4rem;
  text-align: center;
  background: rgba(255, 253, 247, .96);
  border: 1px solid rgba(23, 21, 15, .12);
  border-radius: 2px;
  box-shadow: 0 10px 28px -24px rgba(23, 21, 15, .65);
}

.career-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: .035em;
}

.career-node {
  position: absolute;
  top: 1px;
  left: 50%;
  width: 16px;
  height: 16px;
  translate: -50% 0;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--red);
  z-index: 3;
}

.career-step-current .career-node {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px rgba(224, 87, 77, .22);
}

.career-step-current .career-card {
  border-color: rgba(224, 87, 77, .42);
  box-shadow: 0 14px 34px -25px rgba(23, 21, 15, .85);
}

.career-status {
  display: inline-block;
  margin-bottom: .45rem;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}

.career-start {
  color: var(--ink-faint);
}

@media (max-width:860px) {
  .lead-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:560px) {
  .career-timeline {
    gap: 1.6rem;
  }

  .career-card {
    width: calc(100% - 1rem);
    padding: 1rem;
  }
}

/* ---------- 09 podcast ---------- */
/* the whole episode card is one slide; arrows straddle its side edges
   (half in, half out — same idea as the sketch) and the dots sit in a
   strip below, clear of the card so they never sit on top of the copy */
.pod-slider .slider-viewport {
  padding-bottom: 40px;
}

.pod-slider .slider-nav {
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
}

.pod-slider .slider-prev {
  left: 0;
  translate: -50% -50%;
}

.pod-slider .slider-next {
  right: 0;
  translate: 50% -50%;
}

.pod-slider .slider-dots {
  bottom: 6px;
}

.pod-slider .slider-dots button {
  background: rgba(23, 21, 15, .25);
  border-color: rgba(23, 21, 15, .35);
}

.pod-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid rgba(23, 21, 15, .14);
  align-items: center;
}

.pod-card figure {
  position: relative;
  margin: 0
}

.pod-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%
}

.wave {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 38px
}

.wave i {
  display: block;
  width: 5px;
  background: #191313;
  opacity: .9;
  animation: bounce 1.5s ease-in-out infinite
}

.wave i:nth-child(1) {
  height: 40%;
  animation-delay: 0s
}

.wave i:nth-child(2) {
  height: 78%;
  animation-delay: .12s
}

.wave i:nth-child(3) {
  height: 52%;
  animation-delay: .24s
}

.wave i:nth-child(4) {
  height: 96%;
  animation-delay: .36s
}

.wave i:nth-child(5) {
  height: 44%;
  animation-delay: .48s
}

.wave i:nth-child(6) {
  height: 70%;
  animation-delay: .6s
}

.wave i:nth-child(7) {
  height: 34%;
  animation-delay: .72s
}

@keyframes bounce {

  0%,
  100% {
    transform: scaleY(.55)
  }

  50% {
    transform: scaleY(1)
  }
}

@media (prefers-reduced-motion:reduce) {
  .wave i {
    animation: none
  }
}

.pod-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: .04em;
  margin: .6rem 0 .6rem
}

.pod-copy p {
  color: var(--ink-soft)
}

.pill {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: .25rem .7rem;
}

.pill-outline {
  background: transparent;
  color: var(--red);
  border: 1px dashed var(--red)
}

.soon {
  display: block;
  margin-top: .6rem;
  color: var(--red);
  font-size: 1.2rem
}

@media (max-width:800px) {
  .pod-card {
    grid-template-columns: 1fr
  }
}

/* ---------- 10 beyond KRA ---------- */
/* portrait "reel" cards — fixed-ish column width (not 1fr) so they stay a
   sensible phone-screen shape instead of stretching wide on a big monitor */
.reel-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 210px));
  /* justify-content: center; */
}

.reel-video {
  display: block;
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  background: #000;
}

/* ---------- 11 awards ---------- */
.award-fields {
  display: grid;
  gap: .55rem;
  margin: 1.2rem 0
}

.award-fields li {
  display: flex;
  gap: .8rem;
  align-items: baseline;
  border-bottom: 1px dashed rgba(23, 21, 15, .22);
  padding-bottom: .5rem;
  font-size: .95rem;
  color: var(--ink-soft)
}

.award-fields b {
  font-family: var(--hand);
  font-size: 1.3rem;
  color: var(--red)
}

/* ---------- 12 contact ---------- */
.sec-contact {
  padding-bottom: clamp(56px, 7vw, 100px)
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(22px, 3.4vw, 44px);
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid rgba(23, 21, 15, .14);
  align-items: center;
}

.contact-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: .03em;
  line-height: 1.15;
  margin-bottom: .7rem
}

.contact-copy p {
  color: var(--ink-soft)
}

.contact-list {
  display: grid;
  gap: .55rem;
  margin: 1.2rem 0
}

.contact-list li {
  display: flex;
  gap: .9rem;
  align-items: baseline;
  border-bottom: 1px dashed rgba(23, 21, 15, .22);
  padding-bottom: .45rem
}

.contact-list .hand {
  min-width: 5.5rem;
  font-size: 1.15rem
}

.contact-list a {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: .05em;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
}

.contact-list a:hover {
  border-bottom-color: var(--red)
}

@media (max-width:800px) {
  .contact-card {
    grid-template-columns: 1fr
  }
}

/* ---------- footer ---------- */
.site-foot {
  position: relative;
  z-index: 1;
  border-top: 2px solid var(--ink);
  padding: 1.6rem 0 2.4rem;
  margin-top: 2rem
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  align-items: center;
  justify-content: space-between
}

.foot-inner p {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

.foot-fine {
  margin-top: 1rem
}

.foot-fine p {
  font-size: .74rem;
  color: var(--ink-faint);
  margin: 0
}

.foot-fine a {
  color: var(--ink-faint)
}

/* ---------- story modal ---------- */
.story-modal .modal-dialog {
  max-width: min(1120px, 94vw)
}

.story-panel {
  background: var(--paper-2);
  border: 1px solid rgba(23, 21, 15, .2);
  border-radius: 2px;
  box-shadow: 0 40px 90px -40px rgba(23, 21, 15, .8);
  background-image: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(211, 224, 239, .5) 33px 34px);
  max-height: 92vh;
}

.story-modal .modal-body {
  overflow-y: auto
}

.story-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.2rem clamp(16px, 2.6vw, 32px) .8rem;
  border-bottom: 1px solid rgba(23, 21, 15, .15);
}

.story-sector {
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red)
}

.story-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: .2rem
}

.story-head p {
  margin: .25rem 0 0;
  font-family: var(--hand);
  font-size: 1.25rem;
  color: var(--ink-soft)
}

.story-close {
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--hand);
  font-size: 1.15rem;
  padding: .05rem .8rem;
  border-radius: 22px;
  cursor: pointer;
  white-space: nowrap;
}

.story-close:hover {
  background: var(--ink);
  color: var(--paper)
}

.story-progress {
  height: 4px;
  background: rgba(23, 21, 15, .1)
}

.story-progress span {
  display: block;
  height: 100%;
  width: 16%;
  background: var(--red);
  transition: width .3s ease
}

.story-modal .modal-body {
  padding: clamp(16px, 2.6vw, 32px)
}

.story-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(18px, 2.8vw, 36px);
  align-items: center
}

.story-figure {
  margin: 0;
  position: relative;
  background: var(--paper-2);
  padding: 10px 10px 0;
  border: 1px solid rgba(23, 21, 15, .12);
  box-shadow: var(--shadow-s);
  transform: rotate(-.8deg)
}

.story-figure img {
  width: 100%;
  /* aspect-ratio: 16/10; */
  object-fit: cover
}

.story-figure figcaption {
  font-family: var(--hand);
  font-size: 1.1rem;
  color: var(--ink-faint);
  padding: .4rem .2rem .6rem;
  text-align: center
}

.slide-count {
  font-family: var(--hand);
  font-size: 1.3rem;
  color: var(--ink-faint);
  margin-bottom: .2rem
}

.slide-count i {
  color: var(--red);
  font-style: normal
}

.slide-stage {
  font-size: 1.35rem;
  margin-bottom: .2rem
}

.story-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: .03em;
  line-height: 1.15;
  margin-bottom: .5rem
}

.slide-text {
  color: var(--ink-soft)
}

.slide-artifact {
  margin: 1rem 0 0;
  border-top: 1px dashed rgba(23, 21, 15, .25);
  padding-top: .7rem
}

.slide-artifact span {
  display: block;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint)
}

.slide-artifact strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .04em
}

.story-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: .9rem clamp(16px, 2.6vw, 32px) 1.2rem;
  border-top: 1px solid rgba(23, 21, 15, .15);
}

.dots {
  display: flex;
  gap: .45rem
}

.dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.dots button[aria-current="true"] {
  background: var(--red);
  border-color: var(--red)
}

.story-controls {
  display: flex;
  gap: .6rem
}

.story-controls button {
  font-family: var(--hand);
  font-size: 1.25rem;
  border: 1px solid var(--ink);
  background: transparent;
  padding: .05rem 1rem;
  border-radius: 24px;
  cursor: pointer;
}

.story-controls button:hover:not(:disabled) {
  background: var(--yellow)
}

.story-controls button:disabled {
  opacity: .35;
  cursor: not-allowed
}

@media (max-width:820px) {
  .story-slide {
    grid-template-columns: 1fr
  }
}

/* ---------- reveal ---------- */
/* uses `translate` (not `transform`) so page tilts are preserved */
.js .reveal {
  opacity: 0;
  translate: 0 20px;
  transition: opacity .6s ease, translate .6s ease
}

.js .reveal.in {
  opacity: 1;
  translate: 0 0
}

@media (prefers-reduced-motion:reduce) {
  .js .reveal {
    opacity: 1;
    translate: 0 0;
    transition: none
  }
}
figure.photo.reel-card.tilt-l.reveal.in {
    padding: 12px 12px 12px;
}

/* ---------- responsive rhythm + layout safeguards ---------- */
/* Shared spacing is intentionally controlled here so every chapter keeps
   the same visual rhythm without changing its individual composition. */
.sec-feature,
.sec-contact {
  padding-bottom: var(--section-y);
}

.sec > .sheet,
.masthead > .sheet,
.sec-head,
.about-grid,
.market-split,
.feature-intro,
.tiles,
.process-top,
.flow,
.content-grid,
.split,
.lead-grid,
.pod-card,
.contact-card {
  min-width: 0;
}

.sec-title,
.name-plate,
.tile-body strong,
.career-card h3,
.pod-copy h3,
.contact-copy h3 {
  overflow-wrap: anywhere;
}

@media (max-width:900px) {
  :root {
    --section-y: 64px;
    --section-head-gap: 34px;
  }

  .sheet {
    padding-right: clamp(18px, 4vw, 32px);
  }

  .sec-title {
    font-size: clamp(2rem, 7vw, 3.25rem);
    letter-spacing: .1em;
  }

  .sec-feature,
  .sec-contact {
    padding-bottom: var(--section-y);
  }
}

@media (max-width:640px) {
  :root {
    --margin-x: 20px;
    --section-y: 48px;
    --section-head-gap: 26px;
  }

  html {
    scroll-padding-top: 66px;
  }

  body {
    font-size: 15px;
    line-height: 1.65;
  }

  .sheet {
    width: 100%;
    padding-left: 42px;
    padding-right: 16px;
  }

  .paper-margin {
    left: var(--margin-x);
  }

  .sec-title {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
    letter-spacing: .075em;
    line-height: 1.05;
  }

  .sec-head::after {
    width: min(280px, 86%);
  }

  .sec-num {
    font-size: 1.35rem;
    margin-bottom: .5rem;
  }

  .masthead {
    padding-top: 34px;
  }

  .strip {
    margin-top: 28px;
  }

  .strip span {
    font-size: 14px;
  }

  .card,
  .note {
    padding: 1rem;
  }

  .market-split,
  .formats,
  .three-up,
  .reel-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tiles,
  .flow,
  .career-timeline,
  .pod-card,
  .contact-card {
    gap: 1.25rem;
  }

  .tile-btn,
  .photo,
  .map-card,
  .pod-card,
  .contact-card {
    max-width: 100%;
  }

  .tile-meta {
    top: 18px;
    left: 18px;
  }

  .tile-body strong {
    font-size: clamp(1.35rem, 8vw, 1.8rem);
  }

  .slider-nav {
    width: 36px;
    height: 36px;
  }

  .contact-list li,
  .foot-inner,
  .story-foot {
    align-items: flex-start;
  }

  .contact-list li {
    flex-wrap: wrap;
    gap: .15rem .7rem;
  }

  .contact-list .hand {
    min-width: 100%;
  }

  .contact-list a {
    overflow-wrap: anywhere;
  }

  .site-foot {
    margin-top: 0;
  }
}

@media (max-width:380px) {
  :root {
    --margin-x: 14px;
    --section-y: 42px;
  }

  .sheet {
    padding-left: 32px;
    padding-right: 12px;
  }

  .sec-title {
    font-size: 1.82rem;
    letter-spacing: .055em;
  }

  .btn-ink {
    width: 100%;
    padding-inline: 1rem;
    text-align: center;
  }

  .story-controls {
    width: 100%;
  }

  .story-controls button {
    flex: 1;
  }
}
