/* A work-first portfolio, with a shared grid and two colour palettes. */
:root {
  color-scheme: light;
  --gutter: clamp(24px, 5.5vw, 88px);
  --surface: #f9f8f2;
  --panel: #e6e6dc;
  --secondary: #5e635c;
  --selected: #e3e9d2;
  --maker-bg: #e7e9df;
  --contact-bg: #f2f0e9;
  --on-accent: #191b1a;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #151917;
  --ink: #edf0e9;
  --orange: #ff825f;
  --muted: #b6bdb2;
  --line: #39413c;
  --surface: #202621;
  --panel: #252c26;
  --secondary: #c0c8bb;
  --selected: #313c28;
  --maker-bg: #202621;
  --contact-bg: #151917;
}
html { scroll-padding-top: calc(24px + var(--wp-admin--admin-bar--height, 0px)); }
.site-header { margin-inline: var(--gutter); height: 90px; gap: 24px; }
.wordmark { font-size: 28px; }
.brand-x { width: 26px; height: 29px; }
.ax-icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
.main-nav { gap: 30px; font-size: 14px; }
.main-nav > a { min-height: 44px; display: inline-flex; align-items: center; }
.main-nav .nav-contact { padding: 10px 0; background: transparent; color: var(--ink); border: 0; font-size: inherit; border-radius: 0; }
.main-nav .nav-contact:hover { background: transparent; color: var(--secondary); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--ink); font-size: 12px; }
.theme-toggle:hover { background: var(--panel); }
.theme-icon { display: inline-flex; align-items: center; width: 18px; height: 18px; }
.theme-icon svg { width: 100%; height: 100%; }
.theme-icon .moon { display: none; }
.theme-toggle[data-theme="dark"] .theme-icon .sun { display: none; }
.theme-toggle[data-theme="dark"] .theme-icon .moon { display: block; }
.theme-mode-label::after { content: "Auto"; }
.theme-toggle[data-mode="light"] .theme-mode-label::after { content: "Licht"; }
.theme-toggle[data-mode="dark"] .theme-mode-label::after { content: "Donker"; }
.hero { padding: 30px var(--gutter) 24px; min-height: 0; }
.hero h1.hero-brand { display: flex; align-items: center; gap: .11em; font-size: clamp(64px, 19vw, 300px); line-height: .92; letter-spacing: -.08em; font-weight: 500; margin: 0; }
.hero h1.hero-brand > span { color: var(--ink); }
.hero-brand-x { color: var(--orange); width: .77em; height: .77em; flex: 0 0 auto; transform: rotate(-7deg); }
.hero-meta { margin-top: 30px; }
.hero-meta p { margin: 0; font-size: clamp(20px, 1.75vw, 25px); line-height: 1.4; letter-spacing: -.025em; }
.section-pad { padding: 80px var(--gutter) 90px; }
.work-section { padding-top: 20px; }
.work-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.work-heading h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: -.025em; line-height: 1.5; }
.work-tools { margin-left: auto; color: var(--secondary); }
.drag-instruction, .work-reset { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; line-height: 1.5; white-space: nowrap; color: inherit; }
.drag-instruction > .ax-icon { width: 14px; height: 14px; }
.work-reset { padding: 0; border: 0; background: transparent; color: inherit; }
.work-reset > .ax-icon { width: 16px; height: 16px; }
.work-reset:hover { color: var(--ink); }
.drag-instruction[hidden], .work-reset[hidden] { display: none; }
.worktable { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; align-content: start; gap: 74px 26px; width: 100%; height: auto; min-height: 0; margin: 0; padding: 36px 14px 44px; }
.worktable .project-card { position: relative; inset: auto; width: 100%; max-width: none; container-type: inline-size; border-color: var(--line); border-radius: 5px; box-shadow: 3px 5px 0 rgba(25,27,26,.10),0 14px 34px rgba(25,27,26,.08); }
.worktable .card-comfy { grid-column: 1 / span 7; grid-row: 1; --rotation: -1.5deg; }
.worktable .card-nouvelle { grid-column: 9 / span 4; grid-row: 1; --rotation: 2deg; }
.worktable .card-byson { grid-column: 1 / span 5; grid-row: 2; --rotation: 1.5deg; }
.worktable .card-pokemon { grid-column: 7 / span 6; grid-row: 2; --rotation: -1.5deg; }
.worktable .card-lothis { grid-column: 3 / span 8; grid-row: 3; --rotation: -1deg; }
.worktable .card-solmaz { grid-column: 1 / span 5; grid-row: 4; --rotation: 1deg; }
.worktable .card-rijmaatje { grid-column: 7 / span 6; grid-row: 4; --rotation: -1.5deg; }
.card-browser, .case-image-bar { height: 44px; padding-inline: 13px; gap: 10px; background: var(--surface); color: var(--secondary); font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: -.015em; border-color: var(--line); }
.card-browser { touch-action: pan-y; transition: background .18s ease; }
.card-browser:focus-within, .is-dragging .card-browser { background: var(--panel); }
.card-browser:focus-within .drag-handle, .is-dragging .drag-handle { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .card-browser:hover { background: var(--panel); }
  .card-browser:hover .drag-handle { color: var(--ink); }
}
.browser-dots i { border-color: var(--secondary); }
.ax-icon.browser-dots { width: 18px; height: 18px; stroke-width: 1; }
.drag-handle { position: relative; display: grid; place-items: center; min-height: 44px; min-width: 44px; padding: 0; line-height: 0; color: var(--secondary); }
.drag-handle > .ax-icon { width: 16px; height: 16px; }
.drag-hand-cue { position: absolute; left: calc(50% - 10px); top: calc(50% - 4px); width: 20px; height: 20px; pointer-events: none; color: #4c544d; opacity: 0; }
.drag-hand-cue > .ax-icon { width: 20px; height: 20px; fill: #fff; stroke-linecap: round; stroke-linejoin: round; }
.drag-hand-cue.has-started { animation: drag-hand-gesture 5.2s .8s ease-in-out 2 both; }
.drag-hand-cue.is-paused, .dialog-open .drag-hand-cue { animation-play-state: paused; }
.drag-hand-cue[hidden] { display: none; }
.dialog-open .drag-hand-cue { visibility: hidden; }
@keyframes drag-hand-gesture {
  0% { opacity: 0; transform: translate(8px, 3px); }
  12% { opacity: .9; transform: translate(8px, 3px); }
  28% { opacity: .9; transform: translate(0, 0); }
  70% { opacity: .9; transform: translate(-8px, 0); }
  82% { opacity: .9; transform: translate(-8px, 0); }
  100% { opacity: 0; transform: translate(-8px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .drag-hand-cue { display: none; }
}
.card-open > img, .card-byson .card-open > img, .card-pokemon .card-open > img, .card-lothis .card-open > img { height: auto; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.card-caption { padding: 22px 24px; padding: clamp(18px, 3.5cqi, 24px); min-height: 106px; gap: 20px; color: var(--on-accent); border-color: rgba(25,27,26,.25); }
.card-caption > span { flex: 1 1 auto; min-width: 0; }
.card-title { display: block; font-family: var(--display); font-weight: 600; font-size: 28px; font-size: clamp(24px, 6.5cqi, 38px); line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; overflow-wrap: break-word; }
.card-kind { display: block; font-family: var(--sans); font-weight: 500; font-size: 11px; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; margin-top: 11px; }
.ax-icon.card-arrow { width: 20px; height: 20px; }
.card-open:hover .card-arrow { transform: translate(1px, -1px); }
.section-label { padding-bottom: 22px; font-family: var(--display); font-weight: 500; font-size: 11px; letter-spacing: .08em; line-height: 1.5; }
.maker-section { background: var(--maker-bg); }
.maker-section .section-label { border-color: var(--line); }
.maker-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; margin-top: 44px; align-items: center; }
.maker-art { width: 78%; max-width: 350px; margin-inline: auto; }
.maker-x { color: var(--ink); }
.art-caption, .art-coord { font-size: 10px; }
.art-orbit { border-color: var(--line); }
.ax-icon.art-plus { width: 14px; height: 14px; }
.maker-copy h2 { font-size: clamp(44px, 5vw, 70px); line-height: 1.02; margin: 0 0 27px; letter-spacing: -.06em; }
.maker-copy h2 span:after { display: none; }
.maker-copy > p { max-width: 600px; font-size: 17px; line-height: 1.7; margin-bottom: 20px; }
.maker-principles { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; margin-top: 30px; color: var(--secondary); }
.contact-section { background: var(--contact-bg); }
.contact-section .section-label { border-color: var(--line); }
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; margin-top: 45px; }
.contact-copy h2 { font-size: clamp(54px, 7vw, 100px); line-height: 1; letter-spacing: -.07em; margin-bottom: 28px; }
.contact-copy > p { max-width: 380px; font-size: 17px; line-height: 1.7; }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 30px; }
.contact-direct .contact-direct-label { margin: 0; color: var(--secondary); font-size: 13px; line-height: 1.6; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--display); font-size: clamp(22px, 2vw, 28px); letter-spacing: -.035em; line-height: 1.3; }
.contact-phone .ax-icon { width: 19px; height: 19px; }
.contact-whatsapp { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; max-width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; line-height: 1.5; }
.contact-whatsapp .ax-icon { width: 16px; height: 16px; }
.contact-whatsapp .icon-external-link { margin-left: 8px; }
.contact-phone:hover { color: var(--orange); }
.contact-whatsapp:hover { background: var(--panel); border-color: var(--secondary); }
.contact-form { padding-top: 0; }
.form-field { margin-bottom: 27px; }
.form-field label { font-size: 14px; margin-bottom: 10px; }
.form-field label > span { font-size: 12px; padding-top: 1px; color: var(--secondary); }
.form-field input, .form-field textarea { font-size: 16px; line-height: 1.5; padding: 10px 0 14px; border-color: var(--line); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--secondary); opacity: 1; }
.submit-button { font-size: 14px; padding: 17px 22px; min-height: 54px; }
.submit-button:hover { color: var(--on-accent); }
.submit-button > .ax-icon { width: 18px; height: 18px; }
.form-privacy { font-size: 12px; line-height: 1.65; color: var(--secondary); margin-top: 16px; }
.form-notice { font-size: 15px; }
.notice-success { color: var(--on-accent); }
.site-footer { padding: 35px var(--gutter) 28px; border-top: 1px solid var(--line); }
.footer-wordmark { font-size: clamp(70px, 12vw, 180px); letter-spacing: -.06em; justify-content: start; gap: .15em; padding-bottom: 25px; }
.footer-x { width: .9em; height: .9em; margin: 0; }
.footer-bottom { font-size: 12px; line-height: 1.7; border: 0; padding-top: 0; }
.footer-bottom a > .ax-icon { width: 16px; height: 16px; }
.case-toolbar { position: sticky; top: 0; z-index: 2; background: var(--paper); font-size: 11px; padding: 12px 24px; }
.case-close { font-size: 14px; min-height: 44px; gap: 10px; }
.case-close > .ax-icon { width: 16px; height: 16px; }
.case-content { padding: 38px; gap: 38px; align-items: start; }
.case-text h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; overflow-wrap: break-word; }
.case-category { font-family: var(--sans); font-weight: 500; font-size: 11px; line-height: 1.5; letter-spacing: .07em; }
.case-text p { font-size: 16px; line-height: 1.7; }
.case-text .case-note { font-size: 14px; color: var(--secondary); }
.case-keywords > span { font-size: 12px; }
.case-visit { font-size: 14px; color: var(--on-accent); }
.case-visit > .ax-icon { width: 18px; height: 18px; }
.case-image-wrap { transform: rotate(1deg); background: #f2f0e9; }
.case-image-wrap > img { height: auto; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.case-bottom { position: sticky; bottom: 0; background: var(--paper); padding: 10px 24px; font-size: 12px; }
.case-bottom button { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; min-height: 44px; }
.case-bottom button > .ax-icon { width: 16px; height: 16px; }
.not-found p { font-size: 16px; }
.error-footer { padding-inline: var(--gutter); font-size: 13px; }
html[data-theme="dark"] .card-open > img { filter: brightness(.91); }
@media (min-width: 1700px) {
  :root { --gutter: max(88px, calc((100vw - 1600px) / 2)); }
  .hero h1.hero-brand { font-size: 360px; }
}
@media (max-width: 1000px) {
  .main-nav { gap: 22px; }
  .hero { padding-top: 38px; }
  .hero-meta { margin-top: 30px; }
  .worktable { gap: 56px 20px; padding-inline: 9px; }
  .worktable .card-comfy { grid-column: 1 / span 7; }
  .worktable .card-nouvelle { grid-column: 8 / span 5; }
  .worktable .card-byson { grid-column: 1 / span 6; }
  .worktable .card-pokemon { grid-column: 7 / span 6; }
  .worktable .card-solmaz { grid-column: 1 / span 6; }
  .worktable .card-rijmaatje { grid-column: 7 / span 6; }
  .maker-grid { gap: 36px; }
  .maker-copy > p { font-size: 16px; }
  .contact-grid { gap: 42px; }
  .case-content { grid-template-columns: 1fr; padding: 28px; }
  .case-image-wrap { max-width: 700px; }
  .case-visit { max-width: 360px; }
}
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .site-header { height: 76px; gap: 16px; }
  .wordmark { font-size: 25px; gap: 7px; }
  .brand-x { width: 23px; }
  .main-nav { font-size: 13px; gap: 16px; }
  .main-nav > a:nth-child(2) { display: none; }
  .main-nav .nav-contact { padding: 10px 0; background: transparent; color: var(--ink); border: 0; }
  .theme-mode-label { display: none; }
  .theme-toggle { width: 44px; padding: 8px; }
  .hero { padding-top: 35px; padding-bottom: 26px; }
  .hero h1.hero-brand { font-size: 21.5vw; }
  .hero-meta { display: block; margin-top: 28px; }
  .hero-meta p { font-size: 20px; max-width: 500px; }
  .desktop-break { display: none; }
  .section-pad { padding: 52px var(--gutter) 60px; }
  .work-section { padding-top: 24px; }
  .work-heading { padding-bottom: 16px; }
  .work-heading h2 { font-size: 14px; }
  .drag-instruction, .work-reset { font-size: 11px; gap: 6px; }
  .worktable { display: flex; flex-direction: column; align-items: stretch; gap: 36px; padding: 25px 5px 30px; }
  .worktable .project-card { width: 100%; }
  .worktable .card-comfy { --rotation: -1.5deg; }
  .worktable .card-nouvelle { --rotation: 1.5deg; }
  .worktable .card-byson { --rotation: -.75deg; }
  .worktable .card-pokemon { --rotation: 1.5deg; }
  .worktable .card-lothis { --rotation: -1deg; }
  .worktable .card-solmaz { --rotation: 1deg; }
  .worktable .card-rijmaatje { --rotation: -1deg; }
  .card-browser { font-size: 10px; height: 40px; padding-inline: 10px; gap: 7px; }
  .drag-handle { min-height: 40px; min-width: 44px; }
  .card-caption { min-height: 98px; }
  .ax-icon.card-arrow { width: 18px; height: 18px; }
  .section-label { font-size: 10px; line-height: 1.5; gap: 20px; }
  .section-label > span:last-child { max-width: 160px; text-align: right; }
  .maker-grid { display: flex; flex-direction: column; align-items: stretch; gap: 35px; margin-top: 32px; }
  .maker-copy { order: 1; }
  .maker-art { order: 2; width: 65%; max-width: 230px; }
  .maker-copy h2 { font-size: 46px; }
  .maker-copy > p { font-size: 16px; }
  .maker-principles { font-size: 12px; }
  .contact-grid { display: block; margin-top: 32px; }
  .contact-copy h2 { font-size: 62px; }
  .contact-copy > p { font-size: 16px; max-width: 460px; }
  .contact-form { padding-top: 35px; }
  .form-field label { font-size: 14px; }
  .form-field input, .form-field textarea { font-size: 16px; }
  .form-privacy { font-size: 12px; }
  .footer-wordmark { font-size: 19vw; }
  .footer-bottom { font-size: 12px; gap: 14px; }
  .footer-bottom > span:first-child { width: 100%; }
  .case-toolbar { padding: 10px 15px; font-size: 10px; }
  .case-close { font-size: 12px; }
  .case-text h2 { font-size: 36px; }
  .case-content { padding: 25px 20px; }
  .case-text p { font-size: 15px; }
  .case-text .case-note { font-size: 14px; }
  .case-keywords > span { font-size: 11px; }
  .case-visit { font-size: 13px; max-width: none; }
  .case-bottom { padding-inline: 15px; gap: 12px; }
  .case-bottom button { font-size: 11px; }
}
@media (max-width: 420px) {
  :root { --gutter: 22px; }
  .site-header { gap: 12px; }
  .main-nav { gap: 13px; }
  .wordmark { font-size: 24px; }
  .brand-x { width: 21px; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .main-nav { gap: 10px; }
  .main-nav > a:first-child { display: none; }
  .hero-meta p { font-size: 19px; }
}
