/* ============================================
   FOCAL DESIGN — Architecture Studio
   Swiss / Bauhaus Minimalism
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  font-feature-settings: 'kern' 1, 'liga' 1, 'ss01' 1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  /* Avoids browser-side blur when an image is downscaled to fit a
     smaller container. We can't fix a low-res source, but we can stop
     the browser from re-blurring what's already on disk. */
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Tokens ---------- */
:root {
  /* Palette — Cool grays, pure white, natural wood */
  --paper:        #FAFAF7;          /* warm off-white */
  --paper-pure:   #FFFFFF;
  --gray-50:      #F4F2EE;
  --gray-100:     #E8E6E0;
  --gray-200:     #D6D2C9;
  --gray-300:     #B8B4AB;
  --gray-400:     #8A857C;
  --gray-500:     #5C5850;
  --gray-600:     #3A3833;
  --gray-700:     #232220;
  --gray-800:     #161513;
  --ink:          #0B0A09;          /* near-black */
  --wood:         #B58A5A;          /* natural wood */
  --wood-deep:    #8B6740;
  --wood-pale:    #E3D2B6;

  /* Typography */
  --f-sans: 'Inter', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;

  /* Spacing — 8px base */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  16px;
  --s-4:  24px;
  --s-5:  32px;
  --s-6:  48px;
  --s-7:  64px;
  --s-8:  96px;
  --s-9:  128px;
  --s-10: 192px;

  /* Layout */
  --max: 1680px;
  --gutter: 24px;
  --col: calc((min(100%, var(--max)) - var(--gutter) * 11) / 12);

  /* Motion */
  --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 240ms;
  --dur: 480ms;
  --dur-slow: 900ms;
}

/* ---------- Custom cursor (desktop) ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width var(--dur) var(--ease-out),
              height var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  will-change: transform;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity var(--dur-fast) var(--ease-out);
}

.cursor.is-link {
  width: 56px;
  height: 56px;
  background: var(--ink);
  border-color: var(--ink);
}

.cursor.is-view {
  width: 96px;
  height: 96px;
  background: var(--paper);
  border-color: var(--paper);
}

.cursor.is-view::before {
  content: 'View';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (hover: none) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--dur-slow) var(--ease),
              visibility var(--dur-slow);
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
  width: min(100%, 480px);
  padding: 0 var(--s-4);
}

.loader-meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: var(--s-4);
}

.loader-title {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-6);
}

.loader-title span {
  margin-left: 4px;
  font-weight: 300;
  color: var(--gray-400);
}

.loader-bar {
  position: relative;
  width: 100%;
  height: 1px;
  background: var(--gray-200);
  overflow: hidden;
  margin-bottom: var(--s-3);
}

.loader-bar span {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease-out);
}

.loader-counter {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-500);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--s-4) var(--s-5);
  background: transparent;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
  color: var(--paper-pure);
  mix-blend-mode: difference;
}

.header.is-stuck {
  /* No visual change here; mix-blend handles it */
}

.logo {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.logo-mark {
  font-family: var(--f-mono);
  font-size: 11px;
  border: 1px solid currentColor;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.logo-text {
  font-weight: 500;
  letter-spacing: 0.08em;
}

.logo-text span {
  margin-left: 1px;
  font-weight: 300;
  opacity: 0.6;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.nav a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--s-2) 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.nav-num {
  font-family: var(--f-mono);
  font-size: 9px;
  opacity: 0.5;
  letter-spacing: 0.1em;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--dur) var(--ease-out);
}

.nav a:hover::after {
  width: 100%;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  justify-self: end;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.85;
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wood);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(181, 138, 90, 0.6);
  animation: pulse 2.4s var(--ease-out) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181, 138, 90, 0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(181, 138, 90, 0); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header { grid-template-columns: 1fr auto; }
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

.col-offset-1 { grid-column-start: 2; }
.col-offset-2 { grid-column-start: 3; }
.col-offset-3 { grid-column-start: 4; }

@media (max-width: 900px) {
  .col-md-12 { grid-column: span 12; }
  .col-md-6  { grid-column: span 6; }
  .col-offset-1, .col-offset-2, .col-offset-3 { grid-column-start: auto; }
  .container { padding: 0 var(--s-4); }
}

@media (max-width: 600px) {
  .col-sm-6  { grid-column: span 6; }
  .col-sm-12 { grid-column: span 12; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.carousel {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1200ms var(--ease),
              visibility 1200ms;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
}

.slide-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  opacity: 0;
  transition: transform 8000ms var(--ease-out),
              opacity 1400ms var(--ease);
  filter: brightness(0.72) saturate(0.9);
}

.slide.is-active .slide-media img {
  transform: scale(1.0);
  opacity: 1;
}

/* Subtle Ken Burns during exit */
.slide.is-leaving .slide-media img {
  transform: scale(0.96);
}

.slide-grain {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.slide-grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-6) var(--s-5) var(--s-9);
  max-width: var(--max);
  margin: 0 auto;
  z-index: 2;
}

@media (min-width: 1680px) {
  .slide-content {
    padding: var(--s-7) var(--s-7) var(--s-10);
  }
}

.slide-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-3);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 800ms var(--ease-out) 600ms,
              transform 800ms var(--ease-out) 600ms;
}

