@font-face {
  font-family: "Italiana";
  src: url("assets/fonts/italiana-latin-400-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  font-display: swap;
  font-style: normal;
  font-weight: 200 800;
}

:root {
  --paper: #f2f0e7;
  --paper-bright: #fffdf7;
  --ink: #151713;
  --leaf: #0e573f;
  --leaf-deep: #07392b;
  --poppy: #d32f43;
  --poppy-dark: #ac1f34;
  --cornflower: #2f6f9f;
  --marigold: #f2cc31;
  --blush: #e8b7c9;
  --peach: #e99356;
  --line: rgba(21, 23, 19, 0.2);
  --focus: #174eaa;
  --font-display: "Italiana", "Baskerville", serif;
  --font-body: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --page-pad: clamp(20px, 4.2vw, 72px);
  --section-space: clamp(88px, 12vw, 180px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--leaf) var(--paper);
  scrollbar-width: thin;
}

body.home-page {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.16rem);
  font-weight: 390;
  line-height: 1.6;
}

body.home-page::selection {
  background: var(--marigold);
  color: var(--ink);
}

body.home-page::-webkit-scrollbar {
  width: 10px;
}

body.home-page::-webkit-scrollbar-track {
  background: var(--paper);
}

body.home-page::-webkit-scrollbar-thumb {
  background: var(--leaf);
  border: 2px solid var(--paper);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--paper-bright);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--focus);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.retro-only {
  display: none;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 11px 16px;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--paper-bright);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.home-container {
  width: 100%;
  margin: 0 auto;
  background: var(--paper);
}

.topbar {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  gap: clamp(18px, 3vw, 52px);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
}

.mini-mark {
  display: block;
  width: clamp(132px, 12vw, 178px);
  text-decoration: none;
}

.mini-mark img {
  width: 100%;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.language-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: clamp(14px, 2vw, 30px);
  border-right: 1px solid var(--line);
}

.language-bar a {
  min-width: 30px;
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
  color: rgba(21, 23, 19, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
  text-decoration: none;
}

.language-bar a:hover,
.language-bar a[aria-current="page"] {
  border-bottom-color: var(--poppy);
  color: var(--ink);
}

.site-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 40px);
}

.site-nav a {
  position: relative;
  padding: 25px 0 22px;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.theme-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 0 8px 15px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--leaf-deep);
  cursor: pointer;
  font: 650 0.73rem/1 var(--font-body);
  letter-spacing: 0.05em;
}

.theme-toggle svg {
  width: 26px;
  fill: var(--poppy);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle:hover svg {
  transform: rotate(72deg) scale(1.08);
}

.welcome-strip {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 7px var(--page-pad);
  background: var(--marigold);
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: calc(100svh - 114px);
  grid-template-columns: minmax(0, 0.93fr) minmax(500px, 1.07fr);
  border-bottom: 1px solid var(--ink);
}

.hero__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(56px, 7vw, 118px) var(--page-pad);
}

.hero__title {
  width: min(100%, 670px);
  margin: 0;
  color: var(--leaf-deep);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.9vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  text-wrap: balance;
}

.hero__editorial-title {
  display: block;
}

.hero__subtitle {
  margin: clamp(26px, 4vw, 56px) 0 8px;
  color: var(--leaf-deep);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 4.1rem);
  line-height: 1.05;
  text-wrap: balance;
}

.hero__date {
  width: min(72%, 420px);
  max-height: 84px;
  margin: clamp(26px, 4vw, 48px) 0 clamp(30px, 4vw, 50px);
  object-fit: contain;
  object-position: left center;
}

.hero__facts {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 34px;
  border-top: 1px solid var(--ink);
}

.hero__facts div {
  min-height: 92px;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
}

.hero__facts div:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.hero__facts div:nth-child(even) {
  padding-left: 24px;
}

.hero__facts dt {
  margin-bottom: 4px;
  color: var(--poppy-dark);
  font-size: 0.7rem;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 0;
  font-size: clamp(0.9rem, 0.25vw + 0.82rem, 1.06rem);
  line-height: 1.35;
}

