/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; background: var(--bg-elevated); }
a { color: inherit; text-decoration: none; }

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

/* ─── Container ──────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ─── Sections ───────────────────────────────────── */
.section { padding: var(--space-5xl) 0; }
.section-dark { background: var(--bg-surface); }

.section-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.section-header { margin-bottom: var(--space-2xl); }

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194,82,43,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── Navigation ─────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: var(--z-nav);
  transition: background var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
#nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; color: #fff !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--t-fast);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Footer ─────────────────────────────────────── */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.footer-brand {}
.footer-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xs);
}
.footer-city {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-social {
  display: flex;
  gap: var(--space-lg);
}
.footer-social a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.footer-social a:hover { color: var(--accent); }
.footer-copy {
  width: 100%;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  margin-top: var(--space-sm);
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 15px; }

  .container { padding: 0 var(--space-lg); }
  .section { padding: var(--space-4xl) 0; }
}

/* ─── Trusted Site badge ──────────────────────────── */
/* Force badge to bottom-right so it clears hero content and band members */
[id*="ywxi"], [class*="ywxi"],
[id*="trusted"], [class*="trusted-site"] {
  position: fixed !important;
  bottom: 16px !important;
  right: 16px !important;
  left: auto !important;
  top: auto !important;
  z-index: 500 !important;
}

/* ─── Dirty Oliver Chat Widget ───────────────────── */
.do-chat {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 600;
  font-family: var(--font-body);
}

/* Toggle bubble */
.do-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(194,82,43,0.45);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.do-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(194,82,43,0.6);
}
.do-icon-close { display: none; }
.do-chat.open .do-icon-chat { display: none; }
.do-chat.open .do-icon-close { display: block; }

/* Panel */
.do-panel {
  position: absolute;
  bottom: 68px;
  left: 0;
  width: 320px;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.do-panel[hidden] { display: none; }

/* Header */
.do-header {
  padding: 14px 16px;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.do-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.do-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
  flex-shrink: 0;
}
.do-name {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  line-height: 1;
  margin: 0;
}
.do-tagline {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 3px 0 0;
}

/* Messages */
.do-messages {
  height: 280px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.do-messages::-webkit-scrollbar { width: 4px; }
.do-messages::-webkit-scrollbar-track { background: transparent; }
.do-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.do-msg {
  max-width: 85%;
  padding: 9px 13px;
  font-size: 13.5px;
  line-height: 1.5;
  word-break: break-word;
}
.do-msg p { margin: 0; }
.do-msg--bot {
  background: #222;
  color: var(--text-primary);
  border-radius: 0 10px 10px 10px;
  align-self: flex-start;
}
.do-msg--user {
  background: var(--accent);
  color: #fff;
  border-radius: 10px 10px 0 10px;
  align-self: flex-end;
}
.do-msg--typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
}
.do-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  animation: doBounce 1.2s infinite ease-in-out;
}
.do-dot:nth-child(2) { animation-delay: 0.2s; }
.do-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes doBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40%            { transform: translateY(-5px); opacity: 1; }
}

/* Form */
.do-form {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #111;
  padding: 10px 12px;
}
.do-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.4;
}
.do-input::placeholder { color: var(--text-muted); }
.do-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.do-send:hover { background: var(--accent-hover); }
.do-send:disabled { background: #333; cursor: not-allowed; }

/* Mobile */
@media (max-width: 480px) {
  .do-chat { left: 16px; bottom: 16px; }
  .do-panel { width: calc(100vw - 32px); }
}
