@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Golos";
  src: url("fonts/golos-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Golos";
  src: url("fonts/golos-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #151412;
  --paper: #f6f3ed;
  --light: #fffaf0;
  --lime: #e2fc4b;
  --lilac: #b8a8e7;
  --gutter: clamp(20px, 4.15vw, 76px);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Golos", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.5 var(--sans);
}

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

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

a { color: inherit; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

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

.wrap {
  width: min(100% - 2 * var(--gutter), 1600px);
  margin-inline: auto;
}

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 14px;
  left: 14px;
  padding: 0.7em 1em;
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
}

h2 {
  font: 700 clamp(3rem, 6.5vw, 7.7rem)/0.99 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.mark {
  display: inline-block;
  width: 1em;
  aspect-ratio: 1;
  flex: none;
  color: inherit;
  background: currentColor;
  clip-path: shape(from 50% 0%, curve to 100% 50% with 51% 38% / 62% 49%, curve to 50% 100% with 62% 51% / 51% 62%, curve to 0% 50% with 49% 62% / 38% 51%, curve to 50% 0% with 38% 49% / 49% 38%, close);
}

@supports not (clip-path: shape(from 0 0, close)) {
  .mark { clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%); }
}

.hero {
  display: grid;
  min-height: 100svh;
  isolation: isolate;
  position: relative;
  background: #341a13;
  color: var(--light);
}

.hero__picture, .hero__picture::after {
  position: absolute;
  inset: 0;
}

.hero__picture { z-index: -1; }

.hero__picture::after {
  content: "";
  background: linear-gradient(180deg, #160e0aca, #35160f25 28%, transparent 48%, #180e09aa 88%, #170d0bd9 100%);
}

.hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 52%;
}

.hero__inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-block: 21px clamp(27px, 4.1vw, 68px);
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #fffaf054;
}

.masthead nav {
  display: flex;
  gap: clamp(22px, 4.1vw, 70px);
}

.masthead nav a, .masthead__contact, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  min-height: 44px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-size: 0.78rem;
}

.masthead nav a:hover, .masthead__contact:hover, .text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.33em;
}

.masthead__contact { justify-self: end; }
.masthead__contact span { color: var(--lime); font-size: 1.25em; }

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.7em;
  min-height: 44px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.1;
}

.wordmark .mark {
  color: var(--lime);
  font-size: 2.65em;
  transition: transform 240ms ease;
}

.wordmark:hover .mark { transform: rotate(30deg); }

.hero__name {
  justify-self: start;
  align-self: start;
  margin: clamp(17px, 3.6vh, 50px) 0 0 -0.04em;
  color: var(--lime);
  font: 700 min(19.4vw, 26svh, 360px)/0.88 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: title-enter 650ms ease-out both;
}

@keyframes title-enter {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
}

.hero__intro { max-width: 28rem; }

.hero__intro p:last-child {
  max-width: 31ch;
  margin-top: 8px;
  font-size: clamp(0.96rem, 1.2vw, 1.15rem);
  line-height: 1.45;
}

.hero__role {
  font: 700 clamp(1.7rem, 3.2vw, 3.3rem)/1.07 var(--display);
  text-transform: uppercase;
}

.orbit {
  display: grid;
  place-content: center;
  justify-items: center;
  flex: none;
  gap: 0.65rem;
  width: clamp(112px, 12vw, 196px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font: 700 clamp(0.7rem, 1.05vw, 1rem)/1.1 var(--sans);
  transition: transform 220ms ease, background-color 220ms ease;
}

.orbit .mark { font-size: clamp(33px, 4.6vw, 70px); }
.orbit:hover { transform: translateY(-4px); background: var(--light); }
.orbit:active { transform: translateY(1px); }
.orbit:focus-visible { outline-color: var(--lime); }

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(860px, 100svh);
  background: var(--lilac);
}

.services__image {
  position: relative;
  min-height: 100%;
  background: #9982bd;
}

.services__image img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 50% 65%;
}

.services__body {
  display: flex;
  flex-direction: column;
  padding: clamp(38px, 6vw, 106px) max(var(--gutter), calc((100vw - 1600px) / 2)) clamp(35px, 6vw, 85px) var(--gutter);
}

.service-list { margin-top: clamp(24px, 4.6vw, 75px); }
.service-list details { border-top: 1px solid #15141288; }
.service-list details:last-child { border-bottom: 1px solid #15141288; }

.service-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65em;
  padding-block: 0.63em;
  cursor: pointer;
  list-style: none;
  font: 700 clamp(1.43rem, 2.55vw, 3rem)/1.12 var(--display);
  text-transform: uppercase;
}

.service-list summary::-webkit-details-marker { display: none; }

.service-list summary .mark {
  font-size: 0.75em;
  transition: transform 220ms ease;
}

.service-list summary:hover .mark, .service-list details[open] .mark { transform: rotate(45deg); }

.service-list details p {
  max-width: 44ch;
  margin-bottom: 1.45rem;
}

.services .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.7em;
  font-weight: 700;
}

.statement {
  color: var(--light);
  background: var(--ink);
}

.statement__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.36fr;
  gap: 3vw;
  align-items: center;
  min-height: min(760px, 100svh);
  padding-block: clamp(45px, 7vw, 104px);
}

.statement p {
  position: relative;
  z-index: 1;
  margin-right: -0.3em;
  font: 700 clamp(2.7rem, 6.55vw, 8.2rem)/1.06 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.018em;
}

.statement__detail {
  position: relative;
  align-self: end;
  margin-bottom: 0.4em;
}

