/* Шрифты хранятся на сервере (fontsource, лицензия OFL), внешние CDN не используются */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-cyrillic-400-italic.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lora-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/lora-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lora-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/lora-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Свадебное приглашение. Токены — из дизайн-системы Classical, шрифты и скрипты локально, без внешних CDN. */

:root {
  --color-surface: #eae9e9;
  --color-divider: color-mix(in srgb, #201f1d 16%, transparent);
  --color-accent: #b68235;
  --color-accent-focus: #b68235;

  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;

  --radius-md: 4px;

  --ink: #20303c;
  --navy: #1c3d57;
  --blue: #4f7ea3;
  --gold: #8a6a12;
  --gold-soft: #b8901c;
  --green: #5c7a4a;
  --paper: #fbfaf6;
  --sky: #eaf3fa;
  --line: rgba(28, 61, 87, .2);
  --pad-x: clamp(20px, 6vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); }

a { color: #1f4e73; text-decoration: none; border-bottom: 1px solid rgba(31, 78, 115, .35); }
a:hover { color: var(--gold); border-bottom-color: rgba(138, 106, 18, .5); }
:focus-visible { outline: 2px solid var(--color-accent-focus); outline-offset: 2px; }
::selection { background: rgba(182, 130, 53, .25); }

.plate {
  filter: sepia(.22) saturate(.82) contrast(1.05);
  border: 6px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.section { padding: clamp(40px, 7vw, 90px) var(--pad-x); }
.section--tall { padding-top: clamp(48px, 8vw, 100px); padding-bottom: clamp(48px, 8vw, 100px); }
.wrap { max-width: 1080px; margin: 0 auto; }

.kicker {
  font-size: clamp(11px, 1.5vw, 12px);
  letter-spacing: .34em;
  text-transform: uppercase;
  font-feature-settings: 'tnum';
}

.lemon { display: block; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 9vw, 110px) var(--pad-x) clamp(40px, 7vw, 80px);
  background: linear-gradient(180deg, #e8f3fb 0%, #d6e9f6 55%, #eaf3f8 100%);
  text-align: center;
  overflow: hidden;
}
.hero .lemon { position: absolute; opacity: .9; animation: drift 9s ease-in-out infinite; }
.hero .lemon--a { left: 3%; top: 10%; width: 156px; height: 130px; }
.hero .lemon--b { right: 5%; top: 22%; width: 116px; height: 97px; opacity: .85; transform: scaleX(-1); animation-duration: 11s; }
.hero__kicker {
  margin: 0 0 clamp(18px, 3vw, 30px);
  font-size: clamp(11px, 1.6vw, 13px);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--blue);
  font-feature-settings: 'tnum';
}
.hero__names {
  font-weight: 400;
  font-size: clamp(46px, 11vw, 132px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--navy);
  position: relative;
}
.hero__names .and {
  font-style: italic;
  font-size: .52em;
  color: var(--gold-soft);
  display: inline-block;
  padding: clamp(6px, 1.4vw, 16px) 0;
}
.hero__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 26px);
  margin: clamp(24px, 4vw, 44px) auto 0;
  max-width: 520px;
}
.hero__date .rule { flex: 1; height: 1px; background: rgba(28, 61, 87, .25); }
.hero__date .value {
  font-family: var(--font-heading);
  font-size: clamp(20px, 4.4vw, 34px);
  letter-spacing: .14em;
  color: var(--navy);
  font-feature-settings: 'tnum';
  white-space: nowrap;
}
.hero__place {
  margin-top: clamp(12px, 2vw, 18px);
  font-size: clamp(13px, 2.2vw, 16px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
}

/* Intro with photo */
.intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.intro .kicker { margin-bottom: clamp(14px, 2vw, 22px); color: var(--gold); }
.intro__lead {
  margin-bottom: clamp(16px, 2vw, 24px);
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.22;
  color: var(--navy);
}
.intro__text {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
  color: #3a4c58;
  text-wrap: pretty;
}
.dots { display: flex; gap: 10px; margin-top: clamp(20px, 3vw, 30px); }
.dots span { width: 26px; height: 26px; border-radius: 50%; }
.dots span:nth-child(1) { background: #f4cf3e; }
.dots span:nth-child(2) { background: #a9cde6; }
.dots span:nth-child(3) { background: #7d9b57; }

/* Info cards */
.info { background: var(--sky); border-top: 1px solid rgba(28, 61, 87, .14); border-bottom: 1px solid rgba(28, 61, 87, .14); }
.info__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(24px, 4vw, 40px); text-align: center; }
.info-card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, .55); }
.info-card .label { margin-bottom: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); }
.info-card .value { font-family: var(--font-heading); font-size: clamp(26px, 3.4vw, 34px); color: var(--navy); font-feature-settings: 'tnum'; line-height: 1.12; }
.info-card .note { margin-top: 6px; font-size: 14px; color: var(--green); }
.countdown { max-width: 1080px; margin: clamp(26px, 4vw, 40px) auto 0; text-align: center; font-size: clamp(13px, 1.8vw, 15px); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-feature-settings: 'tnum'; }
.countdown:empty { display: none; }

