/* halkidikiyachts.com design tokens: the ONE place colours, typefaces, type sizes, radii and motion are defined.
   Everything else reads var(--…). Declared in src/design-language.json; checked by the launch gate. */
:root {
  /* palette (coordinator brief: deep sea navy bands, white and sand surfaces, sea-teal accent) */
  --color-navy: #0E2A3B;
  --color-navy-2: #16394E;
  --color-white: #FFFFFF;
  --color-sand: #F4EFE6;
  --color-sand-2: #E9E1D3;
  --color-ink: #13222C;
  --color-ink-2: #4A5A64;
  --color-teal: #1F7A8C;
  --color-teal-dark: #155A68;
  --color-teal-light: #8FD3DF;
  --color-line: #D9DEE2;
  --color-on-dark: #FFFFFF;
  --color-on-dark-2: #C9D6DE;
  --color-scrim: rgb(8 22 31 / 0.96);
  --color-scrim-soft: rgb(8 22 31 / 0.6);
  --color-white-50: rgb(255 255 255 / 0.5);
  --color-shadow: rgb(14 42 59 / 0.12);

  /* typeface: Inter (headings and text), self-hosted, Latin + Latin-ext + Cyrillic subsets */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* type scale */
  --text-2xs: 0.75rem;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.375rem, 4.2vw, 1.875rem);
  --text-2xl: clamp(1.75rem, 6.4vw, 2.75rem);
  --text-hero: clamp(2rem, 7.5vw, 3.5rem);
  --text-icon: 2rem;

  /* layout */
  --gutter: 16px;
  --max: 72rem;
  --measure: 44rem;
  --tap: 44px;

  /* radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  /* motion */
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* halkidikiyachts.com: crisp, photo-led yacht charter. Mobile first (390 px), no horizontal overflow, 44 px taps,
   every <img> sized (zero layout shift), opaque sticky header. */

@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/inter-cyrillic.71d5ee93cc.woff2) format('woff2-variations'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/inter-latin-ext.34b9c504ca.woff2) format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/inter-latin.3100e775e8.woff2) format('woff2-variations'); 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; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--color-white); color: var(--color-ink);
  font: 400 var(--text-base)/1.65 var(--font-sans);
  overflow-wrap: break-word; font-synthesis-weight: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-teal-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--color-navy); }
:focus-visible { outline: 3px solid var(--color-teal-dark); outline-offset: 2px; border-radius: 2px; }
.masthead :focus-visible, .foot :focus-visible, .lb :focus-visible, .hero :focus-visible { outline-color: var(--color-teal-light); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; margin: 1.4em 0 0.5em; text-wrap: balance; color: var(--color-navy); }
h1 { font-size: var(--text-2xl); margin-top: 0; font-weight: 800; }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
h4, h5, h6 { font-size: var(--text-md); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background-color: var(--color-teal-dark); color: var(--color-white); padding: 12px 16px; border-radius: var(--radius-md); }
.skip:focus, .skip:hover { top: 8px; color: var(--color-white); }

/* ── Header: navy band, opaque, sticky ─────────────────────── */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--color-navy); color: var(--color-on-dark); }
.masthead__bar { display: flex; align-items: center; gap: 12px; min-height: 64px; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--color-on-dark); text-decoration: none; font-weight: 800; letter-spacing: 0.02em; }
.brand img { width: auto; height: 44px; border-radius: var(--radius-sm); }
.brand:hover { color: var(--color-on-dark); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 12px;
  border: 1px solid var(--color-white-50); border-radius: var(--radius-md); color: var(--color-on-dark); text-decoration: none; font-weight: 600;
}
.menu-btn:hover { color: var(--color-on-dark); }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ''; }
.menu-btn__bars::before { position: absolute; top: -6px; }
.menu-btn__bars::after { position: absolute; top: 6px; }
.mb-close, .mb-ghost { display: none; }
.menu-open .mb-open { display: none; }
.menu-open .mb-close { display: inline; }

