/* ============================================================
   DAPLO AI — "Atelier" · quiet-luxury editorial
   Cool ink · white · Fraunces display · cyan AI accent
   Shared stylesheet for index / o-nas / blog
============================================================ */
:root {
  /* Palette — cool ink + white, cyan accent */
  --ink:      #0A0B0C;
  --ink-2:    #0E1012;
  --surface:  #121518;
  --surface-2:#171B1F;

  --bone:     #EDF1F3;   /* cool white — primary text */
  --bone-dim: #BAC4C9;
  --muted:    #7C878D;   /* cool gray */
  --faint:    #49545A;

  --gold:     #22D3EE;   /* cyan AI accent */
  --gold-lt:  #67E8F9;
  --gold-glow: rgba(34,211,238,0.16);
  --amber:    #F59E0B;   /* inverse accent — nav CTA + live dot */

  --line:     rgba(237,241,243,0.10);
  --line-2:   rgba(237,241,243,0.05);

  /* Fonts */
  --display:  'Fraunces', Georgia, serif;
  --body:     'Hanken Grotesk', system-ui, sans-serif;

  /* Type scale */
  --t-xs:   12.5px;
  --t-sm:   15px;
  --t-base: 18px;
  --t-md:   22px;

  --max-w: 1280px;
  --pad:   clamp(24px, 6vw, 120px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* cool ambient field + vignette */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120% 80% at 78% -10%, var(--gold-glow) 0%, transparent 48%),
    radial-gradient(90% 70% at 8% 8%, rgba(34,211,238,0.06) 0%, transparent 55%),
    radial-gradient(140% 120% at 50% 120%, rgba(0,0,0,0.55) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 9999;
}

a { text-decoration: none; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

/* ============================================================
   NAV
============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(10,11,12,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--bone);
}
.logo .dot { color: var(--gold); font-style: italic; }
.logo img { height: 30px; width: auto; display: block; }
.logo-sm img { height: 22px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}
.nav-links a {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--bone-dim);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 28px; }

.clock {
  font-size: var(--t-xs);
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.clock .pulse {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(245,158,11,0.7);
  margin-right: 8px;
  vertical-align: middle;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.25} }

.btn {
  --bg: var(--gold);
  --fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--t-sm);
  letter-spacing: 0.005em;
  padding: 13px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(34,211,238,0.28); }
.btn:hover svg { transform: translateX(4px); }
/* sheen sweep */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transition: left 0.6s var(--ease);
}
.btn:hover::before { left: 140%; }

.btn-lg { padding: 15px 30px; font-size: var(--t-sm); }
.btn-nav { padding: 11px 22px; --bg: var(--amber); }
.btn-nav:hover { box-shadow: 0 12px 40px rgba(245,158,11,0.32); }

/* nav dropdown (Oferta) */
.has-drop { position: relative; }
.drop-trigger { display: inline-flex; align-items: center; gap: 6px; }
.drop-trigger svg { transition: transform 0.3s var(--ease); }
.has-drop:hover .drop-trigger svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding-top: 16px; /* hover bridge */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 600;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-inner {
  min-width: 320px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.55);
}
.drop-item { display: block; padding: 12px 14px; border-radius: 11px; transition: background 0.2s var(--ease); }
.drop-item:hover { background: rgba(34,211,238,0.07); }
.di-name { display: block; color: var(--bone); font-weight: 600; font-size: var(--t-sm); transition: color 0.2s var(--ease); }
.di-desc { display: block; color: var(--muted); font-size: var(--t-xs); margin-top: 3px; }
.drop-item:hover .di-name { color: var(--gold-lt); }

