/* Myrtille: χρώματα και γραμματοσειρές */
:root {
  --navy: #21295e;
  --navy-deep: #1a2150;
  --cream: #fbf8f2;
  --almond: #f5f0e6;
  --ribbon-text: #f3e9d7;
  --gold: #b08d57;
  --gold-text: #7c5e33;
  --gold-light: #dcc394;
  --ink: #3e4365;
  --line: rgba(33, 41, 94, .18);
  --line-light: rgba(251, 248, 242, .22);
  --display: "GFS Didot", Didot, "Bodoni MT", Georgia, serif;
  --accent: "EB Garamond", Georgia, serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.02rem/1.75 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: 1.06; }
h2 { font-size: clamp(2.1rem, 3.9vw, 3.5rem); line-height: 1.12; }
h3 { font-size: clamp(1.55rem, 2.2vw, 1.95rem); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }
.section { padding-block: clamp(72px, 10vw, 148px); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--navy); color: var(--cream); text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-size: .72rem; font-weight: 600; line-height: 1.5; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-text);
}
.accent { font-family: var(--accent); font-style: italic; font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.35; color: var(--ink); }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.14rem); max-width: 34em; }
.on-navy { color: rgba(251, 248, 242, .84); }
.on-navy h1, .on-navy h2, .on-navy h3 { color: var(--cream); }
.on-navy .eyebrow { color: var(--gold-light); }
.on-navy .accent { color: rgba(251, 248, 242, .84); }

/* Κουμπιά και σύνδεσμοι */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px;
  border: 1px solid var(--navy); background: var(--navy); color: var(--cream);
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.on-navy .btn { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.on-navy .btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.on-navy .btn--outline { background: transparent; border-color: var(--cream); color: var(--cream); }
.on-navy .btn--outline:hover { background: var(--cream); color: var(--navy); }
.link {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid var(--gold);
  color: var(--navy); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.link::after { content: "→"; font-size: 1rem; letter-spacing: 0; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(5px); }

/* Κεφαλίδα */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .95); border-bottom: 1px solid var(--line);
}
.site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; }
.brand img { width: clamp(136px, 13vw, 176px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav--end { justify-content: flex-end; }
.nav a { position: relative; padding: 8px 0; color: var(--navy); font-size: .86rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.icon-btn {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 0; background: none; color: var(--navy); cursor: pointer;
}
.icon-btn svg { width: 24px; height: 24px; }
.menu-btn .is-close { display: none; }
.menu-btn[aria-expanded="true"] .is-open { display: none; }
.menu-btn[aria-expanded="true"] .is-close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 28px 24px 36px; overflow-y: auto; background: var(--navy); color: rgba(251, 248, 242, .84);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s, transform .35s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { text-decoration: none; }
.mobile-menu li { border-bottom: 1px solid var(--line-light); }
.mobile-menu li a { display: block; padding: 14px 0; font-family: var(--display); font-size: 2rem; line-height: 1.2; color: var(--cream); }
.mobile-menu li a[aria-current="page"] { color: var(--gold-light); }
.mobile-menu__contact { display: grid; gap: 4px; font-size: .95rem; }
.mobile-menu__contact a { color: var(--cream); }

/* Αψίδα */
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--almond); }
.frame, .photo { position: relative; overflow: hidden; background: var(--almond); }
.arch img, .frame img, .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
a:hover .arch img, a:hover .frame img { transform: scale(1.04); }
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; inset: -12px -12px 0; z-index: 1; pointer-events: none;
  border: 1px solid var(--gold); border-bottom: 0; border-radius: 999px 999px 0 0;
}

