/* =====================================================================
   Meet Greek Singles — guest homepage (prototype, mobile-first)
   Everything is prefixed "mgs-" so it can sit on top of Chameleon's
   Impact CSS without clashing when it's ported into the template.
   Colours sampled from Irene's mockup (Reference/image (5).png).
   ===================================================================== */

:root {
  --mgs-navy-900: #001a3a;   /* footer */
  --mgs-navy-800: #002954;   /* final CTA band (mockup) */
  --mgs-blue-700: #013874;   /* royal-blue buttons (mockup) */
  --mgs-blue-600: #0a4a92;   /* button hover */
  --mgs-heading:  #083068;   /* serif headings on light (mockup) */
  --mgs-gold-300: #f3c054;   /* gold button fill (mockup) */
  --mgs-gold-400: #e3b559;   /* gold on dark: tagline, borders (mockup) */
  --mgs-gold-500: #d4a548;   /* lines / icon strokes on light */
  --mgs-gold-text:#8f6420;   /* small gold TEXT on cream: 4.8:1 (mockup's #c08e3d is only 2.8:1) */
  --mgs-cream-100:#f8f3ea;   /* page background (mockup) */
  --mgs-cream-50: #fefcf8;   /* cards (mockup) */
  --mgs-ink:      #26303f;   /* body text */
  --mgs-ink-soft: #4a5566;
  --mgs-white:    #ffffff;

  --mgs-serif: "Source Serif 4", Georgia, "Times New Roman", serif;       /* has Greek; sturdy hairlines, like the mockup */
  --mgs-sans:  "Manrope", "Segoe UI", Roboto, Arial, sans-serif;         /* has Greek */

  --mgs-radius: 16px;
  --mgs-shadow: 0 12px 32px rgba(8, 48, 104, .08);
  --mgs-container: 1440px;   /* header bar and page content share this width, so the logo and the texts line up */
  /* Wide screens: the header bar and the homepage hero use a wider frame, so the hero text sits further left, away from
     the couple, and the logo stays in line with it (Irene, 2026-10-11). The text of "From Greece to the World" follows,
     in line with the hero text; its photograph stays where it was. The other sections keep --mgs-container. */
  --mgs-container-wide: 1640px;
  --mgs-gutter: 20px;
}
@media (min-width: 768px) { :root { --mgs-gutter: 32px; } }

