:root {
  --ink: #0a0908;
  --ink-raised: #11100e;
  --surface: #171410;
  --paper: #eee7da;
  --paper-dim: #aaa297;
  --copper: #c27842;
  --copper-bright: #e69a5c;
  --ember: #e35f2e;
  --line: rgba(230, 154, 92, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 20%, rgba(137, 53, 21, 0.08), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0.85rem clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid transparent;
  transition: min-height 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  border-color: rgba(238, 231, 218, 0.08);
  background: rgba(10, 9, 8, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(216, 92, 42, 0.25));
}

.brand-copy {
  display: grid;
  line-height: 1;
  text-transform: uppercase;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.brand-copy span {
  margin-top: 0.38rem;
  color: var(--copper-bright);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.46em;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3.5rem);
}

nav a {
  position: relative;
  padding: 0.6rem 0;
  color: rgba(238, 231, 218, 0.72);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: var(--copper-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--paper);
}

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

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 8.5rem clamp(1.25rem, 7vw, 7.5rem) 5rem;
  isolation: isolate;
  overflow: hidden;
}

.hero-art,
.hero-shade,
.ember-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  z-index: -4;
  object-fit: cover;
  object-position: 61% center;
  transform: scale(1.035);
  animation: settle 12s ease-out both;
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.98) 0%, rgba(8, 7, 6, 0.83) 34%, rgba(8, 7, 6, 0.18) 68%, rgba(8, 7, 6, 0.42) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 26%, rgba(5, 4, 4, 0.32) 100%);
}

.ember-field {
  z-index: -2;
  opacity: 0.62;
  background:
    radial-gradient(circle at 10% 73%, rgba(233, 83, 28, 0.68) 0 1px, transparent 2px),
    radial-gradient(circle at 27% 80%, rgba(255, 177, 94, 0.58) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 76%, rgba(231, 93, 35, 0.6) 0 1px, transparent 2px);
  background-size: 143px 197px, 217px 181px, 263px 239px;
  mask-image: linear-gradient(to top, black, transparent 52%);
  animation: embers 22s linear infinite;
}

.hero-content {
  width: min(760px, 62vw);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.45rem;
  color: var(--copper-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 38px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 800px;
  margin-bottom: 1.7rem;
  font-size: clamp(3.45rem, 7.5vw, 8.2rem);
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 2.2rem;
  color: rgba(238, 231, 218, 0.72);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: #130b07;
  background: linear-gradient(135deg, var(--copper-bright), #b9582f);
  box-shadow: 0 14px 40px rgba(161, 65, 27, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #ffaf6d, #c76237);
}

.button-quiet {
  border-color: rgba(238, 231, 218, 0.2);
  background: rgba(10, 9, 8, 0.34);
  backdrop-filter: blur(8px);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: rgba(238, 231, 218, 0.5);
  background: rgba(10, 9, 8, 0.68);
}

.hero-status {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  color: rgba(238, 231, 218, 0.6);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-status strong {
  color: var(--paper);
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 5px rgba(227, 95, 46, 0.12), 0 0 22px rgba(227, 95, 46, 0.8);
}

.section-shell {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.studio-section {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  padding-block: clamp(7rem, 12vw, 12rem);
  border-bottom: 1px solid rgba(238, 231, 218, 0.08);
}

.section-number {
  color: rgba(238, 231, 218, 0.25);
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.studio-copy h2,
.project-heading h2,
.principles-intro h2,
.contact-content h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.studio-detail {
  align-self: end;
  padding-top: 3rem;
  color: var(--paper-dim);
}

.studio-detail p:last-child {
  margin-bottom: 0;
}

.studio-detail strong {
  color: var(--paper);
  font-weight: 600;
}

.project-section {
  padding-block: clamp(6rem, 11vw, 10rem);
}

.project-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-type {
  margin-bottom: 0.55rem;
  color: var(--paper-dim);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(330px, 0.75fr);
  width: min(calc(100% - 2.5rem), 1440px);
  min-height: 680px;
  margin-inline: auto;
  border: 1px solid rgba(238, 231, 218, 0.11);
  background: var(--ink-raised);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.28);
}

.project-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.project-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 64%, var(--ink-raised)), linear-gradient(0deg, rgba(9, 7, 6, 0.56), transparent 42%);
  content: "";
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-seal {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(238, 231, 218, 0.36);
  border-radius: 50%;
  place-items: center;
  color: rgba(238, 231, 218, 0.78);
  font-family: var(--serif);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  background: rgba(9, 8, 7, 0.45);
  backdrop-filter: blur(8px);
}

.project-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.project-kicker {
  margin-bottom: 0.35rem;
  color: var(--copper-bright);
  font-family: var(--serif);
  font-style: italic;
}

.project-panel h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
  letter-spacing: -0.045em;
}

.project-panel > p:not(.project-kicker) {
  color: var(--paper-dim);
}

.project-features {
  margin: 1rem 0 2.25rem;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.project-features li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.5rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: rgba(238, 231, 218, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.project-features span {
  color: var(--copper);
  font-family: var(--serif);
  font-size: 0.7rem;
}

.project-panel .button {
  align-self: flex-start;
}

.principles-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 7vw, 8rem);
  padding-block: clamp(7rem, 12vw, 12rem);
  border-top: 1px solid rgba(238, 231, 218, 0.08);
}

.principles-grid {
  border-top: 1px solid rgba(238, 231, 218, 0.13);
}

.principle {
  position: relative;
  display: grid;
  grid-template-columns: 72px 0.8fr 1fr;
  gap: 1.5rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(238, 231, 218, 0.13);
}

.principle::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper-bright);
  content: "";
  transition: width 380ms ease;
}

.principle:hover::after {
  width: 100%;
}

.principle-mark {
  color: var(--copper);
  font-family: var(--serif);
  font-size: 0.72rem;
}

.principle h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.principle p {
  margin-bottom: 0;
  color: var(--paper-dim);
  font-size: 0.9rem;
}

.contact-section {
  position: relative;
  display: grid;
  min-height: 660px;
  padding: 7rem 1.25rem;
  place-items: center;
  border-top: 1px solid rgba(238, 231, 218, 0.08);
  text-align: center;
  overflow: hidden;
}

.contact-section::before,
.contact-section::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(194, 120, 66, 0.11);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.contact-section::before {
  width: min(720px, 82vw);
  aspect-ratio: 1;
}

.contact-section::after {
  width: min(490px, 60vw);
  aspect-ratio: 1;
}

.contact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 74, 31, 0.16), transparent 68%);
  transform: translate(-50%, -50%);
  filter: blur(24px);
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-content img {
  width: 120px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 36px rgba(227, 95, 46, 0.3));
}

