
:root {
  --bg: #FBEFD8;
  --surface: #e8e3d8;
  --text: #1c1c1c;
  --secondary: #6b6054;
  --meta: #96877a;
  --terra: #F4002D;
  --amber: #D17E19;
  --border: #d4cfc2;
  --serif: 'Albert Sans', system-ui, sans-serif;
  --sans: 'Albert Sans', system-ui, sans-serif;
  --gutter: 48px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.heading {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.body {
  font-size: 16px;
  line-height: 1.7;
  color: #0F0F0F;
}

.pull-quote {
  border-left: 2px solid var(--amber);
  padding-left: 14px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: #4a4238;
}

.intro-eyebrow {
  display: inline-flex;
  align-items: baseline;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", "Monaco", "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
  line-height: 1.4;
  min-height: 1.4em;
}

.intro-eyebrow__text {
  white-space: pre;
}

.intro-eyebrow__cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 2px;
  background: var(--terra);
  transform: translateY(2px);
  animation: intro-eyebrow-blink 1s steps(2, start) infinite;
}

@keyframes intro-eyebrow-blink {
  to {
    opacity: 0;
  }
}
.stat {
  margin-bottom: 20px;
}

.stat-number {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
}

.stat-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F0F0F;
  margin-top: 4px;
}

.margin-meta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F0F0F;
  line-height: 1.8;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.bullet-list li {
  font-size: 16px;
  line-height: 1.7;
  color: #0F0F0F;
  padding-left: 20px;
  position: relative;
}
.bullet-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--border);
}

.section {
  display: grid;
  grid-template-columns: 3fr 1px 1fr;
  border-bottom: 1px solid var(--border);
}

.section-main {
  padding: 40px var(--gutter);
}

.section-divider {
  background: var(--border);
}

.section-margin {
  padding: 40px 24px;
}

.section--case {
  background: #E6E9D1;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg, #fff);
  transition: transform 0.25s ease;
  will-change: transform;
}

nav.nav--hidden {
  transform: translateY(-100%);
}

.nav-greeting {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--terra);
  white-space: nowrap;
  pointer-events: none;
}

.nav-name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-name a {
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--amber);
}

.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  min-height: calc(100dvh - 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  padding: 0;
  border-bottom: 1px solid var(--text);
  background-color: #FFEAC3;
  overflow: hidden;
}

.hero-greeting-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vh, 32px);
  text-align: center;
  padding: 0 var(--gutter);
  z-index: 10;
  transition: opacity 0.55s ease;
}

.hero-logo {
  width: clamp(80px, 9vw, 140px);
  opacity: 0;
  transform: scale(2.2) rotate(-12deg);
  transform-origin: center center;
}
.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero.is-stamped .hero-logo:not(.hero-logo--final) {
  animation: hero-stamp 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}

.hero.is-stamped .hero-logo:not(.hero-logo--final) img {
  animation: hero-stamp-shadow 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}

@keyframes hero-stamp {
  0% {
    opacity: 0;
    transform: scale(2.4) rotate(-14deg);
  }
  55% {
    opacity: 1;
    transform: scale(0.88) rotate(-3deg);
  }
  78% {
    transform: scale(1.06) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-2deg);
  }
}
@keyframes hero-stamp-shadow {
  0% {
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }
  55% {
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
  }
  100% {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  }
}
.hero.is-greeted .hero-greeting-overlay {
  opacity: 0;
  pointer-events: none;
}

.hero-content-col {
  grid-column: 1;
  display: flex;
  align-items: center;
  padding: 56px var(--gutter) 72px;
  min-width: 0;
}

.hero-content {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 4;
}
.hero-content .hero-name,
.hero-content .hero-subtitle,
.hero-content .hero-bio {
  max-width: 100%;
}

