/* Stackmoor Group — corporate site styles */

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

:root {
  --navy: #0f1e3d;
  --navy-dark: #0a1530;
  --navy-darker: #060d20;
  --gold: #c9a35c;
  --gold-dark: #a8854a;
  --cream: #faf7f1;
  --bg-soft: #f4efe5;
  --text: #1a2235;
  --text-light: #4a5568;
  --text-muted: #7a8499;
  --border: #e0d8c5;
  --bg-white: #ffffff;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* HEADER */
.site-header {
  background: var(--navy-dark);
  color: #fff;
  padding: 0 32px;
  border-bottom: 1px solid rgba(201, 163, 92, 0.2);
}
.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.3px;
  line-height: 1;
}
.brand-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.site-nav {
  display: flex;
  gap: 36px;
  list-style: none;
}
.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--gold); }
@media (max-width: 760px) {
  .site-header { padding: 0 20px; }
  .site-nav { display: none; }
  .brand-text { font-size: 18px; }
  .brand-mark { width: 36px; height: 36px; }
}

/* HERO */
.hero {
  position: relative;
  background: var(--navy-dark);
  color: #fff;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 21, 48, 0.6) 0%, rgba(10, 21, 48, 0.85) 60%, rgba(10, 21, 48, 1) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 110px 32px 130px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 163, 92, 0.4);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 26px;
  max-width: 820px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero-lede {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: 38px;
}
.hero-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.hero-meta strong {
  display: block;
  color: var(--gold);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
@media (max-width: 760px) {
  .hero-inner { padding: 70px 22px 80px; }
  .hero h1 { font-size: 36px; }
  .hero-lede { font-size: 17px; }
  .hero-meta { gap: 22px; }
}

/* SECTION SHELL */
.section { padding: 96px 32px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section.alt { background: var(--bg-soft); }
.section.dark { background: var(--navy-dark); color: #fff; }
.section.dark .section-eyebrow { color: var(--gold); }
.section.dark h2 { color: #fff; }
.section.dark .section-lede { color: rgba(255, 255, 255, 0.78); }

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  max-width: 760px;
}
.section-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 720px;
  margin-bottom: 56px;
}
@media (max-width: 760px) {
  .section { padding: 64px 22px; }
  .section h2 { font-size: 30px; }
  .section-lede { font-size: 17px; margin-bottom: 40px; }
}

/* WHAT WE DO — split image+copy */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--navy-dark);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy p { color: var(--text-light); margin-bottom: 18px; line-height: 1.7; }
.split-copy p:last-child { margin-bottom: 0; }
.split-copy strong { color: var(--text); font-weight: 600; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}

/* VERTICALS GRID */
.verticals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.vertical-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 38px 34px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.vertical-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 30, 61, 0.08);
}
.vertical-num {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
  color: var(--gold-dark);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.vertical-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}
.vertical-card p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.65;
}
@media (max-width: 760px) {
  .verticals { grid-template-columns: 1fr; gap: 18px; }
  .vertical-card { padding: 30px 24px; }
}

/* APPROACH — three pillars over dark */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 12px;
}
.pillar {
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}
.pillar-mark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1;
}
.pillar h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
  color: #fff;
}
.pillar p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; gap: 18px; }
}

/* APPROACH IMAGE BAND */
.band-img {
  margin-top: 56px;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 6px;
}
.band-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .band-img { aspect-ratio: 16/10; margin-top: 40px; }
}

/* ABOUT — narrative block */
.about-narrative {
  max-width: 760px;
  margin: 0 auto;
}
.about-narrative .section-eyebrow,
.about-narrative h2 { margin-left: 0; }
.about-narrative p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 22px;
}
.about-narrative p:last-child { margin-bottom: 0; }
.about-narrative strong { color: var(--text); font-weight: 600; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.fact-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 44px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.fact-num small {
  font-size: 22px;
  color: var(--gold-dark);
  font-weight: 400;
}
.fact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; margin-top: 40px; }
  .fact-num { font-size: 38px; }
}

/* CONTACT */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 18px;
}
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 34px;
}
.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 22px;
}
.contact-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.contact-row:last-child { border-bottom: none; }
.contact-row strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-row a { color: var(--navy); font-weight: 500; }
.contact-row a:hover { color: var(--gold-dark); }
@media (max-width: 880px) {
  .contact-block { grid-template-columns: 1fr; gap: 36px; }
}

/* FOOTER */
.site-footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 32px 32px;
  font-size: 14px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.footer-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 380px;
}
.footer-col h4 {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 760px) {
  .site-footer { padding: 48px 22px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