.nav { display: none; }
.nav:target, .menu-open .nav {
  display: block; position: fixed; inset: 64px 0 0 0; overflow-y: auto; background: var(--color-navy);
  padding: 8px var(--gutter) 32px; border-top: 1px solid var(--color-navy-2);
}
.menu-open body { overflow: hidden; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list > li { border-bottom: 1px solid var(--color-navy-2); }
.nav a { display: flex; align-items: center; min-height: 48px; padding: 8px 0; color: var(--color-on-dark); text-decoration: none; font-weight: 600; }
.nav a[aria-current='page'] { color: var(--color-teal-light); }
.langs { display: flex; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.langs a { justify-content: center; min-width: 48px; padding: 0 12px; border: 1px solid var(--color-white-50); border-radius: var(--radius-md); letter-spacing: 0.04em; }
.langs a[aria-current='true'] { background: var(--color-teal); border-color: var(--color-teal); color: var(--color-white); }
.nav__close { margin-top: 8px; color: var(--color-on-dark-2) !important; font-weight: 400 !important; }

@media (min-width: 1024px) {
  .menu-btn, .nav .nav__close { display: none; }
  .nav, .nav:target { display: flex; position: static; align-items: center; gap: 8px; padding: 0; border: 0; overflow: visible; background: none; }
  .nav__list { display: flex; gap: 4px; }
  .nav__list > li { border: 0; }
  .nav__list > li > a { padding: 8px 12px; font-size: var(--text-sm); }
  .nav a[aria-current='page'] { box-shadow: inset 0 -3px 0 var(--color-teal-light); }
  .langs { margin: 0 0 0 8px; }
  .langs a { min-height: 44px; font-size: var(--text-sm); }
}

/* ── Page head: the page's best photo leads ───────────────── */
.lead { position: relative; background: var(--color-navy); }
.lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 1024px) { .lead img { aspect-ratio: 5 / 2; } }
.page-title { padding-block: 28px 4px; }
.kicker { margin: 0 0 6px; font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-teal-dark); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 12px; padding: 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.crumbs li + li::before { content: '›'; margin-right: 8px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── Content from the old pages ───────────────────────────── */
.prose { max-width: var(--measure); padding-block: 8px 40px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 0.2em 0; }
.prose img { border-radius: var(--radius-md); margin: 8px 0 16px; }
.prose figure { margin: 0 0 16px; }
.prose figcaption { font-size: var(--text-sm); color: var(--color-ink-2); margin-top: 6px; }
.prose blockquote { margin: 0 0 1em; padding: 12px 16px; background: var(--color-sand); border-radius: var(--radius-md); }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; margin: 0 0 1em; }
.prose td, .prose th { border: 1px solid var(--color-line); padding: 8px; text-align: left; vertical-align: top; }
.prose a { overflow-wrap: anywhere; }
.prose .gallery { margin: 8px 0 24px; }
.map-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); background: var(--color-teal); color: var(--color-white); text-decoration: none; font-weight: 600; margin: 0 0 16px; }
.map-link:hover { background: var(--color-teal-dark); color: var(--color-white); }

/* ── Photo grid + lightbox (as ifakaraid) ──────────────────── */
.grid { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid__item { margin: 0; }
.tile { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-sand); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; border-radius: 0; transition: transform var(--dur-base) var(--ease-out-soft); }
.tile:hover img { transform: scale(1.03); }
.lb { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--color-scrim); color: var(--color-white); }
.lb::backdrop { background: var(--color-scrim); }
.lb__stage { position: absolute; inset: 56px 8px 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; min-height: 0; flex: 0 1 auto; }
.lb__caption { margin: 10px 0 0; text-align: center; }
.lb__count { margin: 4px 0 0; font-size: var(--text-xs); opacity: 0.85; }
.lb__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--color-white-50); background: var(--color-scrim-soft); color: var(--color-white); font-size: var(--text-icon); line-height: 1; cursor: pointer; }
.lb__close { top: 4px; right: 8px; }
.lb__prev { bottom: 12px; left: calc(50% - 60px); }
.lb__next { bottom: 12px; left: calc(50% + 12px); }
.lb-open body { overflow: hidden; }

/* ── Journal / archive list ────────────────────────────────── */
.cards { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--color-sand); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 16px; }
.card h2 { font-size: var(--text-lg); margin: 0 0 8px; }
.card h2 a { color: var(--color-navy); text-decoration: none; }
.card h2 a:hover { text-decoration: underline; }
.card p { margin: 0; color: var(--color-ink-2); font-size: var(--text-sm); }
.card__meta { font-size: var(--text-sm); color: var(--color-ink-2); margin-top: 8px !important; }

/* ── Contact strip (visible links exactly as the old site gave them) ── */
.contact-strip { background: var(--color-sand); padding-block: 24px; }
.contact-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-strip a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); background: var(--color-teal); color: var(--color-white); text-decoration: none; font-weight: 600; }
.contact-strip a:hover { background: var(--color-teal-dark); color: var(--color-white); }

/* ── Footer: navy band ─────────────────────────────────────── */
.foot { background: var(--color-navy); color: var(--color-on-dark-2); padding-block: 40px 24px; }
.foot a { color: var(--color-on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { color: var(--color-teal-light); text-decoration: underline; }
.foot__inner { display: grid; gap: 24px; }
@media (min-width: 720px) { .foot__inner { grid-template-columns: auto 1fr 1fr 1fr; align-items: start; } }
.foot__logo img { width: 120px; height: 120px; }
.foot__head { margin: 0 0 4px; color: var(--color-on-dark); font-size: var(--text-md); font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot__label { min-height: 44px; display: flex; align-items: center; }
.foot__legal { margin-top: 24px; margin-bottom: 0; font-size: var(--text-sm); }

/* ── 404 ───────────────────────────────────────────────────── */
.missing { padding-block: 48px; max-width: var(--measure); }
.prose .grid { padding-left: 0; }
.prose p > a + a { margin-left: 16px; }
.masthead a:hover { color: var(--color-teal-light); }
.video { display: block; margin: 0 0 16px; }
.video__play { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius-md); background: var(--color-navy); color: var(--color-on-dark); font: 600 var(--text-md)/1.2 var(--font-sans); cursor: pointer; }
.video__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--color-teal); position: relative; }
.video__icon::after { content: ''; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--color-on-dark); }
.video__play:hover .video__icon { background: var(--color-teal-dark); }
.video__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-md); }
.contact-links { list-style: none; margin: 0 0 24px; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); background: var(--color-teal-dark); color: var(--color-white); text-decoration: none; font-weight: 600; }
.contact-links a:hover { background: var(--color-navy); color: var(--color-white); }
