/* Generation AI Media — warm desert palette; orange accent and Inter + Source Serif shared with derekstaahl.com */
:root {
  --cream: #faf7f2;
  --cream-2: #f3eee6;
  --paper: #ffffff;
  --ink: #16181d;
  --ink-2: #2a2d34;
  --muted: #5f6470;
  --line: #e6dfd4;
  --dark: #111318;
  --accent: #ea580c;
  --accent-bright: #f97316;
  --wrap: 1160px;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; font-weight: 600; color: var(--accent); margin: 0 0 14px; }

/* Header */
.site-header { background: rgba(250, 247, 242, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.wordmark b { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
.wordmark small { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; color: var(--muted); }
.site-nav { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Hero: copy beside a framed photo */
.hero { background: var(--cream); }
.hero-grid { display: grid; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; padding-top: 80px; padding-bottom: 96px; } }
.hero-photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -20px rgba(22, 24, 29, 0.35); background: #2b1a14; }
@media (min-width: 920px) { .hero-photo { aspect-ratio: 4 / 5; } }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%); }
.hero-tagline { position: absolute; left: 28px; bottom: 26px; z-index: 1; margin: 0; color: #fff; font-family: var(--serif); font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.9; }
.hero-tagline::after { content: ""; display: block; width: 36px; height: 2px; background: var(--accent-bright); margin-top: 10px; }
.hero h1 { text-wrap: balance; font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6.4vw, 66px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 20px; }
.hero .lede { font-size: 18px; color: var(--ink-2); margin: 0 0 12px; }
.hero .dba { font-size: 14px; color: var(--muted); margin: 0 0 28px; }
.pillars { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 30px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.pillars::before { content: ""; width: 32px; height: 2px; background: var(--accent); }
.pillars i { font-style: normal; color: var(--accent); }

/* Buttons */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c2410c; }
.btn-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-light:hover { background: #fff; color: var(--ink); }

/* Sections */
.section { padding: 80px 0; }
.section-head { display: grid; gap: 12px 48px; margin: 0 0 40px; align-items: end; }
@media (min-width: 920px) { .section-head { grid-template-columns: 1.5fr 1fr; } }
.section-head h2 { text-wrap: balance; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }

/* Service cards */
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 28px; transition: box-shadow 0.2s, transform 0.2s; }
.service:hover { box-shadow: 0 18px 40px rgba(22, 24, 29, 0.08); transform: translateY(-3px); }
.service img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin: 0 0 20px; }
.service .num { display: flex; align-items: center; gap: 10px; margin: 0 14px 8px; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; }
.service .num::after { content: ""; width: 24px; height: 1.5px; background: var(--accent); }
.service h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 0 14px 8px; }
.service p { margin: 0 14px; color: var(--muted); font-size: 16px; }

/* Capabilities */
.capabilities { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.cap { padding: 8px 20px 8px 0; margin: 0 0 24px; }
@media (min-width: 920px) { .cap { border-right: 1px solid var(--line); padding: 4px 22px; margin: 0; } .cap:first-child { padding-left: 0; } .cap:last-child { border-right: 0; } }
.cap svg { width: 34px; height: 34px; color: var(--ink); margin: 0 0 14px; }
.cap h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.2; margin: 0 0 8px; }
.cap p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Founder */
.founder { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder-grid { display: grid; gap: 40px; padding-top: 72px; padding-bottom: 72px; align-items: center; }
@media (min-width: 920px) { .founder-grid { grid-template-columns: 300px 1fr 280px; gap: 56px; } }
.portrait { position: relative; width: 100%; max-width: 300px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 80% at 50% 20%, #334155 0%, #1e293b 45%, #0f172a 100%); box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.5); }
.portrait::before { content: ""; position: absolute; left: -20%; right: -20%; top: 12%; height: 60%; background: radial-gradient(closest-side, rgba(249, 115, 22, 0.28), rgba(249, 115, 22, 0)); }
.portrait img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 92%; height: auto; }
.founder-copy h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; margin: 0 0 6px; }
.founder-copy .role { font-weight: 600; color: var(--ink-2); margin: 0 0 18px; }
.founder-copy p { color: var(--ink-2); margin: 0 0 16px; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 920px) { .creds { border-left: 1px solid var(--line); padding: 8px 0 8px 32px; } }
.creds li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center; font-size: 15px; color: var(--ink-2); line-height: 1.35; }
.creds svg { width: 28px; height: 28px; color: var(--ink); }

/* CTA band */
.cta { position: relative; color: #fff; background: var(--dark) url("/images/desert-sunset.jpg") center 70% / cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 19, 24, 0.94) 0%, rgba(17, 19, 24, 0.82) 55%, rgba(17, 19, 24, 0.7) 100%); }
.cta .wrap { position: relative; display: grid; gap: 24px 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 920px) { .cta .wrap { grid-template-columns: 1fr 1fr; } }
.cta-title { border-left: 3px solid var(--accent-bright); padding-left: 24px; }
.cta-title .eyebrow { color: #e7e2da; font-size: 11px; }
.cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0; }
.cta p { margin: 0 0 18px; color: #d8d4cc; }

/* Document pages */
.page-head { position: relative; color: #fff; background: var(--dark) url("/images/desert-sunset.jpg") center 65% / cover no-repeat; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 19, 24, 0.92), rgba(17, 19, 24, 0.72)); }
.page-head .wrap { position: relative; padding-top: 64px; padding-bottom: 64px; }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 50px); line-height: 1.08; margin: 0 0 8px; }
.page-head p { margin: 0; color: #d8d4cc; font-size: 15px; }
.doc { padding-top: 48px; padding-bottom: 80px; }
.doc > * { max-width: 760px; }
.doc > .contact-grid { max-width: none; }
.doc h2 { font-family: var(--serif); font-weight: 600; font-size: 23px; margin: 36px 0 8px; }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 22px; }
.doc blockquote { margin: 16px 0; padding: 16px 20px; background: var(--paper); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; font-style: italic; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0 0 40px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.contact-grid .card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin: 0 0 6px; }
.contact-grid .card p { margin: 0; font-size: 17px; }

/* Footer */
.site-footer { background: var(--dark); color: #a8a49c; font-size: 14px; }
.footer-top { display: grid; gap: 20px 40px; align-items: center; padding-top: 40px; padding-bottom: 28px; border-bottom: 1px solid #2a2d34; }
@media (min-width: 920px) { .footer-top { grid-template-columns: auto 1fr auto; } }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark small { color: #8e8a82; }
.footer-tag { margin: 0; color: #d8d4cc; line-height: 1.5; }
.footer-tag span { display: block; color: #8e8a82; font-size: 13px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #d8d4cc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links svg { width: 20px; height: 20px; display: block; }
.footer-bottom { padding-top: 18px; padding-bottom: 28px; font-size: 12.5px; display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: center; }

/* Section labels stay orange inside blocks that restyle their paragraphs */
.section-head .eyebrow, .founder-copy .eyebrow { color: var(--accent); margin: 0 0 14px; font-size: 12px; }
