/*
 * SWINNEN - local, partial reconstruction
 * No external fonts, imports, frameworks or generated styles.
 * Brand yellow and supplied artwork updated; layout remains a local reconstruction.
 * Change the design tokens here to restyle the entire site.
 */
:root {
  --yellow: #fffb0e;
  --ink: #171717;
  --paper: #faf9f6;
  --white: #fff;
  --muted: #66655f;
  --line: #d8d7d1;
  --gutter: clamp(24px, 5.6vw, 96px);
  --max-width: 1720px;
  --body-font: Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body-font); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
::selection { background: var(--ink); color: var(--yellow); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.solid-dot { fill: currentColor; stroke: none; }
.section-pad { padding: clamp(56px, 7.2vw, 120px) var(--gutter); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; line-height: 1.7; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 32px; padding: 12px 0; font-size: 15px; font-weight: 700; border-bottom: 1px solid; }
.text-link svg { transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(6px); }
.back-link { display: inline-flex; min-height: 34px; align-items: center; gap: 6px; font-size: 13px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Header */
.site-header { min-height: 122px; padding: 20px var(--gutter); display: flex; align-items: center; gap: 36px; background: var(--yellow); }
.brand { display: inline-block; flex: 0 0 auto; line-height: 1; }
.brand-logo { width: 158px; height: auto; }
.header-caption { padding-left: 28px; border-left: 1px solid rgb(23 23 23 / 35%); font-size: 11px; line-height: 1.6; }
.menu-trigger { display: flex; align-items: center; gap: 19px; margin-left: auto; min-height: 44px; font-size: 12px; font-weight: 700; }
.menu-icon { display: flex; width: 48px; height: 48px; flex-direction: column; justify-content: center; gap: 6px; padding: 12px; background: var(--ink); border-radius: 50%; color: var(--yellow); transition: transform .25s var(--ease); }
.menu-icon span { display: block; width: 100%; height: 2px; background: currentColor; }
.menu-trigger:hover .menu-icon { transform: rotate(-12deg); }

/* Homepage */
.hero { padding: 42px var(--gutter) 38px; background: var(--yellow); min-height: 620px; display: flex; flex-direction: column; }
.hero-overline { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; line-height: 1.5; }
.hero-heading { display: flex; position: relative; align-items: center; flex: 1; padding: 54px 0 64px; }
.hero h1 { position: relative; z-index: 1; font-size: clamp(65px, 8.7vw, 158px); line-height: .97; letter-spacing: -.075em; }
.box-art { position: absolute; right: -1%; top: 50%; transform: translateY(-50%) rotate(-10deg); width: 23%; height: auto; stroke-width: 1.2; opacity: .48; }
.box-art .box-cut { stroke-dasharray: 4 5; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgb(23 23 23 / 30%); }
.hero-bottom .eyebrow { letter-spacing: .5em; }
.scroll-link { display: grid; place-items: center; width: 46px; min-height: 46px; border: 1px solid rgb(23 23 23 / 50%); border-radius: 50%; font-size: 24px; transition: background .2s, color .2s; }
.scroll-link:hover { background: var(--ink); color: var(--yellow); }
.introduction { display: grid; grid-template-columns: 1.2fr 1fr; gap: 11%; align-items: center; }
.intro-copy h2 { margin: 23px 0 22px; font-size: clamp(52px, 6.2vw, 102px); letter-spacing: -.065em; line-height: 1; }
.intro-tagline { font-size: clamp(19px, 2.2vw, 34px); line-height: 1.35; letter-spacing: -.035em; }
.intro-copy .text-link { margin-top: 36px; }
.portrait-slot { position: relative; min-height: 320px; aspect-ratio: 1 / 1.03; background: var(--yellow); overflow: hidden; }
.portrait-slot > img, .about-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 45%; }
.portfolio-section { border-top: 1px solid var(--line); padding-top: 65px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(42px, 5vw, 76px); letter-spacing: -.065em; }
.section-heading > p { font-size: 13px; color: var(--muted); }
.portfolio-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.portfolio-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 270px; padding: 26px 28px; grid-column: span 2; background: #eae9e4; transition: transform .25s var(--ease), background .25s; }
.portfolio-card:nth-child(-n+2) { grid-column: span 3; min-height: 330px; }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; }
.card-top { text-transform: uppercase; letter-spacing: .07em; }
.card-top svg { width: 20px; height: 20px; }
.card-title { display: block; font-size: clamp(48px, 5.6vw, 85px); font-weight: 700; line-height: 1.1; letter-spacing: -.065em; padding: 22px 0; }
.card-title > span { color: var(--muted); }
.card-web { background: var(--ink); color: var(--paper); }
.card-web .card-title > span { color: var(--yellow); }
.card-print { background: var(--yellow); }
.card-ui-ux { background: #e9e8e1; }
.card-logo { border: 1px solid var(--ink); background: transparent; }
.card-more { background: #deded7; }
.portfolio-card:hover { transform: translateY(-5px); }
.card-bottom > span { transition: transform .2s; }
.portfolio-card:hover .card-bottom > span { transform: translateX(4px); }
.contact-strip { background: var(--yellow); }
.contact-strip > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 25px; margin-top: 25px; }
.contact-strip h2 { font-size: clamp(52px, 7vw, 108px); line-height: 1; letter-spacing: -.065em; }
.contact-email { display: inline-flex; gap: 25px; align-items: center; font-size: clamp(17px, 2.1vw, 30px); letter-spacing: -.035em; padding-bottom: 8px; border-bottom: 1px solid; overflow-wrap: anywhere; }
.contact-email svg { width: 29px; height: 29px; }

/* Category pages */
.category-hero { background: var(--yellow); padding-top: 35px; padding-bottom: 72px; }
.category-topline { display: flex; align-items: center; justify-content: space-between; }
.category-hero h1 { margin: 58px 0 31px; font-size: clamp(98px, 15vw, 245px); letter-spacing: -.085em; line-height: .95; }
.category-hero h1 span { color: rgb(23 23 23 / 35%); }
.category-subtitle { max-width: 850px; font-size: clamp(26px, 3.1vw, 49px); letter-spacing: -.045em; line-height: 1.12; }
.category-intro { display: grid; grid-template-columns: 1fr 2fr; column-gap: 60px; align-items: start; padding-bottom: 55px; }
.intro-dash { font-size: 74px; letter-spacing: -.1em; line-height: .65; }
.category-intro p { max-width: 780px; font-size: clamp(19px, 2vw, 28px); line-height: 1.55; letter-spacing: -.025em; }
.work-section { padding-top: 30px; }
.work-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.asset-status { font-size: 11px; color: var(--muted); }
/* Horizontal project carousels: native scrolling, enhanced by js/site.js. */
.project-carousel { min-width: 0; }
.carousel-track { display: flex; align-items: stretch; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: auto; border: 1px solid var(--line); touch-action: pan-x pan-y; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.carousel-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.project-media { position: relative; display: block; width: 100%; height: clamp(330px, 47vw, 650px); overflow: hidden; background: #eeede7; }
.work-image-button { cursor: zoom-in; }
.work-image-button:focus-visible { outline: 3px solid var(--ink); outline-offset: -7px; }
.work-image-button > img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: transform .4s var(--ease); }
.work-image-button[data-fit="cover"] > img { object-fit: cover; }
@media (hover: hover) { .work-image-button:hover > img { transform: scale(1.015); } }
.zoom-hint { position: absolute; bottom: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); background: var(--yellow); border: 1px solid rgb(23 23 23 / 15%); border-radius: 50%; pointer-events: none; }
.zoom-hint svg { width: 21px; height: 21px; }
.project-caption { display: flex; align-items: baseline; gap: 22px; padding: 25px 28px; border-top: 1px solid var(--line); }
.project-number { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); }
.project-caption > div { min-width: 0; }
.project-caption h3 { font-size: clamp(19px, 2vw, 27px); letter-spacing: -.045em; overflow-wrap: anywhere; }
.project-caption p { margin-top: 7px; font-size: 13px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.project-caption code, .carousel-setup code { font-size: .95em; color: var(--ink); }
.project-placeholder { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 80px); user-select: none; }
.placeholder-kicker { position: absolute; top: 30px; left: clamp(28px, 5vw, 80px); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.placeholder-title { position: relative; z-index: 1; font-size: clamp(55px, 8vw, 132px); font-weight: 700; letter-spacing: -.075em; line-height: 1; }
.placeholder-title > span { color: #96958d; }
.placeholder-index { position: absolute; right: 4%; bottom: 7%; font-size: clamp(120px, 25vw, 390px); font-weight: 700; line-height: .8; letter-spacing: -.085em; color: rgb(23 23 23 / 7%); }
.placeholder-instruction { position: absolute; bottom: 30px; left: clamp(28px, 5vw, 80px); font-size: 12px; }
.carousel-slide:nth-child(3n+2) .project-placeholder { background: var(--yellow); }
.carousel-slide:nth-child(3n) .project-placeholder { background: var(--ink); color: var(--paper); }
.carousel-slide:nth-child(3n) .placeholder-title > span { color: var(--yellow); }
.carousel-slide:nth-child(3n) .placeholder-index { color: rgb(255 255 255 / 8%); }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 25px; margin-top: 24px; }
.carousel-progress { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; min-width: 0; }
.carousel-counter { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.carousel-counter > span { color: var(--muted); }
.carousel-counter strong { font-size: 24px; font-weight: 400; letter-spacing: -.045em; }
.carousel-dots { display: flex; flex-wrap: wrap; gap: 1px; max-width: 400px; }
.carousel-dot { position: relative; display: grid; place-items: center; width: 32px; height: 44px; padding: 0; border: 0; background: transparent; }
.carousel-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c1c0b8; transition: background .2s, transform .2s; }
.carousel-dot[aria-current="true"]::after { background: var(--ink); transform: scale(1.35); }
.carousel-hint { margin-left: auto; font-size: 11px; color: var(--muted); }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrow { display: grid; place-items: center; width: 54px; height: 54px; padding: 12px; border: 1px solid var(--ink); background: transparent; border-radius: 50%; transition: background .2s, color .2s; }
.carousel-arrow:hover:not(:disabled), .carousel-arrow:focus-visible { background: var(--ink); color: var(--yellow); }
.carousel-arrow:disabled, .lightbox-nav button:disabled { opacity: .3; cursor: default; }
.carousel-setup, .carousel-note { margin-top: 22px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.carousel-track.is-draggable, .carousel-track.is-draggable .project-placeholder { cursor: grab; }
.carousel-track.is-dragging, .carousel-track.is-dragging * { cursor: grabbing !important; user-select: none; }
.carousel-track.is-dragging img { transform: none; }
.asset-error { display: grid; place-items: center; padding: 32px; text-align: center; line-height: 1.7; font-size: 14px; overflow-wrap: anywhere; }
.next-project { border-top: 1px solid var(--line); padding-top: 55px; padding-bottom: 55px; }
.next-project > a { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: clamp(48px, 7vw, 110px); letter-spacing: -.065em; font-weight: 700; }
.next-project svg { width: clamp(46px, 6vw, 85px); height: auto; stroke-width: 1; transition: transform .25s var(--ease); }
.next-project a:hover svg { transform: translateX(10px); }

/* About */
.about-hero { background: var(--yellow); padding-top: 24px; padding-bottom: 64px; }
.about-hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.about-hero-grid { display: grid; grid-template-columns: 1.7fr minmax(240px, 360px); gap: clamp(40px, 7vw, 120px); align-items: center; margin-top: 36px; }
.about-hero-copy { min-width: 0; }
.about-hero h1 { margin-bottom: 32px; font-size: clamp(32px, 3.5vw, 62px); letter-spacing: -.065em; line-height: 1.15; }
.about-hero h1 span { color: rgb(23 23 23 / 45%); }
.about-tagline { font-size: clamp(74px, 9.3vw, 153px); letter-spacing: -.075em; font-weight: 700; line-height: .93; }
.about-visual { width: 100%; max-width: 330px; justify-self: end; }
.about-visual img { width: 100%; height: auto; }
.about-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 9%; align-items: center; }
.about-portrait { position: relative; aspect-ratio: 1.08; background: #eeede7; overflow: hidden; }
.about-biography h2 { margin-top: 22px; font-size: clamp(44px, 5.2vw, 88px); letter-spacing: -.065em; line-height: 1.05; }
.about-portrait-tagline { margin-top: 25px; font-size: clamp(20px, 2.2vw, 34px); letter-spacing: -.035em; line-height: 1.35; }
.biography-facts { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); }
.biography-facts p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.biography-facts p + p { margin-top: 8px; }
.skills-section, .languages-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 9%; border-top: 1px solid var(--line); }
.skills-section h2, .languages-section h2 { font-size: clamp(29px, 3.4vw, 52px); line-height: 1.1; letter-spacing: -.05em; }
.skills-section h2 span, .languages-section h2 span { color: #79766d; }
.skill-list, .language-list { margin: 0; }
.skill-row, .language-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.skill-row:first-child, .language-row:first-child { padding-top: 3px; }
.skill-row dt { font-size: 15px; }
.skill-row dd { margin: 0; flex: 0 0 auto; }
.skill-row dd > span { display: flex; align-items: center; gap: 7px; }
.skill-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--ink); }
.skill-dot.filled { background: var(--yellow); }
.language-row dt { font-size: 15px; font-weight: 700; min-width: 82px; }
.language-row dd { margin: 0; font-size: 14px; text-align: right; max-width: 70%; color: var(--muted); }
.language-row code { color: var(--ink); font-size: 14px; }

