/* =========================================
   Floral Wedding Website Draft (Single Page)
   Reference: invitation-style floral border
   ========================================= */

:root{
  /* Palette inspired by soft florals (edit freely) */
  --paper: rgba(255, 255, 255, 0.84);
  --paper-solid: #fbfbfc;
  --ink: #1f1a1c;
  --muted: rgba(31, 26, 28, 0.66);

  --lavender: #7b6de3;
  --lavender-soft: rgba(123, 109, 227, 0.20);
  --sage: #6da68b;
  --blush: #f2c7c2;
  --line: rgba(31, 26, 28, 0.14);

  --danger: #8a2d3b;
  --danger-soft: rgba(138, 45, 59, 0.12);
  --success: #2f7a5b;
  --success-soft: rgba(47, 122, 91, 0.12);

  --shadow: 0 28px 70px rgba(16, 10, 18, 0.20);
  --radius: 22px;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --script: "Great Vibes", "Apple Chancery", "Brush Script MT", cursive;

  --max: 1100px;
  --header-offset: 108px;
}

*{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 18px);
  -webkit-text-size-adjust: 100%;
}
body{
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  background: #f7f3f6;
  overflow-x: hidden;
  min-width: 320px;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

/* Skip link */
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 9999;
  padding: 10px 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus{ left: 12px; }

/* Soft background wash + grain */
.page-bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.page-bg__wash{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 700px at 12% 10%, rgba(242, 199, 194, 0.55), transparent 60%),
    radial-gradient(900px 700px at 90% 15%, rgba(123, 109, 227, 0.16), transparent 60%),
    radial-gradient(900px 700px at 80% 90%, rgba(109, 166, 139, 0.20), transparent 55%),
    linear-gradient(135deg, #fff, #fbf9fc 40%, #f8fbfb);
}
.page-bg__vignette{
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(0,0,0,0), rgba(0,0,0,0.08));
}
.page-bg__grain{
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

/* Layout */
.container{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 18px;
}

/* Top bar */
.top{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 26, 28, 0.08);
}
.top__inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 0;
}
.monogram{
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 26, 28, 0.12);
  background: rgba(255,255,255,0.65);
  box-shadow: 0 14px 30px rgba(16, 10, 18, 0.08);
}

.nav{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav__link{
  text-decoration: none;
  color: rgba(31, 26, 28, 0.78);
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.nav__link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.70);
  border-color: rgba(31, 26, 28, 0.10);
}
.nav__link:focus-visible{
  outline: 2px solid rgba(123, 109, 227, 0.35);
  outline-offset: 2px;
}

/* Paper / invitation */
.paper{
  position: relative;
  margin: clamp(20px, 2.8vw, 32px) auto 60px;
  background: var(--paper);
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 28, 0.10);
  overflow: hidden;
  isolation: isolate;
}

.paper::before{
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(31, 26, 28, 0.11);
  pointer-events: none;
}

.paper::after{
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(242, 199, 194, 0.65);
  pointer-events: none;
  opacity: 0.65;
}

/* Decorative corners */
/* Corner decorations */
.corner{
  position: absolute;
  width: clamp(195px, 22vw, 330px);
  height: auto;
  opacity: 0.62;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 16px 20px rgba(16, 10, 18, 0.06));
  z-index: 1;
}
.corner img{
  display: block;
  width: 100%;
  height: auto;
}
.corner--tl{
  top: -148px;
  left: -136px;
}
.corner--tr{
  top: -148px;
  right: -136px;
  transform: scaleX(-1);
}
.corner--bl{
  bottom: -118px;
  left: -122px;
  transform: scaleY(-1);
}
.corner--br{
  bottom: -118px;
  right: -122px;
  transform: scale(-1);
}

/* Motifs (background artwork) */
.motif{
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.08;
  filter: saturate(0.9) contrast(1.05);
  mix-blend-mode: multiply;
  z-index: 0;
}
.motif img{ width: 100%; height: auto; display: block; }

