:root {
  --paper: #f3ead8;
  --paper-light: #fbf6ea;
  --ink: #173f50;
  --ink-soft: #355f6e;
  --terracotta: #b4573d;
  --terracotta-dark: #843d2d;
  --gold: #c99b55;
  --line: rgba(23, 63, 80, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Avenir Next", Avenir, sans-serif;
}

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

.coming-soon-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(24px, 4vw, 58px) clamp(24px, 6vw, 92px) 28px;
  background:
    radial-gradient(circle at 8% 18%, rgba(180, 87, 61, 0.08), transparent 24%),
    radial-gradient(circle at 93% 83%, rgba(23, 63, 80, 0.09), transparent 25%),
    var(--paper);
  isolation: isolate;
}

.paper-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.33;
  background-image:
    repeating-linear-gradient(0deg, rgba(67, 45, 24, 0.026) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin-inline: auto;
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wordmark-route,
.wordmark-ink {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
}

.wordmark-with {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: var(--terracotta);
  font-size: 19px;
  text-transform: lowercase;
  letter-spacing: -0.05em;
  transform: rotate(-7deg);
}

.wordmark::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 0;
  bottom: -9px;
  border-bottom: 1px solid var(--terracotta);
  transform: rotate(-1.5deg);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 180ms ease, transform 180ms ease;
}

.instagram-link:hover {
  color: var(--terracotta);
  transform: translateY(-2px);
}

.instagram-icon {
  width: 21px;
  height: 21px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
  width: 100%;
  max-width: 1440px;
  min-height: calc(100svh - 174px);
  margin: 0 auto;
  padding: 46px 0 36px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  padding-bottom: 20px;
  animation: fade-up 900ms 120ms both cubic-bezier(0.2, 0.7, 0.2, 1);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--terracotta-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 31px;
  border-top: 2px solid var(--terracotta);
}

h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.7vw, 104px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.script-line {
  display: block;
  margin-top: 16px;
  color: var(--terracotta);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 0.76em;
  letter-spacing: -0.035em;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.intro {
  max-width: 560px;
  margin: 38px 0 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
}

.launch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px 40px;
  margin-top: 44px;
}

.coming-soon-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

.label-kicker {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.coming-soon-label strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.follow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 51px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(180, 87, 61, 0.35);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.follow-button:hover {
  background: transparent;
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(180, 87, 61, 0.28);
}

.follow-button:focus-visible,
.instagram-link:focus-visible,
.wordmark:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.follow-button span {
  font-size: 17px;
}

.postal-scene {
  position: relative;
  min-height: 610px;
  animation: fade-in 1000ms 260ms both ease;
}

.postcard {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(94%, 690px);
  aspect-ratio: 1.5 / 1;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(91, 65, 35, 0.22);
  background:
    linear-gradient(rgba(255, 255, 255, 0.23), rgba(255, 255, 255, 0.05)),
    #eee3ce;
  box-shadow:
    0 35px 70px rgba(63, 39, 21, 0.18),
    0 3px 10px rgba(63, 39, 21, 0.1);
  transform: translate(-48%, -47%) rotate(4.2deg);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 500ms ease;
}

.postcard:hover {
  box-shadow: 0 42px 85px rgba(63, 39, 21, 0.24);
  transform: translate(-48%, -49%) rotate(2.6deg);
}

.postcard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(77, 53, 29, 0.018) 7px 8px);
}

.postcard-topline,
.postcard-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(23, 63, 80, 0.64);
  font-size: clamp(8px, 0.7vw, 10px);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.postcard-topline {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.postcard-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  min-height: 76%;
  padding: 25px 0 20px;
}

.message-side {
  position: relative;
  padding-right: 32px;
}

.address-side {
  position: relative;
  padding: 8px 0 0 32px;
  border-left: 1px solid var(--line);
}

.handwritten,
.signature {
  font-family: "Brush Script MT", "Segoe Script", cursive;
}

.greeting {
  margin: 8px 0 16px;
  color: var(--terracotta-dark);
  font-size: clamp(23px, 2.2vw, 34px);
}

.note {
  max-width: 280px;
  margin: 0;
  font-size: clamp(19px, 1.9vw, 29px);
  line-height: 1.45;
  transform: rotate(-1deg);
}

.signature {
  display: block;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 20px);
}

