/* =====================================================
   ZAROZAIB
   Luxury Rose Gold / Ivory Theme
===================================================== */

:root {

  /* Background */
  --background: #faf7f5;
  --background-soft: #f6efec;
  --white: #ffffff;

  /* Rose Gold */
  --rose: #b98778;
  --rose-light: #d7aaa0;
  --rose-soft: #ead3cd;
  --rose-deep: #96675d;

  /* Text */
  --ink: #2b211f;
  --ink-soft: #554945;
  --muted: #8e7c77;

  /* Borders */
  --line: rgba(150, 103, 93, 0.20);
  --line-soft: rgba(150, 103, 93, 0.12);

  /* Typography */
  --display:
    "Bodoni Moda",
    "Didot",
    "Bodoni 72",
    Georgia,
    serif;

  --text:
    "Hanken Grotesk",
    "Helvetica Neue",
    Arial,
    sans-serif;
}


/* =====================================================
   RESET
===================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;

  min-height: 100vh;
  min-height: 100dvh;

  color: var(--ink);

  font-family: var(--text);
  font-weight: 300;

  line-height: 1.7;

  background:
    radial-gradient(
      circle at 82% 42%,
      rgba(215, 170, 160, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(215, 170, 160, 0.09),
      transparent 28%
    ),
    var(--background);
}


/* =====================================================
   PAGE
===================================================== */

.page {

  position: relative;

  min-height: 100vh;
  min-height: 100dvh;

  max-width: 1400px;

  margin: 0 auto;

  padding:
    0
    clamp(24px, 5vw, 72px)
    28px;

  display: flex;

  flex-direction: column;
}


/* =====================================================
   HEADER
===================================================== */

.top {

  display: flex;

  align-items: center;

  justify-content: space-between;

  min-height: 108px;

  border-bottom:
    1px solid var(--line);
}


.brand {

  display: inline-flex;

  align-items: center;

  text-decoration: none;

  transition:
    opacity 0.3s ease;
}

.brand:hover {
  opacity: 0.8;
}

.brand img {

  display: block;

  width: 250px;

  height: auto;

  object-fit: contain;
}


.header-right {

  display: flex;

  align-items: center;

  gap: 10px;

  color: var(--muted);

  font-size: 0.78rem;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.status-dot {

  width: 6px;

  height: 6px;

  border-radius: 50%;

  background: var(--rose);

  box-shadow:
    0 0 0 5px rgba(185, 135, 120, 0.10);
}


/* =====================================================
   HERO
===================================================== */

.hero {

  flex: 1;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(420px, 0.85fr);

  align-items: center;

  gap: clamp(50px, 8vw, 130px);

  padding:
    clamp(55px, 8vh, 100px)
    0
    clamp(50px, 7vh, 80px);
}


/* =====================================================
   COPY
===================================================== */

.copy {

  max-width: 650px;

  position: relative;

  z-index: 2;
}


.eyebrow {

  display: flex;

  align-items: center;

  gap: 13px;

  margin-bottom: 26px;

  color: var(--rose-deep);

  font-size: 0.76rem;

  font-weight: 400;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


.eyebrow span {

  display: block;

  width: 35px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--rose),
      transparent
    );
}


.copy h1 {

  margin: 0;

  max-width: 10ch;

  color: var(--ink);

  font-family: var(--display);

  font-size:
    clamp(3.3rem, 6.2vw, 6.3rem);

  font-weight: 400;

  line-height: 0.98;

  letter-spacing: -0.035em;
}


.copy h1 em {

  display: block;

  color: var(--rose);

  font-style: normal;
}


.lede {

  max-width: 580px;

  margin:
    36px
    0
    12px;

  color: var(--ink-soft);

  font-size:
    clamp(1rem, 1.35vw, 1.12rem);

  line-height: 1.85;
}


.coming {

  max-width: 500px;

  margin: 0 0 35px;

  color: var(--muted);

  font-size: 0.93rem;
}


/* =====================================================
   COUNTDOWN
===================================================== */