.motif--whale{
  right: 14px;
  bottom: -18px;
  width: 660px;
  transform: rotate(-3deg);
  opacity: 0.065;
}

.motif--kite{
  left: 40px;
  top: 140px;
  width: 560px;
  transform: rotate(-8deg);
  opacity: 0.045;
}
.motif--penguin{
  left: 14px;
  bottom: -44px;
  width: 340px;
  transform: rotate(4deg) scaleX(-1);
  opacity: 0.06;
}
.motif--squirrel{
  right: 20px;
  top: 104px;
  width: 265px;
  transform: rotate(5deg);
  opacity: 0.048;
}
.motif--hedgehog{
  left: 20px;
  bottom: 16px;
  width: 300px;
  transform: rotate(-4deg);
  opacity: 0.046;
}

/* Ensure decorative layers stay behind content */
.hero > *:not(.motif),
.section > *:not(.motif){
  position: relative;
  z-index: 2;
}

/* Hero */
.hero{
  position: relative;
  padding: clamp(88px, 9vw, 116px) clamp(22px, 4vw, 38px) 26px;
  text-align: center;
}
.overline{
  margin: 0;
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: rgba(31, 26, 28, 0.62);
}

.names{
  margin: 16px 0 10px;
  line-height: 1.14;
  padding-top: 0.12em;
  overflow: visible;
}
.names__primary{
  display: inline-block;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(54px, 6.6vw, 92px);
  letter-spacing: 0.3px;
}
.names__amp{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 0 10px;
  color: rgba(31, 26, 28, 0.62);
  position: relative;
  top: -10px;
  display: inline-block;
}


.hero-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 10px;
}
.hero-card{
  border-radius: 18px;
  border: 1px solid rgba(31, 26, 28, 0.10);
  background: rgba(255,255,255,0.60);
  padding: 14px 14px;
}
.hero-card__label{
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: rgba(31, 26, 28, 0.55);
}
.hero-card__value{
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: oldstyle-nums;
}

.hero-actions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.note{
  margin: 14px auto 0;
  max-width: 70ch;
  color: rgba(31, 26, 28, 0.66);
  font-size: 14px;
}

/* Sections */
.section{
  position: relative;
  padding: 32px 38px 14px;
  scroll-margin-top: calc(var(--header-offset) + 18px);
}
.section__head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 0;
}
.section__head--stack{
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
}
.section__title{
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.2px;
}
.section__subtitle{
  margin: 0;
  color: rgba(31, 26, 28, 0.60);
  max-width: 72ch;
  font-size: 14px;
}