.slide.is-active .slide-row { opacity: 1; transform: none; }

.slide-tag {
  border: 1px solid rgba(255,255,255,0.4);
  padding: 4px 10px;
  border-radius: 1px;
  letter-spacing: 0.16em;
}

.slide-title {
  font-size: clamp(56px, 10vw, 168px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-4);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1000ms var(--ease-out) 800ms,
              transform 1000ms var(--ease-out) 800ms;
}

.slide.is-active .slide-title { opacity: 1; transform: none; }

.slide-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 900ms var(--ease-out) 1100ms,
              transform 900ms var(--ease-out) 1100ms;
}

.slide.is-active .slide-meta { opacity: 1; transform: none; }

.slide-meta .dot { opacity: 0.5; }

/* Carousel controls */
.carousel-controls {
  position: absolute;
  bottom: var(--s-7);
  right: var(--s-5);
  display: flex;
  gap: var(--s-3);
  z-index: 5;
}

@media (min-width: 1680px) {
  .carousel-controls { right: var(--s-7); }
}

.ctrl {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  backdrop-filter: blur(6px);
}

.ctrl svg {
  width: 22px;
  height: 22px;
}

.ctrl:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: scale(1.04);
}

/* Carousel progress */
.carousel-progress {
  position: absolute;
  bottom: var(--s-7);
  left: var(--s-5);
  right: 220px;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  z-index: 5;
  pointer-events: none;
}

@media (min-width: 1680px) {
  .carousel-progress { left: var(--s-7); }
}

.progress-track {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: var(--paper);
  transition: width 100ms linear;
}

.progress-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}

/* Thumbs (right side) */
.carousel-thumbs {
  position: absolute;
  right: var(--s-5);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  z-index: 5;
  pointer-events: none;
}

@media (min-width: 1680px) {
  .carousel-thumbs { right: var(--s-7); }
}

.thumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  transition: color var(--dur) var(--ease);
  padding: 4px 0;
  border-right: 1px solid transparent;
  padding-right: var(--s-3);
  text-align: right;
}

.thumb.is-active {
  color: var(--paper);
  border-right-color: var(--wood);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: var(--s-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  z-index: 5;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  pointer-events: none;
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.scroll-line span {
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: top;
  animation: scrollDown 2.4s var(--ease-out) infinite;
}

@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Brand strip (between hero and studio) ---------- */
.brand-strip {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--paper);
  padding: var(--s-4) 0;
}

.brand-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  overflow-x: auto;
  scrollbar-width: none;
}

.brand-strip-inner::-webkit-scrollbar { display: none; }

.brand-strip-label {
  color: var(--gray-400);
  flex-shrink: 0;
}

.brand-strip-sep {
  width: 1px;
  height: 14px;
  background: var(--gray-300);
  flex-shrink: 0;
}

.brand {
  color: var(--gray-700);
  font-weight: 500;
  letter-spacing: 0.22em;
  flex-shrink: 0;
  position: relative;
  padding: 4px 0;
}

.brand + .brand {
  padding-left: var(--s-4);
  margin-left: var(--s-3);
}

@media (max-width: 600px) {
  .brand + .brand { padding-left: var(--s-3); margin-left: var(--s-2); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: var(--s-9) 0;
  border-top: 1px solid var(--gray-100);
}

@media (max-width: 900px) {
  .section { padding: var(--s-8) 0; }
}

.section-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--s-5);
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--ink);
}

.section-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.section-head {
  margin-bottom: var(--s-8);
}

.section-title {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.section-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
  max-width: 32ch;
}

.display {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.display em {
  font-style: normal;
  color: var(--wood);
  position: relative;
}

/* ---------- Statement ---------- */
.statement .display {
  margin-bottom: var(--s-6);
}

.statement-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 60ch;
  margin-bottom: var(--s-3);
}