/* mobile offers group */
.mob-offers { display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
.mob-cap { font-size: var(--t-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.mob-offers a { font-family: var(--display); font-weight: 500; font-size: 26px; color: var(--bone-dim); }
.mob-offers a:hover { color: var(--gold-lt); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px; height: 1.5px;
  background: var(--bone);
  transition: all 0.3s var(--ease);
}

/* mobile overlay */
.mob {
  position: fixed; inset: 0;
  background: var(--ink-2);
  z-index: 600;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  gap: 8px;
  padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
}
.mob.open { clip-path: inset(0 0 0 0); }
.mob a {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 11vw, 64px);
  color: var(--bone);
  line-height: 1.15;
}
.mob a em { color: var(--gold); }
.mob .btn { margin-top: 32px; font-size: var(--t-base); padding: 16px 32px; }
.mob-close {
  position: absolute; top: 26px; right: var(--pad);
  background: none; border: none; color: var(--muted);
  font-size: 30px; cursor: pointer; line-height: 1;
}

/* ============================================================
   HERO (landing)
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 160px 0 110px;
}
.hero-mark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 52vw;
  line-height: 1;
  color: var(--bone);
  opacity: 0.025;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero > .wrap { width: 100%; }
.hero-inner { position: relative; z-index: 2; max-width: 960px; margin-left: clamp(0px, 4.5vw, 88px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.eyebrow::before {
  content: '';
  width: 38px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero h1 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 380;
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin-bottom: 40px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 340; color: var(--gold-lt); }

.hero-sub {
  font-size: clamp(18px, 1.6vw, var(--t-md));
  line-height: 1.55;
  color: var(--bone-dim);
  max-width: 580px;
  font-weight: 400;
  margin-bottom: 52px;
}
.hero-sub b { color: var(--bone); font-weight: 600; }

.hero-cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--bone-dim);
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease), gap 0.3s var(--ease);
}
.ghost-link:hover { color: var(--bone); gap: 14px; }
.ghost-link .ic {
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.ghost-link:hover .ic { border-color: var(--gold); background: rgba(34,211,238,0.08); }

.hero-note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  font-size: var(--t-sm);
  color: var(--muted);
  letter-spacing: 0.005em;
  max-width: 520px;
}
.hero-note b { color: var(--bone-dim); font-weight: 600; }

/* entrance + reveal */
.rise { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; }
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.30s; }
.d3 { animation-delay: 0.45s; }
.d4 { animation-delay: 0.60s; }
.d5 { animation-delay: 0.78s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   PAGE HERO (subpages)
============================================================ */
.page-hero {
  position: relative;
  padding: clamp(150px, 17vw, 210px) 0 clamp(48px, 7vw, 88px);
}
.page-hero .eyebrow { margin-bottom: 32px; }
.page-hero h1 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 380;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--bone);
  text-wrap: balance;
}
.page-hero h1 em { font-style: italic; font-weight: 340; color: var(--gold-lt); }
.page-hero .lead {
  margin-top: 36px;
  max-width: 560px;
  font-size: clamp(18px, 1.6vw, var(--t-md));
  line-height: 1.55;
  color: var(--bone-dim);
}

/* ============================================================
   SECTION SHELL
============================================================ */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.hairline-top::before {
  content: '';
  position: absolute;
  top: 0; left: var(--pad); right: var(--pad);
  height: 1px; background: var(--line-2);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
}
.kicker .idx { color: var(--gold); font-variant-numeric: tabular-nums; }
.kicker::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }

.h2 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 380;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.h2 em { font-style: italic; font-weight: 340; color: var(--gold-lt); }

/* ============================================================
   PROCESS
============================================================ */
.process-head {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 84px;
}
.process-head p { color: var(--muted); font-size: var(--t-base); max-width: 420px; justify-self: end; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step {
  padding: 44px 36px 44px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.5s var(--ease);
}
.step:not(:last-child) { padding-right: 44px; }
.step + .step { border-left: 1px solid var(--line); padding-left: 36px; }
.step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.55s var(--ease);
}
.step:hover::before { width: 100%; }

.step-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--faint);
  margin-bottom: 28px;
  transition: color 0.4s var(--ease);
}
.step:hover .step-num { color: var(--gold); }

.step h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin-bottom: 16px;
  line-height: 1.2;
}
.step p { font-size: var(--t-sm); line-height: 1.65; color: var(--muted); }
.step .tag {
  display: inline-block;
  margin-top: 22px;
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  font-weight: 600;
}

/* ============================================================
   ABOUT SNIPPET + FOUNDERS (landing)
============================================================ */
.about { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about-copy p { color: var(--bone-dim); font-size: var(--t-base); line-height: 1.6; margin: 28px 0 40px; max-width: 460px; }

.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.founder {
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 22px;
  text-align: center;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.founder:hover {
  transform: translateY(-6px);
  border-color: rgba(34,211,238,0.4);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--ink-2) 100%);
}
.avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--gold-lt);
  background: radial-gradient(circle at 30% 25%, rgba(34,211,238,0.16), transparent 70%);
  border: 1px solid rgba(34,211,238,0.32);
}
a.founder { color: inherit; }
.founder .fname { font-family: var(--display); font-weight: 500; font-size: 21px; color: var(--bone); margin-bottom: 6px; transition: color 0.3s var(--ease); }
a.founder:hover .fname { color: var(--gold-lt); }

