/* =========================================================
   The Shadow C-Suite — shadowcsuite.com
   Corporate stylesheet
   ========================================================= */

/* ---------- Brand tokens ---------- */
:root {
  --obsidian: #0F1217;
  --graphite: #161A21;
  --graphite-line: #2A2F38;
  --night: #0A0C10;
  --brass: #C9A46B;
  --brass-deep: #7A5C2E;
  --brass-darker: #4F3B1C;
  --stone: #F5F3EF;
  --linen: #ECE8E1;
  --sand: #D6D0C5;
  --paper: #FBFAF7;
  --ink: #15181E;
  --ink-soft: #3D424B;
  --mist: #E9E4DA;
  --mist-soft: #C7C2B8;
  --mist-muted: #B9B3A8;
  --muted: #8E8A82;
  --line-dark: #4A4F59;
  --steel: #6B6F78;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --gutter: 48px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brass-deep); }
a:hover { color: var(--brass-darker); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Shared type ---------- */
.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--brass-deep);
  text-transform: uppercase;
}
.eyebrow--light { color: var(--brass); font-weight: 500; }

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
}
.display em { font-style: italic; color: var(--brass); }
.display--xl { font-size: 84px; line-height: 1.02; max-width: 960px; color: var(--stone); }
.display--lg { font-size: 56px; }
.display--md { font-size: 52px; line-height: 1.08; }
.display--contact { font-size: 60px; line-height: 1.02; }
.on-dark { color: var(--stone); }

.lead { margin: 0; font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.lead--dark { color: var(--mist-soft); }

.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 18px 30px;
  font-family: var(--font-body);
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--brass); color: var(--obsidian); font-weight: 600; letter-spacing: 0.02em; }
.btn--primary:hover { background: #D8B884; color: var(--obsidian); }
.btn--ghost { border: 1px solid var(--line-dark); color: var(--mist); font-weight: 500; }
.btn--ghost:hover { border-color: var(--brass); color: var(--stone); }

/* ---------- Header / navigation ---------- */
.site-header { background: var(--obsidian); color: var(--mist); }
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--stone); }
.brand:hover { color: var(--stone); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__the { font-size: 11px; letter-spacing: 0.28em; color: var(--mist-muted); }
.brand__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: 0.06em; }

.nav__links { display: flex; align-items: center; gap: 36px; font-size: 14px; letter-spacing: 0.04em; }
.nav__links a { color: var(--mist); text-decoration: none; }
.nav__links a:hover { color: var(--brass); }
.nav__links .nav__cta { border: 1px solid var(--brass); padding: 12px 20px; color: var(--stone); }
.nav__links .nav__cta:hover { background: var(--brass); color: var(--obsidian); }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; gap: 32px; padding-top: 96px; padding-bottom: 128px; }
.hero__text { margin: 0; font-size: 19px; line-height: 1.65; max-width: 640px; color: var(--mist-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ---------- Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 64px;
  align-items: start;
  padding-top: 96px;
  padding-bottom: 96px;
}
.intro__body { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Section backgrounds ---------- */
.bg-linen { background: var(--linen); }
.bg-dark { background: var(--obsidian); color: var(--mist); }
.section-pad { padding-top: 112px; padding-bottom: 112px; }
.section-pad--lg { padding-top: 120px; padding-bottom: 120px; }

/* ---------- Services ---------- */
.services { display: flex; flex-direction: column; gap: 56px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--sand);
}
.service {
  background: var(--paper);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
}
.service__num { font-family: var(--font-display); font-size: 18px; color: var(--brass-deep); }
.service__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 30px; }
.service__text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* Photo tile in the services grid — any photo is shown in black and white */
.service--photo {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--obsidian);
}
.service--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.9);
}

.service--featured { background: var(--obsidian); color: var(--mist); }
.service--featured .service__num { color: var(--brass); }
.service--featured .service__title { color: var(--stone); }
.service--featured .service__text { color: var(--mist-soft); }

/* ---------- Shadow management feature ---------- */
.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 72px;
  align-items: center;
}
.feature__copy { display: flex; flex-direction: column; gap: 24px; }
.stages {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--graphite-line);
}
.stage { background: var(--graphite); padding: 28px 32px; display: flex; gap: 24px; }
.stage__num { font-family: var(--font-display); font-size: 28px; color: var(--brass); min-width: 32px; }
.stage__body { display: flex; flex-direction: column; gap: 6px; }
.stage__title { font-weight: 600; color: var(--stone); font-size: 16px; }
.stage__text { font-size: 15px; line-height: 1.65; color: var(--mist-muted); }

/* ---------- Approach ---------- */
.approach { display: flex; flex-direction: column; gap: 56px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--ink); padding-top: 24px; }
.step__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 28px; }
.step__text { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 64px;
  align-items: center;
}
.founder__portrait {
  aspect-ratio: 4 / 5;
  max-width: 440px;
  width: 100%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5A5F68;
  font-size: 14px;
  letter-spacing: 0.1em;
  overflow: hidden;
}
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder__copy { display: flex; flex-direction: column; gap: 22px; }
.founder__link { font-weight: 600; font-size: 15px; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
}
.contact__copy { display: flex; flex-direction: column; gap: 22px; }
.contact__details { margin: 0; font-size: 16px; line-height: 1.9; color: var(--mist); }
.contact__details a { color: var(--mist); text-decoration: none; }
.contact__details a:hover { color: var(--brass); }

.form { display: flex; flex-direction: column; gap: 18px; }
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist-muted);
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  color: var(--stone);
  letter-spacing: normal;
  text-transform: none;
}
.field input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 17px;
  padding: 12px 0;
}
.field select {
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  font-size: 16px;
  padding: 14px 12px;
}
.field textarea {
  background: transparent;
  border: 1px solid var(--line-dark);
  font-size: 16px;
  padding: 12px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brass); }
.form .btn { align-self: flex-start; padding: 18px 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--muted); }
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--brass); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .display--xl { font-size: 68px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .service--photo { min-height: 240px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .nav__links { display: none; }
  .hero { padding-top: 56px; padding-bottom: 88px; }
  .display--xl { font-size: 48px; }
  .display--lg, .display--md, .display--contact { font-size: 38px; }
  .intro, .section-pad, .section-pad--lg { padding-top: 72px; padding-bottom: 72px; }
  .intro, .feature, .founder, .contact { gap: 40px; }
  .service { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
