@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("fonts/alte_haas_grotesk/AlteHaasGroteskRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("fonts/alte_haas_grotesk/AlteHaasGroteskBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #faf9f5;
  --ink: #191b19;
  --muted: #595954;
  --line: #c7c4ba;
  --hero-bg: #101010;
  --hero-ink: #f0eee9;
  --hero-ink-strong: #f5f3ee;
  --hero-muted: #cfcdc6;
  --cta-bg: #050505;
  --cta-accent: #d45a42;
  --danger: #b42318;
  --danger-text: #a61b1b;
  --focus-light: #191b19;
  --focus-dark: #f0eee9;
  --page-gutter: clamp(20px, 3.4vw, 68px);
  --content-max: 2000px;
  --header-h: 64px;
  --font-serif: "Alte Haas Grotesk", Arial, sans-serif;
  --font-index: "Alte Haas Grotesk", Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--font-index);
  letter-spacing: -.045em;
  word-spacing: -.05em;
  overflow-x: clip;
  accent-color: var(--ink);
}
body:has(dialog[open]) {
  overflow: hidden;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
.portrait-hero ::selection,
.project-cta ::selection,
.site-header:not(.is-light) ::selection {
  background: var(--hero-ink-strong);
  color: var(--hero-bg);
}

a { color: inherit; }
button, textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
textarea { caret-color: var(--ink); }
a, button, summary, input, textarea, select, [role="button"] {
  touch-action: manipulation;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Unified high-contrast focus outlines per surface */
:is(a, button, textarea):focus-visible {
  outline: 3px solid var(--focus-light);
  outline-offset: 4px;
}
.site-header:not(.is-light) :is(a, button):focus-visible,
.portrait-hero :is(a, button):focus-visible,
.project-cta :is(a, button):focus-visible {
  outline: 3px solid var(--focus-dark);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  z-index: 200;
}
.skip:focus-visible {
  left: max(16px, env(safe-area-inset-left));
  top: max(16px, env(safe-area-inset-top));
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  clip-path: none;
  opacity: 1;
  pointer-events: auto;
}

/* Composited scroll reveal (never hides controls from Tab order) */
.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-visible {
  opacity: 1;
  transform: none;
  transition: opacity .48s cubic-bezier(.24, .86, .22, 1), transform .48s cubic-bezier(.24, .86, .22, 1);
}
.reveal-instant {
  transition: none !important;
}
.ink-pending,
.card-ink-pending {
  opacity: 0;
}
.ink-line {
  display: block;
}
.ink-inline,
.pill-label,
.social-label {
  display: inline-block;
}

.wrap {
  position: relative;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right));
}

/* Anchor offsets: #work lands flush under sticky header; inner blocks keep breathing room */
#cards { scroll-margin-top: 16px; }
#contact { scroll-margin-top: 20px; }

