@font-face {
  font-family: "Studio Serif";
  src: url("assets/studio-serif.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Studio Serif";
  src: url("assets/studio-serif-italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Studio Sans";
  src: url("assets/studio-sans.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #17201e;
  --paper: #f4f0e8;
  --muted: #d6d3c9;
  --accent: #d3ba98;
  --serif: "Studio Serif", Georgia, "Times New Roman", serif;
  --sans: "Studio Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 280px; background: var(--ink); }
body { margin: 0; color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--ink); }
p { margin: 0; }

.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.75rem, 3.6vw, 3.8rem) clamp(1.5rem, 5.6vw, 6.6rem) 1.8rem;
  overflow: hidden;
}

.backdrop { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 53%; }
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(13, 21, 19, .92) 0%, rgba(13, 21, 19, .15) 24%, transparent 55%),
    linear-gradient(90deg, rgba(13, 21, 19, .94) 0%, rgba(13, 21, 19, .88) 25%, rgba(13, 21, 19, .62) 44%, rgba(13, 21, 19, .14) 68%, rgba(13, 21, 19, .08) 100%);
}

.header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; flex-shrink: 1; min-width: 0; max-width: 100%; }
.brand-by { font: italic 3.55rem/.9 var(--serif); color: var(--accent); letter-spacing: -.09em; padding-right: .08em; }
.brand-name { display: block; min-width: 0; font: 400 1.9rem/1.05 var(--serif); letter-spacing: -.025em; }
.brand-caption { display: block; margin-top: .55rem; font: 400 .75rem/1.3 var(--sans); letter-spacing: .27em; color: var(--muted); }
.header-note { font-size: .875rem; line-height: 1.55; text-align: right; color: var(--paper); }

.main { display: flex; align-items: center; position: relative; min-width: 0; padding: 5.7rem 0 6.4rem; }
.intro { max-width: min(51rem, 100%); min-width: 0; animation: arrive 1.2s cubic-bezier(.16, 1, .3, 1) both; }
.eyebrow { display: flex; align-items: center; gap: .85rem; font-size: .875rem; letter-spacing: .18em; color: var(--accent); }
.eyebrow span { width: 2.25rem; height: 1px; background: var(--accent); flex-shrink: 0; }
h1 { margin: 1.65rem 0 1.65rem; font: 400 clamp(3.65rem, 6.65vw, 7.8rem)/1.06 var(--serif); letter-spacing: -.05em; }
h1 span, h1 em { display: block; }
h1 em { font-weight: 400; color: var(--accent); }
.description { font-size: 1.0625rem; line-height: 1.8; color: var(--muted); }
.construction-note { display: flex; align-items: center; gap: .8rem; margin-top: 2.45rem; }
.construction-note p { font-size: .875rem; line-height: 1.65; color: var(--paper); }
.construction-line { width: 1.55rem; height: 1.55rem; position: relative; flex-shrink: 0; border: 1px solid rgba(211, 186, 152, .6); }
.construction-line::after { content: ""; position: absolute; inset: .3rem; border-left: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }
.scene-caption { position: absolute; right: 0; bottom: 4.25rem; display: flex; align-items: center; gap: 1.05rem; font-size: .875rem; letter-spacing: .045em; text-shadow: 0 2px 14px #17201e; }
.scene-line { width: 3rem; height: 1px; background: rgba(244, 240, 232, .75); }

.footer { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.65rem; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(244, 240, 232, .28), rgba(244, 240, 232, .13)); }
.domain { font-size: .875rem; letter-spacing: .035em; }
.copyright { font-size: .75rem; line-height: 1.5; color: #c3c4bb; }

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

@media (min-width: 1600px) {
  .main { padding-top: 7rem; padding-bottom: 8rem; }
}

@media (max-width: 900px) {
  .page { padding-inline: 2.5rem; }
  .main { padding-top: 6rem; padding-bottom: 6rem; }
  h1 { font-size: clamp(3.65rem, 8vw, 5.7rem); }
  .backdrop::after {
    background:
      linear-gradient(0deg, rgba(13, 21, 19, .96), transparent 48%),
      linear-gradient(90deg, rgba(13, 21, 19, .91), rgba(13, 21, 19, .65) 50%, rgba(13, 21, 19, .27));
  }
  .scene-caption { display: none; }
}

@media (max-width: 600px) {
  .page { min-height: 100svh; padding: 1.8rem 1.5rem 1.4rem; }
  .header { gap: .8rem; }
  .brand { gap: .75rem; }
  .brand-by { font-size: 3rem; }
  .brand-name { font-size: 1.6rem; }
  .brand-caption { font-size: .75rem; letter-spacing: .19em; margin-top: .4rem; }
  .header-note { display: none; }
  .main { align-items: center; padding: 5rem 0 5.5rem; }
  h1 { font-size: clamp(3.1rem, 10.3vw, 4.8rem); letter-spacing: -.045em; margin-top: 1.55rem; margin-bottom: 1.6rem; }
  .eyebrow { font-size: .875rem; letter-spacing: .095em; gap: .7rem; flex-wrap: wrap; }
  .eyebrow span { width: 1.6rem; }
  .description { font-size: 1rem; line-height: 1.85; max-width: 21rem; }
  .desktop-break { display: none; }
  .construction-note { margin-top: 2rem; }
  .backdrop img { object-position: 70% 50%; }
  .backdrop::after {
    background:
      linear-gradient(0deg, rgba(13, 21, 19, .97) 0%, rgba(13, 21, 19, .4) 45%, rgba(13, 21, 19, .2) 100%),
      linear-gradient(90deg, rgba(13, 21, 19, .77), rgba(13, 21, 19, .53));
  }
  .footer { align-items: flex-start; flex-direction: column; gap: .6rem; padding-top: 1.3rem; }
  .copyright { font-size: .75rem; }
}

@media (max-width: 340px) {
  .page { padding-inline: 1.15rem; }
  h1 { font-size: 2.8rem; }
  .eyebrow { max-width: 15rem; line-height: 1.6; }
}

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