:root {
  --paper: #f6f3eb;
  --linen: #e8e1d3;
  --white: #fffef9;
  --ink: #233a32;
  --moss: #465a43;
  --clay: #80503e;
  --stone: #665f54;
  --line: #8a8377;
  --serif: Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 1rem;
  top: 1rem;
  transform: translateY(-200%);
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(28rem, 2fr);
}

.hero__photo {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--linen);
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(35 58 50 / 3%), rgb(35 58 50 / 12%));
  pointer-events: none;
}

.hero__photo picture,
.hero__photo img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__photo img {
  object-fit: cover;
  object-position: 50% 48%;
  animation: image-in 900ms ease-out both;
}

.hero__panel {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.5rem, 4vw, 4.5rem);
  background: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgb(138 131 119 / 55%);
}

.brand__logo {
  width: clamp(9rem, 14vw, 13rem);
  height: auto;
  object-fit: contain;
}

.brand__place {
  color: var(--stone);
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.language {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--stone);
}

.language__button {
  min-height: 48px;
  border: 0;
  padding: 0.25rem 0.35rem;
  background: transparent;
  color: var(--stone);
  font: 700 0.875rem var(--sans);
  cursor: pointer;
  text-decoration: none;
}

.language__button[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4rem;
}

.copy {
  max-width: 34rem;
  margin: auto 0;
  padding: clamp(2rem, 5vh, 4.5rem) 0;
  animation: copy-in 700ms 120ms ease-out both;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--stone);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lede {
  margin: 1.5rem 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.45;
}

.description {
  max-width: 55ch;
  margin: 0.75rem 0 0;
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}

.button--primary {
  background: var(--ink);
  color: var(--white);
}

.button--primary:hover {
  background: var(--moss);
  border-color: var(--moss);
}

.button--secondary {
  background: transparent;
  color: var(--ink);
}

.button--secondary:hover {
  background: var(--linen);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  border-top: 1px solid rgb(138 131 119 / 55%);
  padding-top: 1.25rem;
  color: var(--stone);
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-in {
  from {
    opacity: 0.72;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 960px) {
  .hero {
    display: block;
    min-height: 100%;
  }

  .hero__photo {
    height: clamp(18rem, 42svh, 28rem);
    min-height: 0;
  }

  .hero__panel {
    min-height: auto;
  }

  .copy {
    margin: 0;
  }

  h1 {
    max-width: 10ch;
  }
}

@media (max-width: 520px) {
  .hero__panel {
    padding: 1.25rem;
  }

  .brand {
    align-items: flex-start;
  }

  .brand__logo {
    width: 8.5rem;
  }

  .brand__place {
    max-width: 9rem;
  }

  .copy {
    padding: 2.5rem 0 3rem;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .contact {
    display: grid;
  }

  .contact span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .hero__panel,
  .button,
  .language__button {
    border: 1px solid CanvasText;
  }
}
