:root {
  --surface: #fbf9f4;
  --surface-soft: #f5f3ee;
  --text: #1b1c19;
  --muted: #5f5f59;
  --line: rgba(196, 199, 199, 0.28);
  --button: #000000;
  --button-text: #ffffff;
  --max-width: 1440px;
  --edge: 64px;
  --gap: 32px;
  color: var(--text);
  background: var(--surface);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--surface);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.site-header {
  width: 100%;
  background: var(--surface);
}

.site-header__inner,
.hero,
.site-footer__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--edge);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand__logo {
  width: auto;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand__name {
  overflow: hidden;
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav a,
.site-footer a,
.button {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.landing {
  flex: 1 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 96px var(--edge);
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: 41.666%;
  flex-direction: column;
  gap: 48px;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  padding-right: 48px;
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0 32px;
  border-radius: 8px;
  background: var(--button);
  color: var(--button-text);
  text-decoration: none;
  transition: opacity 180ms ease;
}

.button:hover,
.button:focus-visible {
  opacity: 0.9;
}

.hero__image {
  position: relative;
  width: 58.333%;
  height: 75vh;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface-soft);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 96px var(--edge);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  :root {
    --edge: 32px;
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero__copy,
  .hero__image {
    width: 100%;
  }

  .hero h1 {
    max-width: 12ch;
    padding-right: 0;
    font-size: 46px;
    line-height: 1.15;
  }

  .hero__copy {
    gap: 28px;
  }

  .hero__image {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media (max-width: 560px) {
  :root {
    --edge: 20px;
  }

  .site-header__inner {
    gap: 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand__logo {
    height: 32px;
  }

  .brand__name {
    max-width: 220px;
    font-size: 18px;
  }

  .site-nav a,
  .site-footer a,
  .button {
    font-size: 11px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.5;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand__name {
    max-width: none;
    font-size: 18px;
  }
}
