:root {
  color-scheme: light;
  --paper: #f3eadf;
  --ink: #31291f;
  --ink-soft: #6b5d4e;
  --terracotta: #9e4f35;
  --olive: #596348;
  --line: rgba(71, 56, 41, 0.18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  min-width: 320px;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.72), transparent 31rem),
    var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.7rem 0.95rem;
  border-radius: 0.25rem;
  color: #fff;
  background: var(--ink);
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.page-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(31rem, 54%) minmax(24rem, 46%);
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.page-shell::before {
  position: absolute;
  inset: 0 46% 0 0;
  z-index: -1;
  background-image: radial-gradient(rgba(49, 41, 31, 0.05) 0.55px, transparent 0.55px);
  background-size: 5px 5px;
  content: "";
  opacity: 0.32;
  pointer-events: none;
}

.site-header {
  grid-column: 1;
  grid-row: 1;
  padding: clamp(2rem, 4vw, 4.25rem) clamp(2rem, 7vw, 8.5rem) 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.32rem, 1.55vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-detail {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}

.wordmark:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 0.45rem;
}

.hero-copy {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  width: min(100%, 49rem);
  padding: clamp(2.5rem, 6vh, 5.5rem) clamp(2rem, 7vw, 8.5rem);
}

.status {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin: 0 0 1.55rem;
  color: var(--olive);
  font-size: clamp(0.68rem, 0.78vw, 0.78rem);
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status span {
  width: 1.9rem;
  height: 1px;
  background: currentColor;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 5.5vw, 6.75rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.96;
  text-wrap: balance;
}

.lead {
  margin: clamp(1.65rem, 3.2vh, 2.4rem) 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.17rem, 1.5vw, 1.55rem);
  font-style: italic;
  line-height: 1.5;
}

.flourish {
  display: flex;
  align-items: center;
  width: 5.5rem;
  margin-top: clamp(2.2rem, 4.5vh, 3.75rem);
}

.flourish::before,
.flourish::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.flourish::before {
  width: 1.35rem;
}

.flourish::after {
  flex: 1;
}

.flourish span {
  width: 0.42rem;
  height: 0.42rem;
  margin: 0 0.42rem;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1 / -1;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #d6c5ad;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(49, 41, 31, 0.1), transparent 15%),
    linear-gradient(180deg, transparent 72%, rgba(49, 41, 31, 0.18));
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  animation: image-reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-footer {
  display: flex;
  grid-column: 1;
  grid-row: 3;
  align-items: center;
  padding: 1rem clamp(2rem, 7vw, 8.5rem) clamp(2rem, 4vw, 4.25rem);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header,
.hero-copy,
.site-footer {
  animation: content-in 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy {
  animation-delay: 100ms;
}

.site-footer {
  animation-delay: 180ms;
}

@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }
}

@keyframes image-reveal {
  from {
    opacity: 0.65;
    transform: scale(1.025);
  }
}

@media (max-width: 980px) {
  .page-shell {
    grid-template-columns: minmax(25rem, 55%) minmax(19rem, 45%);
  }

  .page-shell::before {
    right: 45%;
  }

  .site-header,
  .hero-copy,
  .site-footer {
    padding-right: clamp(1.75rem, 5vw, 4rem);
    padding-left: clamp(1.75rem, 5vw, 4rem);
  }

  h1 {
    font-size: clamp(3.15rem, 6.2vw, 5rem);
  }
}

@media (max-width: 760px) {
  .page-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(14rem, 38svh) auto auto;
  }

  .page-shell::before {
    inset: 0;
  }

  .site-header {
    grid-column: 1;
    grid-row: 1;
    padding-top: 1.55rem;
    padding-bottom: 1.45rem;
  }

  .wordmark {
    font-size: 1.35rem;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, transparent 68%, rgba(49, 41, 31, 0.16));
  }

  .hero-visual img {
    object-position: 66% 63%;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    padding-top: clamp(2.35rem, 7vw, 3.6rem);
    padding-bottom: 1.25rem;
  }

  .status {
    margin-bottom: 1.2rem;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2.65rem, 11.5vw, 4.6rem);
    line-height: 1;
  }

  .lead {
    margin-top: 1.25rem;
  }

  .flourish {
    margin-top: 1.85rem;
  }

  .site-footer {
    grid-column: 1;
    grid-row: 4;
    padding-top: 1rem;
    padding-bottom: 1.6rem;
  }
}

@media (max-width: 380px) {
  .site-header,
  .hero-copy,
  .site-footer {
    padding-right: 1.3rem;
    padding-left: 1.3rem;
  }

  h1 {
    font-size: 2.7rem;
  }
}

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