.primary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 11px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.primary-action svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.primary-action:hover {
  background: var(--poppy);
  color: var(--paper-bright);
}

.hero__art {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: var(--poppy);
  isolation: isolate;
}

.hero__flower-photo {
  position: absolute;
  z-index: 1;
  top: -7%;
  right: -10%;
  width: 94%;
  height: 76%;
  object-fit: contain;
  object-position: right top;
  filter: drop-shadow(18px 24px 26px rgba(64, 5, 16, 0.18));
  animation: hero-bloom 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__blue-block {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: 39%;
  height: 49%;
  background: var(--cornflower);
}

.hero__portrait-frame {
  position: absolute;
  z-index: 3;
  bottom: clamp(30px, 4vw, 58px);
  left: clamp(24px, 4vw, 58px);
  width: min(72%, 560px);
  aspect-ratio: 458.53 / 496.46;
  padding: clamp(14px, 1.8vw, 26px) clamp(10px, 1.4vw, 20px) 0;
  overflow: hidden;
  background: #fff;
}

.hero__portrait {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  animation: portrait-rise 850ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-bloom {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}

@keyframes portrait-rise {
  from { transform: translateY(4%); }
  to { transform: translateY(0); }
}

.wedding-home section,
.contact-section {
  scroll-margin-top: 28px;
}

.event-section,
.madrid-section {
  padding: var(--section-space) var(--page-pad);
}

.section-heading {
  display: grid;
  max-width: 1360px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  margin: 0 auto clamp(48px, 7vw, 96px);
}

.section-title {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-wrap: balance;
}

.section-heading > p {
  max-width: 50ch;
  margin: 0 0 0.3em;
  font-size: 1.02rem;
}

.event-timeline {
  position: relative;
  display: grid;
  max-width: 1360px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 3vw, 52px);
  margin: 0 auto;
}

.event-block {
  position: relative;
  align-self: start;
  padding: clamp(26px, 4vw, 58px);
  background: var(--blush);
}

.event-block--wedding {
  margin-top: clamp(70px, 9vw, 130px);
  background: var(--marigold);
}

.event-block time {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-block time span {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.78;
}

.event-block h3 {
  margin: 38px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.event-block p {
  max-width: 56ch;
  margin: 12px 0;
}

.event-address {
  font-size: 1.08em;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.025em;
}

.text-link:hover {
  color: var(--leaf-deep);
}

.flower-sketch-divider {
  display: flex;
  min-height: clamp(150px, 18vw, 240px);
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 4vw, 58px) var(--page-pad);
  overflow: hidden;
  background: var(--paper);
}

.flower-sketch-divider img {
  width: min(100%, 1160px);
  height: auto;
  max-height: 190px;
  object-fit: contain;
}

.flower-sketch-divider + .practical-section {
  margin-top: clamp(24px, 4vw, 60px);
}

.flower-sketch,
.flower-sketch-divider {
  pointer-events: none;
  user-select: none;
}

.practical-section {
  margin-top: var(--section-space);
  padding: var(--section-space) var(--page-pad) clamp(70px, 9vw, 132px);
  background: var(--leaf-deep);
  color: var(--paper-bright);
}

.section-heading--light .section-title {
  color: var(--paper-bright);
}

.practical-list {
  display: grid;
  max-width: 1360px;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1px;
  margin: 0 auto;
  background: rgba(255, 253, 247, 0.3);
  border: 1px solid rgba(255, 253, 247, 0.3);
}

.practical-list article {
  padding: clamp(30px, 4.8vw, 72px);
  background: var(--leaf-deep);
}

.practical-list h3 {
  margin: 0 0 28px;
  color: var(--marigold);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.practical-list p {
  max-width: 62ch;
}

.plain-list {
  margin: 28px 0 34px;
  padding: 0;
  border-top: 1px solid rgba(255, 253, 247, 0.38);
  list-style: none;
}

.plain-list li {
  display: grid;
  grid-template-columns: minmax(80px, 0.28fr) 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 253, 247, 0.23);
}

.plain-list strong {
  color: var(--marigold);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-note {
  max-width: 1020px;
  margin: 44px auto 0;
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.82rem;
  text-align: center;
}

.dress-code {
  display: grid;
  grid-template-columns: minmax(320px, 0.66fr) minmax(0, 1.34fr);
  min-height: 880px;
  background: var(--paper-bright);
}

.dress-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-space) var(--page-pad);
}

.dress-copy .section-title {
  font-size: clamp(3.6rem, 6vw, 5.7rem);
}

.dress-code__name {
  margin: clamp(36px, 6vw, 78px) 0 18px;
  color: var(--poppy);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.1vw, 3.2rem);
  line-height: 1.05;
}

