/* FAME IOANNINA — styles */
:root {
  --fame-red: #E63027;
  --ink: #0F0F0F; --paper: #FAFAFA;
  --bg: var(--paper); --bg-2: #F3F3F1; --bg-elev: #FFFFFF;
  --fg: var(--ink); --fg-2: #3A3A3A; --fg-3: #6B6B6B;
  --border: #E6E6E2; --accent: var(--fame-red); --on-accent: #fff;
  --font-display: "Archivo Black","Arial Black",Impact,sans-serif;
  --font-body: "Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-scribble: "Caveat","Permanent Marker",cursive;
  --max-w: 1360px; --nav-h: 72px; --radius: 2px;
  --shadow-2: 0 10px 30px rgba(0,0,0,0.08);
}
html[data-theme="dark"] {
  --bg: #0A0A0A; --bg-2: #121212; --bg-elev: #161616;
  --fg: #F5F5F3; --fg-2: #C9C9C4; --fg-3: #8E8E87;
  --border: #232321; --accent: #FF3B30;
}
*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg); color: var(--fg); line-height: 1.55; -webkit-font-smoothing: antialiased; transition: background-color .25s ease, color .25s ease; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1,h2,h3,h4 { font-family: var(--font-display); line-height: 0.95; letter-spacing: -0.01em; margin: 0 0 0.4em; font-weight: 900; }
h1 { font-size: clamp(44px, 7vw, 120px); letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 60px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; font-weight: 600; color: var(--fg-3); }
.scribble { font-family: var(--font-scribble); color: var(--accent); font-size: 1.4em; line-height: 1; }
/* For Greek, Caveat has poor Greek glyph coverage — use the display font but keep accent color. */
html[lang="el"] .scribble { font-family: var(--font-display); font-size: inherit; }

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

.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg-2); position: relative; }
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 6px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'><path d='M2 3 C 20 1, 40 5, 60 2 S 95 5, 98 3' stroke='%23E63027' stroke-width='2.2' fill='none' stroke-linecap='round'/></svg>"); background-size: 100% 100%; }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; color: var(--fg-2); border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--bg-2); color: var(--fg); border-color: var(--border); }
.lang-toggle { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--bg-2); }
.lang-toggle button { padding: 5px 12px; font-size: 12px; font-weight: 600; border-radius: 999px; color: var(--fg-3); letter-spacing: 0.08em; }
.lang-toggle button.on { background: var(--fg); color: var(--bg); }
.mobile-menu-btn { display: none; }
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px; gap: 2px; z-index: 60; }
  .nav-links.open a { padding: 14px 16px; font-size: 16px; }
  .mobile-menu-btn { display: grid; }
}
@media (max-width: 560px) {
  .nav-tools .chip { display: none; }
  .brand { font-size: 22px; }
}

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius); border: 2px solid var(--fg); background: var(--fg); color: var(--bg); transition: transform .15s ease, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { box-shadow: 4px 4px 0 var(--fg); }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-2); border: 1px solid var(--border); color: var(--fg-2); }
.chip.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.live { color: #16a34a; }
.chip.live::before { background: #16a34a; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.chip.closed { color: var(--accent); }

.ph { position: relative; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: grid; place-items: center; }
.ph::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(230,48,39,0.06) 11px 12px); }
.ph-label { position: relative; font-family: "JetBrains Mono","Menlo",monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); background: var(--bg-elev); border: 1px solid var(--border); padding: 6px 10px; max-width: 80%; text-align: center; }
.ph-corner { position: absolute; top: 10px; left: 10px; font-family: "JetBrains Mono",monospace; font-size: 10px; color: var(--fg-3); letter-spacing: 0.1em; }

.menu-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--border); align-items: center; transition: transform .2s; }
.menu-item:hover { transform: translateX(4px); }
.menu-item:hover .mi-title { color: var(--accent); }
.menu-item:hover .mi-thumb { transform: scale(1.04) rotate(-1deg); }
.mi-thumb { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; flex-shrink: 0; border: 1px solid var(--border); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); transition: transform .2s; }
.mi-thumb-letter { font-family: var(--font-display); font-size: 24px; color: rgba(255,255,255,0.95); text-shadow: 0 1px 2px rgba(0,0,0,0.25); letter-spacing: -0.02em; }
.mi-body { min-width: 0; }
.mi-title { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); margin: 0 0 6px; line-height: 1.1; transition: color .15s; }
.mi-desc { color: var(--fg-2); font-size: 14px; max-width: 60ch; }
.mi-price { font-family: var(--font-display); font-size: 22px; color: var(--accent); white-space: nowrap; padding: 4px 10px; }
@media (max-width: 560px) { .menu-item { grid-template-columns: 44px 1fr auto; gap: 12px; } .mi-thumb { width: 44px; height: 44px; border-radius: 10px; } .mi-thumb-letter { font-size: 20px; } }

.cat-card { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); display: flex; align-items: flex-end; padding: 24px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-2); }
.cat-card-title { position: relative; font-family: var(--font-display); font-size: clamp(22px, 2vw, 30px); line-height: 1; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3,.grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3,.grid-4 { grid-template-columns: 1fr; } }

