/* ————————————————————————————————
   AKKORD — „Noční showroom"
   statický návrh v1 · bez 3D strojovny
   ———————————————————————————————— */

:root {
  --bg:        #16110c;
  --bg-2:      #1c1610;
  --panel:     #211a12;
  --ink:       #e9e1d2;
  --muted:     #9d9180;
  --gold:      #c9a35c;
  --gold-soft: #a98a52;
  --copper:    #c07a3e;
  --crystal:   #f6f3ec;
  --line:      rgba(201, 163, 92, .22);
  --serif: 'Playfair Display', 'Georgia', serif;
  --sans:  'Inter', -apple-system, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; } @media (scripting: none) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; }

section { padding: 7rem clamp(1.25rem, 5vw, 5rem); }

/* ——— drobné opakující se prvky ——— */

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.cam-chip, .ph-chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--copper);
  border: 1px dashed rgba(192, 122, 62, .55);
  border-radius: 3px;
  padding: .35rem .7rem;
  background: rgba(192, 122, 62, .07);
}

.cam-chip { margin-bottom: 3rem; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(160deg, #d9b46c, #b08a45);
  padding: .95rem 1.6rem;
  text-decoration: none;
  border-radius: 2px;
  transition: filter .2s;
}
.btn:hover { filter: brightness(1.12); }
.btn-meta { display: block; font-size: .62rem; letter-spacing: .08em; opacity: .75; margin-top: .25rem; text-transform: none; }

.btn-ghost {
  background: none;
  color: var(--gold);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); filter: none; }

.text-link { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line); }
.text-link:hover { border-color: var(--gold); }

.sec-head { max-width: 60ch; margin-bottom: 3.5rem; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--crystal); }
.sec-note { color: var(--muted); margin-top: 1rem; }
.sec-note a { color: var(--gold); }

/* ——— hlavička ——— */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 5rem);
  background: rgba(22, 17, 12, .78);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 163, 92, .12);
}

.brand { text-decoration: none; display: flex; align-items: center; gap: .9rem; }
.brand-logo { height: 46px; width: auto; }
.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .15rem;
}

.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: .82;
}
.site-nav a:hover { opacity: 1; color: var(--gold); }
.nav-cta {
  border: 1px solid var(--line);
  padding: .55rem 1.1rem;
  border-radius: 2px;
  color: var(--gold) !important;
}

/* ——— hero ——— */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 2rem;
  padding-top: 8rem;
}

.hero-copy { order: 1; max-width: 34rem; }

.hero h1 { color: var(--crystal); margin-bottom: 1.4rem; }
.h1-line {
  display: block;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: .08em;
}
.h1-code {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  letter-spacing: .3em;
  color: var(--gold);
  margin-top: .6rem;
}

.lede { color: var(--muted); margin-bottom: 2rem; }