/* Αρχική: εισαγωγή */
.hero { position: relative; overflow: hidden; }
.hero__branch {
  position: absolute; top: -4%; left: 50%; width: min(78vw, 1240px); max-width: none; pointer-events: none;
  transform-origin: 72% 12%; animation: sway 12s ease-in-out infinite alternate;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center; gap: clamp(32px, 6vw, 96px);
  min-height: min(calc(100svh - var(--header-h)), 860px);
  padding-block: clamp(48px, 6vw, 80px) clamp(64px, 7vw, 96px);
}
.hero__text { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.8rem); }
.hero__text .actions { margin-top: 14px; }
.hero__art { position: relative; justify-self: end; width: min(100%, 470px); }
.hero__art .arch { aspect-ratio: 4 / 5; }
.seal {
  position: absolute; left: -46px; bottom: 44px; z-index: 2;
  display: grid; place-content: center; width: 124px; height: 124px; border-radius: 50%;
  background: var(--navy); color: var(--cream); text-align: center;
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 6px var(--gold);
}
.seal span { font-family: var(--accent); font-style: italic; font-size: 1rem; line-height: 1; }
.seal strong { font-family: var(--display); font-size: 1.95rem; font-weight: 400; line-height: 1.15; }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }

/* Κορδέλα */
.ribbon { position: relative; z-index: 1; display: block; width: 100%; height: clamp(150px, 13.75vw, 420px); margin-block: clamp(-44px, -2.6vw, -20px); pointer-events: none; }
.ribbon__band, .ribbon__edge { fill: none; }
.ribbon__band { stroke: url(#ribbon-shade); }
.ribbon__edge { stroke: var(--gold-light); stroke-opacity: .7; }
.ribbon__text {
  font-family: var(--accent); font-style: italic; font-weight: 500; font-size: 31px;
  fill: var(--ribbon-text); text-rendering: geometricPrecision;
}
.ribbon__dot { fill: var(--gold-light); }
.ribbon__measure { visibility: hidden; }

/* Το όνομα */
.statement { position: relative; display: grid; justify-items: center; gap: 26px; text-align: center; }
.statement__berries { width: clamp(120px, 15vw, 190px); height: auto; margin-bottom: -6px; }
.statement__text { max-width: 19em; text-wrap: balance; font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 3.1rem); line-height: 1.26; color: var(--navy); }

/* Τρεις αψίδες */
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(44px, 6vw, 76px); }
.head-row > div { display: grid; gap: 12px; }
.arches { display: grid; grid-template-columns: 1fr 1.16fr 1fr; align-items: end; gap: clamp(20px, 3.4vw, 48px); }
.arch-card { display: grid; gap: 22px; color: inherit; text-decoration: none; }
.arch-card .arch { aspect-ratio: 4 / 5.2; }
.arch-card__label { display: grid; gap: 2px; text-align: center; }
.arch-card__label .accent { font-size: 1.2rem; }

/* Το Καφέ στην αρχική */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); }
.split__text {
  display: grid; align-content: center; justify-items: start; gap: 22px;
  padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px) clamp(56px, 8vw, 120px) max(clamp(20px, 5vw, 64px), calc((100vw - 1280px) / 2 + 64px));
}
.split__text .btn { margin-top: 12px; }
.split__media { min-height: 460px; }
.split__media img { position: absolute; inset: 0; }

