@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #111213;
  --panel: #171818;
  --warmwhite: #fff5e5;
  --muted: #c9c0b3;
  --line: #3b3833;
  --gold: #f9cb68;
  --teal: #62dbc9;
  --paper: #ede3d2;
  --text: Manrope, "Segoe UI", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --gutter: clamp(1.125rem, 4.3vw, 4.75rem);
  font: 400 100% / 1.62 var(--text);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--warmwhite);
  background: var(--ink);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
}

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

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

.skip {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: .55rem .85rem;
  color: var(--ink);
  background: var(--warmwhite);
}

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

.masthead { border-bottom: 1px solid var(--line); }

.masthead-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
}

.brand { justify-self: start; }

.brand span {
  display: block;
  width: clamp(7.65rem, 12.5vw, 10.5rem);
  aspect-ratio: 437 / 142;
  overflow: hidden;
}

.brand img {
  width: 146.45%;
  max-width: none;
  height: auto;
  margin: -5.03% 0 0 -7.09%;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.9rem, 3.15vw, 3.75rem);
}

.primary-nav a,
.control-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  white-space: nowrap;
  font-size: .86rem;
  font-weight: 750;
}

.primary-nav a { color: var(--muted); }

.primary-nav a:hover, .footer-links a:hover { color: var(--warmwhite); }

.control-link {
  justify-self: end;
  gap: .85rem;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
}

.control-link span { color: var(--teal); }
.control-link:hover { border-color: var(--teal); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(32rem, 49vw, 47rem);
  margin-top: clamp(1.15rem, 2.2vw, 2.2rem);
  margin-bottom: clamp(1.15rem, 2.2vw, 2.2rem);
}

.intro {
  width: min(62%, 50rem);
  padding-block: clamp(3rem, 7vw, 8rem);
}

.section-name {
  color: var(--gold);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .135em;
  text-transform: uppercase;
}

.intro h1 {
  margin: .9rem 0 1.3rem;
  font-size: clamp(5.25rem, 8.55vw, 9.25rem);
  letter-spacing: -.02em;
  line-height: .83;
}

.intro h1 span { color: var(--gold); }

.intro-description {
  max-width: 33rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem clamp(1rem, 2.4vw, 2.5rem);
  margin-top: 1.85rem;
}

.button,
.text-link {
  display: inline-flex;
  width: fit-content;
  min-height: 3.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  font-size: .9rem;
  font-weight: 800;
}

.button {
  padding: .6rem 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}

.button span, .text-link span { font-size: 1.07rem; }
.button-gold { color: var(--ink); background: var(--gold); }
.button-gold:hover { background: #ffe0a0; }
.text-link { border-bottom: 1px solid var(--line); }
.text-link span { color: var(--teal); }
.text-link:hover { border-color: var(--teal); }

.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 72%;
  overflow: hidden;
  margin: 0;
  border-radius: .48rem;
  background: #2c241a;
}

.hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--ink), rgb(17 18 19 / 92%) 13%, rgb(17 18 19 / 50%) 36%, transparent 64%),
    linear-gradient(0deg, rgb(12 12 12 / 82%), transparent 23%);
  pointer-events: none;
}

.hero-art figcaption {
  position: absolute;
  z-index: 1;
  right: 1.55rem;
  bottom: 1.3rem;
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: .9rem;
  font-weight: 800;
  text-shadow: 0 1px 3px #000;
}

.hero-art small, .studio-stage {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-art small { color: var(--gold); }

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

.studio-layout {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 2.35fr) minmax(12rem, 1.35fr);
  align-items: start;
  gap: clamp(1.3rem, 4.4vw, 4.75rem);
  padding-block: clamp(3rem, 7vw, 7rem);
}

.studio-layout > .section-name {
  margin-top: .75rem;
  color: #623818;
}

.studio h2, .publishing h2 {
  font-size: clamp(3.8rem, 7.15vw, 7.1rem);
  letter-spacing: -.018em;
  line-height: .84;
}

.studio-description {
  max-width: 30rem;
  margin-top: 1.3rem;
  font-size: clamp(.98rem, 1.65vw, 1.24rem);
  font-weight: 650;
}

.studio-notes {
  align-self: end;
  max-width: 20rem;
  color: #4b4235;
  border-top: 1px solid #b5a896;
  padding-top: .95rem;
}

.studio-stage {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: .55rem;
  color: #3e3324;
}