/* ---------- base (scoped to the page root) ---------- */
:where(.mgs), :where(.mgs) *, :where(.mgs) *::before, :where(.mgs) *::after { box-sizing: border-box; }
.mgs {
  margin: 0;
  background: var(--mgs-cream-100);
  color: var(--mgs-ink);
  font: 400 1rem/1.65 var(--mgs-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:where(.mgs) :where(img, video, svg) { display: block; max-width: 100%; }
:where(.mgs) :where(a) { color: inherit; }
:where(.mgs) :focus-visible { outline: 3px solid var(--mgs-gold-300); outline-offset: 3px; border-radius: 4px; }
.mgs-container { width: 100%; max-width: var(--mgs-container); margin-inline: auto; padding-inline: var(--mgs-gutter); }
@media (min-width: 1200px) { .mgs-header .mgs-container, .mgs-hero .mgs-container, .mgs-world .mgs-container { max-width: var(--mgs-container-wide); } }
/* lines that have no text in the current language (a Greek text still to come) take no room */
[data-mgs-optional]:empty, .mgs-cta__launch:has(> strong:empty) { display: none; }
#about { scroll-margin-top: 96px; }   /* the sticky header */
.mgs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mgs-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--mgs-blue-700); color: #fff; border-radius: 8px; }
.mgs-skip:focus { top: 12px; }

.mgs-kicker {
  margin: 0 0 .75rem;
  font: 800 .78rem/1.3 var(--mgs-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mgs-gold-text);
}
.mgs-h2 {
  margin: 0 0 1.1rem;
  font: 700 clamp(2rem, 2.6vw + 1.2rem, 3.1rem)/1.1 var(--mgs-serif);
  color: var(--mgs-heading);
  letter-spacing: -.01em;
}
.mgs-lead { font-size: 1.05rem; }
/* the Greek flag, drawn here: Windows has no flag emoji and would print the letters "GR" (build_lang.py puts this
   element wherever one of Irene's texts has the flag) */
.mgs-flag {
  display: inline-block; width: 1.5em; height: 1em; margin-left: .22em; vertical-align: -.12em; border-radius: 2px;
  background: #0d5eaf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 18'%3E%3Crect fill='%230D5EAF' width='27' height='18'/%3E%3Cpath fill='none' stroke-width='2' stroke='%23FFF' d='M5,0V11 M0,5H10 M10,3H27 M10,7H27 M0,11H27 M0,15H27'/%3E%3C/svg%3E") center / cover no-repeat;
}
.mgs-strong { font-weight: 700; color: var(--mgs-heading); }

/* ---------- buttons: royal blue with a fine gold frame ---------- */
.mgs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .95em 1.8em;
  border-radius: 999px; border: 2px solid transparent;
  font: 800 .86rem/1.1 var(--mgs-sans); letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .2s, color .2s;
}
.mgs-btn svg { width: 1.05em; height: 1.05em; flex: none; }
.mgs-btn:hover { transform: translateY(-1px); }
.mgs-btn--primary {
  background: var(--mgs-blue-700); color: var(--mgs-white); border-color: var(--mgs-gold-400);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 8px 20px rgba(0, 31, 69, .22);
}
.mgs-btn--primary:hover { background: var(--mgs-blue-600); }
.mgs-btn--outline { background: transparent; color: var(--mgs-blue-700); border-color: var(--mgs-gold-400); }
.mgs-btn--outline:hover { background: rgba(227, 181, 89, .12); }
.mgs-btn--gold {
  background: linear-gradient(180deg, #f7cd6a, var(--mgs-gold-300) 55%, #e5ad3c);
  color: var(--mgs-navy-800); border-color: #f9dc94;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.mgs-btn--gold:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .32), 0 0 0 4px rgba(243, 192, 84, .18); }
.mgs-btn--sm { min-height: 40px; padding: .7em 1.25em; font-size: .74rem; }
.mgs-btn--lg { min-height: 54px; padding: 1.05em 2.1em; font-size: .9rem; }

/* ---------- divider: line — heart — line ---------- */
.mgs-divider { display: flex; align-items: center; gap: .8rem; width: 170px; margin: 1.1rem 0; color: var(--mgs-gold-400); }
.mgs-divider::before, .mgs-divider::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .85; }
.mgs-divider svg { width: 16px; height: 16px; }
.mgs-divider--center { margin-inline: auto; }

/* ---------- pre-launch announcement bar (placement 1 of 2) ---------- */
.mgs-announce {
  background: var(--mgs-navy-900); color: #f3ead7;
  font: 600 .8rem/1.45 var(--mgs-sans); text-align: center;
  padding: .6rem var(--mgs-gutter);
  border-bottom: 1px solid rgba(227, 181, 89, .3);
}
.mgs-announce p { margin: 0; }
.mgs-announce a { color: var(--mgs-gold-300); font-weight: 800; text-underline-offset: 3px; }

/* ---------- header ----------
   Deep-blue bar instead of the mockup's cream one (agreed with Irene 2026-09-30): "SINGLES" in her logo is white,
   so the logo needs a dark background. Same navy as the CTA band, so the logo never sits in a pasted-on box. */
.mgs-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 41, 84, .97);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(227, 181, 89, .4);
  color: #f3ead7;
}
.mgs-header__inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.mgs-logo { flex: none; margin-right: auto; }
.mgs-logo img { display: block; height: 30px; width: auto; }   /* the logo is ~4.9:1, so keep it small on narrow phones */
@media (min-width: 380px) { .mgs-logo img { height: 34px; } }
@media (min-width: 480px) { .mgs-logo img { height: 40px; } }
/* 320 px screens: with "JOIN NOW" in English the menu button stuck out of the page by 5 px */
@media (max-width: 339.98px) { .mgs-header__inner { gap: 8px; } .mgs-logo img { height: 27px; } }
.mgs-header__join { display: inline-flex; }           /* compact join on phones */
.mgs-nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(227, 181, 89, .6); border-radius: 12px; background: transparent; cursor: pointer;
}
.mgs-burger, .mgs-burger::before, .mgs-burger::after {
  display: block; width: 20px; height: 2px; background: #f3ead7; border-radius: 2px; content: ""; position: relative; transition: transform .2s, opacity .2s;
}
.mgs-burger::before { position: absolute; top: -6px; }
.mgs-burger::after  { position: absolute; top: 6px; }
.mgs-nav-toggle[aria-expanded="true"] .mgs-burger { background: transparent; }
.mgs-nav-toggle[aria-expanded="true"] .mgs-burger::before { transform: translateY(6px) rotate(45deg); }
.mgs-nav-toggle[aria-expanded="true"] .mgs-burger::after  { transform: translateY(-6px) rotate(-45deg); }

