:root {
  --cherry: #4b0d1f;
  --cherry-dark: #2d0712;
  --ivory: #f4f0e9;
  --muted: rgba(244, 240, 233, 0.63);
  --line: rgba(244, 240, 233, 0.22);
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --pad: clamp(1.35rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ivory);
  background: var(--cherry-dark);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: 0 var(--pad);
  background:
    radial-gradient(circle at 76% 39%, rgba(125, 31, 57, 0.45), transparent 28%),
    linear-gradient(135deg, #2d0712 0%, var(--cherry) 62%, #390815 100%);
  overflow: hidden;
}

.header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 146px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  width: fit-content;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.wordmark b {
  margin-right: 0.08em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

.wordmark em {
  color: var(--muted);
  font-size: 0.72em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.brand-mark {
  width: 90px;
  height: 90px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.header-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.header-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.32rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.header-link span,
.inquiry-button span:last-child {
  transition: transform 0.25s ease;
}

.header-link:hover span,
.inquiry-button:hover span:last-child {
  transform: translate(3px, -3px);
}

.main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vh, 5.5rem) 0;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(2rem, 4vh, 3.5rem);
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--ivory);
  border-radius: 50%;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(244, 240, 233, 0.4);
  border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.65);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

.headline-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.headline {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 8.2vw, 9rem);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.headline span {
  display: block;
}

.headline span:nth-child(2) {
  margin-left: 7vw;
}

.headline em {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.seal {
  position: absolute;
  z-index: 1;
  right: 1vw;
  display: grid;
  width: clamp(190px, 18vw, 275px);
  height: clamp(190px, 18vw, 275px);
  place-items: center;
}

.seal .seal-copy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
}

.seal text {
  fill: rgba(244, 240, 233, 0.7);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
}

.seal .seal-logo {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 34%;
  height: 34%;
  fill: none;
  stroke: var(--ivory);
  stroke-width: 2.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.content-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: clamp(2.5rem, 5vh, 4.5rem);
}

.philosophy-line {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(0.75rem, 1.15vw, 1.08rem);
  font-style: italic;
  text-align: right;
  white-space: nowrap;
  color: rgba(244, 240, 233, 0.72);
}

.philosophy-line span {
  margin-left: 0.4em;
}

.intro {
  max-width: 610px;
  margin: 0;
  color: rgba(244, 240, 233, 0.78);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.coming-soon {
  flex: 0 0 min(32vw, 400px);
}

.coming-soon > span {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 2.1rem);
  font-style: italic;
  text-align: right;
}

.line {
  height: 1px;
  background: rgba(244, 240, 233, 0.22);
  overflow: hidden;
}

.line i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--ivory);
  animation: progress 4s ease-in-out infinite;
}

@keyframes progress {
  0% {
    transform: translateX(-110%);
  }
  50%,
  100% {
    transform: translateX(260%);
  }
}

.decorative-orbit {
  position: absolute;
  border: 1px solid rgba(244, 240, 233, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: -49%;
  right: 7%;
  width: min(65vw, 900px);
  aspect-ratio: 1;
}

.orbit-two {
  right: -18%;
  bottom: -75%;
  width: min(50vw, 700px);
  aspect-ratio: 1;
}

.footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.footer-message {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.footer-message > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-message p {
  margin: 0;
  font-size: 0.9rem;
}

.inquiry-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: 285px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(244, 240, 233, 0.65);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.inquiry-button:hover {
  color: var(--cherry);
  background: var(--ivory);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: rgba(244, 240, 233, 0.42);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.8s cubic-bezier(0.2, 0.65, 0.3, 1) forwards;
}

.headline.reveal {
  animation-delay: 0.12s;
}

.seal.reveal {
  animation-delay: 0.35s;
}

.content-row.reveal {
  animation-delay: 0.28s;
}

.philosophy-line.reveal {
  animation-delay: 0.42s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .header-note {
    display: none;
  }

  .headline {
    font-size: clamp(3.45rem, 13.5vw, 6rem);
    line-height: 0.89;
  }

  .headline span:nth-child(2) {
    margin-left: 0;
  }

  .seal {
    right: 2vw;
    bottom: -25%;
    width: 154px;
    height: 154px;
  }

  .content-row {
    align-items: start;
    flex-direction: column;
    gap: 2rem;
  }

  .philosophy-line {
    position: static;
    align-self: flex-end;
    margin-top: 2rem;
    font-size: clamp(0.58rem, 2.35vw, 0.78rem);
  }

  .coming-soon {
    width: 100%;
    flex-basis: auto;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .inquiry-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .header {
    min-height: 88px;
  }

  .brand {
    font-size: 0.84rem;
  }

  .brand-copy small {
    display: none;
  }

  .wordmark {
    font-size: 1.05rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .header-link {
    font-size: 0;
    border: 0;
  }

  .header-link span {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(244, 240, 233, 0.55);
    border-radius: 50%;
    font-size: 0.9rem;
  }

  .main {
    padding: 2.5rem 0;
  }

  .status {
    margin-bottom: 2.2rem;
  }

  .headline {
    font-size: clamp(3.25rem, 15.2vw, 4.6rem);
  }

  .headline span:last-child {
    margin-top: 0.15rem;
  }

  .seal {
    right: -1rem;
    bottom: -36%;
    width: 92px;
    height: 92px;
  }

  .seal > span {
    font-size: 1rem;
  }

  .content-row {
    margin-top: 3.8rem;
  }

  .intro {
    max-width: 330px;
    font-size: 0.88rem;
  }

  .coming-soon > span {
    font-size: 1.25rem;
  }

  .footer {
    gap: 1.2rem;
  }

  .footer-message {
    display: block;
  }

  .footer-message p {
    margin-top: 0.45rem;
    line-height: 1.45;
  }

  .footer-meta span:last-child {
    display: none;
  }

  .orbit-one {
    top: -10%;
    right: -64%;
    width: 135vw;
  }

  .orbit-two {
    display: none;
  }
}

@media (max-height: 740px) and (min-width: 801px) {
  .header {
    min-height: 72px;
  }

  .main {
    padding: 2rem 0;
  }

  .status {
    margin-bottom: 1.5rem;
  }

  .content-row {
    margin-top: 2rem;
  }

  .footer {
    padding: 1rem 0;
  }

  .footer-meta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
