@font-face {
  font-family: 'Golos Text';
  src: url('assets/fonts/golos-text-vf.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --graphite: #1d1b19;
  --line: #3a3531;
  --on: #f2eeea;
  --on-2: #b5aea8;
  --todo-highlight: #f6d9c6;

  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1344px;
  --axis: clamp(0px, 14vw, 240px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--graphite);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line) var(--graphite);
}
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--on);
  background: var(--graphite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--on-2);
  color: var(--graphite);
}
main:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--on-2);
  outline-offset: 4px;
  border-radius: 4px;
}
.phrase {
  display: inline-block;
  max-width: 100%;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 20;
  background: var(--on);
  color: var(--graphite);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.top {
  position: relative;
  z-index: 5;
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.logo {
  display: block;
  flex: none;
  padding: 9px 0;
  color: var(--on);
  text-decoration: none;
}
.logo-svg {
  height: 26px;
  width: auto;
  overflow: visible;
}
.logo-counter {
  transition: transform 900ms var(--ease-out);
}
.logo:hover .logo-counter,
.logo:focus-visible .logo-counter {
  transform: translate(-34px, -30px);
}
.nav {
  display: flex;
  gap: clamp(24px, 3vw, 40px);
  font-size: 15px;
  font-weight: 500;
  color: var(--on-2);
}
.nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 13px 0 11px;
  line-height: 24px;
  transition: color 250ms;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms var(--ease-out);
}
.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current] {
  color: var(--on);
}
.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current]::after {
  transform: scaleX(1);
}
.room-wall {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--graphite);
}
.room-wall .foot {
  background: transparent;
}
.room-bg {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  display: block;
  pointer-events: none;
}
.room-bg img {
  display: block;
  width: 100%;
  height: auto;
}
.room-dust {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 2190;
  object-fit: cover;
  pointer-events: none;
  mix-blend-mode: screen;
}
@media (max-width: 1100px) and (orientation: portrait) {
  .room-dust {
    aspect-ratio: 1080 / 2528;
  }
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100svh;
  min-height: 420px;
}
.hero .top {
  position: absolute;
  inset: 0 0 auto;
}
.hero-img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  aspect-ratio: 16 / 9;
}
.hero-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 50%, transparent 96%);
}
.cue {
  --cue-inset: 42px;
  position: absolute;
  left: calc(max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) - 0.09em);
  bottom: calc(var(--cue-inset) - 24px);
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 12px 0;
  line-height: 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--on);
  text-decoration: none;
}
.cue-arrow {
  display: inline-block;
  color: var(--on-2);
  transition: color 450ms var(--ease-out);
}
.cue-arrow svg {
  display: block;
  width: 8.5px;
  height: 10.5px;
  overflow: visible;
  transition: transform 450ms var(--ease-out);
}
.cue:hover .cue-arrow,
.cue:focus-visible .cue-arrow {
  color: var(--on);
}
.cue:hover .cue-arrow svg,
.cue:focus-visible .cue-arrow svg {
  transform: translateY(3px);
}
@media (max-width: 1100px) and (orientation: portrait) {
  .hero,
  .hero-img {
    aspect-ratio: 2 / 3;
  }
}
.pe {
  --hero-ideal: 56.25vw;
  padding: calc(max(80px, 21vw) + var(--hero-ideal) - max(420px, min(var(--hero-ideal), 100svh))) 0
    clamp(24px, 2vw, 40px);
}
@media (max-width: 1100px) and (orientation: portrait) {
  .pe {
    --hero-ideal: 150vw;
  }
}
.pe-head,
.pe-list {
  margin-left: var(--axis);
}
.pe-head h2 {
  max-width: 19em;
  margin-left: -0.09em;
}
.pe-head h2 {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--on);
  text-wrap: balance;
}
.pe-list {
  list-style: none;
  margin-top: clamp(28px, 3vw, 44px);
}
.pe-list li + li {
  margin-top: clamp(8px, 1vw, 16px);
}
.pe-item {
  --pe-n: clamp(28px, 3.2vw, 52px);
  --pe-gap: clamp(6px, 0.8vw, 10px);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(16px, 1.8vw, 24px);
  row-gap: var(--pe-gap);
  align-items: start;
  padding: clamp(14px, 1.6vw, 22px) 0;
  text-decoration: none;
  color: inherit;
}
.pe-item img {
  grid-row: 1 / span 2;
  align-self: start;
  margin-top: calc(var(--pe-n) * 0.205);
  width: calc(var(--pe-n) * 0.845 + var(--pe-gap) + 18.88px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 23%;
  outline: 1px solid rgba(242, 238, 234, 0.1);
  outline-offset: -1px;
  transition: filter 450ms var(--ease-out);
}
@media (hover: hover) {
  .pe-item:not(:hover):not(:focus-visible) img {
    filter: grayscale(1) brightness(0.62);
  }
}
.pe-name {
  grid-column: 2;
  grid-row: 1;
  margin-left: -0.076em;
  font-size: var(--pe-n);
  line-height: 1.05;
  font-weight: 640;
  letter-spacing: -0.035em;
  color: var(--on);
  transition: color 900ms var(--ease-out);
}
.pe-line {
  grid-column: 2;
  grid-row: 2;
  margin-left: -0.1em;
  font-size: 16px;
  color: var(--on-2);
}
.pe-arrow {
  --ar: max(7.5px, 0.18em);
  display: inline-block;
  margin-left: max(4px, 0.12em);
  vertical-align: calc(0.7em - var(--ar));
  color: var(--on-2);
  transition: color 450ms var(--ease-out);
}
.pe-arrow svg {
  display: block;
  width: var(--ar);
  height: var(--ar);
  overflow: visible;
  transition: transform 450ms var(--ease-out);
}
.pe-item:hover .pe-arrow,
.pe-item:focus-visible .pe-arrow {
  color: var(--on);
}
.pe-item:hover .pe-arrow svg,
.pe-item:focus-visible .pe-arrow svg {
  transform: translate(3px, -3px);
}
.pe-item:focus-visible {
  outline-offset: 6px;
}
.js .pe-item:not(.lit) .pe-name {
  color: var(--on-2);
}
@media (max-width: 760px) {
  .pe-head,
  .pe-list {
    margin-left: 0;
  }
  .pe-item img {
    grid-row: 1;
    align-self: center;
    margin-top: 0;
    width: 48px;
  }
  .pe-name {
    align-self: center;
  }
  .pe-line {
    grid-column: 1 / -1;
    margin-top: 6px;
  }
}
@media (max-width: 420px) {
  .pe-name {
    font-size: clamp(21px, (100vw - 96px) / 10.6, 28px);
    white-space: nowrap;
  }
}
.address {
  --mail: clamp(26px, 4.4vw, 64px);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
}
.mail {
  position: relative;
  display: inline-block;
  font-size: var(--mail);
  line-height: 1.05;
  font-weight: 640;
  letter-spacing: -0.035em;
  color: var(--on);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 0;
  margin: -10px 0;
}
.copy {
  position: relative;
  top: calc(var(--mail) * 0.029);
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--on-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    color 250ms,
    box-shadow 250ms;
}
.copy svg {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
  transition:
    opacity 250ms,
    transform 450ms var(--ease-out);
}
.copy .copy-done {
  opacity: 0;
  transform: scale(0.6);
}
.address.is-done .copy .copy-icon {
  opacity: 0;
  transform: scale(0.6);
}
.address.is-done .copy .copy-done {
  opacity: 1;
  transform: none;
}
.copy[hidden] {
  display: none;
}
.copy:hover {
  color: var(--on);
  box-shadow: inset 0 0 0 1px var(--on-2);
}
.address.is-done .copy {
  color: var(--on-2);
  box-shadow: inset 0 0 0 1px var(--on-2);
}
.contact {
  padding: clamp(56px, 9vw, 136px) 0 0;
}
.ct-body {
  margin-left: var(--axis);
}
.ct-title {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--on);
  text-wrap: balance;
}
.ct-lede {
  margin-top: 6px;
  margin-left: -0.1em;
  max-width: 40rem;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0.003em;
  color: var(--on-2);
  text-wrap: pretty;
}
.ct-address {
  margin-top: clamp(40px, 5vw, 80px);
  margin-left: calc(var(--mail) * -0.056);
}
.foot {
  padding: clamp(112px, 14vw, 220px) 0 clamp(28px, 3vw, 44px);
  font-size: 15px;
  color: var(--on-2);
  background: var(--graphite);
}
.logo.sig {
  display: block;
  padding: 0;
  color: var(--line);
}
.logo.sig .logo-svg {
  width: 100%;
  height: auto;
}
.sig:focus-visible {
  outline-offset: 8px;
}
.sign-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 40px;
  margin-top: clamp(24px, 2.8vw, 40px);
}
.statutory {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 13px;
}
.statutory-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-left: -29px;
  clip-path: inset(-8px -8px -8px 29px);
}
.statutory-office {
  margin-top: 4px;
  text-wrap: pretty;
}
.statutory-ids > span::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin: 0 14px;
  background: var(--line);
  vertical-align: -0.1em;
}
.foot-mail {
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--on);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.35em;
  transition: text-decoration-color 450ms var(--ease-out);
}
.foot-mail:hover,
.foot-mail:focus-visible {
  text-decoration-color: var(--on-2);
}
.todo {
  background: var(--todo-highlight);
  color: var(--graphite);
  padding: 0 4px;
  border-radius: 3px;
}
.still *,
.still *::before,
.still *::after {
  transition: none !important;
  animation: none !important;
}

@media (max-width: 960px) {
  .sign-row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .ct-body {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .top .wrap {
    min-height: 72px;
  }
  .cue {
    --cue-inset: 36px;
  }
  .nav a {
    padding: 12px 0;
  }
  .nav a::after {
    bottom: 12px;
  }
  .logo-svg {
    height: 22px;
  }
  .logo {
    padding: 11px 0;
  }
  .address {
    --mail: clamp(18px, (100vw - 96px) / 13.4, 28px);
  }
  .statutory-ids {
    flex-direction: column;
    margin-left: 0;
    clip-path: none;
  }
  .statutory-ids > span::before {
    display: none;
  }
  .ct-title {
    font-size: 17px;
  }
  .ct-lede {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav a::after,
  .logo-counter,
  .sig,
  .foot-mail,
  .copy svg,
  .room-bg,
  .hero-dust,
  .room-dust,
  .pe-name,
  .pe-arrow,
  .pe-arrow svg,
  .pe-item img,
  .cue-arrow,
  .cue-arrow svg {
    transition: none !important;
  }
}
