/* =====================================================================
   Nour & Toka — Engagement invitation
   Soft palette: cream · blush · rose · sage · lavender · champagne gold
   ===================================================================== */

:root {
  --cream:      #fbf6f1;
  --cream-2:    #f6ede7;
  --blush:      #f4dade;
  --blush-2:    #ecc7cc;
  --rose:       #d4979f;
  --rose-deep:  #b8737d;
  --sage:       #cfdccb;
  --sage-2:     #a9bda6;
  --lavender:   #e4dbee;
  --gold:       #c8a86b;
  --gold-2:     #e6d0a3;
  --ink:        #4b3f45;
  --ink-2:      #7d6d73;
  --white:      #fffaf7;

  --font-display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-script:  'Great Vibes', 'Snell Roundhand', 'Brush Script MT', cursive;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --ease-out:    cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --shadow-soft: 0 20px 50px -20px rgba(120, 70, 80, .28);
  --radius:      22px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-sealed { overflow: hidden; height: 100vh; }

/* Soft, slowly drifting page backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 15% 10%, rgba(244, 218, 222, .85) 0%, transparent 70%),
    radial-gradient(55% 45% at 85% 20%, rgba(228, 219, 238, .8) 0%, transparent 70%),
    radial-gradient(60% 50% at 50% 95%, rgba(207, 220, 203, .8) 0%, transparent 70%),
    linear-gradient(180deg, #fdf9f6 0%, var(--cream) 50%, #f7f1ec 100%);
  background-size: 140% 140%;
  animation: backdrop-drift 26s ease-in-out infinite alternate;
}
@keyframes backdrop-drift {
  from { background-position: 0% 0%; }
  to   { background-position: 100% 100%; }
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

/* =====================================================================
   Envelope intro
   ===================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2.2rem;
  padding: 0 1.5rem;
  background: radial-gradient(120% 100% at 50% 0%, #fff8f4 0%, var(--cream) 45%, #f2e6ea 100%);
  transition: opacity .9s var(--ease-out), visibility 0s .9s;
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.intro__glow {
  position: absolute;
  width: min(80vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 199, 204, .55) 0%, rgba(228, 219, 238, .35) 45%, transparent 70%);
  filter: blur(30px);
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { transform: scale(.9); opacity: .7; }
  50%      { transform: scale(1.1); opacity: 1; }
}

.envelope {
  position: relative;
  width: min(86vw, 420px, 82vh);
  aspect-ratio: 3 / 2;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  perspective: 1200px;
  -webkit-tap-highlight-color: transparent;
  animation: envelope-float 4.5s ease-in-out infinite;
  outline-offset: 12px;
}
.envelope:focus-visible { outline: 2px solid var(--rose); border-radius: 12px; }
@keyframes envelope-float {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50%      { transform: translateY(-10px) rotate(.6deg); }
}

.envelope > span { position: absolute; }

.envelope__back {
  inset: 0;
  z-index: 1;
  border-radius: 12px;
  background: var(--blush-2);
  box-shadow: 0 40px 70px -25px rgba(120, 70, 80, .4);
}

.envelope__card {
  left: 6%; right: 6%; bottom: 6%;
  height: 92%;
  z-index: 2;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(120, 70, 80, .15);
  display: grid;
  justify-items: center;
  align-content: start;
  padding-top: 11%;
  transition: transform .95s var(--ease-out);
}
.envelope__card-inner {
  display: grid;
  gap: .25rem;
  text-align: center;
  color: var(--ink);
}
.envelope__eyebrow {
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.envelope__names {
  font-family: var(--font-script);
  font-size: clamp(2rem, 9vw, 2.9rem);
  line-height: 1.1;
  color: var(--rose-deep);
}
.envelope__names em { font-style: normal; color: var(--gold); font-size: .8em; }
.envelope__date {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .28em;
  color: var(--ink-2);
}

.envelope__pocket {
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, var(--blush) 0%, #f8e4e6 100%);
  clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%);
  border-radius: 12px;
}

.envelope__flap {
  top: 0; left: 0; right: 0;
  height: 56%;
  z-index: 4;
  background: linear-gradient(180deg, #f1cfd3 0%, var(--blush-2) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 12px 12px 0 0;
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform .85s var(--ease-out), z-index 0s .38s;
}

.envelope__seal {
  z-index: 5;
  left: 50%; top: 56%;
  width: 66px; height: 66px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e9c1c6, var(--rose) 55%, var(--rose-deep));
  box-shadow: 0 8px 16px rgba(120, 60, 70, .3), inset 0 0 0 3px rgba(255, 255, 255, .28);
  display: grid;
  place-items: center;
  font-family: var(--font-script);   /* same script face as the names */
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: .02em;
  color: #fff7f7;
  text-shadow: 0 1px 2px rgba(120, 60, 70, .35);
  transition: transform .45s var(--ease-out), opacity .45s;
}
.envelope__seal > span { padding-top: .08em; }
.envelope__seal i { font-style: normal; color: var(--gold-2); font-size: .72em; margin: 0 .06em; }

