/* Eden Street Agency — site styles. Implemented from "Eden Street Homepage.dc.html". */

:root {
  --accent: #3a86f5;
  --accent-hover: #2f6fd0;
  --ink: #14181f;
  --ink-muted: #4a5361;
  --navy: #081527;
  --navy-text-muted: #9fb0c4;
  --hero-bg: #0a0908;
  --nav-link: #e8e9eb;
  --card-border: #e3e6ea;
  --gutter: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Figtree', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Nav ─────────────────────────────────────────────────────────── */

.site-header {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  height: 96px;
}

.brand { display: flex; align-items: center; }
.brand-logo {
  display: block;
  height: 54px;
  width: auto;
  /* logo art is dark on transparent — render it white on the black bar */
  filter: brightness(0) invert(1);
}

.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav a {
  color: var(--nav-link);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.site-nav a:hover { color: var(--accent); }

.nav-toggle { display: none; }
.nav-toggle-btn { display: none; }

/* ── Hero ────────────────────────────────────────────────────────── */

.hero { position: relative; background: var(--hero-bg); overflow: hidden; }
.hero-media {
  position: absolute;
  inset: 0;
  background: url('../assets/hero-backdrop.svg') center / cover no-repeat;
}
.hero-product {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  height: 92%;
  max-height: 540px;
  width: auto;
  pointer-events: none;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,5,6,0.92) 0%, rgba(5,5,6,0.82) 32%, rgba(5,5,6,0.25) 62%, rgba(5,5,6,0.05) 100%);
  pointer-events: none;
}
.hero-content { position: relative; padding: 88px var(--gutter) 96px; max-width: 640px; }
.hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--accent); }
.hero-lede {
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: #dfe2e6;
  max-width: 430px;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 16px 26px;
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.65); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── Feature strip ───────────────────────────────────────────────── */

.features {
  background: var(--navy);
  padding: 44px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 6px 28px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.feature:first-child { border-left: none; }
.feature-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.feature-title { color: #fff; font-size: 16px; font-weight: 800; letter-spacing: 0.06em; }
.feature-body {
  color: var(--navy-text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin-top: 8px;
  text-wrap: pretty;
}

/* ── Partners ────────────────────────────────────────────────────── */

.partners { background: #fff; padding: 72px var(--gutter) 80px; }
.partners h2 {
  margin: 0;
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.partners-lede { margin: 14px 0 0; text-align: center; font-size: 18px; color: var(--ink-muted); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin: 48px auto 0;
  max-width: 1440px;
}
.partner {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  height: 64px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.partner.stacked { flex-direction: column; gap: 0; }
.partner-name { font-size: 17px; font-weight: 700; color: #1a1f28; letter-spacing: 0.01em; }
.partner-icon { height: 26px; width: 26px; object-fit: contain; flex-shrink: 0; }
.logo-full { max-height: 40px; max-width: 85%; width: auto; object-fit: contain; }

.more-tile { background: #f6f8fb; border-style: dashed; }
.more-tile .partner-name { color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; }

/* ── Contact page ────────────────────────────────────────────────── */

.contact-hero { background: var(--hero-bg); padding: 72px var(--gutter) 64px; }
.contact-hero h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.01em;
}
.contact-hero .accent { color: var(--accent); }
.contact-lede { margin: 20px 0 0; font-size: 19px; line-height: 1.55; color: #dfe2e6; max-width: 560px; text-wrap: pretty; }

.contact-body { padding: 56px var(--gutter) 88px; max-width: 760px; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9cfd8;
  border-radius: 8px;
  padding: 13px 14px;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: #9aa4b2; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 0;
}
.contact-form .btn { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }
.form-note { margin: 0; font-size: 13px; color: var(--ink-muted); }
.form-error { margin: 0; font-size: 15px; font-weight: 600; color: #c0392b; }
.form-error a { color: inherit; text-decoration: underline; }
.form-error[hidden] { display: none; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }

.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: var(--ink); }
.form-success[hidden] { display: none; }
.form-success svg { color: #2e9e5b; }
.form-success h2 { margin: 0; font-size: 30px; font-weight: 800; }
.form-success p { margin: 0; font-size: 17px; color: var(--ink-muted); }
.btn-outline-dark { background: transparent; color: var(--ink); border: 1px solid #c9cfd8; margin-top: 10px; }
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(20,24,31,0.05); }

/* ── Consultation CTA ────────────────────────────────────────────── */

.cta-banner {
  background: var(--navy);
  padding: 40px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-copy { display: flex; align-items: center; gap: 24px; }
.cta-copy svg { flex-shrink: 0; }
.cta-title { color: #fff; font-size: 20px; font-weight: 700; }
.cta-sub { color: var(--navy-text-muted); font-size: 16px; margin-top: 6px; }
.cta-banner .btn { padding: 17px 30px; gap: 12px; white-space: nowrap; }

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 1200px) {
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .feature:nth-child(3) { border-left: none; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }

  .site-header { height: auto; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
  .nav-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
  }
  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0 8px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }

  .hero h1 { font-size: 44px; }
  .hero-content { padding-top: 64px; padding-bottom: 72px; }
  .hero-product { height: 60%; right: 2%; opacity: 0.85; }
  .brand-logo { height: 44px; }

  .cta-banner { flex-direction: column; align-items: flex-start; }
  .contact-hero h1 { font-size: 38px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .feature { border-left: none; padding-left: 0; padding-right: 0; }
  .partners h2 { font-size: 30px; }
  .hero h1 { font-size: 38px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-product { display: none; }
}
