/* Grant Cramer IM — lightweight static website */
:root{color-scheme:light;--ink:#14243a;--muted:#596878;--blue:#176a9a;--navy:#101e32;--line:#dce4ea;--paper:#f5f7fa;--white:#fff;--focus:#f0ad40}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--blue);text-underline-offset:3px}a:focus-visible{outline:3px solid var(--focus);outline-offset:4px;border-radius:2px}.skip{position:absolute;left:-9999px;top:0;background:white;padding:.7rem;z-index:10}.skip:focus{left:1rem}.wrap{width:min(1120px,calc(100% - 2.5rem));margin-inline:auto}.site-header{border-bottom:1px solid var(--line);background:var(--white)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:88px}.brand{font-size:1.05rem;font-weight:850;letter-spacing:.12em;color:var(--navy);text-decoration:none;white-space:nowrap}.brand span{color:var(--blue)}.nav{display:flex;gap:1.35rem;flex-wrap:wrap}.nav a{text-decoration:none;color:var(--ink);font-size:.9rem;font-weight:650}.nav a[aria-current=page]{color:var(--blue);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}.nav a:hover{color:var(--blue)}.hero{background:radial-gradient(circle at 87% 18%,#235275 0,transparent 32%),linear-gradient(115deg,#101e32,#182e49 75%);color:white;overflow:hidden}.hero-inner{padding:clamp(5rem,10vw,8rem) 0;max-width:850px}.eyebrow{margin:0 0 1rem;color:#94d4ff;text-transform:uppercase;letter-spacing:.17em;font-size:.78rem;font-weight:750}.hero h1,.page-hero h1{font-size:clamp(2.7rem,6.5vw,5.2rem);line-height:1.07;letter-spacing:-.055em;max-width:14ch;margin:0 0 1.5rem}.hero .lead{max-width:680px;color:#dce6f0;font-size:clamp(1.06rem,2vw,1.27rem);line-height:1.7}.actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:2rem}.button{display:inline-block;border-radius:6px;padding:.8rem 1.2rem;text-decoration:none;font-weight:750;background:var(--blue);color:white}.button:hover{background:#0e547f}.button-light{background:white;color:var(--navy)}.button-light:hover{background:#e8f0f6}.button-outline{background:transparent;border:1px solid #b6d0e2;color:white}.button-outline:hover{background:#27435e}.section{padding:clamp(3.5rem,7vw,6rem) 0}.section-alt{background:var(--paper)}.section-title{font-size:clamp(1.8rem,3vw,2.65rem);line-height:1.19;letter-spacing:-.035em;margin:0 0 1rem}.intro{color:var(--muted);max-width:720px;font-size:1.08rem}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}.card{border:1px solid var(--line);background:white;border-radius:12px;padding:1.5rem}.card .num{color:var(--blue);font-weight:850;letter-spacing:.14em;font-size:.77rem}.card h3{font-size:1.18rem;line-height:1.3;margin:.6rem 0}.card p{color:var(--muted);margin-bottom:0}.split{display:grid;grid-template-columns:1.4fr .8fr;gap:clamp(2rem,6vw,6rem);align-items:center}.feature{border-left:4px solid #4b9ac6;background:#eaf1f7;border-radius:0 10px 10px 0;padding:1.5rem}.feature p{margin:0}.page-hero{padding:clamp(4rem,8vw,6rem) 0;background:var(--navy);color:white}.page-hero h1{font-size:clamp(2.5rem,5vw,4.3rem);max-width:20ch}.page-hero p{color:#dce6f0;max-width:690px;font-size:1.1rem}.prose{max-width:750px}.prose h2{margin:2.4rem 0 .7rem;font-size:1.65rem;line-height:1.25}.prose p{color:#4c5d70}.project{border:1px solid var(--line);border-radius:12px;padding:1.6rem;margin:1.2rem 0;background:#fff}.project h2{margin:0 0 .6rem;font-size:1.4rem}.project p{color:var(--muted)}.note{background:#eff5f9;border-radius:10px;padding:1.25rem;color:#34495f}.cta{background:var(--navy);color:white;padding:clamp(3rem,6vw,5rem) 0}.cta p{color:#dce6f0;max-width:650px}.site-footer{border-top:1px solid var(--line);padding:1.8rem 0;color:var(--muted);font-size:.9rem}.footer-inner{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.footer-inner p{margin:0}.footer-inner a{color:var(--ink)}@media(max-width:720px){.header-inner{align-items:flex-start;flex-direction:column;padding:1.15rem 0;gap:.9rem}.nav{gap:.65rem 1.2rem}.cards{grid-template-columns:1fr}.split{grid-template-columns:1fr}.hero-inner{padding:4.5rem 0}.wrap{width:min(1120px,calc(100% - 2rem))}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Portrait layout — preserves the original black-and-white photograph. */
.hero-inner{max-width:none;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(270px,.82fr);align-items:center;gap:clamp(2rem,5vw,5rem);padding:clamp(4rem,8vw,6.5rem) 0}
.hero-copy{min-width:0}
.hero h1{font-size:clamp(2.65rem,5.3vw,4.7rem)}
.hero-portrait,.about-portrait{margin:0;overflow:hidden;border-radius:14px;background:#c6c8c9}
.hero-portrait{aspect-ratio:4/5;align-self:stretch;max-height:530px;box-shadow:0 20px 50px #07111e55}
.hero-portrait img,.about-portrait img{width:100%;height:100%;display:block;object-fit:cover;object-position:58% center}
.about-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);align-items:start;gap:clamp(2rem,6vw,5rem)}
.about-layout .prose h2:first-child{margin-top:0}
.about-portrait{aspect-ratio:4/5;max-height:560px}
@media(max-width:760px){.hero-inner{grid-template-columns:1fr;gap:2.5rem;padding:3.5rem 0}.hero-portrait{width:min(100%,430px);max-height:440px;aspect-ratio:5/4}.hero-portrait img{object-position:58% 34%}.about-layout{grid-template-columns:1fr}.about-portrait{max-width:470px;max-height:430px;aspect-ratio:5/4}}
