:root {
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Inter", sans-serif;
  --warm-white: #f4efe7;
  --soft-stone: #d8cec0;
  --charcoal: #151515;
  --ink: #0d0d0d;
  --accent: #b36b3c;
  --muted: rgba(244, 239, 231, 0.72);
  --dark-muted: rgba(13, 13, 13, 0.66);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-rendering: geometricPrecision;
}

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

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

.section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.1rem, 5vw, 5rem);
  isolation: isolate;
}

.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  z-index: -2;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(18, 16, 14, 0.28), rgba(18, 16, 14, 0.42)),
    radial-gradient(circle at 50% 45%, rgba(244, 239, 231, 0.06), rgba(13, 13, 13, 0.28) 68%);
}

.section-content {
  width: min(100%, 1040px);
  color: var(--warm-white);
}

.hero {
  background: var(--warm-white);
}

.hero::before {
  background: rgba(244, 239, 231, 0.78);
}

.hero-bg {
  opacity: 0.28;
  animation: slowZoom 24s ease-in-out infinite alternate;
}

.hero-content {
  text-align: center;
  color: rgba(13, 13, 13, 0.54);
}

.entrance-link {
  display: block;
  transition: opacity 420ms ease, transform 420ms ease;
}

.entrance-link:hover {
  opacity: 0.72;
  transform: translateY(-0.22rem);
}

.hero-content p {
  margin: 0 0 -1.2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
}

.hero-content span {
  display: inline-block;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(5rem, 14vw, 13rem);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 9vw, 9.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.small-line {
  margin-bottom: clamp(1rem, 2vw, 1.8rem);
  color: currentColor;
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.positioning-content {
  max-width: 1120px;
  color: var(--warm-white);
}

.positioning h2 {
  max-width: 1000px;
}

.what-page {
  background: #f8f8f6;
}

.what-selector-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
  color: rgba(13, 13, 13, 0.62);
  isolation: isolate;
}

.what-selector-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(248, 248, 246, 0.07);
}

.what-bg {
  opacity: 0.96;
  filter: saturate(0.94) contrast(0.95) blur(4px);
  transform: scale(1.1);
  animation: slowZoom 28s ease-in-out infinite alternate;
  transition: opacity 280ms ease;
}

.designed-logo {
  position: fixed;
  z-index: 21;
  top: clamp(1.35rem, 3vw, 2.5rem);
  left: clamp(1.45rem, 4vw, 3rem);
  display: grid;
  width: fit-content;
  color: rgba(13, 13, 13, 0.5);
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.2vw, 4.4rem);
  font-weight: 500;
  line-height: 0.7;
  letter-spacing: -0.05em;
  transition: opacity 220ms ease;
}

.designed-logo span {
  font-size: clamp(0.92rem, 1.25vw, 1.25rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.designed-logo:hover {
  opacity: 0.62;
}

.what-selector {
  display: grid;
  grid-template-columns: minmax(20rem, auto) auto;
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 3.2vw, 3.1rem);
  width: min(100%, 1040px);
  min-height: 68svh;
}

.what-selector h1 {
  justify-self: end;
  color: rgba(13, 13, 13, 0.62);
  font-size: clamp(1.52rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.selector-cluster {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: clamp(0.85rem, 1.4vw, 1.25rem);
}

.selector-stack {
  --selector-gap: clamp(1.25rem, 3.1vh, 2.45rem);
  display: grid;
  justify-items: center;
  gap: var(--selector-gap);
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.05vw, 2rem);
  font-weight: 500;
  line-height: 1;
}

.selector-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(2.2rem, 4.8vh, 3.6rem);
  padding: 0;
  border: 0;
  color: rgba(13, 13, 13, 0.45);
  background: transparent;
  font: inherit;
  letter-spacing: -0.03em;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.4rem);
  transition: color 220ms ease, opacity 360ms ease, transform 360ms ease;
}