/* Section ornament divider */
.ornament{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(560px, 100%);
  margin: 14px auto 8px;
}
.ornament__line{
  flex: 1;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(to right, transparent, rgba(123, 109, 227, 0.50));
  opacity: 0.75;
}
.ornament__line:last-child{
  background: linear-gradient(to left, transparent, rgba(123, 109, 227, 0.50));
}
.ornament__icon{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ornament__icon img{
  display: block;
  width: 38px;
  height: auto;
  opacity: 0.9;
  filter: saturate(0.9) contrast(1.08);
}
.ornament--hero{
  margin: 18px auto 18px;
}
.ornament--section{
  margin: 0 auto 14px;
}
.ornament--hero .ornament__icon img{
  width: 46px;
}

/* Grids & cards */
.grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.card{
  border-radius: 18px;
  border: 1px solid rgba(31, 26, 28, 0.10);
  background: rgba(255,255,255,0.62);
  padding: 16px;
}

.card--soft{
  background: rgba(255,255,255,0.56);
}

.card--full{
  grid-column: 1 / -1;
}
.card--map .map{
  height: 280px;
}

.card__title{
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.1px;
}
.card__text{
  margin: 0 0 10px;
}
.card__text:last-child{ margin-bottom: 0; }

.muted{ color: var(--muted); }

/* Mini info table */
.mini{
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(31, 26, 28, 0.16);
  display: grid;
  gap: 8px;
}
.mini__row{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}
.mini__label{
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: rgba(31, 26, 28, 0.60);
}
.mini__value{
  color: rgba(31, 26, 28, 0.78);
}

/* Tags */
.tags{ display: flex; gap: 8px; flex-wrap: wrap; }
.tag{
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(242, 199, 194, 0.32);
  border: 1px solid rgba(242, 199, 194, 0.55);
  color: rgba(31, 26, 28, 0.78);
  font-weight: 600;
  font-size: 13px;
}

/* Callout */
.callout{
  margin-top: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(31, 26, 28, 0.16);
  background: rgba(255,255,255,0.55);
  padding: 12px;
}
.callout__title{
  font-family: var(--serif);
  font-weight: 700;
  margin-bottom: 6px;
}
.callout__text{
  font-size: 14px;
  color: rgba(31, 26, 28, 0.65);
}

/* Schedule */
.schedule-days{
  display: grid;
  gap: 18px;
  margin-top: 12px;
}
.day{
  padding-top: 2px;
}
.day__title{
  margin: 6px 0 6px;
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.day__title::after{
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(to right, transparent, rgba(123, 109, 227, 0.40), transparent);
  opacity: 0.85;
}

/* Timeline */
.timeline{
  margin-top: 12px;
  padding: 10px 12px 6px;
  border-radius: 18px;
  border: 1px solid rgba(31, 26, 28, 0.10);
  background: rgba(255,255,255,0.56);
}

.timeline__item{
  display: grid;
  grid-template-columns: 18px 122px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 12px;
  position: relative;

  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(31, 26, 28, 0.08);
}
.timeline__item:nth-child(odd){
  background: rgba(123, 109, 227, 0.08);
}

.timeline__item:not(:last-child)::after{
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: -12px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(123, 109, 227, 0.35), rgba(242, 199, 194, 0.35));
}

.timeline__dot{
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(123, 109, 227, 0.55);
  box-shadow: 0 10px 18px rgba(16, 10, 18, 0.08);
}

.timeline__time{
  font-family: var(--serif);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-variant-numeric: oldstyle-nums;
  color: rgba(31, 26, 28, 0.78);
}

.timeline__title{
  font-family: var(--serif);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.1px;
}
.timeline__text{
  margin-top: 2px;
  font-size: 13.5px;
}

.timeline__badge{
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-left: 8px;
  background: rgba(123, 109, 227, 0.12);
  border: 1px solid rgba(123, 109, 227, 0.18);
  color: rgba(31, 26, 28, 0.72);
  vertical-align: middle;
}

.timeline__item{
  border-radius: 16px;
}

.timeline__item--key{
  background: linear-gradient(90deg, rgba(242, 199, 194, 0.22), rgba(123, 109, 227, 0.10));
  border: 1px solid rgba(31, 26, 28, 0.07);
}

.timeline__item--key .timeline__dot{
  border-color: rgba(123, 109, 227, 0.75);
}

/* Split layout for RSVP */
.split{
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 14px;
  align-items: start;
  margin-top: 12px;
}
.split--single{
  grid-template-columns: 1fr;
}

/* Form */
.form__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field{ margin-bottom: 12px; }
.form__conditional{
  grid-column: 1 / -1;
}
.form__conditional[hidden]{
  display: none !important;
}
.field__label{
  display: inline-block;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.req{ color: rgba(31, 26, 28, 0.65); }

.field__label-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.field__label-row .field__label{ margin-bottom: 0; }

.icon-btn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(31, 26, 28, 0.14);
  background: rgba(255,255,255,0.70);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--lavender);
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(16, 10, 18, 0.06);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.icon-btn:hover{
  transform: translateY(-1px);
  background: rgba(123, 109, 227, 0.10);
  border-color: rgba(123, 109, 227, 0.26);
}
.icon-btn:active{ transform: translateY(0px); }
.icon-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(123, 109, 227, 0.16), 0 10px 18px rgba(16, 10, 18, 0.06);
}