/* Επίσκεψη */
.visit { position: relative; overflow: hidden; background: var(--almond); }
.visit__sprig { position: absolute; right: -2%; top: -8%; width: clamp(180px, 26vw, 390px); height: auto; pointer-events: none; }
.visit__inner { position: relative; display: grid; gap: clamp(34px, 5vw, 60px); }
.visit__head { display: grid; gap: 12px; max-width: 760px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.facts h3 { margin-bottom: 8px; font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.facts a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.facts p { color: var(--navy); }

/* Κεφαλίδες εσωτερικών σελίδων */
.page-head { display: grid; justify-items: center; gap: 20px; padding-block: clamp(56px, 8vw, 110px) clamp(44px, 6vw, 76px); text-align: center; }
.page-head .lead { max-width: 40em; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; width: min(260px, 70%); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.ornament img { width: 34px; height: auto; }

/* Ποιοι είμαστε */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.story__art { justify-self: center; width: min(100%, 460px); margin-top: 12px; }
.story__art .arch { aspect-ratio: 4 / 5; }
.prose { display: grid; justify-items: start; gap: 20px; }
.prose p { max-width: 36em; }
.name-block { position: relative; overflow: hidden; background: var(--almond); }
.name-block__branch { position: absolute; left: -7%; top: 50%; width: min(64vw, 980px); max-width: none; transform: translateY(-50%); pointer-events: none; }
.name-block__text { position: relative; display: grid; gap: 18px; width: min(100%, 520px); margin-left: auto; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(36px, 5vw, 56px); }
.trio li { display: grid; align-content: start; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.numeral { font-family: var(--accent); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--gold-text); }

/* Δημιουργίες */
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: clamp(20px, 3vw, 40px); padding-block: clamp(52px, 7vw, 100px); }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter__media { position: relative; grid-column: 1 / 8; grid-row: 1; }
.chapter__text { display: grid; gap: 16px; grid-column: 9 / 13; grid-row: 1; }
.chapter--flip .chapter__media { grid-column: 6 / 13; }
.chapter--flip .chapter__text { grid-column: 1 / 5; }
.chapter__main { aspect-ratio: 5 / 4; }
.chapter__main.arch { aspect-ratio: 1 / 1.08; width: min(82%, 540px); margin-inline: auto; }
.chapter__inset { position: absolute; right: -5%; bottom: -7%; width: 36%; aspect-ratio: 3 / 4; border: 8px solid var(--cream); }
.chapter--flip .chapter__inset { right: auto; left: -5%; }
.names { font-family: var(--accent); font-style: italic; font-size: 1.24rem; line-height: 1.5; color: var(--navy); }
.band { background: var(--navy); }
.band__inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.band__inner .actions { justify-content: center; margin-top: 12px; }

/* Το Καφέ */
.cafe-head { background: var(--navy); }
.cafe-head__inner { display: grid; gap: 20px; padding-block: clamp(56px, 7vw, 100px) clamp(44px, 5vw, 72px); }
.cafe-head h1 { max-width: 15em; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.cafe-hero { height: clamp(280px, 44vw, 560px); }
.cafe-hero img { object-position: center 62%; }
.cafe-intro { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 80px); }
.cafe-intro .lead { max-width: 38em; }
.menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.menu h3 { margin-bottom: 12px; }
.menu li { padding-block: 9px; border-bottom: 1px solid var(--line); font-family: var(--accent); font-size: 1.24rem; line-height: 1.35; color: var(--navy); }
.menu__note { margin-top: 14px; font-size: .9rem; line-height: 1.6; }
.gallery { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: end; gap: clamp(12px, 2.4vw, 32px); }
.gallery .arch { aspect-ratio: 4 / 5.2; }
.gallery .photo { aspect-ratio: 5 / 4.8; }
.takeaway { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 6vw, 96px); }
.takeaway__cup { justify-self: center; width: min(100%, 250px); height: auto; mix-blend-mode: multiply; }
.takeaway--wide { background: var(--almond); }

/* Επικοινωνία */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(36px, 6vw, 88px); }
.details { display: grid; margin: 0; }
.details > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 18px; padding-block: 18px; border-top: 1px solid var(--line); }
.details > div:last-child { border-bottom: 1px solid var(--line); }
.details dt { padding-top: 5px; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.details dd { margin: 0; color: var(--navy); }
.details a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.map-box { display: grid; gap: 16px; justify-items: start; }
.map { position: relative; width: 100%; aspect-ratio: 7 / 6; overflow: hidden; border: 1px solid var(--line); background: var(--almond); }
.map__link { position: absolute; inset: 0; display: block; overflow: hidden; }
.map__tiles { position: absolute; left: 50%; top: 50%; width: 1280px; height: 1280px; filter: grayscale(.85) sepia(.2) contrast(.95) brightness(1.03); }
.map__tiles img { position: absolute; width: 256px; height: 256px; max-width: none; }
.map__pin { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -92%); filter: drop-shadow(0 2px 3px rgba(26, 33, 80, .4)); }
.map__label {
  position: absolute; left: 50%; top: 50%; transform: translate(26px, -38px); padding: 5px 12px; background: var(--navy); color: var(--cream);
  font-family: var(--display); font-size: 1.05rem; line-height: 1.2;
}
.map__credit { position: absolute; right: 0; bottom: 0; padding: 2px 8px; background: rgba(251, 248, 242, .88); font-size: .68rem; line-height: 1.5; color: var(--ink); }

