:root {
  color-scheme: dark;
  --base: #0d1417;
  --surface: #162227;
  --selected: #17393b;
  --accent: #76d5ca;
  --paper: #f2f3f6;
  --copy: #cbd5d6;
  --muted: #b1bfc2;
  --rule: #37474b;
  background: var(--base);
  color: var(--paper);
  font: 100%/1.55 Inter, "Helvetica Neue", Arial, sans-serif;
}
*,*::before,*::after {box-sizing:border-box}
body,h1,h2,h3,h4,p,figure,ol {margin:0}
a {color:inherit;text-underline-offset:.3em}
a:hover {color:var(--accent)}
:focus-visible {outline:3px solid var(--accent);outline-offset:5px}
[id] {scroll-margin-block-start:1.5rem}
.shell {width:min(1136px,calc(100% - clamp(2.5rem,10vw,9rem)));margin-inline:auto}
.grid {display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(1rem,2.15vw,2rem)}
.skip {position:absolute;top:-5rem;left:1rem;background:var(--surface);padding:.75rem;z-index:5}
.skip:focus {top:.5rem}
.mast,nav,footer {display:flex;align-items:center}
.mast,footer {justify-content:space-between}
.mast {min-height:76px;border-bottom:1px solid var(--rule);gap:1rem}
.wordmark {display:inline-flex;align-items:center;min-height:44px}
.wordmark img {display:block;width:clamp(7rem,13vw,10rem);height:auto}
nav {gap:clamp(1rem,2.7vw,2.25rem)}
nav a {font-size:.9375rem;font-weight:540;text-decoration:none;padding:.8rem 0}
.nav-email {border-bottom:1px solid #74898c;padding:.23rem 0}
.nav-email:hover {border-color:var(--accent)}
.hero {padding-block:clamp(3rem,4.8vw,4.8rem) clamp(2.8rem,4.5vw,4.4rem)}
h1,h2,h3,h4 {font-weight:580;line-height:1.08;letter-spacing:-.04em;text-wrap:balance}
h1 {font-size:clamp(2.6rem,5.6vw,4.95rem);max-width:100%;line-height:1.02}
h1 span {display:block;color:#c2d0d1}
.hero p {font-size:clamp(1.0625rem,1.4vw,1.19rem);max-width:64ch;color:var(--copy);margin-top:1.35rem;line-height:1.58}
.button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:1.5rem;padding:.65rem 1.15rem;border-radius:4px;background:var(--accent);color:var(--base);font-size:.94rem;font-weight:650;text-decoration:none}
.button:hover {background:#a1e5dd;color:var(--base)}
.section-title {border-top:1px solid var(--rule);padding-block:1.1rem 1.2rem;font-size:1.38rem;letter-spacing:-.026em}
.feature {padding-block:.5rem 2.25rem;border-bottom:1px solid var(--rule);align-items:center}
.feature-copy {grid-column:1/6}
.role,figcaption small {font-size:.91rem;font-weight:500;line-height:1.45;color:var(--muted)}
.feature h3 {font-size:clamp(2.6rem,4.4vw,4rem);margin:.65rem 0 1rem}
.mandate {font-size:clamp(1.4rem,2.06vw,1.9rem);line-height:1.2;letter-spacing:-.03em;text-wrap:balance}
.feature-copy p:last-child,.project-body p,.about p,.contact p {color:var(--copy);font-size:clamp(1.0625rem,1.32vw,1.1875rem);line-height:1.58}
.feature-copy p:last-child {margin-top:1rem}
.scope-note {grid-column:7/-1;align-self:center;background:var(--surface);border-top:2px solid #628783;padding:clamp(1.3rem,2.5vw,2.1rem)}
figcaption {display:flex;flex-direction:column;gap:.24rem;font-size:clamp(1.25rem,1.7vw,1.55rem);font-weight:580;line-height:1.25;letter-spacing:-.025em}
figcaption small {font-weight:400;letter-spacing:0}
.scope-note ol {list-style:none;padding:0;margin:1.35rem 0 0 .24rem}
.scope-note li {position:relative;margin:0;padding:0 0 1.05rem 1.3rem;border-left:1px solid #668a89}
.scope-note li:last-child {border-color:transparent;padding-bottom:0}
.scope-note li::before {position:absolute;content:"";left:-4.5px;top:.48rem;width:8px;height:8px;background:var(--surface);border:1.5px solid #9bd3ca;border-radius:50%}
.scope-note li:last-child::before {background:var(--accent)}
.scope-note strong {font-size:1.03rem;font-weight:620}
.scope-note li p {color:var(--copy);font-size:1.0625rem;line-height:1.45;margin:.2rem 0 0;max-width:42ch}
.project {border-bottom:1px solid var(--rule);padding-block:clamp(2.1rem,3.8vw,3.4rem)}
.project-name {grid-column:1/6}
.project-name h3 {font-size:clamp(1.7rem,2.75vw,2.45rem);margin-top:.42rem;max-width:21ch}
.project-body,.about .grid>div,.contact>div {grid-column:7/-1}
.project-body h4 {font-size:clamp(1.16rem,1.63vw,1.42rem);line-height:1.3;letter-spacing:-.025em;margin-bottom:.55rem;text-wrap:initial}
.work {padding-bottom:clamp(2.7rem,4.4vw,4.3rem)}
.about {background:#111c20;border-block:1px solid #2e4044}
.about .grid,.contact {padding-block:clamp(2.8rem,5.3vw,5rem)}
.about h2,.contact h2 {grid-column:1/6;font-size:clamp(2rem,3.9vw,3.55rem)}
.about p+p {margin-top:.85rem}
footer {border-top:1px solid var(--rule);padding-block:1.35rem;color:var(--muted);font-size:.9rem}
@media(max-width:900px) {
  .feature-copy {grid-column:1/7}
  .feature {column-gap:1.2rem}
  .scope-note {padding-left:1.25rem}
}
@media(max-width:720px) {
  .grid {grid-template-columns:repeat(4,minmax(0,1fr));row-gap:1.15rem}
  .grid>* {grid-column:1/-1!important}
  .scope-note {margin-top:.3rem;padding:1.35rem}
  .feature-copy p:last-child,.scope-note li p {max-width:56ch}
  .feature h3 {margin:.4rem 0 .65rem}
  .mast {min-height:65px}
  .project-name h3 {max-width:none}
  .about .grid,.contact {row-gap:1.2rem}
}
@media(max-width:520px) {
  .shell {width:calc(100% - 2.25rem)}
  nav {gap:.82rem}
  nav a {font-size:.875rem}
  .long-label {display:none}
  nav a:first-child {text-transform:capitalize}
  .wordmark img {width:clamp(6.1rem,26vw,7.4rem)}
  .mast {gap:.6rem}
  .feature {padding:.3rem 0 1.8rem}
  h1 {font-size:clamp(2.32rem,9.3vw,3rem)}
  h1 span {margin-top:.06em}
  .hero {padding-block:2.5rem}
  .hero p {margin-top:1rem}
  .button {margin-top:1.2rem}
}
.engagement {margin:1.4rem 0 0}
.engagement div {border-top:1px solid var(--rule);padding:.85rem 0;display:grid;grid-template-columns: minmax(8.5rem,.8fr) 1.7fr;gap:1rem}
.engagement dd {margin:0;color:var(--copy);font-size:1.0625rem}
.engagement dt {font-size:1.05rem;font-weight:600}
@media(max-width:520px) {.engagement div {grid-template-columns:1fr;gap:.2rem}}

/* About portrait */
.about .about-layout {align-items:center;row-gap:1.8rem}
.about .about-layout>.about-copy {grid-column:1/8;max-width:59ch}
.about-copy h2 {margin-bottom:.95rem}
.about .about-portrait {grid-column:8/-1;justify-self:end;width:min(100%,330px);aspect-ratio:4/5;overflow:hidden;border-radius:8px;outline:1px solid var(--rule);background:var(--surface)}
.about-portrait img {display:block;width:100%;height:100%;object-fit:cover;object-position:50% 43%}
@media(max-width:720px) {
 .about .about-portrait {justify-self:start;width:min(100%,310px)}
}

/* RockyOS product samples */
#rollout .feature-copy {grid-column:1/7}
.feature-role {grid-column:8/-1;align-self:center;border-left:1px solid var(--rule);padding-left:clamp(1.2rem,2.8vw,2.25rem)}
.feature-role h4,.product-screen h4 {font-size:clamp(1.15rem,1.8vw,1.48rem);line-height:1.2;letter-spacing:-.025em}
.feature-role p {font-size:1.0625rem;line-height:1.58;color:var(--copy);margin-top:.65rem;max-width:47ch}
.product-screens {grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.25rem,2.8vw,2.25rem);margin-top:clamp(1.65rem,3.35vw,3rem)}
.product-screen {display:flex;flex-direction:column;min-width:0;border-top:1px solid var(--rule);padding-top:1.15rem}
.product-screen figcaption {display:block;margin-bottom:.95rem}
.product-screen-title {display:flex;align-items:baseline;justify-content:space-between;column-gap:.55rem;row-gap:.35rem;flex-wrap:wrap}
.demo-label {font-size:.73rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);white-space:nowrap}
.product-screen figcaption p {font-size:.97rem;font-weight:400;letter-spacing:0;line-height:1.5;color:var(--copy);margin-top:.5rem}
.product-screen-link {display:block;margin-top:auto;text-decoration:none;border-radius:8px;overflow:hidden;border:1px solid var(--rule);background:var(--surface)}
.product-screen-link img {display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain;background:#f7f8f8}
.product-screen-link span {display:block;padding:.55rem .85rem;font-size:.875rem}
.product-screen-link:hover span {text-decoration:underline}
@media(max-width:900px){.feature-role{grid-column:7/-1}}
@media(max-width:720px){
 .feature-role{border-left:0;border-top:1px solid var(--rule);padding:1.1rem 0 0}
 .product-screens{grid-template-columns:1fr;gap:1.6rem;margin-top:.35rem}
}

/* Align+ mobile case study */
.align-project {align-items:center;row-gap:1.5rem}
.align-copy {grid-column:1/6;max-width:46ch}
.align-copy h3 {font-size:clamp(2.15rem,3.9vw,3.55rem);margin:.38rem 0 .85rem}
.align-copy p:last-child {color:var(--copy);font-size:clamp(1.0625rem,1.32vw,1.1875rem);line-height:1.58;margin-top:1rem}
.align-showcase {grid-column:7/-1;justify-self:end;width:min(100%,480px)}
.align-showcase>.demo-label {margin-bottom:.75rem}
.align-screens {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.65rem,2.4vw,1.65rem)}
.align-screens a {display:block;border:1px solid var(--rule);border-radius:12px;overflow:hidden;background:var(--surface)}
.align-screens a:hover {border-color:var(--accent)}
.align-screens img {display:block;width:100%;height:auto}
.align-screens figcaption {display:block;font-size:.875rem;line-height:1.4;letter-spacing:0;color:var(--muted);font-weight:500;margin-top:.55rem}
@media(max-width:720px){.align-showcase{justify-self:start;width:min(100%,440px)}}