.studio-stage > span {
  flex: none;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #136c62;
}

.publishing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 7.5rem);
  padding-top: clamp(3.5rem, 8vw, 8rem);
  padding-bottom: clamp(3rem, 7vw, 6.75rem);
}

.publishing h2 { margin: .85rem 0 1.4rem; }

.publishing-intro > p:last-child {
  max-width: 30rem;
  color: var(--muted);
  font-size: clamp(.98rem, 1.6vw, 1.15rem);
}

.process {
  list-style: none;
  counter-reset: steps;
  margin: .2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.process li {
  display: grid;
  grid-template-columns: minmax(2.25rem, 3.45rem) minmax(0, 1fr);
  gap: .15rem .75rem;
  padding: 1rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
  counter-increment: steps;
}

.process li::before {
  grid-row: span 2;
  align-self: start;
  content: "0" counter(steps);
  padding-top: .5rem;
  color: var(--teal);
  font-size: .76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.process h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  line-height: 1;
}

.process p { color: var(--muted); }

.contact { padding-bottom: clamp(3rem, 6vw, 5rem); }

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .9rem 2rem;
  padding: clamp(1.45rem, 4.4vw, 3.55rem);
  border-radius: .4rem;
  color: var(--ink);
  background: var(--gold);
}

.contact-panel h2 {
  font-size: clamp(2.5rem, 5.1vw, 5.1rem);
  letter-spacing: -.012em;
  line-height: .95;
}

.contact-panel p { margin-top: .55rem; font-weight: 650; }
.button-dark { color: var(--warmwhite); background: var(--ink); }
.button-dark:hover { background: #383327; }
.button-dark:focus-visible { outline-color: var(--ink); }

.site-footer {
  color: var(--muted);
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 2.5fr) minmax(9rem, 1.1fr);
  align-items: start;
  gap: 1.2rem;
  padding-block: clamp(1.8rem, 4.1vw, 3.8rem);
}

.company-details { font-size: .79rem; }
.company-details > p:first-child { color: var(--warmwhite); font-weight: 800; }
.company-details address { margin-block: .25rem; font-style: normal; }
.company-details span { font-variant-numeric: tabular-nums; }

.footer-links {
  justify-self: end;
  display: grid;
  gap: .35rem;
  font-size: .84rem;
  font-weight: 700;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2rem;
}

.footer-links span { color: var(--teal); }

.error-page {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(8rem, .7fr);
  align-items: center;
  gap: 2rem;
  min-height: min(65vh, 38rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}

.error-page h1 {
  margin: .65rem 0 1.1rem;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: .83;
}

.error-page .button { margin-top: 1.45rem; }
.error-page > img { width: min(100%, 18rem); height: auto; justify-self: end; }

@media (max-width: 61em) {
  .studio-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); }
  .studio-layout > .section-name { grid-column: 1 / -1; margin: 0; }
}

@media (max-width: 54em) {
  .hero { display: block; min-height: auto; margin-top: 0; }
  .intro { width: auto; padding-block: 2.75rem 1.6rem; }
  .intro h1 { font-size: clamp(3.45rem, 11.5vw, 6.2rem); }
  .intro-description { max-width: 31rem; }
  .hero-art { position: relative; z-index: 0; width: 100%; aspect-ratio: 1.75; }
  .hero-art::after { background: linear-gradient(0deg, rgb(12 12 12 / 83%), transparent 36%); }
  .hero-art figcaption { right: .9rem; bottom: .7rem; }
}

@media (max-width: 40em) {
  .masthead-layout { grid-template-columns: minmax(0, 1fr) auto; gap: 0; padding-top: .5rem; }
  .primary-nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; gap: 1.3rem; }
  .primary-nav a { min-height: 2.55rem; }
  .control-link { min-height: 2.35rem; gap: .45rem; padding-inline: .55rem; }
  .section-name { font-size: .67rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-art { aspect-ratio: 4 / 3; }
  .studio-layout, .publishing { grid-template-columns: minmax(0, 1fr); }
  .studio-notes { margin-top: .15rem; }
  .publishing { gap: 2rem; }
  .footer-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .footer-links { justify-self: start; }
  .error-page { grid-template-columns: minmax(0, 1fr); }
  .error-page > img { justify-self: start; width: 8rem; }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color .15s ease, border-color .15s ease, background-color .15s ease; }
}
