/* ============================================
   NINTRI TAVERNA: STYLESHEET
   ============================================ */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root{
  --ink: #241D16;
  --ink-soft: #4B4438;
  --paper: #FAF5EC;
  --paper-warm: #F3EADA;
  --aegean: #123A5C;
  --aegean-deep: #0B2740;
  --aegean-light: #3E6E93;
  --terracotta: #C1602E;
  --terracotta-deep: #9C4A22;
  --terracotta-soft: #E8B79A;
  --wood: #8A6240;
  --olive: #707A45;
  --line: rgba(36,29,22,0.12);

  /* Three-role type system: an idiosyncratic display serif used sparingly,
     a typewriter/ticket mono for labels, prices and data, and a quiet
     grotesque for reading text. */
  --font-display: "Alegreya", Georgia, serif;
  /* Labels, prices, and nav now share the body face: the separate
     typewriter/mono accent face was dropped site-wide per feedback. */
  --font-mono: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --header-h: 78px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{ margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--aegean-deep); }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }

section[id]{ scroll-margin-top: var(--header-h); }

:focus-visible{
  outline: 2.5px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Paper grain: breaks up flat colour fields so nothing reads as a clean
   vector render. Very low opacity, sits above everything, blocks nothing. */
.grain-overlay{
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.section-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 16px;
}
.section-heading{
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.section-heading em{ color: var(--terracotta); font-style: italic; }

/* Hand-drawn underline doodle under a keyword in a heading */
.doodle-wrap{ position: relative; display: inline-block; white-space: nowrap; }
.doodle-underline{
  position: absolute;
  left: -2%; right: -2%; bottom: -0.14em;
  width: 104%;
  height: 0.3em;
  overflow: visible;
}
.doodle-underline path{
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 0.9s ease 0.35s;
}
.reveal.in-view .doodle-underline path{ stroke-dashoffset: 0; }

/* Heading reveal: a curtain wipe rather than a plain fade, reserved for
   the big section headings so it reads as a deliberate, singular moment. */
.section-heading.reveal{
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(.4,0,.2,1);
}
.section-heading.reveal.in-view{ clip-path: inset(0 0 0 0); }

/* ============================================
   BUTTONS: fill-sweep on hover instead of a flat colour swap
   ============================================ */
.btn{
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 3px;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.btn--solid{
  background: var(--terracotta);
  color: var(--paper);
  box-shadow: 0 6px 18px rgba(193,96,46,0.28);
}
.btn--solid::before{ background: var(--terracotta-deep); }
.btn--solid:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(193,96,46,0.38);
}
.btn--solid:hover::before{ transform: scaleX(1); }

.btn--outline{
  background: transparent;
  border-color: rgba(250,245,236,0.65);
  color: var(--paper);
}
.btn--outline::before{ background: rgba(250,245,236,0.14); transform-origin: right; }
.btn--outline:hover{ border-color: var(--paper); transform: translateY(-2px); }
.btn--outline:hover::before{ transform: scaleX(1); }

.btn--dark{ background: var(--aegean); color: var(--paper); }
.btn--dark::before{ background: var(--aegean-deep); }
.btn--dark:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,39,64,0.3); }
.btn--dark:hover::before{ transform: scaleX(1); }

/* ============================================
   MEANDER PATTERN (signature motif)
   ============================================ */
/* Flourish rule divider — echoes the ornamental rule used on the taverna's
   own printed menu (thin line, small flourish, thin line) instead of an
   invented Greek-key pattern. */
.flourish-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 0;
  background: var(--paper);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(.4,0,.2,1);
}
.flourish-divider.in-view{ clip-path: inset(0 0 0 0); }
.flourish-divider .rule{ flex: 1; max-width: 280px; height: 1px; background: var(--line); }
.flourish-divider svg{ flex-shrink: 0; }

.lang-gate-flourish{ margin: 0 auto 22px; opacity: 0.85; }

