:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #111417;
  --muted: #5f666d;
  --line: #d9d7d0;
  --accent: #1f6f5f;
  --accent-2: #d8f55b;
  --dark: #101714;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(17, 20, 23, .08);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); background: rgba(246,244,239,.84); border-bottom: 1px solid rgba(217,215,208,.7); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-logo { width:42px; height:42px; flex:0 0 42px; border-radius:13px; box-shadow:0 8px 20px rgba(16,23,20,.12); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { padding: 11px 16px; border-radius: 999px; background: var(--ink); color: #fff!important; }
.menu-btn { display:none; border:1px solid var(--line); background:var(--surface); border-radius:12px; padding:10px 12px; }
.hero { padding: 82px 0 64px; display:grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items:center; }
.hero-copy-col { min-width:0; }
.eyebrow { margin:0 0 18px; text-transform:uppercase; letter-spacing:.14em; font-size:12px; font-weight:900; color:var(--accent); }
h1,h2,h3 { line-height: 1.06; letter-spacing: -.04em; margin-top:0; }
h1 { font-size: clamp(48px, 7vw, 94px); margin-bottom: 28px; }
h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 18px; }
h3 { font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 12px; }
.hero-copy { font-size: clamp(18px, 2vw, 23px); color: var(--muted); max-width: 720px; }
.hero-actions, .actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 20px; border-radius:999px; font-weight:800; text-decoration:none; border:1px solid var(--ink); cursor:pointer; }
.btn.primary { background:var(--ink); color:#fff; }
.btn.secondary { background:transparent; color:var(--ink); }
.btn:hover { transform: translateY(-1px); }
.hero-card { background:var(--dark); color:#fff; border-radius:32px; padding:28px; min-height:520px; display:flex; flex-direction:column; justify-content:space-between; box-shadow:var(--shadow); overflow:hidden; position:relative; }
.hero-card::before { content:""; position:absolute; width:280px; height:280px; border-radius:50%; background:var(--accent-2); opacity:.95; right:-90px; top:-70px; }
.hero-card .monogram { position:relative; font-size:clamp(72px,12vw,150px); letter-spacing:-.08em; font-weight:900; }
.hero-card p { position:relative; max-width:360px; color:#d7ddd9; font-size:17px; }
.hero-card small { position:relative; color:#aeb7b2; }
.trust-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:20px; overflow:hidden; margin:12px 0 72px; }
.trust-strip div { background:var(--surface); padding:22px; }
.trust-strip strong { display:block; font-size:15px; }
.trust-strip span { color:var(--muted); font-size:13px; }
.section { padding: 88px 0; border-top:1px solid var(--line); }
.section-head { display:flex; justify-content:space-between; gap:32px; align-items:end; margin-bottom:36px; }
.section-head p { max-width:560px; color:var(--muted); margin:0; }
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:28px; min-height:260px; }
.card .number { display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; border-radius:50%; background:#eef0eb; font-size:13px; font-weight:900; margin-bottom:48px; }
.card p { color:var(--muted); }
.tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.tag { border:1px solid var(--line); border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; color:var(--muted); }
.featured { display:grid; grid-template-columns:1.1fr .9fr; gap:18px; }
.case-panel { border-radius:30px; padding:36px; background:var(--dark); color:#fff; min-height:460px; display:flex; flex-direction:column; justify-content:space-between; }
.case-panel p { color:#cad1cd; max-width:650px; }
.case-panel .metric-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.case-panel .metric { border-top:1px solid #37403a; padding-top:14px; }
.case-panel .metric strong { display:block; font-size:15px; }
.case-panel .metric span { color:#9fa9a3; font-size:12px; }
.project-list { display:grid; gap:18px; }
.project-card { background:var(--surface); border:1px solid var(--line); border-radius:24px; padding:26px; }
.project-card .label { color:var(--accent); font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.1em; }
.project-card p { color:var(--muted); }
.text-link { font-weight:800; text-decoration-thickness:1px; text-underline-offset:4px; }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:36px; }
.process { counter-reset:step; display:grid; gap:0; }
.process article { counter-increment:step; display:grid; grid-template-columns:68px 1fr; gap:18px; padding:26px 0; border-bottom:1px solid var(--line); }
.process article::before { content:"0" counter(step); font-weight:900; color:var(--accent); }
.process p { margin:0; color:var(--muted); }
.quote-note { padding:30px; border-radius:24px; background:#e9ede8; }
.faq { display:grid; gap:12px; }
details { background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:20px 22px; }
summary { cursor:pointer; font-weight:800; }
details p { color:var(--muted); margin-bottom:0; }
.cta { margin:70px 0; background:var(--accent-2); border-radius:34px; padding:56px; display:grid; grid-template-columns:1fr auto; align-items:end; gap:30px; }
.cta h2 { margin-bottom:0; max-width:780px; }
.page-hero { padding:72px 0 46px; }
.page-hero h1 { font-size:clamp(44px,7vw,82px); max-width:960px; }
.page-hero p { max-width:760px; color:var(--muted); font-size:20px; }
.prose { max-width:800px; }
.prose p, .prose li { color:var(--muted); }
.contact-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:24px; }
.contact-card, .form-card { background:var(--surface); border:1px solid var(--line); border-radius:24px; padding:30px; }
.field { display:grid; gap:7px; margin-bottom:16px; }
label { font-weight:800; font-size:14px; }
input, textarea, select { width:100%; border:1px solid var(--line); border-radius:14px; background:#fff; padding:13px 14px; color:var(--ink); }
textarea { min-height:150px; resize:vertical; }
.footer { border-top:1px solid var(--line); padding:34px 0 54px; display:flex; justify-content:space-between; gap:18px; color:var(--muted); font-size:14px; }
.footer a { color:var(--ink); }
.demo-shell { padding:60px 0 100px; }
.demo-browser { background:#fff; border:1px solid var(--line); border-radius:28px; overflow:hidden; box-shadow:var(--shadow); }
.browser-bar { height:46px; border-bottom:1px solid var(--line); background:#f5f6f3; display:flex; align-items:center; gap:7px; padding:0 16px; }
.browser-bar span { width:10px; height:10px; border-radius:50%; background:#c8cbc6; }
.demo-stage { padding:48px; min-height:540px; }
.demo-stage h1 { font-size:clamp(42px,7vw,78px); }
.demo-badge { display:inline-block; margin-bottom:18px; padding:7px 10px; border-radius:999px; background:#eef2ed; font-size:12px; font-weight:900; }
.notice { border-left:4px solid var(--accent); background:#edf4f1; padding:16px 18px; border-radius:12px; }

.lime { color:var(--accent-2)!important; }
.btn.light { background:#fff; color:#111; border-color:#fff; }
.btn.dark-outline { background:transparent; color:#fff; border-color:#65706a; }
.micro-proof { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:22px; color:var(--muted); font-size:13px; font-weight:700; }
.micro-proof span { display:inline-flex; align-items:center; gap:7px; }
.micro-proof span::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--accent); }
.portrait-card { margin:0; min-height:560px; border-radius:32px; overflow:hidden; position:relative; background:var(--dark); box-shadow:var(--shadow); }
.portrait-card picture, .portrait-card img { width:100%; height:100%; min-height:560px; }
.portrait-card img { object-fit:cover; object-position:center 42%; }
.portrait-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 56%,rgba(7,11,9,.86) 100%); pointer-events:none; }
.portrait-card figcaption { position:absolute; z-index:2; left:24px; right:24px; bottom:22px; display:flex; align-items:end; justify-content:space-between; gap:18px; color:#fff; }
.portrait-card figcaption div { display:grid; gap:2px; }
.portrait-card figcaption strong { font-size:17px; }
.portrait-card figcaption span { color:#cbd2ce; font-size:13px; }
.portrait-card .portrait-status { border:1px solid rgba(255,255,255,.26); border-radius:999px; padding:7px 10px; color:#fff; background:rgba(16,23,20,.56); backdrop-filter:blur(8px); white-space:nowrap; }
.about-hero { display:grid; grid-template-columns:1.2fr .8fr; gap:54px; align-items:center; }
.about-portrait { margin:0; height:430px; border-radius:28px; overflow:hidden; background:var(--dark); box-shadow:var(--shadow); }
.about-portrait img { width:100%; height:100%; object-fit:cover; object-position:center 34%; }
.service-title { font-size:clamp(26px,3vw,34px); }
.check-list { margin:0; padding:0; list-style:none; display:grid; gap:14px; }
.check-list li { position:relative; padding-left:28px; }
.check-list li::before { content:"✓"; position:absolute; left:0; top:0; color:var(--accent); font-weight:900; }
.case-overview { display:grid; grid-template-columns:1.35fr .65fr; gap:24px; align-items:stretch; }
.project-window { border:1px solid var(--line); border-radius:28px; overflow:hidden; background:#fff; box-shadow:var(--shadow); min-height:440px; }
.project-window-bar { min-height:48px; display:flex; align-items:center; gap:7px; padding:0 16px; background:#f0f2ee; border-bottom:1px solid var(--line); }
.project-window-bar span { width:10px; height:10px; border-radius:50%; background:#bfc5bf; }
.project-window-bar strong { margin-left:10px; font-size:12px; color:var(--muted); font-weight:800; }
.project-window-body { min-height:390px; padding:52px; background:linear-gradient(135deg,#101714 0%,#183329 100%); color:#fff; display:flex; flex-direction:column; justify-content:center; }
.window-kicker { color:var(--accent-2); font-size:12px; letter-spacing:.14em; font-weight:900; margin-bottom:26px; }
.window-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:36px; align-items:end; }
.window-grid h2 { font-size:clamp(42px,5vw,70px); margin-bottom:16px; }
.window-grid p { color:#c9d2cd; max-width:620px; }
.window-stack { display:grid; gap:10px; }
.window-stack span { border-top:1px solid #385047; padding:11px 0; color:#dce4df; font-size:14px; font-weight:700; }
.note-card { margin-top:34px; margin-bottom:34px; padding:22px 24px; border:1px solid var(--line); border-radius:20px; background:#edf1eb; }
.note-card p { margin:6px 0 0; color:var(--muted); }
.contact-title { font-size:clamp(34px,4vw,48px); }
.contact-email { font-size:clamp(18px,2.2vw,24px); overflow-wrap:anywhere; }
.social-stack { display:grid; gap:7px; margin:24px 0; }
.social-stack a { font-weight:800; }
.muted-small, .form-note { color:var(--muted); font-size:13px; }
.optional { font-weight:600; color:var(--muted); font-size:12px; }
.footer-links { display:flex; flex-wrap:wrap; gap:16px; }
.footer-links a { text-decoration:none; font-weight:700; }
.footer-links a:hover { text-decoration:underline; text-underline-offset:4px; }

@media (max-width: 900px) {
  .hero,.featured,.two-col,.contact-grid,.cta,.about-hero,.case-overview { grid-template-columns:1fr; }
  .hero { gap:28px; padding-top:58px; }
  .hero-card { min-height:390px; }
  .portrait-card,.portrait-card picture,.portrait-card img { min-height:520px; }
  .about-portrait { height:520px; max-width:520px; }
  .window-grid { grid-template-columns:1fr; }
  .cards { grid-template-columns:1fr 1fr; }
  .trust-strip { grid-template-columns:1fr 1fr; }
  .section-head { align-items:start; flex-direction:column; }
  .cta { align-items:start; }
}
@media (max-width: 680px) {
  .wrap { width:min(calc(100% - 22px), var(--max)); }
  .nav { min-height:68px; }
  .menu-btn { display:block; }
  .nav-links { display:none; position:absolute; top:68px; left:11px; right:11px; background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:16px; box-shadow:var(--shadow); flex-direction:column; align-items:stretch; }
  .nav-links.open { display:flex; }
  .nav-links a { padding:9px 6px; }
  .cards,.trust-strip,.case-panel .metric-grid { grid-template-columns:1fr; }
  h1 { font-size:clamp(42px,14vw,64px); }
  .section { padding:66px 0; }
  .hero-card { min-height:330px; }
  .portrait-card,.portrait-card picture,.portrait-card img { min-height:470px; }
  .portrait-card figcaption { left:18px; right:18px; bottom:16px; align-items:start; flex-direction:column; gap:10px; }
  .about-portrait { height:430px; }
  .project-window-body { padding:34px 24px; }
  .footer-links { gap:12px; }
  .cta { padding:34px 24px; margin:42px 0; }
  .footer { flex-direction:column; }
  .demo-stage { padding:28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none!important; animation:none!important; }
}
