/* Arts Capital Holdings — Institutional Design System */
/* Swiss editorial aesthetic: quiet, restrained, content-first */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --brown: #5C3317;
  --brown-light: #7A4A2D;
  --gold: #B8860B;
  --gold-muted: #C9A84C;
  --gold-light: #F5E9C8;
  --cream: #F5F1EA;
  --cream-dark: #EDE7DB;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --charcoal: #2C2C2A;
  --dark-grey: #3D3D3A;
  --mid-grey: #73726C;
  --light-grey: #B4B2A9;
  --border: #D3D1C7;
  --border-light: #E5DDD0;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-w: 1080px;
  --max-w-narrow: 780px;
  --gutter: 2rem;
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--dark-grey);
  background: var(--white);
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; font-weight: 600; }

p { margin-bottom: 1.25rem; }

a { color: var(--brown); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.text-gold { color: var(--gold); }
.text-muted { color: var(--mid-grey); }
.text-small { font-size: 0.875rem; }
.text-xs { font-size: 0.8rem; }
.text-center { text-align: center; }

.lead {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

/* ==================== LAYOUT ==================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 2rem 0; }
.section-sm { padding: 3rem 0; }
.section-cream { background: var(--cream); }
.section-brown { background: var(--brown); color: var(--cream); }
.section-brown h2, .section-brown h3 { color: var(--gold-light); }
.section-brown p { color: rgba(245, 241, 234, 0.85); }
.section-brown a { color: var(--gold-light); }

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.divider-center {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}

.rule {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 3rem 0;
}

/* ==================== NAVIGATION ==================== */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-logo img { height: 70px; width: auto; }

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.nav-logo-sub {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--mid-grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-grey);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  margin: 5px 0;
  transition: 0.2s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1.5rem var(--gutter);
    gap: 1.25rem;
  }
  .nav-links.open { display: flex; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding-top: 8rem !important; }
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
}

/* ==================== HERO ==================== */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-image {
  background-image: url('../images/hero-vegas.jpg');
  background-size: cover;
  background-position: center 40%;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 241, 234, 0.82);
}

.hero-image .container-narrow {
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero .lead {
  max-width: 640px;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
}

/* ==================== GRIDS ==================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

/* ==================== CARDS ==================== */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 2rem;
}

.card-cream {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 2rem;
}

.card h3 { margin-bottom: 0.5rem; }

/* ==================== TABLES ==================== */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--cream);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--gold);
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

tr:last-child td { border-bottom: none; }

/* ==================== IMAGE PLACEHOLDERS ==================== */
.img-placeholder {
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-grey);
  font-family: var(--sans);
  font-size: 0.8rem;
  text-align: center;
  min-height: 240px;
  border: 1px solid var(--border);
}

.img-full {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--brown);
  color: var(--brown);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn:hover {
  background: var(--brown);
  color: var(--white);
}

.btn-gold {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
}

/* ==================== DISCLAIMER GATE ==================== */
.gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}

.gate-box {
  background: var(--white);
  max-width: 600px;
  width: 100%;
  padding: 3rem;
  border-top: 3px solid var(--gold);
}

.gate-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.gate-box p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--dark-grey);
}

.gate-box .btn {
  margin-top: 1.5rem;
  margin-right: 1rem;
}

.gate-hidden { display: none; }

/* ==================== TEAM ==================== */
.team-member {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--brown);
  font-weight: 500;
}

.team-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 0.15rem;
}

.team-title {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.team-loc {
  font-size: 0.8rem;
  color: var(--mid-grey);
}

/* ==================== PORTFOLIO CARD ==================== */
.portfolio-card {
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.portfolio-card .img-placeholder { min-height: 180px; }

.portfolio-card-body {
  padding: 1.5rem;
}

.portfolio-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 0.75rem;
}

.status-active { background: #EAF3DE; color: #27500A; }
.status-pipeline { background: var(--gold-light); color: var(--brown); }
.status-coming { background: var(--cream); color: var(--mid-grey); }

/* ==================== CONTACT ==================== */
.contact-block {
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--border);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.contact-value:last-child { margin-bottom: 0; }

/* Form */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-grey);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--charcoal);
  color: rgba(245, 241, 234, 0.6);
  padding: 3rem 0 2rem;
  font-size: 0.8rem;
  line-height: 1.7;
}

.site-footer a { color: var(--gold-muted); }
.site-footer a:hover { color: var(--gold-light); }

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.75rem;
}

.footer-col p, .footer-col li {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.footer-col ul { list-style: none; }

.footer-disclaimer {
  border-top: 1px solid rgba(245, 241, 234, 0.1);
  padding-top: 1.5rem;
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(245, 241, 234, 0.4);
}

/* ==================== FLAG STRIP ==================== */
.flag-strip {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.flag {
  font-size: 0.75rem;
  color: var(--mid-grey);
  font-weight: 500;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* ==================== WARNING BOX ==================== */
.warning-box {
  background: #FFF8ED;
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.85rem;
}

.warning-box strong { color: var(--brown); }

/* ==================== UTILITY ==================== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.pt-0 { padding-top: 0; }

/* Nav spacer for fixed nav */
.nav-spacer { height: 95px; }