.envelope.is-open { animation: none; }
.envelope.is-open .envelope__flap { transform: rotateX(180deg); z-index: 0; }
.envelope.is-open .envelope__seal { transform: translate(-50%, -50%) scale(.3); opacity: 0; }
.envelope.is-open .envelope__card { transform: translateY(-62%); transition-delay: .45s; }

.intro__hint {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-2);
  animation: hint-pulse 2.4s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}
.envelope.is-open ~ .intro__hint { opacity: 0; transition: opacity .3s; animation: none; }

/* =====================================================================
   Petals
   ===================================================================== */
.petals {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* =====================================================================
   Page shell
   ===================================================================== */
.page {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
}
body.is-revealed .page { opacity: 1; }

.section {
  padding: clamp(3.5rem, 9vw, 6.5rem) 1.25rem;
}
.section__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.section__title {
  margin: 0 0 clamp(1.8rem, 5vw, 3rem);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  letter-spacing: .04em;
  color: var(--ink);
}

/* Ornament: line ✦ line */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  color: var(--gold);
  margin: 1.4rem auto;
}
.ornament span {
  width: clamp(48px, 12vw, 90px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament i { font-style: normal; font-size: .8rem; }
.ornament--small span { width: 40px; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 10vh, 7rem) 1.25rem 4rem;
  text-align: center;
}

.hero__blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .7;
  pointer-events: none;
  animation: blob-float 16s ease-in-out infinite alternate;
}
.hero__blob--1 { width: 46vw; height: 46vw; min-width: 260px; min-height: 260px; left: -10%; top: 5%; background: var(--blush-2); }
.hero__blob--2 { width: 40vw; height: 40vw; min-width: 240px; min-height: 240px; right: -8%; top: 20%; background: var(--lavender); animation-delay: -5s; }
.hero__blob--3 { width: 42vw; height: 42vw; min-width: 240px; min-height: 240px; left: 25%; bottom: -15%; background: var(--sage); animation-delay: -10s; }
@keyframes blob-float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6vw, -4vh) scale(1.12); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  display: grid;
  justify-items: center;
}

.hero__eyebrow {
  margin: 0 0 1.4rem;
  font-size: .72rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__line {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--ink-2);
}
.hero__title {
  margin: .2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.8rem);
  letter-spacing: .08em;
  color: var(--ink);
}

.hero__names {
  margin: .4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 clamp(.6rem, 3vw, 1.6rem);
  font-weight: 400;
  line-height: 1.15;
}
.hero__name {
  font-family: var(--font-script);
  font-size: clamp(3.6rem, 15vw, 7.2rem);
  padding: 0 .12em;
  background: linear-gradient(100deg, var(--rose-deep) 0%, var(--rose) 35%, var(--gold) 65%, var(--rose-deep) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--rose-deep);
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero__amp {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 7vw, 3.4rem);
  color: var(--gold);
}

