:root {
  --bg: #efe6d9;
  --bg-soft: #f7f1e8;
  --paper: rgba(255, 250, 242, 0.72);
  --ink: #191512;
  --muted: #5f564d;
  --line: rgba(25, 21, 18, 0.15);
  --accent: #d85d34;
  --accent-deep: #8f3112;
  --dark: #12100f;
  --dark-soft: #1d1815;
  --highlight: #f4c968;
  --shadow: 0 24px 80px rgba(22, 16, 12, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Bricolage Grotesque", "Avenir Next", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(244, 201, 104, 0.34), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(216, 93, 52, 0.16), transparent 24%),
    linear-gradient(180deg, #f3eadf 0%, #ece1d4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(25, 21, 18, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 21, 18, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 52%, transparent 100%);
}

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

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

.page-shell {
  position: relative;
  overflow: clip;
}

.site-header,
.section,
.site-footer,
.hero {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin: 0 auto;
}

.site-header {
  width: min(calc(100% - 5rem), var(--content-width));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 2.5rem;
  position: relative;
  z-index: 20;
  margin-top: 1.9rem;
  border-radius: 999px;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(247, 241, 232, 0.96), rgba(247, 241, 232, 0.78));
  border: 1px solid rgba(25, 21, 18, 0.08);
  border-radius: inherit;
  box-shadow: 0 18px 40px rgba(32, 20, 10, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text {
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  width: min(calc(100% - 5rem), var(--content-width));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(1.6rem, 3.2vw, 2.8rem);
  margin-top: 2rem;
  padding: 4.6rem 0 4rem;
  min-height: calc(100svh - 5rem);
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 1rem 0 auto;
  height: 82%;
  background:
    linear-gradient(145deg, rgba(255, 251, 246, 0.72), rgba(255, 245, 233, 0.35)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  border: 1px solid rgba(25, 21, 18, 0.08);
  border-radius: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 8% 0 auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(216, 93, 52, 0.24), transparent 64%);
  filter: blur(16px);
  z-index: -1;
}

.hero-copy {
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(1rem, 2vw, 2rem) clamp(0.9rem, 2.6vw, 2rem);
  max-width: 39rem;
}

.eyebrow,
.section-kicker,
.note-label,
.footer-kicker,
.project-type,
.work-tag,
.visual-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker,
.note-label,
.footer-kicker,
.project-type,
.work-tag {
  color: var(--accent-deep);
}

.hero-name {
  margin: 0.65rem 0 0.35rem;
  font-size: clamp(2.2rem, 6vw, 5.6rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.hero-rotator {
  margin: 0.4rem 0 1rem;
  font-size: clamp(3.4rem, 7vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 11ch;
  --headline-block-height: 2.95em;
}

.hero-rotator-window {
  display: block;
  height: var(--headline-block-height);
  overflow: hidden;
}

.hero-rotator-track {
  display: flex;
  flex-direction: column;
  animation: heroHeadlineRotate 11s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

.hero-rotator-track > span {
  display: block;
  min-height: var(--headline-block-height);
}

.hero-rotator em {
  color: var(--accent-deep);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

@keyframes heroHeadlineRotate {
  0%,
  24% {
    transform: translateY(0);
  }

  31%,
  55% {
    transform: translateY(calc(-1 * var(--headline-block-height)));
  }

  62%,
  86% {
    transform: translateY(calc(-2 * var(--headline-block-height)));
  }

  100% {
    transform: translateY(calc(-3 * var(--headline-block-height)));
  }
}

.section-copy,
.footer-copy,
.work-card p,
.project-summary,
.note-value {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions,
.hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions {
  margin-top: 2rem;
  width: fit-content;
  margin-left: 0;
}

.hero-links {
  margin-top: 1.3rem;
  color: var(--muted);
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-links a::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.55rem;
  padding: 0.95rem 1.55rem;
  position: relative;
  isolation: isolate;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  box-shadow: 0 12px 28px rgba(32, 20, 10, 0.08);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #181412 0%, #120f0d 100%);
  color: white;
  border-color: rgba(255, 247, 236, 0.08);
  box-shadow:
    0 12px 28px rgba(32, 20, 10, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.button-glow {
  border: 0;
  background: none;
  overflow: hidden;
  box-shadow:
    0 14px 30px rgba(32, 20, 10, 0.12),
    0 0 0 1px rgba(255, 246, 230, 0.08),
    0 0 22px rgba(244, 201, 104, 0.14);
}

.button-glow::before,
.button-glow::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  inset: 0;
  pointer-events: none;
  transition:
    filter 220ms ease,
    box-shadow 220ms ease;
}

.button-glow::before {
  inset: -3px;
  background:
    conic-gradient(
      from 0deg,
      #f6d28c 0deg,
      #e57c4b 72deg,
      #fff1d8 150deg,
      #d85d34 228deg,
      #f4c968 300deg,
      #fff4e4 360deg
    );
  animation: buttonBorderSpin 5.8s linear infinite;
  filter: saturate(1.08) brightness(1.04);
  box-shadow:
    0 0 24px rgba(244, 201, 104, 0.24),
    0 0 42px rgba(216, 93, 52, 0.14);
  z-index: -2;
}

.button-glow::after {
  inset: 3px;
  background:
    linear-gradient(180deg, #181412 0%, #120f0d 100%);
  border-radius: calc(999px - 3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: -1;
}

.button-glow:hover,
.button-glow:focus-visible {
  box-shadow:
    0 18px 36px rgba(32, 20, 10, 0.16),
    0 0 0 1px rgba(255, 245, 230, 0.12),
    0 0 28px rgba(244, 201, 104, 0.2);
}

.button-glow:hover::before,
.button-glow:focus-visible::before {
  filter: saturate(1.16) brightness(1.08);
  box-shadow:
    0 0 30px rgba(244, 201, 104, 0.32),
    0 0 52px rgba(216, 93, 52, 0.18);
}

.button-glow:hover::after,
.button-glow:focus-visible::after {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

@keyframes buttonBorderSpin {
  to {
    transform: rotate(1turn);
  }
}

.button-secondary {
  border-color: rgba(25, 21, 18, 0.16);
  background: rgba(255, 252, 246, 0.58);
}

.hero-side {
  display: grid;
  align-self: center;
  justify-self: end;
  position: relative;
  width: min(100%, 29rem);
  padding: 0;
  transform: translateX(-5rem);
  z-index: 1;
}

.hero-side::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.4rem -1.2rem -2rem;
  background:
    radial-gradient(circle at 22% 28%, rgba(244, 201, 104, 0.22), transparent 38%),
    radial-gradient(circle at 78% 72%, rgba(216, 93, 52, 0.18), transparent 42%);
  filter: blur(18px);
  opacity: 0.88;
  z-index: -1;
  pointer-events: none;
}

.hero-facts {
  display: grid;
  gap: 1.15rem;
  align-content: start;
  min-height: 18rem;
  padding: 1.8rem 1.7rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(249, 239, 227, 0.94)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  border: 1px solid rgba(25, 21, 18, 0.1);
  border-radius: clamp(1.7rem, 2.8vw, 2.4rem);
  box-shadow:
    0 34px 72px rgba(32, 20, 10, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  position: relative;
  overflow: hidden;
}

.hero-facts::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 42%),
    radial-gradient(circle at top right, rgba(244, 201, 104, 0.16), transparent 34%);
  pointer-events: none;
}

.side-note {
  position: relative;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.side-note:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.side-note-large .note-value {
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.52;
  letter-spacing: -0.02em;
}

.hero-facts .note-value {
  position: relative;
  z-index: 1;
  font-size: 1.12rem;
  line-height: 1.62;
  color: rgba(25, 21, 18, 0.82);
}

.note-value-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.hero-facts .note-label {
  position: relative;
  z-index: 1;
}

.microsoft-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.24em;
}

.microsoft-mark {
  width: 0.68em;
  height: 0.68em;
  display: inline-block;
  flex: none;
  vertical-align: -0.02em;
}

.section {
  padding: 5.5rem 0;
}

.portrait-gallery {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  border-radius: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #383432, #262220 68%, #1e1b1a);
  overflow: hidden;
}

.portrait-gallery .section-kicker,
.portrait-gallery-heading h2 {
  color: #f5eee4;
}

.portrait-gallery-heading h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.portrait-stage {
  position: relative;
  min-height: clamp(28rem, 46vw, 36rem);
  perspective: 1400px;
  transform-style: preserve-3d;
  outline: none;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(12rem, 25vw, 18rem);
  height: clamp(17rem, 34vw, 24rem);
  transform: translate(-50%, -52%);
  border-radius: 45%;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 244, 225, 0.22), rgba(255, 244, 225, 0) 72%);
  filter: blur(10px);
  opacity: 0.8;
  pointer-events: none;
}

.portrait-stage::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0.9rem;
  height: 4.2rem;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 70%);
  filter: blur(11px);
  opacity: 0.18;
}

.portrait-panel {
  margin: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  overflow: hidden;
  width: clamp(9.5rem, 14vw, 12rem);
  aspect-ratio: 5 / 8;
  padding: 0.75rem;
  border-radius: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(49, 43, 39, 0.98), rgba(25, 22, 21, 0.98));
  box-shadow:
    0 26px 50px rgba(0, 0, 0, 0.28),
    0 10px 22px rgba(0, 0, 0, 0.16);
  transform-style: preserve-3d;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    filter 260ms ease,
    box-shadow 260ms ease;
  will-change: transform, opacity, filter;
  transform-origin: center center;
  backface-visibility: hidden;
  cursor: pointer;
}

.portrait-panel::after {
  content: "";
  position: absolute;
  inset: 0.75rem;
  pointer-events: none;
  border-radius: calc(clamp(1.4rem, 3vw, 2rem) - 0.3rem);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: calc(clamp(1.4rem, 3vw, 2rem) - 0.4rem);
  background: #141110;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-panel[data-offset="0"] {
  transform: translate3d(-50%, -52%, 8rem) scale(1.32);
  z-index: 5;
  opacity: 1;
  filter: none;
  box-shadow:
    0 42px 75px rgba(0, 0, 0, 0.38),
    0 18px 34px rgba(0, 0, 0, 0.24);
}

.portrait-panel[data-offset="0"],
.portrait-panel[data-offset="0"] * {
  pointer-events: none;
}

.portrait-panel[data-offset="-1"] {
  transform:
    translate3d(calc(-50% - clamp(9.4rem, 18vw, 12rem)), -49%, -2rem)
    rotateY(26deg)
    scale(0.9);
  z-index: 4;
  opacity: 0.8;
  filter: saturate(0.8) brightness(0.78);
}

.portrait-panel[data-offset="1"] {
  transform:
    translate3d(calc(-50% + clamp(9.4rem, 18vw, 12rem)), -49%, -2rem)
    rotateY(-26deg)
    scale(0.9);
  z-index: 4;
  opacity: 0.8;
  filter: saturate(0.8) brightness(0.78);
}

.portrait-panel[data-offset="-2"] {
  transform:
    translate3d(calc(-50% - clamp(17.4rem, 31vw, 22rem)), -47%, -7rem)
    rotateY(42deg)
    scale(0.72);
  z-index: 3;
  opacity: 0.42;
  filter: saturate(0.56) brightness(0.62);
}

.portrait-panel[data-offset="2"] {
  transform:
    translate3d(calc(-50% + clamp(17.4rem, 31vw, 22rem)), -47%, -7rem)
    rotateY(-42deg)
    scale(0.72);
  z-index: 3;
  opacity: 0.42;
  filter: saturate(0.56) brightness(0.62);
}

.portrait-panel[data-offset="0"] img {
  transform: scale(1.02);
}

.portrait-panel[data-offset="-1"] img,
.portrait-panel[data-offset="1"] img {
  transform: scale(0.98);
}

.portrait-panel[data-offset="-2"] img,
.portrait-panel[data-offset="2"] img {
  transform: scale(0.94);
}

.portrait-stage[data-animating="true"] .portrait-panel[data-promoting="true"] {
  z-index: 8;
}

.portrait-stage[data-animating="true"] .portrait-panel[data-promoting="true"][data-offset="0"] {
  box-shadow:
    0 52px 90px rgba(0, 0, 0, 0.42),
    0 22px 40px rgba(0, 0, 0, 0.26);
}

.portrait-stage[data-animating="true"] .portrait-panel[data-promoting="true"] img {
  transform: scale(1.04);
}

.section-heading h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(2.3rem, 4.2vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.section-copy {
  max-width: 40rem;
}

.products-section {
  position: relative;
}

.project-stack {
  margin-top: 2.8rem;
  display: grid;
  gap: 1.6rem;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-top: 1px solid rgba(25, 21, 18, 0.12);
}

.project-row-compact {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  align-items: start;
}

.project-row-compact .project-visual {
  width: 100%;
  max-width: none;
  justify-self: start;
  min-height: 0;
}

.project-row:last-child {
  border-bottom: 1px solid rgba(25, 21, 18, 0.12);
}

.project-row-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
}

.project-row-reverse .project-visual {
  order: 2;
}

.project-row-reverse .project-copy {
  order: 1;
}

.project-visual {
  min-height: 20rem;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.88), rgba(61, 33, 20, 0.68)),
    radial-gradient(circle at top right, rgba(244, 201, 104, 0.34), transparent 32%),
    linear-gradient(180deg, rgba(216, 93, 52, 0.85), rgba(216, 93, 52, 0.28));
  color: white;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
}

.project-visual-video {
  background: #16110f;
  min-height: 0;
  height: auto;
  display: block;
  padding: 0;
}

.project-visual-video::before {
  background:
    linear-gradient(180deg, rgba(18, 13, 11, 0.2), rgba(18, 13, 11, 0.74)),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.project-demo {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 42rem;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  z-index: 0;
  background: #120f0d;
  border-radius: calc(var(--radius-lg) - 4px);
}

.project-visual-image {
  background: #151213;
  padding: 0.9rem;
}

.project-preview-image {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 12px);
}

.visual-label {
  position: relative;
  z-index: 2;
}

.project-visual-image .visual-label {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
}

.project-visual-video .visual-label {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
}

.visual-label {
  color: rgba(255, 255, 255, 0.72);
  max-width: 10ch;
}

.project-copy h3,
.work-card h3 {
  margin: 0.55rem 0 0.75rem;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.meta-list,
.work-points {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--ink);
}

.meta-list li,
.work-points li {
  display: inline-flex;
  gap: 0.6rem;
}

.meta-list li {
  align-items: center;
}

.work-points li {
  align-items: flex-start;
  line-height: 1.55;
}

.meta-list li::before,
.work-points li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

.work-points li::before {
  margin-top: 0.42rem;
}

.project-note {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--ink);
  line-height: 1.7;
}

.project-links {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-inline: 0.2rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  background: var(--dark);
  color: white;
  box-shadow: 0 12px 28px rgba(32, 20, 10, 0.08);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.project-link:hover,
.project-link:focus-visible {
  transform: translateY(-2px);
  opacity: 0.92;
}

.project-visual-link,
.project-title-link {
  color: inherit;
  text-decoration: none;
}

.project-title-link:hover,
.project-title-link:focus-visible {
  color: var(--accent-deep);
}

.work-section {
  width: 100%;
  margin-top: 2rem;
  padding: 6rem 0;
  color: #f5eee4;
  background:
    radial-gradient(circle at top left, rgba(244, 201, 104, 0.18), transparent 24%),
    linear-gradient(180deg, #1c1614, #0d0b0a);
}

.work-section .section-heading,
.work-section .section-copy,
.work-carousel {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin-left: auto;
  margin-right: auto;
}

.section-copy-dark,
.work-card p,
.work-points,
.work-card-role,
.work-card-location,
.work-card-dates {
  color: rgba(245, 238, 228, 0.76);
}

.work-carousel {
  margin-top: 2.8rem;
  --work-peek: 3.2rem;
}

.work-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1.25rem - var(--work-peek)) / 2);
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding-inline: 0;
  padding: 0.1rem var(--work-peek) 0.35rem 0;
}

.work-grid::-webkit-scrollbar {
  display: none;
}

.work-card {
  min-height: 24rem;
  padding: 1.8rem;
  display: grid;
  align-content: start;
  gap: 1.15rem;
  border: 1px solid rgba(245, 238, 228, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
  scroll-snap-align: start;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
  scroll-snap-stop: always;
}

.work-card:hover,
.work-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(244, 201, 104, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.work-card h3 {
  max-width: 11ch;
  margin: 0.45rem 0 0;
}

.work-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: start;
}

.work-card-meta {
  display: grid;
  gap: 0.25rem;
  text-align: right;
}

.work-card-location,
.work-card-dates,
.work-card-role {
  margin: 0;
}

.work-card-location,
.work-card-role {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-card-location {
  color: rgba(245, 238, 228, 0.56);
}

.work-card-dates {
  color: #f5eee4;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.work-card-role {
  color: rgba(244, 201, 104, 0.82);
}

.work-points {
  margin-top: 0;
  gap: 0.85rem;
}

.work-scrollbar-wrap {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.work-scroll-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.work-scroll-button {
  min-width: 2.8rem;
  height: 2.8rem;
  padding: 0 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 238, 228, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  color: #f5eee4;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease;
}

.work-scroll-button span {
  font-size: 1.05rem;
  line-height: 1;
  transform: translateY(-1px);
}

.work-scroll-button:hover,
.work-scroll-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(244, 201, 104, 0.28);
  color: #fff6ea;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.work-scroll-button:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.outside-section {
  display: grid;
  gap: 1.4rem;
}

.outside-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.hobby-card {
  min-height: 21rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25, 21, 18, 0.1);
  box-shadow: 0 22px 60px rgba(32, 20, 10, 0.08);
}

.hobby-card-photo {
  min-height: 21rem;
  border: none;
  background:
    radial-gradient(circle at top left, rgba(244, 201, 104, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255, 248, 238, 0.94), rgba(244, 236, 225, 0.98));
}

.hobby-card-ballet {
  background:
    radial-gradient(circle at top right, rgba(216, 93, 52, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 246, 0.92), rgba(241, 228, 219, 0.98));
}

.ballet-stat {
  margin: 0.6rem 0 0.2rem;
  font-size: clamp(3.4rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--accent-deep);
}

.ballet-stat-unit {
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: baseline;
  color: var(--muted);
}


.hobby-badge {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hobby-card h3 {
  margin: 0.6rem 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hobby-copy {
  margin: 0;
  max-width: 30rem;
  color: var(--muted);
  line-height: 1.7;
}

.hobby-link {
  margin: 1rem 0 0;
  position: relative;
  z-index: 1;
}

.hobby-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-deep);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.hobby-link a::after {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: currentColor;
}

/* Photography wide card */
.hobby-card-photo-wide {
  min-height: auto;
  padding: 2.2rem;
}

.hobby-card-photo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hobby-card-photo-header h3 {
  max-width: 16ch;
}

.instagram-profile-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(25, 21, 18, 0.12);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(32, 20, 10, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
  flex-shrink: 0;
}

.instagram-profile-link:hover,
.instagram-profile-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 49, 18, 0.24);
  background: rgba(255, 255, 255, 0.85);
}

.instagram-handle {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.instagram-cta {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.instagram-embed-row {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
}

.instagram-embed-row .instagram-media {
  flex: 0 1 540px;
}

.philosophy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.site-footer {
  padding: 0 0 4rem;
}

.footer-copy {
  margin-top: 0.8rem;
  max-width: 20rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--accent-deep);
}

.contact-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
}

.contact-grid a {
  display: grid;
  gap: 0.9rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25, 21, 18, 0.12);
  background: rgba(255, 249, 241, 0.64);
  box-shadow: 0 18px 48px rgba(32, 20, 10, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.contact-grid a:hover,
.contact-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 49, 18, 0.24);
  background: rgba(255, 250, 244, 0.9);
}

.contact-card-primary {
  background:
    radial-gradient(circle at top right, rgba(244, 201, 104, 0.24), transparent 28%),
    rgba(255, 249, 241, 0.9);
}

.contact-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.contact-value {
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.hero-copy,
.hero-side,
.section,
.work-card,
.site-footer {
  animation: rise 700ms ease both;
}

.hero-side {
  animation-delay: 120ms;
}

.products-section {
  animation-delay: 220ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .site-header {
    position: static;
    padding-top: 1.2rem;
    width: min(calc(100% - 2rem), var(--content-width));
    padding-inline: 1.2rem;
  }

  .hero,
  .section-intro,
  .philosophy-section,
  .project-row,
  .project-row-reverse,
  .outside-grid {
    grid-template-columns: 1fr;
  }

  .project-row-compact .project-visual {
    width: 100%;
  }

  .project-demo {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .hero {
    min-height: auto;
    margin-top: 1.3rem;
    padding-top: 2rem;
  }

  .hero::before {
    height: 100%;
  }

  .hero-copy {
    padding-top: 3rem;
  }

  .hero-side {
    width: 100%;
    transform: none;
  }

  .hero-actions {
    margin-left: 0;
  }

  .project-row-reverse .project-visual,
  .project-row-reverse .project-copy {
    order: initial;
  }

  .project-visual,
  .work-card {
    min-height: 16rem;
  }

  .work-grid {
    --work-peek: 0rem;
    grid-auto-columns: minmax(24rem, 78vw);
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 2rem;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  .site-header,
  .section,
  .site-footer,
  .hero,
  .work-section .section-heading,
  .work-section .section-copy,
  .work-carousel {
    width: min(calc(100% - 2.4rem), var(--content-width));
  }

  .hero-rotator {
    max-width: 8ch;
    --headline-block-height: 3.35em;
  }

  .portrait-stage {
    min-height: 26rem;
  }

  .portrait-panel {
    width: min(34vw, 10rem);
  }

  .portrait-panel[data-offset="-1"] {
    transform:
      translate3d(calc(-50% - clamp(5.4rem, 19vw, 6.8rem)), -49%, -1.5rem)
      rotateY(22deg)
      scale(0.84);
  }

  .portrait-panel[data-offset="1"] {
    transform:
      translate3d(calc(-50% + clamp(5.4rem, 19vw, 6.8rem)), -49%, -1.5rem)
      rotateY(-22deg)
      scale(0.84);
  }

  .portrait-panel[data-offset="-2"] {
    transform:
      translate3d(calc(-50% - clamp(8rem, 29vw, 9.6rem)), -47%, -5rem)
      rotateY(36deg)
      scale(0.66);
  }

  .portrait-panel[data-offset="2"] {
    transform:
      translate3d(calc(-50% + clamp(8rem, 29vw, 9.6rem)), -47%, -5rem)
      rotateY(-36deg)
      scale(0.66);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
  }

  .philosophy-section {
    gap: 1rem;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .hobby-card {
    min-height: 14rem;
  }

  .hobby-card-photo-wide {
    padding: 1.4rem;
  }

  .hobby-card-photo-header {
    flex-direction: column;
    gap: 1rem;
  }

  .instagram-profile-link {
    align-items: flex-start;
    width: 100%;
  }

  .work-card {
    min-height: 14rem;
  }

  .work-card-header {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .work-card-meta {
    text-align: left;
  }

  .work-grid {
    --work-peek: 0rem;
    grid-auto-columns: minmax(19rem, 86vw);
    padding-right: 0;
  }

  .work-scrollbar-wrap {
    justify-content: flex-end;
  }

  .work-scroll-actions {
    justify-self: auto;
  }

  .contact-value {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }
}

@media (max-width: 480px) {
  .site-header,
  .section,
  .site-footer,
  .hero,
  .work-section .section-heading,
  .work-section .section-copy,
  .work-carousel {
    width: min(calc(100% - 1.5rem), var(--content-width));
  }

  .site-header {
    padding: 0.9rem 1rem;
    gap: 0.8rem;
    border-radius: 1.5rem;
  }

  .site-nav {
    gap: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 1.5rem 0 2rem;
    gap: 1.2rem;
  }

  .hero-copy {
    padding: 1.5rem 0.4rem 0.5rem;
  }

  .hero-name {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .hero-rotator {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
    max-width: 9ch;
    --headline-block-height: 3.8em;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.4rem;
  }

  .button {
    min-height: 3rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .hero-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
  }

  .hero-side {
    width: 100%;
  }

  .hero-facts {
    padding: 1.2rem 1rem;
    gap: 0.9rem;
  }

  .hero-facts .note-value {
    font-size: 0.95rem;
  }

  .side-note-large .note-value {
    font-size: 1.05rem;
  }

  .portrait-gallery {
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: 1.5rem;
  }

  .portrait-gallery-heading h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .portrait-stage {
    min-height: 20rem;
  }

  .portrait-panel {
    width: min(38vw, 8.5rem);
    padding: 0.4rem;
    border-radius: 1rem;
  }

  .portrait-panel[data-offset="0"] {
    transform: translate3d(-50%, -52%, 6rem) scale(1.2);
  }

  .portrait-panel[data-offset="-1"] {
    transform:
      translate3d(calc(-50% - clamp(4.2rem, 18vw, 5.5rem)), -49%, -1rem)
      rotateY(18deg)
      scale(0.78);
  }

  .portrait-panel[data-offset="1"] {
    transform:
      translate3d(calc(-50% + clamp(4.2rem, 18vw, 5.5rem)), -49%, -1rem)
      rotateY(-18deg)
      scale(0.78);
  }

  .portrait-panel[data-offset="-2"],
  .portrait-panel[data-offset="2"] {
    opacity: 0;
    pointer-events: none;
  }

  .section {
    padding: 3rem 0;
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .project-row {
    padding: 0.8rem 0;
    gap: 1rem;
  }

  .project-copy h3,
  .work-card h3 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .project-summary,
  .project-note,
  .section-copy,
  .footer-copy,
  .work-card p,
  .note-value {
    font-size: 0.92rem;
  }

  .project-visual {
    min-height: 12rem;
    border-radius: 1.2rem;
    padding: 1rem;
  }

  .project-link {
    min-height: 2.8rem;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
  }

  .work-section {
    padding: 3.5rem 0;
  }

  .work-card {
    padding: 1.2rem;
    min-height: 12rem;
    border-radius: 1.2rem;
  }

  .work-grid {
    --work-peek: 0rem;
    grid-auto-columns: minmax(0, 100%);
    padding-right: 0;
  }

  .work-card-location,
  .work-card-role {
    font-size: 0.7rem;
  }

  .work-card-dates {
    font-size: 0.92rem;
  }

  .work-scroll-button {
    width: 2.45rem;
    height: 2.45rem;
  }

  .hobby-card {
    padding: 1.2rem;
    min-height: 12rem;
    border-radius: 1.2rem;
  }

  .hobby-card-photo-wide {
    padding: 1.2rem;
  }

  .instagram-handle {
    font-size: 0.95rem;
  }

  .instagram-embed-row {
    margin-top: 1.2rem;
  }

  .hobby-card h3 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .hobby-copy {
    font-size: 0.9rem;
  }

  .philosophy-section {
    gap: 0.8rem;
  }

  .philosophy-section .section-copy {
    font-size: 0.92rem;
  }

  .site-footer {
    padding: 0 0 2.5rem;
  }

  .contact-grid a {
    padding: 1.2rem;
    border-radius: 1.2rem;
  }

  .contact-value {
    font-size: clamp(1rem, 4.5vw, 1.6rem);
    word-break: break-word;
  }

  .contact-label {
    font-size: 0.72rem;
  }

  .meta-list,
  .work-points {
    font-size: 0.88rem;
  }
}

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

  .hero-copy,
  .hero-side,
  .section,
  .work-card,
  .site-footer,
  .hero-rotator-track,
  .portrait-panel,
  .button,
  .button-glow::before,
  .button-glow::after,
  .site-nav a::after {
    animation: none;
    transition: none;
  }
}
