:root {
  --accent-light: #FBBF24;
  --accent-deep: #B45309;
  --accent-mid: #D97706;
  --black: #1A1006;

  --bg: #0F0B08;
  --surface: #1A130D;
  --surface-2: #241A11;
  --border: #3A2A1C;
  --ink: #F5EFE8;
  --ink-muted: #B8A798;

  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: min(1120px, 100% - 3rem);
}

* { box-sizing: border-box; }
html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

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

a { color: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 11, 8, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark { border-radius: 6px; flex-shrink: 0; }

.topbar-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.topbar-cta:hover { color: var(--accent-light); }

@media (max-width: 560px) {
  .topbar-cta { display: none; }
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(4.5rem, 12vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 15% 0%, rgba(251, 191, 36, 0.14), transparent 60%),
              radial-gradient(90% 70% at 100% 100%, rgba(180, 83, 9, 0.24), transparent 55%);
}

.ribbon {
  width: 100%;
  height: 100%;
}

.ribbon path {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.ribbon path:nth-child(1) { stroke: var(--accent-light); opacity: 0.28; }
.ribbon path:nth-child(2) { stroke: var(--accent-mid); opacity: 0.22; }
.ribbon path:nth-child(3) { stroke: var(--accent-deep); opacity: 0.24; }

@media (prefers-reduced-motion: no-preference) {
  .ribbon path {
    stroke-dasharray: 6 3000;
    animation: draw 3.2s var(--ease) forwards;
  }
  .ribbon path:nth-child(2) { animation-delay: 0.15s; }
  .ribbon path:nth-child(3) { animation-delay: 0.3s; }
  @keyframes draw {
    from { stroke-dasharray: 6 3000; }
    to { stroke-dasharray: 3000 0; }
  }
  .hero-inner > * {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.7s var(--ease) forwards;
  }
  .entity-line { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.15s; }
  .hero .lede { animation-delay: 0.28s; }
  .hero-actions { animation-delay: 0.4s; }
  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
}

.entity-line {
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-light);
}

.hero h1 {
  margin: 0 0 1.3rem;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 16ch;
  text-wrap: balance;
}

.lede {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-muted);
  margin: 0 0 2.4rem;
  text-wrap: pretty;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-deep) 50%, var(--black) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(180, 83, 9, 0.45);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.btn-large {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

/* Lines section */

.lines {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--border);
}

.lines h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
  max-width: 24ch;
  text-wrap: balance;
}

.line-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.line {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.line:hover {
  border-color: var(--accent-deep);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.line h3 {
  margin: 0 0 0.9rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.line p:last-child {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Brands section */

.brands {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--border);
}

.brands h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.brands-lede {
  color: var(--ink-muted);
  margin: 0 0 2.5rem;
  font-size: 1.02rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.brand-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.brand-card:hover {
  border-color: var(--accent-deep);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.brand-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand-card p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.brand-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* Contact */

.contact {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(180, 83, 9, 0.10) 100%);
  border-top: 1px solid var(--border);
}

.contact-inner {
  text-align: center;
  max-width: 40ch;
  margin-inline: auto;
}

.contact h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
}

.contact p {
  color: var(--ink-muted);
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.footer-entity p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer-entity p:first-child {
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.footer-email a {
  color: var(--accent-light);
  text-decoration: none;
}

.footer-email a:hover { text-decoration: underline; }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-brand-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  opacity: 0.6;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  opacity: 0.7;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .footer-meta { align-items: flex-end; }
  .footer-copy { text-align: right; }
}