.spec { border-collapse: collapse; margin-bottom: 2.4rem; font-family: var(--mono); font-size: .8rem; }
.spec th, .spec td { border-top: 1px solid var(--line); padding: .55rem 0; text-align: left; font-weight: 400; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th { color: var(--muted); padding-right: 2.5rem; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.spec td { color: var(--ink); letter-spacing: .04em; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stage {
  order: 2;
  position: relative;
  text-align: center;
  height: min(82vh, 780px);
}
/* 3D scéna leží fixně za celou stránkou — sekce po ní plují */
.hero-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  z-index: 0;
  pointer-events: none;
}
.hero-canvas.is-live { display: block; }
.hero-copy, .hero-stage { position: relative; z-index: 1; }
section, .site-foot { position: relative; z-index: 1; }
.hero-img {
  max-height: 100%;
  width: auto;
  margin: 0 auto;
  mix-blend-mode: screen;   /* fotografie na černém pozadí splyne s plátnem */
  filter: drop-shadow(0 0 60px rgba(201, 163, 92, .18));
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.hero-stage .ph-chip {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  white-space: nowrap;
}

.hero-glow { display: none; }

.scroll-hint {
  position: absolute;
  left: clamp(1.25rem, 5vw, 5rem);
  bottom: 2rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .9rem;
}
.scroll-line { display: inline-block; width: 4rem; height: 1px; background: linear-gradient(to right, var(--gold), transparent); }

/* ——— detail ——— */

/* Zastávka 02: lustr vlevo, text vpravo — stránka se staví KOLEM lustru */
.detail {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(270deg,
    rgba(22, 17, 12, .9) 0%, rgba(22, 17, 12, .78) 38%,
    rgba(22, 17, 12, .1) 62%, rgba(22, 17, 12, 0) 100%);
  border-top: 0;
}

.detail-inner {
  width: min(480px, 44vw);
  margin-left: auto;
}
.detail-inner .detail-copy { margin-bottom: 2.2rem; }

.detail h2, .craft h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--crystal); margin-bottom: 1.3rem; }
.detail p, .craft p { color: var(--muted); max-width: 46ch; }

.detail-facts {
  list-style: none;
  border-top: 1px solid var(--line);
  background: rgba(22, 17, 12, .55);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  padding: 0 1.2rem;
  border-radius: 3px;
}
.detail-facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.detail-facts strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.detail-facts span { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* ——— Zastávka 03: lustr vpravo (pohled vzhůru), text vlevo ——— */

.craft {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg,
    rgba(22, 17, 12, .9) 0%, rgba(22, 17, 12, .78) 38%,
    rgba(22, 17, 12, .1) 62%, rgba(22, 17, 12, 0) 100%);
}


.craft-inner {
  width: min(520px, 46vw);
  margin-right: auto;
}

.craft-stats { list-style: none; display: flex; gap: 3rem; margin-top: 2.4rem; flex-wrap: wrap; }
.craft-stats strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.craft-stats span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.craft-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.6rem; }
.ph-box {
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(192, 122, 62, .5);
  border-radius: 3px;
  background:
    linear-gradient(145deg, rgba(192, 122, 62, .08), rgba(192, 122, 62, .02));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.ph-box-b { transform: none; }
.ph-box { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ph-box figcaption { font-family: var(--mono); font-size: .68rem; color: var(--copper); line-height: 1.5; }

/* ——— kolekce ——— */

.collections {
  background: linear-gradient(180deg,
    rgba(22, 17, 12, .55) 0%, rgba(28, 22, 16, .95) 40%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.cat-card {
  position: relative;
  display: block;
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 1.4rem 1.4rem 1.6rem;
  text-decoration: none;
  transition: border-color .25s, transform .25s;
}
.cat-card:hover { border-color: var(--line); transform: translateY(-4px); }

.cat-icon {
  display: block;
  height: 88px;
  width: 88px;
  margin: 1rem auto 1.6rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
  transition: opacity .25s, stroke .25s;
}
.cat-card:hover .cat-icon { opacity: 1; stroke: var(--crystal); }
.cat-card { text-align: center; }

.cat-name { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--crystal); margin-bottom: .3rem; }
.cat-desc { display: block; font-size: .8rem; color: var(--muted); }

/* ——— modely ——— */

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.model-card {
  background: var(--panel);
  border-radius: 3px;
  padding: 1.2rem;
  border: 1px solid transparent;
  transition: border-color .25s;
}
.model-card:hover { border-color: var(--line); }

.model-img {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, #241c13, #191309 75%);
  border-radius: 2px;
  overflow: hidden;
}
.model-img img { max-height: 100%; object-fit: contain; }
.model-img:not(.model-img-cut) img { width: 100%; height: 100%; object-fit: cover; }

.model-img-cut { padding: 1.2rem; }
.model-img-cut img { filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .55)); }

.model-code { font-family: var(--mono); font-weight: 500; font-size: .88rem; letter-spacing: .06em; color: var(--gold); }
.model-cat { font-size: .76rem; color: var(--muted); margin-top: .25rem; }

/* ——— katalog ——— */

.models { background: var(--bg); }
.catalog { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact { background: var(--bg); }
.site-foot { background: var(--bg); }

.catalog-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 50% 90% at 8% 50%, rgba(201, 163, 92, .09), transparent 60%),
    var(--panel);
}
.catalog-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--crystal); margin-bottom: .8rem; }
.catalog-card p { color: var(--muted); max-width: 48ch; }

/* ——— kontakt ——— */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.contact-block {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2rem;
  background: var(--panel);
}
.contact-block h3 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.contact-block p { color: var(--ink); margin-bottom: .6rem; }
.contact-note { font-size: .8rem; color: var(--muted); }

/* ——— patička ——— */

.site-foot {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
.foot-logo { height: 40px; width: auto; opacity: .8; }

/* ——— responsivita ——— */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 7rem; min-height: 100vh; }
  .hero-stage { order: 1; height: 58vh; }
  .hero-copy { order: 2; }
  .detail-inner, .craft-inner { width: 100%; }
  .detail, .craft { background: rgba(22, 17, 12, .82); }
  .site-nav { display: none; }  /* [MENU: mobilní navigace přijde s JS fází] */
  .ph-box-b { transform: none; }
  .hero-stage .ph-chip { white-space: normal; max-width: 86%; }
}