/* Hero (full-bleed surface without 100vw scrollbar shift, aligned to content max-width) */
.hero.portrait-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  isolation: isolate;
  background: var(--hero-bg);
  color: var(--hero-ink);
  padding-top: clamp(88px, 10svh, 118px);
  padding-bottom: clamp(32px, 4.5svh, 52px);
  padding-left: max(clamp(24px, 5.4vw, 84px), env(safe-area-inset-left));
  padding-right: max(clamp(24px, 5.4vw, 84px), env(safe-area-inset-right));
}
.portrait-hero-inner {
  width: 100%;
  flex: 1;
  max-width: var(--content-max);
  margin-inline: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(240px, 286px) minmax(220px, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: 20px;
  align-items: start;
}
.portrait-expertise {
  grid-column: 1;
  grid-row: 1;
  padding-top: clamp(12px, 5vh, 52px);
  letter-spacing: -.045em;
  word-spacing: -.05em;
  filter: url(#ink-bleed-xs);
  z-index: 4;
}
.portrait-expertise > span {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--hero-muted);
}
.portrait-expertise ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.55;
}
.portrait-photo {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  justify-self: center;
  width: 100%;
  max-width: 286px;
  min-height: 430px;
  overflow: hidden;
  background: var(--hero-bg);
  z-index: 1;
}
.portrait-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--hero-bg) 0%, rgba(16, 16, 16, .84) 30%, rgba(16, 16, 16, 0) 66%),
    linear-gradient(to right, var(--hero-bg) 0%, transparent 10%, transparent 90%, var(--hero-bg) 100%);
  pointer-events: none;
}
.portrait-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: grayscale(1) contrast(1.04);
  mix-blend-mode: lighten;
}
.portrait-bio {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  max-width: 260px;
  padding-bottom: 16px;
  font-size: 15px;
  line-height: 1.48;
  letter-spacing: -.045em;
  word-spacing: -.05em;
  color: var(--hero-ink);
  filter: url(#ink-bleed-xs);
  z-index: 4;
}
.hero .portrait-name {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  margin: 0;
  font: 700 clamp(72px, 12.2vw, 224px)/.94 var(--font-index);
  letter-spacing: -.08em;
  word-spacing: -.06em;
  color: var(--hero-ink-strong);
  z-index: 3;
  text-wrap: initial;
  filter: url(#ink-bleed-xl);
}
.portrait-name > span {
  display: block;
}
.portrait-name > span + span { margin-left: clamp(0px, 16%, 220px); }
.portrait-name .name-line {
  display: block;
  transform: scaleX(.88);
  transform-origin: left center;
}

@media (max-width: 1023px) and (min-width: 640px) {
  .hero.portrait-hero {
    min-height: 100svh;
    padding-top: clamp(84px, 9svh, 104px);
    padding-bottom: clamp(32px, 4.5svh, 48px);
    padding-left: max(clamp(24px, 5vw, 48px), env(safe-area-inset-left));
    padding-right: max(clamp(24px, 5vw, 48px), env(safe-area-inset-right));
  }
  .portrait-hero-inner {
    min-height: 0;
    align-content: space-between;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
    grid-template-rows: auto auto auto;
    gap: 24px 32px;
  }
  .portrait-expertise {
    grid-column: 1;
    grid-row: 1;
    padding-top: 8px;
  }
  .portrait-bio {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    justify-self: start;
    max-width: 34ch;
    padding-bottom: 0;
  }
  .portrait-photo {
    grid-column: 2;
    grid-row: 1 / 3;
    aspect-ratio: 2 / 3;
    min-height: 0;
    max-height: 420px;
    align-self: start;
  }
  .portrait-photo::after {
    background:
      linear-gradient(to top, rgba(16, 16, 16, .68) 0%, transparent 45%),
      linear-gradient(to right, var(--hero-bg) 0%, transparent 8%, transparent 92%, var(--hero-bg) 100%);
  }
  .hero .portrait-name {
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: clamp(64px, 15.5vw, 140px);
    line-height: .94;
  }
  .portrait-name > span + span { margin-left: 10%; }
}

@media (max-width: 639px) {
:root { --header-h: 56px; }
  .hero.portrait-hero {
    min-height: 100svh;
    padding-top: 76px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .portrait-hero-inner {
    min-height: 0;
    align-content: space-between;
    grid-template-columns: minmax(120px, 1fr) minmax(136px, 44vw);
    grid-template-rows: auto auto auto;
    gap: 20px 16px;
  }
  .portrait-expertise {
    grid-column: 1;
    grid-row: 1;
    padding-top: 4px;
  }
  .portrait-expertise ul { font-size: 14px; }
  .portrait-photo {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 3 / 4;
    min-height: 0;
    max-width: 190px;
    justify-self: end;
    align-self: start;
  }
  .portrait-photo::after {
    background:
      linear-gradient(to top, rgba(16, 16, 16, .52) 0%, transparent 40%),
      linear-gradient(to right, var(--hero-bg) 0%, transparent 8%, transparent 92%, var(--hero-bg) 100%);
  }
  .portrait-bio {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    max-width: 36ch;
    padding-bottom: 0;
    font-size: 14px;
    line-height: 1.55;
  }
  .hero .portrait-name {
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: clamp(50px, 19vw, 90px);
    line-height: .94;
  }
  .portrait-name > span + span { margin-left: 0; }
}

/* Intro preloader -> Hero FLIP choreography (only active when JS enables .is-intro-active) */
html.is-intro-active,
html.is-intro-active body {
  overflow: hidden;
  background: var(--hero-bg);
}
html.is-intro-active .site-header {
  opacity: 0;
  transition: opacity .62s cubic-bezier(.32, .82, .22, 1) .18s;
}
html.is-intro-active .site-header .brand {
  opacity: 0;
}
html.is-intro-active .portrait-photo {
  opacity: 0;
}
/* Text stays hidden only until the ink reveal takes over (.ink-pending + inline opacity own it from then on).
   Keeping these rules during .is-intro-revealing made early-finishing lines blink back to 0 until the intro ended. */
html.is-intro-active:not(.is-intro-revealing) .site-header nav a,
html.is-intro-active:not(.is-intro-revealing) .portrait-name > span,
html.is-intro-active:not(.is-intro-revealing) .portrait-expertise > span,
html.is-intro-active:not(.is-intro-revealing) .portrait-expertise li,
html.is-intro-active:not(.is-intro-revealing) .portrait-bio {
  opacity: 0;
}
html.is-intro-revealing .portrait-hero {
  isolation: auto;
}
html.is-intro-revealing .portrait-name {
  position: relative;
  z-index: 70;
}
html.is-intro-revealing .site-header {
  opacity: 1;
}
html.is-intro-landed .portrait-photo,
html.is-intro-landed .site-header .brand {
  opacity: 1;
}
html.is-intro-landed body {
  overflow: auto;
}

.intro-stage {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: var(--hero-bg);
  overflow: hidden;
  transition: background-color .96s cubic-bezier(.38, 0, .16, 1);
}
.intro-stage.is-transparent {
  background: transparent;
  pointer-events: none;
}
.intro-line {
  position: absolute;
  width: 96px;
  height: 1.5px;
  background: var(--hero-ink-strong);
  transform-origin: center center;
  transform: scaleX(0);
  opacity: .92;
}
.intro-mark {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 5;
  margin: 0;
  font: 700 clamp(26px, 2.6vw, 36px)/.9 var(--font-index);
  letter-spacing: -.06em;
  color: var(--hero-ink-strong);
  transform: translate(-50%, -50%);
  clip-path: inset(100% 0 0 0);
  will-change: transform, clip-path;
}
.intro-cards {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  pointer-events: none;
}
.intro-side {
  position: absolute;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  will-change: transform, opacity, filter;
}
.intro-side > .visual {
  position: absolute;
  left: 0;
  top: 0;
  width: 448px;
  height: 592px;
  aspect-ratio: auto;
  border-radius: 0;
  transform: scale(var(--tile-scale, .25));
  transform-origin: 0 0;
  transition: none;
  filter: none;
  pointer-events: none;
}
/* Portrait-tile 3:4 framing for Interval inside intro strip */
.intro-side > .visual.tempo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 34px 28px 24px;
  gap: 14px;
}
.intro-side > .visual.tempo .appword {
  width: 100%;
  padding-top: 0;
  font-size: 32px;
}
.intro-side > .visual.tempo .phone {
  width: 74%;
}
.intro-portrait {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4;
  overflow: hidden;
  background: var(--hero-bg);
  opacity: 0;
  transform-origin: center center;
  will-change: transform, clip-path, opacity;
}
.intro-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--hero-bg) 0%, rgba(16, 16, 16, .84) 30%, rgba(16, 16, 16, 0) 66%),
    linear-gradient(to right, var(--hero-bg) 0%, transparent 10%, transparent 90%, var(--hero-bg) 100%);
  pointer-events: none;
}
.intro-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: grayscale(1) contrast(1.04);
  mix-blend-mode: lighten;
}
@media (prefers-reduced-motion: reduce) {
  .intro-stage { display: none !important; }
}