.dress-copy > p:last-of-type {
  max-width: 58ch;
  margin: 0;
}

.colour-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.colour-notes span {
  padding: 9px 13px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.04em;
}

.colour-notes span:nth-child(1) { background: var(--marigold); }
.colour-notes span:nth-child(2) { background: var(--blush); }
.colour-notes span:nth-child(3) { background: var(--cornflower); color: var(--paper-bright); }
.colour-notes span:nth-child(4) { background: var(--leaf); color: var(--paper-bright); }

.dress-gallery {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(38px, 5vw, 76px);
  overflow: hidden;
  background: var(--cornflower);
  isolation: isolate;
}

.dress-gallery::before,
.dress-gallery::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.dress-gallery::before {
  top: 0;
  left: 0;
  width: 31%;
  height: 42%;
  background: var(--poppy);
}

.dress-gallery::after {
  right: 0;
  bottom: 0;
  width: 26%;
  height: 34%;
  background: var(--marigold);
}

.dress-lookbook {
  position: relative;
  width: min(84%, 680px);
  margin: 0;
  overflow: hidden;
  border: 10px solid var(--paper-bright);
  background: var(--paper-bright);
}

.dress-lookbook img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dress-lookbook:hover img {
  transform: scale(1.02);
}

.dress-lookbook figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 680;
}

.madrid-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(210px, 24vw, 360px);
  background: var(--peach);
}

.madrid-section > :not(.flower-sketch) {
  position: relative;
  z-index: 1;
}

.madrid-route {
  display: grid;
  max-width: 1360px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
  counter-reset: madrid;
}

.madrid-stop {
  position: relative;
  min-height: 310px;
  padding: 28px clamp(18px, 2.4vw, 38px) 34px;
  border-right: 1px solid var(--ink);
  counter-increment: madrid;
}

.madrid-stop:last-child {
  border-right: 0;
}

.madrid-stop::before {
  display: block;
  margin-bottom: clamp(70px, 8vw, 116px);
  content: counter(madrid, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.madrid-stop h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.3vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
}

.madrid-stop p {
  margin: 0;
  font-size: 0.92rem;
}

.source-note--madrid {
  color: rgba(21, 23, 19, 0.76);
}

.source-note--madrid a {
  font-weight: 680;
}

.flower-sketch--sprig {
  position: absolute;
  z-index: 0;
  right: clamp(-190px, -10vw, -92px);
  bottom: clamp(-105px, -7vw, -62px);
  width: clamp(300px, 25vw, 430px);
  opacity: 0.58;
  transform: rotate(2deg);
  transform-origin: bottom right;
}

.flower-sketch--sprig img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
  padding: clamp(70px, 9vw, 132px) var(--page-pad);
  background: var(--cornflower);
  color: var(--paper-bright);
}

.contact-section h2 {
  max-width: 680px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  font-weight: 400;
  line-height: 0.96;
  text-wrap: balance;
}

.contact-section p {
  margin: 0;
}

.contact-section address {
  display: grid;
  border-top: 1px solid rgba(255, 253, 247, 0.6);
  font-style: normal;
}

.contact-section address a {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 253, 247, 0.6);
  text-decoration: none;
}

.contact-section address a:hover {
  color: var(--marigold);
}

.contact-section address span {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.footer {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--page-pad);
  background: var(--paper-bright);
  text-align: center;
}