.footer { background: var(--ink); color: #E8E8E4; padding: 80px 0 32px; margin-top: 80px; }
html[data-theme="dark"] .footer { background: #050505; }
.footer a { color: #E8E8E4; }
.footer a:hover { color: var(--accent); }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: #8A8A84; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid #1f1f1f; display: flex; justify-content: space-between; font-size: 12px; color: #777; flex-wrap: wrap; gap: 12px; }

.intro-overlay { position: fixed; inset: 0; background: var(--ink); z-index: 200; display: grid; place-items: center; animation: introOut 1.6s ease .8s forwards; overflow: hidden; }
.intro-overlay svg { width: min(80vw, 700px); height: auto; }
.intro-overlay path { stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: drawFame 1.1s ease forwards; }
.intro-overlay path:nth-child(2) { animation-delay: .12s; stroke: var(--accent); }
.intro-overlay path:nth-child(3) { animation-delay: .24s; }
.intro-overlay path:nth-child(4) { animation-delay: .36s; stroke: var(--accent); }
@keyframes drawFame { to { stroke-dashoffset: 0; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; transform: translateY(-30px); } }
.intro-overlay.done { display: none; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

.hero { padding: 40px 0 80px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(60px, 10vw, 150px); line-height: 0.86; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-media { aspect-ratio: 4/5; border-radius: var(--radius); position: relative; overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); }
.hero-sticker { position: absolute; width: 140px; height: 140px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 50%; transform: rotate(-12deg); font-family: var(--font-scribble); text-align: center; font-size: 22px; line-height: 1; padding: 10px; box-shadow: var(--shadow-2); }

.menu-layout { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) {
  .menu-layout { grid-template-columns: 1fr; gap: 24px; }
  .menu-sidebar { position: sticky; top: var(--nav-h); max-height: none; overflow-x: auto; overflow-y: hidden; padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--border); margin-bottom: 8px; z-index: 20; }
  .menu-sidebar ol { display: flex; gap: 4px; flex-wrap: nowrap; }
  .menu-sidebar li { flex: 0 0 auto; }
  .menu-sidebar a { white-space: nowrap; padding: 8px 12px; border-left: none; border-bottom: 2px solid transparent; }
  .menu-sidebar a.current { border-left-color: transparent; border-bottom-color: var(--accent); background: transparent; }
}
.menu-sidebar { position: sticky; top: calc(var(--nav-h) + 16px); max-height: calc(100vh - var(--nav-h) - 32px); overflow: auto; padding-right: 8px; }
.menu-sidebar ol { list-style: none; margin: 0; padding: 0; counter-reset: cat; }
.menu-sidebar li { counter-increment: cat; }
.menu-sidebar a { display: flex; gap: 10px; padding: 8px 10px; font-size: 14px; color: var(--fg-3); border-radius: 4px; border-left: 2px solid transparent; transition: all .15s; }
.menu-sidebar a::before { content: counter(cat, decimal-leading-zero); font-family: "JetBrains Mono",monospace; font-size: 10px; color: var(--fg-3); padding-top: 3px; }
.menu-sidebar a:hover { color: var(--fg); }
.menu-sidebar a.current { color: var(--accent); border-left-color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, transparent); }

.menu-cat-header { display: flex; align-items: end; justify-content: space-between; border-bottom: 2px solid var(--fg); padding-bottom: 14px; margin-bottom: 12px; }
.menu-cat-header h2 { margin: 0; }
.menu-cat-index { font-family: "JetBrains Mono",monospace; color: var(--fg-3); font-size: 12px; letter-spacing: 0.15em; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--fg-3); font-weight: 700; }
.field input,.field textarea,.field select { padding: 14px 16px; font: inherit; color: var(--fg); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); }
.field input:focus,.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent); }
.field textarea { min-height: 140px; resize: vertical; }

.muted { color: var(--fg-3); }
.grain-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 90; display: none; opacity: 0.14; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>"); }
.ticker { background: var(--fg); color: var(--bg); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 40px; animation: tickerScroll 40s linear infinite; font-family: var(--font-display); font-size: 22px; }
.ticker-track .dot { color: var(--accent); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.price-big { display: inline-block; font-family: var(--font-display); color: var(--accent); font-size: clamp(48px, 7vw, 92px); line-height: 1; }
.quote { padding: 28px; border: 1px solid var(--border); background: var(--bg-elev); border-radius: var(--radius); position: relative; }
.quote::before { content: "“"; position: absolute; top: -18px; left: 14px; font-family: var(--font-display); color: var(--accent); font-size: 80px; line-height: 1; }
.quote p { margin: 8px 0 16px; font-size: 16px; }
.quote .who { font-size: 13px; color: var(--fg-3); font-weight: 600; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
.ig-grid .ph { aspect-ratio: 1; border-radius: 0; }
.ig-grid .ph-label { display: none; }

.cat-hero { background: var(--accent); color: #fff; padding: 60px 0 80px; position: relative; overflow: hidden; }
.cat-hero h1 { color: #fff; font-size: clamp(60px, 9vw, 140px); }
.cat-hero .eyebrow { color: rgba(255,255,255,0.7); }

.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }
.product-media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); position: relative; }

.offer-card { position: relative; padding: 32px; border: 1px solid var(--border); background: var(--bg-elev); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.offer-card.featured { background: var(--ink); color: #F5F5F3; border-color: var(--ink); }
.offer-card.featured h3 { color: #fff; }
.offer-badge { align-self: flex-start; background: var(--accent); color: #fff; font-family: var(--font-display); padding: 6px 12px; font-size: 13px; transform: rotate(-2deg); }
.offer-meta { font-family: "JetBrains Mono",monospace; font-size: 12px; color: var(--fg-3); letter-spacing: 0.1em; }

.info-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.info-list li { display: grid; grid-template-columns: 120px 1fr auto; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: center; gap: 20px; }
.info-list .k { font-family: "JetBrains Mono",monospace; font-size: 11px; letter-spacing: 0.15em; color: var(--fg-3); text-transform: uppercase; }
.info-list .v { font-size: 16px; }
.info-list .x { font-family: var(--font-display); color: var(--accent); }

.map { aspect-ratio: 16/9; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }
html[data-theme="dark"] .map iframe { filter: invert(92%) hue-rotate(180deg) saturate(0.3); }