.statement__detail img { height: auto; aspect-ratio: 0.94; object-fit: cover; }

.statement .mark {
  position: absolute;
  top: -0.44em;
  right: 0.13em;
  color: var(--lime);
  font-size: clamp(55px, 8vw, 122px);
}

.interiors, .process { padding-block: clamp(52px, 7vw, 105px); }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: clamp(30px, 4vw, 60px);
}

.section-heading h2 { display: flex; align-items: center; gap: 0.3em; }
.section-heading .mark { font-size: 0.47em; }
.section-heading p { max-width: 30ch; }

.interiors__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
}

.project { min-width: 0; }

.project__link {
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  min-height: 235px;
  aspect-ratio: 1.58;
  position: relative;
  color: var(--light);
  background: #382a22;
  text-decoration: none;
  transition: transform 200ms ease;
}

.project__link::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #160e09ed, #160e0940 40%, transparent 62%);
}

.project__link img {
  position: absolute;
  z-index: -2;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.project__link:hover { transform: translateY(-2px); }
.project__link:hover img, .project__link:focus-visible img { transform: scale(1.03); }
.project__link:focus-visible { outline-color: var(--lime); outline-offset: -4px; }

.project__caption {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 6px;
  padding: clamp(15px, 2.2vw, 32px);
}

.project__caption div > span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.project h3 {
  font: 700 clamp(1.65rem, 3.05vw, 3.7rem)/1.04 var(--display);
  text-transform: uppercase;
}

.project__arrow {
  display: grid;
  place-items: center;
  width: clamp(34px, 4vw, 52px);
  aspect-ratio: 1;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color 200ms ease, color 200ms ease;
}

.project__link:hover .project__arrow {
  background: var(--lime);
  color: var(--ink);
}

.process { background: #fffcf7; }

.steps { list-style: none; margin: 0; padding: 0; }

.steps li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding-block: clamp(21px, 2.8vw, 42px);
  border-top: 1px solid #15141285;
}

.steps li:last-child { border-bottom: 1px solid #15141285; }

.steps h3 {
  font: 700 clamp(1.8rem, 4.2vw, 4.5rem)/1.04 var(--display);
  text-transform: uppercase;
}

.steps p { max-width: 44ch; }

.contact { overflow: hidden; background: var(--lime); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  gap: clamp(25px, 5vw, 80px);
  align-items: end;
  padding-block: clamp(52px, 8vw, 128px);
}

.contact h2 { font-size: clamp(3rem, 8.8vw, 10.7rem); }

.contact__body { margin-bottom: 0.35rem; }
.contact p { max-width: 26ch; margin-bottom: 1.5rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2em;
  min-height: 52px;
  padding: 0.7em 1.05em;
  background: var(--ink);
  color: var(--light);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button span { color: var(--lime); }
.button:hover { transform: translateY(-2px); background-color: #333026; }
.button:active { transform: translateY(1px); }
.button:focus-visible { outline-color: var(--ink); }

.footer { color: var(--light); background: var(--ink); }

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: clamp(18px, 3vw, 40px);
}

.project-dialog {
  width: min(810px, 100% - 2 * var(--gutter));
  max-height: 90svh;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
}

.project-dialog::backdrop { background: #151412c9; }
body:has(.project-dialog[open]) { overflow: hidden; }

.project-dialog img { height: min(55svh, 485px); object-fit: cover; }

.project-dialog__body { padding: clamp(17px, 3vw, 36px); }
.project-dialog h2 { font-size: clamp(1.9rem, 5vw, 3.4rem); margin-bottom: 0.35em; }
.project-dialog p { max-width: 60ch; }

.project-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  background: var(--lime);
  font: 400 2rem/1 Arial, sans-serif;
}

.project-dialog__close:focus-visible { outline-color: var(--light); outline-offset: 3px; }

@media (max-width: 900px) {
  .services { min-height: auto; }
  .services__body { padding-block: 39px; }
  .services .text-link { margin-top: 12px; }
  .statement__inner { min-height: 530px; }
}

@media (max-width: 680px) {
  .hero__inner { padding-top: 12px; }
  .hero__picture img { object-position: 65% 50%; }
  .masthead { grid-template-columns: 1fr auto; row-gap: 0; padding-bottom: 0; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 12px; }
  .masthead nav a, .masthead__contact { font-size: 0.72rem; }
  .hero__name { margin-top: clamp(29px, 7vh, 68px); }
  .hero__intro p:last-child { font-size: 0.88rem; }
  .hero__role { font-size: clamp(1.25rem, 5.5vw, 2.15rem); }
  .orbit { gap: 5px; width: 104px; }

  .services { grid-template-columns: 1fr; }
  .services__image { min-height: 0; aspect-ratio: 1.12; }
  .services__image img { object-position: 50% 76%; }
  .services__body { grid-row: 1; padding: 40px var(--gutter) 27px; }

  .statement__inner { grid-template-columns: 1fr; min-height: auto; gap: 38px; }
  .statement p { margin-right: 0; }
  .statement__detail { width: 64%; justify-self: end; }

  .section-heading { display: grid; gap: 13px; }
  .section-heading p { max-width: 36ch; }
  .interiors__grid { grid-template-columns: 1fr; }
  .project__link { min-height: 0; aspect-ratio: 1.32; }
  .steps li { grid-template-columns: 1fr; gap: 7px; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact h2 { font-size: clamp(2.45rem, 11.3vw, 5.2rem); }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero__name { margin-top: 12px; font-size: min(19.4vw, 18svh); }
  .hero__bottom { margin-top: 12px; }
  .orbit { width: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