.selector-item:hover,
.selector-item:focus-visible {
  color: rgba(13, 13, 13, 0.68);
  opacity: 1;
  outline: none;
}

.what-selector.is-open .selector-item,
.what-selector:hover .selector-item,
.what-selector:focus-within .selector-item {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.selector-stack .selector-item:nth-child(1),
.selector-stack .selector-item:nth-child(9) {
  color: rgba(13, 13, 13, 0.12);
}

.selector-stack .selector-item:nth-child(3),
.selector-stack .selector-item:nth-child(8) {
  color: rgba(13, 13, 13, 0.26);
}

.selector-stack .selector-item:nth-child(5),
.selector-stack .selector-item:nth-child(7) {
  color: rgba(13, 13, 13, 0.5);
}

.selector-active,
.selector-active:hover,
.selector-active:focus-visible {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.05rem, 2.2vw, 2rem);
  min-width: clamp(13.5rem, 19vw, 18rem);
  min-height: clamp(3.15rem, 5.6vh, 4rem);
  padding: 0.24rem clamp(1.15rem, 2vw, 1.8rem);
  color: #f8f8f6;
  background: rgba(13, 13, 13, 0.64);
  border: 2px solid rgba(13, 13, 13, 0.12);
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

.selector-choice {
  min-width: clamp(7.2rem, 10vw, 9rem);
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}

.selector-arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  animation: arrowPulse 1600ms ease-in-out infinite;
}

.selector-arrow[data-direction="next"] {
  animation-delay: 240ms;
}

.selector-confirm {
  color: rgba(13, 13, 13, 0.38);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.selector-confirm:hover,
.selector-confirm:focus-visible {
  opacity: 0.65;
  transform: translateX(0.2rem);
  outline: none;
}

/* Drum / rolodex selector */

.selector-drum {
  --drum-item-h: clamp(2.6rem, 4.4vh, 3.2rem);
  position: relative;
  height: calc(9 * var(--drum-item-h));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 11%, black 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 11%, black 89%, transparent 100%);
}

.drum-pill-bg {
  position: absolute;
  top: 50%;
  left: 3px;
  right: 3px;
  transform: translateY(-50%);
  height: var(--drum-item-h);
  background: rgba(13, 13, 13, 0.72);
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.selector-drum-track {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
  transition: transform 360ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.drum-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--drum-item-h);
  padding: 0 clamp(2rem, 3.5vw, 3.2rem);
  font-family: var(--font-serif);
  font-size: clamp(1.52rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(13, 13, 13, 0.38);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  flex-shrink: 0;
}

.drum-item-active {
  color: rgba(244, 239, 231, 0.94);
}

.drum-item:not(.drum-item-active):hover {
  color: rgba(13, 13, 13, 0.60);
}

.drum-pill-controls {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 3px;
  right: 3px;
  transform: translateY(-50%);
  height: var(--drum-item-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.45rem;
  pointer-events: none;
}

.drum-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: var(--drum-item-h);
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(244, 239, 231, 0.82);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  cursor: pointer;
  pointer-events: auto;
  animation: arrowPulse 1600ms ease-in-out infinite;
}

.drum-nav-next {
  animation-delay: 240ms;
}

.drum-nav:hover {
  color: var(--warm-white);
}

.statement {
  max-width: 1000px;
  font-size: clamp(3.4rem, 9vw, 9.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

#rotating-word {
  display: inline-block;
  min-width: min(48vw, 5.8em);
  color: var(--soft-stone);
  transition: opacity 700ms ease, transform 700ms ease;
}

#rotating-word.is-fading {
  opacity: 0;
  transform: translateY(0.18em);
}

.arrow {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.22em;
  vertical-align: 0.42em;
  margin-left: 0.18em;
}

.category-section,
.more-section,
.services-section,
.about-section {
  background: var(--warm-white);
  color: var(--ink);
}

.category-section::before,
.more-section::before,
.services-section::before,
.about-section::before {
  content: none;
}

.category-wrap,
.more-wrap,
.services-wrap,
.about-wrap {
  width: min(100%, 1120px);
}

.category-wrap {
  padding: clamp(1rem, 4vw, 3rem) 0;
}

.category-wrap .small-line {
  color: var(--accent);
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.category-list {
  display: grid;
  gap: clamp(0.65rem, 1.8vw, 1.35rem);
  font-size: clamp(3.4rem, 8vw, 8rem);
}

.category-list span {
  display: block;
}

.case-study {
  justify-items: start;
}

.case-study::before {
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.76), rgba(13, 13, 13, 0.36) 54%, rgba(13, 13, 13, 0.2)),
    linear-gradient(rgba(179, 107, 60, 0.12), rgba(13, 13, 13, 0.45));
}

