:root {
  --white: #fff;
  --paper: #f4f1e5;
  --outline: #b9ae99;
  --muted: #aaa28f;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow-x: hidden; /* Added here for iOS safety */
}

body {
  color: var(--white);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
}

.site {
  display: grid;
  /* Use svh (small viewport height) to avoid mobile address bar jumps */
  grid-template-rows: minmax(0, 87.35vh) minmax(110px, 12.65vh);
  width: 100%;
  min-height: 100svh;
}

.hero {
  position: relative;
  isolation: isolate;

  background:
    radial-gradient(ellipse at 84% 7%, rgba(221, 229, 211, .88) 0 8%, transparent 33%),
    radial-gradient(ellipse at 74% 42%, rgba(218, 217, 198, .55) 0 12%, transparent 37%),
    radial-gradient(ellipse at 13% 13%, rgba(220, 221, 201, .75) 0 8%, transparent 28%),
    radial-gradient(ellipse at 88% 79%, rgba(218, 200, 193, .7) 0 8%, transparent 32%),
    linear-gradient(135deg, #d8d6c4 0%, #cec7b8 37%, #b7a695 66%, #c8b8ad 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  filter: blur(19px);
  opacity: .34;
  transform: rotate(-26deg);
}

.hero::before {
  top: 2%;
  left: 25%;
  width: 29%;
  height: 78%;
  border-radius: 4%;
  background: linear-gradient(105deg, rgba(164, 151, 132, .58), rgba(221, 218, 200, .15));
  box-shadow: -230px 390px 0 35px rgba(190, 177, 155, .28);
}

.hero::after {
  right: 19%;
  bottom: -23%;
  width: 32%;
  height: 78%;
  background: linear-gradient(145deg, transparent 42%, rgba(238, 231, 212, .55) 44% 56%, transparent 58%);
}

.mark {
  position: absolute;
  top: 6.65%;
  left: 4.75%;
  width: 7.05%;
  min-width: 74px;
  aspect-ratio: 1;
  color: var(--white);
}

.mark::before,
.mark::after {
  content: "";
  position: absolute;
}

.mark::before {
  right: 0;
  bottom: 0;
  width: 96%;
  height: 96%;
  border-right: 5px solid currentColor;
  border-bottom: 5px solid currentColor;
}

.mark::after {
  top: 3%;
  left: 4%;
  width: 132%;
  height: 5px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.brand,
.soon {
  position: absolute;
  margin: 0;
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: .88;
}

.brand {
  top: 5.1%;
  right: 3.4%;
  text-align: right;
  font-size: clamp(86px, 10.8vw, 208px);
}

.brand span,
.soon span {
  display: block;
}

.soon {
  bottom: 5.4%;
  left: 3.4%;
  font-size: clamp(92px, 10.7vw, 205px);
  line-height: .84;
}

.contact {
  position: absolute;
  right: 3.65%;
  bottom: 13.5%;
  margin: 0;
  text-align: right;
  font-size: clamp(18px, 1.65vw, 32px);
  line-height: 1.15;
}

.contact strong {
  font-weight: 700;
}

.contact a {
  color: inherit;
  text-decoration: none;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .12em;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 3.05%;
  background: var(--paper);
}

.statements {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(26.1vw, 502px);
  min-width: 375px;
  height: 84px;
  border: 2px solid var(--outline);
  border-radius: 999px;
  color: var(--muted);
  font-size: clamp(22px, 1.65vw, 32px);
  font-weight: 300;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.statements:hover,
.statements:focus-visible {
  color: #766e5e;
  border-color: #8e846f;
  background: rgba(185, 174, 153, .08);
  outline: none;
}

/* =========================================
   CLASSIC BREAKPOINTS & MOBILE ADJUSTMENTS
   ========================================= */

/* Tablets and Mobile (Vertical) */
@media (max-width: 992px) {
  .site {
    grid-template-rows: 1fr auto; /* Prevents overflow pushing elements off-screen */
  }

  .mark {
    top: 8%;
    left: 6.5%;
    width: 8%;
    min-width: 40px;
  }

  .mark::before { border-right-width: 2px; border-bottom-width: 2px; }
  .mark::after { height: 2px; }

  .brand {
    top: 20%;
    right: 6%;
    font-size: clamp(48px, 10vw, 80px);
    line-height: .83;
  }

  .soon {
    left: 6%;
    bottom: 25%;
    font-size: clamp(50px, 11vw, 85px);
    line-height: .82;
  }

  .contact {
    right: 6%;
    bottom: 8%;
    font-size: clamp(14px, 3.5vw, 20px);
    line-height: 1.2;
  }

  .footer {
    justify-content: center; /* Centers the button neatly on mobile */
    padding: 20px 5%;
  }

  .statements {
    width: 100%;
    max-width: 400px;
    min-width: 0;
    height: 55px;
    font-size: clamp(14px, 3.5vw, 20px);
  }
}

/* Very Small Mobile Screens */
@media (max-width: 480px) {
  .brand {
    font-size: clamp(38px, 12vw, 55px);
  }
  .soon {
    font-size: clamp(40px, 13vw, 58px);
    bottom: 28%;
  }
}

/* Mobile Landscape (Fixing height crunch overlaps) */
@media (max-height: 500px) and (orientation: landscape) {
  .site {
    grid-template-rows: 1fr auto;
  }

  .brand {
    top: 8%;
    font-size: clamp(30px, 8vh, 60px);
  }

  .soon {
    bottom: 12%;
    left: 5%;
    font-size: clamp(32px, 8vh, 65px);
  }

  .contact {
    bottom: 12%;
    font-size: clamp(12px, 3vh, 16px);
  }

  .footer {
    padding: 10px 5%;
  }

  .statements {
    height: 45px;
    font-size: 14px;
  }
}