.icon-btn--remove{
  color: rgba(138, 45, 59, 0.85);
}
.icon-btn--remove:hover{
  background: rgba(138, 45, 59, 0.08);
  border-color: rgba(138, 45, 59, 0.25);
}

.guest-list{
  display: grid;
  gap: 10px;
}
.guest{
  display: flex;
  gap: 10px;
  align-items: center;
}
.guest .field__input{ margin: 0; }


/* Honeypot field for Netlify spam protection */
.hp-field{
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}


.field__input,
.field__textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(31, 26, 28, 0.14);
  background: rgba(255,255,255,0.78);
  color: rgba(31, 26, 28, 0.92);
  padding: 11px 12px;
  font-size: 15px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.field__input::placeholder,
.field__textarea::placeholder{ color: rgba(31, 26, 28, 0.45); }

.field__input:focus,
.field__textarea:focus{
  border-color: rgba(123, 109, 227, 0.45);
  box-shadow: 0 0 0 3px rgba(123, 109, 227, 0.14);
}

.field__hint{
  margin-top: 7px;
  font-size: 12.5px;
  color: rgba(31, 26, 28, 0.56);
}

.field__error{
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--danger);
}
.field__error:empty{ display: none; }

.field__input[aria-invalid="true"],
.field__textarea[aria-invalid="true"]{
  border-color: rgba(138, 45, 59, 0.55);
  box-shadow: 0 0 0 3px var(--danger-soft);
}

.fieldset{
  border-radius: 16px;
  border: 1px solid rgba(31, 26, 28, 0.12);
  background: rgba(255,255,255,0.60);
  padding: 12px;
  margin: 12px 0;
}
.fieldset__legend{
  padding: 0 8px;
  font-family: var(--serif);
  font-weight: 700;
}
.fieldset__sub{
  margin: 6px 0 10px;
  color: rgba(31, 26, 28, 0.60);
  font-size: 13px;
}

.choices{
  display: grid;
  gap: 10px;
}
.choices--grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(31, 26, 28, 0.12);
  background: rgba(255,255,255,0.70);
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.choice:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(16, 10, 18, 0.06);
  border-color: rgba(31, 26, 28, 0.16);
}
.choice input{
  width: 18px;
  height: 18px;
  accent-color: rgba(123, 109, 227, 0.85);
}
.choice span{ font-weight: 600; color: rgba(31, 26, 28, 0.80); }

.form__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.form__status{
  margin-top: 12px;
  min-height: 22px;
  color: rgba(31, 26, 28, 0.78);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(31, 26, 28, 0.16);
  background: rgba(255,255,255,0.62);
}
.form__status:empty{
  padding: 0;
  border: 0;
  background: transparent;
}


.form__status[data-state="success"]{
  color: rgba(47, 122, 91, 0.96);
  border-color: rgba(47, 122, 91, 0.24);
  background: rgba(47, 122, 91, 0.08);
}

.form__status[data-state="error"]{
  color: rgba(138, 45, 59, 0.96);
  border-color: rgba(138, 45, 59, 0.22);
  background: rgba(138, 45, 59, 0.08);
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 14px;
  text-decoration: none;
  border: 1px solid rgba(31, 26, 28, 0.14);
  background: rgba(255,255,255,0.70);
  color: rgba(31, 26, 28, 0.86);
  cursor: pointer;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 18px rgba(16, 10, 18, 0.08);
  background: rgba(255,255,255,0.82);
}
.btn:focus-visible{
  outline: 2px solid rgba(123, 109, 227, 0.28);
  outline-offset: 2px;
}
.btn--primary{
  background: rgba(123, 109, 227, 0.92);
  border-color: rgba(123, 109, 227, 0.55);
  color: white;
}
.btn--primary:hover{
  background: rgba(123, 109, 227, 0.98);
}
.btn--ghost{
  background: rgba(242, 199, 194, 0.36);
  border-color: rgba(242, 199, 194, 0.55);
}


