@font-face {
  font-family: "Open Sans Condensed";
  src: url("assets/open-sans-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("assets/open-sans-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #111110;
  --panel: #181817;
  --text: #f4f0eb;
  --muted: #bcb8b1;
  --orange: #ff843a;
  --line: #35332f;
  --heading: "Open Sans Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Open Sans", Arial, sans-serif;
  --gutter: clamp(24px, 5.35vw, 82px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
}
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
svg { display: block; width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(48px, 5.3vw, 80px);
  line-height: .99;
  letter-spacing: -.025em;
}
section[id] { scroll-margin-top: 30px; }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.accent { color: var(--orange); }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  background: var(--orange);
  color: #14110f;
  translate: 0 -200%;
}
.skip-link:focus { translate: 0; }

.header { border-bottom: 1px solid #2a2927; }
.header-inner {
  min-height: 83px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
}
.brand-mark { width: 35px; height: 35px; color: var(--orange); }
.brand strong, .brand small { display: block; }
.brand strong {
  font: 700 34px/.83 var(--heading);
  letter-spacing: .055em;
}
.brand small {
  margin-top: 5px;
  font: 700 11px/1 var(--heading);
  letter-spacing: .18em;
}
.site-nav { display: flex; align-items: center; gap: clamp(25px, 3.8vw, 57px); }
.site-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--orange); }
.header-cta { justify-self: end; }
.menu-toggle { display: none; }