.countdown {

  display: flex;

  gap:
    clamp(22px, 3.5vw, 45px);

  width: fit-content;

  margin-bottom: 38px;

  padding:
    20px
    28px;

  border-top:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);
}


.countdown[hidden] {
  display: none;
}


.time-item {

  display: flex;

  flex-direction: column;

  min-width: 55px;
}


.time-item b {

  color: var(--rose-deep);

  font-family: var(--display);

  font-size:
    clamp(1.8rem, 3vw, 2.6rem);

  font-weight: 400;

  line-height: 1.1;

  font-variant-numeric:
    tabular-nums;
}


.time-item span {

  margin-top: 5px;

  color: var(--muted);

  font-size: 0.68rem;

  letter-spacing: 0.10em;

  text-transform: uppercase;
}


/* =====================================================
   BUTTONS
===================================================== */

.actions {

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 24px;
}


.btn {

  position: relative;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 20px;

  min-width: 215px;

  padding:
    15px
    21px;

  color: #fff;

  text-decoration: none;

  font-size: 0.84rem;

  font-weight: 400;

  letter-spacing: 0.06em;

  background:
    linear-gradient(
      135deg,
      #d4a79d 0%,
      #b98778 48%,
      #9b6c62 100%
    );

  box-shadow:
    0 12px 30px rgba(150, 103, 93, 0.16);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.btn i {

  font-style: normal;

  font-size: 1.1rem;

  transition:
    transform 0.3s ease;
}


.btn:hover {

  transform:
    translateY(-3px);

  box-shadow:
    0 18px 38px rgba(150, 103, 93, 0.23);
}


.btn:hover i {

  transform:
    translateX(5px);
}


.email-link {

  color: var(--ink-soft);

  text-decoration: none;

  font-size: 0.88rem;

  border-bottom:
    1px solid var(--line);

  padding-bottom: 3px;

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}


.email-link:hover {

  color: var(--rose-deep);

  border-color: var(--rose);
}


/* =====================================================
   CREST
===================================================== */

.crest {

  position: relative;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  width: 100%;
}


.crest-glow {

  position: absolute;

  width: 70%;

  aspect-ratio: 1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(215, 170, 160, 0.25),
      rgba(215, 170, 160, 0.08) 40%,
      transparent 70%
    );

  filter: blur(18px);

  pointer-events: none;
}


.crest-frame {

  position: relative;

  width: min(100%, 500px);

  filter:
    drop-shadow(
      0 22px 45px rgba(92, 64, 57, 0.09)
    );
}


.arch {

  display: block;

  width: 100%;

  height: auto;
}


.arch .line {

  fill: none;

  stroke: var(--rose);

  stroke-linejoin: round;

  stroke-dasharray: 1;

  stroke-dashoffset: 1;
}


.arch .outer {

  stroke-width: 1.5;

  animation:
    draw 2.4s cubic-bezier(.5,.1,.2,1)
    .2s forwards;
}


.arch .inner {

  stroke-width: 0.8;

  opacity: 0.65;

  animation:
    draw 2.4s cubic-bezier(.5,.1,.2,1)
    .5s forwards;
}


.arch .fill {

  animation:
    appear 1.5s ease .3s both;
}


/* =====================================================
   LOGO
===================================================== */

.logo {

  position: absolute;

  left: 50%;

  top: 58%;

  width: 62%;

  height: auto;

  transform:
    translate(-50%, -50%);

  filter:
    drop-shadow(
      0 8px 18px rgba(150, 103, 93, 0.14)
    );

  animation:
    logoIn 1.7s ease 1.2s both;
}


/* =====================================================
   CREST CAPTION
===================================================== */

.crest-caption {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 13px;

  margin-top: -20px;

  color: var(--muted);

  font-size: 0.68rem;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.caption-line {

  width: 28px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--rose-light)
    );
}


.caption-line:last-child {

  background:
    linear-gradient(
      90deg,
      var(--rose-light),
      transparent
    );
}


/* =====================================================
   INFORMATION STRIP
===================================================== */

