/* ===== Verae Studios shared styles ===== */

:root {
  --cream: #F7F3EA;
  --cream-2: #F1EBDC;
  --ink: #17181C;
  --ink-soft: #2A2C32;
  --blue: #1C4F92;
  --blue-deep: #123A6E;
  --blue-soft: #E4EBF5;
  --line: #E3DCC9;
  --line-dark: #3A3C43;
  --muted: #6B6A63;
  --muted-light: #A9A9B2;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow.on-dark { color: #8FB3E0; }

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

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

nav.links {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav.links a.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

section.dark {
  background: var(--ink);
  color: var(--cream);
}
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: #C7C6C0; }
section.dark .muted { color: var(--muted-light); }

section.soft { background: var(--cream-2); }

.hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
section.dark + section.dark .hr,
section.dark .divider { background: var(--line-dark); }

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 90px;
  text-align: left;
}
.hero h1 { font-size: 58px; max-width: 800px; }
.hero .lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 22px 0 34px;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-sub {
  padding: 90px 0 60px;
  text-align: left;
}
.hero-sub h1 { font-size: 48px; }
.hero-sub .kicker {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--blue);
  margin-top: 10px;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.card .num {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Team teaser / photos ---------- */
.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ---------- Client roster ---------- */
.roster {
  columns: 2;
  column-gap: 48px;
}
.roster .item {
  break-inside: avoid;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: "Playfair Display", serif;
  font-size: 22px;
}
section:not(.dark) .roster .item { border-bottom: 1px solid var(--line); }

/* ---------- Expertise / experience (about page) ---------- */
.exp-list { list-style: none; margin: 0; padding: 0; }
.exp-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 17px;
}
.exp-list li span.n { color: var(--blue); font-weight: 700; min-width: 26px; }

.job {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}
.job:last-child { border-bottom: none; }
.job .role { font-weight: 700; font-size: 17px; color: #fff; }
.job .meta { color: var(--muted-light); font-size: 14px; margin: 3px 0 10px; }
.job p { font-size: 15px; }

/* ---------- Contact ---------- */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}
.contact-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 16px 26px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.contact-pill:hover { background: rgba(255,255,255,0.12); border-color: #8FB3E0; }
.contact-pill .tag { color: var(--muted-light); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 2px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid img.logo { height: 26px; margin-bottom: 16px; }
.footer-grid p { font-size: 14.5px; max-width: 320px; }
.footer-grid h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}
.footer-grid a.flink { display: block; font-size: 14.5px; color: var(--muted-light); padding: 5px 0; }
.footer-grid a.flink:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
}
.footer-bottom a { color: var(--muted-light); }
.footer-bottom a:hover { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 { font-size: 38px; max-width: 640px; margin: 0 auto 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero h1 { font-size: 40px; }
  .hero-sub h1 { font-size: 34px; }
  .grid-3, .grid-2, .grid-5 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .roster { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 20px; flex-wrap: wrap; row-gap: 10px; }
  nav.links { gap: 18px; }
  nav.links .btn { padding: 9px 16px; font-size: 13px; }
  .wrap { padding: 0 20px; }
  .cta-band h2 { font-size: 28px; }
  section { padding: 64px 0; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}