/* Infinite ticket ribbon: a second signature motion, thematically the
   taverna's chalkboard specials rail rather than decoration for its own sake. */
.ribbon{
  background: var(--aegean-deep);
  overflow: hidden;
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(193,96,46,0.35);
  border-bottom: 1px solid rgba(193,96,46,0.35);
}
.ribbon-track{
  display: flex;
  width: max-content;
  white-space: nowrap;
  padding: 13px 0;
  animation: ribbon-scroll 42s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(250,245,236,0.82);
}
.ribbon-track span{ padding: 0 22px; }
.ribbon-track .ribbon-dot{ opacity: 0.55; padding: 0 2px; color: var(--terracotta-soft); font-style: normal; }
@keyframes ribbon-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .ribbon-track{ animation: none; } }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled{
  background: rgba(11,39,64,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(11,39,64,0.15);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.01em;
}
.brand .brand-word em{ font-style: italic; color: var(--terracotta-soft); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a{
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 6px 0;
  opacity: 0.88;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}
.nav-links a:hover{ opacity: 1; }
.nav-links a:hover::after{ width: 100%; }

.nav-cta-wrap{ display: flex; align-items: center; gap: 20px; }
.nav-cta-wrap .btn{ padding: 12px 24px; font-size: 0.86rem; }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 26px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.nav-toggle span{
  display: block;
  height: 2px;
  width: 100%;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(11px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 900px){
  .nav-links, .nav-cta-wrap .btn{ display: none; }
  .nav-toggle{ display: flex; }
  .nav-cta-wrap{ gap: 0; }

  .mobile-panel{
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--aegean-deep);
    padding: 10px 28px 34px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 16px 30px rgba(0,0,0,0.25);
  }
  .mobile-panel.is-open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-panel a{
    font-family: var(--font-mono);
    color: var(--paper);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(250,245,236,0.12);
  }
  .mobile-panel .btn{ margin-top: 16px; align-self: flex-start; }
}
@media (min-width: 901px){ .mobile-panel{ display: none; } }

/* ============================================
   LANGUAGE SWITCH + GATE
   ============================================ */
/* !important is deliberate here: this hide rule must always win over any
   component's own `display` value, or a more specific/later-declared rule
   elsewhere (e.g. `.menu-item .desc{display:block}`)
   can override it and both languages render at once. */
:root:not([data-lang]) .i18n-el{ display: none !important; }
[data-lang="en"] .i18n-el{ display: none !important; }
[data-lang="el"] .i18n-en{ display: none !important; }

.lang-switch{ display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; }
.lang-btn{ background: none; border: none; color: rgba(250,245,236,0.55); padding: 4px 5px; transition: color 0.25s ease; }
.lang-btn:hover{ color: var(--paper); }
.lang-btn.is-active{ color: var(--terracotta-soft); }
.lang-sep{ color: rgba(250,245,236,0.3); font-size: 0.8rem; }

@media (max-width: 900px){
  .nav-cta-wrap .lang-switch{ display: none; }
  .mobile-panel .lang-switch{ display: flex; margin-top: 18px; gap: 10px; font-size: 0.9rem; }
  .mobile-panel .lang-btn{ padding: 6px 10px; border: 1px solid rgba(250,245,236,0.25); border-radius: 4px; }
  .mobile-panel .lang-btn.is-active{ background: rgba(250,245,236,0.1); border-color: var(--terracotta-soft); }
}

.lang-gate{
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.lang-gate.is-open{ opacity: 1; pointer-events: auto; }
.lang-gate-backdrop{ position: absolute; inset: 0; background: rgba(11,39,64,0.72); backdrop-filter: blur(3px); }
.lang-gate-card{
  position: relative;
  background: var(--paper);
  border-radius: 8px;
  max-width: 420px; width: 100%;
  padding: 38px 34px 34px;
  text-align: center;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s cubic-bezier(.2,.6,.2,1);
}
.lang-gate.is-open .lang-gate-card{ transform: translateY(0) scale(1); }
.lang-gate-card h2{ font-size: 1.35rem; line-height: 1.4; margin-bottom: 10px; }
.lang-gate-divider{ color: var(--terracotta); font-style: normal; margin: 0 4px; }
.lang-gate-note{ color: var(--ink-soft); font-size: 0.86rem; line-height: 1.6; margin-bottom: 26px; }
.lang-gate-options{ display: flex; gap: 14px; }
.lang-gate-btn{
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 12px;
  background: var(--paper-warm);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.lang-gate-btn:hover{ border-color: var(--terracotta); transform: translateY(-2px); }
.lang-gate-btn.is-suggested{ border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(193,96,46,0.12); }
.lang-gate-code{ font-family: var(--font-display); font-size: 1.2rem; color: var(--aegean-deep); }
.lang-gate-name{ font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* ============================================
   HERO
   ============================================ */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg{
  position: absolute;
  inset: -12% 0;
  background: linear-gradient(155deg, rgba(11,39,64,0.84) 0%, rgba(18,58,92,0.62) 45%, rgba(193,96,46,0.42) 100%),
              image-set(url("images/hero.webp") type("image/webp") 1x, url("images/hero.jpg") type("image/jpeg") 1x) center 60% / cover no-repeat;
  will-change: transform;
}
.hero-content{ position: relative; z-index: 2; max-width: 660px; padding-top: var(--header-h); }
.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  margin-bottom: 26px;
}

.hero h1{ margin-bottom: 26px; }
.hero-line{ display: block; }
.hero-line--small{
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(250,245,236,0.88);
  text-transform: none;
  margin-bottom: 6px;
}
.hero-line--big{
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  line-height: 0.98;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.hero-line--big em{ font-style: italic; color: var(--terracotta-soft); }

.hero p{
  position: relative; z-index: 2;
  color: rgba(250,245,236,0.9);
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 38px;
}
.hero-actions{ position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.6,.2,1);
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view{ transition-delay: 0.1s; }
.reveal-delay-2.in-view{ transition-delay: 0.2s; }
.reveal-delay-3.in-view{ transition-delay: 0.3s; }

/* ============================================
   ABOUT: collage treatment
   ============================================ */
.about{ padding: 118px 0 106px; background: var(--paper); overflow: visible; }
.about-grid{
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 76px;
  align-items: center;
}
.about-media{ position: relative; padding: 20px 46px 46px 6px; }
.about-media .frame-main{
  position: relative;
  border-radius: 3px;
  border: 10px solid var(--paper);
  outline: 1.5px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(36,29,22,0.35);
  aspect-ratio: 4/5;
  overflow: hidden;
  transform: rotate(-2.2deg);
  transition: transform 0.5s ease;
}
.about-media .frame-main img{ width: 100%; height: 100%; object-fit: cover; }
.about-media .frame-inset{
  position: absolute;
  bottom: 0; right: 0;
  width: 48%;
  aspect-ratio: 1/1;
  border-radius: 3px;
  border: 8px solid var(--paper);
  box-shadow: 0 20px 40px -14px rgba(36,29,22,0.4);
  overflow: hidden;
  transform: rotate(3.5deg);
  transition: transform 0.5s ease;
}
.about-media .frame-inset img{ width: 100%; height: 100%; object-fit: cover; }
.about-media .frame-inset::before{
  content: "";
  position: absolute;
  top: -13px; left: 22px;
  width: 66px; height: 24px;
  background: rgba(250,245,236,0.6);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transform: rotate(-7deg);
  z-index: 2;
}
.about-media:hover .frame-main{ transform: rotate(-0.5deg); }
.about-media:hover .frame-inset{ transform: rotate(1deg); }

.about-body p{ color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 18px; }
.about-lead{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--aegean);
  line-height: 1.5;
  margin: 22px 0 26px;
  padding-left: 20px;
  border-left: 3px solid var(--terracotta);
}
.about-facts{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.about-fact{ display: flex; flex-direction: column; gap: 8px; }
.about-fact svg{ color: var(--terracotta); }
.about-fact span{ font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--aegean-deep); }

/* ============================================
   MENU: full menu, flowing across columns instead of 3 fixed pricing cards
   ============================================ */
.menu-section{ padding: 96px 0 116px; background: var(--paper-warm); position: relative; }
.menu-head{ max-width: 620px; margin-bottom: 56px; }
.menu-head p{ color: var(--ink-soft); font-size: 1.02rem; margin-top: 16px; }

.menu-ticket{
  position: relative;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 32px 60px -26px rgba(36,29,22,0.38);
  transform: rotate(-0.35deg);
  padding: 54px 46px 46px;
}
.menu-ticket::before{
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0; height: 15px;
  background-image: radial-gradient(circle at 10px 0, transparent 7px, var(--paper-warm) 7.5px);
  background-size: 22px 15px;
  background-repeat: repeat-x;
}
.menu-ticket-grid{
  columns: 3 300px;
  column-gap: 48px;
  column-rule: 1.5px dashed var(--line);
}
.menu-ticket-col{
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;
  width: 100%;
  vertical-align: top;
  margin-bottom: 38px;
}

.menu-ticket-col h3{ font-size: 1.32rem; color: var(--aegean-deep); margin-bottom: 3px; margin-top: 2px; }
.menu-card-sub{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
  margin-bottom: 26px;
}

.menu-item{
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.menu-ticket-col.in-view .menu-item{ opacity: 1; transform: translateY(0); }
.menu-ticket-col .menu-item:nth-of-type(1){ transition-delay: 0.03s; }
.menu-ticket-col .menu-item:nth-of-type(2){ transition-delay: 0.08s; }
.menu-ticket-col .menu-item:nth-of-type(3){ transition-delay: 0.13s; }
.menu-ticket-col .menu-item:nth-of-type(4){ transition-delay: 0.18s; }
.menu-ticket-col .menu-item:nth-of-type(5){ transition-delay: 0.23s; }
.menu-ticket-col .menu-item:nth-of-type(n+6){ transition-delay: 0.28s; }
.menu-item:last-child{ margin-bottom: 0; }

.menu-item-row{ display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.menu-item-row .name{
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
}
.menu-item-row .dots{ flex: 1; min-width: 16px; border-bottom: 1.5px dotted rgba(36,29,22,0.3); height: 0; transform: translateY(-4px); }
.menu-item-row .price{ font-family: var(--font-mono); font-weight: 700; color: var(--terracotta-deep); font-size: 0.94rem; white-space: nowrap; }
.menu-item .desc{ display: block; font-size: 0.87rem; color: var(--ink-soft); font-style: italic; margin-top: 4px; }

@media (max-width: 900px){
  .menu-ticket{ padding: 46px 26px 38px; transform: none; }
  .menu-ticket-grid{ columns: 1; column-rule: none; }
  .menu-ticket-col{ margin-bottom: 34px; }
}
@media (min-width: 901px) and (max-width: 1180px){
  .menu-ticket-grid{ columns: 2 300px; }
}

/* ============================================
   GALLERY: polaroid scatter
   ============================================ */
.gallery-section{ padding: 108px 0 118px; background: var(--paper); }
.gallery-head{ margin-bottom: 54px; max-width: 620px; }
.gallery-head p{ color: var(--ink-soft); font-size: 1.02rem; margin-top: 16px; }

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 128px;
  grid-auto-flow: dense;
  gap: 22px;
  padding: 10px;
}
.gal-item{
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: zoom-in;
  background: var(--ink);
  border: 8px solid var(--paper);
  box-shadow: 0 16px 30px -14px rgba(36,29,22,0.35);
  transform: translateY(28px) rotate(0deg);
  transition: transform 0.35s cubic-bezier(.2,.6,.2,1), box-shadow 0.35s ease;
}
.gal-item.reveal.in-view{ transform: translateY(0) rotate(var(--rot, 0deg)); }
.gal-item:hover{ transform: translateY(-8px) rotate(0deg); box-shadow: 0 26px 46px -16px rgba(36,29,22,0.45); z-index: 5; }
.gal-item--tall{ grid-row: span 2; }
.gal-item--wide{ grid-column: span 2; }
.gal-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.6,.2,1); }
.gal-item::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,39,64,0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
/* Expand-icon overlay, centered on the photo: pure CSS, no per-item markup needed */
.gal-item::before{
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 50px; height: 50px;
  margin: -25px 0 0 -25px;
  border-radius: 50%;
  background-color: rgba(250,245,236,0.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 3H3v6M15 3h6v6M9 21H3v-6M15 21h6v-6' stroke='%230B2740' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  opacity: 0;
  scale: 0.7;
  transition: opacity 0.3s ease, scale 0.3s ease;
  z-index: 2;
}
.gal-item .gal-caption{
  position: absolute;
  left: 12px; bottom: 10px;
  font-family: var(--font-mono);
  color: var(--paper);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1;
}
.gal-item:hover img{ transform: scale(1.06); }
.gal-item:hover::after{ opacity: 1; }
.gal-item:hover::before{ opacity: 1; scale: 1; }
.gal-item:hover .gal-caption{ opacity: 1; transform: translateY(0); }

@media (max-width: 720px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 168px; gap: 16px; }
  .gal-item--tall, .gal-item--wide{ grid-column: span 1; grid-row: span 1; }
}

/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(11,15,20,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open{ opacity: 1; pointer-events: auto; }
.lightbox img{ max-width: 90vw; max-height: 85vh; border-radius: 4px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.lightbox-close{ position: absolute; top: 26px; right: 30px; background: none; border: none; color: var(--paper); font-size: 1.6rem; line-height: 1; padding: 10px; }

/* ============================================
   CONTACT / FOOTER
   ============================================ */
.contact-section{ background: var(--aegean-deep); color: var(--paper); padding: 40px 0 0; }
.contact-grid{ display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; padding: 60px 0 90px; }
.contact-info .section-eyebrow{ color: var(--terracotta-soft); }
.contact-info h2{ color: var(--paper); margin-bottom: 26px; }
.contact-info p.lead{ color: rgba(250,245,236,0.78); font-size: 1.02rem; margin-bottom: 36px; max-width: 440px; }

.contact-list{ display: flex; flex-direction: column; gap: 26px; margin-bottom: 36px; }
.contact-list li{ display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon{ width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: rgba(250,245,236,0.08); display: flex; align-items: center; justify-content: center; color: var(--terracotta-soft); }
.contact-list .label{ display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,245,236,0.55); margin-bottom: 4px; }
.contact-list .value{ font-size: 1.02rem; color: var(--paper); }

.social-row{ display: flex; gap: 14px; }
.social-row a{ width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(250,245,236,0.3); display: flex; align-items: center; justify-content: center; color: var(--paper); transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.social-row a:hover{ background: var(--terracotta); border-color: var(--terracotta); transform: translateY(-3px) rotate(-6deg); }

.map-wrap{ border-radius: 6px; overflow: hidden; border: 1px solid rgba(250,245,236,0.15); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); min-height: 360px; }
.map-wrap iframe{ width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.footer-bottom{
  border-top: 1px solid rgba(250,245,236,0.12);
  padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(250,245,236,0.55);
}
.footer-bottom a:hover{ color: var(--paper); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-media{ margin-bottom: 60px; padding: 20px 30px 40px 0; }
  .contact-grid{ grid-template-columns: 1fr; padding-bottom: 60px; }
}
@media (max-width: 560px){
  .container{ padding: 0 20px; }
  .about-facts{ grid-template-columns: 1fr; gap: 16px; }
  .hero-actions{ flex-direction: column; align-items: flex-start; }
  .hero-actions .btn{ width: 100%; justify-content: center; }
}
