/* ==========================================================================
   Verena s.r.o. — shared stylesheet
   ========================================================================== */

:root{
  --graphite: #14161a;
  --steel: #2b2f36;
  --steel-line: #454b54;
  --paper: #e7e9e5;
  --paper-2: #d9dcd6;
  --ink: #14161a;
  --orange: #ff5a1f;
  --orange-dim: #c9481a;
  --white: #f5f6f3;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'IBM Plex Sans', sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Oswald', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.01em;
  line-height:1.05;
}
.mono{ font-family:'IBM Plex Mono', monospace; }
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
@media (max-width:640px){ .wrap{padding:0 20px;} }

::selection{ background:var(--orange); color:var(--white); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}

/* ---------- NAV ---------- */
header.site{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:rgba(20,22,26,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
header.site .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.logo{
  font-family:'Oswald', sans-serif;
  font-weight:700;
  font-size:1.3rem;
  letter-spacing:0.06em;
  color:var(--white);
}
.logo span{ color:var(--orange); }
nav.main{ display:flex; align-items:center; gap:32px; }
nav.main a{
  color:#c7cad0;
  font-size:0.82rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-weight:500;
  transition:color .15s ease;
}
nav.main a:hover, nav.main a.is-active{ color:var(--white); }
.nav-cta{
  background:var(--orange);
  color:var(--graphite) !important;
  padding:10px 18px;
  font-family:'IBM Plex Mono', monospace;
  font-weight:600;
  font-size:0.8rem;
  letter-spacing:0.04em;
}
.nav-cta:hover{ background:#ff7440; }
.burger{ display:none; background:none; border:0; color:var(--white); font-size:1.6rem; cursor:pointer; }

@media (max-width:860px){
  nav.main{
    position:fixed; top:72px; left:0; right:0; bottom:0;
    background:var(--graphite);
    flex-direction:column; justify-content:flex-start;
    padding:36px 32px; gap:26px;
    transform:translateX(100%);
    transition:transform .25s ease;
  }
  nav.main.open{ transform:translateX(0); }
  nav.main a{ font-size:1.1rem; }
  .burger{ display:block; }
}

/* ---------- HERO (homepage) ---------- */
.hero{
  background:var(--graphite);
  color:var(--white);
  padding:168px 0 96px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size:42px 42px;
  pointer-events:none;
}
.hero .wrap{ position:relative; }

/* ---------- HERO LASER-CUT ANIMATION ---------- */
.laser-cut{
  position:absolute; inset:0;
  overflow:hidden;
  pointer-events:none;
}
.laser-cut-svg{
  position:absolute;
  left:50%; top:46%;
  transform:translateX(-50%);
  width:92%; max-width:1100px; height:auto;
  opacity:0.75;
}
.cut-group{
  animation:groupFade 10s linear infinite;
}
.contour-text{
  fill:none;
  stroke:var(--orange);
  stroke-width:2.4;
  stroke-linejoin:round;
  stroke-linecap:round;
  stroke-dasharray:1;
  stroke-dashoffset:1;
  filter:drop-shadow(0 0 4px rgba(255,90,31,0.65));
  animation-duration:10s;
  animation-timing-function:linear;
  animation-iteration-count:infinite;
}
.cut-head{
  fill:#fffdfb;
  offset-rotate:0deg;
  filter:
    drop-shadow(0 0 4px rgba(255,255,255,1))
    drop-shadow(0 0 11px rgba(255,110,40,1))
    drop-shadow(0 0 26px rgba(255,90,31,0.85));
  animation:headTravel 10s linear infinite;
}
.spark-dot{
  fill:var(--orange);
  opacity:0;
  filter:drop-shadow(0 0 5px rgba(255,138,61,0.95));
  animation:sparkFlicker 10s ease-out infinite;
}
@keyframes draw0{
  0%   { stroke-dashoffset:1; }
  18.13%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw1{
  0%   { stroke-dashoffset:1; }
  18.13%  { stroke-dashoffset:1; }
  23.16%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw2{
  0%   { stroke-dashoffset:1; }
  23.16%  { stroke-dashoffset:1; }
  24.69%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw3{
  0%   { stroke-dashoffset:1; }
  24.69%  { stroke-dashoffset:1; }
  31.19%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw4{
  0%   { stroke-dashoffset:1; }
  31.19%  { stroke-dashoffset:1; }
  36.21%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw5{
  0%   { stroke-dashoffset:1; }
  36.21%  { stroke-dashoffset:1; }
  37.75%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw6{
  0%   { stroke-dashoffset:1; }
  37.75%  { stroke-dashoffset:1; }
  46.3%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw7{
  0%   { stroke-dashoffset:1; }
  46.3%  { stroke-dashoffset:1; }
  51.82%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw8{
  0%   { stroke-dashoffset:1; }
  51.82%  { stroke-dashoffset:1; }
  54.34%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw9{
  0%   { stroke-dashoffset:1; }
  54.34%  { stroke-dashoffset:1; }
  59.15%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw10{
  0%   { stroke-dashoffset:1; }
  59.15%  { stroke-dashoffset:1; }
  61.29%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw11{
  0%   { stroke-dashoffset:1; }
  61.29%  { stroke-dashoffset:1; }
  62.49%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw12{
  0%   { stroke-dashoffset:1; }
  61.97%  { stroke-dashoffset:1; }
  68.47%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw13{
  0%   { stroke-dashoffset:1; }
  68.47%  { stroke-dashoffset:1; }
  69.67%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw14{
  0%   { stroke-dashoffset:1; }
  69.15%  { stroke-dashoffset:1; }
  72.41%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw15{
  0%   { stroke-dashoffset:1; }
  72.41%  { stroke-dashoffset:1; }
  74.33%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes draw16{
  0%   { stroke-dashoffset:1; }
  74.33%  { stroke-dashoffset:1; }
  75.53%  { stroke-dashoffset:0; }
  93.0%  { stroke-dashoffset:0; }
  94.0%  { stroke-dashoffset:1; }
  100% { stroke-dashoffset:1; }
}
@keyframes headTravel{
  0%   { offset-distance:0%; }
  75%  { offset-distance:100%; }
  100% { offset-distance:100%; }
}
@keyframes groupFade{
  0%   { opacity:1; }
  88%  { opacity:1; }
  93%  { opacity:0; }
  100% { opacity:0; }
}
@keyframes sparkFlicker{
  0%   { opacity:0; transform:translateY(0) scale(0.6); }
  6%   { opacity:1; transform:translateY(-2px) scale(1.2); }
  16%  { opacity:0; transform:translateY(-8px) scale(0.4); }
  100% { opacity:0; }
}
@media (max-width:960px){
  .laser-cut-svg{ opacity:0.4; width:94%; top:40%; }
}
@media (max-width:640px){
  .laser-cut{ display:none; }
}
@media (prefers-reduced-motion: reduce){
  .laser-cut{ display:none; }
}

.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  color:var(--orange);
  font-size:0.82rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  display:flex; align-items:center; gap:10px;
  margin-bottom:22px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--orange); }
.hero h1{ font-size:clamp(3rem, 8vw, 6.4rem); font-weight:700; max-width:14ch; }
.hero h1 .dot{ color:var(--orange); }
.hero-sub{ margin-top:26px; max-width:640px; font-size:1.1rem; color:#cfd2d6; }
.hero-actions{ display:flex; gap:16px; margin-top:44px; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 26px;
  font-family:'IBM Plex Mono', monospace;
  font-weight:600; font-size:0.85rem;
  letter-spacing:0.04em;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary{ background:var(--orange); color:var(--graphite); }
.btn-primary:hover{ background:#ff7440; transform:translateY(-2px); }
.btn-ghost{ border-color:rgba(255,255,255,0.25); color:var(--white); }
.btn-ghost:hover{ border-color:var(--white); }

.hero-stats{
  display:grid; grid-template-columns:repeat(3,auto);
  gap:48px; margin-top:80px; padding-top:32px;
  border-top:1px solid rgba(255,255,255,0.12);
  max-width:640px;
}
.hero-stats .num{ font-family:'Oswald', sans-serif; font-size:2.4rem; font-weight:600; color:var(--white); }
.hero-stats .num span{ color:var(--orange); }
.hero-stats .lbl{
  font-family:'IBM Plex Mono', monospace; font-size:0.72rem; letter-spacing:0.08em;
  color:#9a9ea5; text-transform:uppercase; margin-top:4px;
}
@media (max-width:640px){ .hero-stats{ grid-template-columns:1fr; gap:22px; } }

/* ---------- PAGE HEADER (subpages) ---------- */
.page-header{
  background:var(--graphite); color:var(--white);
  padding:150px 0 64px; position:relative; overflow:hidden;
}
.page-header::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size:42px 42px;
  pointer-events:none;
}
.page-header .wrap{ position:relative; }
.page-header h1{ font-size:clamp(2.4rem, 6vw, 4rem); }
.page-header p{ margin-top:18px; max-width:560px; color:#c7cad0; }

/* ---------- CUT DIVIDER (signature element) ---------- */
.cut{ height:46px; width:100%; display:block; }

/* ---------- SECTION LABELS ---------- */
.sec-head{ margin-bottom:56px; max-width:640px; }
.sec-head .eyebrow{ color:var(--orange-dim); }
.sec-head h2{ font-size:clamp(2rem, 4vw, 2.8rem); }
.sec-head p{ margin-top:16px; color:#43474d; font-size:1.02rem; }

section{ padding:100px 0; }
section.tight{ padding:72px 0; }

/* ---------- O NAS ---------- */
.about{ background:var(--paper); }
.about-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:64px; align-items:start; }
.about-grid p{ color:#33363b; margin-bottom:18px; font-size:1.02rem; }
.about-grid p strong{ color:var(--ink); }

.spec-plate{
  background:var(--graphite); color:var(--white);
  padding:36px; position:relative; border-left:4px solid var(--orange);
}
.spec-plate .mono{ color:#9a9ea5; font-size:0.75rem; letter-spacing:0.1em; text-transform:uppercase; }
.spec-row{ display:flex; justify-content:space-between; align-items:baseline; padding:16px 0; border-bottom:1px solid rgba(255,255,255,0.1); }
.spec-row:last-child{ border-bottom:0; }
.spec-row .k{ font-size:0.92rem; color:#c7cad0; }
.spec-row .v{ font-family:'IBM Plex Mono', monospace; font-weight:600; color:var(--white); font-size:1rem; }
@media (max-width:860px){ .about-grid{ grid-template-columns:1fr; } }

/* ---------- SLUZBY ---------- */
.services{ background:var(--paper-2); }
.service-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:2px; background:var(--steel-line); border:2px solid var(--graphite); }
.service-card{ background:var(--paper-2); padding:40px 32px; position:relative; transition:background .2s ease; }
.service-card:hover{ background:var(--white); }
.service-idx{ font-family:'IBM Plex Mono', monospace; color:var(--orange-dim); font-size:0.85rem; margin-bottom:18px; display:block; }
.service-card h3{ font-size:1.4rem; margin-bottom:14px; }
.service-card ul{ list-style:none; margin-top:16px; }
.service-card li{ font-size:0.94rem; color:#3a3d42; padding-left:18px; position:relative; margin-bottom:10px; }
.service-card li::before{ content:"—"; position:absolute; left:0; color:var(--orange); }
.cap-tag{ display:inline-block; margin-top:18px; font-family:'IBM Plex Mono', monospace; font-size:0.78rem; letter-spacing:0.04em; background:var(--graphite); color:var(--white); padding:6px 12px; }
@media (max-width:860px){ .service-grid{ grid-template-columns:1fr; } }

/* ---------- PROCES ---------- */
.process{ background:var(--graphite); color:var(--white); }
.process .sec-head p{ color:#aeb2b8; }
.process-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:28px; }
.process-step{ border-top:2px solid var(--orange); padding-top:22px; }
.process-step .step-no{ font-family:'IBM Plex Mono', monospace; color:var(--orange); font-size:0.8rem; display:block; margin-bottom:14px; }
.process-step p{ color:#c7cad0; font-size:0.95rem; }
@media (max-width:860px){ .process-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .process-grid{ grid-template-columns:1fr; } }

/* ---------- GALERIA ---------- */
.gallery{ background:var(--paper); }
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:200px;
  gap:2px;
  background:var(--steel-line);
  border:2px solid var(--graphite);
}
.gallery-item{ position:relative; overflow:hidden; background:var(--steel); cursor:zoom-in; }
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  filter:grayscale(0.15) contrast(1.05);
  transition:transform .4s ease, filter .3s ease;
}
.gallery-item:hover img{ transform:scale(1.06); filter:grayscale(0) contrast(1.05); }
.gallery-item.wide{ grid-column:span 2; }
.gallery-item .cap{
  position:absolute; left:0; right:0; bottom:0;
  padding:10px 14px;
  background:linear-gradient(transparent, rgba(0,0,0,0.65));
  color:var(--white);
  font-family:'IBM Plex Mono', monospace;
  font-size:0.7rem; letter-spacing:0.06em; text-transform:uppercase;
  opacity:0; transition:opacity .25s ease;
}
.gallery-item:hover .cap{ opacity:1; }
@media (max-width:860px){
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); grid-auto-rows:160px; }
  .gallery-item.wide{ grid-column:span 2; }
}
@media (max-width:520px){
  .gallery-grid{ grid-template-columns:1fr; }
  .gallery-item.wide{ grid-column:span 1; }
}

/* ---------- TIM ---------- */
.team{ background:var(--paper); }
.team-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; }
.team-card{ background:var(--white); border:1px solid var(--paper-2); padding:28px 24px; display:flex; flex-direction:column; }
.team-card .role{ font-family:'IBM Plex Mono', monospace; font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--orange-dim); margin-bottom:8px; }
.team-card h4{ font-size:1.15rem; margin-bottom:4px; text-transform:none; font-family:'IBM Plex Sans',sans-serif; font-weight:600; }
.team-card .loc{ font-size:0.85rem; color:#6b6f75; margin-bottom:16px; }
.team-card .phone{ font-family:'IBM Plex Mono', monospace; font-size:0.9rem; font-weight:600; border-top:1px solid var(--paper-2); padding-top:14px; margin-top:auto; display:inline-block; }
.team-card .phone:hover{ color:var(--orange-dim); }
@media (max-width:860px){ .team-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .team-grid{ grid-template-columns:1fr; } }

/* ---------- KONTAKT / PREVADZKY ---------- */
.contact{ background:var(--graphite); color:var(--white); }
.contact .sec-head p{ color:#aeb2b8; }
.loc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:2px; background:rgba(255,255,255,0.12); }
.loc-card{ background:var(--graphite); padding:36px; }
.loc-card .mono-tag{ font-family:'IBM Plex Mono', monospace; color:var(--orange); font-size:0.75rem; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:14px; display:block; }
.loc-card h3{ font-size:1.5rem; margin-bottom:16px; }
.loc-card .line{ color:#c7cad0; font-size:0.95rem; margin-bottom:6px; }
.loc-card .hours{ margin-top:18px; padding-top:18px; border-top:1px solid rgba(255,255,255,0.1); font-family:'IBM Plex Mono', monospace; font-size:0.85rem; color:#9a9ea5; }
@media (max-width:760px){ .loc-grid{ grid-template-columns:1fr; } }

.contact-cta{ margin-top:64px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px; padding-top:48px; border-top:1px solid rgba(255,255,255,0.12); }
.contact-cta h3{ font-size:1.7rem; max-width:16ch; }
.contact-cta .who{ font-family:'IBM Plex Mono', monospace; font-size:0.85rem; color:#9a9ea5; }

/* ---------- MAPS ---------- */
.map-frame{ position:relative; width:100%; padding-top:62%; background:var(--steel); overflow:hidden; }
.map-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; filter:grayscale(0.25) contrast(1.05); }
.map-caption{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding:16px 20px; background:var(--steel); color:#c7cad0; font-family:'IBM Plex Mono', monospace; font-size:0.78rem; }
.map-caption a{ color:var(--orange); }

/* ---------- FORM ---------- */
.form-card{ background:var(--white); border:1px solid var(--paper-2); padding:40px; }
.field{ margin-bottom:22px; }
.field label{ display:block; font-family:'IBM Plex Mono', monospace; font-size:0.75rem; letter-spacing:0.06em; text-transform:uppercase; color:#54585e; margin-bottom:8px; }
.field input, .field textarea, .field select{
  width:100%; padding:13px 14px; border:1px solid var(--paper-2); background:var(--paper);
  font-family:'IBM Plex Sans', sans-serif; font-size:0.98rem; color:var(--ink);
  transition:border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color:var(--orange); background:var(--white); outline:none; }
.field textarea{ resize:vertical; min-height:130px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:600px){ .field-row{ grid-template-columns:1fr; } }

/* honeypot field — hidden from real users, visible in DOM for bots that don't render CSS */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  top:-9999px !important;
  width:1px; height:1px; overflow:hidden;
}

.form-note{ font-size:0.85rem; color:#6b6f75; margin-top:14px; }
.form-status{ margin-top:18px; padding:14px 16px; font-size:0.92rem; display:none; }
.form-status.ok{ display:block; background:#e5f3ea; border-left:3px solid #2f9e52; color:#1f5c33; }
.form-status.err{ display:block; background:#fbe7e2; border-left:3px solid var(--orange); color:#8a2c11; }

/* ---------- GDPR TABS ---------- */
.tabs-bar{ display:flex; gap:2px; flex-wrap:wrap; margin-bottom:2px; }
.tab-btn{
  flex:1 1 220px; background:var(--paper-2); border:0; padding:16px 18px;
  font-family:'IBM Plex Mono', monospace; font-size:0.78rem; letter-spacing:0.04em; text-transform:uppercase;
  color:#43474d; cursor:pointer; text-align:left; transition:background .15s ease, color .15s ease;
}
.tab-btn:hover{ background:var(--white); }
.tab-btn.is-active{ background:var(--graphite); color:var(--white); }
.tab-panel{ display:none; background:var(--white); border:1px solid var(--paper-2); padding:40px; }
.tab-panel.is-active{ display:block; }
.legal-text h3{ font-family:'IBM Plex Sans', sans-serif; text-transform:none; font-size:1.15rem; font-weight:600; margin:26px 0 10px; }
.legal-text h3:first-child{ margin-top:0; }
.legal-text p{ font-size:0.95rem; color:#33363b; margin-bottom:12px; }
.legal-text strong{ color:var(--ink); }

/* generic legal page copy */
.legal-page p{ font-size:0.98rem; color:#33363b; margin-bottom:14px; max-width:760px; }
.legal-page h2{ font-size:1.6rem; margin:44px 0 16px; }
.legal-page h2:first-of-type{ margin-top:0; }
.legal-page ul{ margin:0 0 16px 20px; color:#33363b; font-size:0.98rem; }
.legal-page li{ margin-bottom:8px; }
.legal-page table{ width:100%; border-collapse:collapse; margin:20px 0 28px; font-size:0.92rem; }
.legal-page th, .legal-page td{ text-align:left; padding:10px 14px; border:1px solid var(--paper-2); }
.legal-page th{ background:var(--paper-2); font-family:'IBM Plex Mono', monospace; font-size:0.75rem; text-transform:uppercase; letter-spacing:0.04em; }

/* ---------- FOOTER ---------- */
footer.site-footer{ background:#0d0e10; color:#7c8087; padding:28px 0; font-size:0.8rem; }
footer.site-footer .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; align-items:center; }
footer.site-footer .foot-links{ display:flex; gap:18px; flex-wrap:wrap; }
footer.site-footer a:hover{ color:var(--orange); }

/* scroll reveal */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- COOKIE BANNER ---------- */
#cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:200;
  background:var(--graphite); color:var(--white);
  border-top:2px solid var(--orange);
  padding:22px 0;
  transform:translateY(110%);
  transition:transform .35s ease;
}
#cookie-banner.is-visible{ transform:translateY(0); }
.cookie-inner{ display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; }
.cookie-text{ max-width:640px; font-size:0.92rem; color:#c7cad0; }
.cookie-text a{ color:var(--orange); }
.cookie-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.btn-small{ padding:11px 18px; font-size:0.78rem; }
.btn-outline{ background:transparent; border:1px solid rgba(255,255,255,0.3); color:var(--white); }
.btn-outline:hover{ border-color:var(--white); }

#cookie-modal{
  position:fixed; inset:0; z-index:220; background:rgba(10,11,13,0.72);
  display:none; align-items:center; justify-content:center; padding:24px;
}
#cookie-modal.is-visible{ display:flex; }
.cookie-modal-card{
  background:var(--white); color:var(--ink); max-width:560px; width:100%;
  padding:36px; max-height:86vh; overflow-y:auto;
}
.cookie-modal-card h3{ font-size:1.5rem; margin-bottom:16px; }
.cookie-cat{ border-top:1px solid var(--paper-2); padding:18px 0; display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.cookie-cat:first-of-type{ border-top:0; }
.cookie-cat h4{ font-family:'IBM Plex Sans',sans-serif; text-transform:none; font-size:1rem; font-weight:600; margin-bottom:6px; }
.cookie-cat p{ font-size:0.85rem; color:#54585e; }
.switch{ position:relative; width:44px; height:24px; flex:0 0 auto; }
.switch input{ opacity:0; width:0; height:0; }
.switch .slider{ position:absolute; inset:0; background:#c7cad0; cursor:pointer; transition:.2s; }
.switch .slider::before{ content:""; position:absolute; width:18px; height:18px; left:3px; top:3px; background:var(--white); transition:.2s; }
.switch input:checked + .slider{ background:var(--orange); }
.switch input:checked + .slider::before{ transform:translateX(20px); }
.switch input:disabled + .slider{ opacity:0.6; cursor:not-allowed; }
.cookie-modal-actions{ display:flex; gap:12px; margin-top:26px; flex-wrap:wrap; }
.cookie-modal-actions .btn{ color:var(--white); }
.cookie-modal-actions .btn-outline{ color:var(--ink); border-color:var(--paper-2); }
.cookie-modal-actions .btn-outline:hover{ border-color:var(--ink); }

/* ---------- GALLERY LIGHTBOX ---------- */
.lightbox{
  position:fixed; inset:0; z-index:300;
  background:rgba(8,9,11,0.94);
  display:none;
  align-items:center; justify-content:center;
  padding:60px 24px;
}
.lightbox.is-visible{ display:flex; }
.lightbox-figure{
  max-width:min(1100px, 92vw);
  max-height:88vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.lightbox-figure img{
  max-width:100%;
  max-height:78vh;
  width:auto;
  object-fit:contain;
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
  animation:lightboxZoom .22s ease;
}
.lightbox-figure figcaption{
  color:#c7cad0;
  font-family:'IBM Plex Mono', monospace;
  font-size:0.85rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
@keyframes lightboxZoom{
  from{ transform:scale(0.92); opacity:0; }
  to{ transform:scale(1); opacity:1; }
}
.lightbox-close{
  position:absolute; top:22px; right:26px;
  background:transparent; border:1px solid rgba(255,255,255,0.3);
  color:var(--white); width:44px; height:44px;
  font-size:1.1rem; cursor:pointer;
  transition:border-color .15s ease, color .15s ease;
}
.lightbox-close:hover{ border-color:var(--orange); color:var(--orange); }
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  background:transparent; border:1px solid rgba(255,255,255,0.25);
  color:var(--white); width:52px; height:52px;
  font-size:1.8rem; line-height:1; cursor:pointer;
  transition:border-color .15s ease, color .15s ease, background .15s ease;
}
.lightbox-nav:hover{ border-color:var(--orange); color:var(--orange); background:rgba(255,90,31,0.08); }
.lightbox-prev{ left:20px; }
.lightbox-next{ right:20px; }
@media (max-width:640px){
  .lightbox-nav{ width:42px; height:42px; font-size:1.4rem; }
  .lightbox-close{ width:38px; height:38px; top:14px; right:14px; }
  .lightbox-prev{ left:8px; }
  .lightbox-next{ right:8px; }
}
