:root {
  --paper:#f7f3eb;
  --ink:#201d19;
  --muted:#665f56;
  --line:#d8d0c3;
  --blue:#164ee8;
  --blue-soft:#dfe7ff;
  --terracotta:#c96d50;
  --green:#68764b;
  --white:#fffdf8;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:Inter, Arial, sans-serif; line-height:1.55; }
a { color:inherit; }
img { display:block; max-width:100%; }
.skip { position:absolute; left:-9999px; }
.skip:focus { left:16px; top:16px; z-index:20; padding:10px 14px; background:#fff; }
.shell { width:min(1160px, calc(100% - 40px)); margin:auto; }
header { position:sticky; top:0; z-index:10; border-bottom:1px solid rgba(32,29,25,.12); background:rgba(247,243,235,.94); backdrop-filter:blur(14px); }
.nav { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { font-family:Georgia, serif; font-size:1.2rem; text-decoration:none; }
.nav-links { display:flex; align-items:center; gap:28px; font-size:.92rem; }
.nav-links a { text-decoration:none; }
.nav-links a:hover, .nav-links a:focus { color:var(--blue); }
.hero { min-height:76vh; display:grid; align-content:center; padding:100px 0 84px; }
.eyebrow { margin:0 0 22px; color:var(--blue); font-size:.78rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; }
h1, h2, h3 { margin:0; font-family:Georgia, 'Times New Roman', serif; font-weight:500; line-height:1.06; }
h1 { max-width:970px; font-size:clamp(3.4rem, 8.4vw, 7.8rem); letter-spacing:-.055em; }
.hero-copy { max-width:660px; margin:32px 0 0; color:var(--muted); font-size:clamp(1.05rem, 1.8vw, 1.28rem); }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 19px; border:1px solid var(--ink); border-radius:999px; text-decoration:none; font-size:.92rem; font-weight:700; transition:transform .2s, background .2s, color .2s; }
.button:hover, .button:focus { transform:translateY(-2px); }
.button.primary { color:white; border-color:var(--blue); background:var(--blue); }
.section { padding:96px 0; border-top:1px solid var(--line); }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:28px; margin-bottom:38px; }
.section-head h2 { font-size:clamp(2.3rem, 5vw, 4.5rem); letter-spacing:-.035em; }
.section-head p { max-width:450px; margin:0; color:var(--muted); }
.work-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.work-card { overflow:hidden; border:1px solid var(--line); border-radius:26px; background:var(--white); transition:transform .25s, box-shadow .25s; }
.work-card:hover { transform:translateY(-5px); box-shadow:0 18px 44px rgba(47,39,26,.1); }
.work-card > a { display:block; text-decoration:none; }
.work-visual { min-height:430px; display:grid; place-items:center; overflow:hidden; }
.work-visual.younger { background:#e4d8c6; }
.work-visual.younger img { width:80%; border-radius:22px; box-shadow:0 18px 50px rgba(63,47,36,.2); }
.work-copy { padding:25px 26px 28px; }
.meta { display:flex; justify-content:space-between; gap:18px; color:var(--muted); font:700 .75rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing:.08em; text-transform:uppercase; }
.work-copy h3 { margin:13px 0 9px; font-size:2rem; }
.work-copy p { margin:0; color:var(--muted); }
.agent-console { width:84%; padding:22px; border-radius:20px; color:#eef2ff; background:#111520; box-shadow:0 22px 50px rgba(0,0,0,.28); }
.agent-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; font-size:.78rem; }
.agent-dot { width:9px; height:9px; border-radius:50%; background:#71e5a2; box-shadow:0 0 0 5px rgba(113,229,162,.12); }
.agent-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:12px; }
.agent-panel { min-height:190px; padding:15px; border:1px solid #293247; border-radius:13px; background:#181f2e; }
.agent-panel.small { min-height:0; margin-bottom:12px; }
.agent-line { height:8px; margin:9px 0; border-radius:8px; background:#34415d; }
.agent-line.blue { width:72%; background:#4f76ff; }
.agent-line.short { width:46%; }
.about-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:90px; align-items:start; }
.about-grid h2 { font-size:clamp(2.5rem, 5vw, 5rem); }
.about-copy { color:var(--muted); font-size:1.14rem; }
.about-copy p:first-child { margin-top:0; color:var(--ink); font-size:1.45rem; }
.principles { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; margin-top:34px; }
.principle { padding:18px; border:1px solid var(--line); border-radius:16px; background:rgba(255,253,248,.58); }
.principle strong { display:block; margin-bottom:4px; color:var(--ink); }
.contact-block { padding:82px; border-radius:30px; color:white; background:var(--blue); }
.contact-block h2 { max-width:820px; font-size:clamp(2.8rem, 6vw, 6rem); letter-spacing:-.045em; }
.contact-block p { max-width:590px; margin:23px 0 30px; color:#dfe6ff; font-size:1.12rem; }
.contact-block .button { color:white; border-color:white; }
footer { display:flex; justify-content:space-between; gap:24px; padding:32px 0 45px; color:var(--muted); font-size:.86rem; }
.case-hero { padding:104px 0 70px; }
.case-hero h1 { max-width:1020px; font-size:clamp(3.3rem, 7.5vw, 7rem); }
.case-intro { display:grid; grid-template-columns:1.4fr .6fr; gap:60px; margin-top:40px; }
.case-intro > p { margin:0; color:var(--muted); font-size:1.25rem; }
.facts { display:grid; gap:16px; margin:0; }
.facts div { padding-top:11px; border-top:1px solid var(--line); }
.facts dt { color:var(--muted); font-size:.75rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.facts dd { margin:3px 0 0; }
.case-media { overflow:hidden; margin:20px auto 80px; border-radius:28px; background:#e4d8c6; }
.case-media img { width:100%; max-height:720px; object-fit:cover; }
.case-body { width:min(940px, calc(100% - 40px)); margin:0 auto 100px; }
.case-section { display:grid; grid-template-columns:230px 1fr; gap:60px; padding:56px 0; border-top:1px solid var(--line); }
.case-section h2 { font-size:1.9rem; }
.case-section h3 { margin:28px 0 8px; font:700 1rem/1.3 Inter, Arial, sans-serif; }
.case-section p, .case-section li { color:var(--muted); }
.case-section ul { margin:12px 0 0; padding-left:20px; }
.gallery { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:24px; }
.gallery img { width:100%; height:430px; object-fit:cover; border-radius:18px; }
.prototype-link { margin-top:22px; }
.back { display:inline-flex; margin-top:28px; color:var(--blue); font-weight:700; text-decoration:none; }
@media (max-width:800px) {
  .shell { width:min(100% - 28px, 1160px); }
  .nav { min-height:62px; }
  .nav-links { gap:15px; font-size:.8rem; }
  .nav-links a:nth-child(3) { display:none; }
  .hero { min-height:70vh; padding:74px 0 60px; }
  .work-grid, .about-grid, .case-intro, .case-section { grid-template-columns:1fr; }
  .work-visual { min-height:320px; }
  .about-grid, .case-intro, .case-section { gap:28px; }
  .principles { grid-template-columns:1fr; }
  .contact-block { padding:38px 25px; }
  .section { padding:70px 0; }
  .section-head { display:block; }
  .section-head p { margin-top:16px; }
  .gallery { grid-template-columns:1fr; }
  .gallery img { height:360px; }
  footer { display:block; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none !important; } }