.case-content {
  max-width: 760px;
  margin-left: clamp(0rem, 5vw, 5rem);
}

.case-content h2 {
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.case-content h1 {
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  font-size: clamp(3.4rem, 9vw, 9.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.case-content p:not(.small-line) {
  max-width: 620px;
  color: var(--muted);
}

.case-content a {
  display: inline-block;
  margin-top: clamp(2rem, 4vw, 3.6rem);
  color: var(--soft-stone);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  transition: opacity 220ms ease;
}

.case-content a:hover,
.footer-nav a:hover,
.quiet-list a:hover {
  opacity: 0.55;
}

/* Case study — full layout with side nav + laptop visual */

.case-layout {
  display: grid;
  grid-template-columns: clamp(4rem, 6vw, 7rem) 1fr clamp(4rem, 6vw, 7rem);
  align-items: center;
  width: 100%;
  padding: clamp(5rem, 8vh, 9rem) 0 clamp(4rem, 6vh, 5rem);
  color: var(--warm-white);
}

.case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
  padding: 0 clamp(1.5rem, 2.5vw, 3rem);
}

.case-text h1 {
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
  font-size: clamp(3rem, 5.5vw, 6.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.case-text p:not(.small-line) {
  max-width: 420px;
  color: var(--muted);
}

.case-nav {
  position: fixed;
  z-index: 21;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.4rem, 0.8vh, 0.7rem);
  color: rgba(244, 239, 231, 0.65);
  text-decoration: none;
  transition: opacity 220ms ease;
}

.case-nav:hover {
  opacity: 0.5;
}

.case-nav-prev {
  left: clamp(0.8rem, 1.5vw, 1.6rem);
}

.case-nav-next {
  right: clamp(0.8rem, 1.5vw, 1.6rem);
}

.case-nav-arrow {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.case-nav-prev .case-nav-arrow {
  animation: nudgeLeft 1800ms ease-in-out infinite;
}

.case-nav-next .case-nav-arrow {
  animation: nudgeRight 1800ms ease-in-out infinite;
}

.case-nav-label {
  font-family: var(--font-sans);
  font-size: clamp(0.6rem, 0.78vw, 0.7rem);
  font-weight: 300;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(244, 239, 231, 0.44);
  text-align: center;
  max-width: 6em;
  line-height: 1.35;
}

/* Live website iframe composited into the laptop screen in the background image */

.case-screen-inset {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border-radius: 6px;
  pointer-events: auto;
  /* Match the angled laptop screen in the photo */
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
  transform-origin: center center;
  /* Tone down brightness/saturation so it reads as content behind screen glass */
  filter: saturate(0.82) brightness(0.90);
  /* Vignette fade at edges to dissolve into the bezel */
  -webkit-mask-image: radial-gradient(ellipse 90% 88% at 50% 50%, black 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 88% at 50% 50%, black 76%, transparent 100%);
  /* Position and size set by layoutCaseStudy() in script.js */
}

.case-screen-inset iframe {
  border: none;
  display: block;
  width: 1440px;
  transform-origin: top left;
}

/* Zoom the laptop background anchored to bottom-right so the screen fills more of the frame */

.case-study-laptop .section-bg {
  transform-origin: bottom right;
  transform: scale(1.15);
}

/* Overlay lighter on the right so the laptop photo shows through */

.case-study-laptop::before {
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.84) 0%, rgba(13, 13, 13, 0.2) 44%, rgba(13, 13, 13, 0.04) 100%),
    linear-gradient(rgba(13, 13, 13, 0.06), rgba(13, 13, 13, 0.18));
}

.case-study-laptop .case-content {
  max-width: 500px;
}

.case-study-laptop .case-content h1 {
  font-size: clamp(2.6rem, 4.5vw, 6rem);
}

.case-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.7rem, 1.2vw, 1.1rem);
}