/* buttons on the dark bar: the outline button turns light, the blue one a shade brighter so it stands off the bar */
.mgs-header .mgs-btn--outline { color: var(--mgs-white); }
.mgs-header .mgs-btn--outline:hover { background: rgba(227, 181, 89, .16); }
.mgs-header .mgs-btn--primary { background: var(--mgs-blue-600); }
.mgs-header .mgs-btn--primary:hover { background: #155aa6; }

/* mobile drawer */
.mgs-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; padding: 8px var(--mgs-gutter) 22px;
  background: var(--mgs-navy-800); border-bottom: 1px solid rgba(227, 181, 89, .4);
  box-shadow: 0 18px 30px rgba(0, 10, 25, .35);
}
.mgs-nav.is-open { display: block; }
.mgs-nav__links { list-style: none; margin: 0; padding: 0; }
.mgs-nav__links a {
  display: block; padding: 13px 2px; border-bottom: 1px solid rgba(227, 181, 89, .18);
  font: 700 .86rem/1.2 var(--mgs-sans); letter-spacing: .08em; text-transform: uppercase;
  color: #f3ead7; text-decoration: none;
}
.mgs-nav__links a:hover { color: var(--mgs-gold-300); }
.mgs-nav__links a[aria-current="page"] { color: var(--mgs-gold-300); }
.mgs-nav__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px; }

