:root {
  color-scheme: light;
  --ink: #1d2522;
  --muted: #66716c;
  --paper: #f7f4ed;
  --line: rgba(29, 37, 34, 0.16);
  --accent: #7c3f32;
  --accent-dark: #5d2e25;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(86vh, 820px);
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__shade,
.hero__content {
  grid-area: 1 / 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.88) 0%, rgba(247, 244, 237, 0.56) 43%, rgba(247, 244, 237, 0.08) 100%),
    linear-gradient(180deg, rgba(29, 37, 34, 0.08) 0%, rgba(29, 37, 34, 0.18) 100%);
}

.hero__content {
  z-index: 1;
  display: flex;
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 11vh 0 9vh;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  line-height: 0.92;
  font-weight: 840;
  letter-spacing: 0;
}

.notice {
  display: flex;
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 28px 0 42px;
  gap: 18px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.notice p {
  margin: 0;
}

.notice a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

@media (max-width: 720px) {
  .hero {
    min-height: 78vh;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(247, 244, 237, 0.92) 0%, rgba(247, 244, 237, 0.7) 54%, rgba(247, 244, 237, 0.18) 100%),
      linear-gradient(180deg, rgba(29, 37, 34, 0.04) 0%, rgba(29, 37, 34, 0.2) 100%);
  }

  .hero__content {
    width: min(100% - 32px, 1120px);
    padding: 76px 0 54px;
    justify-content: flex-start;
  }

  .notice {
    width: min(100% - 32px, 1120px);
    padding: 24px 0 34px;
    flex-direction: column;
    gap: 8px;
  }
}