.case-mockup-link {
  display: block;
  width: 100%;
  transition: opacity 220ms ease;
}

.case-mockup-link:hover {
  opacity: 0.8;
}

.laptop-frame {
  position: relative;
  width: 100%;
  background: #1c1c1e;
  border-radius: 10px 10px 4px 4px;
  padding: 5% 3% 3.5%;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.11),
    0 22px 56px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.laptop-frame::before {
  content: "";
  position: absolute;
  top: 2.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0d0d0d;
  border-radius: 3px;
  overflow: hidden;
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.view-work-link {
  color: rgba(244, 239, 231, 0.55);
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 0.92vw, 0.84rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  transition: opacity 220ms ease;
}

.view-work-link:hover {
  opacity: 0.4;
}

.more-wrap h2 {
  max-width: 880px;
  color: var(--dark-muted);
  font-size: clamp(3.2rem, 8vw, 8rem);
}

.more-wrap h1 {
  max-width: 880px;
  color: var(--dark-muted);
  font-size: clamp(3.2rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.quiet-list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.7rem);
  margin-top: clamp(4rem, 8vw, 7rem);
  color: rgba(13, 13, 13, 0.58);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
}

.quiet-list a {
  width: fit-content;
  transition: opacity 220ms ease;
}

.services-wrap {
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
}

.services-wrap .small-line {
  color: var(--accent);
}

.services-wrap h2 {
  max-width: 900px;
  color: rgba(13, 13, 13, 0.72);
  font-size: clamp(3rem, 7vw, 7rem);
}

.services-wrap > h1 {
  max-width: 900px;
  color: rgba(13, 13, 13, 0.72);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.service-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 7rem);
  max-width: 1020px;
}

.service-blocks article {
  border-top: 1px solid rgba(13, 13, 13, 0.22);
  padding-top: clamp(1.4rem, 2vw, 2rem);
}

.service-blocks h3 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.service-blocks h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.service-blocks p,
.about-copy p {
  color: rgba(13, 13, 13, 0.68);
}

.about-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.portrait {
  min-height: clamp(24rem, 54vw, 42rem);
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.95);
}

.about-copy .small-line {
  color: var(--accent);
}

.about-copy h2 {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: rgba(13, 13, 13, 0.72);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
}