.portrait-error { position: absolute; bottom: 12px; left: 12px; right: 12px; padding: 12px; font-size: 12px; line-height: 1.5; background: var(--paper); color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 40px var(--gutter) 25px; }
.footer-primary { display: flex; align-items: center; gap: 35px; padding-bottom: 35px; }
.footer-primary > a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.footer-primary > a svg { width: 18px; height: 18px; }
.social-links { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.social-links a { display: grid; place-items: center; width: 34px; height: 40px; }
.social-links svg { width: 20px; height: 20px; }
.social-links a:hover { color: var(--yellow); }
.footer-secondary { padding-top: 23px; border-top: 1px solid #41413e; display: flex; justify-content: space-between; gap: 24px; font-size: 11px; line-height: 1.6; }
.footer-secondary span[aria-hidden] { padding: 0 8px; }

/* Full-screen navigation: native dialog handles focus trapping and Escape. */
.menu-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; padding: 0; margin: 0; border: 0; background: var(--ink); color: var(--white); overflow: auto; }
.menu-dialog::backdrop { background: rgb(0 0 0 / 35%); }
.menu-dialog-inner { max-width: var(--max-width); margin: 0 auto; padding: 24px var(--gutter) 35px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.icon-button { display: grid; place-items: center; width: 48px; height: 48px; padding: 11px; border: 1px solid currentColor; border-radius: 50%; background: transparent; }
.icon-button:hover { background: rgb(127 127 127 / 15%); }
.large-nav { margin-top: 14px; }
.large-nav a { display: flex; gap: 24px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgb(23 23 23 / 22%); transition: padding .2s var(--ease); }
.large-nav a > span:nth-child(2) { font-size: clamp(49px, 6.3vw, 92px); font-weight: 700; line-height: 1.02; letter-spacing: -.065em; }
.large-nav .nav-number { width: 28px; font-size: 11px; align-self: flex-start; padding-top: 15px; }
.large-nav svg { width: clamp(25px, 3vw, 44px); height: auto; margin-left: auto; stroke-width: 1; }
.large-nav a:hover { padding-left: 12px; color: var(--yellow) }
.large-nav a[aria-current="page"] > span:nth-child(2) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: 14px; }
.menu-bottom a { display: inline-flex; align-items: center; gap: 10px; }
.menu-bottom svg { width: 18px; height: 18px; }
.menu-page { background: var(--yellow); padding-top: 30px; }

/* Local image viewer */
.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; padding: 78px clamp(20px, 4vw, 70px) 102px; margin: 0; border: 0; background: rgb(10 10 10 / 96%); color: white; }
.lightbox::backdrop { background: var(--ink); }
.lightbox-close { position: absolute; right: 24px; top: 20px; z-index: 1; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 18px; }
.lightbox img { object-fit: contain; max-width: 100%; max-height: calc(100% - 50px); min-height: 0; }
.lightbox figcaption { max-width: 780px; overflow-wrap: anywhere; font-size: 13px; text-align: center; line-height: 1.5; }

