/* ==========================================================================
   Front page. Values measured 1:1 on the confirmed 1920 export and the 375 mobile export.
   ========================================================================== */
.front-page { --home-y: clamp(56px, 5.2vw, 100px); }
.front-page .band { padding: var(--home-y) 0; }

/* Hero
   -------------------------------------------------------------------------- */
.home-hero { position: relative; background: var(--navy-900); overflow: hidden; }
.home-hero__slides { position: relative; height: clamp(420px, 42.7vw, 820px); }
.home-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.home-hero__slide.is-active { opacity: 1; }
.home-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 25, 50, 0.9) 0%, rgba(0, 25, 50, 0.72) 30%, rgba(0, 25, 50, 0.25) 55%, rgba(0, 25, 50, 0) 70%); }
.home-hero__content { position: absolute; inset: 0; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: var(--white); }
.home-hero__eyebrow { font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--gold-500); margin: 0 0 28px; }
.home-hero__title { font-family: var(--font-serif); font-weight: 800; font-size: clamp(44px, 2.4vw + 18px, 64px); line-height: 1.15; color: var(--white); margin: 0 0 30px; }
.home-hero__rule { width: 56px; height: 2px; background: var(--gold-500); margin-bottom: 30px; }
.home-hero__text { font-size: 20px; line-height: 1.45; max-width: 560px; margin: 0 0 40px; color: var(--text-on-navy); }
.home-hero__dots { display: flex; gap: 12px; margin-top: 56px; }
/* 2px bar inside a 24px-tall hit area */
.home-hero__dots button { width: 40px; height: 24px; padding: 0; border: 0; cursor: pointer; background: linear-gradient(rgba(214, 167, 82, 0.5), rgba(214, 167, 82, 0.5)) center / 100% 2px no-repeat; transition: background-size 0.3s; }
.home-hero__dots button:hover { background-size: 100% 4px; }
.home-hero__dots .is-active { background-image: linear-gradient(var(--gold-500), var(--gold-500)); }

/* Story
   -------------------------------------------------------------------------- */
.home-story__grid { display: grid; grid-template-columns: 754px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.home-story .eyebrow { margin-bottom: 34px; font-size: 22px; }
.home-story .h-section { margin-bottom: 48px; }
.home-story__body p { font-size: 20px; line-height: 1.3; max-width: 754px; margin-bottom: 26px; }
.home-story__body p:last-child { margin-bottom: 0; }
.home-story__media { position: relative; padding-top: 50px; grid-row: 1 / span 2; grid-column: 2; }
.home-story__photo { width: 72%; max-width: 680px; filter: sepia(0.1); }
.home-story__script { position: absolute; right: 7px; top: calc(50px + (100% - 50px) * 0.32); font-size: clamp(30px, 2vw + 10px, 50px); margin: 0; }
.home-story__script span { padding-left: 1.8em; }
.home-story__olive { position: absolute; width: 28.3%; max-width: 268px; left: 53%; top: calc(50px + (100% - 50px) * 0.58); }
.home-story__more { grid-column: 1; margin: 44px 0 0 12px; }

/* Stores carousel
   -------------------------------------------------------------------------- */
.home-stores::after { background: linear-gradient(90deg, rgba(11, 37, 63, 0.97) 0%, rgba(12, 39, 66, 0.94) 25%, rgba(20, 45, 72, 0.9) 50%, rgba(36, 64, 93, 0.86) 72%, rgba(66, 92, 120, 0.8) 100%); }
.home-stores .h-section,
.home-yacht .h-section,
.home-map .h-section { margin-bottom: 40px; }
.home-copy p { font-size: 20px; line-height: 1.3; margin-bottom: 26px; }
.home-copy p:last-child { margin-bottom: 0; }
.home-stores .home-copy,
.home-yacht .home-copy { color: var(--text-on-navy); }
.home-stores .h-section { color: var(--gold-500); }
.home-stores__more { display: none; }

.home-cards { list-style: none; margin: 34px 0 0; padding: 8px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.home-cards::-webkit-scrollbar { display: none; }
.home-card { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--navy-850); color: var(--white); padding: 23px 23px 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 24px rgba(0, 10, 25, 0.28); transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
.home-card__media { display: block; height: 200px; overflow: hidden; margin-bottom: 24px; }
.home-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.home-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 28px; line-height: 32px; margin: 0 0 24px; max-width: 13em; }
.home-card ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 18px; }
.home-card li { display: flex; align-items: center; gap: 14px; font-size: 18px; }
.home-card li .icon { width: 22px; height: 22px; color: var(--gold-500); }
.home-card li a { text-decoration: none; }
.home-card li a:hover { color: var(--gold-500); }
.home-card .line-link { margin-top: auto; font-size: 18px; }
.home-card:hover,
.home-card:focus-within { box-shadow: 0 0 0 1px var(--gold-500), 0 18px 34px rgba(0, 10, 25, 0.4); }
.home-card:hover .home-card__media img,
.home-card:focus-within .home-card__media img { transform: scale(1.06); }
.home-card:hover .line-link::before,
.home-card:focus-within .line-link::before { width: 64px; }

