
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --surface: #fffefa;
  --ink: #20231f;
  --muted: #555a50;
  --line: #dbded5;
  --accent: #365444;
  --wash: #eeefe8;
  --radius: 5px;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3 { margin: 0; }
p, li, dd { line-height: 1.62; }
:focus-visible { outline: 3px solid #537c65; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 12px; left: 16px; padding: 12px 18px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 78px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 24px; }
.brand { white-space: nowrap; font-size: 1.24rem; font-weight: 750; letter-spacing: -.055em; }
.brand span { color: var(--accent); }
.nav-shell nav { display: flex; align-items: center; gap: clamp(14px, 2.35vw, 36px); }
.nav-shell nav a { display: block; padding: 12px 0; font-size: .87rem; color: var(--muted); }
.nav-shell nav a:hover, .nav-shell nav [aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; padding: 0 17px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .87rem; font-weight: 650; transition: background .18s, border-color .18s, color .18s; }
.button:hover { background: var(--wash); border-color: var(--accent); }
.button.primary { color: #fff; border-color: var(--accent); background: var(--accent); }
.button.primary:hover { background: #263e31; }
.button.light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button.light:hover { background: #e2e9df; border-color: #e2e9df; }
.header-button { justify-self: end; min-height: 40px; }
.hero { padding-block: clamp(62px, 7vw, 112px); display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(30px, 5.2vw, 82px); }
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; color: var(--accent); }
.dot { display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; border-radius: 50%; background: #5a7b63; }
h1, h2, h3 { font-weight: 660; letter-spacing: -.055em; line-height: 1.04; overflow-wrap: anywhere; }
h1 { font-size: clamp(3rem, 5.5vw, 5.35rem); }
.hero h1 { margin-top: 20px; max-width: 17ch; font-size: clamp(2.65rem, 4.8vw, 4.65rem); }
h1 em { color: var(--accent); font-style: normal; }
.lede { font-size: clamp(1rem, 1.48vw, 1.2rem); color: var(--muted); max-width: 57ch; margin-top: 23px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-project { display: block; border-radius: var(--radius); overflow: hidden; background: #263830; color: #fff; position: relative; }
.hero-project .media { aspect-ratio: 1.26; }
.hero-project img[src="/media/cessna-182-skylane-hd.jpg"] { object-position: right center; }
.hero-project .media::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #141d18e8); pointer-events: none; }
.hero-caption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; padding: 19px 23px; font-size: 1rem; font-weight: 620; }
.circle-arrow { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid currentColor; border-radius: 50%; font-size: 1rem; transition: background .18s, color .18s; }
.hero-project:hover .circle-arrow { background: white; color: var(--ink); }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; color: var(--muted); font-size: .8rem; }
.carousel-controls > div { display: flex; gap: 6px; }
.carousel-controls button { min-width: 44px; min-height: 44px; padding-inline: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); cursor: pointer; }
.carousel-controls button:hover { border-color: var(--accent); background: var(--wash); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.section { padding-block: clamp(49px, 6vw, 89px); }
.selected, .bio-split { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 27px; }
.section-head .eyebrow { margin-bottom: 10px; }
h2 { font-size: clamp(2.05rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.8rem); }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 650; color: var(--accent); min-height: 34px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(18px, 2.4vw, 32px); row-gap: 36px; }
.project-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: clip; }
.project-card:focus-within { outline: 3px solid #537c65; outline-offset: 3px; }
.card-link { height: 100%; display: flex; flex-direction: column; }
.media { isolation: isolate; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #dde3d9; color: #344c3d; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.media-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-size: .9rem; }
.card-link:hover img, .hero-project:hover img { transform: scale(1.025); }
.card-info { padding: clamp(16px, 2.2vw, 27px); display: flex; flex-direction: column; align-items: start; flex: 1; gap: 9px; }
.card-info p { color: var(--muted); font-size: .95rem; }
.card-info h2 { font-size: clamp(1.2rem, 2.1vw, 1.8rem); }
.card-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center; margin-bottom: 3px; font-size: .7rem; color: var(--accent); font-weight: 700; }
.card-meta span + span { border-left: 1px solid var(--line); padding-left: 12px; color: var(--muted); font-weight: 550; }
.card-action { display: inline-flex; gap: 7px; padding-top: 10px; margin-top: auto; color: var(--accent); font-size: .84rem; font-weight: 700; }
.card-link:hover .card-action { text-decoration: underline; text-underline-offset: 4px; }
.tint { background: var(--wash); }
.category-rows { border-top: 1px solid var(--line); }
.category-rows > a { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto; align-items: center; gap: 28px; min-height: 100px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.category-rows p { color: var(--muted); }
.category-rows > a:hover .circle-arrow { color: white; background: var(--accent); }
.steps { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; gap: 20px; }
.steps li { border-top: 1px solid var(--line); padding-top: 19px; }
.steps h3 { font-size: 1.14rem; letter-spacing: -.03em; }
.steps p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.bio-split { display: grid; grid-template-columns: .75fr 1fr; gap: 28px; }
.bio-split p { max-width: 59ch; color: var(--muted); font-size: 1.08rem; margin-bottom: 13px; }
.bio-split .actions { margin-top: 12px; }
.contact-band { background: #293f33; color: var(--paper); }
.band-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: center; padding-block: clamp(43px, 6vw, 80px); }
.band-inner p { margin-top: 12px; color: #e0e7df; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 36px; padding-block: 26px; }
.footer p { color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: .88rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-intro { padding-block: clamp(52px, 7vw, 98px) clamp(31px, 4vw, 55px); }
.page-intro h1 { margin-top: 12px; max-width: 19ch; }
.page-intro .eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.collection { padding-bottom: clamp(45px, 6vw, 89px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filters a { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 6px 14px; font-size: .85rem; font-weight: 650; border: 1px solid var(--line); border-radius: var(--radius); }
.filters a:hover { border-color: var(--accent); }
.filters [aria-current] { color: white; background: var(--accent); border-color: var(--accent); }
.video-shell { position: relative; background: #242925; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; max-width: 1080px; }
.video-shell iframe { display: block; width: 100%; height: 100%; border: 0; }
.play { cursor: pointer; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); border-radius: var(--radius); border: 1px solid #fff; background: #1d2922f5; color: #fff; padding: 13px 19px; display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; }
.play:hover { background: #365444; }
.play:focus-visible { outline-color: white; }
.video-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 9px; }
.hero .hero-proof { margin-top: 10px; }
.section-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.project-contribution { margin-top: 14px; color: var(--muted); max-width: 65ch; }
.project-contribution strong { color: var(--ink); margin-right: .3em; }
.project-demo-links { margin-top: 16px; }
.project-demo-links h2 { font-size: 1.2rem; letter-spacing: -.025em; }
.project-demo-links ul, .service-list ul { list-style: none; padding: 0; margin: 4px 0 0; }
.project-demo-links ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.design-note { padding-bottom: clamp(34px, 5vw, 65px); }
.design-note h2 { font-size: clamp(1.45rem, 2.8vw, 2.15rem); margin-bottom: 10px; }
.design-note p, .service p { color: var(--muted); max-width: 65ch; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 14px 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.service h2 { font-size: clamp(1.45rem, 2.8vw, 2.15rem); }
.case-body, .contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(240px, 1fr); gap: clamp(24px, 6vw, 80px); }
.case-body section + section { margin-top: 30px; }
.case-body h2, .contact-grid h2 { font-size: clamp(1.45rem, 2.8vw, 2.15rem); margin-bottom: 12px; }
.case-body p, .case-body li, .contact-grid p, .contact-grid li { color: var(--muted); }
.case-body ul, .contact-grid ul { padding-left: 20px; }
.case-body aside, .contact-grid > div { align-self: start; background: var(--wash); padding: clamp(16px, 3vw, 30px); border-radius: var(--radius); }
.case-body dl div { padding-block: 10px; border-top: 1px solid var(--line); }
.case-body dt { color: var(--accent); font-size: .78rem; font-weight: 750; }
.case-body dd { margin: 2px 0 0; }
.case-body .tags { display: flex; flex-wrap: wrap; padding: 0; list-style: none; gap: 6px; }
.tags li { font-size: .76rem; border: 1px solid var(--line); padding: 2px 8px; }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 80px; gap: 24px; }
.contact-grid .button { margin-top: 18px; }
.contact-grid .contact-address { margin-top: 8px; overflow-wrap: anywhere; }
.contact-grid li + li { margin-top: 6px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 30px; }
  .hero h1 { font-size: clamp(2.65rem, 5.1vw, 4.35rem); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .nav-shell { min-height: 0; grid-template-columns: 1fr auto; gap: 4px 12px; padding-top: 12px; }
  .nav-shell nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 8px; }
  .header-button { grid-row: 1; grid-column: 2; }
  .hero { grid-template-columns: 1fr; padding-block: 30px; gap: 20px; }
  .hero h1 { max-width: 16ch; font-size: clamp(2.35rem, 7.3vw, 4.1rem); }
  .hero .lede, .hero .actions { margin-top: 14px; }
  .hero-project .media { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .category-rows > a { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 16px; }
  .category-rows .circle-arrow { grid-column: 2; grid-row: 1 / 3; }
  .category-rows p { grid-column: 1; }
  .case-body, .bio-split, .service { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .project-grid, .contact-grid { grid-template-columns: 1fr; }
  .project-grid { row-gap: 21px; }
  .hero-caption { padding: 11px 14px; font-size: .86rem; }
  .circle-arrow { width: 33px; height: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .card-link:hover img, .hero-project:hover img { transform: none; }
}