.info {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  border-top:
    1px solid var(--line);
}


.info-item {

  display: flex;

  flex-direction: column;

  gap: 5px;

  padding:
    22px
    25px
    10px
    0;
}


.info-item + .info-item {

  padding-left: 25px;

  border-left:
    1px solid var(--line);
}


.k {

  color: var(--muted);

  font-size: 0.67rem;

  font-weight: 400;

  letter-spacing: 0.15em;

  text-transform: uppercase;
}


.info a {

  align-self: flex-start;

  color: var(--ink);

  text-decoration: none;

  font-size: 0.87rem;

  border-bottom:
    1px solid transparent;

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}


.info a:hover {

  color: var(--rose-deep);

  border-color: var(--rose);
}


.v {

  color: var(--ink-soft);

  font-size: 0.87rem;
}


/* =====================================================
   COPYRIGHT
===================================================== */

.legal {

  margin:
    16px
    0
    0;

  color: #a99a95;

  font-size: 0.68rem;

  letter-spacing: 0.04em;
}


.legal-dot {

  margin:
    0 5px;

  color: var(--rose);
}


/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes draw {

  to {
    stroke-dashoffset: 0;
  }
}


@keyframes appear {

  from {
    opacity: 0;
  }
}


@keyframes logoIn {

  from {

    opacity: 0;

    transform:
      translate(-50%, -46%);
  }
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

  .hero {

    grid-template-columns:
      minmax(0, 1fr)
      minmax(330px, 0.8fr);

    gap: 50px;
  }


  .copy h1 {

    font-size:
      clamp(3rem, 6vw, 4.8rem);
  }


  .crest-frame {

    max-width: 410px;
  }
}


/* =====================================================
   MOBILE / TABLET
===================================================== */

@media (max-width: 800px) {

  .top {

    min-height: 90px;
  }


  .hero {

    grid-template-columns: 1fr;

    gap: 30px;

    padding:
      50px
      0
      55px;
  }


  .crest {

    order: -1;
  }


  .crest-frame {

    width: min(100%, 350px);
  }


  .copy {

    max-width: 650px;
  }


  .copy h1 {

    max-width: 12ch;

    font-size:
      clamp(3rem, 9vw, 4.8rem);
  }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 600px) {

  .page {

    padding-left: 20px;
    padding-right: 20px;
  }


  .top {

    min-height: 82px;
  }


  .brand img {

    width: 125px;
  }


  .header-right {

    font-size: 0.64rem;

    letter-spacing: 0.08em;
  }


  .hero {

    padding-top: 35px;
  }


  .crest-frame {

    width: 290px;
  }


  .crest-caption {

    margin-top: -10px;

    font-size: 0.59rem;
  }


  .copy h1 {

    font-size:
      clamp(2.7rem, 13vw, 4rem);
  }


  .lede {

    margin-top: 28px;

    font-size: 0.98rem;
  }


  .coming {

    font-size: 0.86rem;
  }


  .countdown {

    width: 100%;

    justify-content: space-between;

    gap: 10px;

    padding:
      18px
      5px;
  }


  .time-item {

    min-width: 45px;
  }


  .actions {

    flex-direction: column;

    align-items: stretch;

    gap: 18px;
  }


  .btn {

    width: 100%;
  }


  .email-link {

    align-self: center;
  }


  .info {

    grid-template-columns: 1fr;
  }


  .info-item,
  .info-item + .info-item {

    padding:
      16px
      0;

    border-left: 0;
  }


  .info-item + .info-item {

    border-top:
      1px solid var(--line);
  }
}


/* =====================================================
   ACCESSIBILITY
===================================================== */

a:focus-visible {

  outline:
    2px solid var(--rose);

  outline-offset: 5px;
}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  .arch .line {

    animation: none;

    stroke-dashoffset: 0;
  }


  .arch .fill,
  .logo {

    animation: none;
  }


  .btn,
  .btn i,
  .brand,
  .email-link,
  .info a {

    transition: none;
  }
}