/* Small action row (maps / calendar) */
.actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.map{
  margin: 12px 0 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(31, 26, 28, 0.10);
  background: rgba(123, 109, 227, 0.06);
  height: 190px;
}
.map iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Smaller button variant */
.btn--small{
  padding: 9px 12px;
  font-size: 13px;
}

/* Saved / success button state */
.btn--saved{
  background: rgba(47, 122, 91, 0.92);
  border-color: rgba(47, 122, 91, 0.55);
  color: #fff;
}
.btn--saved:hover{ background: rgba(47, 122, 91, 0.98); }

.btn[disabled]{
  opacity: 0.78;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 700px){
  .card--map .map{ height: 240px; }
}

/* FAQ */
.faq{
  border-radius: 14px;
  border: 1px solid rgba(31, 26, 28, 0.10);
  background: rgba(255,255,255,0.62);
  padding: 10px 12px;
  margin-bottom: 10px;
}
.faq__q{
  cursor: pointer;
  font-weight: 800;
  font-family: var(--serif);
}
.faq__a{
  margin-top: 8px;
}

/* Footer */
.foot{
  padding: 18px 38px 34px;
}
.foot__inner{
  border-top: 1px solid rgba(31, 26, 28, 0.10);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.foot__title{
  font-family: var(--serif);
  font-weight: 800;
  font-size: 16px;
}
.foot__sub{
  font-size: 13px;
}
.foot__right{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.badge{
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(123, 109, 227, 0.10);
  border: 1px solid rgba(123, 109, 227, 0.16);
  color: rgba(31, 26, 28, 0.76);
  font-weight: 700;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .nav{ gap: 16px; }
  .paper{ padding: 54px 22px 30px; }
  .hero{ padding-top: 84px; }

  .hero-cards{ grid-template-columns: 1fr; }

  .grid{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }

  .form__grid{ grid-template-columns: 1fr; }

  /* On tablets/phones the corner florals need to shrink and sit further out,
     otherwise the tall artwork drops into the hero area. */
  .corner{ width: 220px; opacity: 0.54; }
  .corner--tl{ top: -146px; left: -88px; }
  .corner--tr{ top: -146px; right: -88px; transform: scaleX(-1); }
  .corner--bl{ bottom: -94px; left: -86px; transform: scaleY(-1); }
  .corner--br{ bottom: -94px; right: -86px; transform: scale(-1); }

  .motif--squirrel{ width: 220px; right: 8px; top: 118px; opacity: 0.042; }
  .motif--hedgehog{ width: 240px; left: 6px; bottom: 4px; opacity: 0.042; }

  .timeline__item{ grid-template-columns: 18px 110px 1fr; }

  .motif--whale{ width: 560px; right: 0; bottom: -12px; }
  .motif--penguin{ width: 280px; left: 0; bottom: -38px; }
}

@media (max-width: 480px){
  .hero{ padding-top: 76px; }
  .names{ line-height: 1.1; padding-top: 0.08em; }
  .names__primary{ font-size: 70px; }
  .names__amp{ top: 4px; }

  /* Stronger mobile scaling for the florals so they behave like true corner accents. */
  .corner{ width: 190px; opacity: 0.50; }
  .corner--tl{ top: -152px; left: -92px; }
  .corner--tr{ top: -152px; right: -92px; transform: scaleX(-1); }
  .corner--bl{ bottom: -88px; left: -82px; transform: scaleY(-1); }
  .corner--br{ bottom: -88px; right: -82px; transform: scale(-1); }

  .motif--squirrel{ width: 180px; right: -8px; top: 140px; opacity: 0.036; }
  .motif--hedgehog{ width: 185px; left: -6px; bottom: -6px; opacity: 0.038; }

  .motif--whale{ width: 460px; right: 0; bottom: -6px; opacity: 0.06; }
  .motif--penguin{ width: 250px; left: 0; bottom: -34px; opacity: 0.065; }

  .timeline__item{ grid-template-columns: 18px 92px 1fr; }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