/* Schedule */
.schedule { max-width: 880px; margin: 0 auto; }
.heading { text-align: center; }
.heading .lemon { margin: 0 auto 14px; }
.heading h2 { font-weight: 400; font-size: clamp(32px, 6vw, 58px); color: var(--navy); line-height: 1.12; letter-spacing: -.015em; }
.heading p { margin-top: 10px; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--green); }
.schedule .heading { margin-bottom: clamp(30px, 5vw, 56px); }
.timeline { display: grid; grid-template-columns: minmax(92px, 150px) 1fr; column-gap: clamp(14px, 3vw, 30px); }
.timeline .time { font-family: var(--font-heading); font-size: clamp(19px, 2.6vw, 26px); color: var(--gold); font-feature-settings: 'tnum'; padding-top: 2px; }
.timeline .time i { font-style: normal; color: #c3ab6a; }
.timeline .event { border-left: 1px solid var(--line); padding: 0 0 clamp(24px, 3.4vw, 38px) clamp(16px, 3vw, 26px); position: relative; }
.timeline .event:last-child { padding-bottom: 4px; }
.timeline .event::before {
  content: "";
  position: absolute; left: -7px; top: 7px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #7d9b57; border: 1px solid var(--green);
}
.timeline .event--party::before { left: -5.5px; top: 9px; width: 10px; height: 10px; background: #f4cf3e; border-color: #d9a81a; }
.timeline .event h3 { margin-bottom: 4px; font-weight: 600; font-size: clamp(20px, 2.6vw, 25px); color: var(--navy); line-height: 1.12; }
.timeline .event p { font-size: 15px; line-height: 1.6; color: #4d5f6b; }

/* Second photo */
.photo-solo { display: flex; justify-content: center; padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(36px, 6vw, 80px); }
.photo-solo figure { margin: 0; max-width: min(100%, 520px); }

/* Vendors */
.team { background: var(--sky); border-top: 1px solid rgba(28, 61, 87, .14); }
.team .heading { margin-bottom: clamp(28px, 4vw, 48px); }
.team .heading h2 { font-size: clamp(30px, 5vw, 50px); }
.team .heading p { letter-spacing: .22em; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.team-card { padding: clamp(18px, 2.6vw, 26px); border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, .6); }
.team-card .label { margin-bottom: 10px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--blue); }
.team-card h3 { margin-bottom: 8px; font-weight: 600; font-size: clamp(22px, 2.6vw, 27px); color: var(--navy); line-height: 1.12; }
.team-card .hours { font-family: var(--font-heading); font-size: 20px; color: var(--gold); font-feature-settings: 'tnum'; }

/* Finale */
.finale { background: linear-gradient(180deg, #eaf3f8 0%, #dcecf7 100%); text-align: center; }
.finale .lemon { margin: 0 auto clamp(18px, 2.6vw, 26px); }
.finale__quote { margin: 0 auto; max-width: 640px; font-family: var(--font-heading); font-size: clamp(24px, 4vw, 40px); line-height: 1.3; color: var(--navy); font-style: italic; }
.finale__meta { margin-top: clamp(18px, 2.6vw, 26px); font-size: clamp(14px, 2vw, 16px); color: #4d5f6b; }
.finale__site { margin-top: clamp(26px, 4vw, 40px); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--blue); }

/* Узкие экраны: лимоны меньше и уходят в углы, чтобы не перекрывать имена */
@media (max-width: 600px) {
  .hero { padding-top: 96px; padding-bottom: 88px; }
  .hero .lemon--a { width: 72px; height: 60px; left: 16px; top: 14px; }
  .hero .lemon--b { width: 56px; height: 47px; right: 16px; top: auto; bottom: 14px; }
}

@media print { body { background: #fff; } }
@media (prefers-reduced-motion: reduce) { .hero .lemon { animation: none; } }
