:root {
  --bg: #0a0805;
  --bg-deep: #050403;
  --gold: #c9a35a;
  --gold-soft: #b89043;
  --gold-bright: #f4dfa7;
  --ivory: #efe6d2;
  --ivory-dim: #c7bda7;
  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--ivory);
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

body {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
}

/* ---------- Background image layer ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  overflow: hidden;
}
.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  image-rendering: -webkit-optimize-contrast;
  user-select: none;
  -webkit-user-drag: none;
  animation: heroIn 1.6s var(--ease) both;
}
/* Soft fade at the bottom edge so the image blends into the body bg */
.bg::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(5,4,3,0) 0%, var(--bg-deep) 100%);
  pointer-events: none;
}

/* Veil for text legibility */
.bg__veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(0,0,0,0) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 80%, rgba(0,0,0,.85) 100%);
}

/* ---------- Stage / text layer ---------- */
.stage {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  justify-items: center;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 5vw, 3rem) clamp(1.75rem, 5vh, 3rem);
  text-align: center;
}

.copy {
  display: grid;
  gap: clamp(.55rem, 1.4vw, .9rem);
  max-width: 62rem;
  padding-bottom: clamp(1rem, 6vh, 3rem);
  animation: rise 1.6s .35s var(--ease) both;
}

.eyebrow {
  margin: 0;
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: clamp(.7rem, 1.15vw, .9rem);
  color: var(--ivory-dim);
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}

.headline {
  margin: 0;
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 6.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  max-width: 100%;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,.7));
}

.creed {
  margin: 0;
  font-style: italic;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  color: var(--ivory);
  letter-spacing: .04em;
  text-shadow: 0 1px 10px rgba(0,0,0,.75);
}

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.6rem, 1.6vw, 1rem);
  margin-top: clamp(.4rem, 1.2vw, .9rem);
  color: var(--gold);
}
.rule__line {
  display: block;
  width: clamp(3rem, 12vw, 7rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.rule__mark {
  font-size: clamp(.9rem, 1.6vw, 1.1rem);
  line-height: 1;
  color: var(--gold);
  opacity: .9;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

.seal {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-weight: 500;
  font-size: clamp(.6rem, 1.3vw, .78rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  opacity: .75;
  text-align: center;
  max-width: 100%;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
  animation: fade 2s 1s var(--ease) both;
}
.seal span { white-space: nowrap; }

/* ---------- Animations ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: .75; }
}
@keyframes heroIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- Portrait (mobile) ----------
   On portrait the image is anchored to the top and occupies ~70% of the
   viewport — that's the only way to make the watch movement (and the
   centaur logo inside it) render large enough on a tall phone. Below the
   image is pure body bg with a fade for seamless text overlay. */
@media (orientation: portrait) {
  .bg {
    inset: 0 0 auto 0;
    height: 70vh;
    height: 70dvh;
  }
  .bg img { object-position: 50% 50%; }
  .bg__veil {
    background:
      radial-gradient(ellipse at 50% 28%, rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 40%, rgba(0,0,0,.25) 100%),
      linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 60%, rgba(0,0,0,.1) 75%, rgba(0,0,0,.5) 100%);
  }
  .copy { padding-bottom: clamp(1.5rem, 6vh, 3rem); }
}

/* ---------- Wide / desktop landscape ----------
   On landscape ≥900px the watch fills most of the viewport height (cover
   on a 2:1 image into a 16:9 viewport leaves only ~10–15% of vertical
   space below the artwork). Pull the text block tighter against the
   bottom edge so it doesn't crowd the movement. */
@media (orientation: landscape) and (min-width: 900px) {
  .bg img { object-position: center 50%; }
  .copy   { gap: .5rem; padding-bottom: clamp(.5rem, 2.5vh, 1.75rem); }
  .stage  { padding-bottom: clamp(1rem, 3vh, 2rem); }
}

/* Tablet landscape sweet spot (iPad Pro etc.) — slightly more breathing room */
@media (orientation: landscape) and (min-width: 700px) and (max-width: 1100px) {
  .headline { font-size: clamp(2.6rem, 6vw, 4.2rem); }
}

/* Very wide / ultra-wide */
@media (min-aspect-ratio: 21/9) {
  .bg img { object-position: center 40%; }
}

/* Mobile tuning — keep everything inside the viewport */
@media (max-width: 480px) {
  .stage    { padding: 1rem .9rem 1.5rem; }
  .headline { font-size: clamp(2rem, 11.5vw, 3.6rem); letter-spacing: .08em; }
  .eyebrow  { font-size: .7rem; letter-spacing: .18em; }
  .creed    { font-size: 1.05rem; }
  .seal     { font-size: .58rem; letter-spacing: .2em; }
  .copy     { padding-bottom: clamp(1.5rem, 8vh, 3rem); gap: .55rem; }
  .rule__line { width: clamp(2.5rem, 14vw, 5rem); }
}

@media (max-width: 360px) {
  .headline { letter-spacing: .06em; }
  .eyebrow  { font-size: .62rem; letter-spacing: .16em; }
  .seal     { font-size: .54rem; letter-spacing: .16em; }
}

@media (prefers-reduced-motion: reduce) {
  .bg img, .copy, .seal { animation: none; }
}

::selection { background: var(--gold); color: var(--bg); }