/* photo avatars — fill the circular/rounded container */
.avatar img, .portrait img, .person-card .av img, .cal-side .av img,
.bk-summary .av img, .team-row .av img {
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block;
}
.founder .frole { font-size: var(--t-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ============================================================
   FOUNDERS — FULL (o-nas)
============================================================ */
.founder-list { display: flex; flex-direction: column; gap: 20px; }
.founder-full {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  background: linear-gradient(150deg, var(--surface) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 52px);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.founder-full:hover { border-color: rgba(34,211,238,0.32); transform: translateY(-4px); }
.portrait {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 8vw, 104px);
  color: var(--gold-lt);
  background:
    radial-gradient(circle at 32% 26%, rgba(34,211,238,0.20), transparent 62%),
    linear-gradient(160deg, var(--surface-2), var(--ink));
  border: 1px solid rgba(34,211,238,0.22);
}
.founder-full .fhead { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.founder-full h3 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; color: var(--bone); }
.founder-full .frole { font-size: var(--t-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.founder-full .spec { font-size: var(--t-sm); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; }
.founder-full .bio { font-size: var(--t-base); line-height: 1.62; color: var(--bone-dim); max-width: 560px; }
.founder-full .li { margin-top: 22px; }

/* ============================================================
   VALUES (o-nas)
============================================================ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 30px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.value:hover { border-color: rgba(34,211,238,0.3); transform: translateY(-5px); }
.value .vn { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 22px; }
.value h4 { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--bone); margin-bottom: 12px; }
.value p { font-size: var(--t-sm); line-height: 1.65; color: var(--muted); }

/* ============================================================
   BLOG
============================================================ */
.blog-note { color: var(--muted); font-size: var(--t-base); margin-bottom: 56px; max-width: 460px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.article {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.article:hover { transform: translateY(-6px); border-color: rgba(34,211,238,0.3); }

.article .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(80% 120% at 80% 0%, rgba(34,211,238,0.12), transparent 55%),
    linear-gradient(150deg, var(--surface-2), var(--ink));
  display: grid; place-items: center;
  overflow: hidden;
}
.article .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.article:hover .thumb img { transform: scale(1.04); }
.article .thumb .ghost-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 96px;
  color: var(--line);
  line-height: 1;
}
.article .badge {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-lt);
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.32);
  padding: 6px 12px;
  border-radius: 100px;
}

.article .body { padding: 30px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.article .meta {
  display: flex; gap: 14px; align-items: center;
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}
.article .meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.article h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 27px);
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--bone);
  margin-bottom: 14px;
}
.article .excerpt { font-size: var(--t-sm); line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.article .read {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   LEGAL PAGES (regulamin / polityka)
============================================================ */
.legal { max-width: 860px; }
.page-hero h1.legal-title { font-size: clamp(38px, 6vw, 72px); line-height: 1.0; }
.legal-date { color: var(--muted); font-size: var(--t-sm); margin-top: 18px; }
.legal-intro { color: var(--bone-dim); font-size: var(--t-base); line-height: 1.7; }

.toc {
  margin-top: 36px;
  border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 30px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
}
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 14px; padding: 8px 0; color: var(--bone-dim); font-size: var(--t-sm); transition: color 0.2s var(--ease); }
.toc a::before { content: counter(toc) "."; color: var(--gold); font-variant-numeric: tabular-nums; min-width: 26px; font-weight: 600; }
.toc a:hover { color: var(--gold-lt); }

.legal-sec { padding-top: 50px; margin-top: 50px; border-top: 1px solid var(--line-2); scroll-margin-top: 100px; }
.legal-sec h2 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.02em; color: var(--bone); line-height: 1.1; margin-bottom: 22px; }
.legal-sec h3 { font-size: var(--t-base); font-weight: 600; color: var(--bone); margin: 26px 0 10px; }
.legal-sec p { color: var(--bone-dim); line-height: 1.7; margin-bottom: 16px; }
.legal-sec p.lead-em { color: var(--bone); font-family: var(--display); font-style: italic; font-size: var(--t-md); }
.legal-sec a { color: var(--gold-lt); border-bottom: 1px solid var(--line); }
.legal-sec a:hover { border-color: var(--gold); }
.legal-sec ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 6px 0 16px; }
.legal-sec li { position: relative; padding-left: 24px; color: var(--bone-dim); line-height: 1.6; }
.legal-sec li::before { content: ''; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.legal-sec li b, .legal-sec p b { color: var(--bone); font-weight: 600; }

/* ============================================================
   FAQ (akordeon — natywne <details>)
============================================================ */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 26px 4px; font-family: var(--display); font-weight: 500; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -0.01em; color: var(--bone); transition: color 0.2s var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-lt); }
.faq-item .chev { flex-shrink: 0; color: var(--muted); transition: transform 0.35s var(--ease), color 0.2s var(--ease); }
/* bez JS: stan napedza [open]; z JS: klasa .faq-anim (natychmiastowy obrot przy zamykaniu) */
html:not(.js) .faq-item[open] summary { color: var(--bone); }
html:not(.js) .faq-item[open] .chev { transform: rotate(45deg); color: var(--gold-lt); }
.faq-item.faq-anim summary { color: var(--bone); }
.faq-item.faq-anim .chev { transform: rotate(45deg); color: var(--gold-lt); }

/* animacja rozwijania (JS animuje wysokosc .faq-wrap przez WAAPI) */
.faq-wrap { overflow: hidden; will-change: height; }
.js .faq-wrap { height: 0; }
.faq-a { padding: 2px 4px 30px; max-width: 680px; }
.faq-a p { color: var(--bone-dim); line-height: 1.7; margin-bottom: 14px; font-size: var(--t-base); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--gold-lt); border-bottom: 1px solid var(--line); }
.faq-a a:hover { border-color: var(--gold); }

