/* Madan Park — a small, readable system for work and the person behind it. */
:root {
  color-scheme: light;
  --paper: #f2f0e8;
  --ink: #232d27;
  --muted: #5e665e;
  --line: #c9cdc1;
  --accent: #ad3d25;
  --surface: #f8f6f0;
  --green: #dfe8d3;
  --green-ink: #2d4233;
  --blue: #d7e4eb;
  --blush: #efded4;
  --shadow: 0 8px 28px rgb(35 45 39 / 6%);
  --sans: 'Space Grotesk', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}
html[data-theme='dark'] {
  color-scheme: dark;
  --paper: #1b201d;
  --ink: #eceee3;
  --muted: #b3bcae;
  --line: #4b554c;
  --accent: #efab8d;
  --surface: #252c27;
  --green: #cbd9b9;
  --green-ink: #203629;
  --blue: #bbcfd9;
  --blush: #d9bcae;
  --shadow: 0 8px 28px rgb(0 0 0 / 12%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p, ul, ol, figure { margin-block-start: 0; }
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg { vertical-align: middle; }
button, a { touch-action: manipulation; }
.wrap { width: calc(100% - 96px); max-width: 1320px; margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.masthead { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; white-space: nowrap; font-weight: 600; font-size: 20px; letter-spacing: -.055em; text-decoration: none; }
.brand-dot { color: var(--accent); font-size: 25px; font-weight: 400; }
.masthead nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.masthead nav a, .nav-cta { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 500; text-decoration: none; }
.masthead nav a:hover, .footer a:hover, .back-link:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.nav-cta { gap: 10px; border-bottom: 1px solid var(--ink); }
.theme-toggle { width: 44px; min-width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: grid; place-items: center; font-size: 24px; line-height: 1; transition: background .2s ease, transform .2s ease; }
.theme-toggle:hover { background: var(--surface); transform: rotate(15deg); }
.eyebrow { margin-bottom: 24px; font-size: 11px; font-weight: 500; line-height: 1.6; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.055em; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(64px, 7.5vw, 108px); }
h2 { margin-bottom: 28px; font-size: clamp(44px, 5vw, 68px); }
h3 { font-size: clamp(29px, 3vw, 42px); }
h1 em, h2 em, h3 em { color: var(--accent); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 50px; padding: 12px 20px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; text-decoration: none; line-height: 1.5; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.button-secondary, .button.secondary { background: transparent; color: var(--ink); }
.button-secondary:hover, .button.secondary:hover { color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; text-decoration: none; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 500; }
.text-link:hover { color: var(--accent); }
.hero { position: relative; padding-block: 35px 0; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 35px; }
.hero-top .eyebrow { margin: 0; font-size: 10px; }
.location-dot { display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(48px, 6vw, 90px); align-items: center; padding-block: 16px 68px; }
.hero h1 { margin-bottom: 30px; }
.hero-copy > p:not(.eyebrow), .hero-lead { max-width: 580px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-copy > .hero-intro { margin-bottom: 12px; color: var(--ink); font-size: 21px; }
.hero-copy > .hero-detail { font-size: 16px; max-width: 515px; }
.hero-foot { display: flex; align-items: center; gap: 24px; min-height: 74px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .08em; }
.hero-foot > span[aria-hidden] { color: var(--accent); font-size: 19px; }
.hero-foot a { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; text-decoration: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.field-note { position: relative; width: 100%; padding: 28px; border: 1px solid var(--line); background: var(--surface); transform: rotate(2deg); box-shadow: var(--shadow); }
.field-note .eyebrow { margin-bottom: 26px; }
.field-note svg { width: 100%; height: auto; }
.field-note h2, .field-note h3 { margin-block: 24px 14px; font-size: 28px; line-height: 1.15; letter-spacing: -.04em; }
.field-note p { margin-bottom: 0; font-size: 13px; line-height: 1.7; }
.field-note .note-number { font-family: var(--serif); font-size: 32px; }
.note-heading { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; letter-spacing: .09em; }
.thread-art { margin-block: 18px 10px; overflow: visible; }
.thread-art .tangle { stroke: var(--accent); stroke-width: 1.4; }
.thread-art .thread { stroke: var(--ink); stroke-width: 1.5; }
.thread-art circle { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.field-note .note-title { font-size: 28px; line-height: 1.08; letter-spacing: -.045em; }
.note-title em { color: var(--accent); font-family: var(--serif); font-weight: 400; }
.note-steps { list-style: none; padding: 0; margin: 24px 0 0; font-size: 10px; line-height: 1.5; }
.note-steps li { display: flex; align-items: baseline; gap: 11px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.note-steps span { color: var(--accent); font-size: 9px; }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); padding-block: 24px; gap: 30px; }
.proof-strip > * { margin: 0; }
.proof-strip span { display: block; color: var(--muted); font-size: 12px; }
.proof-strip strong { font-size: 15px; font-weight: 500; }
.section { padding-block: 94px; }
.section-space { padding-block: 94px; }
.section-head, .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.section-head h2, .section-heading h2 { margin-bottom: 0; }
.section-head > p, .section-heading > p { max-width: 350px; margin-bottom: 3px; color: var(--muted); }
.project-featured, .featured-project { display: grid; grid-template-columns: 1.15fr 1fr; gap: 54px; align-items: center; margin-bottom: 54px; }
.project-visual, .project-art { position: relative; min-height: 350px; overflow: hidden; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; padding: 28px; text-decoration: none; }
.project-visual.migration, .migration-art, .migration-visual { min-height: 420px; background: var(--green); color: var(--green-ink); }
.project-copy h3 { margin-bottom: 18px; }
.project-copy > p:not(.eyebrow) { color: var(--muted); max-width: 490px; }
.project-copy .eyebrow { margin-bottom: 18px; }
.project-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.project-pair .project-copy { padding-top: 27px; }
.project-pair .project-copy h3 { font-size: 34px; }
.project-pair .project-visual, .project-pair .project-art { min-height: 350px; }
.project-pair .project-copy p { max-width: 520px; }
.visual-top, .visual-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 9px; line-height: 1.5; letter-spacing: .06em; }
.visual-top { align-items: start; }
.round-arrow { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid currentColor; border-radius: 50%; font-size: 23px; transition: transform .2s ease; }
.project-visual:hover .round-arrow { transform: rotate(45deg); }
.migration-path { display: flex; align-items: center; justify-content: center; gap: 28px; padding-top: 24px; font-size: clamp(25px, 2.7vw, 40px); line-height: 1.1; letter-spacing: -.05em; }
.migration-arrow { font-size: 44px; font-weight: 400; }
.mailboxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 83%; margin: 28px auto; }
.mailboxes > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 96px; border: 1px solid rgb(45 66 51 / 30%); font-size: 8px; }
.mailboxes svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.project-facts { margin: 25px 0 22px; font-size: 13px; }
.project-facts > div { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 11px; }
.project-facts dt { color: var(--muted); }
.project-facts dd { margin: 0; text-align: right; }
.project-caption { display: grid; grid-template-columns: 1fr 1.15fr; gap: 25px; padding-top: 25px; }
.project-caption .eyebrow { font-size: 9px; letter-spacing: .07em; margin-bottom: 10px; }
.project-caption h3 { margin: 0; font-size: 31px; }
.project-caption h3 a { text-decoration: none; }
.project-caption h3 a:hover { color: var(--accent); }
.project-caption h3 span { font-size: 23px; }
.project-caption > p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 0; }
.status-label { border: 1px solid rgb(23 59 85 / 45%); padding: 3px 7px; font-size: 8px; }
.eu-wordmark { padding-block: 20px 10px; align-self: center; font-family: 'Syne', var(--sans); font-weight: 700; font-size: 98px; line-height: .78; letter-spacing: -.07em; }
.eu-star { display: inline-block; margin-left: 4px; font-family: var(--sans); font-size: 70px; font-weight: 400; vertical-align: 9px; }
.gpt-visual { background: var(--blush); color: #593b36; }
.gpt-wordmark { padding-block: 25px; align-self: center; font-family: var(--serif); font-size: 79px; line-height: 1.1; letter-spacing: -.055em; }
.gpt-wordmark > span { font-style: italic; }
.gpt-wordmark > small { display: block; margin-top: 13px; text-align: center; font-family: var(--sans); font-size: 9px; letter-spacing: .09em; }
.eu-art, .eujobs-art, .eujobs-visual { background: var(--blue); color: #173b55; }
.gpt-art, .gptandme-art, .gptandme-visual { background: var(--blush); color: #593b36; }
.approach, .about { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.approach h2, .about h2 { max-width: 570px; }
.approach-copy, .about-copy { padding-top: 37px; }
.approach-copy > p, .about-copy > p { font-size: 18px; color: var(--muted); }
.approach-list { margin: 0; padding: 0; list-style: none; counter-reset: approach; }
.approach-list li { border-top: 1px solid var(--line); padding: 22px 0; counter-increment: approach; }
.approach-list li:first-child { border-top: 0; padding-top: 0; }
.approach-list h3 { font-size: 25px; margin-bottom: 8px; letter-spacing: -.03em; }
.approach-list p { color: var(--muted); margin: 0; }
.about-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.approach-section { padding-block: 84px; background: var(--surface); border-block: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.approach-intro { max-width: 490px; color: var(--muted); margin-bottom: 23px; }
.approach-list li { display: flex; gap: 24px; padding-block: 25px; }
.approach-list > li > span { color: var(--accent); font-size: 11px; padding-top: 4px; }
.approach-list h3 { font-size: 25px; }
.approach-list p { font-size: 14px; line-height: 1.8; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-section .about-copy { padding-top: 0; }
.about-copy > p { font-size: 16px; }
.about-copy > .large-copy { color: var(--ink); font-size: 23px; line-height: 1.55; letter-spacing: -.02em; }
.recognition { margin-block: 27px; padding-block: 21px; border-block: 1px solid var(--line); }
.recognition .eyebrow { display: block; font-size: 9px; margin-bottom: 9px; }
.recognition p { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.recognition p span { color: var(--accent); margin-inline: 10px; }
.playground-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding-block: 72px 100px; border-top: 1px solid var(--line); }
.playground-copy > p:not(.eyebrow) { max-width: 450px; color: var(--muted); }
.playground-stack { position: relative; display: block; height: 370px; max-width: 450px; width: 100%; justify-self: center; }
.play-sheet { display: flex; position: absolute; width: 270px; height: 325px; padding: 25px; box-shadow: var(--shadow); transition: transform .25s ease; }
.sheet-back { top: 4px; left: 8px; transform: rotate(-10deg); flex-direction: column; justify-content: center; background: #2b302b; color: #e7ee89; font-family: 'Syne', var(--sans); font-size: 58px; font-weight: 700; line-height: .95; letter-spacing: -.04em; }
.sheet-back > span { font-family: var(--sans); font-size: 25px; letter-spacing: -.04em; }
.sheet-front { right: 4px; bottom: 0; transform: rotate(8deg); flex-direction: column; justify-content: space-between; background: #e8a78b; color: #392921; }
.sheet-front > small { font-size: 8px; letter-spacing: .07em; }
.sheet-front > span { font-size: 58px; line-height: .95; letter-spacing: -.055em; }
.sheet-front em { font-family: var(--serif); font-weight: 400; }
.sheet-front b { font-size: 40px; font-weight: 400; align-self: flex-end; }
.playground-stack:hover .sheet-front { transform: rotate(4deg) translateY(-5px); }
.playground-stack:hover .sheet-back { transform: rotate(-13deg); }
.contact-section { padding-block: 58px 35px; background: var(--green); color: var(--green-ink); }
.contact-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-top .eyebrow { margin: 0; }
.contact-star { font-size: 76px; line-height: 1; }
.contact-section h2 { font-size: clamp(64px, 7.6vw, 104px); margin-block: 18px 32px; }
.contact-section h2 em { color: #8d3b28; }
.contact-bottom { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-bottom: 35px; }
.contact-bottom > p { margin: 0; font-size: 17px; }
.contact-section .contact-actions { margin-top: 0; }
.contact-section .button { background: var(--green-ink); border-color: var(--green-ink); color: #f2f0e8; }
.contact-section .button:hover { background: #8f2d1b; border-color: #8f2d1b; }
.contact-section .text-link:hover { color: #8f2d1b; }
.contact-section a:focus-visible { outline-color: #8f2d1b; }
.team-note { padding-top: 23px; margin: 0; border-top: 1px solid rgb(45 66 51 / 25%); font-size: 12px; }
.team-note a { display: inline-flex; align-items: center; min-height: 44px; }
.footer > span { color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 12px; }
.footer { padding-top: 22px; }
.playground { border-top: 1px solid var(--line); }
.playground-cards, .playground-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; padding: 14px 15px; }
.play-card { background: var(--surface); border: 1px solid var(--line); padding: 15px 15px 24px; box-shadow: var(--shadow); transform: rotate(-2deg); text-decoration: none; transition: transform .25s ease; }
.play-card:nth-child(2) { transform: rotate(2deg); }
.play-card:hover { transform: rotate(0deg) translateY(-4px); }
.play-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.play-card h3 { font-size: 27px; margin: 22px 9px 8px; }
.play-card p { margin: 0 9px; color: var(--muted); font-size: 14px; }
.contact { background: var(--green); color: var(--green-ink); padding: 64px; margin-block: 8px 70px; }
.contact h2 { max-width: 850px; font-size: clamp(48px, 6.3vw, 84px); }
.contact p { max-width: 650px; font-size: 18px; }
.contact .eyebrow { font-size: 11px; }
.contact a:focus-visible { outline-color: #8f2d1b; }
.contact .button { background: var(--green-ink); border-color: var(--green-ink); color: #f2f0e8; }
.contact .button:hover { background: #8f2d1b; border-color: #8f2d1b; }
.contact .text-link:hover { color: #8f2d1b; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: center; margin-top: 30px; }
.footer { min-height: 124px; padding-bottom: 35px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer p { margin: 0; color: var(--muted); font-size: 12px; }
.footer > div { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer > div a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: none; }
/* Case studies share the same hierarchy and stay comfortable at reading widths. */
.case-page { padding-block: 52px 90px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 50px; font-size: 13px; text-decoration: none; }
.case-page > .eyebrow { color: var(--accent); }
.case-page > h1 { max-width: 1100px; font-size: clamp(56px, 6.8vw, 94px); margin-bottom: 32px; }
.case-lead { max-width: 820px; color: var(--muted); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.65; }
.case-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-block: 1px solid var(--line); margin-block: 48px 70px; padding-block: 27px; }
.case-meta span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.case-meta strong { display: block; font-size: 18px; font-weight: 500; }
.case-body { max-width: 810px; margin-left: auto; }
.case-body section { margin-bottom: 50px; }
.case-body h2 { margin-bottom: 20px; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.14; }
.case-body p, .case-body li { color: var(--muted); font-size: 18px; line-height: 1.8; }
.case-body p { margin-bottom: 22px; }
.case-body ul { padding-left: 22px; margin-bottom: 24px; }
.case-body li { padding-left: 7px; margin-bottom: 12px; }
.case-body strong { color: var(--ink); font-weight: 500; }
.case-body .source-note { font-size: 12px; margin-top: 24px; }
@media (min-width: 1440px) {
  .hero-grid { padding-block: 32px 90px; }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .masthead { gap: 22px; }
  .masthead nav { gap: 20px; }
  .header-actions { gap: 14px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 40px; }
  .hero h1 { font-size: clamp(58px, 7.8vw, 82px); }
  .field-note { padding: 22px; }
  .project-featured, .featured-project { gap: 32px; }
  .approach, .about { gap: 40px; }
  .contact { padding: 50px; }
  .approach-grid, .about-section, .playground-section { gap: 48px; }
  .contact-bottom { align-items: start; }
  .contact-section .contact-actions { flex-direction: column; align-items: start; gap: 10px; }
  .hero-foot { gap: 16px; font-size: 9px; }
}
@media (max-width: 800px) {
  .masthead { padding-block: 17px; min-height: 116px; flex-wrap: wrap; gap: 8px 20px; }
  .masthead > .brand { flex: 1; }
  .masthead nav { order: 3; width: 100%; margin: 0; gap: 28px; }
  .header-actions { margin-left: auto; }
  .hero { padding-top: 26px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 225px; gap: 30px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(50px, 7.8vw, 64px); }
  .hero-copy > p:not(.eyebrow), .hero-lead { font-size: 16px; }
  .field-note { padding: 19px; }
  .field-note h2, .field-note h3 { font-size: 24px; }
  .field-note p { font-size: 12px; }
  .section { padding-block: 72px; }
  .section-space { padding-block: 72px; }
  .section-head, .section-heading { align-items: start; gap: 25px; }
  .section-head > p, .section-heading > p { font-size: 14px; max-width: 230px; }
  .project-featured, .featured-project { grid-template-columns: 1fr; }
  .project-visual.migration, .migration-art, .migration-visual { min-height: 350px; }
  .project-copy > p:not(.eyebrow) { max-width: 620px; }
  .project-pair { gap: 24px; }
  .project-pair .project-visual, .project-pair .project-art { min-height: 290px; padding: 22px; }
  .approach, .about { grid-template-columns: 1fr; gap: 8px; }
  .approach-copy, .about-copy { padding-top: 0; max-width: 670px; }
  .playground-cards, .playground-grid { gap: 26px; padding-inline: 6px; }
  .play-card { padding: 10px 10px 20px; }
  .contact { padding: 40px; }
  .footer { flex-wrap: wrap; padding-bottom: 28px; gap: 8px 24px; }
  .footer > div { width: 100%; }
  .case-page > h1 { font-size: 62px; }
  .case-body { margin-left: 0; }
  .hero-foot { flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding-block: 16px; }
  .hero-foot a { margin-left: 0; }
  .hero-foot > span[aria-hidden] { font-size: 14px; }
  .project-caption { grid-template-columns: 1fr; gap: 16px; }
  .migration-path { font-size: 34px; }
  .mailboxes { max-width: 410px; }
  .eu-wordmark { font-size: 80px; }
  .eu-star { font-size: 54px; }
  .gpt-wordmark { font-size: 64px; }
  .approach-grid, .about-section { grid-template-columns: 1fr; gap: 28px; }
  .approach-section { padding-block: 62px; }
  .approach-list { max-width: 650px; }
  .about-section .about-copy { max-width: 650px; }
  .playground-section { gap: 28px; padding-block: 64px; }
  .playground-stack { height: 320px; }
  .play-sheet { width: 210px; height: 270px; padding: 19px; }
  .sheet-back { font-size: 48px; }
  .sheet-front > span { font-size: 48px; }
  .footer nav { width: 100%; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 16px; }
  .wrap { width: calc(100% - 40px); }
  .brand { font-size: 19px; }
  .masthead { gap: 6px 10px; padding-block: 14px 10px; }
  .masthead nav { justify-content: space-between; gap: 12px; }
  .masthead nav a { font-size: 13px; }
  .header-actions { gap: 12px; }
  .nav-cta { font-size: 12px; gap: 8px; }
  .theme-toggle { width: 44px; height: 44px; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .hero { padding-block: 24px 0; }
  .hero-top { margin-bottom: 24px; align-items: start; gap: 24px; }
  .hero-top .eyebrow { font-size: 8px; letter-spacing: .06em; }
  .hero-top .eyebrow:last-child { text-align: right; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 8px 44px; }
  .hero h1 { font-size: clamp(53px, 13.5vw, 76px); letter-spacing: -.06em; margin-bottom: 25px; }
  .hero-copy > p:not(.eyebrow), .hero-lead { font-size: 17px; }
  .hero-actions { gap: 14px 22px; margin-top: 27px; }
  .button { font-size: 13px; padding: 12px 17px; gap: 16px; }
  .text-link { font-size: 13px; }
  .field-note { width: calc(100% - 12px); max-width: 360px; justify-self: center; padding: 25px; }
  .field-note svg { max-height: 180px; }
  .field-note h2, .field-note h3 { font-size: 28px; }
  .field-note p { font-size: 13px; }
  .proof-strip { grid-template-columns: 1fr; gap: 18px; padding-block: 23px; }
  .proof-strip > * + * { border-top: 1px solid var(--line); padding-top: 18px; }
  h2 { font-size: 44px; }
  .section { padding-block: 62px; }
  .section-space { padding-block: 62px; }
  .section-head, .section-heading { display: block; margin-bottom: 30px; }
  .section-head > p, .section-heading > p { max-width: 100%; font-size: 16px; margin-top: 22px; }
  .project-featured, .featured-project { gap: 26px; margin-bottom: 44px; }
  .project-visual, .project-art, .project-visual.migration, .migration-art, .migration-visual { min-height: 310px; padding: 22px; }
  .project-copy h3, .project-pair .project-copy h3 { font-size: 32px; }
  .project-pair { grid-template-columns: 1fr; gap: 42px; }
  .project-pair .project-visual, .project-pair .project-art { min-height: 320px; }
  .approach, .about { gap: 6px; }
  .approach-copy > p, .about-copy > p { font-size: 17px; }
  .playground-cards, .playground-grid { grid-template-columns: 1fr; gap: 35px; padding-inline: 7px; }
  .play-card { padding: 12px 12px 22px; }
  .contact { padding: 32px 24px; margin-block: 4px 44px; }
  .contact h2 { font-size: clamp(42px, 11.4vw, 66px); }
  .contact p { font-size: 16px; }
  .contact-actions { gap: 17px 24px; }
  .footer { min-height: 130px; }
  .footer > div { gap: 16px; }
  .footer > div a { font-size: 12px; }
  .case-page { padding-block: 28px 48px; }
  .back-link { margin-bottom: 32px; }
  .case-page > h1 { font-size: clamp(45px, 12vw, 62px); }
  .case-lead { font-size: 19px; }
  .case-meta { grid-template-columns: 1fr; gap: 20px; margin-block: 32px 43px; padding-block: 23px; }
  .case-meta > div + div { border-top: 1px solid var(--line); padding-top: 18px; }
  .case-meta span { margin-bottom: 4px; }
  .case-meta strong { font-size: 17px; }
  .case-body section { margin-bottom: 38px; }
  .case-body h2 { font-size: 34px; }
  .case-body p, .case-body li { font-size: 17px; }
  .hero-copy > .hero-intro { font-size: 20px; }
  .hero-copy > .hero-detail { font-size: 16px; }
  .hero-foot { justify-content: start; gap: 4px 13px; font-size: 8px; letter-spacing: .04em; }
  .hero-foot a { width: 100%; font-size: 9px; }
  .hero-foot > span[aria-hidden] { font-size: 13px; }
  .hero-foot > span:nth-child(4) { display: none; }
  .field-note .note-title { font-size: 30px; }
  .note-steps { font-size: 11px; }
  .note-heading { font-size: 9px; }
  .visual-top, .visual-bottom { font-size: 8px; }
  .migration-path { font-size: 28px; gap: 18px; padding-top: 20px; }
  .migration-arrow { font-size: 35px; }
  .mailboxes { width: 100%; gap: 10px; margin-block: 20px; }
  .mailboxes > span { min-height: 80px; gap: 12px; }
  .mailboxes svg { width: 25px; }
  .round-arrow { width: 36px; height: 36px; font-size: 21px; }
  .project-caption { gap: 12px; }
  .eu-wordmark { font-size: 94px; }
  .eu-star { font-size: 66px; }
  .gpt-wordmark { font-size: 75px; }
  .approach-section { padding-block: 56px; }
  .approach-list li { gap: 19px; padding-block: 24px; }
  .approach-list h3 { font-size: 24px; }
  .about-copy > .large-copy { font-size: 22px; }
  .recognition p { font-size: 18px; }
  .recognition p span { margin-inline: 7px; }
  .playground-section { grid-template-columns: 1fr; gap: 38px; padding-block: 58px 68px; }
  .playground-stack { max-width: 340px; height: 340px; }
  .play-sheet { width: 235px; height: 285px; }
  .sheet-front > span { font-size: 53px; }
  .contact-section { padding-block: 34px 24px; }
  .contact-star { font-size: 50px; }
  .contact-section h2 { font-size: clamp(49px, 12.8vw, 70px); margin-block: 24px; }
  .contact-bottom { flex-direction: column; align-items: start; gap: 25px; margin-bottom: 24px; }
  .contact-bottom > p { font-size: 16px; }
  .contact-section .contact-actions { width: 100%; gap: 14px; }
  .contact-section .button { max-width: 100%; font-size: 12px; }
  .team-note { font-size: 11px; padding-top: 18px; }
  .footer nav { gap: 18px; }
  .footer nav a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root, html[data-theme='dark'] { --paper: #fff; --ink: #111; --muted: #333; --line: #bbb; --accent: #111; --surface: #fff; }
  body { font-size: 11pt; }
  .wrap { width: 100%; max-width: none; }
  .masthead nav, .header-actions, .skip, .hero-actions, .contact-actions, .back-link { display: none; }
  .masthead { min-height: 60px; }
  .hero, .section, .case-page { padding-block: 26px; }
  .hero { grid-template-columns: 1fr 220px; }
  .hero h1, .case-page > h1 { font-size: 40pt; }
  h2, .contact h2 { font-size: 28pt; }
  .field-note, .play-card, .play-card:nth-child(2) { transform: none; box-shadow: none; }
  .project-visual, .project-art { min-height: 240px; }
  .project-pair .project-visual, .project-pair .project-art { min-height: 220px; }
  .contact { padding: 28px; margin-bottom: 20px; }
  .case-meta { margin-block: 26px; }
  .case-body { max-width: none; }
  .case-body section { margin-bottom: 26px; }
  .case-body h2 { font-size: 22pt; }
  .case-body p, .case-body li { font-size: 11pt; }
  .project-card, .case-body section, .field-note { break-inside: avoid; }
  a { text-decoration: none; }
}
