:root {
  --navy: #0f1e3d;
  --navy-2: #16294f;
  --navy-3: #1f3866;
  --gold: #d4a843;
  --gold-soft: #e8c878;
  --burgundy: #7a1f2b;
  --ink: #1a2133;
  --muted: #5b6478;
  --paper: #f7f5f0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 30, 61, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Archivo", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.btn {
  display: inline-block;
  padding: .75em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: 600 1rem "Inter", sans-serif;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 30, 61, .97);
  border-bottom: 1px solid rgba(212, 168, 67, .25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 56px; width: auto; mix-blend-mode: screen; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #e6e9f0; text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--gold); }
.site-nav .btn { color: var(--navy); padding: .55em 1.25em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212, 168, 67, .14), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 0 96px;
  border-bottom: 4px solid var(--burgundy);
}
.hero-logo { width: min(620px, 100%); margin: 0 auto 32px; mix-blend-mode: screen; }
.hero h1 { max-width: 820px; margin-inline: auto; }
.lead { font-size: 1.15rem; color: #cfd6e4; max-width: 680px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 96px 0; }
.section-navy { background: var(--navy); color: var(--white); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700;
  color: var(--burgundy); margin: 0 0 .5em;
}
.section-navy .eyebrow { color: var(--gold); }
.section-intro { color: #cfd6e4; max-width: 640px; margin-bottom: 40px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; margin-top: 16px; }
.about-text p { color: var(--muted); margin-top: 0; }
.mv-cards { display: grid; gap: 20px; }
.mv-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
}
.mv-card-accent { border-top-color: var(--burgundy); }
.mv-card h3 { color: var(--navy); }
.mv-card p { margin: 0; color: var(--muted); }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.venture {
  background: var(--navy-2); border: 1px solid rgba(212, 168, 67, .2); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s;
}
.venture:hover { border-color: var(--gold); transform: translateY(-3px); }
.venture-tag {
  align-self: flex-start; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
  color: var(--gold); background: rgba(212, 168, 67, .12); padding: .3em .8em; border-radius: 999px; margin-bottom: 16px;
}
.venture h3 { color: var(--white); }
.venture p { color: #b9c2d6; margin: 0 0 16px; flex: 1; }
.venture-link { color: var(--gold); font-weight: 600; text-decoration: none; }
.venture-link::after { content: " \2192"; }
.venture-link:hover { text-decoration: underline; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.member {
  background: var(--white); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow);
}
.avatar {
  width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  border: 4px solid var(--gold); background-size: cover; background-position: center;
  display: grid; place-items: center;
}
.avatar:not([style*="background-image"])::before {
  content: attr(data-initials); color: var(--gold); font: 800 2.2rem "Archivo", sans-serif;
}
.member h3 { color: var(--navy); margin-bottom: .2em; }
.role { color: var(--burgundy); font-weight: 600; font-size: .92rem; margin: 0 0 12px; }
.bio { color: var(--muted); margin: 0; font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-info p { color: #cfd6e4; }
.contact-info dt { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; margin-top: 24px; }
.contact-info dd { margin: 4px 0 0; }
.contact-info dd a { color: var(--white); }
.contact-form {
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px;
  border-top: 4px solid var(--gold); display: grid; gap: 16px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: .7em .85em; border: 1px solid #cfd4de; border-radius: 10px; background: #fbfbfd; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--gold); border-color: var(--gold);
}
.contact-form button { justify-self: start; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #1d6b3a; }
.form-status.err { color: var(--burgundy); }

/* Footer */
.site-footer { background: #0a1530; color: #9aa4ba; padding: 40px 0; border-top: 4px solid var(--burgundy); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner img { height: 48px; width: auto; mix-blend-mode: screen; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a { color: #cfd6e4; text-decoration: none; }
.footer-inner nav a:hover { color: var(--gold); }
.footer-inner p { margin: 0; font-size: .9rem; }

/* Responsive */
@media (max-width: 960px) {
  .portfolio-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 20px; border-bottom: 1px solid rgba(212, 168, 67, .25);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .site-nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .brand img { height: 46px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 72px; }
}
@media (max-width: 560px) {
  .portfolio-grid, .team-grid, .field-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* Logo lockup (vector stand-in until a source logo file is available) */
.logo { display: inline-flex; align-items: flex-end; gap: .35em; color: var(--gold); line-height: 1; text-decoration: none; }
.logo-dome { height: 1.9em; width: auto; filter: drop-shadow(0 0 .25em rgba(212, 168, 67, .55)); }
.logo-text { display: flex; flex-direction: column; text-shadow: 0 0 .35em rgba(212, 168, 67, .45); }
.logo-text b { font: 900 1.45em/0.9 "Archivo", sans-serif; letter-spacing: .02em; }
.logo-text small { font: 800 .42em/1.3 "Archivo", sans-serif; text-transform: uppercase; letter-spacing: .14em; margin-top: .25em; }
.logo-sm { font-size: 24px; }
.logo-lg { font-size: clamp(40px, 9vw, 84px); }
.hero-logo { display: flex; justify-content: center; margin: 0 auto 40px; }
.brand { text-decoration: none; }
.footer-inner .logo-sm { font-size: 20px; }
@media (max-width: 760px) { .logo-sm { font-size: 20px; } }

/* Crisp header/footer logo: no glow, brighter solid gold, larger subtitle */
.logo-sm { color: #f2c14e; -webkit-font-smoothing: antialiased; }
.logo-sm .logo-dome { filter: none; }
.logo-sm .logo-text { text-shadow: none; }
.logo-sm .logo-text small { font-size: .46em; letter-spacing: .1em; font-weight: 900; }
.site-header .logo-sm { font-size: 28px; }
@media (max-width: 760px) { .site-header .logo-sm { font-size: 24px; } }
.logo-lg { color: #f2c14e; }
.logo-lg .logo-dome { filter: drop-shadow(0 0 .12em rgba(242, 193, 78, .35)); }
.logo-lg .logo-text { text-shadow: 0 0 .18em rgba(242, 193, 78, .3); }

/* Image logo (brand/logo-usbg.png, background removed) */
.logo-img { display: block; width: auto; }
.logo-img.logo-sm { height: 52px; }
.logo-img.logo-lg { height: auto; width: min(560px, 100%); }
.footer-inner .logo-img.logo-sm { height: 44px; }
@media (max-width: 760px) { .site-header .logo-img.logo-sm { height: 44px; } }
.form-note { margin: -4px 0 0; font-size: .85rem; color: var(--muted); }

/* About: mission/vision cards span from the eyebrow to the last line of text */
.about-grid { align-items: stretch; margin-top: 0; }
.about-text > :last-child { margin-bottom: 0; }
.mv-cards { grid-template-rows: 1fr 1fr; }
.mv-card { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 960px) { .mv-cards { grid-template-rows: none; } }
@media (min-width: 961px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .mv-cards { gap: 16px; }
  .mv-card { padding: 20px 28px; }
  .mv-card h3 { margin-bottom: .3em; }
}
.about-text .eyebrow { color: var(--burgundy); }

/* Hero background: navy waves with gold line (brand/hero-background-original.png) */
.hero {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212, 168, 67, .08), transparent 55%),
    #0b1b38 url(assets/hero-bg.jpg) center / cover no-repeat;
}
@media (max-width: 760px) {
  .hero { background-image: radial-gradient(ellipse at 50% 30%, rgba(212, 168, 67, .08), transparent 55%), url(assets/hero-bg-sm.jpg); }
}

/* Header and menu, matched to the American Dream event site */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #02284F 0%, #012142 100%);
  border-bottom: 2px solid #C9A463;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
  color: #fff;
}
.lang-bar { border-bottom: 1px solid #1F3A5F; }
.lang-switch { display: flex; justify-content: flex-end; align-items: center; font-size: 13px; color: #DCE1EC; }
.lang-switch button { background: none; border: 0; color: inherit; font: inherit; font-weight: 600; padding: 6px; cursor: pointer; }
.lang-switch button:hover { color: #E2C285; }
.lang-switch [aria-pressed="true"] { color: #C9A463; text-decoration: underline; text-underline-offset: 4px; }
.nav-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px; padding-block: 14px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 8px 22px; }
.nav-link {
  position: relative; color: #E8EBF2; text-decoration: none; padding: 12px 0;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: color .2s;
}
.nav-link::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 6px; height: 2px; background: #C9A463; transition: left .25s, right .25s; }
.nav-link:hover, .nav-link:focus-visible { color: #C9A463; }
.nav-link:hover::after, .nav-link:focus-visible::after { left: 0; right: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  display: inline-flex; align-items: center; text-decoration: none; border-radius: 4px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border: 2px solid #C9A463; padding: 9px 16px; color: #012142; background: #C9A463;
  box-shadow: 0 2px 10px rgba(201, 164, 99, .35); transition: background .2s, border-color .2s;
}
.nav-cta:hover, .nav-cta:focus-visible { background: #D9B977; border-color: #D9B977; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 4px; background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle .icon-close, .nav-bar.is-open .nav-toggle .icon-open { display: none; }
.nav-bar.is-open .nav-toggle .icon-close { display: block; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 4px;
  }
  .nav-bar.is-open .nav-menu { display: flex; }
  .nav-menu .nav-link { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
  .nav-menu .nav-link::after { display: none; }
}
@media (max-width: 760px) {
  .nav-bar { padding-block: 10px; }
  .nav-actions { gap: 8px; }
  .nav-cta { padding: 8px 10px; font-size: 12px; letter-spacing: .04em; }
}

/* Team: center an unfilled last row */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.team-grid .member { flex: 0 1 calc((100% - 48px) / 3); }
@media (max-width: 960px) { .team-grid .member { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .team-grid .member { flex-basis: 100%; } }

/* Team: compact cards (photo beside name) */
#team.section { padding: 72px 0; }
#team h2 { margin-bottom: .4em; }
.team-grid { gap: 16px; margin-top: 8px; }
.team-grid .member { flex: 0 1 calc((100% - 32px) / 3); }
.member {
  display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; align-items: center; align-content: center;
  text-align: left; padding: 16px 18px;
}
.member .avatar { width: 76px; height: 76px; margin: 0; border-width: 3px; grid-row: span 3; align-self: center; }
.member .avatar:not([style*="background-image"])::before { font-size: 1.3rem; }
.member h3 { font-size: 1.05rem; line-height: 1.25; margin: 0 0 2px; }
.member .role { font-size: .82rem; margin: 0 0 4px; }
.member .bio { font-size: .86rem; line-height: 1.45; }
@media (max-width: 1100px) { .team-grid .member { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 720px) {
  #team.section { padding: 56px 0; }
  .team-grid .member { flex-basis: 100%; grid-template-columns: 64px 1fr; padding: 14px 16px; }
  .member .avatar { width: 64px; height: 64px; }
}

/* Portfolio: intro runs full width */
.section-intro { max-width: none; }
.venture-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
