/* Gaetano Florist & Gardens — mockup styles */
@font-face { font-family: 'Marcellus'; src: url(fonts/marcellus-latin.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(fonts/figtree-latin.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
:root {
  /* brand (from the nameplate logo) */
  --black: #000;
  --ivory: #E8E1CE;
  /* supporting */
  --paper: #FFFDF8;
  --rose: #B4235A;
  --rose-hover: #9A1D4C;
  --rose-ink: #8E1A47;
  --garden: #1E3526;
  --ink: #1D1B19;
  --ink-soft: #4A4540;
  --ivory-soft: rgba(232, 225, 206, .72);
  --line-dark: rgba(232, 225, 206, .22);
  --line-light: rgba(29, 27, 25, .16);

  --display: 'Marcellus', Georgia, serif;
  --body: 'Figtree', system-ui, -apple-system, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --wrap: 1180px;
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 2px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font: 400 var(--step-0)/1.6 var(--body);
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ph { background: rgba(180, 35, 90, .12); color: var(--rose-ink); padding: 0 .3em; border-radius: var(--radius); }
.muted { opacity: .7; }

/* photos from mixed 2010s cameras: one gentle lift so they sit together */
figure img { filter: contrast(1.05) saturate(1.06); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .85rem 1.6rem;
  font: 600 1rem/1 var(--body); letter-spacing: .01em;
  color: #fff; background: var(--rose);
  border: 0; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .16s var(--ease-out);
}
.btn:hover { background: var(--rose-hover); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline-color: var(--ivory); }
.btn--ivory { background: var(--ivory); color: var(--black); }
.btn--ivory:hover { background: #fff; }

/* header */
.site-header {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--gutter);
  background: var(--black); color: var(--ivory);
}
.brand img { height: 54px; width: auto; }
.site-nav { display: flex; gap: 1.75rem; margin-left: auto; font-weight: 500; font-size: .98rem; }
.site-nav a, .header-phone { text-decoration: none; transition: color .2s ease; }
.site-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.header-phone {
  font-weight: 600; padding: .55rem .95rem; border: 1px solid var(--ivory); border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.header-phone:hover { background: var(--ivory); color: var(--black); }

/* hero: the chuppah arch */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(660px, calc(100svh - 78px), 1000px);
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(1.5rem, 4vh, 3rem) var(--gutter) 2.5rem;
  background: radial-gradient(60% 55% at 50% 38%, #2a0d1a 0%, var(--black) 70%);
  color: var(--ivory);
}
.petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.arch-stage { perspective: 1400px; position: relative; z-index: 1; }
.arch {
  --w: clamp(260px, 34vw, 470px);
  position: relative;
  width: var(--w); height: min(calc(var(--w) * 1.42), 57svh);
  min-height: 360px;
  border-radius: 999px 999px 0 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .9s var(--ease-out);
}
.arch img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  border-radius: inherit;
  border: 2px solid var(--ivory); border-bottom: 0;
  filter: contrast(1.06) saturate(1.1);
}
/* second ivory rule, like the nameplate frame */
.arch::before {
  content: ""; position: absolute; inset: -12px -12px 0;
  border: 1px solid var(--ivory-soft); border-bottom: 0;
  border-radius: 999px 999px 0 0; pointer-events: none;
}
/* the arch fades into the dark floor so the copy can sit on it */
.arch img, .arch::before {
  -webkit-mask-image: linear-gradient(#000 52%, transparent 96%);
  mask-image: linear-gradient(#000 52%, transparent 96%);
}
.hero-copy {
  position: relative; z-index: 3; text-align: center;
  max-width: 40rem; margin-top: -7.5rem;
}
.hero-copy h1 { font-size: var(--step-4); color: #F4EFE2; text-shadow: 0 2px 24px rgba(0, 0, 0, .7); }
.hero-copy p { max-width: 36ch; margin: 1rem auto 1.6rem; color: var(--ivory-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.25rem; }
.text-link { color: var(--ivory); text-underline-offset: .3em; text-decoration-thickness: 1px; }
.text-link:hover { color: #fff; }
.hero-corner {
  position: absolute; bottom: 2rem; z-index: 3;
  font-size: var(--step--1); line-height: 1.7; font-style: normal; color: var(--ivory-soft);
}
.hero-corner a { text-decoration: none; }
.hero-corner a:hover { color: #fff; text-decoration: underline; }
.hero-corner--left { left: var(--gutter); }
.hero-corner--right { right: var(--gutter); text-align: right; }

/* opening sequence: the room lights come up as the arch rises */
@media (prefers-reduced-motion: no-preference) {
  .js .arch { animation: arch-rise 1.6s var(--ease-out) backwards; }
  .js .arch img { animation: lights-up 2.4s ease-out .3s both; }
  .js .hero-copy { animation: copy-in 1s var(--ease-out) .9s both; }
}
@keyframes arch-rise {
  from { clip-path: inset(100% -20px 0 -20px); transform: rotateX(14deg) translateY(30px); }
  to { clip-path: inset(-20px -20px 0 -20px); transform: rotateX(0) translateY(0); }
}
@keyframes lights-up {
  from { filter: brightness(.25) saturate(.6); }
  to { filter: contrast(1.06) saturate(1.1); }
}
@keyframes copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* events */
.events { background: var(--black); color: var(--ivory); padding: var(--section) 0; border-top: 1px solid var(--line-dark); }
.events-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
.events-head p { color: var(--ivory-soft); max-width: 46ch; }
.room-wall {
  display: grid; gap: clamp(.75rem, 1.6vw, 1.25rem);
  grid-template-columns: 1.05fr 1fr 1fr;
  grid-template-areas: "a b b" "a c d";
}
.room { position: relative; overflow: hidden; }
.room img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.room:nth-child(1) { grid-area: a; }
.room:nth-child(1) img { aspect-ratio: auto; }
.room:nth-child(2) { grid-area: b; }
.room:nth-child(2) img { aspect-ratio: 16 / 8; }
.room:nth-child(3) { grid-area: c; }
.room:nth-child(4) { grid-area: d; }
.room figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem .85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  font-size: var(--step--1); color: #F4EFE2;
}
.events-lists {
  display: grid; grid-template-columns: 1.3fr 1fr .9fr; gap: 2.5rem 3.5rem;
  margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line-dark);
}
.events-lists h3 { margin-bottom: .9rem; color: #F4EFE2; }
.events-lists li { padding: .5rem 0; border-bottom: 1px solid var(--line-dark); color: var(--ivory-soft); }
.events-cta { align-self: end; }
.events-cta p { margin-bottom: 1.2rem; color: var(--ivory-soft); }

/* letters */
.letters { background: var(--ivory); padding: var(--section) 0; }
.letters-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem 5rem; align-items: start; }
.letter {
  background: var(--paper); padding: clamp(1.75rem, 4vw, 3.25rem);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 18px 40px -24px rgba(60, 40, 20, .35);
  transform: rotate(-.6deg);
}
.letter p { font-family: var(--display); font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.45; }
.letter p + p { margin-top: 1rem; }
.letter footer { margin-top: 1.75rem; font-size: var(--step--1); color: var(--ink-soft); }
.signature { display: block; font-family: var(--display); font-size: var(--step-2); color: var(--rose-ink); margin-bottom: .1rem; }
.notes { display: grid; gap: 2rem; padding-top: .5rem; }
.note { border-top: 2px solid var(--rose); padding-top: 1rem; }
.note p { font-size: var(--step-1); line-height: 1.45; }
.note footer { margin-top: .6rem; font-size: var(--step--1); color: var(--ink-soft); }

/* shop */
.shop { background: var(--paper); padding: var(--section) 0; }
.shop-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: 2.5rem; }
.shop-head p { color: var(--ink-soft); max-width: 44ch; }
.shop-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.shop-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.shop-row figcaption { margin-top: .55rem; font-size: var(--step--1); color: var(--ink-soft); }
.shop-bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem 4rem; margin-top: 3.5rem; align-items: start; }
.shop-list { columns: 2; column-gap: 2.5rem; }
.shop-list li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px solid var(--line-light); }
.order-card {
  position: relative; background: var(--black); color: var(--ivory);
  padding: 2rem 2rem 1.75rem; border: 3px solid var(--ivory);
  outline: 1px solid var(--black); outline-offset: 4px;
}
.order-card h3 { font-size: var(--step-2); margin-bottom: .6rem; color: #F4EFE2; }
.order-card p { color: var(--ivory-soft); margin-bottom: 1.4rem; }
.order-card .order-small { margin: 1rem 0 0; font-size: var(--step--1); }
.order-card .order-small a { color: var(--ivory); }

/* gardens */
.gardens { background: var(--garden); color: var(--ivory); padding: var(--section) 0; }
.gardens-grid {
  display: grid; gap: clamp(.75rem, 1.6vw, 1.25rem);
  grid-template-columns: 1.25fr .8fr .8fr;
  grid-template-areas: "copy g1 g3" "copy g2 g2";
}
.gardens-copy { grid-area: copy; padding-right: clamp(0rem, 3vw, 3rem); }
.gardens-copy h2 { color: #F4EFE2; margin-bottom: 1rem; }
.gardens-copy > p { color: var(--ivory-soft); max-width: 44ch; }
.gardens-copy ul { margin-top: 1.5rem; }
.gardens-copy li { padding: .5rem 0; border-bottom: 1px solid var(--line-dark); }
.gardens-cred { margin-top: 1.5rem; font-size: var(--step--1); color: var(--ivory-soft); }
.g img { width: 100%; height: 100%; object-fit: cover; }
.g1 { grid-area: g1; } .g2 { grid-area: g2; } .g3 { grid-area: g3; }
.g1 img, .g3 img { aspect-ratio: 4 / 5; }
.g2 img { aspect-ratio: 16 / 9; }

/* carmine */
.carmine { background: var(--paper); padding: var(--section) 0; border-top: 1px solid var(--line-light); }
.carmine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 5rem; align-items: center; }
.carmine-photo { border: 3px solid var(--black); outline: 1px solid var(--black); outline-offset: 5px; }
.carmine-photo img { width: 100%; aspect-ratio: 908 / 422; object-fit: cover; }
.carmine h2 { margin-bottom: 1.1rem; }
.carmine p { max-width: 50ch; color: var(--ink-soft); }
.carmine p + p { margin-top: 1rem; }

/* visit + plan form */
.visit { background: var(--black); color: var(--ivory); padding: var(--section) 0; }
.visit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem 5rem; align-items: start; }
.visit h2 { color: #F4EFE2; }
.visit dl { margin-top: 2rem; display: grid; grid-template-columns: auto 1fr; gap: .9rem 1.75rem; }
.visit dt { color: var(--ivory-soft); font-size: var(--step--1); padding-top: .2rem; }
.visit dd a { text-underline-offset: .3em; text-decoration-thickness: 1px; }
.visit dd a:hover { color: #fff; }
.visit .ph { background: rgba(232, 225, 206, .14); color: var(--ivory); }
.plan-form {
  background: var(--ivory); color: var(--ink);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid; gap: 1rem;
  scroll-margin-top: 1.5rem;
}
.plan-form h2 { color: var(--ink); font-size: var(--step-3); }
.plan-form > p { color: var(--ink-soft); margin-top: -.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plan-form label { display: grid; gap: .35rem; font-size: var(--step--1); font-weight: 600; }
.plan-form input, .plan-form select, .plan-form textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  padding: .75rem .85rem; min-height: 48px;
  background: #fff; border: 1px solid rgba(29, 27, 25, .28); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.plan-form input:focus, .plan-form select:focus, .plan-form textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(180, 35, 90, .2);
}
.plan-form textarea { resize: vertical; }
.plan-form .btn { justify-self: start; margin-top: .4rem; }
.plan-form .btn:focus-visible { outline-color: var(--rose); }

/* footer */
.site-footer { background: var(--black); color: var(--ivory-soft); padding: 3rem 0 2.5rem; border-top: 1px solid var(--line-dark); font-size: var(--step--1); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.footer-inner img { height: 36px; width: auto; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--ivory); text-decoration: underline; }
.credit { margin-left: auto; opacity: .7; }

/* tablet */
@media (max-width: 1000px) {
  .site-nav { display: none; }
  .header-phone { margin-left: auto; }
  .hero-corner { position: static; text-align: center; margin-top: 1.75rem; }
  .hero-corner--left { display: none; }
  .events-head, .shop-head { grid-template-columns: 1fr; }
  .events-lists { grid-template-columns: 1fr 1fr; }
  .events-cta { grid-column: 1 / -1; }
  .letters-grid, .shop-bottom, .carmine-grid, .visit-grid { grid-template-columns: 1fr; }
  .shop-row { grid-template-columns: repeat(2, 1fr); }
  .gardens-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "g1 g3" "g2 g2"; }
  .gardens-copy { padding-right: 0; margin-bottom: 1.5rem; }
}

/* phone */
@media (max-width: 600px) {
  .site-header { gap: 1rem; padding-block: .8rem; }
  .brand img { height: auto; width: min(54vw, 220px); }
  .header-phone { padding: .45rem .6rem; font-size: .85rem; }
  .hero { min-height: auto; padding-top: 1.5rem; }
  .arch { --w: min(76vw, 320px); height: calc(var(--w) * 1.35); min-height: 0; }
  .hero-copy { margin-top: -5rem; }
  .hero-actions { flex-direction: column; }
  .room-wall { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b b" "c d"; }
  .room:nth-child(1) img { aspect-ratio: 4 / 5; }
  .room:nth-child(2) img { aspect-ratio: 3 / 2; }
  .room:nth-child(3) img, .room:nth-child(4) img { aspect-ratio: 1; }
  .events-lists { grid-template-columns: 1fr; }
  .letter { transform: none; }
  .shop-list { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .plan-form .btn { justify-self: stretch; }
  .credit { margin-left: 0; }
}