.statement-body p:last-child { margin-bottom: 0; }

.statement-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--gray-100);
}

@media (max-width: 900px) {
  .statement-stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
}

/* The 5th stat (200+ Fixtures Project Delivered) wraps to its own row
   because the parent grid is 4 columns. Center it on that row. */
.statement-stats .stat-wide {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}

.stat-num {
  display: block;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-2);
}

.stat-suffix {
  font-size: 0.55em;
  color: var(--wood);
  font-weight: 400;
  margin-left: 2px;
  vertical-align: top;
  position: relative;
  top: 0.15em;
}

.stat-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ---------- Work / Project list ---------- */
.project-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}

@media (max-width: 900px) {
  .project-row { grid-template-columns: 1fr; }
}

.project {
  position: relative;
}

.project-link {
  display: block;
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: var(--s-3);
}

.project-half .project-media {
  aspect-ratio: 4 / 5;
}

@media (max-width: 900px) {
  .project-half .project-media {
    aspect-ratio: 4 / 3;
  }
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1200ms var(--ease-out),
              filter 800ms var(--ease);
  filter: brightness(0.96) saturate(0.9);
}

.project:hover .project-media img {
  transform: scale(1.0);
  filter: brightness(1) saturate(1);
}

.project-num {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--paper);
  background: var(--ink);
  padding: 5px 10px;
  border-radius: 1px;
  mix-blend-mode: difference;
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  padding-top: var(--s-2);
}

@media (max-width: 600px) {
  .project-info {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-2);
  }
}

.project-title {
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  transition: color var(--dur) var(--ease);
}

.project:hover .project-title {
  color: var(--wood-deep);
}

.project-meta {
  display: flex;
  gap: var(--s-3);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  flex-shrink: 0;
}

.project-meta li + li {
  position: relative;
  padding-left: var(--s-3);
}

.project-meta li + li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
}

@media (max-width: 600px) {
  .project-meta li + li::before { display: none; }
  .project-meta li + li { padding-left: 0; }
}

/* ---------- Approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  border-top: 1px solid var(--gray-100);
}

@media (max-width: 900px) {
  .approach-grid { grid-template-columns: 1fr; }
}

.approach-item {
  padding: var(--s-6) 0;
  border-right: 1px solid var(--gray-100);
  padding-right: var(--s-4);
  display: flex;
  flex-direction: column;
}

.approach-item:last-child { border-right: none; }

@media (max-width: 900px) {
  .approach-item { border-right: none; border-bottom: 1px solid var(--gray-100); padding-right: 0; }
  .approach-item:last-child { border-bottom: none; }
}

.approach-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.approach-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--wood);
}

.approach-rule {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.approach-title {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}

.approach-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: var(--s-4);
  flex: 1;
}

.approach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.approach-tags li {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  border-radius: 1px;
}

/* ---------- Recognition ---------- */
.awards-table {
  border-top: 1px solid var(--ink);
}

.awards-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
  transition: background var(--dur) var(--ease),
              padding var(--dur) var(--ease);
  cursor: default;
}

.awards-row:hover {
  background: var(--gray-50);
  padding-left: var(--s-3);
  padding-right: var(--s-3);
}

.awards-head {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  border-bottom: 1px solid var(--ink);
  padding-bottom: var(--s-3);
}

.awards-head:hover { background: transparent; padding: var(--s-3) 0; }

.awards-row span:first-child {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.awards-row abbr {
  text-decoration: none;
  border-bottom: 0;
  cursor: help;
}

@media (max-width: 900px) {
  .awards-row {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 4px var(--s-3);
  }
  .awards-row span:nth-child(2) { grid-column: 2; }
  .awards-row span:nth-child(3) { grid-column: 2; color: var(--gray-500); font-size: 13px; }
  .awards-row span:nth-child(4) { grid-column: 2; color: var(--gray-500); font-size: 12px; }
  .awards-head { display: none; }
}

/* ---------- Materials row ---------- */
.materials-row {
  display: flex;
  align-items: baseline;
  gap: var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.materials-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  flex-shrink: 0;
  white-space: nowrap;
}

.materials-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  flex: 1;
  list-style: none;
}

.materials-list li {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-700);
  padding: 6px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 1px;
  position: relative;
}

.materials-list li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  width: 4px;
  height: 4px;
  background: var(--wood);
  border-radius: 50%;
  transform: translateY(-50%);
}

.materials-list li {
  padding-left: 16px;
}