/* ============================================================
   BLOG POST (single article — rendered from DB)
============================================================ */
.post { max-width: 760px; }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--muted); margin-bottom: 30px; transition: color 0.2s var(--ease); }
.post-back:hover { color: var(--gold-lt); }
.post-back svg { transition: transform 0.2s var(--ease); }
.post-back:hover svg { transform: translateX(-3px); }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: var(--t-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.post-meta .cat { color: var(--gold); font-weight: 700; }
.post-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.post > h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.02em; color: var(--bone); }
.post-author { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.post-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.post-author .pa-name { display: block; font-size: var(--t-sm); color: var(--bone); font-weight: 600; }
.post-author .pa-role { display: block; font-size: var(--t-xs); color: var(--muted); }
.post-cover { margin: 46px 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { font-size: var(--t-base); line-height: 1.8; }
.post-body > * + * { margin-top: 22px; }
.post-body p { color: var(--bone-dim); }
.post-body h2 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; color: var(--bone); line-height: 1.15; margin-top: 50px; }
.post-body h3 { font-size: var(--t-md); font-weight: 600; color: var(--bone); margin-top: 36px; }
.post-body a { color: var(--gold-lt); border-bottom: 1px solid var(--line); }
.post-body a:hover { border-color: var(--gold); }
.post-body ul, .post-body ol { display: flex; flex-direction: column; gap: 11px; padding-left: 0; list-style: none; }
.post-body li { position: relative; padding-left: 26px; color: var(--bone-dim); line-height: 1.6; }
.post-body ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.post-body ol { counter-reset: pli; }
.post-body ol li { counter-increment: pli; }
.post-body ol li::before { content: counter(pli) "."; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 600; }
.post-body blockquote { border-left: 2px solid var(--gold); padding-left: 24px; font-family: var(--display); font-style: italic; font-size: var(--t-md); color: var(--bone); }
.post-body img { width: 100%; border-radius: 12px; border: 1px solid var(--line-2); }
.post-body code { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 0.88em; background: var(--surface-2); padding: 2px 6px; border-radius: 5px; color: var(--gold-lt); }
.post-body b, .post-body strong { color: var(--bone); font-weight: 600; }

/* loading / empty / error states for DB-driven views */
.state { padding: 70px 0; text-align: center; color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }
.state b { color: var(--bone-dim); font-weight: 600; }

/* ============================================================
   ADMIN PANEL (/admin.html — Supabase auth + CRUD)
============================================================ */
.admin-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 500; background: rgba(10,11,12,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.admin-bar .logo img { height: 26px; }
.admin-bar .wrap { max-width: 1040px; }
.admin-bar .nav-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 70px; }
.admin-bar .nav-links { justify-self: center; }
.admin-bar .nav-links a { cursor: pointer; }
.admin-bar .nav-links a.active { color: var(--bone); }
.admin-bar .nav-links a.active::after { width: 100%; }
.admin-bar .nav-right { justify-self: end; gap: 18px; }
.admin-bar .btn-nav { padding: 9px 18px; }
.admin-who { font-size: var(--t-xs); color: var(--muted); }
.admin-bar .who b { color: var(--bone-dim); font-weight: 600; }
.admin-main { max-width: 1040px; margin: 0 auto; padding: 116px 24px 90px; }

.login-card { max-width: 390px; margin: 130px auto 0; padding: 40px 36px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%); }
.login-card h1 { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--bone); margin-bottom: 8px; }
.login-card .sub { color: var(--muted); font-size: var(--t-sm); margin-bottom: 28px; line-height: 1.5; }
.login-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.admin-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.02em; color: var(--bone); }

