/* ==========================================================
   VIVOTTI — Bridal Couture | Coming Soon
   ========================================================== */

:root {
  --cream: #fdf1e5;
  --cream-2: #f8e7d7;
  --cream-3: #efd8c5;
  --gold-1: #d4a663;
  --gold-2: #a8702a;
  --gold-3: #7a4d12;
  --gold-text: linear-gradient(135deg, #c9944a 0%, #a06822 45%, #74490f 100%);
  --brown: #7f5d44;
  --ink: #3a2a1f;
  --ink-soft: #4d3b2e;
  --footer: #72573f;
  --footer-2: #5c4532;
  --footer-text: #f6e8d6;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg .fill { fill: currentColor; stroke: none; }
.gold-fill { fill: url(#gold); stroke: none; }
.gold-line { stroke: url(#gold); fill: none; }
/* fallback colour if a browser can't resolve the gradient */
@supports not (fill: url(#gold)) { .gold-fill { fill: var(--gold-2); } .gold-line { stroke: var(--gold-2); } }

.sr-only, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.is-hidden { display: none !important; }

/* Gold gradient text */
.gold-text,
.brand__name,
.hero__script,
.hero__title strong {
  background: var(--gold-text);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-2);
}

/* ============ HEADER ============ */
.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
}
.topbar__label {
  position: relative;
  padding-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.topbar__label::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-2), rgba(168, 112, 42, 0));
}
.topbar__right { display: flex; align-items: center; gap: 26px; }

.social { display: flex; align-items: center; gap: 20px; }
.social a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  color: #fff8ee;
  filter: drop-shadow(0 1px 3px rgba(60, 40, 20, .35));
  transition: color .25s, transform .25s;
}
.social a:hover { color: #ffe2a8; transform: translateY(-2px); }
.social svg { width: 28px; height: 28px; stroke-width: 1.8; }

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: #fff8ee;
  box-shadow: 0 1px 3px rgba(60, 40, 20, .3);
  transition: transform .3s, opacity .3s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

.menu {
  position: absolute;
  top: 86px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  min-width: 230px;
  padding: 14px 0;
  background: rgba(253, 243, 233, .97);
  border: 1px solid rgba(168, 112, 42, .25);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(90, 60, 30, .18);
  backdrop-filter: blur(6px);
}
.menu[hidden] { display: none; }
.menu a, .menu__lang {
  padding: 11px 26px;
  font: 500 14px/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink-soft);
  background: none;
  border: 0;
  cursor: pointer;
}
.menu a:hover, .menu__lang:hover { color: var(--gold-2); background: rgba(212, 166, 99, .1); }
.menu__lang { margin-top: 6px; border-top: 1px solid rgba(168, 112, 42, .18); padding-top: 16px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1100px;
  background:
    radial-gradient(ellipse 55% 60% at 28% 45%, #fff6ec 0%, rgba(255, 246, 236, 0) 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 60%, var(--cream-3) 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  z-index: 0;
  width: min(58%, calc(min(max(100svh, 640px), 1100px) * 1.02));
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 18%, #000 48%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 18%, #000 48%);
}

.blossom {
  position: absolute;
  left: 0;
  z-index: 1;
  pointer-events: none;
}
.blossom--top {
  top: 0;
  width: clamp(220px, 26vw, 400px);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0 0, #000 45%, transparent 80%);
          mask-image: radial-gradient(ellipse 100% 100% at 0 0, #000 45%, transparent 80%);
  animation: sway 9s ease-in-out infinite alternate;
  transform-origin: 0 0;
}
.blossom--bottom {
  bottom: 0;
  width: clamp(130px, 14vw, 220px);
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(0deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(0deg, #000 70%, transparent 100%);
          mask-composite: intersect;
  animation: sway 11s ease-in-out infinite alternate-reverse;
  transform-origin: 0 100%;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(239, 216, 197, 0) 0%, var(--cream-3) 100%);
}
@keyframes sway { to { transform: rotate(1.4deg) translateY(-4px); } }

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(48%, 640px);
  margin-left: max(var(--gutter), calc(25% - 300px));
  padding: clamp(70px, 10vh, 110px) 0 clamp(40px, 6vh, 70px);
}

/* Logo */
.brand { display: flex; flex-direction: column; align-items: center; }
.brand__mark { width: clamp(90px, min(9.5vw, 15vh), 150px); height: auto; overflow: visible; }
.brand__name {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, min(5.6vw, 8.6vh), 82px);
  letter-spacing: .16em;
  padding-left: .16em;
  line-height: 1.05;
}
.brand__sub {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 8px 0 0;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 500;
  letter-spacing: .46em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.brand__sub span { padding-left: .46em; }
.brand__sub::before, .brand__sub::after {
  content: "";
  width: clamp(30px, 4vw, 56px);
  height: 1px;
  background: var(--ink-soft);
  opacity: .7;
}

.hero__script {
  margin: clamp(12px, 2.4vh, 24px) 0 0;
  padding: 0 .08em .08em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(50px, min(6.4vw, 10vh), 100px);
  line-height: 1.05;
  letter-spacing: -.01em;
}

.fleur { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.fleur span { width: clamp(60px, 7vw, 100px); height: 1px; background: linear-gradient(90deg, rgba(168,112,42,0), var(--gold-2)); }
.fleur span:last-child { transform: scaleX(-1); }
.fleur svg { width: 26px; height: 26px; }

.hero__title {
  margin: clamp(10px, 2vh, 20px) 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, min(2.9vw, 4.4vh), 42px);
  line-height: 1.22;
  color: var(--ink);
}
.hero__title strong {
  display: block;
  margin-top: 2px;
  padding: 0 .06em .06em;
  font-style: italic;
  font-weight: 700;
  font-size: 1.42em;
  line-height: 1.05;
  letter-spacing: -.01em;
}

.hero__text {
  margin: clamp(12px, 2.2vh, 22px) auto 0;
  max-width: 470px;
  font-size: clamp(16px, min(1.35vw, 2.2vh), 19px);
  line-height: 1.55;
  color: var(--ink);
}

/* ============ EXPERIENCE ============ */
.offer {
  padding: clamp(64px, 8vw, 104px) var(--gutter) clamp(80px, 9vw, 120px);
  text-align: center;
  background: linear-gradient(180deg, var(--cream-3) 0%, #f6e6d6 30%, var(--cream) 100%);
}
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .4em;
  padding-left: .4em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.offer__title {
  margin: 12px auto 0;
  max-width: 680px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--ink);
}
.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 50px auto 0;
}
.card {
  padding: 38px 32px;
  text-align: left;
  background: rgba(255, 250, 244, .7);
  border: 1px solid rgba(168, 112, 42, .22);
  border-radius: 6px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(168, 112, 42, .5); box-shadow: 0 16px 36px rgba(140, 95, 40, .12); }
.card__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.card h3 { margin: 8px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 27px; color: var(--ink); }
.card p { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* ============ FOOTER ============ */
.contact {
  position: relative;
  margin-top: -1px;
  color: var(--footer-text);
  background: linear-gradient(180deg, #7a5c41 0%, var(--footer) 40%, var(--footer-2) 100%);
}
.contact__wave {
  position: absolute;
  left: 0; bottom: calc(100% - 2px);
  width: 100%;
  height: clamp(28px, 4vw, 60px);
  display: block;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-evenly;
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px var(--gutter) 10px;
}
.contact__item {
  display: flex;
  gap: 16px;
  padding: 8px clamp(18px, 3vw, 44px);
}
.contact__item + .contact__item { border-left: 1px solid rgba(246, 232, 214, .35); }
.contact__item svg { flex: none; width: 32px; height: 32px; margin-top: 0; color: var(--footer-text); }
.contact h4 {
  margin: 2px 0 6px;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact p { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(246, 232, 214, .92); }
.contact a:hover { color: #ffe2a8; }
.contact__phone { font-size: 24px !important; font-weight: 500; letter-spacing: .02em; color: #fff7ea !important; }
.contact__wa { font-size: 14px !important; margin-top: 2px !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(246, 232, 214, .4); }
.contact__mail { font-size: 19px !important; }
.contact__copy {
  margin: 18px 0 0;
  padding: 16px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(246, 232, 214, .14);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: rgba(246, 232, 214, .6);
}

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Tablet / Mobile ============ */
@media (max-width: 999px) {
  .topbar { padding: 18px var(--gutter); }
  .topbar__label { font-size: 11px; letter-spacing: .32em; }
  .social { gap: 10px; }
  .social svg { width: 24px; height: 24px; }
  .social a { color: var(--brown); filter: none; }
  .social a:hover { color: var(--gold-2); }
  .menu-btn span { background: var(--brown); box-shadow: none; }
  .topbar__right { gap: 12px; }
  .menu { top: 70px; }

  .hero {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    max-height: none;
    background: linear-gradient(180deg, var(--cream) 0%, #fdeee1 55%, var(--cream-2) 100%);
  }
  .hero__content {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 96px var(--gutter) 0;
  }
  .hero__content { order: 1; }
  .hero__photo {
    order: 2;
    position: relative;
    width: 100%;
    margin-top: -10px;
    aspect-ratio: 694 / 1000;
    max-height: 760px;
  }
  .hero__photo img {
    object-position: 60% 0%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }
  .blossom--top { width: 46vw; max-width: 300px; opacity: .9; }
  .blossom--bottom { display: none; }
  .offer__grid { grid-template-columns: 1fr; max-width: 520px; }

  .contact__grid { grid-template-columns: 1fr; justify-content: stretch; padding-top: 14px; max-width: 520px; }
  .contact__item { padding: 16px 0; }
  .contact__item + .contact__item { border-left: 0; border-top: 1px solid rgba(246, 232, 214, .2); }
}

@media (max-width: 520px) {
  .social__phone { display: none; }
  .topbar__label { letter-spacing: .26em; }
  .brand__mark { width: 104px; }
  .brand__name { font-size: 46px; }
  .brand__sub { letter-spacing: .34em; gap: 12px; }
  .hero__script { font-size: 54px; margin-top: 16px; }
  .hero__title { font-size: 26px; }
  .hero__text { font-size: 16px; }
  .contact__phone { font-size: 22px !important; }
  .contact__mail { font-size: 17px !important; }
}
