:root {
  --alabaster: #F5F2EB;
  --stone: #ECE7DC;
  --espresso: #1E1C1A;
  --ink-muted: #5C5750;
  --brass: #C6A46C;
  --rule: rgba(30, 28, 26, 0.22);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  background-color: var(--alabaster);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

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

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 64px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  color: #F5F2EB;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(245, 242, 235, 0.94);
  backdrop-filter: blur(10px);
  color: var(--espresso);
  border-bottom-color: rgba(30, 28, 26, 0.1);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-wordmark {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.desktop-nav a {
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.desktop-nav a:hover {
  opacity: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.studio-link {
  font-size: 0.88rem;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}

.studio-link:hover {
  opacity: 0.72;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  padding: 18px clamp(20px, 4.5vw, 64px) 26px;
  background: var(--alabaster);
  color: var(--espresso);
  border-top: 1px solid rgba(30, 28, 26, 0.1);
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer a {
  padding-block: 11px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(30, 28, 26, 0.08);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: clamp(620px, 88svh, 860px);
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(56px, 8vh, 88px);
  background: #1B1815;
  color: #F5F2EB;
  overflow: hidden;
}

.hero-media-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-poster,
.hero-sunlight-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster {
  z-index: 1;
}

.hero-sunlight-canvas {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-sunlight-canvas.is-ready {
  opacity: 1;
}

.hero-light-beam {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--lx, 68%) var(--ly, 34%),
    rgba(198, 164, 108, 0.16),
    transparent 68%
  );
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 16, 0.34) 0%,
    rgba(20, 18, 16, 0.08) 40%,
    rgba(20, 18, 16, 0.68) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.85rem, 5.4vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-outline-btn {
  display: inline-block;
  margin-top: 26px;
  padding: 11px 22px;
  border: 1px solid rgba(245, 242, 235, 0.62);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-outline-btn:hover {
  background: #F5F2EB;
  border-color: #F5F2EB;
  color: var(--espresso);
}

/* Staggered Portfolio Section */
.works-section {
  background: var(--alabaster);
  padding-block: clamp(72px, 10vh, 128px);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.work-right {
  margin-top: clamp(48px, 8vw, 110px);
}

.work-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
}

.work-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}

.work-item:hover .work-frame img {
  transform: scale(1.03);
}

.work-caption {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  letter-spacing: -0.01em;
  color: var(--espresso);
}

/* Disciplines Band */
.practice-section {
  background: var(--stone);
  padding-block: clamp(68px, 9vh, 110px);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px);
}

.discipline-col {
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.discipline-col h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  color: var(--espresso);
  margin-bottom: 12px;
}

.discipline-col p {
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

/* Studio Consultation Note */
.studio-note-section {
  background: var(--alabaster);
  padding-block: clamp(58px, 7vh, 88px);
  border-top: 1px solid rgba(30, 28, 26, 0.08);
}

.studio-note-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section-serif-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  line-height: 1.15;
}

.studio-note-copy {
  margin-top: 12px;
  max-width: 48ch;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.studio-meta-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.studio-meta-cols strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 8px;
}

.studio-meta-cols p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.studio-meta-cols a:hover {
  color: var(--espresso);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--espresso);
  color: var(--alabaster);
  padding-block: 26px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
}

.footer-brand {
  letter-spacing: 0.16em;
  font-weight: 500;
}

.footer-city {
  color: rgba(245, 242, 235, 0.72);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(245, 242, 235, 0.85);
}

.footer-nav a:hover {
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 900px) {
  .practice-grid,
  .studio-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .desktop-nav,
  .studio-link {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .works-grid,
  .studio-meta-cols {
    grid-template-columns: 1fr;
  }
  .work-right {
    margin-top: 0;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
