:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ink: #192237;
  --muted: #4c5563;
  --blue: #2446ba;
  --rule: #d3d3cb;
  --display: Rubik, Arial, sans-serif;
  --body: 'Source Sans 3', Arial, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.45 var(--body); }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
.frame { width: min(1296px, calc(100% - clamp(36px, 9vw, 152px))); margin-inline: auto; }
:focus-visible { outline: 3px solid #c15318; outline-offset: 4px; }
.skip { position: fixed; z-index: 10; left: 1rem; top: -8rem; padding: 12px; background: white; color: #141d2c; }
.skip:focus { top: 1rem; }
.mast, .footer { display: flex; align-items: center; gap: clamp(20px, 4vw, 62px); }
.mast { min-height: 82px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 570 31px/1 var(--display); letter-spacing: -.075em; }
.brand img { width: 35px; height: 35px; object-fit: contain; }
.mast nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.7vw, 46px); margin-left: auto; }
.mast nav a, .footer>a:not(.brand) { font-weight: 550; text-decoration: none; }
.mast nav a:hover, .footer>a:hover { text-decoration: underline; }
.mast .cz-langs { border-left: 1px solid var(--rule); padding-left: 19px; }
.mast .cz-langs a { min-height: 40px; padding: 5px 8px; font-size: 14px; }
.hero { display: grid; grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr); align-items: center; gap: clamp(24px, 4.2vw, 76px); padding-block: clamp(48px, 5.8vw, 94px) clamp(49px, 5.6vw, 88px); }
.byline { font-size: 16px; font-weight: 590; margin: 0 0 22px; color: var(--muted); }
.hero h1 { font: 490 clamp(3.3rem, 5.85vw, 6.2rem)/.98 var(--display); letter-spacing: -.067em; text-wrap: balance; }
.hero h1 em { display: block; font: italic 570 1.17em/.98 var(--serif); color: var(--blue); letter-spacing: -.055em; }
.hero .lede { max-width: 43ch; margin: 22px 0 27px; font-size: clamp(1.09rem, 1.45vw, 1.32rem); line-height: 1.39; }
.hero-actions, .brief-actions, .result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.button, .primary { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 11px 21px; background: var(--blue); border: 1px solid var(--blue); border-radius: 4px; color: white; text-decoration: none; font: 600 17px/1.32 var(--body); }
.button:hover, .primary:hover { background: #153390; }
.text-link { font-size: 17px; font-weight: 600; }
.folio-art { min-width: 0; }
.artboard { isolation: isolate; position: relative; overflow: hidden; aspect-ratio: 1.39; background: #c4cfee; border-radius: 5px; }
.print-shape { position: absolute; inset: 0; background: #95ace4; clip-path: polygon(41% 100%,100% 31%,100% 100%); }
.artboard::before { content: ''; position: absolute; top: 11%; left: -9%; width: 78%; aspect-ratio: 1; border: 1px solid #a9bae4; border-radius: 50%; }
.desktop-shot { position: absolute; width: 86%; top: 17.2%; left: 4.7%; transform: rotate(-5deg); background: #f1eadd; border: 1px solid #62697b; border-radius: 6px; overflow: hidden; box-shadow: 0 15px 28px #202c5838, 0 2px 4px #202c5828; }
.browser-rail { display: flex; gap: 1%; align-items: center; height: clamp(13px, 1.45vw, 23px); padding-inline: 2.1%; color: #494b51; background: #edeae7; }
.browser-rail i { border: 1px solid #93908e; border-radius: 50%; width: 1.1%; aspect-ratio: 1; }
.browser-rail b { flex: 1; text-align: center; padding-right: 6%; font: 500 clamp(7px,.75vw,11px)/1 var(--body); }
.desktop-shot img, .phone-shot img, .work-image img { width: 100%; height: auto; }
.phone-shot { position: absolute; width: 22.8%; right: 4.2%; bottom: 3.8%; padding: clamp(3px,.42vw,7px); background: #222b36; border: 1px solid #6a7180; border-radius: clamp(12px, 1.5vw, 24px); transform: rotate(5deg); box-shadow: 0 9px 16px #23305c52; }
.phone-shot img { border-radius: clamp(8px, 1.05vw, 18px); }
.desktop-shot:focus-visible, .phone-shot:focus-visible { z-index: 2; }
.folio-art figcaption { margin-top: 8px; display: flex; gap: 10px; justify-content: space-between; font-size: 14px; color: var(--muted); }
h2 { font: 495 clamp(2.65rem,5.25vw,5rem)/1.02 var(--display); letter-spacing: -.065em; }
.work-section { background: #1b263a; color: #fffdf5; padding-block: clamp(45px,5.2vw,84px) clamp(36px,4.8vw,72px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(25px,3.1vw,48px); }
.section-head p { max-width: 46ch; color: #dce2e9; font-size: clamp(1.05rem,1.33vw,1.23rem); }
.showcase { display: grid; grid-template-columns: minmax(220px,.51fr) minmax(0,1.49fr); align-items: start; gap: clamp(26px,5.6vw,100px); }
.tabs { display: grid; border-top: 1px solid #596173; }
.tabs button { width: 100%; text-align: left; color: #dce3ee; background: transparent; border: 0; border-bottom: 1px solid #596173; padding: 14px 8px 16px 5px; position: relative; }
.tabs button span { display: block; color: #c2cbd9; font: 450 15px/1.25 var(--body); margin-bottom: 3px; }
.tabs button b { display: block; font: 510 clamp(1.22rem, 1.65vw, 1.56rem)/1.15 var(--body); }
.tabs button:hover { background: #28354c; }
.tabs button[aria-pressed=true] { background: #2b3b56; padding-left: 18px; box-shadow: inset 3px 0 #f6a669; color: white; }
#exhibit { min-width: 0; }
.work-image { display: block; overflow: hidden; border-radius: 3px; border: 1px solid #778090; background: #eee6d7; }
.work-image img { aspect-ratio: 1180/680; }
.case-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 18px; }
.case-title h3 { font: 480 clamp(1.95rem,3.0vw,3.05rem)/1.1 var(--display); letter-spacing: -.049em; }
#open-case { padding: 8px 16px; border: 1px solid #b9c3d4; font-weight: 560; border-radius: 3px; text-decoration: none; }
#open-case:hover { background: #eceef3; color: #172438; }
#case-pitch { max-width: 57ch; margin-top: 12px; color: #e3e8ed; }
#scenario-links { display: flex; flex-wrap: wrap; gap: 5px 22px; margin-top: 12px; }
#scenario-links a { color: #ffd0a0; }
#use-case { display: inline-block; margin-top: 17px; font-weight: 600; }
.identity-link { display: inline-block; color: #c9d2df; margin-top: 27px; font-size: 16px; }
.process, .questions { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(35px,7vw,130px); padding-block: clamp(48px,6.6vw,105px); }
.process-intro p, .contact-layout>div:first-child p { margin-top: 22px; max-width: 38ch; font-size: clamp(1.12rem,1.55vw,1.42rem); }
.process ol { list-style: none; counter-reset: stage; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.process li { counter-increment: stage; position: relative; border-bottom: 1px solid var(--rule); padding: 19px 0 22px 47px; }
.process li::before { content: counter(stage, decimal-leading-zero); position: absolute; left: 0; top: 22px; font: 500 15px/1.4 'IBM Plex Mono', monospace; color: var(--blue); }
.process li h3, .form-shell h3 { font: 510 clamp(1.36rem,1.9vw,1.75rem)/1.19 var(--display); letter-spacing: -.038em; }
.process li p, .questions details p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.questions { border-top: 1px solid var(--rule); padding-top: clamp(36px,5vw,76px); }
.questions details { border-bottom: 1px solid var(--rule); }
.questions details:first-child { border-top: 1px solid var(--rule); }
.questions summary { list-style: none; padding: 17px 32px 17px 0; position: relative; font: 600 clamp(1.06rem,1.43vw,1.3rem)/1.32 var(--body); }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; position: absolute; right: 7px; top: 14px; color: var(--blue); font: 400 26px/1 var(--body); }
.questions details[open] summary::after { content: '−'; }
.questions details p { padding-bottom: 19px; margin: 0; }
.contact { background: #d9e3f8; padding-block: clamp(50px,6.5vw,106px); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(35px,7vw,130px); align-items: start; }
.email { display: inline-block; margin-top: 27px; font: 520 clamp(1.25rem,2.4vw,2.15rem)/1.3 var(--display); color: #193ca9; letter-spacing: -.045em; overflow-wrap: anywhere; }
.form-shell { padding: clamp(19px,2.5vw,38px); background: var(--paper); border-radius: 5px; }
.form-deck { margin: 8px 0 22px; color: var(--muted); }
#brief-form { display: grid; gap: 8px; }
#brief-form>label, legend { font-weight: 650; }
#brief-form small { font-weight: 400; color: var(--muted); }
select, textarea { width: 100%; min-width: 0; border: 1px solid #979ca5; border-radius: 3px; background: #fff; padding: 10px 12px; color: var(--ink); }
select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #34435d 50%), linear-gradient(135deg, #34435d 50%, transparent 50%); background-size: 6px 6px; background-repeat: no-repeat; background-position: calc(100% - 18px) center, calc(100% - 12px) center; }
textarea { resize: vertical; }
fieldset { min-width: 0; margin: 9px 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
legend { padding: 0; margin-bottom: 7px; }
fieldset label { display: flex; align-items: baseline; gap: 7px; font-size: 17px; }
fieldset input { accent-color: var(--blue); margin: 0; flex: none; }
.brief-actions { margin-top: 6px; }
.quiet, .result-actions button { appearance: none; border: 0; background: none; padding: 7px 2px; color: #314379; text-decoration: underline; text-underline-offset: 4px; }
.hint:empty, #brief-status:empty { display: none; }
#brief-result { margin-top: 10px; border-top: 1px solid var(--rule); padding-top: 19px; }
#brief-result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.result-actions { gap: 6px 16px; }
.result-actions a { font-weight: 650; color: var(--blue); }
.footer { justify-content: space-between; padding-block: 27px; }
.fallback { padding-bottom: 20px; }
@media (max-width: 950px) {
  .hero { gap: 25px; }
  .section-head p { max-width: 40ch; }
  .showcase { gap: 24px; grid-template-columns: minmax(190px,.45fr) minmax(0,1fr); }
  .process, .questions, .contact-layout { grid-template-columns: .83fr 1.17fr; gap: 32px; }
}
@media (max-width: 720px) {
  .frame { width: calc(100% - 36px); }
  .mast { min-height: 65px; flex-wrap: wrap; gap: 8px 14px; padding-block: 10px; }
  .brand { font-size: 26px; gap: 6px; }
  .brand img { width: 30px; height: 30px; }
  .mast .cz-langs { padding-left: 0; border: 0; margin-left: auto; }
  .mast nav { order: 3; width: 100%; margin: 0; gap: 10px 23px; font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-block: 34px 35px; }
  .hero h1 { font-size: clamp(3rem,9.7vw,4.8rem); }
  .hero h1 em { line-height: 1; }
  .byline { margin-bottom: 12px; }
  .hero .lede { margin: 14px 0 18px; max-width: 44ch; }
  .hero-actions { gap: 12px 18px; }
  .button { padding: 10px 15px; }
  .artboard { aspect-ratio: 1.65; }
  .desktop-shot { width: 78%; top: 12%; left: 7%; }
  .phone-shot { width: 21.6%; bottom: 4.6%; right: 4%; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .showcase { display: flex; flex-direction: column; gap: 19px; }
  .tabs { display: flex; flex-wrap: wrap; border: 0; gap: 7px; width: 100%; }
  .tabs button, .tabs button[aria-pressed=true] { padding: 9px 11px; width: auto; border: 1px solid #637086; border-radius: 3px; }
  .tabs button[aria-pressed=true] { border-color: #f6a669; box-shadow: none; }
  .tabs button span { font-size: 14px; margin-bottom: 0; }
  .tabs button b { font-size: 17px; }
  .case-title { margin-top: 13px; }
  .process, .questions, .contact-layout { grid-template-columns: 1fr; gap: 21px; }
  .process-intro p, .contact-layout>div:first-child p { margin-top: 12px; }
  .email { margin-top: 12px; }
  .process li { padding-left: 35px; }
  .footer { flex-wrap: wrap; justify-content: start; gap: 10px 18px; font-size: 16px; }
  .footer .brand { margin-right: auto; }
}
@media (max-width: 420px) {
  fieldset { grid-template-columns: 1fr; }
  .case-title { align-items: start; }
  #open-case { padding: 6px 10px; }
}