/* Work section */
#work {
  border: 0;
  background: var(--paper);
  margin-inline: calc(-1 * var(--page-gutter));
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(72px, 9vw, 120px);
  padding-left: max(var(--page-gutter), env(safe-area-inset-left));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right));
  color: var(--ink);
  container: work / inline-size;
}
.work-intro {
  position: relative;
  text-align: center;
  padding: 0 0 clamp(44px, 6vw, 72px);
}
.index-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -.01em;
}
.work-star {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(52px, 5vw, 76px);
  line-height: 1;
  margin-bottom: 18px;
}
.work-intro p {
  font: 400 clamp(13px, 1.15vw, 16px)/1.45 var(--font-index);
  letter-spacing: -.05em;
  word-spacing: -.05em;
  filter: url(#ink-bleed-xs);
}
.work-rule {
  display: block;
  width: 1px;
  height: clamp(64px, 9vw, 112px);
  background: currentColor;
  margin: 22px auto 28px;
}
#work .work-intro h2 {
  font: 700 clamp(48px, 14cqi, 200px)/.9 var(--font-index);
  letter-spacing: -.09em;
  word-spacing: -.06em;
  transform: scaleX(.86);
  transform-origin: center;
  filter: url(#ink-bleed-xl);
}
#work .work-intro h2 .index-serif {
  font-weight: 600;
  letter-spacing: 0;
  margin-right: .02em;
}
.work-jump {
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 3vw, 34px);
}
.work-explore-link {
  filter: url(#ink-bleed-xs);
}
.work-explore-link .work-link-label {
  display: inline-block;
  transform: scaleX(.92);
  transform-origin: left center;
  letter-spacing: -.05em;
  word-spacing: -.06em;
}
.work-explore-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 4px;
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 700;
  letter-spacing: -.055em;
  text-decoration: none;
}
.work-explore-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  opacity: .55;
  transition: opacity .25s ease, transform .28s cubic-bezier(.22, .61, .36, 1);
}
@media (hover: hover) and (pointer: fine) {
  .work-explore-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }
}
.work-explore-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}
.work-explore-link sup {
  font-size: .58em;
  vertical-align: super;
  letter-spacing: 0;
}