.button {
  min-height: 53px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.button svg { width: 18px; height: 18px; }
.button-primary { background: var(--orange); color: #17100b; }
.button-primary:hover { background: #ffa160; }
.button-outline { background: #161514; border-color: #61564e; color: var(--text); }
.button-outline:hover { border-color: var(--orange); color: var(--orange); }
.header-cta { min-height: 43px; padding-inline: 16px; }

.hero { overflow: clip; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  grid-template-rows: 1fr auto;
  position: relative;
  min-height: clamp(570px, 45.4vw, 685px);
  isolation: isolate;
}
.hero-copy {
  z-index: 1;
  grid-area: 1 / 1;
  align-self: center;
  padding: 59px 0 47px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 23px;
  height: 1px;
  flex: none;
  background: currentColor;
  content: "";
}
.hero h1 {
  margin-top: 21px;
  font-size: clamp(76px, 8.05vw, 117px);
  line-height: .86;
  letter-spacing: -.035em;
}
.hero h1 span { display: block; }
.hero-description {
  max-width: 400px;
  margin-top: 28px;
  color: #d2ccc3;
  font-size: clamp(15px, 1.24vw, 18px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.hero-visual {
  position: absolute;
  z-index: -1;
  inset: 0 calc(var(--gutter) * -1) 0 34%;
  background: radial-gradient(ellipse at 70% 58%, #663219, #150e0a 65%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 50%; }
.hero-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #111110 0%, rgb(17 17 16 / .9) 8%, rgb(17 17 16 / .30) 34%, transparent 56%),
    linear-gradient(0deg, #111110 0%, transparent 17%),
    linear-gradient(180deg, rgb(17 17 16 / .48) 0%, transparent 19%);
  content: "";
}
.scroll-link {
  grid-area: 2 / 1;
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 180ms ease, color 180ms ease;
}
.scroll-link svg { width: 17px; height: 17px; }
.scroll-link:hover { border-color: var(--orange); color: var(--orange); }

.work-section {
  padding: 67px 0 76px;
  border-block: 1px solid #2c2a27;
  background: var(--panel);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.section-head h2 { margin-top: 13px; }
.section-head > p { max-width: 315px; padding-bottom: 3px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-card {
  position: relative;
  display: flex;
  min-height: clamp(290px, 33vw, 455px);
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background-color: #28241e;
  border: 1px solid #3a3530;
}
.work-card > img, .work-card::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.work-card > img { z-index: -2; object-fit: cover; transition: transform 380ms ease; }
.work-card::after {
  z-index: -1;
  background: linear-gradient(0deg, rgb(14 12 10 / .98), rgb(14 12 10 / .81) 17%, transparent 58%);
  content: "";
}
.work-card:hover > img, .work-card:focus-within > img { transform: scale(1.035); }
.card-copy { padding: 24px 68px 24px 23px; }
.card-copy h3 { font-size: clamp(29px, 3.1vw, 45px); line-height: 1; letter-spacing: -.01em; }
.card-copy p { max-width: 280px; margin-top: 8px; color: #ded8cd; font-size: 13px; line-height: 1.55; }
.card-action, .dialog-close {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid #716156;
  border-radius: 2px;
  background: #1e1915;
  color: var(--orange);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.card-action { position: absolute; right: 20px; bottom: 23px; }
.card-action:hover, .dialog-close:hover { border-color: var(--orange); background: var(--orange); color: #15100d; }

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(35px, 7vw, 108px);
  align-items: center;
  padding-block: 94px;
}
.about-visual { min-height: 385px; position: relative; background: #28211d; }
.about-visual img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.about-copy h2 { margin-top: 14px; }
.about-copy > p:not(.eyebrow) { max-width: 440px; margin-top: 23px; color: var(--muted); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link svg { width: 17px; height: 17px; }
.about-copy .text-link { margin-top: 25px; }

.contact-section {
  padding-block: 63px;
  border-block: 1px solid #3a2c22;
  background: radial-gradient(ellipse at right center, #392318, #201a16 59%, #191615 100%);
}
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.contact-inner h2 { margin-top: 12px; }
.contact-inner p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 115px; }
.footer-inner > small { color: var(--muted); }
.back-top { justify-self: end; }

.inquiry-dialog {
  width: min(calc(100% - 30px), 575px);
  max-height: calc(100% - 30px);
  padding: 0;
  border: 1px solid #685346;
  background: var(--panel);
  color: var(--text);
}
.inquiry-dialog::backdrop { background: rgb(0 0 0 / .76); }
.dialog-content { position: relative; padding: clamp(23px, 5vw, 38px); }
.dialog-close { position: absolute; top: 15px; right: 15px; }
.dialog-content h2 { margin-top: 9px; font-size: clamp(39px, 7vw, 57px); }
#inquiry-intro { margin-top: 10px; color: var(--muted); }
#inquiry-form { display: grid; gap: 14px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#inquiry-form label { display: grid; min-width: 0; gap: 4px; font-size: 13px; font-weight: 700; }
#inquiry-form input, #inquiry-form select, #inquiry-form textarea, #inquiry-result {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #61564e;
  border-radius: 2px;
  background: #111110;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
}
#inquiry-form textarea, #inquiry-result { resize: vertical; }
#inquiry-form .button { min-height: 44px; }
#inquiry-result, #inquiry-actions { margin-top: 16px; }
#inquiry-status:not(:empty) { margin-top: 9px; color: var(--muted); font-size: 13px; }

@media (min-width: 1500px) {
  .hero-visual { right: min(calc(640px - 50vw), calc(-1 * var(--gutter))); }
}

@media (max-width: 950px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-visual { left: 29%; }
  .work-grid { gap: 12px; }
  .card-copy { padding-left: 15px; padding-right: 54px; }
  .card-action { right: 12px; width: 34px; height: 34px; }
  .about-visual { min-height: 325px; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 70px; grid-template-columns: 1fr auto; position: relative; }
  .header-cta { display: none; }
  .brand-mark { width: 31px; height: 31px; }
  .brand strong { font-size: 30px; }
  .brand small { font-size: 10px; }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
  }
  .menu-toggle i, .menu-toggle i::before, .menu-toggle i::after {
    width: 16px;
    height: 1px;
    background: currentColor;
  }
  .menu-toggle i { position: relative; }
  .menu-toggle i::before, .menu-toggle i::after { position: absolute; left: 0; content: ""; }
  .menu-toggle i::before { top: -5px; }
  .menu-toggle i::after { top: 5px; }
  .site-nav {
    position: absolute;
    z-index: 2;
    top: 100%;
    right: calc(-1 * var(--gutter));
    left: calc(-1 * var(--gutter));
    display: none;
    padding: 8px var(--gutter) 15px;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
  }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { padding: 10px 0; }
  .hero-inner { min-height: 590px; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero-copy { align-self: stretch; padding: 111px 0 29px; }
  .hero h1 { font-size: clamp(68px, 13.8vw, 98px); }
  .hero-visual { left: calc(-1 * var(--gutter)); }
  .hero-visual img { object-position: 62% 42%; }
  .hero-visual::after {
    background:
      linear-gradient(90deg, rgb(17 17 16 / .69) 0%, rgb(17 17 16 / .31) 47%, transparent 100%),
      linear-gradient(0deg, #111110 1%, rgb(17 17 16 / .84) 23%, rgb(17 17 16 / .15) 70%, transparent 100%);
  }
  .scroll-link { margin-bottom: 22px; }
  .work-section { padding-block: 49px; }
  .section-head { display: grid; gap: 15px; }
  .section-head h2 { font-size: clamp(45px, 9.5vw, 66px); }
  .work-grid { grid-template-columns: 1fr; gap: 15px; }
  .work-card { min-height: clamp(325px, 78vw, 435px); }
  .card-copy { padding: 24px 75px 24px 22px; }
  .card-copy h3 { font-size: 38px; }
  .card-action { width: 41px; height: 41px; right: 20px; }
  .about-section { grid-template-columns: 1fr; gap: 29px; padding-block: 52px; }
  .about-visual { min-height: clamp(245px, 60vw, 390px); }
  .contact-section { padding-block: 48px; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-inner { grid-template-columns: 1fr auto; min-height: auto; padding-block: 23px; gap: 13px; }
  .footer-inner > small { grid-area: 2 / 1; }
  .back-top { grid-area: 1 / 2; }
}

@media (max-width: 374px) {
  :root { --gutter: 19px; }
  .hero h1 { font-size: clamp(59px, 19vw, 68px); }
  .hero-actions { gap: 8px; }
  .hero-actions .button { font-size: 12px; padding-inline: 11px; gap: 6px; }
  .form-row { grid-template-columns: 1fr; }
}

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