.hero__date {
  margin: .3rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  letter-spacing: .12em;
  color: var(--ink);
}
.hero__place {
  margin: .35rem 0 0;
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.hero__scroll {
  margin-top: 3rem;
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  display: grid;
  justify-items: center;
  padding-top: 7px;
  opacity: .8;
}
.hero__scroll span {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--gold);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Hero entrance choreography — fires once body.is-revealed lands */
.reveal-up, .reveal-pop, .reveal-fade {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-delay: calc(var(--d, 0) * .13s + .25s);
}
.reveal-up   { transform: translateY(26px); }
.reveal-pop  { transform: scale(.4); }
body.is-revealed .reveal-up   { animation: rise .95s var(--ease-out) forwards; }
body.is-revealed .reveal-pop  { animation: pop 1s var(--ease-spring) forwards; }
body.is-revealed .reveal-fade { animation: fade 1.2s var(--ease-out) forwards; }
/* the shorthand above resets delay — restate the stagger */
body.is-revealed .reveal-up,
body.is-revealed .reveal-pop,
body.is-revealed .reveal-fade { animation-delay: calc(var(--d, 0) * .13s + .25s); }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes pop  { to { opacity: 1; transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }

/* Names keep the shimmer running alongside the entrance */
body.is-revealed .hero__name.reveal-up {
  animation: rise .95s var(--ease-out) forwards, shimmer 7s ease-in-out infinite;
  animation-delay: calc(var(--d, 0) * .13s + .25s), 0s;
}

/* =====================================================================
   Scroll reveal (sections & cards)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * .12s);
}
.reveal.in-view { opacity: 1; transform: none; }

/* =====================================================================
   Countdown
   ===================================================================== */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(.4rem, 2vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto;
}
.countdown__unit {
  flex: 1 1 0;
  min-width: 0;
  max-width: 112px;
  display: grid;
  justify-items: center;
  gap: .25rem;
  padding: clamp(.8rem, 2.5vw, 1.3rem) .3rem;
  border-radius: 18px;
  background: rgba(255, 250, 247, .7);
  border: 1px solid rgba(200, 168, 107, .28);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.countdown__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 1;
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
}
.countdown__num.tick { animation: tick .5s var(--ease-out); }
@keyframes tick {
  0%   { transform: translateY(-8px); opacity: .2; }
  100% { transform: translateY(0); opacity: 1; }
}
.countdown__label {
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.countdown__sep {
  align-self: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  color: var(--gold);
  padding-bottom: 1rem;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.countdown.is-done .countdown__sep { animation: none; }
.countdown__note {
  margin: 1.6rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--rose-deep);
}

/* =====================================================================
   Detail cards
   ===================================================================== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  max-width: 440px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .card:nth-child(3) { grid-column: 1 / -1; max-width: 520px; width: 100%; justify-self: center; }
}
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card:nth-child(3) { grid-column: auto; max-width: none; }
}
.card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .6rem;
  padding: clamp(1.7rem, 4vw, 2.4rem) 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 247, .75);
  border: 1px solid rgba(200, 168, 107, .28);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), box-shadow .4s;
}
.card:hover { box-shadow: 0 28px 60px -22px rgba(120, 70, 80, .38); }
.card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius) - 8px);
  border: 1px dashed rgba(200, 168, 107, .22);
  pointer-events: none;
}
.card__icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rose-deep);
  background: linear-gradient(145deg, var(--blush) 0%, var(--lavender) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.card__icon svg { width: 26px; height: 26px; }
.card__title {
  margin: .3rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: .06em;
  color: var(--ink);
}
.card__text {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-2);
}
.card__text strong {
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: .03em;
}
.card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: .8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s, background-color .3s, color .3s;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--rose) 0%, var(--rose-deep) 100%);
  box-shadow: 0 10px 22px -10px rgba(184, 115, 125, .7);
}
.btn--primary:hover { box-shadow: 0 16px 28px -12px rgba(184, 115, 125, .8); }
.btn--ghost {
  color: var(--ink);
  border: 1px solid rgba(200, 168, 107, .55);
  background: rgba(255, 255, 255, .5);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .9); border-color: var(--gold); }

/* =====================================================================
   Message from the couple
   ===================================================================== */
.message {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 3.4rem) clamp(1.4rem, 5vw, 3rem) 2.4rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 250, 247, .9), rgba(244, 218, 222, .55));
  border: 1px solid rgba(200, 168, 107, .3);
  box-shadow: var(--shadow-soft);
}
.message__quote {
  position: absolute;
  top: -.35em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-script);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: .85;
}
.message__text {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.6;
  color: var(--ink);
}
.message__sign {
  margin: 1.6rem 0 0;
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--ink-2);
}
.message__sign span {
  display: block;
  margin-top: .2rem;
  font-family: var(--font-script);
  font-size: 2.3rem;
  letter-spacing: 0;
  color: var(--rose-deep);
}

