:root {
  color-scheme: light;
  --paper: #f4f4f2;
  --ink: #4b4b48;
  --quiet: #62625f;
  --gutter: clamp(24px, 3.6vw, 64px);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

html { min-width: 240px; }

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 240px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/assets/silver-texture-v1.jpg") center / cover;
  opacity: 0.18;
  pointer-events: none;
  content: "";
}

::selection { color: var(--paper); background: var(--ink); }

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
}

.header {
  display: flex;
  justify-content: flex-end;
  min-height: 28px;
}

.language {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(12px, 1.12vw, 18px);
  line-height: 1;
  letter-spacing: 0.18em;
}

.language button {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 44px;
  margin: -8px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  text-decoration-color: transparent;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.language button[aria-pressed="true"] {
  text-decoration-line: underline;
  text-decoration-color: #969691;
}

.language button:hover { color: #1d1d1b; }

.language button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 5px;
}

.hero {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 78px 0 30px;
  text-align: center;
}

.hero-content {
  width: 100%;
  animation: arrive 850ms cubic-bezier(0.2, 0.65, 0.35, 1) both;
}

.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(96px, 18.9vw, 320px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: 0;
  font-optical-sizing: auto;
}

.descriptor {
  margin: clamp(22px, 1.8vw, 29px) 0 0;
  padding-left: 0.53em;
  font-size: clamp(11px, 1.5vw, 24px);
  line-height: 1.5;
  letter-spacing: 0.53em;
}

.rule {
  width: clamp(64px, 7vw, 112px);
  height: 1px;
  margin: clamp(32px, 3.1vw, 50px) auto 0;
  background: #999994;
}

.announcement {
  margin: clamp(26px, 2.9vw, 46px) 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 70px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.intro {
  margin: clamp(15px, 1.65vw, 26px) auto 0;
  max-width: 44ch;
  color: var(--quiet);
  font-size: clamp(14px, 1.45vw, 23px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.045em;
  text-wrap: balance;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  color: var(--quiet);
  font-size: clamp(11px, 1.15vw, 18px);
  line-height: 1.5;
  letter-spacing: 0.045em;
}

.domain { letter-spacing: 0.1em; }

.instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin: -9px 0;
  padding: 9px 0;
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: #b5b5af;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.instagram:hover { color: #1d1d1b; text-decoration-color: currentColor; }
.instagram:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }

@keyframes arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .page { padding-top: 26px; padding-bottom: 28px; }
  .header { min-height: 32px; }
  .language { gap: 8px; font-size: 11px; }
  .language button { min-width: 34px; }
  .hero { padding: 60px 0 72px; }
  .wordmark { font-size: clamp(16px, 25.5vw, 136px); letter-spacing: 0; }
  .descriptor { margin-top: 22px; font-size: 10px; letter-spacing: 0.5em; padding-left: 0.5em; }
  .rule { margin-top: 34px; width: 64px; }
  .announcement { margin-top: 28px; font-size: clamp(28px, 8vw, 42px); }
  .intro { max-width: 28ch; margin-top: 16px; font-size: 13px; line-height: 1.8; letter-spacing: 0.025em; }
  .footer { flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 10px; }
  .instagram { order: -1; margin: 0 0 5px; font-size: 11px; }
}

@media (max-height: 600px) and (min-width: 701px) {
  .hero { padding: 42px 0; }
  .wordmark { font-size: min(17.6vw, 190px); }
  .descriptor { margin-top: 24px; font-size: 14px; }
  .rule { margin-top: 26px; }
  .announcement { margin-top: 24px; font-size: 38px; }
  .intro { margin-top: 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
