@font-face {
  font-family: "Oswald";
  src: url("oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("golos-text.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #121210;
  --surface: #1d1d19;
  --line: #41403a;
  --text: #f0ede4;
  --muted: #c0bdb0;
  --accent: #e4ba70;
  --field-line: #6b6355;
  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --gutter: clamp(1.15rem, 5vw, 5rem);
  font: 100%/1.55 "Golos Text", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--background); color: var(--text); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.05; }
h1, h2 { font-family: var(--display); font-weight: 600; }
h2 { font-size: clamp(2.4rem, 5.2vw, 5.3rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -.025em; }
p { color: var(--muted); }
a { color: inherit; }
button, select, input, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { width: min(100% - var(--gutter) * 2, 79rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 20;
  inset: .5rem auto auto .5rem;
  transform: translateY(-180%);
  background: var(--accent);
  color: var(--background);
  padding: .65rem 1rem;
}
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 5; top: 0; background: var(--background); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 4.75rem; }
.brand {
  display: block;
  flex: 0 0 auto;
  width: clamp(8.5rem, 15vw, 12.5rem);
}
.brand img { width: 100%; }
.site-nav, .footer-links { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.45rem); }
.site-nav a, .footer-links a, .nav-directions summary { color: var(--muted); text-decoration: none; font-size: .925rem; }
.site-nav a:hover, .footer-links a:hover, .nav-directions summary:hover,
.site-nav [aria-current="page"], .footer-links [aria-current="page"], .nav-directions[data-current] summary { color: var(--text); }
.nav-directions { position: relative; }
.nav-directions summary, .faq-item summary { list-style: none; }
.nav-directions summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.nav-directions summary::after {
  content: "";
  display: inline-block;
  margin: 0 .1rem .18em .55rem;
  width: .42rem;
  height: .42rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.nav-directions[open] summary::after { transform: rotate(225deg); margin-bottom: -.05em; }
.nav-submenu { position: absolute; min-width: 13rem; top: calc(100% + .8rem); padding: .5rem; background: var(--surface); border: 1px solid var(--line); }
.nav-submenu a { display: block; padding: .6rem .75rem; }
.nav-submenu a:hover { background: var(--line); }
.menu-toggle { background: transparent; color: var(--text); border: 1px solid var(--line); padding: .55rem .85rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .7rem 1.2rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--background);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
}
.button:hover { background: #f3d09a; }
.button-outline { border-color: var(--field-line); background: transparent; color: var(--text); }
.button-outline:hover { background: var(--surface); border-color: var(--accent); }
.site-nav .button { min-height: 2.5rem; padding: .55rem 1.15rem; color: var(--text); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.25rem; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 600; }
.lead { max-width: 41rem; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5; }

.masthead { padding-top: clamp(1.8rem, 5.5vw, 5.5rem); }
.masthead h1 {
  font-size: clamp(3.2rem, 15vw, 14rem);
  font-weight: 650;
  letter-spacing: -.052em;
  line-height: .96;
}
.masthead h1 span { color: var(--accent); }
.masthead-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(1.4rem, 4.1vw, 3.2rem);
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.masthead-intro p { max-width: 37ch; color: var(--text); font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.36; }
.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: end;
  gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.8rem, 7vw, 6.5rem) clamp(2.25rem, 5.5vw, 4.5rem);
}
.page-intro .eyebrow { grid-column: 1 / -1; }
.page-intro h1 {
  font-size: clamp(2.85rem, 7.2vw, 7rem);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.page-intro h1:last-child { grid-column: 1 / -1; }

.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section + .section, .page-intro + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.7rem; }
.section-heading p, .content-split p, .brief-layout aside p { margin-top: .8rem; }
.text-link { color: var(--accent); text-underline-offset: .25em; }
.text-link:hover { color: var(--text); }
.work { padding-block: clamp(1.8rem, 3.8vw, 3rem) clamp(2.8rem, 5.8vw, 5rem); }
.work .section-heading > .text-link { flex: 0 0 auto; }
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 1.15rem clamp(1rem, 2.5vw, 2rem);
  align-items: end;
}
.work-grid .project-card { display: block; min-width: 0; }
.work-grid .project-card img { aspect-ratio: 4 / 3; border: 0; }
.work-grid .work-feature img { aspect-ratio: 16 / 10; }
.work-caption { padding-block: .8rem; border-bottom: 1px solid var(--line); }
.work-caption h3 { margin-top: .35rem; }
.work-caption p { font-size: .9rem; }
.direction-list { margin: 0; padding: 0; list-style: none; }
.direction-list li { border-top: 1px solid var(--line); }
.direction-list li:last-child { border-bottom: 1px solid var(--line); }
.direction-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: .45rem 1rem;
  align-items: baseline;
  padding-block: 1.25rem;
  text-decoration: none;
}
.direction-list a:hover h3 { color: var(--accent); }
.direction-list h3 { font: 500 clamp(1.7rem, 4.2vw, 3.55rem)/1.1 var(--display); }
.project-card { text-decoration: none; }
.project-card img, .case-images img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--line);
}
.project-card:hover h3 { color: var(--accent); }
.project-index {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem 2rem;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}
.project-index ul { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.project-index a { text-underline-offset: .25em; }
.project-index a:hover { color: var(--accent); }
.content-split, .brief-layout, .case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(1.3rem, 5vw, 4rem); }
.steps, .plain-list { list-style: none; margin: 0; padding: 0; }
.steps li, .plain-list li, .faq-item { padding-block: 1rem; border-top: 1px solid var(--line); }
.steps li:first-child, .plain-list li:first-child, .faq-item:first-child { padding-top: 0; border-top: 0; }
.steps h3 + p { margin-top: .4rem; }
.faq-item summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: .55rem; }
.case + .case { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.case-copy h2 { margin-top: .6rem; }
.case-copy h2 + p { margin-top: .85rem; }
.case-images { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: .5rem; }
.case-images a:first-child { grid-row: span 2; }
.case-images a:first-child img { height: 100%; aspect-ratio: auto; }
.case-images img { aspect-ratio: 4 / 3; }
.case-images a:hover img { border-color: var(--accent); }
.gallery { width: min(60rem, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); padding: 0; color: var(--text); background: var(--background); border: 1px solid var(--line); }
.gallery::backdrop { background: #000d; }
.gallery-inner { padding: clamp(.8rem, 2vw, 1.5rem); }
.gallery-close { display: flex; margin: 0 0 .75rem auto; }
.gallery figure img { width: 100%; height: min(60vh, 38rem); object-fit: contain; background: #020203; }
.gallery figcaption { margin-top: .6rem; text-align: center; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: .6rem; }
.gallery-controls .button, .gallery-close { min-height: 2.5rem; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; margin-block: 1rem clamp(2.5rem, 6vw, 5rem); padding: clamp(1.4rem, 4vw, 3.4rem); background: var(--accent); color: var(--background); }
.cta .button { flex-shrink: 0; background: var(--background); color: var(--text); }
.cta .button:hover { background: var(--surface); }
.cta .button:focus-visible { outline-color: var(--background); }
.panel { background: var(--surface); border: 1px solid var(--line); padding: 1.4rem; }
.content-split .panel p { margin: 0; }
.company-contacts { display: grid; gap: .8rem; font-style: normal; }
.policy-intro h1 { font-size: clamp(1.7rem, 6.2vw, 6.25rem); }
.policy-copy { max-width: 72ch; }
.policy-copy h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.policy-copy p + p, .policy-copy h2 + p { margin-top: .75rem; }
.policy-copy section + section { margin-top: 2rem; }

.brief-form { display: grid; gap: .5rem; }
.brief-form label { display: block; font-size: .95rem; font-weight: 700; }
.brief-form input, .brief-form textarea, .brief-form select {
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid var(--field-line);
  border-radius: 0;
  background-color: var(--surface);
  color: var(--text);
}
.brief-form textarea { resize: vertical; }
.brief-form select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 1.3rem center, right .95rem center;
  background-size: .35rem .35rem;
  background-repeat: no-repeat;
}
.brief-form > input, .brief-form > select, .brief-form > textarea, .form-row { margin-bottom: .65rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-row input { margin-top: .5rem; }
.form-note { margin-bottom: .45rem; font-size: .925rem; }
.brief-form .button { justify-self: start; margin-top: .5rem; }
.form-status { color: var(--accent); }
.form-status:empty { display: none; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 1.8rem; }
.footer-links { flex-wrap: wrap; }

@media (max-width: 48rem) {
  html { scroll-padding-top: 5rem; }
  .header-inner { min-height: 3.9rem; flex-wrap: wrap; gap: .4rem 1rem; padding-block: .6rem; }
  .site-nav { flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: .25rem; padding-bottom: .55rem; }
  .site-nav > a, .nav-directions summary { display: block; padding-block: .55rem; }
  .site-nav .button { align-self: start; }
  .nav-submenu { position: static; min-width: 0; margin-bottom: .25rem; }
  .masthead-intro { align-items: flex-start; flex-direction: column; }
  .content-split, .brief-layout, .case, .page-intro,
  .work-grid, .direction-list a { grid-template-columns: 1fr; }
  .case-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-images a:first-child { grid-row: auto; grid-column: span 2; }
  .case-images a:first-child img { height: auto; aspect-ratio: 16 / 10; }
  .section-heading, .cta, .footer-inner { flex-direction: column; align-items: flex-start; }
  .work .section-heading { flex-direction: row; align-items: end; }
}

@media (max-width: 25rem) {
  .form-row { grid-template-columns: 1fr; gap: .75rem; }
}