.mgs-lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px;
  border-radius: 999px; background: rgba(255, 255, 255, .1); font: 800 .74rem/1 var(--mgs-sans); letter-spacing: .06em;
}
.mgs-lang a { padding: 7px 10px; border-radius: 999px; color: #ddd5c6; text-decoration: none; }
.mgs-lang a:hover { color: var(--mgs-white); }
/* active language: .is-active is set by mgs-home.js; the data-active selectors give the same state before/without JS
   (data-active holds Chameleon's language folder: default = English, greek = Greek) */
.mgs-lang a.is-active,
.mgs-lang[data-active="default"] a[data-mgs-lang="default"],
.mgs-lang[data-active="greek"] a[data-mgs-lang="greek"] { background: #fff; color: var(--mgs-blue-700); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.mgs-lang span { color: rgba(243, 234, 215, .45); }

/* full navigation from 1200px: the real logo is wider than the mockup's, so below that the menu button is used */
@media (min-width: 1200px) {
  .mgs-header__inner { min-height: 84px; gap: 28px; }
  .mgs-logo img { height: 46px; }
  .mgs-nav-toggle, .mgs-header__join { display: none; }
  .mgs-nav {
    position: static; display: flex; align-items: center; justify-content: space-between; flex: 1;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .mgs-nav__links { display: flex; gap: 24px; }
  .mgs-nav__links a { padding: 8px 0; border: 0; font-size: .74rem; position: relative; color: #f3ead7; }
  .mgs-nav__links a:hover { color: var(--mgs-gold-300); }
  .mgs-nav__links a[aria-current="page"] { color: var(--mgs-gold-300); }
  .mgs-nav__links a[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mgs-gold-400); border-radius: 2px;
  }
  .mgs-nav__actions { padding: 0; flex-wrap: nowrap; }
}

/* the bar never wraps its words */
.mgs-header .mgs-btn, .mgs-nav__links a { white-space: nowrap; }

/* Greek words are longer: in Greek the full menu only fits from 1340px, below that the menu button stays */
@media (min-width: 1200px) and (max-width: 1339.98px) {
  html[lang="el"] .mgs-header__inner { min-height: 76px; gap: 12px; }
  html[lang="el"] .mgs-nav-toggle { display: inline-grid; }
  html[lang="el"] .mgs-header__join { display: inline-flex; }
  html[lang="el"] .mgs-nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex: none;
    padding: 8px var(--mgs-gutter) 22px; background: var(--mgs-navy-800);
    border-bottom: 1px solid rgba(227, 181, 89, .4); box-shadow: 0 18px 30px rgba(0, 10, 25, .35);
  }
  html[lang="el"] .mgs-nav.is-open { display: block; }
  html[lang="el"] .mgs-nav__links { display: block; }
  html[lang="el"] .mgs-nav__links a { display: block; padding: 13px 2px; border-bottom: 1px solid rgba(227, 181, 89, .18); font-size: .86rem; }
  html[lang="el"] .mgs-nav__links a[aria-current="page"]::after { content: none; }
  html[lang="el"] .mgs-nav__actions { padding-top: 16px; flex-wrap: wrap; }
}
@media (min-width: 1340px) { html[lang="el"] .mgs-nav__links { gap: 20px; } html[lang="el"] .mgs-header__inner { gap: 22px; } }
/* Irene's Greek text for the header button ("Δημιουργήστε το Δωρεάν Προφίλ σας") is long: in the bar it takes two lines */
@media (min-width: 1340px) {
  html[lang="el"] .mgs-nav__actions .mgs-btn--primary {
    white-space: normal; max-width: 17.5em; padding: .5em 1.4em; line-height: 1.25; text-wrap: balance;
  }
}

/* ---------- hero with background video ---------- */
.mgs-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: stretch;
  min-height: min(88svh, 800px);
  color: var(--mgs-white);
  background: var(--mgs-navy-800);
}
@supports not (height: 1svh) { .mgs-hero { min-height: min(88vh, 800px); } }
.mgs-hero__media, .mgs-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.mgs-hero__media { background: url("../video/poster-mobile-720x1280.jpg?v=2") 50% 30% / cover no-repeat; }  /* no-JS fallback */
/* the video lies over the poster, invisible, and is faded in by mgs-home.js once it plays (and out again for the loop) */
.mgs-hero__video { object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity .9s ease; }
.mgs-hero__video.is-on { opacity: 1; }
.mgs-hero::after {           /* phones: blue at top (headline over the sky) and bottom (CTA), clear middle for the couple */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 26, 58, .82) 0%, rgba(0, 26, 58, .5) 22%, rgba(0, 26, 58, 0) 38%,
              rgba(0, 26, 58, 0) 54%, rgba(0, 26, 58, .62) 70%, rgba(0, 26, 58, .95) 100%);
}
/* phones: headline block at the top, text + CTA at the bottom, the toast stays visible in between */
.mgs-hero__content { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding-block: 26px 40px; }
.mgs-hero__title {
  margin: 0; max-width: 15ch;
  font: 700 clamp(2.4rem, 4.4vw + 1rem, 4.1rem)/1.04 var(--mgs-serif);
  letter-spacing: -.015em; text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.mgs-hero__tagline {
  margin: .6rem 0 0; max-width: 27ch;
  font: italic 600 clamp(1.3rem, 1.6vw + .8rem, 2.05rem)/1.2 var(--mgs-serif);
  color: var(--mgs-gold-300);
}
.mgs-hero__text { margin: 0 0 1.6rem; max-width: 34ch; font-size: clamp(1rem, .4vw + .92rem, 1.18rem); color: #f4efe6; }
.mgs-hero__note { margin: .9rem 0 0; font: italic 500 .9rem/1.4 var(--mgs-sans); color: #e9e1d2; }
.mgs-hero__pause {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(0, 26, 58, .35);
  color: #fff; cursor: pointer;
}
.mgs-hero__pause svg { width: 14px; height: 14px; }
.mgs-hero__pause[hidden] { display: none; }

/* landscape layout: landscape tablets and up, or any window wider than a portrait tablet.
   Portrait tablets keep the phone layout + portrait video (keep in sync with mgs-home.js). */
@media (min-width: 768px) and (orientation: landscape), (min-width: 1025px) {
  .mgs-hero { align-items: center; min-height: clamp(560px, 76vh, 760px); }
  .mgs-hero__content { display: block; }
  /* anchored left: on screens narrower than 16:9 the crop comes off the left, so the couple stays right */
  .mgs-hero__media { background-image: url("../video/poster-desktop-1080.jpg?v=2"); background-position: 0% 50%; }
  .mgs-hero__video { object-position: 0% 50%; }
  .mgs-hero::after {       /* tablets/desktop: left-to-right fade, couple stays clear on the right */
    background: linear-gradient(90deg, rgba(0, 26, 58, .82) 0%, rgba(0, 26, 58, .62) 34%, rgba(0, 26, 58, .12) 58%, rgba(0, 26, 58, 0) 70%);
  }
  .mgs-hero__content { padding-block: 72px; }
  .mgs-hero__title { max-width: 16ch; }
}

/* ---------- four cards ---------- */
.mgs-features { padding-block: 36px 8px; }
.mgs-features__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mgs-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; align-items: start;
  padding: 20px 18px; border-radius: var(--mgs-radius);
  background: var(--mgs-cream-50); border: 1px solid rgba(212, 165, 72, .26); box-shadow: var(--mgs-shadow);
}
.mgs-card__icon {
  grid-row: span 2; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--mgs-gold-400);
  background: radial-gradient(circle at 50% 35%, #fffaf0, #f6ecd8); color: #a8741f;
}
.mgs-card__icon svg { width: 30px; height: 30px; stroke-width: 2; }
.mgs-card__title { margin: 2px 0 0; font: 700 1.36rem/1.2 var(--mgs-serif); color: var(--mgs-heading); }
.mgs-card__text { margin: 0; color: var(--mgs-ink); font-size: 1.02rem; line-height: 1.6; }
@media (min-width: 560px) {
  .mgs-features__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .mgs-card { grid-template-columns: 1fr; justify-items: center; align-content: start; text-align: center; padding: 34px 26px 32px; }
  .mgs-card__icon { grid-row: auto; width: 96px; height: 96px; margin-bottom: 14px; border-width: 2px; }
  .mgs-card__icon svg { width: 48px; height: 48px; stroke-width: 2; }
  /* a heading has room for two lines and sits on its gold line, so the lines and texts of neighbouring cards line up */
  .mgs-card__title { font-size: 1.62rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(2.4em + 30px); text-wrap: balance; }
  .mgs-card__title::after { content: ""; display: block; flex: none; align-self: center; width: 46px; height: 2px; margin: 14px 0; background: var(--mgs-gold-400); }
  .mgs-card__text { font-size: 1.08rem; }
}
@media (min-width: 1024px) {
  .mgs-features { padding-top: 44px; }
  .mgs-features__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ---------- community: image + text ---------- */
.mgs-community { padding-top: 48px; }
.mgs-community__grid { display: grid; }
.mgs-community__media picture, .mgs-world__media picture { display: contents; }   /* the image itself is the box */
/* Irene's picture (2026-10-08) is a wide one, 3:2: the couple on the left, the Acropolis on the right. Both must stay in
   view, so the box is always wider than it is tall; object-position keeps the cut even on both sides of the two. */
.mgs-community__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 600px) { .mgs-community__media img { aspect-ratio: 16 / 9; } }
.mgs-community__body { padding: 30px var(--mgs-gutter) 8px; }
.mgs-community__body p { margin: 0 0 1rem; }
.mgs-community__heart {         /* Greek at Heart — the closing part of the section: small heading and one paragraph */
  margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(212, 165, 72, .45);
  font-size: .95rem; color: var(--mgs-ink-soft);
}
.mgs-community__heart-title { margin: 0 0 .45rem; font: 700 1.3rem/1.25 var(--mgs-serif); color: var(--mgs-heading); }
.mgs-community__heart p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .mgs-community { padding-top: 64px; }
  .mgs-community__body { max-width: 820px; margin-inline: auto; padding: 40px var(--mgs-gutter) 8px; }
}
/* Side by side from 1200 px. The picture keeps its shape next to the text instead of being stretched to the height of the
   text (the Greek text is a third longer, which made the box taller than wide and would cut the couple or the Acropolis). */
@media (min-width: 1200px) {
  .mgs-community__grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .mgs-community__media img { aspect-ratio: 5 / 4; max-height: 660px; object-position: 55% 45%; border-radius: 0 18px 18px 0; }
  .mgs-community__body { margin-inline: 0; padding: 48px clamp(28px, 5vw, 72px); max-width: 640px; }
}

/* ---------- worldwide: text left, Santorini image right ---------- */
.mgs-world { position: relative; padding-top: 40px; }
.mgs-world__media img {       /* a wide panorama: the part with the two churches on the right is shown */
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 72% 50%;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.mgs-world__body { padding-block: 8px 72px; }
.mgs-world__body p { margin: 0 0 1rem; max-width: 52ch; }
.mgs-world__body .mgs-btn { margin-top: .6rem; }
@media (min-width: 900px) {
  .mgs-world { padding-top: 0; min-height: 440px; display: flex; align-items: center; }
  .mgs-world__media { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
  .mgs-world__media img {
    height: 100%; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  }
  .mgs-world__body { position: relative; padding-block: 72px 110px; }
  .mgs-world__body > * { max-width: 520px; }
  .mgs-world__body > .mgs-h2 { max-width: 620px; }   /* "From Greece to the World" on one line, as in the mockup */
}

/* ---------- final CTA band ---------- */
.mgs-cta {
  position: relative; overflow: hidden; margin-top: -1px;
  /* soft glow in the middle; the top edge stays exactly #002954 so it meets the wave seamlessly */
  background: radial-gradient(60% 45% at 50% 58%, #0a3d78 0%, var(--mgs-navy-800) 100%);
  color: #f1ebdf; text-align: center;
  padding: 26px 0 64px;
}
.mgs-cta__wave { display: block; width: 100%; height: 46px; margin-bottom: -1px; }
.mgs-cta__launch {         /* pre-launch message, placement 2 of 2 */
  display: inline-block; margin: 8px auto 26px; padding: 10px 20px; max-width: 46rem; text-wrap: balance;
  border: 1px solid rgba(227, 181, 89, .6); border-radius: 999px;
  font: 600 .84rem/1.45 var(--mgs-sans); color: #efe6d3;
}
.mgs-cta__launch strong { color: var(--mgs-gold-300); letter-spacing: .04em; }
.mgs-cta__title { margin: 0 auto .8rem; max-width: 24ch; text-wrap: balance; font: 700 clamp(1.95rem, 2.6vw + 1.1rem, 3rem)/1.12 var(--mgs-serif); color: #fff; }
.mgs-cta__text { margin: 0 auto; max-width: 44ch; }
.mgs-cta__tagline { margin: 0 0 1.5rem; font: italic 600 1.35rem/1.3 var(--mgs-serif); color: var(--mgs-gold-300); }
.mgs-cta__note { margin: .9rem 0 0; font: italic 500 .88rem/1.4 var(--mgs-sans); color: #d8cfbe; }
/* gold branches in the two lower corners; their stems run off the sides, so each sits flush with its edge */
.mgs-cta__branch { position: absolute; bottom: 6px; width: auto; max-width: none; height: clamp(62px, 13.5vw, 200px); opacity: .6; pointer-events: none; }
.mgs-cta__branch--left { left: 0; }
.mgs-cta__branch--right { right: 0; }
.mgs-cta .mgs-container { position: relative; }
/* phones: the launch message runs over several lines there, so it is a rounded box rather than a pill; more room under
   the last line, so the two branches stand clear of it */
@media (max-width: 599.98px) {
  .mgs-cta { padding-bottom: 86px; }
  .mgs-cta__launch { border-radius: 22px; padding: 12px 18px; }
  .mgs-cta__note { text-wrap: balance; }
}
@media (min-width: 768px) {
  .mgs-cta { padding-bottom: 80px; }
  .mgs-cta__wave { height: 70px; }
  .mgs-cta__branch { bottom: 14px; opacity: .85; }
}
@media (min-width: 900px) { .mgs-cta__title { max-width: 32ch; } }   /* one line on desktop, as in the mockup */
/* the wave sits between the cream worldwide section and the navy band */
.mgs-wave-wrap { background: transparent; line-height: 0; margin-top: -46px; position: relative; z-index: 1; }
@media (min-width: 768px) { .mgs-wave-wrap { margin-top: -70px; } }

/* ---------- footer ---------- */
.mgs-footer { background: var(--mgs-navy-900); color: #b9c3d3; font-size: .88rem; padding: 34px 0 40px; }
.mgs-footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.mgs-footer__brand { font: 700 1.25rem/1.2 var(--mgs-serif); color: #fff; }
.mgs-footer__brand span { display: block; margin-top: 4px; font: 700 .68rem/1 var(--mgs-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mgs-gold-400); }
.mgs-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.mgs-footer__links a { color: #dfe5ee; text-decoration: none; }
.mgs-footer__links a:hover { color: var(--mgs-gold-300); }
.mgs-footer__copy { margin: 0; color: #8d9ab0; font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .mgs-btn, .mgs-burger, .mgs-burger::before, .mgs-burger::after { transition: none; }
  .mgs-btn:hover { transform: none; }
}
