/* ========================================================================== 
   Morelka Studio — editable brand tokens
   ========================================================================== */
:root {
  --color-cream: #fbf4ea;
  --color-card: #fdfbfe;
  --color-peach: #dc764e;
  --color-peach-soft: #f1a074;
  --color-lavender: #dcc7df;
  --color-lavender-soft: #eee3f0;
  --color-lavender-wave: #e4d1e5;
  --color-text: #352f2b;
  --color-muted: #6d625c;
  --color-focus: #7b557f;
  --shadow-card: 0 22px 55px rgba(94, 69, 74, 0.09);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
}

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

html {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--color-cream);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background:
    radial-gradient(circle at 52% 8%, rgba(255, 255, 255, 0.82), transparent 34rem),
    linear-gradient(135deg, #faf0e3 0%, var(--color-cream) 58%, #f1e6f2 100%);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 5px;
  border-radius: 0.25rem;
}

/* Page frame */
.page-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  padding: clamp(1.25rem, 3.2vw, 3rem) clamp(1rem, 4vw, 4rem) 1.5rem;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(1rem, 2.3vw, 2rem);
}

.brand-logo {
  width: clamp(10.5rem, 18vw, 15.5rem);
  height: auto;
  object-fit: contain;
}

/* Optional photography placements */
.decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* Empty placeholders stay invisible and cannot affect page width. */
.decor:empty {
  display: none;
}

.decor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.decor--leaves {
  top: -1.5rem;
  left: -3rem;
  width: min(26vw, 26rem);
  height: min(23vw, 22rem);
}

.decor--apricot {
  bottom: -4rem;
  left: -4rem;
  width: min(30vw, 27rem);
  height: min(30vw, 27rem);
}

.decor--polaroid {
  top: 8.5rem;
  right: -4.5rem;
  width: min(22vw, 20rem);
  height: min(28vw, 25rem);
  transform: rotate(-7deg);
}

.decor--gift {
  right: -4rem;
  bottom: -5rem;
  width: min(28vw, 26rem);
  height: min(28vw, 26rem);
  transform: rotate(5deg);
}

/* Hero card */
.hero-card {
  position: relative;
  width: min(100%, 72rem);
  min-height: clamp(31rem, 60vh, 40rem);
  margin-inline: auto;
  overflow: hidden;
  border: 2px solid var(--color-lavender);
  border-radius: clamp(1.75rem, 3vw, 3rem);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.87), var(--color-card));
  box-shadow: var(--shadow-card);
}

.hero-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2.4rem, 5vw, 4.6rem) clamp(1.25rem, 6vw, 5.75rem) clamp(8rem, 16vw, 10rem);
  text-align: center;
}

.mini-divider,
.botanical-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 16rem);
}

.mini-divider span:not(.mini-divider__heart),
.botanical-divider > span {
  flex: 1;
  height: 1px;
  background: var(--color-lavender);
}

.mini-divider__heart {
  margin-inline: 0.75rem;
  color: var(--color-peach);
  font-size: 1.05rem;
  line-height: 1;
}

h1 {
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 0;
  color: var(--color-peach);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7.2vw, 7rem);
  font-weight: 500;
  letter-spacing: 0.105em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.subheadline {
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.3vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.05;
}

.tagline {
  margin: clamp(0.8rem, 1.7vw, 1.15rem) 0 0;
  color: var(--color-peach);
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 1.15vw, 0.92rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: clamp(0.14em, 0.5vw, 0.34em);
  line-height: 1.7;
}

.botanical-divider {
  margin-top: clamp(1.15rem, 2.4vw, 1.8rem);
}

.botanical-divider svg {
  width: 4rem;
  height: 1.875rem;
  margin-inline: 0.65rem;
  overflow: visible;
  fill: var(--color-lavender);
  stroke: var(--color-lavender);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.description {
  max-width: 44rem;
  margin: clamp(1.1rem, 2.2vw, 1.7rem) auto 0;
  color: var(--color-muted);
  font-size: clamp(0.94rem, 1.25vw, 1.08rem);
  line-height: 1.78;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin-top: clamp(1.4rem, 2.7vw, 2rem);
  color: var(--color-peach);
  font-size: clamp(0.96rem, 1.3vw, 1.1rem);
  font-weight: 500;
  line-height: 1.3;
  text-decoration-color: rgba(220, 118, 78, 0.48);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.instagram-link:hover {
  color: #b95c3a;
  text-decoration-color: currentColor;
}

.instagram-link__icon {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-link__dot {
  fill: currentColor;
  stroke: none;
}

/* Soft card waves and CSS apricot */
.card-waves {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(7rem, 14vw, 10rem);
  pointer-events: none;
}

.card-waves > svg {
  width: 100%;
  height: 100%;
}

.card-waves__back {
  fill: var(--color-lavender-soft);
}

.card-waves__front {
  fill: var(--color-lavender-wave);
  opacity: 0.78;
}

.apricot-mark {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  width: 3.45rem;
  height: 3.8rem;
  transform: translateX(-50%);
}

.apricot-mark__fruit {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid var(--color-text);
  border-radius: 48% 48% 52% 52%;
  background: var(--color-peach-soft);
  transform: rotate(3deg);
}

.apricot-mark__fruit::after {
  position: absolute;
  top: 0.4rem;
  left: 50%;
  width: 0.75rem;
  height: 2.15rem;
  border-left: 1.3px solid var(--color-text);
  border-radius: 50%;
  content: "";
}

.apricot-mark__leaf {
  position: absolute;
  top: 0.05rem;
  left: 1.55rem;
  width: 1.65rem;
  height: 0.78rem;
  border: 1.4px solid var(--color-text);
  border-radius: 100% 0 100% 0;
  background: #9da07e;
  transform: rotate(-28deg);
}

.site-footer {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-style: italic;
  text-align: center;
}

/* Responsive refinements */
@media (max-width: 900px) {
  .page-shell {
    padding-inline: clamp(1rem, 4vw, 2rem);
  }

  .decor--apricot,
  .decor--gift {
    display: none;
  }

  .decor--leaves,
  .decor--polaroid {
    opacity: 0.42;
  }
}

@media (max-width: 600px) {
  .page-shell {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }

  .site-header {
    margin-bottom: 0.85rem;
  }

  .brand-logo {
    width: clamp(9rem, 42vw, 11rem);
  }

  .decor {
    display: none;
  }

  .hero-card {
    min-height: 0;
    border-width: 1.5px;
    border-radius: 1.75rem;
  }

  .hero-card__content {
    padding: 2.1rem 1.2rem 7.1rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.25rem);
    letter-spacing: 0.055em;
    line-height: 0.88;
  }

  .subheadline {
    max-width: 16rem;
  }

  .tagline {
    max-width: 18rem;
    letter-spacing: 0.15em;
  }

  .description {
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .card-waves {
    height: 6.5rem;
  }

  .apricot-mark {
    bottom: 0.55rem;
    transform: translateX(-50%) scale(0.86);
  }
}

@media (max-width: 370px) {
  .hero-card__content {
    padding-inline: 0.95rem;
  }

  h1 {
    font-size: 2.85rem;
  }

  .description {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header,
  .hero-card,
  .site-footer {
    animation: gentle-entry 700ms both cubic-bezier(0.2, 0.75, 0.25, 1);
  }

  .hero-card {
    animation-delay: 80ms;
  }

  .site-footer {
    animation-delay: 150ms;
  }

  @keyframes gentle-entry {
    from {
      opacity: 0;
      transform: translateY(0.6rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@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;
  }
}
