/* louisacalliga.gr — the old site's cream header, dark menu bar and vineyard banner, modernised.
   No framework. EB Garamond (self-hosted, Greek + Latin). */
:root {
  --paper: #fbf7ef;
  --cream: #f4e6c4;
  --cream-2: #fde1a9;          /* the old header's colour */
  --ink: #2c2621;
  --muted: #6d625a;
  --line: #e4d8c3;
  --bar: #2a2420;              /* the old menu bar */
  --wine: #6e1f2e;
  --wine-dark: #45121c;
  --gold: #b08a3e;
  --radius: 6px;
  --wrap: 1140px;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.18rem/1.65 var(--serif); }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--wine-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.3rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; }
.eyebrow { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; font-weight: 600; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.32rem; color: var(--muted); font-style: italic; margin: 0; max-width: 40em; }
.small { font-size: .85rem; }

/* ---------------------------------------------------------------- header */
.site-header { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-logo { width: 92px; height: auto; mix-blend-mode: multiply; }
.brand-word { width: clamp(180px, 26vw, 290px); height: auto; mix-blend-mode: multiply; }
.brand-name { font-size: 2rem; font-style: italic; font-weight: 500; }
.tagline { margin: 0; font-style: italic; color: var(--muted); font-size: 1.05rem; }
.lang-switch { margin: 0 0 0 1rem; display: flex; gap: .15rem; font-size: .9rem; font-weight: 600; letter-spacing: .05em; }
.lang-switch a { padding: .25rem .5rem; border-radius: var(--radius); text-decoration: none; color: var(--muted); }
.lang-switch a[aria-current] { background: var(--bar); color: var(--cream-2); }
.nav-toggle { display: none; }

.site-nav { background: var(--bar); }
.site-nav > ul { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav li { position: relative; display: flex; align-items: center; }
.site-nav a { display: block; padding: .8rem 1rem; color: #eadfc8; text-decoration: none; font-size: 1.05rem; letter-spacing: .02em; }
.site-nav a:hover, .site-nav a:focus-visible { background: #443a33; color: #fff; }
.site-nav a[aria-current] { color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }
.site-nav .nav-shop { color: var(--cream-2); }
.sub-toggle { background: none; border: 0; color: #eadfc8; padding: .8rem .4rem .8rem 0; margin-left: -.6rem; cursor: pointer; font-size: .9rem; }
.site-nav .sub { list-style: none; margin: 0; padding: .4rem 0; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--bar);
  border-top: 2px solid var(--gold); box-shadow: 0 12px 24px rgba(0,0,0,.25); display: none; z-index: 20; }
.site-nav .sub li { display: block; }
.site-nav .sub a { padding: .55rem 1.1rem; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }

/* ---------------------------------------------------------------- home */
.hero { position: relative; background: var(--bar); color: #fff; overflow: hidden; }
.hero-img { width: 100%; height: clamp(260px, 38vw, 460px); object-fit: cover; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,20,16,.62) 0%, rgba(30,20,16,.15) 60%, rgba(30,20,16,0) 100%); }
.hero-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; z-index: 1; }
.hero h1 { color: #fff; font-style: italic; font-size: clamp(2.6rem, 7vw, 4.6rem); margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .eyebrow { color: var(--cream-2); }
.hero-tag { margin: .2rem 0 0; font-size: 1.35rem; font-style: italic; color: #f1e6d0; }

.story { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2.5rem, 6vw, 5rem) 0; align-items: start; }
.story-photo { margin: 0; }
.story-photo img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(60,40,20,.18); }
.dropcap .story-body > p:first-of-type::first-letter { float: left; font-size: 3.6em; line-height: .85; padding: .08em .1em 0 0; color: var(--wine); }

.feature { background: radial-gradient(circle at 20% 30%, #7a2a38 0%, var(--wine-dark) 70%); color: #f6ecd9; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.feature-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.feature-bottle img { max-height: 520px; width: auto; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }
.feature h2 { color: #fff; margin: 0 0 .2em; font-size: clamp(2rem, 4vw, 2.8rem); font-style: italic; }
.feature .eyebrow { color: var(--cream-2); }
.feature-sub { font-style: italic; color: #e7cfa8; margin-top: 0; }
.feature p { max-width: 36em; }

.block { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-title { margin: 0 0 1.2rem; font-size: 1.7rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.cards-wide { margin-top: 2rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60,40,20,.12); color: var(--ink); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.card-img picture, .gallery picture, .hero-img picture { height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-empty { background: linear-gradient(135deg, var(--cream) 0%, #e9d3a6 100%); }
.card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.15rem 1.2rem; flex: 1; }
.card-meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.card-title { font-size: 1.35rem; line-height: 1.25; font-weight: 500; }
.card-text { font-size: 1rem; color: var(--muted); line-height: 1.5; }
.card-more { margin-top: auto; padding-top: .5rem; font-size: .95rem; color: var(--wine); }

/* ---------------------------------------------------------------- text pages */
.page { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem); max-width: 820px; }
.page-wide { max-width: var(--wrap); }
.page-narrow { max-width: 760px; }
.page-head { margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.page-photo { margin: 0 0 2rem; }
.page-photo img { border-radius: var(--radius); margin: 0 auto; max-height: 70vh; width: auto; }
.prose { overflow-wrap: break-word; }
.prose p { margin: 0 0 1.05em; }
.prose h2 { font-size: 1.55rem; margin: 1.8em 0 .6em; color: var(--wine); }
.prose figure { margin: .4rem 0 1.4rem; clear: both; }
.prose figure img { border-radius: 4px; margin: 0 auto; }
.prose figcaption { font-size: .9rem; color: var(--muted); font-style: italic; text-align: center; margin-top: .4rem; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2rem; border-left: 3px solid var(--gold); font-style: italic; color: var(--muted); }
.prose > :last-child { margin-bottom: 0; }
@media (min-width: 720px) {
  /* the old articles' photo-beside-text tables: the photos float in a column on the right */
  .prose figure { width: min(38%, 270px); float: right; margin: .3rem 0 1.4rem 2rem; clear: right; }
  .prose figure:only-of-type { float: none; width: auto; margin: 0 0 1.6rem; }
  .prose h2 { clear: both; }
}
.prose::after { content: ''; display: block; clear: both; }
.siblings { border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- photos */
.album { margin: 0 0 3rem; }
.album-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.2rem; margin-bottom: 1rem; }
.album-head h2 { margin: 0; }
.album-head p { margin: 0; color: var(--muted); font-style: italic; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--cream); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20,14,12,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 90vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: #e8dcc6; margin-top: .7rem; font-style: italic; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.8rem; line-height: 1; cursor: pointer; padding: .6rem 1rem; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: .5rem; right: .5rem; }
.lb-prev { left: .3rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .3rem; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------- wine page */
.product { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); padding: clamp(2rem, 5vw, 4rem) 0; align-items: start; }
.product-media { position: sticky; top: 1.5rem; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--cream) 75%); border-radius: var(--radius); padding: 2rem 1rem; }
.product-bottle img { max-height: 620px; width: auto; margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(60,40,20,.25)); }
.product-gallery { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.product-gallery img { width: 140px; border-radius: 4px; background: #fff; }
.product h1 { font-style: italic; margin-bottom: .1em; }
.product-sub { font-style: italic; color: var(--muted); margin-top: 0; font-size: 1.25rem; }
.price { font-size: 1.4rem; color: var(--wine); }
.price span { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-right: .4rem; }
.where { margin-top: 2rem; padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.where h2 { margin: 0 0 .8rem; font-size: 1.35rem; }
.where-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .5rem 1.5rem; }
.where-list p { margin: 0; font-size: 1.05rem; }

.order { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.order-box { background: var(--cream); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.6rem); max-width: 860px; margin: 0 auto; }
.order-box h2 { margin-top: 0; }

/* ---------------------------------------------------------------- forms */
.form label { display: block; font-size: 1rem; margin-bottom: 1rem; }
.form small { color: var(--muted); }
.form input, .form textarea { display: block; width: 100%; margin-top: .3rem; padding: .65rem .8rem; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 1px solid #d6c7ad; border-radius: var(--radius); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form fieldset { border: 0; padding: 0; margin: 1.5rem 0 0; }
.form legend { font-weight: 600; margin-bottom: .6rem; }
.form-error { color: #a1192b; font-size: .95rem; margin: -.6rem 0 1rem; }
.notice { background: #eef4e6; border: 1px solid #c8dcb3; color: #2f4a1c; padding: .9rem 1.1rem; border-radius: var(--radius); }
.ideas-list { margin: 0; padding: 0 0 0 1.4rem; }
.ideas-list li { margin-bottom: 1.2rem; padding-left: .3rem; }
.ideas-list li::marker { color: var(--gold); font-weight: 600; }
.ideas-list label { font-style: italic; font-size: 1.15rem; margin: 0; }
.captcha { margin: .5rem 0 1rem; min-height: 0; }
.button { display: inline-block; background: var(--wine); color: #fff; border: 0; border-radius: 999px; padding: .75rem 1.8rem; font: inherit; font-size: 1.05rem;
  letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: background .2s; }
.button:hover { background: var(--wine-dark); color: #fff; }
.button-light { background: var(--cream-2); color: var(--wine-dark); }
.button-light:hover { background: #fff; color: var(--wine-dark); }
.button-outline { background: none; color: var(--wine); border: 1px solid var(--wine); }
.button-outline:hover { background: var(--wine); color: #fff; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 2rem 0; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.not-found { text-align: center; padding: 5rem 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--bar); color: #cfc3ad; margin-top: 2rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
.footer-brand { font-size: 1.6rem; font-style: italic; color: var(--cream-2); margin: 0 0 .4rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .35rem; }
.site-footer a { color: #eadfc8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin: 0 0 .5rem; }
.social { display: flex; gap: 1rem; }
.site-footer .copyright { border-top: 1px solid #443a33; padding: 1rem 0 1.4rem; font-size: .85rem; color: #9d917f; margin: 0 auto; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 860px) {
  .tagline { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: var(--bar); border: 0;
    border-radius: var(--radius); cursor: pointer; padding: 0 11px; }
  .nav-toggle span:not(.visually-hidden) { display: block; height: 2px; background: var(--cream-2); border-radius: 2px; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; padding: .4rem 0; }
  .site-nav li { flex-wrap: wrap; }
  .site-nav li > a { flex: 1; }
  .sub-toggle { margin: 0; padding: .8rem 1rem; }
  .site-nav .sub { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 .4rem 1rem; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .story, .feature-row, .product { grid-template-columns: 1fr; }
  .story-photo { max-width: 380px; }
  .feature-bottle img { max-height: 340px; }
  .product-media { position: static; }
  .product-bottle img { max-height: 420px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 560px) {
  body { font-size: 1.1rem; }
  .header-row { gap: .6rem; }
  .brand { gap: .5rem; min-width: 0; }
  .brand-logo { width: 48px; }
  .brand-word { width: min(140px, 36vw); }
  .story-photo { max-width: 240px; }
  .lang-switch { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