.home-stores__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 42px; }
.home-stores__foot .arrow-group { gap: 12px; }
.home-stores__foot .arrow-btn { width: 40px; height: 40px; }
.home-stores__foot .line-link { font-size: 18px; margin-right: 10px; }

/* Choices: full-width band with food tiles
   -------------------------------------------------------------------------- */
.front-page .home-choices { position: relative; overflow: hidden; isolation: isolate; background: var(--cream-100); padding-bottom: 102px; }
.home-choices__bg { position: absolute; inset: 0 0 0 auto; width: 68%; z-index: -1; overflow: hidden; }
.home-choices__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: blur(3px) saturate(0.85); transform: scale(1.04); }
.home-choices__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream-100) 0%, rgba(240, 234, 222, 0.86) 30%, rgba(240, 234, 222, 0.72) 65%, rgba(240, 234, 222, 0.6) 100%); }
.home-choices__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.home-choices__title { grid-column: 1; font-family: var(--font-serif); font-weight: 800; font-size: clamp(30px, 2vw + 7px, 45px); line-height: 1.2; color: var(--navy-900); margin: 0; }
.home-choices__title br { display: none; }
.home-choices__cta { grid-column: 2; grid-row: 1; padding: 14px 12px; }
.home-choices__intro { grid-column: 1 / -1; font-size: 20px; line-height: 1.3; margin: 40px 0 0; }
.home-choices__items { grid-column: 1 / -1; list-style: none; margin: 48px 0 0; padding: 0; display: flex; justify-content: space-between; gap: 24px; }
.home-choices .food-tile { gap: 22px; color: var(--text-on-cream); }
.home-choices .food-tile__img { width: clamp(150px, 11.5vw, 220px); }
.home-choices .food-tile__label { font-size: clamp(18px, 0.6vw + 10px, 22px); }
/* Tiles open the client PDFs; hover = light-blue veil + zoom */
.home-choices a.food-tile .food-tile__img::after { background: rgba(0, 25, 50, 0.55); }
.home-choices .food-tile__img img { transition: transform 0.6s var(--ease-out); }
.home-choices a.food-tile:hover .food-tile__img img,
.home-choices a.food-tile:focus-visible .food-tile__img img { transform: scale(1.1); }

/* Yacht
   -------------------------------------------------------------------------- */
/* Smaller fixed frame; --shift (-1…1) from home.js slides the photo inside it while scrolling (parallax) */
.home-yacht__frame { --shift: 0; position: relative; width: min(100%, 1100px); aspect-ratio: 1100 / 420; margin: 40px auto 0; overflow: hidden; }
.home-yacht__img { position: absolute; top: 0; left: 0; width: 100%; height: 124%; object-fit: cover; opacity: 0; transform: translateY(calc(-9.7% + 9.7% * var(--shift))); transition: opacity 1.2s ease; will-change: transform; }
.home-yacht__img.is-active { opacity: 1; }
.home-yacht__img--van { object-position: 50% 72%; }
.home-yacht__img--bag { object-position: 50% 40%; }
.home-yacht__link { margin-top: 28px; font-size: 18px; }

/* Greece map
   -------------------------------------------------------------------------- */
.home-map__intro { font-size: 20px; line-height: 1.3; margin: 0; }
.home-map__grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr) auto; align-items: center; margin-top: 44px; }
.home-map__img { width: 400px; mix-blend-mode: multiply; }
.home-map__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.home-map__list a { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; text-decoration: none; color: var(--text-on-cream); }
.home-map__list a::before { content: ""; width: 60px; height: 2px; background: currentColor; transition: width 0.35s var(--ease-out), background-color 0.2s; }
.home-map__list a:hover::before { width: 80px; background: var(--gold-500); }
.home-map__logo { width: 314px; margin-right: 6px; align-self: center; }

/* Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
  .home-story__grid { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); column-gap: 32px; }
  .home-map__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; column-gap: 32px; }
  .home-map__logo { width: 240px; }
}
@media (max-width: 1200px) {
  .home-cards { grid-auto-columns: calc((100% - 20px) / 2); }
}

/* Mobile (follows the 375 export)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .home-hero__slides { position: absolute; inset: 0; height: 100%; }
  .home-hero__slide { object-position: 70% 50%; }
  .home-hero::after { background: linear-gradient(90deg, rgba(4, 14, 26, 0.72) 0%, rgba(4, 14, 26, 0.45) 60%, rgba(4, 14, 26, 0.25) 100%), linear-gradient(0deg, rgba(4, 14, 26, 0.55), rgba(4, 14, 26, 0) 40%); }
  .home-hero__content { position: relative; inset: auto; left: auto; transform: none; min-height: 624px; padding-top: 48px; padding-bottom: 72px; align-items: stretch; }
  .home-hero__eyebrow { font-size: 17px; letter-spacing: 0.01em; margin-bottom: 40px; }
  .home-hero__title { font-size: 27px; line-height: 1.2; margin-bottom: 24px; }
  .home-hero__rule { width: 40px; margin-bottom: 36px; }
  .home-hero__text { font-size: 17px; line-height: 1.4; font-weight: 500; max-width: 42ch; margin-bottom: 32px; color: var(--white); }
  .home-hero__cta { align-self: flex-start; font-size: 15px; padding: 14px 12px; }
  .home-hero__dots { gap: 8px; margin-top: 32px; }
  .home-hero__dots button { width: 32px; }

  .home-story__grid { grid-template-columns: 1fr; }
  .home-story .eyebrow { font-size: 17px; margin-bottom: 40px; }
  .home-story .h-section { font-size: 28px; margin-bottom: 28px; }
  .home-story__body p { font-size: 16px; line-height: 1.4; margin-bottom: 20px; }
  .home-story__media { padding-top: 36px; grid-column: 1; grid-row: auto; }
  .home-story__script { position: static; font-size: 34px; margin-bottom: 20px; }
  .home-story__photo { width: 100%; max-width: 420px; }
  .home-story__olive { width: 130px; left: auto; right: 6%; top: auto; bottom: -12%; }
  .home-story__more { margin: 32px 0 0 12px; }

  .home-copy p { font-size: 16px; line-height: 1.4; margin-bottom: 20px; }
  .home-stores__more { display: inline-flex; margin-top: 28px; }
  .home-cards { grid-auto-columns: 100%; }
  .home-card { padding: 24px 24px 22px; }
  .home-card__media { height: auto; aspect-ratio: 287 / 200; }
  .home-card h3 { font-size: 21px; line-height: 1.3; margin-bottom: 22px; }
  .home-card ul { margin-bottom: 18px; }
  .home-card li { font-size: 16px; align-items: flex-start; }
  .home-card li .icon { margin-top: 1px; }
  .home-card .line-link { font-size: 16px; }
  .home-stores__foot { flex-direction: column; align-items: flex-start; gap: 36px; }
  .home-stores__foot .arrow-btn { width: 44px; height: 44px; }

  .front-page .home-choices { padding-bottom: var(--home-y); }
  .home-choices__bg { width: 100%; }
  .home-choices__bg img { filter: blur(10px); transform: scale(1.1); }
  .home-choices__bg::after { background: linear-gradient(90deg, var(--cream-100) 0%, var(--cream-100) 55%, rgba(240, 234, 222, 0.55) 100%); }
  .home-choices__inner { grid-template-columns: 1fr; }
  .home-choices__title { font-size: 28px; line-height: 1.3; }
  .home-choices__title br { display: inline; }
  .home-choices__intro { grid-row: 2; font-size: 16px; line-height: 1.4; margin-top: 40px; }
  .home-choices__cta { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 28px; font-size: 15px; }
  /* 2×2 grid instead of four stacked 200px circles (was ~1200px of scrolling) */
  .home-choices__items { grid-row: 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; margin-top: 40px; }
  .home-choices__items li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .home-choices .food-tile { gap: 16px; }
  .home-choices .food-tile__img { width: 100%; max-width: 140px; }
  .home-choices .food-tile__label { font-size: 17px; }
  /* Readable gold on cream */
  .home-story .eyebrow, .home-story__more { color: var(--gold-700); }
  .home-card li a, .home-map__list a { padding-block: 10px; margin-block: -10px; }

  .home-yacht { background: var(--ink-950); }
  .home-yacht__frame { margin-top: 20px; aspect-ratio: 16 / 9; }

  .home-map__intro { font-size: 16px; line-height: 1.4; }
  .home-map__grid { grid-template-columns: 1fr; row-gap: 36px; margin-top: 40px; }
  .home-map__img { width: 100%; max-width: 320px; }
  .home-map__list { margin-top: 0; gap: 18px; }
  .home-map__list a { font-size: 16px; align-items: flex-start; }
  .home-map__list a::before { width: 30px; flex: none; margin-top: 0.75em; }
  .home-map__logo { width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__slide { transition: none; }
  .home-yacht__frame { --shift: 0; }
  .home-yacht__img { transition: none; }
}
