:root {
  color-scheme: dark;
  --ink: #101112;
  --black: #0b0c0d;
  --paper: #f6f1e8;
  --muted: #c8c4bd;
  --amber: #ffbd65;
  --stroke: #353331;
  --type: Arial, Helvetica, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --gutter: clamp(1.25rem, 5.35vw, 5.75rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--type);
  font-size: 1rem;
  line-height: 1.55;
}

h1, h2, p {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 5px;
}

main:focus {
  outline: none;
}

section[id] {
  scroll-margin-top: 2rem;
}

.shell {
  width: min(100% - 2 * var(--gutter), 81rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 3;
  inset-block-start: .75rem;
  inset-inline-start: var(--gutter);
  padding: .7rem 1rem;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--black);
}

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

.site-header {
  position: relative;
  z-index: 1;
  background: var(--black);
  border-bottom: 1px solid #ffffff20;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.5rem;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .66rem;
  width: max-content;
  min-height: 2.75rem;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 1.68rem;
  width: 1.68rem;
  aspect-ratio: 1;
  background: var(--amber);
  clip-path: polygon(0 100%, 0 0, 21% 0, 78% 65%, 78% 0, 100% 0, 100% 100%, 79% 100%, 22% 35%, 22% 100%);
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-name span {
  margin-inline-start: .28em;
  color: var(--muted);
  font-weight: 500;
}

.header-inner nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.header-inner nav a,
.header-contact {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .9375rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-inner nav a:hover,
.header-contact:hover {
  color: var(--paper);
}

.header-contact {
  justify-self: end;
  justify-content: center;
  min-width: 6.5rem;
  padding-inline: .85rem;
  border: 1px solid #b8834c;
  color: var(--amber);
  font-weight: 700;
}

.header-contact:hover {
  border-color: var(--amber);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  min-height: clamp(39rem, 53vw, 49rem);
  overflow: hidden;
  background: #281911;
  border-bottom: 1px solid #ba784a78;
}

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

.hero-art {
  z-index: -2;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, #0b0b0df2 0%, #0b0b0dd4 23%, #0b0b0d86 49%, #0b0b0d16 76%, #0b0b0d0e),
    linear-gradient(0deg, #0b0b0de0 0%, #0b0b0d28 44%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  padding-block: clamp(5rem, 10vw, 9.75rem) clamp(3.875rem, 7.45vw, 6.6rem);
}

.hero-copy {
  max-width: 55rem;
}

.eyebrow {
  color: var(--amber);
  font-family: var(--mono);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.hero h1 {
  margin-block-start: 1.25rem;
  font-size: clamp(3.25rem, 7.7vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -.077em;
  line-height: .96;
}

.hero h1 span {
  color: var(--amber);
}

.hero-description {
  max-width: 26.5rem;
  margin-block-start: 1.9rem;
  color: var(--paper);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.52;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding: .7rem 1.2rem;
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--amber);
  color: #19120d;
}

.button-primary:hover {
  background: #ffd494;
}

.hero .button {
  margin-block-start: 1.8rem;
}

.studio {
  padding-block: clamp(2.25rem, 5vw, 4.5rem);
}

.studio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
  padding-block: clamp(2.5rem, 6.2vw, 6rem);
}

.studio-section + .studio-section {
  border-top: 1px solid var(--stroke);
}

.studio-section h2,
.contact h2,
.error-page h1 {
  font-size: clamp(2.625rem, 6.25vw, 6rem);
  font-weight: 800;
  letter-spacing: -.072em;
  line-height: .96;
}

.section-copy {
  display: grid;
  gap: 1rem;
  max-width: 31rem;
  padding-block-start: .23rem;
  color: var(--muted);
  font-size: 1.075rem;
}

.section-copy .section-lead {
  color: var(--paper);
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  font-weight: 700;
  letter-spacing: -.033em;
  line-height: 1.16;
}

.contact {
  background:
    radial-gradient(ellipse at 97% 108%, #4e2b1b 0%, transparent 55%),
    #1a1513;
  border-block: 1px solid #81533b;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-block: clamp(3.25rem, 8vw, 7.5rem);
}

.contact h2 {
  margin-block-start: 1rem;
}

.contact-action {
  max-width: 23rem;
}

.contact-action p {
  color: var(--muted);
  font-size: 1.075rem;
}

.contact-action .button {
  margin-block-start: 1.3rem;
}

.email-address {
  display: block;
  width: fit-content;
  margin-block-start: .85rem;
  color: var(--paper);
  font-size: .9375rem;
  text-underline-offset: .23em;
  overflow-wrap: anywhere;
}

.email-address:hover {
  color: var(--amber);
}

.site-footer {
  background: var(--black);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 3rem;
  min-height: 6.875rem;
  padding-block: 1.5rem;
}

.footer-inner p {
  color: var(--muted);
  font-size: .9375rem;
}

.error-page {
  display: grid;
  align-items: center;
  min-height: 68vh;
  padding-block: 5rem;
  background: radial-gradient(ellipse at 20% 100%, #3a241a 0%, transparent 58%);
}

.error-page h1 {
  margin-block: 1rem;
}

.error-page p:not(.eyebrow) {
  color: var(--muted);
}

.error-page .button {
  margin-block-start: 1.5rem;
}

@media (max-width: 48rem) {
  .hero {
    min-height: 39rem;
  }

  .hero-art {
    object-position: 66% 48%;
  }

  .hero::after {
    background:
      linear-gradient(0deg, #0b0b0df5 0%, #0b0b0dd9 25%, #0b0b0d8c 50%, #0b0b0d0a 78%),
      linear-gradient(90deg, #0b0b0d7a, transparent 75%);
  }

  .hero-inner {
    padding-block-end: 3.5rem;
  }

  .studio-section,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .desktop-break {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 34rem) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 0 1rem;
    padding-block: .55rem .15rem;
  }

  .header-inner nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-contact {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    min-height: 34.5rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 10.7vw, 3.8rem);
  }

  .hero-description {
    margin-block-start: 1.15rem;
  }

  .hero .button {
    margin-block-start: 1.4rem;
  }
}

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