.admin-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.admin-row { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line-2); }
.admin-row:last-child { border-bottom: none; }
.admin-row .ar-title { flex: 1; color: var(--bone); font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-row .ar-date { font-size: var(--t-xs); color: var(--muted); white-space: nowrap; }
.chip-status { font-size: 11px; padding: 4px 11px; border-radius: 999px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.chip-status.pub { color: var(--gold-lt); background: var(--gold-glow); }
.chip-status.draft { color: var(--muted); background: var(--surface-2); }
.ar-actions { display: flex; gap: 14px; }
.ar-actions a { font-size: var(--t-xs); color: var(--muted); cursor: pointer; transition: color 0.2s var(--ease); }
.ar-actions a:hover { color: var(--gold-lt); }
.ar-actions a.del:hover { color: #F87171; }

.admin-editor { display: flex; flex-direction: column; max-width: 760px; }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.btn-danger { background: transparent; border: 1px solid rgba(248,113,113,0.4); color: #F87171; }
.btn-danger:hover { border-color: #F87171; background: rgba(248,113,113,0.08); }
.admin-msg { display: none; font-size: var(--t-sm); padding: 13px 16px; border-radius: 10px; margin-bottom: 18px; }
.admin-msg.show { display: block; }
.admin-msg.err { color: #F87171; background: rgba(248,113,113,0.1); }
.admin-msg.ok { color: var(--gold-lt); background: var(--gold-glow); }
.field .hint { font-size: var(--t-xs); color: var(--faint); margin-top: 6px; }

/* ---- zakładki panelu używają stylu .nav-links (jak nawigacja stron) ---- */
@media (max-width: 680px) {
  .admin-who { display: none; }
  .admin-bar .nav-links { gap: 22px; }
}

/* statusy spotkań */
.chip-status.new { color: var(--bone-dim); background: var(--surface-2); }
.chip-status.done { color: var(--gold-lt); background: var(--gold-glow); }
.chip-status.cancel { color: #F87171; background: rgba(248,113,113,0.12); }

.adm-empty { padding: 40px 4px; color: var(--muted); font-size: var(--t-sm); }

/* ---- KALENDARZ (admin) ---- */
.adm-cal-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 22px; align-items: start; }
.adm-cal { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: var(--surface); }
.cal-day .cal-dot {
  position: absolute; top: 5px; right: 5px; min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 700;
}
.cal-day.has { background: rgba(34,211,238,0.12); }
.cal-day.has:hover { background: rgba(34,211,238,0.2); }

.adm-meet-title { font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.adm-meet-list { display: flex; flex-direction: column; gap: 12px; max-height: 560px; overflow-y: auto; }
.meet-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%); }
.meet-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.meet-when { font-size: var(--t-sm); font-weight: 600; color: var(--bone); }
.meet-who { font-size: var(--t-sm); color: var(--bone-dim); }
.meet-person { color: var(--muted); }
.meet-mail { display: inline-block; margin-top: 3px; font-size: var(--t-xs); color: var(--gold-lt); }
.meet-note { margin-top: 8px; font-size: var(--t-sm); line-height: 1.5; color: var(--muted); }
.meet-actions { display: flex; gap: 14px; margin-top: 12px; }
.meet-actions a { font-size: var(--t-xs); color: var(--muted); cursor: pointer; transition: color 0.2s var(--ease); }
.meet-actions a:hover { color: var(--gold-lt); }
.meet-actions a.del:hover { color: #F87171; }

/* ---- FORMULARZE (admin) ---- */
.adm-forms-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }
.adm-forms-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); max-height: 620px; overflow-y: auto; }
.form-row { text-align: left; background: none; border: none; border-bottom: 1px solid var(--line-2); padding: 15px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: background 0.2s var(--ease); }
.form-row:last-child { border-bottom: none; }
.form-row:hover { background: rgba(255,255,255,0.03); }
.form-row.on { background: rgba(34,211,238,0.08); }
.fr-name { font-weight: 600; color: var(--bone); font-size: var(--t-sm); display: flex; align-items: center; gap: 8px; }
.fr-new { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.fr-meta { font-size: var(--t-xs); color: var(--muted); }
.adm-forms-detail { border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%); min-height: 200px; }
.form-detail .fd-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.form-detail .fd-head h2 { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--bone); }
.fd-grid { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.fd-row { display: flex; gap: 14px; padding: 12px 16px; background: var(--surface); }
.fd-k { width: 90px; flex-shrink: 0; font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 1px; }
.fd-v { color: var(--bone-dim); font-size: var(--t-sm); word-break: break-word; }
a.fd-v { color: var(--gold-lt); }
.fd-msg { margin-bottom: 24px; }
.fd-msg .fd-k { display: block; margin-bottom: 8px; }
.fd-msg p { color: var(--bone-dim); font-size: var(--t-base); line-height: 1.6; white-space: pre-wrap; }

@media (max-width: 820px) {
  .adm-cal-wrap, .adm-forms-wrap { grid-template-columns: 1fr; }
  .adm-forms-list { max-height: 320px; }
}

/* ============================================================
   OFFER PAGES + OVERVIEW
============================================================ */
.offer-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 7px;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 17px; font-size: var(--t-xs); letter-spacing: 0.03em;
}
.chip span { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.chip b { color: var(--bone); font-weight: 600; }

.gets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.get-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.get-card:hover { border-color: rgba(34,211,238,0.3); transform: translateY(-4px); }
.get-card .gi {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(34,211,238,0.07); border: 1px solid rgba(34,211,238,0.25); color: var(--gold-lt);
}
.get-card h4 { font-family: var(--display); font-weight: 500; font-size: 21px; color: var(--bone); margin-bottom: 11px; }
.get-card p { font-size: var(--t-sm); line-height: 1.6; color: var(--muted); }

/* risk-reversal callout (odwrócenie ryzyka) */
.risk-note { display: flex; gap: 16px; align-items: flex-start; max-width: 780px; margin: 46px auto 0; padding: 24px 30px; border: 1px solid rgba(34,211,238,0.25); border-radius: 16px; background: rgba(34,211,238,0.04); }
.risk-note .ri { color: var(--gold-lt); flex-shrink: 0; margin-top: 1px; }
.risk-note p { font-size: var(--t-base); line-height: 1.65; color: var(--bone-dim); }
.risk-note b { color: var(--bone); font-weight: 600; }

/* step-by-step flow (vertical) */
.flow { display: flex; flex-direction: column; }
.flow-item {
  display: grid; grid-template-columns: 90px 1fr; gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 3.4vw, 42px) 0; border-top: 1px solid var(--line);
}
.flow-num { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(40px, 5vw, 62px); color: var(--gold); line-height: 0.85; }
.flow-item h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); color: var(--bone); margin-bottom: 12px; letter-spacing: -0.01em; }
.flow-item p { font-size: var(--t-base); line-height: 1.6; color: var(--bone-dim); max-width: 640px; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.offer-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 20px; padding: 36px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  color: inherit;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.offer-card:hover { border-color: rgba(34,211,238,0.4); transform: translateY(-5px); }
.offer-card .oc-name { font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -0.01em; color: var(--bone); transition: color 0.3s var(--ease); }
.offer-card:hover .oc-name { color: var(--gold-lt); }
.offer-card .oc-tag { font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 8px 0 16px; }
.offer-card .oc-desc { font-size: var(--t-sm); line-height: 1.6; color: var(--muted); }
.offer-card .oc-go {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}

/* ============================================================
   FORM PRIMITIVES (contact + booking)
============================================================ */
.field { margin-bottom: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  margin-bottom: 7px;
  font-weight: 600;
}
.field label .req { color: var(--gold); }
.input, .select, .textarea {
  width: 100%;
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  color: var(--bone);
  font-family: var(--body);
  font-size: var(--t-sm);
  line-height: 1.5;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(34,211,238,0.04);
}
.textarea { resize: vertical; min-height: 96px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%237C878D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.select option { background: var(--ink-2); color: var(--bone); }

.consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.consent label { font-size: var(--t-sm); color: var(--muted); line-height: 1.5; }
.consent a { color: var(--gold-lt); border-bottom: 1px solid var(--line); }
.consent a:hover { border-color: var(--gold); }
.field-error { display: none; margin-top: 8px; font-size: var(--t-xs); color: #F87171; letter-spacing: 0.02em; }
.field.invalid .field-error { display: block; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #F87171; }

/* ============================================================
   CONTACT FORM SECTION (kontakt.html)
============================================================ */
.cform-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.cform-head .h2 { margin-bottom: 18px; }
.cform-head p { color: var(--muted); font-size: var(--t-base); }

.cform-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 2.6vw, 32px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
}
.side-stack { display: flex; flex-direction: column; gap: 20px; }
.panel-label {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--t-xs); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 18px;
}
.panel-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.team-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; color: inherit; }
.team-row + .team-row { border-top: 1px solid var(--line-2); }
.team-row .tname { transition: color 0.25s var(--ease); }
a.team-row:hover .tname { color: var(--gold-lt); }
.tarrow { margin-left: auto; color: var(--muted); font-size: 18px; transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
a.team-row:hover .tarrow { color: var(--gold-lt); transform: translate(3px, -3px); }
.team-row .av {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: 20px; color: var(--gold-lt);
  background: radial-gradient(circle at 30% 25%, rgba(34,211,238,0.18), transparent 70%);
  border: 1px solid rgba(34,211,238,0.3);
}
.team-row .tname { font-weight: 600; color: var(--bone); font-size: var(--t-base); }
.team-row .trole { font-size: var(--t-xs); color: var(--gold); letter-spacing: 0.04em; margin: 2px 0 3px; font-weight: 600; }

.info-row { display: flex; align-items: center; gap: 16px; padding: 11px 0; }
.info-row .ico {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(34,211,238,0.06); border: 1px solid var(--line); color: var(--gold-lt);
}
.info-row .it { font-size: var(--t-xs); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.info-row .iv { font-size: var(--t-base); color: var(--bone); }
.info-row a.iv:hover { color: var(--gold-lt); }

.form-status { display: none; text-align: center; padding: 20px 0; }
.form-status.show { display: block; }
.form-status .h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.form-status p { color: var(--muted); }

/* ============================================================
   BOOKING MODAL
============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(4,5,6,0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(28px, 3.4vw, 48px);
  transform: translateY(22px) scale(0.985);
  transition: transform 0.45s var(--ease), max-width 0.4s var(--ease);
}
.modal-overlay.open .modal { transform: none; }
.modal[data-step="cal"] { max-width: 1040px; }
.modal[data-step="form"] { max-width: 900px; }
.modal[data-step="done"] { max-width: 520px; }

.modal-close {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--bone-dim); font-size: 18px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.modal-close:hover { background: rgba(255,255,255,0.08); color: var(--bone); transform: rotate(90deg); }

.bk-step { display: none; }
.bk-step.active { display: block; animation: bkfade 0.4s var(--ease); }
@keyframes bkfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* step head */
.bk-head { text-align: center; margin-bottom: 36px; }
.bk-badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 26%, rgba(34,211,238,0.22), transparent 68%), var(--ink);
  border: 1px solid rgba(34,211,238,0.34);
  color: var(--gold-lt);
}
.bk-title { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; color: var(--bone); }
.bk-title em { font-style: italic; color: var(--gold-lt); }
.bk-sub { margin-top: 12px; color: var(--muted); font-size: var(--t-sm); }

/* step 1 — person picker */
.person-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person-card {
  text-align: left;
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 24px; cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}
.person-card:hover { border-color: rgba(34,211,238,0.45); transform: translateY(-4px); background: rgba(34,211,238,0.04); }
.person-card .av {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px;
  display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: 22px; color: var(--gold-lt);
  background: radial-gradient(circle at 30% 25%, rgba(34,211,238,0.18), transparent 70%);
  border: 1px solid rgba(34,211,238,0.3);
}
.person-card .pname { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--bone); }
.person-card .prole { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 5px 0 10px; }
.person-card .pspec { font-size: var(--t-sm); color: var(--muted); line-height: 1.5; }

