/*
 * Amelia Weddings · temporary placeholder site.
 * Colours from the design system v4 (amelia-weddings-website/docs/specs/amelia/design-direction.md §2).
 * Fonts: Forum and Manrope, self-hosted (SIL Open Font License, see fonts/), the same files the main
 * site ships until its licensed pairing is chosen. The logo is the one ameliaweddings.com uses.
 * One small script (booking.js); no third-party request until a visitor loads the Calendly calendar.
 */

@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/forum-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: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/forum-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+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-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+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-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+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #ffffff;
  --navy: #2c3e50;
  --navy-deep: #1f2d3b;
  --blush: #f4d9da;
  --mist: #f5f7f9;
  --slate: #5e6b78;
  --faden: #e2b4b8;
  --display: 'Forum', Georgia, 'Times New Roman', serif;
  --text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --width: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}

.skip:focus {
  top: 0.75rem;
}

/* The «site in the works» strip. */
.notice {
  background: var(--navy);
  color: var(--blush);
  font-size: 0.9375rem;
  text-align: center;
}

.notice p {
  margin: 0;
  padding: 0.75rem 0;
}

.notice a {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.notice a:focus-visible {
  outline-color: var(--blush);
}

.notice p::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-inline-end: 0.625rem;
  border-radius: 50%;
  background: var(--blush);
  vertical-align: 0.1em;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.25rem;
}

/* The round AW logo from ameliaweddings.com, with the name beside it. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-size: 1.5rem;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 48px;
  height: 48px;
}

.languages {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.languages a[aria-current='true'] {
  background: var(--blush);
  color: var(--navy);
}

.hero {
  padding-block: 3.5rem 4rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 9vw, 5.5rem);
}

h1 span {
  display: block;
  color: var(--slate);
}

/* The thread: the design's one motif, a 1.5 px line in the Faden colour. */
.thread {
  width: min(22rem, 70%);
  height: 1.5px;
  margin: 2rem 0;
  border: 0;
  background: var(--faden);
}

.lead {
  max-width: 38rem;
  margin: 0 0 2rem;
  font-size: 1.1875rem;
}

.about {
  padding-block: 0 4rem;
}

.about p {
  max-width: 40rem;
  margin: 1.25rem 0 0;
}

.services {
  padding-block: 4rem;
  background: var(--mist);
}

h2 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.services ul {
  display: grid;
  gap: 2.25rem 3rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.services h3 {
  margin: 0 0 0.375rem;
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.2;
}

.services p {
  max-width: 30rem;
  margin: 0;
  color: var(--slate);
}

.services .more {
  max-width: 40rem;
  margin-top: 2.5rem;
  color: var(--navy);
}

.contact {
  padding-block: 4rem;
}

.contact p {
  max-width: 34rem;
  margin: 1rem 0 1.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.pill:hover {
  background: var(--navy-deep);
}

/* Contact channels: a label over each link. */
.channels {
  display: grid;
  gap: 1.25rem 2.5rem;
  margin: 0 0 2.5rem;
}

.channels div {
  display: grid;
  gap: 0.125rem;
}

.channels dt {
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.channels dd {
  margin: 0;
}

.channels a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.1875rem;
  overflow-wrap: anywhere;
}

.foot {
  padding-block: 2rem 2.5rem;
  border-top: 1.5px solid var(--faden);
  color: var(--slate);
  font-size: 0.875rem;
}

.foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.foot li {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
}

.foot p {
  margin: 0;
}

/* Imprint and privacy notice. */
.legal {
  padding-block: 2.5rem 4rem;
}

.legal > * {
  max-width: 44rem;
}

.legal h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
}

.legal h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.5rem;
}

.legal p {
  margin: 0 0 1rem;
}

.legal .stand {
  margin-top: 2.5rem;
  color: var(--slate);
  font-size: 0.875rem;
}

@media (min-width: 48rem) {
  :root {
    --gutter: 32px;
  }

  .hero {
    padding-block: 6rem 6.5rem;
  }

  .about {
    padding-block: 0 6rem;
  }

  .services,
  .contact {
    padding-block: 6rem;
  }

  .channels {
    grid-template-columns: repeat(3, minmax(0, max-content));
  }

  .services ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Calendly booking: a two-click embed (booking.js). The calendar loads only after the button. */
.booking {
  padding-block: 0 4rem;
}

.booking > p {
  max-width: 34rem;
  margin: 1rem 0 1.75rem;
}

.calendar {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  max-width: 44rem;
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--blush);
}

.calendar .consent {
  margin: 0;
  font-size: 0.9375rem;
}

.calendar button {
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.calendar button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.calendar .open {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.calendar.loaded {
  display: block;
  max-width: none;
  padding: 0;
  overflow: hidden;
  background: var(--mist);
}

.calendar iframe {
  display: block;
  width: 100%;
  height: 1060px;
  border: 0;
}

@media (min-width: 48rem) {
  .booking {
    padding-block: 0 6rem;
  }

  .calendar iframe {
    height: 720px;
  }
}

/* Art. 21 (4) DSGVO: the objection notice stands apart from the other information. */
.legal .objection {
  margin: 2.25rem 0;
  padding: 0.25rem 1.5rem 1rem;
  border-left: 3px solid var(--faden);
  background: var(--mist);
}

.legal .objection h2 {
  margin-top: 1.25rem;
}
