:root,
[data-theme='dark'] {
  --ink: #f7f4ef;
  --muted: rgba(247, 244, 239, 0.68);
  --faint: rgba(247, 244, 239, 0.46);
  --ground: #0d1b2a;
  --ground-2: #13263a;
  --surface: #1a2f46;
  --line: rgba(247, 244, 239, 0.16);
  --accent: #7ecde4;
  --accent-2: #e8543a;
  --paper: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(3.1rem, 1.4rem + 5.5vw, 7rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --max: 1320px;
}

[data-theme='light'] {
  --ink: #091629;
  --muted: #40516b;
  --faint: #6d7b91;
  --ground: #ffffff;
  --ground-2: #eef6f8;
  --surface: #f6fbfc;
  --line: rgba(9, 22, 41, 0.18);
  --accent: #237f9a;
  --accent-2: #e8543a;
  --paper: #0d1b2a;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: #f7f4ef;
  color: #0d1b2a;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

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

a,
button {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  max-width: 17ch;
}

.skip-link {
  left: var(--space-4);
  position: fixed;
  top: -4rem;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--accent);
  color: #081521;
  font-weight: 700;
}

.skip-link:focus {
  top: var(--space-4);
}

.site-header {
  align-items: center;
  background: #0d1b2a;
  border-bottom: 1px solid rgba(247, 244, 239, 0.14);
  display: flex;
  justify-content: flex-end;
  margin: 0;
  max-width: none;
  min-height: 5.25rem;
  padding: 0 max(var(--space-6), calc((100vw - var(--max)) / 2 + var(--space-6)));
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(var(--space-4), 2.5vw, var(--space-8));
}

nav a,
.theme-toggle {
  color: rgba(247, 244, 239, 0.66);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible {
  color: #7ecde4;
}

.theme-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(247, 244, 239, 0.22);
  color: #f7f4ef;
  cursor: pointer;
  display: flex;
  height: 2.25rem;
  justify-content: center;
  margin-left: var(--space-4);
  width: 2.25rem;
}

.theme-toggle:hover {
  border-color: #7ecde4;
  color: #7ecde4;
}

.hero {
  background: #0d1b2a;
  min-height: min(685px, calc(100vh - 5.25rem));
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-6);
}

.hero-copy {
  margin: 0 auto;
  max-width: var(--max);
}

.eyebrow {
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  color: #f7f4ef;
  font-size: clamp(3.15rem, 1.65rem + 4.65vw, 6rem);
  font-weight: 500;
  margin: var(--space-6) 0;
  max-width: 12ch;
  text-wrap: pretty;
}

.hero h1 em {
  color: #7ecde4;
  font-weight: 500;
}

.hero-intro {
  color: rgba(247, 244, 239, 0.66);
  font-size: var(--text-lg);
  line-height: 1.45;
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-10);
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-size: var(--text-sm);
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.03em;
  min-height: 3.25rem;
  padding: 0 var(--space-6);
}

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

.button-primary {
  background: #e8543a;
  border-color: #e8543a;
  color: #f7f4ef;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #7ecde4;
  border-color: #7ecde4;
  color: #0d1b2a;
}

.button-secondary {
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.statement-band {
  background: #0d1b2a;
  border-top: 1px solid rgba(247, 244, 239, 0.14);
  color: #f7f4ef;
  padding: var(--space-10) var(--space-6);
}

.problem-section,
.work-section,
.experience-section {
  background: #f7f4ef;
  color: #0d1b2a;
}

.statement-band p {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.05rem + 2.3vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0 auto;
  max-width: var(--max);
}

.statement-band span {
  color: #7ecde4;
}

.section {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 11rem minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(var(--space-16), 9vw, var(--space-32)) var(--space-6);
}

.section-label {
  align-items: baseline;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.section-label p {
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
}

.section-content > h2 {
  margin-bottom: var(--space-10);
}

.two-column-copy {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: var(--space-6);
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-list p {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.42;
  max-width: 58rem;
  padding: var(--space-6) 0;
}

.work-list span,
.experience-stack span {
  color: var(--accent);
  font-weight: 700;
}

.editorial-band {
  background: var(--ground);
  margin: 0;
  overflow: hidden;
}

.editorial-band img {
  aspect-ratio: 16 / 7;
  display: block;
  object-fit: cover;
  width: 100%;
}

.process-section {
  background: #0d1b2a;
  color: #f7f4ef;
}

.process-copy {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(var(--space-12), 7vw, var(--space-24));
}

.process-copy h2 {
  margin: var(--space-5) 0 var(--space-10);
}

.process-copy ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-copy li {
  border-top: 1px solid rgba(247, 244, 239, 0.16);
  padding: var(--space-5) 0;
}

.process-copy h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  letter-spacing: 0;
  line-height: 1.2;
}

.process-copy li p {
  color: rgba(247, 244, 239, 0.66);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

.experience-stack {
  border-top: 1px solid var(--line);
}

.experience-stack p {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.42;
  max-width: 62rem;
  padding: var(--space-6) 0;
}

.perspective-section {
  background: #f7f4ef;
  color: #0d1b2a;
  display: grid;
  gap: var(--space-12);
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(var(--space-16), 9vw, var(--space-32)) max(var(--space-6), calc((100vw - var(--max)) / 2 + var(--space-6)));
}

.perspective-section .eyebrow {
  color: var(--accent-2);
}

.perspective-section h2 {
  margin-top: var(--space-5);
}

.perspective-list {
  border-top: 1px solid rgba(11, 23, 38, 0.2);
}

.perspective-list a {
  align-items: center;
  border-bottom: 1px solid rgba(11, 23, 38, 0.2);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(0, 1fr) auto;
  padding: var(--space-5) 0;
}

.perspective-list a:hover,
.perspective-list a:focus-visible {
  color: var(--accent-2);
}

.perspective-list p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.perspective-list .arrow {
  font-size: var(--text-lg);
}

.contact-section {
  background: #0d1b2a;
  color: #f7f4ef;
  margin: 0 auto;
  max-width: 55rem;
  padding: clamp(var(--space-20), 12vw, 12rem) var(--space-6);
  text-align: center;
}

.contact-section .eyebrow {
  margin-bottom: var(--space-5);
}

.contact-section h2 {
  margin: 0 auto var(--space-6);
  max-width: 15ch;
}

.contact-section > p:not(.eyebrow) {
  color: rgba(247, 244, 239, 0.66);
  margin: 0 auto var(--space-10);
  max-width: 38rem;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  background: #0d1b2a;
  color: rgba(247, 244, 239, 0.66);
  display: flex;
  font-size: var(--text-xs);
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: var(--space-6);
}

footer div {
  display: flex;
  gap: var(--space-5);
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent);
}

@media (max-width: 880px) {
  .site-header {
    min-height: 4.5rem;
  }

  nav {
    display: none;
  }

  .hero,
  .perspective-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: var(--space-16);
  }

  .hero-art {
    max-width: 38rem;
  }

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

  .section-label {
    flex-direction: row;
  }

  .editorial-band img {
    aspect-ratio: 16 / 9;
  }

}

@media (max-width: 620px) {
  .site-header {
    padding: 0 var(--space-4);
  }

  .hero,
  .section,
  .contact-section,
  footer {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .hero h1 {
    max-width: 11ch;
  }

  .two-column-copy {
    grid-template-columns: 1fr;
  }

  .statement-band {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .perspective-section {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
