/* Anderprise Holdings — shared stylesheet */

:root {
  --navy: #0c2038;
  --navy-deep: #081525;
  --navy-soft: #16304f;
  --gold: #d9a857;
  --gold-soft: #e8caa0;
  --cream: #f6f1e6;
  --cream-dim: #efe7d6;
  --slate: #8a93a3;
  --ink: #1c2430;
  --white: #ffffff;
  --budi-green: #16a34a;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.9em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 3px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-soft); }

.btn-outline {
  background: transparent;
  border-color: rgba(246, 241, 230, 0.4);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-navy {
  background: transparent;
  border-color: rgba(12, 32, 56, 0.3);
  color: var(--navy);
}
.btn-outline-navy:hover { border-color: var(--navy); background: rgba(12, 32, 56, 0.04); }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}

.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  height: 40px;
  width: auto;
}

.brand-word {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-word .accent { color: var(--gold); }

/* Trademark notice — appended wherever a logo/wordmark is displayed */
.tm {
  font-size: 0.55em;
  font-weight: 600;
  vertical-align: super;
  margin-left: 1px;
  opacity: 0.85;
}

.logo-mark {
  position: relative;
  display: inline-flex;
}
.logo-mark .tm-badge {
  position: absolute;
  top: -0.2em;
  right: -0.9em;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.logo-mark.tm-navy .tm-badge { color: var(--navy); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.85;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { opacity: 1; border-color: var(--gold); }
.site-nav a.is-active { opacity: 1; color: var(--gold); }

.site-nav a.nav-cta {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 9px 18px;
  border-radius: 3px;
  opacity: 1;
  border-bottom: none;
}
.site-nav a.nav-cta:hover { background: var(--gold-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero (home) */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: 100px 0 90px;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 680px;
  max-width: 62vw;
  opacity: 0.22;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 0.4em;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 620px;
  margin-bottom: 1.8em;
}

.hero .lede b, .hero .lede strong {
  color: var(--white);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: 68px 0 56px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.page-hero .lede { color: var(--cream-dim); max-width: 640px; font-size: 1.05rem; margin: 0; }

/* Sections */
section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--cream-dim); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head .lede { color: var(--slate); font-size: 1.05rem; }

/* Peer cards (What's Been Built) */
.peer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.peer-card {
  background: var(--white);
  border: 1px solid rgba(12, 32, 56, 0.08);
  border-radius: 6px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.peer-card .peer-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.7em;
}

.peer-card .card-logo {
  height: 30px;
  margin-bottom: 1.1em;
  align-self: flex-start;
}

/* Studio's horizontal lockup has more built-in padding than BudiHub's wordmark,
   so it needs extra height to read as the same visual size */
.peer-card .card-logo.is-large { height: 46px; }
.peer-card .card-logo img { max-height: 100%; width: auto; }

.peer-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}

.peer-card p { color: var(--ink); opacity: 0.85; }

.peer-card .peer-link {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 600;
  color: var(--navy);
  border-top: 1px solid rgba(12, 32, 56, 0.08);
}
.peer-card .peer-link:hover { color: var(--gold); }

/* Commitments (BudiHub) */
.commitments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0;
}

.commitment {
  border-top: 3px solid var(--budi-green);
  padding-top: 16px;
}

.commitment .num {
  font-family: var(--serif);
  color: var(--budi-green);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.commitment p { font-size: 1rem; color: var(--ink); margin: 0; }

/* Sub-brand tiles — horizontal rounded cards, logo on top, description below */
.subbrand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.subbrand-card {
  background: var(--white);
  border: 1px solid rgba(12, 32, 56, 0.08);
  border-radius: 16px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.subbrand-card .logo-slot {
  height: 30px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}
.subbrand-card .logo-slot img { max-height: 100%; width: auto; }

.subbrand-card.is-muted .logo-slot img { opacity: 0.45; filter: grayscale(35%); }

.subbrand-card .desc { color: var(--ink); opacity: 0.85; font-size: 0.94rem; margin: 0; }

.subbrand-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate);
  background: rgba(138, 147, 163, 0.15);
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 8px;
}

/* Services list (Studio) */
.services-list {
  border-top: 1px solid rgba(12, 32, 56, 0.1);
}

.service-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(12, 32, 56, 0.1);
}

.service-row .service-name { font-weight: 600; color: var(--navy); }
.service-row .service-note { display: block; font-weight: 400; color: var(--slate); font-size: 0.9rem; margin-top: 3px; }
.service-row .service-price { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); white-space: nowrap; font-weight: 600; text-align: right; }