.about-copy h1 {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: rgba(13, 13, 13, 0.72);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.about-copy p + p {
  margin-top: 1.4rem;
}

.contact-section::before {
  background:
    linear-gradient(rgba(13, 13, 13, 0.34), rgba(13, 13, 13, 0.66)),
    linear-gradient(90deg, rgba(13, 13, 13, 0.52), rgba(13, 13, 13, 0.16));
}

.contact-content {
  text-align: center;
}

.contact-content h2 {
  font-size: clamp(2.6rem, 8vw, 8rem);
}

.contact-content h1 {
  font-size: clamp(2.15rem, 7.2vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.contact-content a {
  transition: opacity 220ms ease;
}

.contact-content a:hover {
  opacity: 0.68;
}

.footer-nav {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: clamp(1.65rem, 3vw, 2.35rem);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(1.7rem, 3vw, 2.65rem);
  padding: 0;
  color: rgba(244, 239, 231, 0.46);
  background: transparent;
  border: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.75vw, 1.65rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.footer-nav a {
  transition: opacity 220ms ease;
}

.footer-nav span {
  opacity: 0.36;
}

.footer-nav [aria-current="page"] {
  opacity: 1;
  color: var(--warm-white);
}

.dark-nav {
  color: rgba(13, 13, 13, 0.22);
  background: transparent;
  border: 0;
}

.dark-nav [aria-current="page"] {
  color: rgba(13, 13, 13, 0.86);
}

.page-logo,
.next-link {
  position: fixed;
  z-index: 21;
  color: rgba(244, 239, 231, 0.78);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 220ms ease;
}

.page-logo {
  top: clamp(1rem, 2.5vw, 1.8rem);
  left: clamp(1rem, 2.5vw, 1.8rem);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  letter-spacing: -0.02em;
  text-transform: none;
}

.next-link {
  right: clamp(1rem, 2.5vw, 1.8rem);
  bottom: clamp(1rem, 2.5vw, 1.8rem);
}

.page-logo:hover,
.next-link:hover {
  opacity: 0.58;
}

.page-logo.dark,
.next-link.dark {
  color: rgba(13, 13, 13, 0.62);
}

.page-panel {
  place-items: center start;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1000ms ease, transform 1000ms ease;
}

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

@keyframes slowZoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.08);
  }
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

@keyframes nudgeLeft {
  0%, 100% { transform: translateX(0); opacity: 0.52; }
  50% { transform: translateX(-6px); opacity: 1; }
}

@keyframes nudgeRight {
  0%, 100% { transform: translateX(0); opacity: 0.52; }
  50% { transform: translateX(6px); opacity: 1; }
}

@media (max-width: 760px) {
  .section {
    min-height: 100svh;
    place-items: center start;
    padding: clamp(4rem, 14vw, 7rem) 1.1rem;
  }

  .hero {
    place-items: center;
  }

  .hero-content p {
    margin-bottom: -0.7rem;
  }

  h1 {
    font-size: clamp(5rem, 27vw, 8rem);
  }

  .statement {
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  h2 {
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  .positioning h2 {
    max-width: 9ch;
  }

  .what-selector-page {
    place-items: center;
    padding: 5rem 1rem 6.4rem;
  }

  .designed-logo {
    top: 1.15rem;
    left: 1.15rem;
  }

  .what-selector {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    min-height: 68svh;
    text-align: center;
  }

  .what-selector h1 {
    justify-self: center;
    white-space: normal;
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .selector-cluster {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.95rem;
  }

  .selector-drum {
    --drum-item-h: clamp(2.5rem, 5vh, 3rem);
  }

  .drum-item {
    font-size: clamp(1.5rem, 6.5vw, 1.75rem);
  }

  #rotating-word {
    min-width: 0;
  }

  .category-list {
    gap: 0.52rem;
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .case-content {
    margin-left: 0;
  }

  .case-layout {
    grid-template-columns: clamp(2.5rem, 5vw, 3.5rem) 1fr clamp(2.5rem, 5vw, 3.5rem);
    padding: 5rem 0 4rem;
  }

  .case-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .case-text h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .case-nav-label {
    display: none;
  }

  .case-screen-inset {
    display: none;
  }

  .case-study::before {
    background:
      linear-gradient(rgba(13, 13, 13, 0.44), rgba(13, 13, 13, 0.72)),
      linear-gradient(90deg, rgba(13, 13, 13, 0.62), rgba(13, 13, 13, 0.16));
  }

  .service-blocks,
  .about-wrap {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 52svh;
  }

  .footer-nav {
    left: 50%;
    right: auto;
    bottom: 1.25rem;
    gap: 1.55rem;
    transform: translateX(-50%);
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }

  .next-link {
    right: 1rem;
    bottom: 1rem;
  }
}

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

  .hero-bg {
    animation: none;
  }

  .reveal,
  #rotating-word {
    transition: none;
  }
}