/* =====================================================================
   Footer
   ===================================================================== */
.footer {
  padding: 1rem 1.25rem calc(3rem + env(safe-area-inset-bottom));
  text-align: center;
}
.footer__names {
  margin: 0;
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--rose-deep);
}
.footer__date {
  margin: .2rem 0 0;
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .3em;
  color: var(--ink-2);
}

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, .intro__glow, .envelope, .hero__blob, .hero__name,
  .intro__hint, .hero__scroll span, .countdown__sep { animation: none !important; }
  .envelope__flap, .envelope__seal, .envelope__card, .intro, .page, .reveal, .card, .btn {
    transition-duration: .01s !important;
    transition-delay: 0s !important;
  }
  .reveal-up, .reveal-pop, .reveal-fade { animation-duration: .01s !important; animation-delay: 0s !important; }
  .countdown__num.tick { animation: none; }
}

/* =====================================================================
   Responsive tuning
   phones 320–430 · tablets 600–1024 · laptops/desktops 13"–21"
   ===================================================================== */

/* Narrow phones (iPhone SE / small Android) */
@media (max-width: 400px) {
  .section { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .hero__place { font-size: .78rem; letter-spacing: .14em; }
  .hero__eyebrow { letter-spacing: .3em; }
  .countdown { gap: .35rem; }
  .countdown__label { font-size: .56rem; letter-spacing: .14em; }
  .countdown__sep { display: none; }
  .card__actions .btn { width: 100%; justify-content: center; }
  .envelope__seal { width: 56px; height: 56px; font-size: 1.25rem; }
}

/* Short viewports: landscape phones, small laptop windows */
@media (max-height: 560px) {
  .intro { gap: 1.2rem; }
  .hero { padding-top: 3rem; padding-bottom: 2.5rem; }
  .hero__name { font-size: clamp(3rem, 12vh, 5.5rem); }
  .hero__scroll { margin-top: 1.4rem; }
  .ornament { margin: .8rem auto; }
}

/* Tablets (portrait & landscape) */
@media (min-width: 600px) and (max-width: 1024px) {
  .section__inner { max-width: 820px; }
  .hero__content { max-width: 680px; }
  .message { max-width: 600px; }
}

/* Laptops 13"–15" (1280–1536 CSS px) — defaults are tuned here */

/* Large laptops & desktops 16"–21" (1600px+): scale type via rem */
@media (min-width: 1600px) {
  html { font-size: 17px; }
  .section__inner { max-width: 1080px; }
  .hero__content { max-width: 840px; }
  .hero__name { font-size: clamp(3.6rem, 9vw, 8rem); }
  .envelope { width: min(86vw, 460px, 82vh); }
  .message { max-width: 700px; }
}
@media (min-width: 1900px) {
  html { font-size: 18px; }
  .section__inner { max-width: 1140px; }
  .hero__name { font-size: clamp(3.6rem, 9vw, 8.6rem); }
  .envelope { width: min(86vw, 500px, 82vh); }
}

/* Hover-capable devices only get the lift effects */
@media (hover: none) {
  .btn:hover { transform: none; }
  .card:hover { box-shadow: var(--shadow-soft); }
}