/* step nav (back) */
.bk-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-sm); color: var(--muted); cursor: pointer;
  background: none; border: none; font-family: var(--body); font-weight: 500;
  margin-bottom: 24px; transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.bk-back:hover { color: var(--bone); gap: 12px; }

/* step 2 — calendar */
.bk-cal { display: grid; grid-template-columns: 220px 1fr 250px; gap: 0; }
.bk-cal > div { padding: 8px 28px; }
.cal-side { border-right: 1px solid var(--line-2); padding-left: 8px !important; }
.cal-side .av {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
  display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: 18px; color: var(--gold-lt);
  background: radial-gradient(circle at 30% 25%, rgba(34,211,238,0.18), transparent 70%);
  border: 1px solid rgba(34,211,238,0.3);
}
.cal-side .who { font-size: var(--t-sm); color: var(--muted); }
.cal-side .what { font-family: var(--display); font-weight: 500; font-size: 28px; color: var(--bone); margin: 4px 0 6px; }
.cal-side .desc { font-size: var(--t-sm); color: var(--muted); margin-bottom: 28px; }
.cal-side .meta { display: flex; align-items: center; gap: 11px; font-size: var(--t-sm); color: var(--bone-dim); margin-bottom: 14px; }
.cal-side .meta svg { color: var(--muted); flex-shrink: 0; }

