/* =========================================================
   HiFiTurk — shared design system
   Concept: the front panel of a 1970s receiver.
   Brushed aluminium panels + smoked-glass dial windows,
   dial-lamp blue light, amber tuning pointer, walnut cheeks.
   ========================================================= */

/* =========================================================
   Phase 2 direction: MODERN premium sound systems.
   Matte graphite + anodised aluminium, acoustic-fabric texture,
   cool display light (--lamp) and a signal-orange LED accent (--amber).
   (Token names kept from phase 1 so all page CSS keeps working.)
   ========================================================= */
:root {
  /* palette */
  --alu-100: #F3F4F5;   /* anodised aluminium, light surface */
  --alu-300: #D8DBDF;   /* aluminium, shadowed */
  --alu-600: #6A7078;   /* laser-etched label grey */
  --glass:   #0E1013;   /* matte graphite / display black */
  --glass-2: #1A1D22;   /* raised graphite */
  --lamp:    #A9D2FF;   /* display light, cool */
  --lamp-dim:#5E86B3;
  --amber:   #FF7A1A;   /* signal LED / active state */
  --walnut:  #23262B;   /* acoustic fabric (dark) */
  --ink:     #14161A;   /* text on light */
  --paper:   #FFFFFF;

  /* semantic */
  --bg: var(--alu-100);
  --fg: var(--ink);
  --muted: #5A6068;
  --line: rgba(20, 22, 26, .12);
  --on-glass: #E8EDF3;
  --on-glass-muted: #8C96A3;

  /* type */
  --font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: "wdth" 118;
  --step--1: clamp(.83rem, .8rem + .15vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.075rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + .9vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.8vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.4vw, 4.6rem);
  --step-5: clamp(2.8rem, 1.6rem + 5.6vw, 6.8rem);

  /* layout */
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius-knob: 999px;
  --radius-panel: 12px;  /* machined, softly radiused */
  --radius-glass: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* smooth anodised surface (no retro brushing) */
  --brushed: linear-gradient(180deg, #F8F9FA 0%, #ECEEF1 100%);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 1;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
h1, h2 { font-variation-settings: var(--wide); }
h1 { font-size: var(--step-5); letter-spacing: -.025em; }
h2 { font-size: var(--step-4); letter-spacing: -.02em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: 68ch; }
::selection { background: var(--amber); color: var(--ink); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: .6em 1em; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 52ch; }

/* ---------- surfaces ---------- */
/* Aluminium panel: the default page body */
.panel-alu { background: var(--brushed); color: var(--ink); }

/* Smoked glass: dial windows, dark sections */
.panel-glass {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(169,210,255,.08), transparent 60%),
    var(--glass);
  color: var(--on-glass);
}
.panel-glass .lede, .panel-glass .muted { color: var(--on-glass-muted); }
.panel-glass a:not(.btn) { color: var(--lamp); }

/* A glass window inset into an aluminium panel */
.window {
  background: var(--glass);
  color: var(--on-glass);
  border-radius: var(--radius-glass);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(0,0,0,.5), 0 18px 40px -18px rgba(0,0,0,.45);
}

/* Walnut cheek: used as a thin vertical/horizontal accent */
.walnut { /* acoustic fabric */
  background:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px) 0 0 / 4px 4px,
    linear-gradient(180deg, #2B2F35, var(--walnut));
}

.muted { color: var(--muted); }
.lamp-text { color: var(--lamp); text-shadow: 0 0 14px rgba(169,210,255,.35); }

/* engraved label, as silk-screened on a faceplate (sentence case, small) */
.engraved {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--alu-600);
  letter-spacing: .02em;
}
.panel-glass .engraved { color: var(--on-glass-muted); }

/* ---------- buttons ----------
   One shape, three weights: primary (solid), secondary (outline), quiet (text).
   Flat surfaces, a hairline edge and a single soft shadow on hover. */