/* Cards grid */
#work .cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 88px 24px;
  align-items: start;
}
#work .project {
  position: relative;
  padding: 0;
  margin: 0;
  min-width: 0;
  text-align: left;
  border-radius: 4px;
  container: project / inline-size;
}
#work .project:first-child { grid-column: 3 / 11; }
#work .project:nth-child(2) { grid-column: 1 / 8; }
#work .project:nth-child(3) { grid-column: 9 / 13; }
#work .project:nth-child(4) { grid-column: 2 / 12; }
#work .project:nth-child(5) { grid-column: 1 / 6; }
#work .project:nth-child(6) { grid-column: 7 / 13; }

.visual-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  isolation: isolate;
}
.visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5;
  display: grid;
  place-items: center;
  isolation: isolate;
  container: card-art / inline-size;
  transition: transform .36s cubic-bezier(.22, 1, .36, 1), filter .34s cubic-bezier(.22, 1, .36, 1);
}
#work .project:first-child .visual { aspect-ratio: 1.55; }
#work .project:nth-child(3) .visual { aspect-ratio: 1.1; }
#work .project:last-child .visual { aspect-ratio: 1.5; }

.caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 12px;
}
.caption > div {
  min-width: 0;
}
.caption .meta {
  font: 12px/1.45 var(--font-index);
  letter-spacing: -.04em;
  color: var(--muted);
  margin-bottom: 2px;
  filter: url(#ink-bleed-xs);
}
.caption h3 {
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -.065em;
  word-spacing: -.05em;
  transform: scaleX(.9);
  transform-origin: left center;
  filter: url(#ink-bleed-sm);
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
  #work .project .visual-wrap:hover > .visual {
    transform: scale(1.022);
  }
  #work .project.is-lens-active .visual-wrap > .visual,
  #work .project .visual-wrap.is-lens-active > .visual {
    transform: scale(1.035);
    filter: blur(8px);
  }
}

.visual.cms-cover {
  background: #eae7dd;
}
.visual.cms-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
}
.work-lens-thumb .project-card-link {
  display: none;
}
.project-title-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: opacity .24s ease;
}
.project-title-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s cubic-bezier(.22, .88, .24, 1);
}
@media (hover: hover) and (pointer: fine) {
  .project-title-link:hover::after {
    transform: scaleX(1);
  }
}
.project-title-link:focus-visible::after {
  transform: scaleX(1);
}
.project-title-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 3px;
}