.eyebrow.centered {
  justify-content: center;
}

.contact-content h2 {
  margin-bottom: 1.25rem;
}

.contact-content > p:not(.eyebrow) {
  color: var(--paper-dim);
}

.contact-link {
  display: inline-block;
  margin-top: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--copper);
  color: var(--copper-bright);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 4rem);
  border-top: 1px solid rgba(238, 231, 218, 0.08);
  color: rgba(238, 231, 218, 0.38);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  text-align: right;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand .brand-copy strong {
  font-size: 0.78rem;
}

.footer-brand .brand-copy span {
  font-size: 0.48rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes settle {
  from { transform: scale(1.09); }
  to { transform: scale(1.035); }
}

@keyframes embers {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 30px -360px, -50px -280px, 60px -410px; }
}

@media (max-width: 980px) {
  .hero-content {
    width: min(680px, 82vw);
  }

  .studio-section {
    grid-template-columns: 50px 1fr;
  }

  .studio-detail {
    grid-column: 2;
    padding-top: 0;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-visual::after {
    background: linear-gradient(0deg, var(--ink-raised), transparent 36%);
  }

  .principles-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > p:first-of-type {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding-inline: 1rem;
    background: rgba(10, 9, 8, 0.66);
    backdrop-filter: blur(14px);
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

  nav a {
    display: none;
  }

  nav a:last-child {
    display: block;
  }

  .hero {
    align-items: end;
    min-height: 900px;
    padding: 8rem 1.25rem 9rem;
  }

  .hero-art {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(8, 7, 6, 0.94) 30%, rgba(8, 7, 6, 0.16) 70%, rgba(8, 7, 6, 0.4) 100%),
      linear-gradient(90deg, rgba(8, 7, 6, 0.7), transparent);
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    font-size: clamp(3.5rem, 16vw, 5.8rem);
  }

  .hero-status {
    right: auto;
    bottom: 2.2rem;
    left: 1.25rem;
  }

  .studio-section {
    grid-template-columns: 1fr;
  }

  .section-number {
    display: none;
  }

  .studio-detail {
    grid-column: auto;
  }

  .project-heading {
    display: block;
  }

  .project-heading h2 {
    margin-bottom: 1.25rem;
  }

  .project-card {
    width: calc(100% - 1.5rem);
  }

  .project-visual {
    min-height: 370px;
  }

  .project-panel {
    padding: 2.2rem 1.5rem 2.6rem;
  }

  .project-panel .button {
    width: 100%;
  }

  .principle {
    grid-template-columns: 48px 1fr;
  }

  .principle p {
    grid-column: 2;
  }

  .contact-section {
    min-height: 600px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer p:last-child {
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
