:root {
  --paper: #f7f5ee;
  --paper-deep: #eeeadd;
  --ink: #202947;
  --ink-soft: #5e6272;
  --line: #25304b;
  --line-soft: rgba(32, 41, 71, .2);
  --blue: #3048d8;
  --blue-dark: #2136af;
  --coral: #f39170;
  --butter: #f3c957;
  --sage: #b9d28b;
  --lavender: #aeb5ee;
  --peach: #f4af8a;
  --mint: #b8dec8;
  --sky: #a6d7e8;
  --sand: #e6c997;
  --rose: #eeb1b2;
  --white: #fffdf7;
  --radius: 18px;
  --container: 1240px;
  --shadow: 0 24px 60px rgba(30, 36, 58, .12);
  --sans: 'DM Sans', system-ui, sans-serif;
  --display: 'Space Grotesk', 'DM Sans', sans-serif;
  --serif: 'DM Serif Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { color: var(--white); background: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section-space { padding-block: clamp(88px, 10vw, 144px); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 11px 15px; color: var(--white); background: var(--ink); border-radius: 8px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line-soft); background: rgba(247, 245, 238, .92); }
.navigation { min-height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; width: max-content; font: 700 1.16rem/1 var(--display); letter-spacing: -.04em; }
.wordmark img { border-radius: 9px; }
.wordmark-dot { color: var(--coral); }
.navigation nav { display: flex; align-items: center; gap: 30px; }
.nav-link { position: relative; padding: 7px 0; font-size: .94rem; font-weight: 600; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); transition: right .25s ease; }
.nav-link:hover::after { right: 0; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.language-button, .nav-contact { min-height: 42px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 999px; font-size: .86rem; font-weight: 700; }
.language-button { min-width: 60px; padding: 0 15px; cursor: pointer; background: transparent; }
.language-button:hover { color: var(--white); background: var(--ink); }
.nav-contact { padding: 0 17px; color: var(--white); background: var(--ink); }
.nav-contact:hover { background: var(--blue); border-color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 50%; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 17px; height: 2px; background: currentColor; transition: transform .2s; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem/1.35 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #58a26c; box-shadow: 0 0 0 5px rgba(88, 162, 108, .14); }
.hero { min-height: 720px; padding-block: clamp(72px, 8vw, 112px) clamp(68px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); align-items: center; gap: clamp(30px, 5vw, 80px); }
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 { margin: 0; font: 700 clamp(4.1rem, 7.45vw, 7.2rem)/.84 var(--display); letter-spacing: -.082em; }
.hero h1 > span { display: block; }
.hero h1 .hero-blue { margin-top: .18em; color: var(--blue); }
.hero h1 em { font-family: var(--serif); font-weight: 400; }
.hero-intro { width: min(100%, 590px); margin: 36px 0 0; color: var(--ink-soft); font-size: clamp(1.08rem, 1.45vw, 1.25rem); line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.button { min-height: 50px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; cursor: pointer; font-weight: 700; background: transparent; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(32, 41, 71, .12); }
.button-primary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-outline:hover { color: var(--white); background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-weight: 700; }
.text-link:hover { color: var(--blue); }
.hero-note { margin: 40px 0 0 32px; display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-family: var(--serif); font-size: 1rem; font-style: italic; transform: rotate(-2deg); }
.hand-arrow { color: var(--coral); font: 400 2rem/1 var(--serif); }
.hero-art { position: relative; min-width: 0; margin: 0; }
.hero-illustration { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; border-radius: 42% 42% 24% 24% / 28% 28% 22% 22%; }
.hero-art figcaption { width: calc(100% - 25px); margin: -3px 0 0 auto; padding: 13px 4px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; border-top: 1px solid var(--line-soft); color: var(--ink-soft); font-size: .83rem; }
.exhibit-index { color: var(--ink); font: 700 .73rem/1 var(--sans); letter-spacing: .12em; }
.caption-plus { color: var(--blue); font-size: 1.55rem; }
.hero-sticker { position: absolute; top: 0; right: 4%; width: 116px; height: 116px; border: 2px solid var(--ink); border-radius: 50%; background: var(--butter); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font: 700 .62rem/1.25 var(--sans); letter-spacing: .08em; transform: rotate(10deg); box-shadow: 7px 8px 0 var(--ink); }
.sticker-smile { margin-bottom: 5px; font-size: 2.2rem; line-height: 1; }

.interest-strip { border-block: 1px solid var(--line); background: var(--blue); color: var(--white); overflow: hidden; }
.interest-strip .container { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 22px; white-space: nowrap; font: 600 .84rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.strip-flower { color: var(--butter); font-size: 1.2rem; }
.section-topline { padding-bottom: 19px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.tiny-note { color: var(--ink-soft); font-family: var(--serif); font-style: italic; }
.section-heading { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 50px; align-items: end; }
.section-heading h2, .about-copy h2, .experience-intro h2, .contact-copy h2 { margin: 0; font: 700 clamp(3.2rem, 6vw, 6.1rem)/.94 var(--display); letter-spacing: -.07em; }
.section-heading h2 em, .about-copy h2 em, .experience-intro h2 em, .contact-copy h2 em { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.section-heading p { margin: 0 0 10px; color: var(--ink-soft); font-size: 1.1rem; }
.collection-controls { margin-top: 58px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 42px; padding: 0 15px; border: 1px solid var(--line-soft); border-radius: 999px; background: transparent; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; font-weight: 700; }
.filter-count { min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 999px; display: grid; place-items: center; background: rgba(32, 41, 71, .08); font-size: .68rem; }
.filter:hover, .filter.active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.filter.active .filter-count { color: var(--ink); background: var(--butter); }
.collection-count { color: var(--ink-soft); font-size: .85rem; }
.project-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.project-card { min-width: 0; grid-column: span 2; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; box-shadow: 4px 5px 0 rgba(32, 41, 71, .16); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:nth-child(1), .project-card:nth-child(6) { grid-column: span 3; }
.project-card:hover { transform: translateY(-6px) rotate(-.25deg); box-shadow: 8px 12px 0 rgba(32, 41, 71, .14); }
.project-card.is-hidden { display: none; }
.project-art { position: relative; min-height: 226px; border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; background: var(--project-color); }
.project-card:nth-child(1) .project-art, .project-card:nth-child(6) .project-art { min-height: 285px; }
.project-art img { width: calc(100% - 38px); height: calc(100% - 38px); max-height: 255px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 10px; box-shadow: 10px 12px 0 rgba(32, 41, 71, .18); }
.project-card[data-project="agribloom"] .project-art img { width: 55%; object-fit: contain; border: 0; box-shadow: none; }
.project-card[data-project="blackthorn"] .project-art img { width: 68%; object-fit: contain; border: 0; box-shadow: none; }
.project-card[data-project="finnode"] .project-art img { transform: rotate(-2deg); }
.project-art::before, .project-art::after { content: ''; position: absolute; pointer-events: none; }
.project-art::before { inset: 18px; border: 1px dashed rgba(32, 41, 71, .28); border-radius: 10px; }
.project-art::after { width: 13px; height: 13px; top: 13px; right: 13px; border-radius: 50%; background: var(--ink); }
.project-poster { position: relative; z-index: 1; width: 72%; height: 66%; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; color: var(--ink); border: 2px solid var(--ink); background: rgba(255, 253, 247, .78); transform: rotate(-3deg); box-shadow: 9px 10px 0 var(--ink); }
.project-poster strong { font: 700 clamp(2rem, 4vw, 3.4rem)/.85 var(--display); letter-spacing: -.08em; }
.project-poster span { font: 700 .7rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.project-art .orbit-lines { position: absolute; width: 66%; aspect-ratio: 1; border: 2px solid rgba(32, 41, 71, .38); border-radius: 50%; transform: rotate(-17deg); }
.project-art .orbit-lines::after { content: ''; position: absolute; inset: 22%; border: 2px solid rgba(32, 41, 71, .3); border-radius: 50%; }
.project-art .big-letter { position: relative; z-index: 1; font: 700 clamp(5rem, 10vw, 8rem)/1 var(--display); letter-spacing: -.13em; }
.project-art .big-letter small { font-size: .18em; letter-spacing: .03em; }
.project-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-card-body { flex: 1; padding: 22px; display: flex; flex-direction: column; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--ink-soft); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.project-card h3 { margin: 15px 0 9px; font: 700 clamp(1.6rem, 2.8vw, 2.35rem)/1 var(--display); letter-spacing: -.055em; }
.project-card p { margin: 0 0 23px; color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }
.project-open { width: 100%; min-height: 45px; margin-top: auto; padding: 0; border: 0; border-top: 1px solid var(--line-soft); display: flex; align-items: flex-end; justify-content: space-between; cursor: pointer; background: transparent; font-weight: 700; text-align: left; }
.project-open span:last-child { font-size: 1.35rem; transition: transform .2s; }
.project-open:hover span:last-child { transform: translate(3px, -3px); }
.project-card.color-coral { --project-color: var(--coral); }
.project-card.color-lavender { --project-color: var(--lavender); }
.project-card.color-sage { --project-color: var(--sage); }
.project-card.color-butter { --project-color: var(--butter); }
.project-card.color-ink { --project-color: #69708c; }
.project-card.color-sky { --project-color: var(--sky); }
.project-card.color-peach { --project-color: var(--peach); }
.project-card.color-mint { --project-color: var(--mint); }
.project-card.color-sand { --project-color: var(--sand); }
.project-card.color-rose { --project-color: var(--rose); }
.project-card.color-cream { --project-color: var(--paper-deep); }
.collection-end { margin-top: 42px; padding-top: 21px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink-soft); }

.about-section { padding-block: clamp(95px, 12vw, 165px); color: var(--white); background: var(--blue); }
.about-grid { display: grid; grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr); gap: clamp(50px, 9vw, 120px); align-items: center; }
.maker-card { position: relative; min-height: 590px; padding: 28px; border: 2px solid var(--ink); border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); background: var(--butter); box-shadow: 14px 16px 0 var(--ink); transform: rotate(-2.2deg); }
.maker-card::before { content: ''; position: absolute; inset: 11px; border: 1px dashed rgba(32, 41, 71, .35); border-radius: 15px; pointer-events: none; }
.maker-card-top, .maker-card-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.maker-monogram { position: relative; z-index: 1; align-self: center; width: 230px; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--coral); }
.maker-monogram > span:first-child { font: 700 10rem/.8 var(--display); letter-spacing: -.15em; transform: translateX(-8px); }
.monogram-dot { color: var(--blue); }
.monogram-orbit { position: absolute; width: 122%; height: 38%; border: 3px solid var(--ink); border-radius: 50%; transform: rotate(-20deg); }
.maker-card-name { position: relative; z-index: 1; }
.maker-card-name h3 { margin: 0; font: 700 2.4rem/1 var(--display); letter-spacing: -.06em; }
.maker-card-name p { margin: 8px 0 0; }
.maker-card-bottom { padding-top: 17px; border-top: 1px solid var(--line); font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.maker-stamp { position: absolute; z-index: 3; top: 45%; right: -38px; width: 105px; height: 105px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--white); background: var(--blue); font: 700 .63rem/1.25 var(--sans); letter-spacing: .1em; transform: rotate(13deg); }
.about-copy .eyebrow { color: var(--butter); }
.about-copy h2 { margin-top: 35px; color: var(--white); }
.about-copy h2 em { color: var(--butter); }
.about-copy > p { max-width: 680px; margin: 30px 0 0; color: rgba(255, 253, 247, .78); font-size: 1.08rem; }
.about-actions { margin-top: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.about-actions .button { color: var(--ink); background: var(--white); border-color: var(--white); }
.availability { display: inline-flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 700; }
.availability .status-dot { background: #9dde91; box-shadow: 0 0 0 5px rgba(157, 222, 145, .16); }
.toolbox { padding-block: 54px; display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 55px; align-items: center; border-bottom: 1px solid var(--line-soft); }
.toolbox-title h2 { margin: 0; font: 700 2rem/1 var(--display); letter-spacing: -.05em; }
.toolbox-title span { display: block; margin-top: 9px; color: var(--ink-soft); font-family: var(--serif); font-style: italic; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-tags span { padding: 8px 13px; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--white); font-size: .82rem; font-weight: 600; }
.experience { display: grid; grid-template-columns: minmax(310px, .78fr) minmax(0, 1.22fr); gap: clamp(60px, 10vw, 130px); }
.experience-intro { position: sticky; top: 120px; align-self: start; }
.experience-intro h2 { margin-top: 34px; }
.experience-intro p { color: var(--ink-soft); }
.journey-flower { margin-top: 55px; color: var(--coral); font-size: 6rem; transform: rotate(12deg); }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { position: relative; padding: 30px 45px 34px 0; border-bottom: 1px solid var(--line); }
.timeline-item::after { content: '+'; position: absolute; top: 27px; right: 2px; color: var(--blue); font-size: 1.7rem; }
.timeline-date { color: var(--blue); font-size: .73rem; font-weight: 700; letter-spacing: .1em; }
.timeline-item h3 { max-width: 650px; margin: 13px 0 5px; font: 700 clamp(1.5rem, 2.2vw, 2rem)/1.15 var(--display); letter-spacing: -.04em; }
.timeline-role { color: var(--ink-soft); font-size: .88rem; font-weight: 700; }
.timeline-item p { max-width: 620px; margin: 15px 0 0; color: var(--ink-soft); font-size: .95rem; }
.award-badge { margin-top: 18px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: var(--butter); font-size: .78rem; font-weight: 700; }
.award-badge:hover { background: var(--coral); }

.contact-section { padding-block: clamp(95px, 12vw, 160px); color: var(--ink); background: var(--coral); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 80px; align-items: center; }
.contact-copy h2 { margin-top: 30px; }
.contact-copy h2 em { display: inline-block; padding-inline: .08em .13em; color: var(--white); background: var(--ink); }
.contact-copy > p { max-width: 560px; font-size: 1.12rem; }
.contact-email { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 2px solid currentColor; font: 700 clamp(1.25rem, 2.7vw, 2rem)/1.2 var(--display); letter-spacing: -.04em; }
.contact-email:hover { color: var(--blue-dark); }
.contact-socials { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.contact-socials a, .contact-socials button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: transparent; font-size: .82rem; font-weight: 700; }
.contact-socials a { display: inline-flex; align-items: center; }
.contact-socials a:hover, .contact-socials button:hover { color: var(--white); background: var(--ink); }
.contact-doodle { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 43% 57% 46% 54% / 50% 42% 58% 50%; background: var(--butter); transform: rotate(5deg); box-shadow: 14px 16px 0 var(--ink); }
.doodle-eye { position: absolute; top: 39%; width: 16px; height: 22px; border-radius: 50%; background: var(--ink); }
.doodle-eye.left { left: 34%; }
.doodle-eye.right { right: 34%; }
.doodle-smile { position: absolute; top: 51%; left: 50%; width: 86px; height: 42px; border-bottom: 5px solid var(--ink); border-radius: 0 0 70px 70px; transform: translateX(-50%); }
.doodle-spark { position: absolute; right: -29px; top: 7px; color: var(--blue); font-size: 4rem; }
.site-footer { color: var(--white); background: var(--ink); }
.footer-main { min-height: 124px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-main p { color: rgba(255,255,255,.63); font-size: .85rem; text-align: center; }
.back-top { justify-self: end; font-size: .84rem; font-weight: 700; }
.back-top:hover { color: var(--butter); }
.footer-bottom { min-height: 64px; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.56); font-size: .74rem; }
.footer-bottom > div { display: flex; align-items: center; gap: 22px; }
.solidarity-link { display: inline-flex; align-items: center; gap: 9px; }
.solidarity-link:hover { color: var(--white); }
.palestine-flag { width: 20px; height: 13px; display: inline-block; background: linear-gradient(#111 0 33.3%,#fff 33.3% 66.6%,#16823c 66.6%); clip-path: polygon(0 0,100% 0,100% 100%,0 100%); position: relative; }
.palestine-flag::after { content:''; position:absolute; inset:0 auto 0 0; width:50%; background:#c52b35; clip-path:polygon(0 0,100% 50%,0 100%); }

.detail-dialog { width: min(1100px, calc(100% - 30px)); max-height: min(890px, calc(100dvh - 30px)); padding: 0; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: var(--paper); box-shadow: 18px 20px 0 rgba(18, 24, 43, .7); overflow: auto; }
.detail-dialog::backdrop { background: rgba(21, 27, 47, .72); backdrop-filter: blur(6px); }
.dialog-top { position: sticky; top: 0; z-index: 5; min-height: 64px; padding: 0 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: rgba(247,245,238,.96); }
.dialog-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: transparent; font-size: 1.6rem; }
.dialog-close:hover { color: var(--white); background: var(--ink); }
.detail-layout { padding: clamp(24px, 5vw, 55px); }
.detail-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.detail-kicker { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.detail-head h2 { margin: 12px 0 0; font: 700 clamp(3rem, 7vw, 6rem)/.92 var(--display); letter-spacing: -.075em; }
.detail-head .detail-type { color: var(--ink-soft); font-family: var(--serif); font-size: 1.3rem; font-style: italic; }
.detail-number { min-width: 78px; height: 78px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: var(--butter); font: 700 1.1rem/1 var(--display); transform: rotate(8deg); }
.detail-gallery { margin-top: 36px; }
.detail-main-image { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: 14px; object-fit: cover; object-position: top; background: var(--paper-deep); }
.detail-thumbs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.detail-thumb { width: 82px; height: 58px; padding: 0; border: 1px solid var(--line-soft); border-radius: 7px; overflow: hidden; cursor: pointer; background: var(--white); }
.detail-thumb.active { border: 3px solid var(--blue); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { margin-top: 38px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr); gap: 55px; }
.detail-copy p { margin: 0 0 18px; color: var(--ink-soft); font-size: 1.03rem; }
.detail-side { padding-left: 24px; border-left: 1px solid var(--line-soft); }
.detail-side-label { display: block; margin-bottom: 13px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.detail-techs { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-techs span { padding: 6px 10px; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--white); font-size: .78rem; }
.detail-links { margin-top: 25px; display: grid; gap: 9px; }
.detail-links a { min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.detail-links a:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.detail-nav { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; }
.detail-nav button { min-height: 42px; border: 0; cursor: pointer; background: transparent; font-weight: 700; }
.detail-nav button:hover { color: var(--blue); }
.cv-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr); gap: 22px; }
.cv-block { padding: 22px; border: 1px solid var(--line-soft); border-radius: 13px; background: var(--white); }
.cv-block + .cv-block { margin-top: 13px; }
.cv-block h3 { margin: 0 0 16px; color: var(--blue); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.cv-item + .cv-item { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.cv-item strong { display: block; }
.cv-item span { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .8rem; font-weight: 700; }
.cv-item p { margin: 7px 0 0; color: var(--ink-soft); font-size: .88rem; }
.archive-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.archive-card { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; text-align: left; background: var(--white); }
.archive-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.archive-card span { min-height: 58px; padding: 11px 14px; display: flex; align-items: center; font-weight: 700; }
.archive-card:hover span { color: var(--white); background: var(--ink); }
.archive-story { margin-top: 30px; }
.archive-story img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; }
.archive-story-text { max-width: 780px; margin: 30px auto 0; }
.archive-story-text p { color: var(--ink-soft); }
.archive-back { margin-bottom: 18px; border: 0; cursor: pointer; background: transparent; font-weight: 700; }

.signal-relay-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.signal-relay-console, .signal-relay-panel { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.signal-relay-label { display: block; margin-bottom: 10px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.signal-relay-input-row { display: flex; gap: 8px; }
.signal-relay-input { min-width: 0; flex: 1; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); }
.signal-relay-submit { height: 46px; padding: 0 15px; border: 1px solid var(--blue); border-radius: 8px; color: var(--white); background: var(--blue); cursor: pointer; font-weight: 700; }
.signal-relay-submit:disabled { opacity: .55; cursor: wait; }
.signal-relay-consent { margin-top: 15px; display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: .85rem; }
.signal-relay-consent input { margin-top: 4px; accent-color: var(--blue); }
.signal-relay-limits { margin-top: 25px; }
.signal-relay-limits strong, .signal-relay-format-head { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.signal-relay-chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.signal-relay-chips span { padding: 5px 8px; border: 1px solid var(--line-soft); border-radius: 999px; font-size: .68rem; }
.signal-relay-note, .signal-relay-legal { color: var(--ink-soft); font-size: .78rem; }
.signal-relay-status { margin-bottom: 18px; padding: 11px; border-radius: 8px; color: var(--ink-soft); background: var(--paper-deep); font-size: .84rem; }
.signal-relay-status.is-error { color: #912624; background: #f8d9d5; }
.signal-relay-status.is-ready { color: #245c36; background: #dcebdd; }
.signal-relay-empty { min-height: 220px; display: grid; place-items: center; text-align: center; color: var(--ink-soft); border: 1px dashed var(--line-soft); font: 700 .75rem/1.6 var(--sans); letter-spacing: .1em; }
.signal-relay-media-title { margin: 0; font: 700 1.45rem/1.2 var(--display); }
.signal-relay-media-meta { color: var(--ink-soft); font-size: .75rem; }
.signal-relay-format-group { margin-top: 20px; }
.signal-relay-format-head { padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; }
.signal-relay-format { min-height: 58px; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
.signal-relay-format small { color: var(--ink-soft); }
.signal-relay-download { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; font-size: .72rem; font-weight: 700; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.no-script-projects { margin-top: 25px; padding: 25px; border: 1px solid var(--line); background: var(--white); }
.no-script-projects a { display: inline-block; margin: 5px 16px 5px 0; text-decoration: underline; }

[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', var(--sans); }
[dir="rtl"] .hero h1, [dir="rtl"] .section-heading h2, [dir="rtl"] .about-copy h2, [dir="rtl"] .experience-intro h2, [dir="rtl"] .contact-copy h2, [dir="rtl"] .project-card h3, [dir="rtl"] .detail-head h2 { font-family: 'IBM Plex Sans Arabic', var(--display); letter-spacing: -.04em; }
[dir="rtl"] .hero h1 { line-height: .98; }
[dir="rtl"] .hero h1 em, [dir="rtl"] .section-heading h2 em, [dir="rtl"] .about-copy h2 em, [dir="rtl"] .experience-intro h2 em, [dir="rtl"] .contact-copy h2 em { font-family: 'IBM Plex Sans Arabic', var(--serif); }
[dir="rtl"] .project-open { text-align: right; }
[dir="rtl"] .detail-side { padding-left: 0; padding-right: 24px; border-left: 0; border-right: 1px solid var(--line-soft); }
[dir="rtl"] .timeline-item { padding-right: 0; padding-left: 45px; }
[dir="rtl"] .timeline-item::after { right: auto; left: 2px; }
[dir="rtl"] .hero-note { margin-left: 0; margin-right: 32px; }
[dir="rtl"] .hero-art figcaption { margin-left: 0; margin-right: auto; }

@media (max-width: 1020px) {
  .navigation { grid-template-columns: 1fr auto; }
  .navigation nav { position: absolute; top: 80px; left: 24px; right: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; display: none; flex-direction: column; align-items: stretch; gap: 5px; background: var(--paper); box-shadow: var(--shadow); }
  .navigation nav.open { display: flex; }
  .nav-link { padding: 10px; }
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: auto; grid-template-columns: 1fr 420px; }
  .hero h1 { font-size: clamp(3.8rem, 7vw, 5.5rem); }
  .project-card { grid-column: span 3; }
  .project-card:nth-child(1), .project-card:nth-child(6) { grid-column: span 3; }
  .about-grid { grid-template-columns: minmax(300px, .8fr) 1fr; gap: 60px; }
  .maker-card { min-height: 520px; }
  .maker-monogram { width: 190px; }
  .maker-monogram > span:first-child { font-size: 8rem; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .nav-contact { display: none; }
  .hero { padding-block: 58px 64px; grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; width: min(100%, 510px); margin-inline: auto; }
  .hero h1 { font-size: clamp(3.7rem, 17vw, 6rem); }
  .hero-sticker { width: 92px; height: 92px; right: 1%; }
  .interest-strip .container { min-height: auto; padding-block: 15px; flex-wrap: wrap; justify-content: center; white-space: normal; text-align: center; }
  .section-heading, .about-grid, .toolbox, .experience, .contact-inner { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; }
  .section-heading p { max-width: 520px; }
  .collection-controls { align-items: flex-start; flex-direction: column; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(6) { grid-column: span 6; }
  .project-card:nth-child(1) .project-art, .project-card:nth-child(6) .project-art, .project-art { min-height: 260px; }
  .about-grid { gap: 75px; }
  .maker-card { width: min(92%, 480px); margin-inline: auto; }
  .toolbox { gap: 28px; }
  .experience { gap: 50px; }
  .experience-intro { position: static; }
  .journey-flower { display: none; }
  .contact-inner { gap: 70px; }
  .contact-doodle { width: min(78vw, 330px); }
  .footer-main { padding-block: 28px; grid-template-columns: 1fr auto; }
  .footer-main p { display: none; }
  .detail-head, .detail-body, .cv-grid, .signal-relay-grid { grid-template-columns: 1fr; }
  .detail-number { display: none; }
  .detail-side { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  [dir="rtl"] .detail-side { padding: 24px 0 0; border-right: 0; }
  .archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .site-header { position: relative; }
  .navigation { min-height: 70px; }
  .navigation nav { top: 70px; left: 16px; right: 16px; }
  .wordmark { font-size: 1rem; }
  .language-button { min-width: 52px; padding: 0 10px; }
  .hero { padding-top: 44px; }
  .hero-eyebrow { margin-bottom: 22px; }
  .hero h1 { font-size: clamp(3.25rem, 16.5vw, 4.4rem); }
  .hero-intro { margin-top: 28px; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .button { width: 100%; justify-content: space-between; }
  .hero-note { margin-left: 10px; font-size: .9rem; }
  .hero-art figcaption { grid-template-columns: 1fr auto; }
  .hero-art figcaption > span:nth-child(2) { display: none; }
  .section-topline .tiny-note { display: none; }
  .section-heading h2, .about-copy h2, .experience-intro h2, .contact-copy h2 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .filter { justify-content: space-between; }
  .project-grid { gap: 13px; }
  .project-art { min-height: 225px; }
  .project-card-body { padding: 19px; }
  .collection-end { align-items: flex-start; flex-direction: column; }
  .maker-card { min-height: 480px; padding: 24px; }
  .maker-monogram { width: 175px; }
  .maker-monogram > span:first-child { font-size: 7.2rem; }
  .maker-stamp { right: -17px; width: 88px; height: 88px; }
  .about-actions { align-items: flex-start; flex-direction: column; }
  .timeline-item { padding-right: 34px; }
  .contact-email { font-size: 1.05rem; }
  .footer-main { grid-template-columns: 1fr; }
  .back-top { justify-self: start; }
  .footer-bottom { padding-block: 18px; align-items: flex-start; flex-direction: column; }
  .footer-bottom > div { align-items: flex-start; flex-direction: column; gap: 8px; }
  .detail-dialog { width: calc(100% - 14px); max-height: calc(100dvh - 14px); border-radius: 14px; }
  .detail-layout { padding: 22px 17px 30px; }
  .detail-head h2 { font-size: 3rem; }
  .detail-main-image { aspect-ratio: 4/3; }
  .signal-relay-input-row { flex-direction: column; }
  .signal-relay-format { padding-block: 10px; grid-template-columns: 1fr auto; }
  .signal-relay-format small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .hero, .interest-strip, .collection, .about-section, .toolbox, .experience, .contact-section, .site-footer, .dialog-top { display: none !important; }
  .detail-dialog { position: static; width: 100%; max-height: none; border: 0; box-shadow: none; overflow: visible; }
  .detail-dialog::backdrop { display: none; }
  .detail-layout { padding: 0; }
  .cv-block { break-inside: avoid; }
}

.error-page { min-height: 100dvh; display: grid; place-items: center; background: var(--butter); }
.error-shell { min-height: min(760px, calc(100dvh - 48px)); padding-block: 26px; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto 1fr auto; gap: 25px 70px; align-items: center; }
.error-shell > .wordmark { grid-column: 1 / -1; align-self: start; }
.error-display { display: flex; align-items: center; justify-content: center; color: var(--blue); font: 700 clamp(8rem, 22vw, 18rem)/.8 var(--display); letter-spacing: -.13em; }
.error-flower { margin-inline: .08em .19em; color: var(--coral); font-size: .4em; }
.error-copy h1 { margin: 20px 0; font: 700 clamp(3.3rem, 6vw, 5.8rem)/.92 var(--display); letter-spacing: -.07em; }
.error-copy h1 em { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.error-copy p { max-width: 470px; color: var(--ink); font-size: 1.06rem; }
.error-copy .button { margin-top: 22px; }
.error-note { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-style: italic; }
@media (max-width: 760px) {
  .error-shell { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; gap: 22px; }
  .error-display { align-self: end; }
  .error-copy { align-self: start; }
  .error-copy .button { width: auto; }
  .error-note { grid-column: 1; }
}