/* Floating cursor preview card inside each work visual (fine-pointer desktop only) */
.work-lens {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 224px;
  padding: 10px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  background: rgba(250, 249, 245, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(25, 27, 25, .1);
  box-shadow: 0 16px 36px rgba(16, 18, 16, .16), 0 2px 8px rgba(16, 18, 16, .08);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  contain: layout paint;
  transition: opacity .22s cubic-bezier(.22, 1, .36, 1);
}
.work-lens.is-active {
  opacity: 1;
}
.work-lens-thumb {
  position: relative;
  width: 102px;
  height: 68px;
  overflow: hidden;
  border-radius: 3px;
  contain: layout paint;
}
.work-lens-thumb > .visual {
  position: absolute;
  left: 0;
  top: 0;
  width: 680px;
  height: 453.33px;
  aspect-ratio: auto;
  border-radius: 0;
  transform: scale(.15);
  transform-origin: 0 0;
  filter: none;
  transition: none;
  pointer-events: none;
}
.work-lens-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-block: 1px;
}
.work-lens-index {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.work-lens-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.work-lens-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  word-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-lens-meta {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: -.01em;
  word-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .work-lens { display: none; }
}

/* Study artwork cards */
.folio {
  background: #b4bbaa;
  color: #24362a;
  padding: 4.5% 8%;
}
.editorial {
  background: #e8e5d9;
  width: 100%;
  padding: 4.2%;
  box-shadow: 0 15px 35px #14251c20;
}
.mocknav {
  font-size: clamp(10px, 2.1cqi, 18px);
  letter-spacing: -.05em;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.mocknav span {
  font: 400 clamp(7px, 1.25cqi, 11px)/1.3 var(--font-index);
  letter-spacing: -.03em;
  align-self: center;
}
.editorialtitle {
  font: 500 clamp(20px, 6.8cqi, 62px)/.96 var(--font-index);
  letter-spacing: -.07em;
  margin: 4% 0 3.5%;
}
.editorialtitle i { font-weight: 400; }
.editorial img {
  width: 100%;
  height: clamp(82px, 26cqi, 232px);
  object-fit: cover;
  background: #536350;
  filter: saturate(.55);
  display: block;
}
.mockfoot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font: 400 clamp(6px, 1.05cqi, 10px)/1.3 var(--font-index);
  margin-top: 3%;
}

/* Interval card */
.tempo {
  background: #bdc8d8;
  color: var(--ink);
  display: grid;
  grid-template-columns: 44% 46%;
  align-items: center;
  justify-content: space-between;
  gap: 4%;
  padding: 5% 6%;
  text-align: left;
}
.appword {
  font-size: clamp(15px, 4.7cqi, 38px);
  line-height: 1.06;
  letter-spacing: -.05em;
  align-self: start;
  padding-top: 3%;
  z-index: 2;
}
.appword i { font-weight: 400; }
.phone {
  position: relative;
  width: 100%;
  padding: 5.5% 5.5% 4.5%;
  border: max(3px, .55cqi) solid #24282c;
  background: #eaecee;
  color: #242b32;
  border-radius: clamp(14px, 3.4cqi, 24px);
  transform: rotate(2.5deg);
  transform-origin: center center;
  box-shadow: 10px 16px 28px #21364d36;
}
.island {
  position: absolute;
  top: 2.5%;
  left: 35%;
  width: 30%;
  height: clamp(4px, 1.1cqi, 8px);
  background: #24282c;
  border-radius: 12px;
}
.phonebar {
  font-size: clamp(7px, 1.25cqi, 10px);
  display: flex;
  justify-content: space-between;
  margin-bottom: 4.5%;
}
.phone > .meta {
  display: block;
  font-size: clamp(6px, 1.05cqi, 9px);
  letter-spacing: .08em;
}
.greeting {
  font-size: clamp(11px, 2.8cqi, 22px);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 3.5% 0 4.5%;
}
.timer {
  width: 52%;
  margin: 0 auto;
  aspect-ratio: 1;
  border: 1px solid #87939c;
  border-top: 3px solid #414d5b;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.timer strong {
  font-size: clamp(14px, 4cqi, 34px);
  font-weight: 400;
  line-height: 1;
}
.timer small { font-size: clamp(6px, .95cqi, 8px); }
.starttimer {
  background: #28313d;
  color: #ffffff;
  padding: 3.5% 6%;
  border-radius: 16px;
  font-size: clamp(7px, 1.25cqi, 10px);
  text-align: center;
  margin-top: 5%;
}
.apptabs {
  font-size: clamp(6px, .95cqi, 8px);
  text-align: center;
  margin-top: 4%;
}

/* Letterform card (WCAG AA contrast >= 5:1 for captions & display) */
.typeart {
  background: #bc3619;
  color: #f7ede0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15% 12% 11%;
}
.typeart strong {
  font-family: var(--font-index);
  font-weight: 700;
  line-height: .78;
  font-size: clamp(44px, 20.5cqi, 168px);
  letter-spacing: -.06em;
  text-align: left;
}
.typeart strong i { font-weight: 400; }
.typecaption {
  position: absolute;
  top: 5.5%;
  left: 6%;
  font: 500 clamp(9px, 1.9cqi, 12px)/1.2 var(--font-index);
  letter-spacing: .02em;
  z-index: 2;
}
.typecaption.right {
  top: auto;
  left: auto;
  right: 5.5%;
  bottom: 6%;
  writing-mode: vertical-rl;
}

.concept-cover {
  padding: 7%;
  align-content: space-between;
  justify-items: start;
  text-align: left;
}
.concept-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: clamp(11px, 2.2cqi, 15px);
  font-weight: 600;
}
.concept-top span {
  font-size: clamp(8px, 1.4cqi, 11px);
  font-weight: 400;
}
.concept-cover > strong {
  position: relative;
  z-index: 1;
  font: 700 clamp(26px, 8.6cqi, 74px)/.98 var(--font-index);
  letter-spacing: -.07em;
}
.concept-cover > small {
  font-size: clamp(8px, 1.5cqi, 11px);
  z-index: 1;
}
.architecture { background: #d8d1c2; color: #363b31; }
.architecture-window {
  position: absolute;
  right: 10%;
  top: 24%;
  width: 35%;
  height: 76%;
  border-radius: 48% 48% 0 0;
  background: linear-gradient(110deg, #5d6850, #b1b99b 46%, #d9ddc7 47%, #90977a);
  box-shadow: -20px 12px 35px #514b3c22;
}
.coffee { background: #711e24; color: #f9dfb4; }
.coffee-pack {
  position: absolute;
  right: 9%;
  bottom: 10%;
  width: 29%;
  height: 48%;
  background: #edd6ad;
  color: #72272b;
  transform: rotate(9deg);
  padding: 7% 3%;
  font-size: clamp(10px, 2.5cqi, 22px);
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 14px 20px 25px #29080c44;
}
.coffee-pack small { display: block; margin-top: 22%; font-size: clamp(6px, 1.2cqi, 9px); }

/* Wayfarer card: docked bottom sheet so footer CTA never clips at any viewport */
.travel {
  background: #c6dadd;
  color: #203c42;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 6% 7% 0;
}
.travel-screen {
  background: #f8f6ed;
  width: 64%;
  margin: 4% auto 0;
  padding: 5.5% 6.5% 5%;
  border-radius: clamp(14px, 3cqi, 22px) clamp(14px, 3cqi, 22px) 0 0;
  box-shadow: 0 12px 40px #23444a22;
}
.travel-screen strong {
  display: block;
  font: 700 clamp(17px, 5.4cqi, 34px)/1.05 var(--font-index);
  letter-spacing: -.06em;
  margin: 6px 0 8px;
}
.travel-screen small,
.travel-screen p {
  font-size: clamp(8px, 1.65cqi, 11px);
  line-height: 1.3;
}
.travel-landscape {
  height: clamp(46px, 15cqi, 96px);
  border-radius: 70px 70px 0 0;
  background: linear-gradient(150deg, #cad9cc 30%, #7a9c7b 31% 50%, #37574b 51% 70%, #9cae7c 71%);
  margin-bottom: 8px;
}

/* Contact CTA */
.project-cta {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--cta-bg);
  color: #ffffff;
  border-radius: 22px;
  margin: 24px 0 clamp(40px, 5.5svh, 72px);
  min-height: 80svh;
  display: grid;
  place-items: center;
  padding: clamp(48px, 7svh, 88px) 24px;
}
.cta-content {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 100%;
  text-align: center;
  padding: 20px 28px;
}
.project-cta h2 {
  font: 700 clamp(38px, 6.8vw, 102px)/.96 var(--font-index);
  letter-spacing: -.085em;
  word-spacing: -.06em;
  transform: scaleX(.88);
  transform-origin: center;
  margin: 0 0 clamp(28px, 4.5vw, 44px);
  filter: url(#ink-bleed);
}
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 44px;
  padding: 13px 26px;
  border: 0;
  border-radius: 40px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  background-color: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .18s ease 0s, color .32s cubic-bezier(.34, 0, .14, 1), transform .36s cubic-bezier(.22, .88, .24, 1);
}
.cta-button::before {
  content: "";
  position: absolute;
  left: var(--ink-x, 50%);
  top: var(--ink-y, 50%);
  width: 260%;
  aspect-ratio: 1;
  background: #050505;
  border-radius: 44% 56% 52% 48% / 48% 44% 56% 52%;
  transform: translate(-50%, -50%) scale(0) rotate(0deg);
  transition: transform .54s cubic-bezier(.34, 0, .14, 1);
  z-index: 0;
  pointer-events: none;
}
.cta-button .cta-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  filter: url(#ink-bleed-xs);
}
.cta-button:hover,
.cta-button:focus-visible {
  background-color: #050505;
  color: #ffffff;
  transform: translateY(-2px);
  transition: background-color .16s ease .28s, color .32s cubic-bezier(.34, 0, .14, 1), transform .36s cubic-bezier(.22, .88, .24, 1);
}
.cta-button:hover::before,
.cta-button:focus-visible::before {
  transform: translate(-50%, -50%) scale(1) rotate(22deg);
}
.cta-button:active {
  transform: scale(.98);
}
.cta-button.js-only-cta { display: none; }
.cta-button.no-js-cta { display: inline-flex; text-decoration: none; }
.js-brief-ready .cta-button.js-only-cta { display: inline-flex; }
.js-brief-ready .cta-button.no-js-cta { display: none; }
.cta-trail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.cta-trail-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 195px;
  overflow: hidden;
  border-radius: 7px;
  opacity: 0;
  contain: layout paint;
  pointer-events: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
}
.cta-trail-card > .visual {
  position: absolute;
  left: 0;
  top: 0;
  width: 800px;
  height: 1040px;
  aspect-ratio: auto;
  transform: scale(.1875);
  transform-origin: 0 0;
}

@media (max-width: 479px) {
  .project-cta {
    border-radius: 16px;
    padding-inline: 18px;
  }
  .cta-content { padding: 12px 8px; }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cta-trail { display: none; }
}

/* Home Services section */
.services-section {
  position: relative;
  padding: clamp(56px, 8svh, 112px) 0 clamp(40px, 6svh, 80px);
  border-top: 1px solid rgba(25, 27, 25, .14);
}
.services-header {
  display: grid;
  grid-template-columns: minmax(120px, 240px) minmax(0, 1fr);
  gap: 16px clamp(20px, 4vw, 56px);
  align-items: baseline;
  margin-bottom: clamp(32px, 5svh, 64px);
}
.services-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--muted);
  filter: url(#home-ink-soft);
}
.services-heading {
  font: 500 clamp(28px, 3.6vw, 54px)/1.02 var(--font-index);
  letter-spacing: -.065em;
  max-width: 18ch;
  filter: url(#ink-bleed-sm);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 60px);
  border-top: 1px solid rgba(25, 27, 25, .14);
}
.service-item {
  padding: clamp(24px, 3.4vw, 38px) 0;
  border-bottom: 1px solid rgba(25, 27, 25, .14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-item-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
}
.service-num {
  font-size: 17px;
  color: var(--muted);
}
.service-tagline {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: -.02em;
  filter: url(#home-ink-soft);
}
.service-title {
  margin: 0;
  font: 700 clamp(20px, 2vw, 28px)/1.12 var(--font-index);
  letter-spacing: -.055em;
  filter: url(#ink-bleed-sm);
}
.service-desc {
  color: #323532;
  font-size: clamp(14.5px, 1.1vw, 16px);
  line-height: 1.5;
  max-width: 48ch;
  filter: url(#home-ink-soft);
}
.service-deliverables {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-deliverables li {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(25, 27, 25, .18);
  background: rgba(25, 27, 25, .035);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  word-spacing: 0;
  color: var(--ink);
}
@media (max-width: 820px) {
  .services-header,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Selective reduced motion (disables movement/scroll animations while preserving color feedback) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip { transition: none; }
  .reveal-pending,
  .ink-pending,
  .card-ink-pending { opacity: 1; transform: none; filter: none; }
  .reveal-visible,
  .visual,
  .work-explore-arrow,
  .work-explore-link::after,
  .cta-button,
  .cta-button::before {
    transition: none;
  }
  #work .project .visual-wrap:hover > .visual,
  #work .project.is-lens-active .visual-wrap > .visual,
  #work .project .visual-wrap.is-lens-active > .visual,
  .work-explore-link:hover .work-explore-arrow,
  .cta-button:hover,
  .cta-button:focus-visible,
  .cta-button:active,
  .bend-row {
    transform: none !important;
    filter: none;
  }
}