.save-badge {
  display: block;
  width: fit-content;
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(217, 168, 87, 0.35);
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 6px;
  white-space: nowrap;
}

.section-logo {
  height: 44px;
  margin-bottom: 0.6em;
  display: flex;
  align-items: center;
}
.section-logo .logo-mark { height: 100%; }
.section-logo img { height: 100%; width: auto; }

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.founder-photo {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: rgba(12, 32, 56, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  border: 1px dashed rgba(12, 32, 56, 0.18);
}
.founder-photo svg { width: 34%; height: 34%; opacity: 0.5; }
.founder-photo-caption { text-align: center; font-size: 0.8rem; color: var(--slate); margin-top: 10px; }

.founder-quote {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
}

.founder-quote p {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5em;
}

.founder-quote .cite { font-family: var(--sans); font-size: 0.9rem; color: var(--slate); }

.credentials {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 10px;
}
.credentials li {
  padding-left: 20px;
  position: relative;
  color: var(--ink);
  opacity: 0.85;
  font-size: 0.98rem;
}
.credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}

.contact-info h3 { font-size: 1.2rem; }
.contact-info p { color: var(--slate); }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(12, 32, 56, 0.15);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-hidden { position: absolute; left: -9999px; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream-dim);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(246, 241, 230, 0.12);
  margin-bottom: 24px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 32px; }
.footer-brand span { font-family: var(--serif); color: var(--cream); font-size: 1.05rem; }

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.footer-nav a { font-size: 0.92rem; color: var(--cream-dim); opacity: 0.8; }
.footer-nav a:hover { opacity: 1; color: var(--gold); }
.footer-nav a.social-link { display: inline-flex; align-items: center; gap: 6px; }
.footer-nav a.social-link svg { flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--slate);
}

/* Placeholder image blocks (screenshots, video) */
.placeholder-block {
  border: 1.5px dashed rgba(12, 32, 56, 0.2);
  border-radius: 6px;
  background: rgba(12, 32, 56, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 0.85rem;
  min-height: 220px;
  text-align: center;
  padding: 20px;
}

/* Legal pages (Privacy Policy / Terms of Service) */
.legal-content { max-width: 760px; }
.legal-meta { color: var(--slate); font-size: 0.85rem; margin-bottom: 2.2em; }
.legal-content h2 { font-size: 1.25rem; margin-top: 2em; }
.legal-content h3 { font-size: 1.02rem; margin-top: 1.4em; }
.legal-content p, .legal-content li { color: var(--ink); opacity: 0.85; font-size: 0.98rem; }
.legal-content ul { padding-left: 20px; margin: 0 0 1em; }
.legal-content li { margin-bottom: 0.4em; }
.legal-content a { color: var(--navy); text-decoration: underline; }

/* Responsive */
@media (max-width: 860px) {
  .peer-grid { grid-template-columns: 1fr; }
  .commitments { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .subbrand-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .site-nav { position: fixed; top: 76px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 20px 28px 28px; gap: 18px; display: none; border-bottom: 3px solid var(--gold); }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .brand-word { font-size: 1.05rem; }
  section { padding: 60px 0; }
  .subbrand-grid { grid-template-columns: 1fr; }
  .service-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .service-row .service-price { text-align: left; }
  .save-badge { margin-left: 0; }
}
