:root {
  --dusty-blue: #58758f;
  --deep-blue: #38566f;
  --soft-blue: #dbe5ec;
  --gold: #c8a46a;
  --cream: #fbf8f1;
  --ink: #31343a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(219, 229, 236, .65), transparent 28rem),
    linear-gradient(180deg, #eef3f6 0%, #f7f3ea 55%, #edf2f5 100%);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-shell {
  width: min(100%, 820px);
  margin: 0 auto;
  background: var(--cream);
  box-shadow: 0 0 48px rgba(42, 55, 68, .16);
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow: hidden;
  background: #d9d9d9;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("trevor-amber.png");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245, 241, 233, .78) 0%, rgba(245, 241, 233, .22) 25%, rgba(24, 36, 46, .02) 62%, rgba(251, 248, 241, .96) 100%);
}

.hero-heading {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem 0;
  text-align: center;
  color: var(--deep-blue);
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}

.eyebrow {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}

h1 {
  margin: .25rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 8.5vw, 5.8rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.script {
  margin: -.15rem 0 0;
  color: var(--gold);
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.8rem, 10vw, 7.4rem);
  line-height: .92;
  transform: rotate(-2deg);
}

.content {
  position: relative;
  background:
    linear-gradient(rgba(251,248,241,.96), rgba(251,248,241,.98)),
    radial-gradient(circle at 20% 20%, rgba(88,117,143,.12), transparent 22rem);
}

.content-inner {
  position: relative;
  z-index: 2;
  width: min(92%, 680px);
  margin: 0 auto;
  padding: 2rem 1rem 2.6rem;
  text-align: center;
}

h2 {
  margin: 0;
  color: var(--dusty-blue);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 4.5vw, 2.3rem);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.intro {
  width: min(100%, 610px);
  margin: .9rem auto 1.65rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.45;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: min(100%, 420px);
  min-height: 64px;
  padding: 1rem 1.4rem;
  color: var(--white);
  background: linear-gradient(180deg, #66839b, #4d6d87);
  border: 2px solid rgba(200,164,106,.9);
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(56,86,111,.2);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.upload-button:hover,
.upload-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(56,86,111,.28);
  filter: brightness(1.04);
}

.upload-button:focus-visible {
  outline: 3px solid rgba(200,164,106,.55);
  outline-offset: 4px;
}

.camera {
  font-size: 1.4em;
  line-height: 1;
}

.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.1rem;
}

.tip {
  min-width: 0;
  padding: 0 1rem;
}

.tip + .tip {
  border-left: 1px solid rgba(200,164,106,.55);
}

.tip-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto .8rem;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-size: 1.7rem;
}

.tip p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.08rem;
  line-height: 1.25;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  margin: 2rem auto .65rem;
  color: var(--gold);
}

.closing span {
  width: min(24vw, 155px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.closing span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.thank-you {
  margin: 0;
  color: var(--dusty-blue);
  font-family: "Great Vibes", cursive;
  font-size: clamp(2rem, 6vw, 3.2rem);
}

footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  padding: 1.15rem 1.4rem;
  color: var(--white);
  background: var(--deep-blue);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(.9rem, 2.5vw, 1.1rem);
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

footer div + div {
  border-left: 1px solid rgba(255,255,255,.24);
}

footer span {
  margin-right: .35rem;
  color: #e3c58f;
}

.floral {
  position: absolute;
  z-index: 1;
  width: 220px;
  height: 260px;
  opacity: .16;
  pointer-events: none;
}

.floral::before,
.floral::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 190px;
  border: 2px solid var(--dusty-blue);
  border-color: var(--dusty-blue) transparent transparent var(--dusty-blue);
  border-radius: 80% 0 80% 0;
  transform: rotate(25deg);
}

.floral::after {
  left: 58px;
  top: 52px;
  width: 88px;
  height: 140px;
  border-color: var(--gold) transparent transparent var(--gold);
  transform: rotate(52deg);
}

.floral-left {
  left: -70px;
  bottom: -75px;
}

.floral-right {
  right: -80px;
  top: -80px;
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .hero {
    min-height: 52vh;
  }

  .hero-image {
    background-position: center 40%;
  }

  .hero-heading {
    padding-top: 1.35rem;
  }

  .content-inner {
    padding-top: 1.35rem;
  }

  .tips {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .tip {
    padding: .1rem 0;
  }

  .tip + .tip {
    border-left: 0;
  }

  .tip-icon {
    width: 52px;
    height: 52px;
    margin-bottom: .55rem;
  }

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

  footer div + div {
    border-left: 0;
  }
}

@media (min-width: 821px) {
  body {
    padding: 2rem;
  }

  .page-shell {
    border-radius: 14px;
  }
}