.btn {
  --b-bg: transparent; --b-fg: var(--ink); --b-line: rgba(20,22,26,.22);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em;
  border: 1px solid var(--b-line);
  border-radius: var(--radius-knob);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 650; font-size: .98rem; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { text-decoration: none; border-color: rgba(20,22,26,.5); }
.btn:active { transform: translateY(1px); }
.btn--amber, .btn--primary { --b-bg: var(--ink); --b-fg: #fff; --b-line: var(--ink); }
.btn--amber:hover, .btn--primary:hover { --b-bg: #262A31; border-color: #262A31; box-shadow: 0 10px 24px -14px rgba(0,0,0,.55); }
.btn--glass { --b-bg: transparent; --b-fg: var(--on-glass); --b-line: rgba(255,255,255,.24); }
.btn--glass:hover { --b-bg: rgba(255,255,255,.07); border-color: rgba(255,255,255,.45); }
/* on dark surfaces the primary flips to light */
.panel-glass .btn--amber, .site-footer .btn--amber, .on-dark .btn--amber { --b-bg: #fff; --b-fg: var(--ink); --b-line: #fff; }
.panel-glass .btn--amber:hover, .site-footer .btn--amber:hover, .on-dark .btn--amber:hover { --b-bg: #E9ECEF; border-color: #E9ECEF; }
.panel-glass .btn:not(.btn--amber):not(.btn--glass), .site-footer .btn:not(.btn--amber):not(.btn--glass) { --b-fg: var(--on-glass); --b-line: rgba(255,255,255,.24); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.05rem; }
/* the signal LED is reserved for things that actually switch on (radio power) */
.btn .led { display: none; width: 8px; height: 8px; border-radius: 50%; background: rgba(127,127,127,.45); }
.btn.power .led { display: inline-block; }
/* text link with an arrow, for tertiary actions */
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- chips (filters, tags) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 38px; padding: .35em .95em;
  border-radius: var(--radius-knob);
  border: 1px solid var(--line);
  background: transparent; color: var(--fg);
  font-weight: 600; font-size: var(--step--1); white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: rgba(20,22,26,.4); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .led, .chip::before { display: none !important; }

/* ---------- section head: title left, supporting copy right ---------- */
.section-head { display: grid; gap: 16px 48px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.panel-glass .section-head p { color: var(--on-glass-muted); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; align-items: start; } }
.eyebrow { display: block; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--alu-600); }
.panel-glass .eyebrow { color: var(--on-glass-muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,249,250,.78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 900;
  font-variation-settings: var(--wide);
  font-size: 1.3rem; letter-spacing: -.02em;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .04em; color: var(--alu-600); font-variation-settings: "wdth" 100; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .55em .9em; border-radius: var(--radius-panel);
  font-weight: 600; text-decoration: none;
}
.nav a:not(.btn)::before {     /* indicator lamp: lit only on the current page */
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: transparent; margin-left: -14px; transition: background .2s var(--ease);
}
.nav a:not(.btn) { padding-left: calc(.9em + 6px); }
.nav a:not(.btn):hover { background: rgba(0,0,0,.04); }
.nav a[aria-current="page"]::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.nav a[aria-current="page"] { background: rgba(0,0,0,.05); }
.nav .nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.25);
  background: radial-gradient(circle at 35% 30%, #fff, #D8DBDF 70%);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 50%; top: 8px; width: 3px; height: 14px; background: var(--ink); border-radius: 2px; transform-origin: 50% 16px; transform: translateX(-50%) rotate(-45deg); transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span { transform: translateX(-50%) rotate(45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--glass); color: var(--on-glass);
    padding: 16px var(--gutter) 28px;
    transform: translateY(-120%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s .35s;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: .9em .4em; font-size: 1.25rem; font-variation-settings: var(--wide); }
  .nav a[aria-current="page"] { background: transparent; color: var(--lamp); }
  .nav .nav-cta { margin: 16px 0 0; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--glass); color: var(--on-glass); padding-block: 64px 32px; }
.site-footer a { color: var(--on-glass); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer-grid h2 { font-size: var(--step-0); font-variation-settings: normal; color: var(--on-glass-muted); font-weight: 600; letter-spacing: 0; margin-bottom: .8em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45em; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--lamp); text-decoration: underline; }
.footer-brand p { color: var(--on-glass-muted); max-width: 34ch; }
.footer-base {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(143,216,236,.15);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  color: var(--on-glass-muted); font-size: var(--step--1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- breadcrumb ---------- */
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .4em; font-size: var(--step--1); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4em; opacity: .5; }
.panel-glass .breadcrumb ol { color: var(--on-glass-muted); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }

/* ---------- reveal (one-time, used sparingly) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- product card (shared by home + catalog) ---------- */
.gear-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(0,0,0,.09);
  border-radius: var(--radius-panel);
  overflow: hidden;
  text-align: left;
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
a.gear-card:hover, .gear-card:has(a:hover) { border-color: rgba(0,0,0,.18); box-shadow: 0 18px 40px -26px rgba(0,0,0,.45); }
.gear-card__media { aspect-ratio: 4 / 3; background: var(--glass); display: grid; place-items: center; padding: 18px; position: relative; }
.gear-card__media img { width: 100%; height: 100%; object-fit: contain; }
.gear-card__body { padding: 16px 18px 20px; display: grid; gap: 4px; }
.gear-card__brand { font-size: var(--step--1); font-weight: 700; color: var(--alu-600); }
.gear-card__title { font-size: var(--step-1); font-weight: 800; margin: 0; line-height: 1.2; }
.gear-card__meta { font-size: var(--step--1); color: var(--muted); }
.status {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; color: var(--on-glass);
  background: rgba(0,0,0,.45); padding: .25em .7em; border-radius: 999px;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5BE38A; box-shadow: 0 0 6px #5BE38A; }
.status--reserved::before { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.status--sold::before { background: #888; box-shadow: none; }

/* ---------- prose (articles) ---------- */
.prose { max-width: 68ch; font-size: 1.08rem; line-height: 1.72; }
.prose h2 { font-size: var(--step-3); margin-top: 1.8em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 1em 1.4em; border-left: 4px solid var(--amber); background: rgba(255,255,255,.5); }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; align-content: start; }
.field label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 650; font-size: var(--step--1); }
.field label .opt, .field .opt { font-weight: 500; color: var(--muted); font-size: .8rem; white-space: nowrap; }
.field input, .field select, .field textarea {
  min-height: 48px; padding: .7em .9em;
  border: 1px solid rgba(0,0,0,.2); border-radius: var(--radius-glass);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,122,26,.25); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field .error { color: #B3261E; font-size: var(--step--1); font-weight: 600; }

/* real product photos (catalog cards + spec dialog) */
.gear-card__media.has-photo { background: #fff; padding: 0; }
.gear-card__media.has-photo img { object-fit: cover; }
.spec__window.has-photo { background: #fff; }
.spec__window.has-photo img { object-fit: contain; }
.photo-credit { margin: 8px 0 0; font-size: .75rem; color: var(--muted); max-width: none; }
.photo-credit a { color: inherit; }
.gear-card .gear-card__media.has-photo,
main .gear-card__media.has-photo { aspect-ratio: 4 / 3; padding: 0; background: #fff; overflow: hidden; display: block; height: auto; }
.gear-card .gear-card__media.has-photo img,
main .gear-card__media.has-photo img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.spec__window.has-photo img { max-height: min(60vh, 520px); width: 100%; object-fit: contain; }

/* =========================================================
   Phase 4 — "listening room": editorial serif headlines, modern palette,
   corporate contact chrome. Display type carries the warmth; colour stays modern.
   ========================================================= */
:root {
  --serif: "Newsreader", "Newsreader Fallback", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --brass: #B08D57;
  --brass-line: color-mix(in srgb, var(--accent) 45.0%, transparent);
  --ink: #121417;
  --display-1: clamp(3rem, 1.2rem + 6.4vw, 7.5rem);
  --display-2: clamp(2.4rem, 1.2rem + 3.8vw, 5rem);
  --display-3: clamp(1.9rem, 1.2rem + 2.2vw, 3.2rem);
}
/* headlines: one serif voice across the site (page CSS may set sizes, never the face or weight) */
h1, h2 {
  font-family: var(--serif) !important;
  font-weight: 380 !important;
  font-variation-settings: normal !important;
  font-optical-sizing: auto;
  letter-spacing: -.022em !important;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-weight: 340 !important; letter-spacing: -.03em !important; }
h3 { letter-spacing: -.01em; }
.footer-grid h2, .site-footer h2 {
  font-family: var(--font) !important; font-weight: 600 !important; letter-spacing: 0 !important;
  font-size: var(--step--1); line-height: 1.4;
}
/* section overline: quiet, sentence case — never all caps */
.eyebrow { text-transform: none; letter-spacing: 0; font-size: var(--step--1); font-weight: 600; color: var(--brass); }
.panel-glass .eyebrow, .on-dark .eyebrow { color: var(--accent-soft); }
.lede { line-height: 1.55; }

/* buttons: icon support, WhatsApp primary */
.btn .ico { width: 18px; height: 18px; flex: none; }
.link-arrow::after { content: none; }
.link-arrow { border-bottom-color: var(--brass-line); }
.link-arrow:hover { border-bottom-color: currentColor; }

/* header: quieter wordmark row with phone + WhatsApp on the right */
.site-header .wrap { min-height: 72px; }
.nav ul { align-items: center; }
.nav a:not(.btn) { font-weight: 550; font-size: .95rem; }
.nav-tel a { gap: 8px !important; font-feature-settings: "tnum" 1; white-space: nowrap; }
.nav-tel a::before { content: none !important; }
.nav-tel .ico { width: 16px; height: 16px; color: var(--brass); }
.nav .nav-cta .btn { min-height: 42px; padding: .55em 1.1em; }
@media (max-width: 1240px) and (min-width: 901px) { .nav-tel span { display: none; } .nav a:not(.btn) { padding-inline: .6em; } }
@media (max-width: 900px) {
  .nav-tel a { font-size: 1.1rem !important; }
  .nav-tel .ico { width: 20px; height: 20px; }
}

/* footer: a real contact block */
.footer-contact { display: grid; gap: 6px; margin-top: 18px; font-style: normal; color: var(--on-glass); font-feature-settings: "tnum" 1; }
.footer-contact a { text-decoration: none; width: fit-content; border-bottom: 1px solid transparent; }
.footer-contact a:hover { border-bottom-color: var(--brass); color: #fff; }
.footer-contact span { color: var(--on-glass-muted); }
.footer-brand .brand { font-size: 1.5rem; }

/* page hero (inner pages) */
.page-hero h1 { font-size: var(--display-2); max-width: 16ch; }
@media (max-width: 900px) {
  .nav ul { align-items: stretch; }
  .nav a:not(.btn) { padding-left: .2em; }
  .nav .nav-cta .btn { --b-bg: #fff; --b-fg: var(--ink); --b-line: #fff; width: 100%; min-height: 52px; }
  .nav .nav-cta .btn:hover { --b-bg: #E9ECEF; }
}

/* =========================================================
   Phase 5 — "ortam": every page is the same listening room at night.
   Dark, warm-lit surfaces; the ambience layer (js/ambience.js) adds light
   pools, dust in the light and a glow that follows the music.
   Tokens for page CSS:
     --bg (room), --surface / --surface-2 (objects in the room), --fg, --muted, --line,
     --brass / --brass-line (warm metal details), --amber (live/active only).
   ========================================================= */
:root {
  --bg: #0F1114;
  --surface: #171A1E;
  --surface-2: #1F2328;
  --fg: #E8EBEE;
  --muted: #9AA3AD;
  --line: rgba(232, 235, 238, .11);
  --paper: var(--surface);
  --alu-100: var(--bg);
  --alu-600: #8D96A0;
  --room-warm: color-mix(in srgb, var(--glow) 10.0%, transparent);
  color-scheme: dark;
}
html { background: var(--bg); }
body { background: var(--bg); color: var(--fg); }
::selection { background: var(--brass); color: #0F1114; }
h1, h2, h3 { color: #F3F4F5; }
.muted, .lede { color: var(--muted); }
a { color: inherit; }

/* buttons on the room: primary is light, secondary is a hairline */
.btn { --b-fg: var(--fg); --b-line: rgba(232, 235, 238, .26); }
.btn:hover { border-color: rgba(232, 235, 238, .55); }
.btn--amber, .btn--primary { --b-bg: #F1F2F3; --b-fg: #111316; --b-line: #F1F2F3; }
.btn--amber:hover, .btn--primary:hover { --b-bg: #FFFFFF; border-color: #fff; box-shadow: 0 12px 30px -16px color-mix(in srgb, var(--glow) 45.0%, transparent); }
.btn--glass { --b-fg: var(--fg); --b-line: rgba(232, 235, 238, .26); }
.chip { color: var(--fg); border-color: var(--line); }
.chip:hover { border-color: rgba(232, 235, 238, .4); }
.chip[aria-pressed="true"] { background: #F1F2F3; color: #111316; border-color: #F1F2F3; }

/* header always sits in the room */
.site-header { background: rgba(15, 17, 20, .62); border-bottom-color: rgba(255, 255, 255, .06); color: var(--fg); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.brand small { color: #8D96A0; }
.nav a:not(.btn):hover { background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, .07); }
.nav-toggle { border-color: rgba(255,255,255,.25); }

/* forms, cards, prose on dark */
.field input, .field select, .field textarea { background: var(--surface); color: var(--fg); border-color: rgba(232, 235, 238, .18); }
.field input::placeholder, .field textarea::placeholder { color: #6E7782; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25.0%, transparent); }
.gear-card { background: var(--surface); border-color: var(--line); }
a.gear-card:hover, .gear-card:has(a:hover) { border-color: rgba(232, 235, 238, .22); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9); }
.prose blockquote { background: var(--surface); }
.breadcrumb ol { color: var(--muted); }
.page-hero { border-bottom-color: var(--line); }
.site-footer { background: #0B0D0F; border-top: 1px solid rgba(255, 255, 255, .05); }

/* the room's architecture, reusable on any page top: walnut slat wall in warm downlight */
.room {
  position: relative; isolation: isolate;
  background:
    radial-gradient(38% 60% at 18% -6%, color-mix(in srgb, var(--glow) 16.0%, transparent), transparent 70%),
    radial-gradient(34% 55% at 52% -8%, color-mix(in srgb, var(--glow) 12.0%, transparent), transparent 70%),
    radial-gradient(38% 60% at 86% -6%, color-mix(in srgb, var(--glow) 14.0%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(15, 17, 20, 0) 55%, var(--bg) 100%),
    repeating-linear-gradient(90deg, #1A1410 0 7px, #241A13 7px 9px, #120E0B 9px 15px),
    var(--bg);
}
.room::after { /* floor line: the wall meets a reflective floor */
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(15, 17, 20, .92) 70%, var(--bg));
}
.room > * { position: relative; }

/* ambience layer (drawn by js/ambience.js) */
.ambience { position: fixed; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; }
main, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 50; }
@media (prefers-reduced-motion: reduce) { .ambience { display: none; } }

/* logo: speaker-driver mark + serif wordmark */
.brand { gap: 12px; font-family: var(--serif); font-weight: 450; font-variation-settings: normal; font-size: 1.5rem; letter-spacing: -.015em; line-height: 1; color: #F3F4F5; }
.brand__mark { width: auto; height: 42px; flex: none; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-1px) scale(1.04); }
@media (max-width: 430px) { .brand__mark { height: 36px; } }
.brand small { margin-top: 5px; font-family: var(--font); font-size: .66rem; font-weight: 500; letter-spacing: .01em; color: #8D96A0; }
.footer-brand .brand { font-family: var(--serif); font-weight: 450; font-size: 1.7rem; font-variation-settings: normal; }

/* =========================================================
   Phase 6 — interaction language
   ========================================================= */

/* ---------- mood: the room takes the colour of what's playing (html[data-mood], set by js/ui.js) ---------- */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #B08D57; }
@property --glow   { syntax: '<color>'; inherits: true; initial-value: #FFBA78; }
:root {
  --accent: #B08D57;            /* hairlines, numerals, link rules */
  --glow: #FFBA78;              /* light in the room */
  --brass: var(--accent);
  --brass-line: color-mix(in srgb, var(--accent) 45%, transparent);
  --accent-soft: color-mix(in srgb, var(--accent) 70%, #fff);
  transition: --accent 1.6s var(--ease), --glow 1.6s var(--ease);
}
html[data-mood="techno"]   { --accent: #E5484D; --glow: #FF4A5A; }
html[data-mood="progr"]    { --accent: #9B8AFB; --glow: #8E7BFF; }
html[data-mood="house"]    { --accent: #FF8A5B; --glow: #FF9466; }
html[data-mood="elektro"]  { --accent: #35C9E8; --glow: #3FD8FF; }
html[data-mood="under"]    { --accent: #C9CDD3; --glow: #DDE3EA; }
html[data-mood="chill"]    { --accent: #4FC2AE; --glow: #5FE0C8; }
html[data-mood="rock"]     { --accent: #E06A2C; --glow: #FF7A33; }
html[data-mood="mellow"]   { --accent: #E3A0A8; --glow: #FFB3BD; }
html[data-mood="world"]    { --accent: #E7B04A; --glow: #FFC457; }
html[data-mood="calm"]     { --accent: #8FB6DD; --glow: #A8CCF2; }
html[data-mood="mix"]      { --accent: #D2A86A; --glow: #FFC98A; }
.eyebrow, .panel-glass .eyebrow, .on-dark .eyebrow { color: var(--accent-soft); }
.room {
  background:
    radial-gradient(38% 60% at 18% -6%, color-mix(in srgb, var(--glow) 17%, transparent), transparent 70%),
    radial-gradient(34% 55% at 52% -8%, color-mix(in srgb, var(--glow) 12%, transparent), transparent 70%),
    radial-gradient(38% 60% at 86% -6%, color-mix(in srgb, var(--glow) 15%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(15, 17, 20, 0) 55%, var(--bg) 100%),
    repeating-linear-gradient(90deg, #1A1410 0 7px, #241A13 7px 9px, #120E0B 9px 15px),
    var(--bg);
}

/* ---------- header: logo, WhatsApp, menu — nothing else ---------- */
.site-header { background: none !important; border-bottom: 1px solid rgba(255,255,255,.05); -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* the blur lives on a pseudo-element: a backdrop-filter on the header itself would trap the fixed menu inside it */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(10,11,13,.82), rgba(10,11,13,.4)); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); transition: opacity .4s; }
html.on-stage .site-header::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(8,9,11,.62), rgba(8,9,11,0)); }
html.on-stage .site-header { border-bottom-color: transparent; }
.site-header .wrap { position: relative; z-index: 2; }
.site-header .menu__inner { z-index: auto; }
.menu-btn { display: inline-flex !important; }
.site-header .menu .menu__aside a { display: inline; padding: 0; border-radius: 0; font-weight: 500; font-size: inherit; background: none; }
.site-header .menu .menu__aside a::before { content: none; }
.site-header .wrap { min-height: 76px; }
.brand__mark { color: #E8EBEE; }
.brand__ring { stroke: var(--accent); }
.brand__dome { fill: var(--accent); }
.hd { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.hd__tel { font-size: .9rem; font-feature-settings: "tnum" 1; color: var(--muted); text-decoration: none; transition: color .3s; }
.hd__tel:hover { color: var(--fg); }
.hd__wa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(232,235,238,.24); color: var(--fg);
  font-weight: 600; font-size: .9rem; text-decoration: none;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.hd__wa .ico { width: 17px; height: 17px; color: var(--accent); transition: color 1.6s; }
.hd__wa:hover { border-color: var(--fg); background: rgba(255,255,255,.04); }
.hd__contact {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 15px;
  border: 1px solid rgba(232,235,238,.24); border-radius: 999px; color: var(--fg);
  font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.hd__contact:hover { border-color: var(--fg); background: rgba(255,255,255,.05); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 4px 0 0;
  border: 0; background: none; color: var(--fg); cursor: pointer; font: inherit; font-weight: 600; font-size: .92rem;
  position: relative; z-index: 2; width: auto; height: auto; box-shadow: none; border-radius: 0;
}
.menu-btn__icon { position: relative; width: 26px; height: 10px; display: block; }
.menu-btn__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease), width .4s var(--ease); }
.menu-btn__icon i:first-child { top: 0; }
.menu-btn__icon i:last-child { top: 8.5px; width: 70%; left: auto; }
.menu-btn:hover .menu-btn__icon i:last-child { width: 100%; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { top: 4.25px; width: 100%; transform: rotate(-45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__label::after { content: "Kapat"; }
.menu-btn[aria-expanded="true"] .menu-btn__label { font-size: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__label::after { font-size: .92rem; }
@media (max-width: 720px) { .hd__tel, .hd__wa span { display: none; } .hd__wa { padding: 0 12px; } }
@media (max-width: 700px) {
  .site-header .wrap { min-height: 64px; gap: 12px; }
  .brand { gap: 7px; font-size: 1.1rem; }
  .brand small { font-size: .52rem; }
  .hd { gap: 9px; }
  .hd__contact { min-height: 38px; padding-inline: 11px; font-size: .82rem; }
  .menu-btn { gap: 7px; font-size: .86rem; }
  .menu-btn__icon { width: 20px; }
}
@media (max-width: 360px) {
  .site-header .wrap { gap: 8px; }
  .brand { gap: 5px; font-size: 1rem; }
  .brand small { display: none; }
  .hd { gap: 7px; }
  .hd__contact { padding-inline: 9px; }
  .hd__snd { display: none !important; }
}

/* ---------- menu: a full-screen input selector ---------- */
.site-header .menu {
  position: fixed; inset: 0; z-index: -1;
  display: block; padding: 0; max-height: none; overflow: hidden;
  background:
    radial-gradient(50% 60% at 15% 0%, color-mix(in srgb, var(--glow) 12%, transparent), transparent 70%),
    #0B0C0E;
  color: var(--fg);
  clip-path: inset(0 0 100% 0); visibility: hidden; transform: none; box-shadow: none;
  transition: clip-path .9s cubic-bezier(.76,0,.24,1), visibility 0s .9s;
}
.site-header .menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s cubic-bezier(.76,0,.24,1); }
.menu__inner {
  height: 100%; display: grid; align-items: center;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 72px);
  padding-top: 96px; padding-bottom: 48px;
}
.site-header .menu ul.menu__list { display: grid; gap: 0; flex-direction: column; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.menu__list li { border-top: 1px solid var(--line); overflow: hidden; }
.menu__list li:last-child { border-bottom: 1px solid var(--line); }
.site-header .menu .menu__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: clamp(10px, 1.6vh, 18px) 0; background: none; border-radius: 0; font-size: inherit;
  text-decoration: none; color: var(--fg);
}
.site-header .menu .menu__list a::before { content: none; }
.menu__t { font-family: var(--serif); font-weight: 340; font-size: clamp(2.2rem, 1rem + 4.2vh, 4.4rem); line-height: 1.02; letter-spacing: -.03em; transition: transform .6s cubic-bezier(.16,1,.3,1), color .3s; }
.menu__d { font-size: .85rem; color: var(--muted); white-space: nowrap; opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .5s var(--ease); }
.menu__list a:hover .menu__t, .menu__list a:focus-visible .menu__t { transform: translateX(18px); color: var(--accent-soft); }
.menu__list a:hover .menu__d, .menu__list a:focus-visible .menu__d, .menu__list a[aria-current="page"] .menu__d { opacity: 1; transform: none; }
.menu__list a[aria-current="page"] .menu__t { color: var(--accent-soft); }
@media (prefers-reduced-motion: no-preference) {
  .menu__list li a { transform: translateY(100%); transition: transform .9s cubic-bezier(.16,1,.3,1); }
  .menu.is-open .menu__list li a { transform: none; }
  .menu.is-open .menu__list li:nth-child(2) a { transition-delay: .05s; }
  .menu.is-open .menu__list li:nth-child(3) a { transition-delay: .1s; }
  .menu.is-open .menu__list li:nth-child(4) a { transition-delay: .15s; }
  .menu.is-open .menu__list li:nth-child(5) a { transition-delay: .2s; }
  .menu.is-open .menu__list li:nth-child(6) a { transition-delay: .25s; }
}
/* the selector knob turns to the page under the pointer */
.menu__dial { position: relative; width: min(220px, 100%); aspect-ratio: 1; justify-self: start; color: var(--fg); }
.menu__dial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.menu__ticks line { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.menu__knob { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3A3F46, #15171A 70%); box-shadow: 0 20px 40px -12px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.12); }
.menu__knob-cap { position: absolute; inset: 0; border-radius: 50%; transition: transform .9s cubic-bezier(.34,1.4,.4,1); }
.menu__knob-cap i { position: absolute; left: 50%; top: 9%; width: 3px; height: 22%; margin-left: -1.5px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px var(--glow); }
.menu__dial-label { position: absolute; left: 0; right: 0; bottom: -34px; margin: 0; text-align: center; font-size: .78rem; color: var(--muted); }
.menu__aside { align-self: end; font-size: .9rem; color: var(--muted); }
.menu__aside-h { margin: 0 0 6px; color: var(--accent-soft); font-weight: 600; font-size: .8rem; }
.menu__aside p { margin: 0 0 22px; }
.menu__aside a { color: var(--fg); text-decoration: none; border-bottom: 1px solid transparent; }
.menu__aside a:hover { border-bottom-color: var(--accent); }
.menu__preview { position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none; width: 260px; margin: -100px 0 0 40px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; opacity: 0; scale: .8; transition: opacity .35s, scale .5s var(--ease); }
.menu__preview.is-on { opacity: 1; scale: 1; }
.menu__preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
  .menu__inner { grid-template-columns: 1fr; align-content: center; gap: 28px; padding-top: 90px; }
  .menu__dial, .menu__preview { display: none; }
  .menu__aside { align-self: start; }
  .menu__aside p { margin-bottom: 14px; }
}
@media (max-width: 900px) { .site-header .nav.menu { inset: 0; padding: 0; max-height: none; } }


/* ---------- headlines rise word by word ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .1em; margin: -.16em 0 -.1em; }
.split .wi { display: inline-block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i) * 45ms); }
.split.is-in .wi { transform: none; }

/* ---------- page transition: the new page wipes up over the old ---------- */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .7s cubic-bezier(.76,0,.24,1) both; }
  ::view-transition-new(root) { animation: vt-in .9s cubic-bezier(.76,0,.24,1) both; }
}
@keyframes vt-out { to { opacity: .3; transform: translateY(-4vh) scale(.98); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
/* inner pages: the header is a solid strip of the room (stage pages keep the transparent gradient) */
.site-header::before { background: linear-gradient(180deg, rgba(10,11,13,.94), rgba(10,11,13,.86)); }

/* =========================================================
   Phase 7 — every shared component at the same level
   ========================================================= */

/* ---------- footer: the shop, live ---------- */
.site-footer.ft { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 150px) 0 0; background: radial-gradient(60% 50% at 20% 0%, color-mix(in srgb, var(--glow) 9%, transparent), transparent 70%), #08090B; border-top: 1px solid var(--line); }
.ft__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--brass-line); }
.ft__call { margin: 0; font-family: var(--serif); font-weight: 320; font-size: clamp(2.6rem, 1rem + 4.6vw, 6.2rem); line-height: .96; letter-spacing: -.035em; color: #F3F4F5; max-width: 11ch; }
.ft__ways { list-style: none; margin: 0; padding: 0; }
.ft__ways li { border-top: 1px solid var(--line); }
.ft__ways li:last-child { border-bottom: 1px solid var(--line); }
.ft__way { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 16px 0; text-decoration: none; color: var(--fg); }
.ft__way-k { font-size: .82rem; color: var(--muted); }
.ft__way-v { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); letter-spacing: -.01em; font-feature-settings: "tnum" 1; transition: transform .6s cubic-bezier(.16,1,.3,1), color .3s; }
.ft__way:hover .ft__way-v, .ft__way:focus-visible .ft__way-v { transform: translateX(-10px); color: var(--accent-soft); }
.ft__live { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: space-between; gap: 16px 32px; padding: 28px 0; font-size: .88rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.ft__live p { margin: 0; }
.ft__status { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.ft__dot { width: 8px; height: 8px; border-radius: 50%; background: #6E7782; }
.ft__status.is-open .ft__dot { background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: ft-pulse 2.4s ease-out infinite; }
@keyframes ft-pulse { to { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent); } }
.ft__clock time { font-family: var(--serif); font-size: 1.05rem; color: var(--fg); font-feature-settings: "tnum" 1; margin-left: 6px; }
.ft__np { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); max-width: 34ch; }
.ft__np .ft__np-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft__np .eq i { background: var(--accent); animation: eq .9s ease-in-out infinite alternate; }
.ft__np .eq i:nth-child(2) { animation-duration: .7s; } .ft__np .eq i:nth-child(3) { animation-duration: 1.1s; }
.ft__addr { text-align: right; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 28px 0; }
.ft__nav a { color: var(--fg); text-decoration: none; font-size: .95rem; }
.ft__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0 24px; font-size: .82rem; color: var(--muted); }
.ft__logo { width: auto; height: clamp(88px, 9vw, 120px); }
.ft__logo + span { margin-right: auto; }
.ft__up { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--fg); font: inherit; font-weight: 600; cursor: pointer; transition: border-color .3s; }
.ft__up svg { width: 14px; height: 14px; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.ft__up:hover { border-color: var(--accent); }
.ft__up:hover svg { transform: translateY(-3px); }
.ft__mark {
  margin: 0; padding: 0 var(--gutter); display: flex; justify-content: space-between;
  font-family: var(--serif); font-weight: 300; line-height: .78; letter-spacing: -.04em;
  font-size: min(23.5vw, 26rem); color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 55%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--glow) 22%, transparent), transparent 75%); -webkit-background-clip: text; background-clip: text;
  user-select: none; pointer-events: none; transform: translateY(12%);
}
.ft__mark span { display: inline-block; transform: translateY(40%); opacity: 0; transition: transform 1.4s cubic-bezier(.16,1,.3,1), opacity 1s; }
.ft__mark.is-in span { transform: none; opacity: 1; }
.ft__mark span:nth-child(2) { transition-delay: .05s; } .ft__mark span:nth-child(3) { transition-delay: .1s; } .ft__mark span:nth-child(4) { transition-delay: .15s; }
.ft__mark span:nth-child(5) { transition-delay: .2s; } .ft__mark span:nth-child(6) { transition-delay: .25s; } .ft__mark span:nth-child(7) { transition-delay: .3s; } .ft__mark span:nth-child(8) { transition-delay: .35s; }
.site-footer.ft { padding-bottom: var(--hr-dock-space, 0px); }
@media (max-width: 860px) {
  .ft__top { grid-template-columns: 1fr; }
  .ft__live { grid-template-columns: 1fr 1fr; }
  .ft__addr { text-align: left; }
}
@media (max-width: 520px) { .ft__live { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ft__mark span { transform: none; opacity: 1; } .ft__status.is-open .ft__dot { animation: none; } }

/* ---------- buttons and links: the label rolls, the rule draws ---------- */
.roll { display: inline-grid; overflow: hidden; vertical-align: baseline; }
.roll__a, .roll__b { grid-area: 1 / 1; transition: transform .55s cubic-bezier(.76,0,.24,1); }
.roll__b { transform: translateY(105%); }
:is(.btn, .hd__wa, .ft__up):hover .roll__a, :is(.btn, .hd__wa, .ft__up):focus-visible .roll__a { transform: translateY(-105%); }
:is(.btn, .hd__wa, .ft__up):hover .roll__b, :is(.btn, .hd__wa, .ft__up):focus-visible .roll__b { transform: none; }
.btn--amber, .btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--amber::after, .btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-soft); transform: translateY(101%); border-radius: inherit; transition: transform .55s cubic-bezier(.76,0,.24,1); }
.btn--amber:hover::after, .btn--primary:hover::after { transform: none; }
main p a:not(.btn), .link-arrow, .stage__link, .ft__nav a, .breadcrumb a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
              linear-gradient(var(--brass-line), var(--brass-line)) 0 100% / 100% 1px no-repeat;
  border-bottom: 0 !important; padding-bottom: 2px;
  transition: background-size .55s cubic-bezier(.76,0,.24,1), color .3s;
}
.ft__nav a, .breadcrumb a { background-size: 0 1px, 0 1px; }
main p a:not(.btn):hover, .link-arrow:hover, .stage__link:hover, .ft__nav a:hover, .breadcrumb a:hover { background-size: 100% 1px, 100% 1px; }

/* ---------- breadcrumb: quiet ---------- */
.breadcrumb ol { font-size: .82rem; gap: .6em; color: var(--muted); }
.breadcrumb li + li::before { content: ""; display: inline-block; width: 14px; height: 1px; margin: 0 .6em 0 0; vertical-align: middle; background: var(--accent); opacity: .7; }
.breadcrumb a { color: var(--fg); }

/* ---------- form fields: a single rule, no boxes ---------- */
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(232,235,238,.24); border-radius: 0;
  padding: .7em 0; min-height: 48px; color: var(--fg); font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.field select { padding-right: 1.4em; }
.field textarea { padding: .7em 0; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.field label { color: var(--muted); font-weight: 500; }
.field select option { background: #15171A; color: var(--fg); }

/* ---------- details: animated by js/ui.js ---------- */
details > summary { cursor: pointer; }
details.is-animating { overflow: hidden; }

/* ---------- scroll: a thin mood-coloured progress rule, and a matching scrollbar ---------- */
.scroll-rule { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 2px; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 40%, transparent), var(--accent)); }
html.on-stage .scroll-rule { opacity: 0; }
html { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 55%, transparent) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
/* the menu's inner grid also carries .wrap: beat the header's flex row */
.site-header .menu .menu__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 3fr); align-items: center; justify-content: stretch; gap: clamp(24px, 4vw, 72px); min-height: 0; height: 100%; padding-top: 96px; padding-bottom: 48px; }
@media (max-width: 1000px) {
  .site-header .menu .menu__inner { grid-template-columns: 1fr; align-content: center; align-items: start; gap: 32px; padding-top: 100px; padding-bottom: calc(var(--hr-dock-space, 0px) + 32px); overflow-y: auto; }
  .menu__t { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .menu__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; font-size: .85rem; }
  .menu__aside p:last-child { grid-column: 1 / -1; }
}
.site-header .menu .menu__list { position: relative; z-index: 2; }
.menu__preview { z-index: 1 !important; width: 300px; margin: -110px 0 0 -150px; opacity: 0; filter: saturate(.9) brightness(.8); }
.menu__preview.is-on { opacity: .85; }
.menu__list a:hover .menu__t { mix-blend-mode: normal; }
body:has(.menu.is-open) .hr-dock, body:has(.menu.is-open) .cursor .cursor__label { opacity: 0 !important; visibility: hidden; }
@media (max-width: 1000px) { .menu__d { display: none; } }

/* =========================================================
   Phase 8 — the mood is felt, not just seen
   ========================================================= */
@property --mood-amt { syntax: '<number>'; inherits: true; initial-value: 0; }
:root { --mood-amt: 0; transition: --accent 1.6s var(--ease), --glow 1.6s var(--ease), --mood-amt 2s var(--ease); }
html[data-mood] { --mood-amt: 1; }
/* every station has its own, clearly different light */
html[data-mood="mix"]     { --accent: #F2B33D; --glow: #FFC23D; }
html[data-mood="mellow"]  { --accent: #E8A0B4; --glow: #FF9EC0; }
html[data-mood="rock"]    { --accent: #E5622A; --glow: #FF6A2A; }
html[data-mood="world"]   { --accent: #46C27F; --glow: #4CE08F; }
html[data-mood="calm"]    { --accent: #8FB6DD; --glow: #9CC8FF; }
html[data-mood="techno"]  { --accent: #FF3B6B; --glow: #FF2E63; }
html[data-mood="progr"]   { --accent: #9B8AFB; --glow: #8A73FF; }
html[data-mood="house"]   { --accent: #FF8A5B; --glow: #FF7F50; }
html[data-mood="elektro"] { --accent: #35C9E8; --glow: #2FD8FF; }
html[data-mood="under"]   { --accent: #D2D6DC; --glow: #E8EEF6; }
html[data-mood="chill"]   { --accent: #4FC2AE; --glow: #42E0C4; }
/* the room itself takes the colour: floor, surfaces, and a wash of light over everything */
:root {
  --bg: color-mix(in srgb, var(--glow) calc(var(--mood-amt) * 7%), #0F1114);
  --surface: color-mix(in srgb, var(--glow) calc(var(--mood-amt) * 6%), #171A1E);
  --surface-2: color-mix(in srgb, var(--glow) calc(var(--mood-amt) * 6%), #1F2328);
}
html::after {
  content: ""; position: fixed; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(90% 60% at 50% -10%, color-mix(in srgb, var(--glow) calc(var(--mood-amt) * 16%), transparent), transparent 70%),
    radial-gradient(70% 50% at 50% 110%, color-mix(in srgb, var(--glow) calc(var(--mood-amt) * 9%), transparent), transparent 70%);
}
.site-footer.ft { background: radial-gradient(60% 50% at 20% 0%, color-mix(in srgb, var(--glow) calc(9% + var(--mood-amt) * 9%), transparent), transparent 70%), color-mix(in srgb, var(--glow) calc(var(--mood-amt) * 5%), #08090B); }

/* sound switch in the header */
.hd__snd { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid rgba(232,235,238,.2); background: none; color: var(--fg); cursor: pointer; transition: border-color .3s; }
.hd__snd:hover { border-color: var(--fg); }
.hd__snd-bars { display: flex; align-items: center; gap: 2px; height: 14px; }
.hd__snd-bars i { width: 2px; height: 30%; border-radius: 1px; background: currentColor; transition: height .3s; }
.hd__snd[aria-pressed="true"] .hd__snd-bars i { background: var(--accent); animation: snd 1.1s ease-in-out infinite alternate; }
.hd__snd[aria-pressed="true"] .hd__snd-bars i:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
.hd__snd[aria-pressed="true"] .hd__snd-bars i:nth-child(3) { animation-duration: 1.3s; animation-delay: -.6s; }
.hd__snd[aria-pressed="true"] .hd__snd-bars i:nth-child(4) { animation-duration: .95s; animation-delay: -.2s; }
@keyframes snd { from { height: 25%; } to { height: 100%; } }
.hd__snd[aria-pressed="false"] .hd__snd-bars i { height: 2px; }
@media (prefers-reduced-motion: reduce) { .hd__snd-bars i { animation: none !important; } }
/* moods for the electronic stations */
html[data-mood="melodic"] { --accent: #7C8CFF; --glow: #6478FF; }   /* melodic techno: cold blue-violet */
html[data-mood="afro"]    { --accent: #F2994A; --glow: #FF8C3A; }   /* afro house: sunset amber */
html[data-mood="organic"] { --accent: #A3C96B; --glow: #A8E06A; }   /* organic house: moss */
/* the wordmark's tagline wraps on narrow phones; the mark and the name are enough there */
@media (max-width: 430px) { .brand small { display: none; } }
/* small hover label for icon-only header controls */
.hd__snd { position: relative; }
.hd__snd::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -4px);
  padding: 6px 10px; border-radius: 8px; background: rgba(12,13,15,.94); border: 1px solid rgba(255,255,255,.1);
  color: var(--fg); font: 500 .74rem/1 var(--font); white-space: nowrap; pointer-events: none; opacity: 0;
  transition: opacity .2s, transform .25s;
}
.hd__snd:hover::after, .hd__snd:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .hd__snd::after { display: none; } }

/* header: the main sections in plain sight on wide screens (the full menu stays behind "Menü") */
.hd__nav { display: none; }
@media (min-width: 1180px) {
  .hd__nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); margin: 0 auto; }
  .hd__nav a { position: relative; padding: 8px 0; color: color-mix(in srgb, var(--fg) 74%, transparent); font-size: .88rem; font-weight: 500; text-decoration: none; transition: color .25s; }
  .hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.16,1,.3,1); }
  .hd__nav a:hover, .hd__nav a[aria-current="page"] { color: var(--fg); }
  .hd__nav a:hover::after, .hd__nav a[aria-current="page"]::after { transform: scaleX(1); }
}
@media (min-width: 1180px) and (max-width: 1360px) { .hd__tel { display: none; } }

/* =========================================================
   Shop warmth: the hand-written layer.
   Kraft-paper tags on pieces, workshop ink, rubber stamps.
   Handwriting is only ever used for things a person in the shop would write.
   ========================================================= */
:root {
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --kraft: #D6C19A;
  --kraft-hi: #E4D3B1;
  --kraft-ink: #2A2118;
  --stamp: #A3352B;
  --olive: #7C8B57;
}
.piece__media, .arr__media { position: relative; }
.tag {
  position: absolute; top: 22px; right: 18px; z-index: 2;
  max-width: 58%;
  transform-origin: 50% -22px;                     /* swings from the nail above the frame */
  transform: rotate(var(--tilt, -3deg));
  transition: transform 1s cubic-bezier(.3,1.6,.5,1);
  pointer-events: none;
  filter: drop-shadow(0 6px 9px rgba(0,0,0,.38));
}
/* the string, up and out of frame */
.tag::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% - 13px); width: 1.5px; height: 48px; margin-left: -.75px;
  background: linear-gradient(rgba(233,224,207,0), #E9E0CF 45%);
}
.tag__b {
  position: relative; display: flex; flex-direction: column; align-items: center;
  min-width: 104px; padding: 26px 14px 12px;
  color: var(--kraft-ink); font-family: var(--hand); line-height: 1; text-align: center;
  background: linear-gradient(170deg, var(--kraft-hi), var(--kraft) 60%, #CCB48A);
  clip-path: polygon(22% 0, 78% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
}
/* punched hole with a reinforcement ring */
.tag__b::before {
  content: ""; position: absolute; left: 50%; top: 8px; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: #141414; box-shadow: 0 0 0 3px rgba(42,33,24,.18);
}
.tag__p { font-size: 1.42rem; font-weight: 600; letter-spacing: .005em; white-space: nowrap; }
.tag__c { margin-top: 5px; font-size: 1.06rem; font-weight: 500; color: rgba(42,33,24,.78); }
.tag__st {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 0; rotate: -11deg;
  padding: 1px 8px 2px; border: 2px solid currentColor; border-radius: 3px;
  color: var(--stamp); font-family: var(--font); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  mix-blend-mode: multiply; opacity: .88;
  mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0,0,0,.55) 75%, #000 90%);
}
.tag--rezerve .tag__c, .tag--satildi .tag__c { visibility: hidden; }
.arr__card:hover .tag, .piece:hover .tag { transform: rotate(calc(var(--tilt, -3deg) * -1.3)); }
.pieces[data-view="liste"] .tag { display: none; }
@media (max-width: 700px) {
  .tag { right: 10px; top: 16px; }
  .tag__b { min-width: 84px; padding: 22px 10px 9px; }
  .tag__p { font-size: 1.16rem; }
  .tag__c { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) { .tag { transition: none; } }
@media (max-width: 700px) {
  .tag { right: 8px; top: 14px; max-width: 70%; }
  .tag__b { min-width: 0; padding: 18px 9px 7px; }
  .tag__b::before { top: 6px; width: 8px; height: 8px; margin-left: -4px; }
  .tag__p { font-size: 1.02rem; }
  .tag__c { display: none; }
  .tag--rezerve .tag__b, .tag--satildi .tag__b { padding-bottom: 30px; }
}