.hero-name--final,
.hero-subtitle,
.hero-bio {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-logo--final {
  width: clamp(48px, 4vw, 64px);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(8px);
  animation: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero.is-text .hero-logo--final {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.hero.is-text .hero-name--final {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.hero.is-text .hero-subtitle {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

.hero.is-text .hero-bio {
  opacity: 1;
  transform: none;
  transition-delay: 0.45s;
}

.hero-name {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  min-height: 1em;
}

.hero-greeting-overlay .hero-name {
  font-size: clamp(56px, 9.5vw, 144px);
}

.hero-greeting-line {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(22px, 3.2vw, 44px);
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero.is-typed .hero-greeting-line {
  opacity: 1;
  transform: none;
}

.hero-name--final {
  font-size: clamp(40px, 4.2vw, 64px);
  margin-bottom: 20px;
}

.hero-typed {
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.hero-caret {
  display: inline-block;
  width: 0.06em;
  height: 0.9em;
  margin-left: 0.05em;
  vertical-align: -0.1em;
  background: currentColor;
  animation: hero-caret-blink 0.9s steps(2, start) infinite;
}

.hero.is-greeted .hero-caret {
  animation: none;
  opacity: 0;
}

@keyframes hero-caret-blink {
  to {
    visibility: hidden;
  }
}
.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 14px;
}

.hero-bio {
  font-family: var(--sans);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  max-width: 44ch;
}

.hero-photo-col {
  grid-column: 2;
  width: 50vw;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;
  z-index: 2;
}
.hero-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero.is-photo .hero-photo-col {
  opacity: 1;
  transform: none;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  transition: -webkit-mask-image 1.4s cubic-bezier(0.25, 0.7, 0.25, 1), mask-image 1.4s cubic-bezier(0.25, 0.7, 0.25, 1);
}

.hero-grid::before {
  background-image: repeating-linear-gradient(to right, rgba(15, 15, 15, 0.22) 0 1px, transparent 1px 56px);
  background-position: center top;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 6%, transparent 22%, transparent 78%, black 94%, black 100%);
  mask-image: linear-gradient(to right, black 0%, black 6%, transparent 22%, transparent 78%, black 94%, black 100%);
}

.hero-grid::after {
  background-image: repeating-linear-gradient(to bottom, rgba(15, 15, 15, 0.22) 0 1px, transparent 1px 56px);
  background-position: left center;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 6%, transparent 22%, transparent 78%, black 94%, black 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 6%, transparent 22%, transparent 78%, black 94%, black 100%);
}

.hero.is-gridding .hero-grid {
  opacity: 1;
}

.hero.is-gridding .hero-grid::before {
  -webkit-mask-image: linear-gradient(to right, black 0%, black 50%, black 50%, black 50%, black 50%, black 100%);
  mask-image: linear-gradient(to right, black 0%, black 50%, black 50%, black 50%, black 50%, black 100%);
}

.hero.is-gridding .hero-grid::after {
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, black 50%, black 50%, black 50%, black 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 50%, black 50%, black 50%, black 50%, black 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-name--final,
  .hero-subtitle,
  .hero-bio,
  .hero-photo-col,
  .hero-greeting-overlay {
    transition: none;
  }
  .hero-caret {
    animation: none;
    opacity: 0;
  }
  .hero-grid {
    transition: none;
  }
}
.cs-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.cs-link:hover .link-title {
  color: var(--amber);
  transition: color 0.2s;
}
.cs-link:hover .cs-arrow {
  transform: translateX(4px);
}

.link-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.2s;
}

.cs-arrow {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--terra);
  margin-top: 12px;
  display: inline-block;
  transition: transform 0.2s;
}

.talk {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.talk:first-child {
  border-top: 1px solid var(--border);
}
.talk:last-child {
  border-bottom: none;
}

.talk-name {
  font-size: 16px;
  line-height: 1.5;
}
.talk-name a {
  color: var(--text);
  text-underline-offset: 3px;
}

.talk-year {
  font-family: var(--sans);
  font-size: 12px;
  color: #0F0F0F;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.sewing-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.sewing-gallery {
  column-count: 3;
  column-gap: 16px;
  margin-top: 24px;
}

.sewing-photo {
  break-inside: avoid;
  margin: 0 0 16px;
  background: var(--surface);
  overflow: hidden;
}
.sewing-photo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .sewing-gallery {
    column-count: 2;
  }
}
@media (max-width: 540px) {
  .sewing-gallery {
    column-count: 1;
  }
}
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .hero-photo-col {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: clamp(240px, 38vh, 360px);
  }
  .hero-content-col {
    grid-column: 1;
    grid-row: 2;
    padding: 40px var(--gutter) 56px;
  }
  .hero-content {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }
  .hero-greeting-overlay .hero-name {
    font-size: clamp(40px, 11vw, 64px);
    line-height: 1.05;
  }
  .hero-name--final {
    font-size: clamp(32px, 8vw, 44px);
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 19px;
    margin-bottom: 12px;
  }
  .hero-bio {
    font-size: 16px;
  }
  .link-title {
    font-size: 18px;
  }
}
.page-work .heading {
  font-style: normal;
}

.video-block {
  background: var(--surface);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  margin-top: 20px;
}
.video-block .video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.08);
  pointer-events: none;
}
.video-block .video-main {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.ds-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.ds-images img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
}