/* Υποσέλιδο */
.site-footer { background: var(--navy-deep); color: rgba(251, 248, 242, .78); font-size: .94rem; }
.site-footer a { color: var(--cream); text-decoration-color: rgba(251, 248, 242, .35); text-underline-offset: 4px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px clamp(28px, 5vw, 72px); padding-block: clamp(56px, 7vw, 88px); }
.site-footer__logo { width: min(250px, 72%); height: auto; }
.site-footer h2 { margin-bottom: 12px; font-family: var(--body); font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.site-footer li { padding-block: 3px; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer__base { padding-block: 20px; border-top: 1px solid var(--line-light); font-size: .8rem; }

/* Εμφάνιση: .rise με CSS για ό,τι φαίνεται αμέσως, .reveal κατά το σκρολ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.rise { animation: rise .9s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* 404 */
.not-found { display: grid; justify-items: center; align-content: center; gap: 22px; min-height: 70svh; padding-block: 60px; text-align: center; }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .site-header__bar { grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .nav { display: none; }
  .icon-btn { display: inline-flex; }
  .brand { justify-self: center; }
  .brand img { width: 136px; }

  .hero__branch { top: auto; bottom: -3%; left: auto; right: -38%; width: 170vw; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; text-align: center; }
  .hero h1 { font-size: clamp(2.2rem, 10.2vw, 4.4rem); }
  .hero__text { justify-items: center; }
  .hero__text .actions { justify-content: center; }
  .hero__art { justify-self: center; width: min(84%, 420px); margin-top: 12px; }
  .seal { left: -24px; bottom: 26px; width: 98px; height: 98px; }
  .seal span { font-size: .86rem; }
  .seal strong { font-size: 1.5rem; }

  .split { grid-template-columns: minmax(0, 1fr); }
  .split__media { min-height: 0; aspect-ratio: 5 / 4; }
  .split__text { justify-items: center; padding-inline: 24px; text-align: center; }

  .story, .cafe-intro, .contact { grid-template-columns: minmax(0, 1fr); }
  .takeaway { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .takeaway .prose { justify-items: center; }
  .trio, .menu { grid-template-columns: minmax(0, 1fr); }
  .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }

  .name-block__branch { position: relative; left: auto; top: auto; width: 112%; margin: -10px 0 8px -6%; transform: none; }
  .name-block__text { margin-left: 0; }

  .chapter, .chapter--flip { grid-template-columns: minmax(0, 1fr); }
  .chapter__media, .chapter--flip .chapter__media { grid-column: 1; grid-row: 1; }
  .chapter__text, .chapter--flip .chapter__text { grid-column: 1; grid-row: 2; margin-top: 18px; }
  .chapter__inset, .chapter--flip .chapter__inset { right: 0; left: auto; bottom: -5%; width: 34%; border-width: 6px; }
  .chapter--flip .chapter__inset { right: auto; left: 0; }
}

@media (max-width: 700px) {
  .arches { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .arch-card .arch { width: min(84%, 380px); margin-inline: auto; }
  .facts, .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .gallery .arch { aspect-ratio: 4 / 5; }
  .details > div { grid-template-columns: minmax(0, 1fr); }
  .btn { padding-inline: 24px; }
  .actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
