:root {
  color-scheme: dark;
  --ink: #f3ebdc;
  --muted: rgba(243, 235, 220, 0.76);
  --dim: rgba(243, 235, 220, 0.52);
  --line: rgba(229, 203, 157, 0.28);
  --accent: #d6a789;
  --gold: #d7bd86;
  --blackgreen: #07120d;
  --shadow: rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--blackgreen);
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  background: var(--blackgreen);
}

a {
  color: inherit;
}

.page,
.hero {
  height: 100vh;
  min-height: 680px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  background-image: url("/assets/hero.png");
  background-position: center;
  background-size: cover;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 13, 9, 0.96) 0%, rgba(4, 13, 9, 0.86) 34%, rgba(4, 13, 9, 0.2) 70%),
    linear-gradient(180deg, rgba(4, 13, 9, 0.12), rgba(4, 13, 9, 0.52));
}

.frame {
  position: relative;
  height: calc(100vh - 24px);
  min-height: 656px;
  margin: 12px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 4.5vw, 58px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 192px;
  height: 192px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 28px var(--shadow);
}

.brand span {
  display: grid;
  gap: 6px;
  padding-top: 44px;
}

.brand strong,
.brand em,
.site-header > p,
.goods,
.site-footer a {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.brand em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
}

.site-header > p {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: right;
}

.hero__content {
  width: min(100%, 620px);
  align-self: center;
  padding: 16px 0 20px;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 6.2vw, 6.7rem);
  line-height: 0.86;
  font-weight: 700;
  letter-spacing: 0;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 235, 220, 0.72);
  font-style: italic;
  font-weight: 500;
}

.lede {
  max-width: 560px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 650;
}

.goods {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 0;
  margin: 0;
  color: var(--ink);
  list-style: none;
}

.goods li {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.goods li:not(:last-child)::after {
  content: "·";
  color: var(--gold);
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .page,
  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero__image {
    background-position: 58% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(4, 13, 9, 0.84) 0%, rgba(4, 13, 9, 0.66) 42%, rgba(4, 13, 9, 0.82) 100%);
  }

  .frame {
    height: auto;
    min-height: calc(100svh - 20px);
    margin: 10px;
    padding: 18px;
  }

  .site-header,
  .site-footer {
    display: grid;
    gap: 18px;
  }

  .brand {
    gap: 10px;
    align-items: center;
  }

  .brand img {
    width: 112px;
    height: 112px;
  }

  .brand span {
    padding-top: 0;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand em {
    max-width: 190px;
    font-size: 0.64rem;
  }

  .site-header > p {
    margin-top: 0;
    text-align: left;
    font-size: 0.66rem;
  }

  .hero__content {
    width: 100%;
    padding: 26px 0 28px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(3.2rem, 14vw, 4.2rem);
  }

  .lede {
    font-size: 0.96rem;
    font-weight: 600;
  }

  .goods {
    gap: 10px 14px;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  .goods li {
    gap: 14px;
  }

}

@media (max-width: 420px) {
  .brand strong {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .brand em {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }

  .site-header > p,
  .site-footer a {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 3.8rem);
  }
}