@media (max-width: 900px) {
  .materials-row { flex-direction: column; gap: var(--s-3); }
}

/* ---------- Contact ---------- */
.contact {
  padding: var(--s-9) 0 var(--s-8);
}

.contact-display {
  margin-bottom: var(--s-6);
}

.contact-mail {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--gray-200);
  margin-top: var(--s-4);
  transition: border-color var(--dur) var(--ease);
}

.contact-mail:hover { border-bottom-color: var(--ink); }

.contact-mail-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.contact-mail-value {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.contact-block {
  margin-bottom: var(--s-5);
}

.contact-block-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: var(--s-2);
}

.contact-block p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-700);
}

.contact-block a {
  border-bottom: 1px solid var(--gray-300);
  transition: border-color var(--dur) var(--ease);
}

.contact-block a:hover { border-bottom-color: var(--ink); }

@media (max-width: 900px) {
  .contact-block { margin-bottom: var(--s-4); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--gray-300);
  padding: var(--s-8) 0 var(--s-5);
}

.footer-top {
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--gray-700);
}

.footer-logo {
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--paper);
  margin-bottom: var(--s-3);
}

.footer-logo span {
  margin-left: 4px;
  font-weight: 300;
  opacity: 0.6;
}

.footer-tag {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-400);
  max-width: 30ch;
}

.footer h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--s-3);
  font-weight: 500;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.footer ul a {
  font-size: 14px;
  color: var(--gray-200);
  transition: color var(--dur) var(--ease);
  position: relative;
  display: inline-block;
}

.footer ul a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--wood);
  transition: width var(--dur) var(--ease-out);
}

.footer ul a:hover {
  color: var(--paper);
}

.footer ul a:hover::after {
  width: 100%;
}

.footer-bottom {
  margin-top: var(--s-5);
}

.footer-bottom p {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .footer-bottom { display: none; }
  .footer-top .grid > * { margin-bottom: var(--s-5); }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease-out),
              transform 900ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-1 { transition-delay: 100ms; }
.reveal-2 { transition-delay: 200ms; }
.reveal-3 { transition-delay: 300ms; }
.reveal-4 { transition-delay: 400ms; }

/* Stagger children of approach grid */
.approach-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease-out),
              transform 900ms var(--ease-out);
}

.approach-item.is-visible {
  opacity: 1;
  transform: none;
}

.approach-item:nth-child(2) { transition-delay: 120ms; }
.approach-item:nth-child(3) { transition-delay: 240ms; }

/* Smooth section background transition on scroll */
.section-head .section-title,
.display,
.section-intro {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease-out),
              transform 900ms var(--ease-out);
}

.section.is-in .section-head .section-title,
.section.is-in .display,
.section.is-in .section-intro,
.statement.is-in .display,
.statement.is-in .statement-body p,
.statement.is-in .statement-stats {
  opacity: 1;
  transform: none;
}

.statement-body p,
.statement-stats {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease-out),
              transform 800ms var(--ease-out);
}

.statement-body p:nth-child(2) { transition-delay: 100ms; }
.statement-stats { transition-delay: 300ms; }

.awards-row {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 700ms var(--ease-out),
              transform 700ms var(--ease-out),
              background var(--dur) var(--ease),
              padding var(--dur) var(--ease);
}

.awards-table.is-in .awards-row {
  opacity: 1;
  transform: none;
}

.awards-table.is-in .awards-row:nth-child(2) { transition-delay: 60ms; }
.awards-table.is-in .awards-row:nth-child(3) { transition-delay: 120ms; }
.awards-table.is-in .awards-row:nth-child(4) { transition-delay: 180ms; }
.awards-table.is-in .awards-row:nth-child(5) { transition-delay: 240ms; }
.awards-table.is-in .awards-row:nth-child(6) { transition-delay: 300ms; }
.awards-table.is-in .awards-row:nth-child(7) { transition-delay: 360ms; }
.awards-table.is-in .awards-row:nth-child(8) { transition-delay: 420ms; }

/* Project reveal */
.project {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out),
              transform 900ms var(--ease-out);
}

.project.is-visible {
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor, .cursor-dot { display: none; }
}

/* Wide screen tweaks */
@media (min-width: 1440px) {
  body { font-size: 16px; }
  .display { font-size: clamp(40px, 4.4vw, 68px); }
}

/* Make sure project-row children animate together */
.project-row .project { transition-delay: 0ms; }
.project-row .project:nth-child(2) { transition-delay: 120ms; }
