/* One type family, a quiet palette and a consistent spacing system. */
@font-face {
  font-family: Manrope;
  src: url('../fonts/Manrope-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #fafbf9;
  --ink: #222b26;
  --rust: #285c49;
  --muted: #5e6861;
  --rule: #dce1dc;
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: var(--sans);
  --serif: var(--sans);
  --mono: var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body.atelier-page {
  margin: 0;
  padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.atelier-page ::selection { color: #fff; background: var(--rust); }
.atelier-page a { color: inherit; text-decoration: none; }
.atelier-page a:hover { color: var(--rust); }
.atelier-page :focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
.atelier-page img { display: block; max-width: 100%; height: auto; }
.atelier-page p { margin: 0; }
.atelier-page h1, .atelier-page h2, .atelier-page h3 {
  margin: 0;
  color: inherit;
  font-family: var(--display);
  font-weight: 600;
}
.skip-link {
  position: fixed; top: -100px; left: 20px; z-index: 1000;
  padding: 12px 18px; color: #fff !important; background: var(--rust);
}
.skip-link:focus { top: 16px; }
.sheet, .masthead, .atelier-footer {
  width: calc(100% - 96px); max-width: 1160px; margin-inline: auto;
}
.masthead {
  position: relative; z-index: 1000; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; min-height: 112px;
  border-bottom: 1px solid var(--rule); background: var(--paper);
}
.brand { display: flex; min-width: 0; align-items: center; gap: 14px; }
.brand-mark { display: inline-block; flex-shrink: 0; color: var(--rust); font: 650 42px/1 var(--display); letter-spacing: -.06em; }
.brand-name { min-width: 0; font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -.035em; }
.brand-name small {
  display: block; margin-top: 3px; color: var(--muted);
  font-size: 13px; font-weight: 450; letter-spacing: 0;
}
.nav-dock {
  position: fixed; inset: auto auto calc(20px + env(safe-area-inset-bottom, 0px)) 50%;
  transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, 1fr);
  width: min(650px, calc(100% - 40px)); padding: 7px; gap: 4px;
  border: 1px solid #d5ddd5; border-radius: 18px; background: rgba(250, 251, 249, .96);
  box-shadow: 0 8px 32px rgba(28, 48, 36, .13); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-dock a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 0; min-height: 56px; padding: 10px 8px; border-radius: 11px;
  font-size: 13px; font-weight: 650; line-height: 1.3; transition: background .15s, color .15s;
}
.nav-dock svg { display: block; flex-shrink: 0; width: 21px; height: 21px; stroke-linecap: round; stroke-linejoin: round; }
.nav-dock a:hover, .nav-dock a[aria-current] { background: #e7eee7; color: var(--rust); }
.nav-dock .nav-contact { color: #fff; background: var(--rust); }
.nav-dock .nav-contact:hover, .nav-dock .nav-contact[aria-current] { color: #fff; background: #1e4638; }
.nav-dock .nav-secondary { color: var(--muted); }
.nav-dock a:focus-visible { outline-offset: 1px; }
.atelier-page .back-to-top { display: none !important; }
.opening { padding-block: 84px 88px; }
.opening h1 { font-size: clamp(60px, 6.8vw, 88px); line-height: 1.08; letter-spacing: -.062em; }
.opening h1 span { color: var(--muted); font-weight: 450; }
.opening-details {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .45fr);
  gap: 80px; align-items: end; margin-top: 32px;
}
.opening-description { max-width: 550px; font-size: 19px; line-height: 1.7; color: var(--muted); }
.opening-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 28px; }
.solid-link {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 50px; padding: 14px 20px; border: 1px solid var(--rust);
  border-radius: 4px; background: var(--rust); color: #fff !important;
  font: 550 14px/1.5 var(--sans); cursor: pointer; transition: background .15s, border-color .15s;
}
.solid-link span { font-size: 20px; line-height: 1; }
.solid-link:hover { background: #1e4638; border-color: #1e4638; }
.text-link { padding-block: 12px; font-size: 14px; font-weight: 550; }
.platform-note { justify-self: end; padding-bottom: 3px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.pricing, .work-ledger { border-top: 1px solid var(--rule); padding-block: 64px 72px; }
.pricing-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.pricing h2 { font-size: 22px; line-height: 1.4; letter-spacing: -.025em; }
.starting-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 16px !important; }
.starting-price > span { color: var(--muted); font-size: 16px; }
.starting-price strong { font-size: 48px; font-weight: 550; line-height: 1.15; letter-spacing: -.055em; white-space: nowrap; }
.starting-price small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.pricing-copy { color: var(--muted); font-size: 16px; line-height: 1.8; }
.pricing-copy p + p { margin-top: 16px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.section-heading h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.04em; }
.section-heading > p { max-width: 460px; color: var(--muted); font-size: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.scope-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.scope-note h3 { font-size: 15px; font-weight: 650; margin-bottom: 16px; }
.scope-note > div { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.work-ledger { padding-bottom: 64px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.case-card { min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 16px; background: #fff; transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28, 48, 36, .08); }
.case-link { display: flex; flex-direction: column; height: 100%; }
.case-link:hover { color: var(--ink) !important; }
.case-link:focus-visible { outline-offset: -4px; border-radius: 16px; }
.case-preview { padding: 20px 20px 0; background: #dfebee; }
.case-autismo .case-preview { background: #e6edff; }
.case-fr .case-preview { background: #eddfd9; }
.case-coastmind .case-preview { background: #e4eff5; }
.case-browser-bar { display: flex; align-items: center; gap: 12px; min-height: 30px; padding: 5px 12px; border-radius: 7px 7px 0 0; background: #fff; color: #62706b; font-size: 10px; }
.browser-dots { color: #c1ccc6; font-size: 8px; letter-spacing: 2px; }
.case-preview img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border: 1px solid rgba(0, 0, 0, .08); border-bottom: 0; }
.case-description { display: flex; flex-direction: column; flex: 1; padding: 24px 26px; }
.case-type { margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .03em; }
.case-description h3 { font-size: 24px; line-height: 1.35; letter-spacing: -.035em; }
.case-description p { margin-top: 8px; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.case-visit { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--rust); font-size: 13px; font-weight: 650; }
.case-visit > span { font-size: 22px; font-weight: 450; }
.person { display: grid; grid-template-columns: 112px minmax(0, 650px); align-items: center; gap: 32px; padding-block: 30px 88px; }
.person-portrait { width: 112px; height: 112px !important; object-fit: cover; object-position: 45% center; border-radius: 4px; }
.person-copy h2 { font-size: 22px; line-height: 1.4; letter-spacing: -.025em; }
.person-copy p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.contact-workbench { background: #eff2ee; padding-block: 72px 80px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 10%; }
.contact-copy h2 { font-size: 48px; line-height: 1.12; letter-spacing: -.05em; }
.contact-copy > p { max-width: 330px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.direct-contact { display: inline-block; margin-top: 24px; max-width: 100%; padding-block: 6px; color: var(--rust) !important; font-size: 14px; overflow-wrap: anywhere; text-decoration: underline !important; text-underline-offset: 5px; }
.request-form { min-width: 0; }
.form-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.request-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 550; line-height: 1.5; }
.request-form label span { color: var(--muted); font-weight: 400; font-size: 13px; }
.request-form input, .request-form select, .request-form textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0 0 22px; padding: 11px 12px; border: 1px solid #7d8984; border-radius: 3px; background: #fafbf9; color: var(--ink); font: 450 16px/1.5 var(--sans); }
.request-form select { padding-right: 8px; }
.request-form textarea { min-height: 112px; margin-bottom: 12px; resize: vertical; }
.request-form input::placeholder { color: var(--muted); opacity: 1; }
.request-form :is(input, select, textarea):focus { outline: 2px solid var(--rust); outline-offset: 2px; border-color: var(--rust); }
.request-form .contact-tip { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.atelier-footer { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 100px; padding-block: 28px; font-size: 13px; }
.footer-identity { display: flex; align-items: center; gap: 20px; min-width: 0; }
.footer-signature { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.atelier-footer p { font-weight: 600; }
.atelier-footer p span { margin-left: 6px; color: var(--muted); font-weight: 400; }
.atelier-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.atelier-footer a { display: inline-block; padding-block: 10px; }
/* The technical blog uses the same wordmark, navigation and type family. */
body.archive-page h1, body.archive-page h2, body.archive-page h3, body.archive-page h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; }
body.archive-page .archive-intro h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.1; }
@media (max-width: 1050px) {
  .opening-details { gap: 40px; }
  .contact-layout { gap: 6%; }
  .case-grid { gap: 22px; }
}
@media (max-width: 800px) {
  .sheet, .masthead, .atelier-footer { width: calc(100% - 48px); }
  .masthead { min-height: 96px; }
  .masthead .brand { gap: 12px; }
  .brand-name { font-size: 18px; }
  .nav-dock { width: min(510px, calc(100% - 24px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 6px; gap: 2px; border-radius: 16px; }
  .nav-dock a { flex-direction: column; gap: 5px; min-height: 60px; padding: 7px 3px; font-size: 11px; letter-spacing: -.02em; }
  .nav-dock svg { width: 22px; height: 22px; }
  .opening { padding-block: 64px 68px; }
  .opening h1 { font-size: clamp(52px, 8.3vw, 64px); }
  .opening-details { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .opening-description { font-size: 18px; }
  .platform-note { justify-self: start; padding: 0; }
  .platform-note br { display: none; }
  .pricing, .work-ledger { padding-block: 48px 56px; }
  .pricing-overview { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 30px; }
  .scope-note > div { grid-template-columns: 1fr; gap: 16px; }
  .case-grid { gap: 20px; }
  .case-preview { padding: 14px 14px 0; }
  .case-description { padding: 21px; }
  .case-description h3 { font-size: 21px; }
  .person { padding-block: 16px 56px; }
  .contact-workbench { padding-block: 56px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-copy h2 { font-size: 44px; }
  .contact-copy h2 br { display: none; }
  .contact-copy > p { max-width: 500px; margin-top: 18px; }
  .direct-contact { margin-top: 16px; }
  .atelier-footer { align-items: start; }
  .atelier-footer p span { display: block; margin-left: 0; margin-top: 4px; }
}
@media (max-width: 480px) {
  .sheet, .masthead, .atelier-footer { width: calc(100% - 40px); }
  .masthead { min-height: 88px; gap: 0 12px; }
  .masthead .brand { gap: 10px; }
  .brand-mark { font-size: 34px; }
  .brand-name { font-size: 17px; }
  .brand-name small { max-width: 225px; font-size: 13px; }
  .opening { padding-block: 48px 52px; }
  .opening h1 { font-size: clamp(43px, 11vw, 52px); letter-spacing: -.055em; }
  .opening-details { margin-top: 24px; }
  .opening-description { font-size: 17px; line-height: 1.7; }
  .opening-actions { gap: 24px; margin-top: 24px; }
  .solid-link { gap: 18px; padding-inline: 16px; }
  .platform-note { font-size: 14px; }
  .pricing, .work-ledger { padding-block: 40px 44px; }
  .pricing-copy { font-size: 15px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p { font-size: 15px; }
  .case-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-description h3 { font-size: 23px; }
  .case-description p { font-size: 14px; }
  .person { grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 20px; padding-block: 8px 44px; }
  .person-portrait { width: 64px; height: 64px !important; }
  .person-copy h2 { font-size: 20px; }
  .person-copy p { font-size: 15px; margin-top: 12px; }
  .contact-workbench { padding-block: 44px 48px; }
  .contact-copy h2 { font-size: 36px; }
  .form-pair { grid-template-columns: 1fr; gap: 0; }
  .request-form .solid-link { width: 100%; }
  .atelier-footer { flex-direction: column; gap: 12px; padding-block: 28px; }
  .atelier-footer nav { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .atelier-page *, .atelier-page *::before, .atelier-page *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 360px) {
  .nav-dock { width: calc(100% - 16px); padding: 5px; gap: 1px; }
  .nav-dock a { padding-inline: 2px; }
}