.lightbox-nav { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 28px; }
.lightbox-counter { font-size: 13px; font-variant-numeric: tabular-nums; min-width: 65px; text-align: center; }
.lightbox-nav .icon-button:hover:not(:disabled) { background: var(--yellow); color: var(--ink); }

/* Tablet */
@media (max-width: 1024px) {
  .hero { min-height: 590px; }
  .hero-heading { padding: 70px 0; }
  .hero h1 { font-size: clamp(70px, 10vw, 114px); }
  .box-art { right: -3%; width: 23%; opacity: .25; }
  .portfolio-card { padding: 24px; min-height: 235px; }
  .portfolio-card:nth-child(-n+2) { min-height: 290px; }
  .skills-section, .languages-section { gap: 6%; }
  .skill-row dt { font-size: 13px; }
  .skill-row dd > span { gap: 5px; }
}

/* Mobile */
@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }
  .site-header { min-height: 100px; padding-top: 18px; padding-bottom: 18px; gap: 16px; }
  .brand-logo { width: 125px; }
  .header-caption { display: none; }
  .menu-label { font-size: 11px; }
  .menu-trigger { gap: 12px; }
  .menu-icon { width: 44px; height: 44px; }
  .hero { min-height: 510px; padding-top: 35px; padding-bottom: 26px; }
  .hero-overline { display: block; font-size: 10px; }
    .hero-heading { padding: 62px 0 84px; }
  .hero h1 { font-size: clamp(48px, 10.6vw, 75px); letter-spacing: -.075em; }
  .box-art { width: 36%; top: auto; bottom: 5px; right: -5px; transform: rotate(-10deg); opacity: .18; }
  .hero-bottom .eyebrow { font-size: 9px; letter-spacing: .35em; }
  .scroll-link { width: 40px; min-height: 40px; font-size: 23px; }
  .introduction { grid-template-columns: 1fr; gap: 42px; }
  .intro-copy h2 { margin-top: 20px; }
  .intro-copy .text-link { margin-top: 22px; }
  .portrait-slot { width: 100%; min-height: 260px; max-height: 460px; aspect-ratio: 1.12; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p { margin-top: 14px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .portfolio-card, .portfolio-card:nth-child(-n+2) { grid-column: span 1; min-height: 220px; padding: 20px 17px; }
  .portfolio-card:last-child { grid-column: 1 / -1; min-height: 215px; }
  .card-title { font-size: clamp(40px, 9.5vw, 62px); }
  .card-top { font-size: 8px; gap: 4px; }
  .card-top svg { width: 16px; height: 16px; }
  .card-bottom { font-size: 9px; }
  .contact-strip > div { display: block; }
  .contact-email { margin-top: 28px; gap: 12px; }
  .contact-email svg { width: 24px; height: 24px; }
  .category-hero { padding-top: 20px; padding-bottom: 50px; }
  .category-hero h1 { margin-top: 56px; font-size: clamp(95px, 23vw, 145px); }
  .category-subtitle { font-size: clamp(25px, 6.8vw, 39px); }
  .category-intro { grid-template-columns: 1fr; gap: 35px; }
  .intro-dash { font-size: 55px; }
  .category-intro p { font-size: 20px; }
  .skills-section, .languages-section { grid-template-columns: 1fr; gap: 32px; }
  .skill-row dt { font-size: 14px; }
  .skill-row dd > span { gap: 7px; }
  .language-row dt { font-size: 14px; min-width: 72px; }
  .language-row dd { font-size: 13px; }
  .footer-primary { gap: 27px; flex-wrap: wrap; padding-bottom: 27px; }
  .footer-primary > a { font-size: 15px; }
  .social-links { margin-left: 0; width: 100%; gap: 20px; }
  .social-links a { width: 26px; }
  .footer-secondary { font-size: 10px; }
  .footer-secondary span[aria-hidden] { padding: 0 3px; }
  .footer-secondary > a { flex: 0 0 auto; }
  .menu-dialog-inner { padding-top: 20px; }
  .menu-top { margin-bottom: 28px; }
  .large-nav a { padding: 16px 0; gap: 10px; }
  .large-nav a > span:nth-child(2) { font-size: clamp(53px, 13vw, 76px); }
  .large-nav .nav-number { width: 22px; font-size: 9px; padding-top: 10px; }
  .menu-bottom { font-size: 13px; margin-top: 28px; }
}

@media (max-width: 1024px) {
  .about-hero-grid { grid-template-columns: 1.5fr minmax(210px, 285px); gap: 40px; }
  .about-tagline { font-size: clamp(76px, 10vw, 110px); }
  .carousel-hint { display: none; }
}
@media (max-width: 700px) {
  .about-hero { padding-top: 18px; padding-bottom: 40px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 38px; }
  .about-hero h1 { font-size: clamp(29px, 7.8vw, 46px); margin-bottom: 25px; }
  .about-tagline { font-size: clamp(72px, 17.5vw, 120px); }
  .about-visual { max-width: none; width: 100%; height: clamp(230px, 65vw, 360px); }
  .about-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .about-intro { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait { aspect-ratio: 1.12; max-height: 490px; }
  .about-biography h2 { margin-top: 18px; }
  .biography-facts { margin-top: 26px; }
  .project-media { height: clamp(250px, 75vw, 470px); }
  .project-caption { padding: 20px; gap: 16px; }
  .project-caption p { font-size: 12px; }
  .placeholder-kicker { top: 23px; font-size: 9px; }
  .placeholder-title { font-size: clamp(44px, 10vw, 74px); }
  .placeholder-index { font-size: 38vw; }
  .placeholder-instruction { bottom: 25px; font-size: 10px; }
  .carousel-controls { gap: 16px 12px; margin-top: 18px; }
  .carousel-progress { gap: 4px 10px; flex: 1 1 125px; }
  .carousel-counter { gap: 7px; font-size: 11px; }
  .carousel-counter strong { font-size: 21px; }
  .carousel-dot { width: 28px; }
  .carousel-dots { max-width: 168px; }
  .carousel-arrow { width: 46px; height: 46px; padding: 10px; }
  .carousel-arrows { gap: 8px; }
  .carousel-setup { font-size: 11px; }
  .lightbox-close { right: 18px; top: 18px; }
}

@media (min-width: 1720px) {
  body { --gutter: max(96px, calc((100vw - 1530px) / 2)); }
  .menu-dialog-inner { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .menu-dialog, .lightbox, .scroll-link, .next-project { display: none !important; }
  html, body { background: white; color: black; }
  .section-pad, .hero { padding: 25px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 64px; }
  .portfolio-card { break-inside: avoid; }
  .carousel-track { display: block; overflow: visible; border: 0; }
  .carousel-slide { break-inside: avoid; margin-bottom: 24px; }
  .carousel-controls, .carousel-setup, .zoom-hint { display: none !important; }
  .project-media { height: 380px; }
}
