/* Deify Consulting — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&display=swap');

:root {
  /* To change the home background, replace images/deify/hero-bg.webp or edit this line. */
  --hero-bg: url('images/deify/hero-bg.webp');

  --ink: #0e0f12;
  --ink-2: #16171b;
  --gold: #c1924d;
  --gold-hover: #d2a45f;
  --gold-line: #b48a4f;
  --cream: #efece7;
  --cream-2: #e6e1d9;
  --rule: #c9c1b4;
  --text-dark: #1d1d1f;
  --text-mid: #4b4a48;
  --white: #ffffff;
  --muted: #cfd0d4;
  --max: 1712px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ink);
  color: var(--white);
  font-family: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 36px;
}
.brand { font-size: 31px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; white-space: nowrap; }
.links { display: flex; align-items: center; gap: 50px; font-size: 23px; }
.links a { opacity: .95; }
.links a:hover, .links a.active { opacity: 1; color: #f3dcb6; }
.btn {
  display: inline-block; font-size: 23px; font-weight: 400; line-height: 1.2;
  padding: 15px 26px; border-radius: 3px; border: 1.5px solid var(--white);
  color: var(--white); transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: rgba(255,255,255,.08); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn.gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.links .btn.gold:hover { color: var(--white); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 75vh; min-height: 640px;
  background: var(--ink) var(--hero-bg) center / cover no-repeat;
  border-bottom: 3px solid var(--gold-line);
  display: flex; align-items: flex-end;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,12,.55) 0%, rgba(8,9,12,.25) 55%, rgba(8,9,12,.05) 100%),
    linear-gradient(180deg, rgba(8,9,12,.45) 0%, rgba(8,9,12,0) 22%, rgba(8,9,12,0) 60%, rgba(8,9,12,.35) 100%);
}
.hero-inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 46px 68px; }
h1 { font-size: 72px; line-height: 1.08; font-weight: 700; letter-spacing: -1px; margin: 0 0 26px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.lede { font-size: 31px; margin: 0 0 42px; color: #f1f1f1; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.actions { display: flex; gap: 28px; flex-wrap: wrap; }
.actions .btn { font-size: 25px; padding: 20px 32px; }

.page-hero { height: 62vh; min-height: 520px; }
.page-hero .hero-inner { padding-top: 150px; }
.page-hero h1 { font-size: 64px; max-width: 1100px; }
.page-hero .lede { max-width: 1000px; font-size: 27px; }
.eyebrow { font-size: 19px; letter-spacing: 5px; text-transform: uppercase; color: #f0d6aa; margin: 0 0 18px; font-weight: 500; }

/* ---------- Cream band (home services) ---------- */
.band {
  background: var(--cream);
  background-image: radial-gradient(rgba(0,0,0,.018) 1px, transparent 1px);
  background-size: 4px 4px;
  color: var(--text-dark);
}
.features {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 72px 30px 46px;
}
.feature {
  display: flex; gap: 32px; padding: 14px 34px 10px;
  border-left: 1.5px solid var(--rule);
}
.feature:first-child { border-left: 0; padding-left: 38px; }
.feature svg { flex: none; width: 74px; height: 90px; stroke: var(--gold-line); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 31px; font-weight: 500; margin: 0 0 16px; line-height: 1.2; }
.feature p { font-size: 23px; color: var(--text-mid); margin: 0; line-height: 1.7; }
a.feature:hover h3 { color: #8a6430; }

/* ---------- Inner content ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 90px; }
.section-title { font-size: 18px; letter-spacing: 5px; text-transform: uppercase; color: #8a6430; font-weight: 600; margin: 0 0 22px; }
.band .section h2 { color: var(--text-dark); }
h2 { font-size: 46px; line-height: 1.15; letter-spacing: -.5px; margin: 0 0 22px; font-weight: 700; }
.prose { font-size: 23px; color: var(--text-mid); line-height: 1.75; max-width: 980px; }
.prose p { margin: 0 0 22px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }

.list { list-style: none; padding: 0; margin: 0; }
.list li { font-size: 22px; color: var(--text-mid); padding: 18px 0 18px 34px; border-bottom: 1px solid var(--rule); position: relative; line-height: 1.6; }
.list li::before { content: ''; position: absolute; left: 2px; top: 31px; width: 14px; height: 2px; background: var(--gold); }
.list li strong { color: var(--text-dark); font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  display: block; background: #f7f5f1; border: 1px solid var(--cream-2); border-top: 3px solid var(--gold-line);
  border-radius: 3px; padding: 32px 32px 34px; color: var(--text-dark);
  transition: transform .2s, box-shadow .2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.card svg { width: 54px; height: 64px; stroke: var(--gold-line); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.card h3 { font-size: 28px; font-weight: 500; margin: 0 0 12px; }
.card p { font-size: 20px; color: var(--text-mid); margin: 0; line-height: 1.65; }
.card .more { display: inline-block; margin-top: 18px; font-size: 16px; letter-spacing: 3px; text-transform: uppercase; color: #8a6430; font-weight: 600; }
.steps { counter-reset: step; }
.steps .card h3::before { counter-increment: step; content: '0' counter(step); display: block; font-size: 16px; letter-spacing: 3px; color: var(--gold-line); margin-bottom: 10px; font-weight: 600; }

.split-img { border-radius: 3px; overflow: hidden; border-bottom: 3px solid var(--gold-line); }
.split-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- Dark CTA + footer ---------- */
.cta {
  background: var(--ink-2); border-top: 3px solid var(--gold-line);
}
.cta .section { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { margin: 0 0 8px; font-size: 40px; }
.cta p { margin: 0; font-size: 22px; color: var(--muted); }

.email-link { font-size: 38px; font-weight: 600; color: var(--text-dark); border-bottom: 2px solid var(--gold); }
.email-link:hover { color: #8a6430; }

.footer {
  background: var(--ink); color: #9d9ea3; font-size: 18px;
}
.footer .inner { max-width: var(--max); margin: 0 auto; padding: 34px 46px 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 20px; color: var(--white); letter-spacing: 4px; }
.footer nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .feature:nth-child(3) { border-left: 0; padding-left: 38px; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
  h1 { font-size: 58px; }
  .links { gap: 30px; font-size: 20px; }
  .btn { font-size: 20px; }
  .brand { font-size: 25px; letter-spacing: 4px; }
  .section { padding: 64px 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: 700px; }
  .page-hero { min-height: 480px; }
}
@media (max-width: 860px) {
  .nav { padding: 18px 16px; flex-wrap: wrap; background: linear-gradient(180deg, rgba(8,9,12,.7), rgba(8,9,12,0)); }
  .brand { font-size: 19px; letter-spacing: 3px; }
  .menu-toggle { display: block; background: none; border: 1.5px solid #fff; color: #fff; font: inherit; font-size: 16px; padding: 9px 14px; border-radius: 3px; }
  .links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 0 6px; font-size: 19px; }
  .links.open { display: flex; }
  .hero { min-height: 620px; height: auto; }
  .page-hero { min-height: 460px; }
  .hero-inner { padding: 120px 16px 48px; }
  h1, .page-hero h1 { font-size: 40px; }
  .lede, .page-hero .lede { font-size: 20px; }
  .actions { gap: 14px; }
  .actions .btn { font-size: 18px; padding: 15px 22px; }
  .features { grid-template-columns: 1fr; padding: 40px 16px; row-gap: 0; }
  .feature, .feature:first-child, .feature:nth-child(3) { border-left: 0; border-top: 1.5px solid var(--rule); padding: 28px 4px; gap: 22px; }
  .feature:first-child { border-top: 0; }
  .feature svg { width: 56px; height: 68px; }
  .feature h3 { font-size: 25px; }
  .feature p, .prose, .list li { font-size: 19px; }
  .section { padding: 48px 16px; }
  .cards, .cards.four { grid-template-columns: 1fr; }
  h2 { font-size: 32px; }
  .cta h2 { font-size: 30px; }
  .email-link { font-size: 24px; word-break: break-all; }
  .footer .inner { padding: 28px 16px; }
}