.locked-content {
  position: relative;
  margin-top: 8px;
}

.locked-placeholder {
  height: 260px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.locked-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, var(--border) 0px, var(--border) 1px, transparent 1px, transparent 18px);
  opacity: 0.4;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}

.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.locked-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.locked-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--secondary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.locked-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.locked-form {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4px;
}
.locked-form input[type=password] {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-right: none;
  background: var(--bg);
  color: var(--text);
  outline: none;
  width: 180px;
  transition: border-color 0.2s;
}
.locked-form input[type=password]:focus {
  border-color: var(--amber);
}
.locked-form input[type=password]::placeholder {
  color: var(--meta);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.locked-form input[type=submit] {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--text);
  color: var(--bg);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.locked-form input[type=submit]:hover {
  opacity: 0.85;
}

.locked-error {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--terra);
  height: 14px;
  margin-top: 6px;
}

.paper {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.paper:first-child {
  border-top: 1px solid var(--border);
}

.paper-title {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.paper-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--secondary);
  letter-spacing: 0;
}

.rec {
  margin-bottom: 32px;
}
.rec:last-child {
  margin-bottom: 0;
}

.rec-quote {
  border-left: 2px solid var(--amber);
  padding-left: 14px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.65;
  color: #4a4238;
  margin-bottom: 10px;
}
.rec-quote::before {
  content: "“";
  color: var(--terra);
  margin-right: 2px;
}
.rec-quote::after {
  content: "”";
  color: var(--terra);
  margin-left: 2px;
}

.rec-attr {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  padding-left: 14px;
}
.rec-attr strong {
  color: var(--text);
}

@media (max-width: 640px) {
  .ds-images {
    grid-template-columns: 1fr;
  }
  .video-block {
    aspect-ratio: 16/9;
  }
  .rec-quote {
    font-size: 16px;
  }
}
.cs-link:hover .heading {
  color: var(--amber);
  transition: color 0.2s;
}

.image-full {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  margin-top: 20px;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.image-grid img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
}

.image-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.image-grid-3 img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
}

.device-mock {
  position: relative;
  display: inline-block;
}
.device-mock img.device-frame {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.device-mock .device-scroll {
  position: absolute;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.device-mock .device-scroll::-webkit-scrollbar {
  display: none;
}
.device-mock .device-scroll img {
  width: 100%;
  display: block;
}
.device-mock.desktop-mock {
  width: 100%;
}
.device-mock.desktop-mock .device-scroll {
  left: 6.95%;
  top: 5.08%;
  width: 86.09%;
  height: 81.36%;
}
.device-mock.mobile-mock {
  width: 220px;
}
.device-mock.mobile-mock .device-scroll {
  left: 8.97%;
  top: 5.28%;
  width: 82.05%;
  height: 89.37%;
}

.device-mocks {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 20px;
}
.device-mocks .desktop-mock {
  flex: 1;
}

.insight-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.insight-card {
  border-top: 2px solid var(--amber);
  padding-top: 8px;
}
.insight-card .insight-strategy {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.insight-card .insight-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 10px;
}
.insight-card .insight-hmw {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: var(--secondary);
}

.quick-facts {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.quick-fact {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--secondary);
  padding: 8px 16px;
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .insight-cards {
    grid-template-columns: 1fr;
  }
  .image-grid-3 {
    grid-template-columns: 1fr;
  }
  .image-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  :root {
    --gutter: 32px;
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 24px;
  }
  .section {
    grid-template-columns: 1fr;
  }
  .section-divider {
    height: 1px;
    background: var(--border);
  }
  .section-margin {
    padding: 16px var(--gutter) 32px;
  }
  .section-margin:empty {
    display: none;
  }
  .section-divider:has(+ .section-margin:empty) {
    display: none;
  }
  nav {
    padding: 14px var(--gutter);
  }
  .heading {
    font-size: 18px;
  }
}