.footer img {
  width: min(420px, 72vw);
  max-height: 100px;
  object-fit: contain;
}

.footer p {
  margin: 18px 0 0;
  color: var(--leaf-deep);
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto auto 1fr;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 1px;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    padding: 14px 0 13px;
  }

  .site-nav a::after {
    bottom: 9px;
  }

  .hero {
    min-height: 760px;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  }

  .hero__art {
    min-height: 760px;
  }

  .madrid-route {
    grid-template-columns: repeat(2, 1fr);
  }

  .madrid-stop:nth-child(2) {
    border-right: 0;
  }

  .madrid-stop:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }
}

@media (max-width: 780px) {
  :root {
    --page-pad: 20px;
    --section-space: 92px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-top: 8px;
  }

  .mini-mark {
    width: 156px;
  }

  .language-bar {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    gap: 6px;
    padding-right: 0;
    border-right: 0;
  }

  .language-bar a {
    min-width: 31px;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    padding-left: 10px;
  }

  .theme-toggle span {
    display: none;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 3;
    width: calc(100% + 40px);
    margin-left: -20px;
    padding: 0 20px;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 25px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .welcome-strip span:last-child {
    display: none;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero__copy {
    min-height: 650px;
    padding-top: 74px;
    padding-bottom: 68px;
  }

  .hero__subtitle {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .hero__date {
    width: min(86%, 390px);
  }

  .hero__art {
    min-height: 700px;
  }

  .hero__flower-photo {
    top: -5%;
    right: -8%;
    width: 90%;
    height: 72%;
  }

  .hero__portrait-frame {
    right: auto;
    bottom: 34px;
    left: 50%;
    width: min(74%, 460px);
    transform: translateX(-50%);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading > p {
    max-width: 62ch;
  }

  .event-timeline,
  .practical-list,
  .dress-code,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .event-block--wedding {
    margin-top: 0;
  }

  .practical-list {
    gap: 1px;
  }

  .dress-code {
    min-height: 0;
  }

  .dress-copy {
    padding-top: 110px;
    padding-bottom: 84px;
  }

  .dress-gallery {
    min-height: 0;
    padding: 48px 20px;
  }

  .dress-lookbook {
    width: min(82%, 610px);
  }

  .madrid-section {
    padding-bottom: 92px;
  }

  .flower-sketch--sprig {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(210px, 58vw);
    margin: 44px -20px -72px auto;
    opacity: 0.9;
  }

  .contact-section {
    gap: 50px;
  }
}

@media (max-width: 520px) {
  .flower-sketch-divider {
    min-height: 128px;
    padding: 22px 12px;
  }

  .flower-sketch-divider img {
    width: 128%;
    max-width: none;
  }

  .welcome-strip {
    font-size: 0.61rem;
  }

  .hero__copy {
    min-height: 610px;
  }

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

  .hero__facts div,
  .hero__facts div:nth-child(odd),
  .hero__facts div:nth-child(even) {
    min-height: 0;
    padding: 12px 0;
    border-right: 0;
  }

  .hero__art {
    min-height: 560px;
  }

  .hero__flower-photo {
    top: -1%;
    right: -18%;
    width: 108%;
    height: 67%;
  }

  .hero__portrait-frame {
    bottom: 26px;
    width: min(74%, 288px);
    padding: 12px 8px 0;
  }

  .section-title {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .event-block {
    padding: 28px 22px 34px;
  }

  .event-block time {
    align-items: flex-end;
  }

  .event-block time span {
    font-size: 4.6rem;
  }

  .plain-list li {
    grid-template-columns: 74px 1fr;
  }

  .dress-gallery {
    min-height: 0;
    padding: 34px 16px;
  }

  .dress-lookbook {
    width: 100%;
    border-width: 7px;
  }

  .madrid-route {
    grid-template-columns: 1fr;
  }

  .madrid-stop,
  .madrid-stop:nth-child(2),
  .madrid-stop:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .madrid-stop:last-child {
    border-bottom: 0;
  }

  .madrid-stop::before {
    margin-bottom: 54px;
  }

  .contact-section address a {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 14px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