.writing-lines,
.address-lines {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.writing-lines i,
.address-lines i {
  display: block;
  border-bottom: 1px solid var(--line);
}

.stamp {
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  color: var(--paper-light);
  box-shadow: 0 2px 8px rgba(41, 32, 24, 0.16);
  mask:
    radial-gradient(circle at 0 0, transparent 4px, #000 4.4px) 0 0 / 12px 12px,
    linear-gradient(#000 0 0);
  mask-composite: intersect;
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent 4px, #000 4.4px) 0 0 / 12px 12px,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: source-in;
}

.stamp-blue {
  position: absolute;
  top: -3px;
  right: 2px;
  width: clamp(82px, 8vw, 112px);
  aspect-ratio: 0.82;
  padding: 13px 10px;
  border: 4px double rgba(255, 255, 255, 0.65);
  background: var(--ink);
  transform: rotate(2deg);
}

.stamp-country {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(8px, 0.75vw, 11px);
  letter-spacing: 0.14em;
}

.stamp-flower {
  font-size: clamp(25px, 3.2vw, 44px);
  text-shadow: 8px 0 0 rgba(255, 255, 255, 0.18), -8px 0 0 rgba(255, 255, 255, 0.18);
}

.stamp-value {
  justify-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(10px, 0.9vw, 13px);
}

.address-lines {
  margin-top: clamp(120px, 13vw, 166px);
}

.postcard-footer {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.loose-stamp {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 16px;
  width: 116px;
  aspect-ratio: 0.84;
  padding: 15px;
  border: 4px double rgba(255, 255, 255, 0.62);
  background: var(--terracotta);
  transform: rotate(16deg);
  animation: float-stamp 6s infinite alternate ease-in-out;
}

.stamp-mountain {
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 0.8;
  transform: scaleX(1.7);
}

.postmark {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 139px;
  height: 139px;
  border: 3px double rgba(23, 63, 80, 0.62);
  border-radius: 50%;
  color: rgba(23, 63, 80, 0.66);
  text-align: center;
  transform: rotate(-15deg);
}

.postmark::before,
.postmark::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  border-top: 1px solid currentColor;
}

.postmark::before { top: 46px; }
.postmark::after { bottom: 46px; }

.postmark span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.postmark small {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.postmark-top {
  top: 3px;
  right: 36px;
}

.airmail-stripe {
  position: absolute;
  left: 5%;
  bottom: 27px;
  z-index: -1;
  width: 390px;
  height: 14px;
  opacity: 0.55;
  background: repeating-linear-gradient(120deg, var(--ink) 0 22px, transparent 22px 34px, var(--terracotta) 34px 56px, transparent 56px 68px);
  transform: rotate(-8deg);
}

.ink-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.35;
}

.dot-one { left: 6%; top: 18%; }
.dot-two { right: 11%; top: 42%; width: 3px; height: 3px; }

.site-footer {
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(23, 63, 80, 0.7);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float-stamp {
  from { transform: rotate(16deg) translateY(0); }
  to { transform: rotate(13deg) translateY(-12px); }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 80px;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    font-size: clamp(64px, 10vw, 98px);
  }

  .postal-scene {
    min-height: 620px;
  }

  .postcard {
    width: min(88vw, 690px);
  }

  .site-footer {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .coming-soon-page {
    padding: 22px 20px 24px;
  }

  .instagram-link span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 84px 0 30px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  h1 {
    font-size: clamp(49px, 15.5vw, 72px);
  }

  .script-line {
    margin-top: 12px;
    font-size: 0.75em;
  }

  .intro {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.65;
  }

  .launch-row {
    align-items: stretch;
    margin-top: 34px;
  }

  .follow-button {
    width: 100%;
  }

  .postal-scene {
    min-height: 410px;
    margin-top: 24px;
  }

  .postcard {
    top: 47%;
    width: min(112vw, 540px);
    padding: 21px;
    transform: translate(-50%, -47%) rotate(3deg);
  }

  .postcard:hover {
    transform: translate(-50%, -48%) rotate(2deg);
  }

  .postcard-body {
    padding-block: 13px 11px;
  }

  .message-side {
    padding-right: 14px;
  }

  .address-side {
    padding-left: 14px;
  }

  .greeting { margin: 1px 0 7px; font-size: 20px; }
  .note { font-size: 16px; }
  .signature { margin-top: 7px; font-size: 12px; }
  .writing-lines { display: none; }
  .stamp-blue { width: 72px; }
  .stamp-flower { font-size: 24px; }
  .address-lines { margin-top: 87px; gap: 11px; }
  .postcard-footer span:first-child { display: none; }
  .postcard-footer { justify-content: flex-end; }

  .postmark {
    width: 95px;
    height: 95px;
  }

  .postmark-top { top: 4px; right: -3px; }
  .postmark::before { top: 31px; left: 12px; right: 12px; }
  .postmark::after { bottom: 31px; left: 12px; right: 12px; }
  .postmark span { font-size: 10px; }
  .postmark small { font-size: 5px; }

  .loose-stamp {
    right: -17px;
    bottom: 0;
    width: 74px;
    padding: 10px;
  }

  .stamp-mountain { font-size: 34px; }
  .airmail-stripe { left: -12%; bottom: 15px; width: 260px; height: 10px; }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 8px;
    line-height: 1.5;
  }
}

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