.cal-grid-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cal-grid-head .mon { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--bone); }
.cal-grid-head .mon span { color: var(--muted); }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); color: var(--bone-dim);
  cursor: pointer; display: grid; place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s;
}
.cal-nav button:hover:not(:disabled) { background: rgba(255,255,255,0.07); color: var(--bone); }
.cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }

.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px; }
.cal-dow span { text-align: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-day {
  aspect-ratio: 1 / 1;
  border: none; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--bone); font-family: var(--body); font-weight: 500; font-size: 15px;
  cursor: pointer; position: relative;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.cal-day:hover:not(.disabled):not(.selected) { background: rgba(34,211,238,0.14); transform: translateY(-2px); }
.cal-day.empty { background: none; cursor: default; }
.cal-day.disabled { color: var(--faint); background: none; cursor: not-allowed; }
.cal-day.selected { background: var(--bone); color: var(--ink); font-weight: 700; }
.cal-day.today::after {
  content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}
.cal-day.selected.today::after { background: var(--ink); }

.cal-slots { border-left: 1px solid var(--line-2); display: flex; flex-direction: column; }
.cal-slots-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-slots-head .sel-day { font-weight: 600; color: var(--bone); font-size: var(--t-base); }
.cal-slots-head .sel-day span { color: var(--muted); font-weight: 400; }
.fmt-toggle { display: flex; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.fmt-toggle button {
  border: none; background: none; color: var(--muted); cursor: pointer;
  font-family: var(--body); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.fmt-toggle button.on { background: rgba(255,255,255,0.1); color: var(--bone); }
.slots-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 360px; padding-right: 4px; }
.slot {
  border: 1px solid var(--line); border-radius: 11px;
  background: rgba(255,255,255,0.02); color: var(--bone);
  font-family: var(--body); font-weight: 600; font-size: var(--t-sm);
  padding: 14px; text-align: center; cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.slot:hover { border-color: var(--gold); background: rgba(34,211,238,0.08); color: var(--gold-lt); }
.slots-empty { color: var(--muted); font-size: var(--t-sm); padding: 20px 4px; }

/* step 3 — booking form */
.bk-form { display: grid; grid-template-columns: 0.85fr 1fr; gap: 0; }
.bk-summary { border-right: 1px solid var(--line-2); padding-right: 36px; }
.bk-summary .av {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
  display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: 18px; color: var(--gold-lt);
  background: radial-gradient(circle at 30% 25%, rgba(34,211,238,0.18), transparent 70%);
  border: 1px solid rgba(34,211,238,0.3);
}
.bk-summary .who { font-size: var(--t-sm); color: var(--muted); }
.bk-summary .what { font-family: var(--display); font-weight: 500; font-size: 28px; color: var(--bone); margin: 4px 0 24px; }
.bk-summary .meta { display: flex; align-items: flex-start; gap: 11px; font-size: var(--t-sm); color: var(--bone-dim); margin-bottom: 14px; line-height: 1.4; }
.bk-summary .meta svg { color: var(--muted); flex-shrink: 0; margin-top: 2px; }
.bk-form-fields { padding-left: 36px; }
.bk-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 8px; }
.btn-ghost {
  background: none; border: 1px solid var(--line); color: var(--bone-dim);
  border-radius: 100px; padding: 12px 22px; font-family: var(--body); font-weight: 600;
  font-size: var(--t-sm); cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-ghost:hover { border-color: var(--bone-dim); color: var(--bone); }

/* step 4 — success */
.bk-done { text-align: center; padding: 12px 0 8px; }
.bk-done .check {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 26px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(34,211,238,0.25), transparent 68%), var(--ink);
  border: 1px solid rgba(34,211,238,0.4); color: var(--gold-lt);
}
.bk-done .h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.bk-done p { color: var(--muted); font-size: var(--t-base); margin-bottom: 8px; }
.bk-done .recap { color: var(--bone); font-weight: 600; }
.bk-done .btn { margin: 30px auto 0; }

/* ============================================================
   CONTACT / CTA
============================================================ */
.contact { text-align: center; }
.contact .h2 { margin: 0 auto; max-width: 760px; }
.contact-sub { color: var(--muted); font-size: var(--t-base); margin: 28px auto 48px; max-width: 460px; }
.contact .btn { margin: 0 auto; }
.contact-alt { margin-top: 30px; font-size: var(--t-sm); color: var(--muted); }
.contact-alt a { color: var(--bone-dim); border-bottom: 1px solid var(--line); transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.contact-alt a:hover { color: var(--gold-lt); border-color: var(--gold); }

.socials { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 56px; }
.social {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 11px 22px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.social:hover { color: var(--bone); border-color: rgba(34,211,238,0.4); background: rgba(34,211,238,0.05); }

/* ============================================================
   FOOTER
============================================================ */
footer { border-top: 1px solid var(--line); padding: 56px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-mail {
  font-size: var(--t-sm);
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.foot-mail:hover { color: var(--bone); border-bottom-color: var(--gold); }
.foot-nav { display: flex; gap: 30px; list-style: none; flex-wrap: wrap; }
.foot-nav a { font-size: var(--t-sm); color: var(--muted); transition: color 0.25s var(--ease); }
.foot-nav a:hover { color: var(--bone); }
.foot-copy { font-size: var(--t-xs); color: var(--faint); letter-spacing: 0.04em; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 920px) {
  .nav-links, .clock, .nav-right .btn { display: none; }
  .hamburger { display: flex; }

  .process-head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .process-head p { justify-self: start; }

  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; padding-left: 0; }
  .step:not(:last-child) { padding-right: 0; }

  .about { grid-template-columns: 1fr; gap: 56px; }
  .hero-mark { font-size: 90vw; right: -20%; opacity: 0.03; }
  .hero-inner { margin-left: 0; }

  .founder-full { grid-template-columns: 1fr; text-align: left; }
  .portrait { max-width: 200px; }
  .values { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .cform-wrap { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .gets { grid-template-columns: 1fr; }
  .flow-item { grid-template-columns: 1fr; gap: 10px; }

  .modal[data-step="cal"], .modal[data-step="form"] { max-width: 560px; }
  .bk-cal { grid-template-columns: 1fr; }
  .bk-cal > div { padding: 0; }
  .cal-side { border-right: none; border-bottom: 1px solid var(--line-2); padding-bottom: 24px !important; margin-bottom: 24px; }
  .cal-side .meta { display: inline-flex; margin-right: 18px; }
  .cal-slots { border-left: none; border-top: 1px solid var(--line-2); padding-top: 24px; margin-top: 24px; }
  .slots-list { max-height: 260px; }

  .bk-form { grid-template-columns: 1fr; }
  .bk-summary { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line-2); padding-bottom: 24px; margin-bottom: 24px; }
  .bk-form-fields { padding-left: 0; }
}

@media (max-width: 540px) {
  .founders { grid-template-columns: 1fr; }
  .hero-cta { gap: 22px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .reveal { opacity: 1; transform: none; }
}
