@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("fonts/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --wall-light: #f6ece1;
  --wall: #efe2d3;
  --wall-shade: #e2cdb8;
  --ink: #2f2a26;
  --brown: #5c4636;
  --tan: #b8957c;
  --tan-deep: #a47e66;
  --cream: #fbf5ee;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Jost", "Helvetica Neue", "Arial", sans-serif;
}

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

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

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  color: var(--brown);
  font-family: var(--sans);
  background:
    radial-gradient(120% 70% at 75% 15%, var(--wall-light) 0%, transparent 60%),
    linear-gradient(160deg, var(--wall) 0%, var(--wall-light) 45%, var(--wall-shade) 100%);
  -webkit-font-smoothing: antialiased;
}

/* --- Background: warm wall, diagonal sunlight, soft leaf shadows --- */

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sunlight {
  position: absolute;
  inset: -20%;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 9%,
    rgba(255, 249, 240, 0.55) 9% 15%,
    transparent 15% 24%
  );
  filter: blur(28px);
}

.leaf-shadows {
  position: absolute;
  top: -4%;
  left: -6%;
  width: min(70vw, 620px);
  height: auto;
  color: #6e5644;
  opacity: 0.1;
  filter: blur(6px);
  transform: rotate(-8deg);
}

/* Wave + leaf: a decorative band between the divider and "Coming soon", anchored to the content
   column so it stays in place at every screen size, but bleeding out to the full viewport width. */
.flourish-block {
  position: relative;
  isolation: isolate;
  height: 1.5rem;
}

.flourish-line {
  position: absolute;
  top: -1.9rem;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 3.2rem;
  transform: translateX(-50%);
  overflow: visible;
  fill: none;
  stroke: var(--tan);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.75;
}

.flourish-leaf {
  /* The leaf's base (bottom-left of its 300x180 viewBox) sits where the wave ends, so the blade
     always rises above the text instead of covering it. */
  --leaf-w: clamp(5.5rem, 28vw, 15rem);
  position: absolute;
  top: calc(0.2rem - var(--leaf-w) * 0.6);
  right: calc(50% - 50vw - 0.5rem);
  z-index: -1;
  width: var(--leaf-w);
  height: auto;
  opacity: 0.8;
}

.leaf-blade {
  fill: var(--tan);
}

.leaf-rib {
  fill: none;
  stroke: var(--wall-light);
  stroke-width: 3;
}

/* --- Content --- */

.teaser {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  padding: clamp(2.5rem, 7vh, 4.5rem) 1.5rem clamp(2.5rem, 6vh, 4rem);
  text-align: center;
  animation: rise 1.1s ease-out both;
}

.logo {
  margin: 0 auto;
  width: clamp(9.5rem, 38vw, 13rem);
  font-size: 1rem;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.logo-house {
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.logo-word {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 37px;
  font-weight: 400;
  letter-spacing: 1.5px;
}

.logo-leaf {
  fill: var(--tan);
  stroke: var(--wall-light);
  stroke-width: 2.5;
}

.tagline {
  margin: 0.4rem 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 7.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.08;
}

.rule {
  width: 2.75rem;
  height: 0;
  margin: clamp(1.4rem, 4vh, 2.2rem) auto;
  border: 0;
  border-top: 3px solid var(--tan);
  border-radius: 2px;
}

.coming-soon {
  margin: clamp(1.4rem, 4vh, 2.2rem) 0 0;
  background: linear-gradient(180deg, #4a3628 0%, #8a6a54 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 11vw, 4.1rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  /* letter-spacing also pads after the last letter; this re-centres each line */
  padding-left: 0.3em;
}

.heart {
  fill: none;
  stroke: var(--brown);
  stroke-width: 2.6;
  stroke-linejoin: round;
}

.heart-center {
  display: block;
  width: 2.4rem;
  margin: 0.9rem auto 0;
}

.follow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1.2rem, 3vh, 1.8rem);
  padding: 0.9rem 1.8rem 0.9rem 1.4rem;
  min-height: 3rem;
  border-radius: 999px;
  background: var(--tan-deep);
  color: var(--cream);
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(74, 54, 40, 0.6);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.follow:hover {
  background: #96705a;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(74, 54, 40, 0.7);
}

.follow:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.follow-icon {
  width: 2.4rem;
  flex: none;
  fill: none;
  stroke: var(--cream);
  stroke-width: 3.2;
}

.follow-icon .dot {
  fill: var(--cream);
  stroke: none;
}

.follow-divider {
  align-self: stretch;
  width: 1px;
  background: rgba(251, 245, 238, 0.55);
}

.follow-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.follow-title {
  white-space: nowrap;
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.follow-sub {
  margin-top: 0.15rem;
  font-size: clamp(0.8rem, 3vw, 0.9rem);
  font-weight: 400;
}

.sparkle {
  position: absolute;
  top: -1.9rem;
  right: -0.6rem;
  width: 1.9rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.6;
  stroke-linecap: round;
}

.handle {
  margin: 0.9rem 0 0;
  color: var(--brown);
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.14em;
}

@media (max-width: 359px) {
  .follow {
    gap: 0.7rem;
    padding: 0.8rem 1.2rem 0.8rem 1rem;
  }

  .follow-icon {
    width: 2rem;
  }

  .follow-title {
    letter-spacing: 0.14em;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teaser {
    animation: none;
  }

  .follow {
    transition: none;
  }

  .follow:hover {
    transform: none;
  }
}
