@font-face {
  font-family: 'Archivo Condensed';
  src: url('./assets/archivocond-latin.woff2') format('woff2');
  font-weight: 700 900;
  font-stretch: 62.5%;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url('./assets/golos-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url('./assets/golos-cyrillic.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  --paper: #171e1c;
  --panel: #212a27;
  --white: #f0ede2;
  --ink: #f2eee5;
  --muted: #b4bdb5;
  --line: #46534d;
  --accent: #d8c59a;
  --dark: #101715;
  --edge: clamp(17px, 4.45vw, 84px);
  --display: 'Archivo Condensed', 'Arial Narrow', Golos, sans-serif;
  color-scheme: dark;
  color: var(--ink);
  background: var(--paper);
  font-family: Golos, system-ui, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: fixed; z-index: 10; top: 7px; left: 7px; transform: translateY(-150%); padding: 12px 16px; color: var(--dark); background: var(--white); }
.skip:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 2 * var(--edge)), 1420px); margin-inline: auto; }
.section { padding-block: clamp(62px, 8vw, 130px); }
section[id] { scroll-margin-top: 16px; }
h2 { font-size: clamp(2.45rem, 5.2vw, 6rem); font-weight: 570; letter-spacing: -.059em; line-height: 1; }
.label { font-size: .86rem; font-weight: 650; letter-spacing: .125em; line-height: 1.4; text-transform: uppercase; }
.button { display: inline-grid; place-items: center; align-self: start; justify-self: start; min-height: 51px; padding: 12px 23px; border: 1px solid var(--white); border-radius: 99px; color: var(--dark); background: var(--white); font-size: 1rem; font-weight: 630; text-align: center; transition: background-color 180ms, border-color 180ms; }
.button:hover { background: #fffdf5; border-color: #fffdf5; }
.button-accent { background: var(--accent); border-color: var(--accent); }
.button-accent:hover { background: #ead7aa; border-color: #ead7aa; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 620; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px 24px; align-items: center; }
.form-note { font-size: .9rem; line-height: 1.5; }

.header {
  position: absolute;
  z-index: 7;
  inset: 14px 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 63px;
  align-items: center;
  gap: clamp(12px, 2.15vw, 29px);
  color: var(--ink);
}
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 9px; white-space: nowrap; }
.brand > span:last-child { font-family: var(--display); font-stretch: 62.5%; font-size: clamp(1.46rem, 2.15vw, 2.15rem); font-weight: 790; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.brand-mark { position: relative; display: block; width: 27px; height: 26px; color: var(--accent); }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; border: 1.6px solid currentColor; border-bottom: 0; }
.brand-mark::before { inset: 2px 8px 2px 1px; }
.brand-mark::after { inset: 9px 0 2px 9px; }
.section-links { display: flex; align-items: center; }
.section-links { gap: clamp(5px, .65vw, 12px); }
.section-links a { display: inline-grid; place-items: center; min-height: 44px; border-radius: 99px; white-space: nowrap; }
.section-links a {
  padding-inline: clamp(11px, 1.7vw, 26px);
  border: 1px solid #e0e6dd62;
  background: #1c282675;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .9rem;
  font-weight: 600;
  transition: background-color 180ms, color 180ms;
}
.section-links a:hover { color: var(--dark); background: var(--white); }

.hero {
  --hero-height: clamp(680px, 100svh, 1100px);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  block-size: var(--hero-height);
  background: #242f31;
  color: var(--ink);
  overflow: hidden;
}
.hero-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: max(100%, calc(2 * var(--hero-height)));
  aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-layer img { width: 100%; height: 100%; object-fit: cover; }
.hero-layer--sky { z-index: -2; }
.hero-layer--architecture {
  z-index: 3;
  /* This edge follows the roof in the coastal-evening image. */
  clip-path: polygon(0 72%, 5.1% 72%, 5.1% 51.4%, 6.7% 50.8%, 21.5% 56.7%, 50.94% 46.58%, 96.4% 54.25%, 96.4% 56.4%, 100% 60%, 100% 100%, 0 100%);
}
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.hero::before { z-index: -1; background: linear-gradient(180deg, #111c1e7a 0%, #10201f20 30%, transparent 50%); }
.hero::after { z-index: 4; background: linear-gradient(0deg, var(--paper) 0%, #17201ce9 7%, #18211d4f 29%, transparent 49%); }
.hero-titlegroup {
  position: absolute;
  z-index: 2;
  inset-inline: var(--edge);
  bottom: 46%;
  text-align: center;
}
.hero-titlegroup .label { margin-bottom: clamp(10px, 1.5vw, 24px); color: #f0eee1; }
.hero h1 {
  font-size: clamp(3rem, 14.2vw, 17.2rem);
  font-weight: 670;
  letter-spacing: -.081em;
  line-height: .78;
  text-transform: uppercase;
  color: #f5f0e5;
  padding-inline-end: .075em;
  white-space: nowrap;
}
.hero-caption { position: absolute; z-index: 5; right: var(--edge); top: 86px; color: #e1e7df; font-size: .82rem; text-shadow: 0 1px 4px #101815; }
.hero-bottom {
  z-index: 6;
  display: grid;
  grid-template-areas: 'featured intro';
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(24px, 5vw, 90px);
  padding-bottom: clamp(32px, 5vw, 70px);
}
.hero-intro { grid-area: intro; width: min(100%, 490px); justify-self: end; display: grid; gap: 16px; }
.hero-description { max-width: 34ch; font-size: clamp(1.07rem, 1.57vw, 1.39rem); line-height: 1.38; letter-spacing: -.019em; }
.featured {
  grid-area: featured;
  display: grid;
  gap: 7px;
  width: min(100%, 355px);
  padding: clamp(15px, 1.55vw, 23px);
  border: 1px solid #e7e8d969;
  border-radius: 15px;
  background: #25332b9c;
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  box-shadow: 0 14px 38px #1015123d;
  transition: background-color 180ms, border-color 180ms;
}
.featured span { color: #efdaa9; font-size: .9rem; font-weight: 600; }
.featured strong { font-size: clamp(1rem, 1.3vw, 1.17rem); font-weight: 640; line-height: 1.31; }
.featured:hover { background: #2d3c34e6; border-color: #e7e8d9a0; }
.featured:hover strong { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .header { grid-template-columns: 1fr auto; inset-block-start: 11px; row-gap: 8px; min-height: auto; }
  .section-links { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 6px; }
  .section-links a { flex: 1; padding-inline: 8px; font-size: .83rem; }
  .hero { --hero-height: clamp(668px, 100svh, 910px); }
  .hero-layer { left: 49%; }
  .hero-caption { top: 116px; }
  .hero-titlegroup { bottom: 52.35%; }
  .hero h1 { font-size: clamp(2.5rem, 13.25vw, 6.3rem); letter-spacing: -.07em; }
  .hero-bottom { grid-template-areas: 'intro' 'featured'; grid-template-columns: minmax(0, 1fr); gap: 19px; padding-block-end: 30px; }
  .hero-intro { gap: 12px; justify-self: start; }
  .featured { padding-block: 12px; }
  .hero::after { background: linear-gradient(0deg,var(--paper) 0%,#17201ce8 13%,#17201c63 35%,transparent 61%); }
}
@media (max-width: 370px) {
  .section-links { gap: 4px; }
  .section-links a { padding-inline: 6px; font-size: .78rem; }
  .brand { gap: 6px; }
  .hero-titlegroup .label { letter-spacing: .07em; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
