:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #132d3d;
  --muted: #4a606b;
  --blue: #175582;
  --orange: #e47328;
  --line: #cbd4d3;
  --white: #fff;
  font: 100%/1.6 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.15rem); }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { font-size: 1.28rem; line-height: 1.22; }
.shell { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip { position: absolute; z-index: 1; padding: .5rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; min-height: 5.4rem; border-bottom: 1px solid var(--line); padding-block: .65rem; }
.brand { display: inline-flex; }
.brand img { width: clamp(9.75rem, 16vw, 13rem); height: auto; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(.8rem, 2.5vw, 2rem); }
.site-header nav a, .header-contact, .site-footer a { padding-block: .35rem; font-size: .9rem; font-weight: 650; color: var(--ink); text-decoration: none; }
.site-header a:hover, .site-footer a:hover { text-decoration: underline; }
.header-contact span, .work-list a > :last-child { color: var(--blue); }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; gap: clamp(2rem, 5vw, 5.5rem); padding-block: clamp(3rem, 8vw, 7rem); }
.eyebrow, .index, .art-caption { font: 700 .73rem/1.4 ui-monospace, monospace; letter-spacing: .075em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: baseline; gap: .65rem; color: var(--blue); margin-bottom: 1.15rem; }
.eyebrow > span { flex: 0 0 .48rem; height: .48rem; background: var(--orange); }
.hero em { display: block; color: var(--blue); font-style: normal; }
.intro { max-width: 46ch; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); margin-block: 1.45rem 1.7rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.5rem; }
.button, .text-link { display: inline-flex; align-items: center; gap: .85rem; min-height: 2.75rem; font-weight: 700; }
.button { background: var(--blue); color: var(--white); padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .35rem; text-decoration: none; }
.button:hover { background: #103f60; }
.button:focus-visible { outline-color: var(--ink); }
.hero-art { border: 1px solid #b8cbd1; border-radius: .65rem; background: #e5eeef; overflow: hidden; }
.hero-art svg { display: block; width: 100%; }
.art-caption { display: flex; justify-content: space-between; padding: .85rem 1rem; border-top: 1px solid #b8cbd1; color: var(--blue); }
.section { padding-block: clamp(2.4rem, 5vw, 4.65rem); border-top: 1px solid var(--line); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 1.8rem; }
.services article { padding: clamp(1.15rem, 2.5vw, 1.75rem); border: 1px solid var(--line); border-radius: .5rem; background: #fdfcf8; }
.index { color: var(--blue); }
.services h3 { margin-block: 1.1rem .7rem; }
.services p, .profile p, .contact > p:not(.eyebrow) { color: var(--muted); }
.services p { margin: 0; }
.services + .actions { margin-top: 1.5rem; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: clamp(1.8rem, 5vw, 4.5rem); padding: clamp(1.6rem, 5vw, 4rem); border-radius: .7rem; background: #112f43; color: #fff; }
.product .eyebrow { color: #b6d4e5; }
.product-lead { margin-block: 1rem .6rem; font-size: 1.25rem; font-weight: 650; line-height: 1.35; }
.product p:not(.eyebrow, .product-lead) { color: #d3e2e8; }
.button-light { background: #f4d0b4; color: #192f3b; }
.button-light:hover { background: #f8e0cc; }
.button-light:focus-visible { outline-color: #fff; }
.sample { border: 1px solid #577487; border-radius: .55rem; background: #1c3e53; }
.sample-header, .sample-footer { padding: .8rem 1rem; color: #d3e2e8; font-size: .82rem; }
.sample-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; border-bottom: 1px solid #577487; }
.sample-tag { color: #f9dac4; font-weight: 700; }
.sample-body { background: #f8f6f0; color: var(--ink); padding: 1.35rem 1rem; font: .9rem/1.9 ui-monospace, monospace; overflow-wrap: anywhere; }
.sample-body mark { color: #174b6a; background: #d9e8ed; border-radius: .2rem; }
.work-list { margin-top: 1.5rem; }
.work-list > * { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; align-items: baseline; gap: .7rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.work-list > :last-child { border-bottom: 1px solid var(--line); }
.work-list > a:hover strong { text-decoration: underline; }
.work-list strong { font-size: 1.12rem; }
.work-list small { display: block; color: var(--muted); font-size: .9rem; }
.extension { grid-column: 2 / -1; }
.extension-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .5rem; }
.extension-links a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2rem; font-weight: 650; }
.profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 1.5rem 3rem; }
.profile-photo { display: block; width: clamp(7rem, 14vw, 9rem); height: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: .55rem; }
.profile p:not(.eyebrow), .contact > p:not(.eyebrow) { max-width: 60ch; }
.contact h2 { margin-bottom: .7rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; border-top: 1px solid var(--line); padding-block: 1.35rem; color: var(--muted); font-size: .9rem; }
.legal { max-width: 48rem; padding-block: 3rem; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin-block: 1.65rem .6rem; }
.legal address { font-style: normal; }

@media (max-width: 760px) {
  .hero, .product, .profile { grid-template-columns: 1fr; }
  .hero h1 { text-wrap: balance; }
  .hero em { display: inline; }
  .hero-art { max-width: 28rem; }
  .hero-art svg { max-height: 17rem; }
  .services { grid-template-columns: 1fr; }
  .site-header nav { order: 1; width: 100%; }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 2rem); }
  .work-list > * { grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .75rem; }
  .work-list .index { grid-column: 1 / -1; }
  .extension { grid-column: 1 / -1; }
}
