@charset "UTF-8";

/* Fonts are bundled with the export, so the site also works offline. */
@font-face {
  font-family: "Zen Maru Gothic";
  src: url("fonts/ZenMaruGothic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Zen Maru Gothic";
  src: url("fonts/ZenMaruGothic-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f3f9ff;
  --ink: #29465e;
  --muted: #647e93;
  --line: #cfdfeb;
  --soft: #e6f1fd;
  --accent: #3b82c4;
  --coral: #79b8e8;
  --yellow: #bde3ff;
  --lavender: #ccdef6;
  --sage: #bcdde8;
  --white: #fcfeff;
  --sans: "Zen Maru Gothic", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --shadow: 5px 5px 0 var(--ink);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.9 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.gallery-button, .work-image, .journal-image, .hero-visual, .about-teaser-image { user-select: none; -webkit-touch-callout: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, strong { font-weight: 700; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; padding: 10px 20px; background: var(--ink); color: white; z-index: 20; }
.skip-link:focus { top: 20px; }
.preview-strip { background: var(--yellow); padding: 7px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .05em; border-bottom: 2px solid var(--ink); }

/* Header and shared controls */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 112px; gap: 20px 24px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 700; letter-spacing: -.045em; line-height: 1.3; max-width: 48%; overflow-wrap: anywhere; }
.brand-mark { color: var(--accent); font: 700 45px/1 var(--sans); flex: none; }
.brand-logo { display: block; width: 44px; height: 44px; object-fit: contain; flex: none; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; min-width: 0; max-width: 100%; }
.site-header nav a { min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; line-height: 1.3; padding: 12px 21px; border: 2px solid transparent; border-radius: 50px; text-align: center; transition: background .2s, transform .2s; }
.site-header nav a span { display: block; font-size: 9px; font-weight: 400; margin-top: 5px; letter-spacing: .025em; }
.site-header nav a:hover { background: #dcefff; transform: translateY(-2px); }
.site-header nav a[aria-current] { background: var(--yellow); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; }
.pop-button, .text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border: 2px solid var(--ink); border-radius: 50px; background: var(--white); box-shadow: 3px 3px 0 var(--ink); font-size: 13px; font-weight: 700; line-height: 1.5; padding: 13px 22px; transition: transform .18s, box-shadow .18s, background .18s; }
.pop-button { background: var(--yellow); padding: 16px 27px; }
.pop-button span, .text-link span { font-size: 22px; line-height: 1; }
.pop-button:hover, .text-link:hover { background: var(--yellow); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.pop-button:active, .text-link:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* Homepage images retain their proportions, without decorative frames. */
.hero { display: grid; grid-template-columns: 1fr; align-items: center; gap: 65px; padding-block: 56px 72px; }
.hero.has-image { grid-template-columns: 1.12fr 1fr; }
.hero-copy { min-width: 0; }
.hero-eyebrow { color: var(--ink); font-size: 12px; gap: 10px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(35px, 4vw, 57px); line-height: 1.5; letter-spacing: -.02em; white-space: pre-line; overflow-wrap: anywhere; }
.hero-description { max-width: 500px; font-size: 14px; line-height: 2.05; color: var(--muted); white-space: pre-line; margin-top: 23px; }
.hero-button { margin-top: 30px; background: var(--accent); }
.hero-button:hover { background: var(--yellow); }
.hero-visual { min-width: 0; }
.hero-visual img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.happy-divider { display: flex; align-items: center; gap: 25px; }
.happy-divider>span { flex: 1; height: 1px; background: var(--line); }
.happy-divider>b { font-size: 32px; line-height: 1; color: var(--accent); }

/* Portfolio and journal cards */
.section { padding-block: 66px 78px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 32px; }
.section-heading>div { min-width: 0; }
.section-heading h2 { font-size: clamp(24px, 2.5vw, 33px); line-height: 1.55; margin-top: 9px; letter-spacing: .01em; overflow-wrap: anywhere; }
.section-heading>.text-link { flex: none; }
.section-description { color: var(--muted); font-size: 13px; line-height: 1.9; margin-top: 10px; white-space: pre-line; }
.section-dot { width: 13px; height: 13px; border: 1.5px solid var(--ink); border-radius: 50%; }
.section-dot.coral { background: var(--coral); }
.section-dot.lavender { background: var(--lavender); }
.count { display: inline-flex; justify-content: center; align-items: center; min-width: 30px; height: 27px; padding-inline: 5px; border: 1.5px solid var(--ink); border-radius: 30px; background: var(--yellow); color: var(--ink); font-size: 11px; letter-spacing: 0; }
.home-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.home-gallery-card { position: relative; display: block; min-width: 0; aspect-ratio: 4/3; padding: 12px; border: 2px solid var(--ink); border-radius: 21px; background: var(--soft); box-shadow: 4px 4px 0 #e8dfd0; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.home-gallery-card:nth-child(3n+2) { background: #f1f6ec; }
.home-gallery-card:nth-child(3n+3) { background: #fff0d5; }
.home-gallery-card img { width: 100%; height: 100%; object-fit: contain; }
.home-gallery-card:hover { transform: translateY(-4px); box-shadow: 5px 8px 0 #e4d8c7; }
.works-grid { column-count: 3; column-gap: 27px; }
.work-card { break-inside: avoid; margin: 0 4px 31px 0; border: 2px solid var(--ink); border-radius: 23px; background: var(--white); box-shadow: 4px 4px 0 #e8dfd0; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.work-card:nth-child(3n+2) { background: #f7f3ff; }
.work-card:nth-child(3n+3) { background: #f1f6ec; }
.work-card:hover { transform: translateY(-4px); box-shadow: 5px 8px 0 #e4d8c7; }
.work-card-link { display: block; }
.work-image { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--soft); }
.work-image img { width: 100%; height: auto; }
.image-arrow { position: absolute; right: 13px; bottom: 13px; display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); font-size: 22px; line-height: 1; }
.card-copy { padding: 18px 19px 21px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 9px; }
.card-meta>span:first-child { border: 1px solid var(--line); border-radius: 30px; background: var(--paper); padding: 1px 10px; font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.card-number { color: var(--muted); font-size: 10px; font-weight: 700; }
.card-copy h3 { font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.work-card p, .journal-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 9px; }
.image-placeholder { aspect-ratio: 4/3; display: grid; place-items: center; background: var(--lavender); }
.work-card:nth-child(3n+2) .image-placeholder { background: var(--sage); }
.work-card:nth-child(3n+3) .image-placeholder { background: #ffc6b5; }
.image-placeholder>span:not(.image-arrow):not(.draft-badge) { font-size: 67px; font-weight: 700; color: var(--ink); }
.draft-badge { position: absolute; left: 12px; top: 12px; border: 1.5px solid var(--ink); border-radius: 30px; background: var(--yellow); padding: 3px 11px; font-size: 10px; font-weight: 700; }
.draft-label { border: 1px solid var(--ink); border-radius: 30px; background: var(--yellow); font-size: 11px; padding: 2px 9px; }
.journal-section { background: #f0edfa; border-block: 1px solid #ddd6ed; }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.journal-card { border: 2px solid var(--ink); border-radius: 23px; overflow: hidden; background: var(--white); box-shadow: 4px 4px 0 #d8cdea; transition: transform .2s, box-shadow .2s; }
.journal-card:hover { transform: translateY(-4px); box-shadow: 5px 8px 0 #d8cdea; }
.journal-card>a { display: block; height: 100%; }
.journal-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--yellow); border-bottom: 2px solid var(--ink); }
.journal-image img { width: 100%; height: 100%; object-fit: cover; }
.journal-card:nth-child(3n+2) .journal-image { background: var(--sage); }
.journal-card:nth-child(3n+3) .journal-image { background: #ffc6b5; }
.journal-copy { padding: 18px 20px 22px; }
.journal-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 10px; color: var(--muted); }
.journal-meta>span { border: 1px solid var(--line); border-radius: 30px; padding: 1px 9px; background: var(--paper); }
.journal-card h3 { display: flex; justify-content: space-between; gap: 14px; font-size: 16px; line-height: 1.8; margin-top: 11px; overflow-wrap: anywhere; }
.journal-card h3>span { flex: none; font-size: 19px; }
.empty-state { border: 2px dashed #d5cfc2; border-radius: 24px; background: #fffdf880; padding: 50px 24px; text-align: center; }
.empty-state>span { display: block; color: var(--accent); font-size: 49px; line-height: 1.5; margin-bottom: 13px; }
.empty-state h3 { font-size: 17px; }
.empty-state p { color: var(--muted); font-size: 13px; margin-top: 7px; }
.empty-state .text-link { margin-top: 24px; }
.empty-state.compact { padding-block: 35px; }

/* Homepage profile section and footer */
.about-teaser { display: grid; grid-template-columns: 1fr; gap: 80px; align-items: center; padding-block: 85px 95px; }
.about-teaser.has-image { grid-template-columns: .8fr 1.3fr; }
.about-teaser-image, .about-teaser-copy { min-width: 0; }
.about-teaser-image img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; }
.about-teaser-copy h2 { margin-top: 13px; font-size: clamp(25px, 3vw, 37px); line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.about-teaser-copy>p { margin-top: 18px; max-width: 590px; color: var(--muted); font-size: 14px; line-height: 2; white-space: pre-line; }
.about-teaser-copy>.pop-button { margin-top: 26px; background: var(--sage); }
.profile-social-links { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 20px 0 0; padding: 0; }
.profile-social-links li { min-width: 0; max-width: 100%; }
.profile-social-links a { display: inline-flex; align-items: baseline; gap: 7px; max-width: 100%; color: var(--ink); font-size: 13px; line-height: 1.8; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.profile-social-links a:hover { color: var(--accent); }
.profile-social-links a>span { flex: none; font-size: 12px; }
.site-footer { display: flex; justify-content: space-between; gap: 35px; padding-block: 35px 37px; border-top: 2px solid var(--ink); }
.site-footer>div:first-child { min-width: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font-size: 22px; font-weight: 700; overflow-wrap: anywhere; }
.footer-brand-mark { color: var(--accent); font-size: 30px; flex: none; }
.footer-brand-logo { display: block; width: 30px; height: 30px; object-fit: contain; flex: none; }
.site-footer p { color: var(--muted); font-size: 11px; margin-top: 4px; max-width: 600px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 18px; }
.footer-meta>a { border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; }
.footer-meta>a span { margin-left: 15px; }
.footer-meta small { color: var(--muted); font-size: 10px; }

/* Listing pages, portfolio details and article typography */
.page-heading { padding-block: 55px 43px; }
.page-heading h1 { display: flex; align-items: baseline; gap: 26px; font-size: clamp(48px, 7vw, 78px); line-height: 1.25; letter-spacing: -.04em; margin-top: 14px; }
.page-heading h1 { flex-wrap: wrap; overflow-wrap: anywhere; }
.page-heading>p, .empty-state p, .gallery-filter-empty, .not-found h1, .not-found>p { white-space: pre-line; }
.not-found h1, .not-found h2, .not-found>p { overflow-wrap: anywhere; }
.page-heading h1 span { font-size: 14px; letter-spacing: .04em; }
.page-heading>p { color: var(--muted); font-size: 14px; margin-top: 18px; }
.listing-section { padding-bottom: 83px; }
.detail-header { padding-block: 30px 39px; }
.back-link { display: inline-flex; border: 1px solid var(--line); border-radius: 30px; background: var(--white); padding: 5px 14px; color: var(--muted); font-size: 11px; margin-bottom: 33px; }
.back-link:hover { background: var(--yellow); color: var(--ink); }
.detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.detail-meta .eyebrow { color: var(--ink); font-size: 11px; background: #eee8fb; border-radius: 30px; padding: 3px 11px; }
.detail-meta time { font-size: 11px; color: var(--muted); }
.detail-header h1 { font-size: clamp(28px, 3.7vw, 48px); letter-spacing: -.01em; line-height: 1.65; margin-top: 16px; max-width: 1040px; overflow-wrap: anywhere; }
.detail-excerpt { color: var(--muted); font-size: 14px; line-height: 2; max-width: 770px; white-space: pre-line; margin-top: 20px; }
.cover-figure { margin-bottom: 50px; }
.gallery-button { display: block; position: relative; width: 100%; padding: 0; color: inherit; background: #f2ede3; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; cursor: zoom-in; }
.gallery-button img { width: auto; height: auto; max-width: 100%; margin-inline: auto; }
.enlarge-label { position: absolute; right: 15px; bottom: 15px; border: 1px solid var(--ink); border-radius: 30px; background: var(--yellow); padding: 5px 11px; font-size: 10px; font-weight: 700; opacity: 0; transition: opacity .2s; }
.gallery-button:hover .enlarge-label, .gallery-button:focus-visible .enlarge-label { opacity: 1; }
.enlarge-label span { margin-left: 13px; }
.detail figcaption { color: var(--muted); font-size: 11px; text-align: center; margin-top: 12px; }
.prose-wrap { width: min(760px, calc(100% - 96px)); margin: 0 auto 62px; }
.prose { font-size: 15px; line-height: 2.15; overflow-wrap: anywhere; }
.prose>:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.7em; }
.prose h2, .prose h3, .prose h4 { line-height: 1.6; margin: 2em 0 .85em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose h4 { font-size: 17px; }
.prose a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose blockquote { border-left: 4px solid var(--lavender); margin: 1.8em 0; padding: 12px 22px; background: #f1edfa; border-radius: 0 13px 13px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose ul, .prose ol { padding-left: 1.5em; margin-block: 1.4em; }
.prose li::marker { color: var(--accent); }
.prose code { font-family: Consolas, monospace; font-size: .85em; background: #eee9de; padding: 3px 6px; border-radius: 5px; }
.prose pre { overflow-x: auto; padding: 22px; background: #eee9de; border-radius: 13px; line-height: 1.7; }
.prose pre code { padding: 0; }
.prose table { border-collapse: collapse; display: block; overflow-x: auto; font-size: 13px; margin-block: 24px; }
.prose th, .prose td { padding: 10px 18px; border-bottom: 1px solid var(--line); text-align: left; min-width: 100px; }
.prose th { background: #f1e9cb; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin-block: 36px; }
.gallery { display: grid; gap: 35px; padding-bottom: 58px; }
.related-section { border-top: 2px dashed var(--line); margin-top: 10px; }
.about-content { display: grid; grid-template-columns: 1fr 1.65fr; gap: 70px; padding-bottom: 90px; align-items: start; }
.about-identity { padding: 25px 30px 29px; background: #e7efdF; border: 2px solid var(--ink); border-radius: 25px; box-shadow: 5px 5px 0 var(--ink); }
.about-symbol { display: block; font-size: 76px; line-height: 1.3; color: var(--accent); }
.about-identity h2 { font-size: 25px; margin-top: 12px; overflow-wrap: anywhere; }
.about-identity>p { font-size: 13px; line-height: 2; white-space: pre-line; margin-top: 15px; }
.contact-link { display: block; border-top: 1px solid #bcc9b3; padding-top: 19px; margin-top: 25px; font-size: 12px; font-weight: 700; }
.contact-link span { float: right; }
.contact-link small { display: block; font-weight: 400; font-size: 11px; margin-top: 4px; overflow-wrap: anywhere; }
.about-content>.prose { padding-top: 10px; }
.not-found { padding-block: 70px 110px; }
.not-found h1 { font-size: clamp(31px, 5vw, 55px); line-height: 1.7; margin-block: 25px; }
.not-found p { color: var(--muted); font-size: 14px; margin-bottom: 30px; }

/* Fixed image box and independent arrows keep controls still during loading. */
.lightbox { position: fixed; inset: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; background: #272624; color: var(--paper); overflow: hidden; }
.lightbox::backdrop { background: #272624; }
.lightbox-close { position: absolute; right: 28px; top: 18px; border: 1px solid #706c62; border-radius: 30px; background: transparent; color: inherit; padding: 5px 17px; font-size: 12px; z-index: 2; }
.lightbox-close span { font-size: 23px; margin-left: 13px; }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; height: calc(100% - 110px); padding: 72px 24px 0; }
.lightbox-image { object-fit: scale-down; width: 100%; height: 100%; max-width: calc(100% - 128px); max-height: 100%; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); width: 47px; height: 47px; border-radius: 50%; font-size: 23px; z-index: 1; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-info { height: 110px; padding: 20px 90px; display: flex; gap: 30px; justify-content: space-between; align-items: flex-start; }
.lightbox-caption { font-size: 12px; line-height: 1.8; max-height: 75px; overflow: auto; }
.lightbox-counter { flex: none; font-size: 12px; color: #d1cbbf; letter-spacing: .08em; }
.lightbox button:focus-visible { outline-color: white; }
.no-scroll { overflow: hidden; }

/* The same tag controls work on the collection and on individual articles. */
.public-gallery { padding-bottom: 85px; }
.gallery-filters { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.filter-button { max-width: 100%; border: 1.5px solid var(--ink); border-radius: 30px; background: var(--white); color: var(--ink); padding: 8px 16px; font-size: 12px; font-weight: 700; line-height: 1.6; text-align: left; overflow-wrap: anywhere; transition: background .18s, box-shadow .18s; }
.filter-button:hover { background: #ffefb9; }
.filter-button[aria-pressed="true"] { background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); }
.gallery-result-count { flex: 0 1 auto; max-width: 280px; margin-top: 9px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.gallery-filter-empty { border: 2px dashed var(--line); border-radius: 20px; padding: 30px 24px; text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px 26px; align-items: start; }
.gallery-tile { min-width: 0; margin: 0; border: 2px solid var(--ink); border-radius: 21px; background: var(--white); box-shadow: 4px 4px 0 #e8dfd0; overflow: hidden; }
.gallery-tile .gallery-button { border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; }
.gallery-tile .gallery-button img { width: 100%; }
.gallery-tile .enlarge-label { opacity: 1; }
.gallery-tile-copy { padding: 15px 17px 18px; }
.gallery-tile-copy>p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 11px; white-space: pre-line; }
.image-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 9px 0 0; }
.image-tags li { max-width: 100%; background: #efe9fa; border-radius: 20px; padding: 2px 9px; color: #65547e; font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.gallery-source { display: inline-flex; align-items: baseline; gap: 9px; margin-top: 11px; font-size: 12px; font-weight: 700; line-height: 1.8; overflow-wrap: anywhere; }
.gallery-source:hover { text-decoration: underline; text-underline-offset: 4px; }
.gallery-source>span { flex: none; }
.detail-gallery-filters:has(> [data-gallery-filters][hidden]) { margin: 0; }
.detail .image-tags { justify-content: center; }

@media (min-width: 1500px) {
  .hero { gap: 80px; padding-block: 70px 85px; }
  .hero h1 { font-size: 61px; }
}

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 3px; }
  .site-header nav a { padding-inline: 16px; }
  .hero { gap: 30px; }
  .hero h1 { font-size: 39px; }
  .works-grid { column-count: 2; column-gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal-grid { gap: 20px; }
  .journal-copy { padding: 15px 16px 19px; }
  .journal-card h3 { font-size: 14px; }
  .about-teaser { gap: 45px; }
  .about-content { gap: 43px; }
  .about-identity { padding: 21px 24px; }
}

@media (max-width: 760px) {
  .hero { gap: 30px; padding-block: 30px 58px; }
  .hero.has-image { grid-template-columns: 1fr; }
  .hero-copy { max-width: 590px; }
  .hero h1 { font-size: clamp(34px, 6.4vw, 48px); max-width: 570px; }
  .hero-description { max-width: 590px; }
  .hero-visual { width: 100%; }
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { gap: 25px; }
  .section-heading>.text-link { font-size: 11px; gap: 13px; padding: 11px 15px; }
  .about-teaser { gap: 32px; padding-block: 65px; }
  .about-teaser.has-image { grid-template-columns: 1fr; }
  .about-teaser-copy>p { font-size: 13px; }
  .about-content { grid-template-columns: 1fr; gap: 38px; }
  .about-identity { max-width: 500px; }
}

@media (max-width: 550px) {
  body { font-size: 14px; }
  .wrap { width: calc(100% - 38px); }
  .site-header { min-height: 92px; gap: 12px; flex-wrap: wrap; padding-block: 15px 14px; }
  .brand { font-size: 21px; gap: 7px; max-width: 100%; }
  .brand-mark { font-size: 31px; }
  .brand-logo { width: 30px; height: 30px; }
  .site-header nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 4px; width: 100%; }
  .site-header nav a { font-size: 11px; padding: 8px 8px; border-radius: 18px; }
  .site-header nav a span { font-size: 7px; margin-top: 4px; }
  .hero { padding-top: 25px; padding-bottom: 45px; gap: 25px; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 17px; }
  .hero h1 { font-size: 36px; line-height: 1.5; }
  .hero-description { font-size: 12px; margin-top: 17px; }
  .hero-button { margin-top: 23px; }
  .pop-button { padding: 13px 23px; font-size: 12px; gap: 22px; }
  .happy-divider { gap: 18px; }
  .happy-divider>b { font-size: 27px; }
  .section { padding-block: 41px 49px; }
  .eyebrow { font-size: 10px; gap: 8px; }
  .section-dot { width: 11px; height: 11px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading h2 { font-size: 26px; margin-top: 8px; }
  .section-description { font-size: 12px; margin-top: 8px; }
  .section-heading>.text-link { margin-top: 17px; padding: 9px 15px; }
  .works-grid { column-count: 1; }
  .work-card { margin-bottom: 26px; border-radius: 21px; }
  .card-copy { padding: 16px 18px 20px; }
  .card-copy h3 { font-size: 17px; }
  .work-card p { font-size: 12px; }
  .journal-grid { grid-template-columns: 1fr; gap: 24px; }
  .journal-card { border-radius: 21px; }
  .journal-card h3 { font-size: 16px; }
  .journal-copy { padding: 17px 18px 21px; }
  .about-teaser { gap: 25px; padding-block: 45px 60px; }
  .about-teaser-copy h2 { font-size: 29px; margin-top: 10px; }
  .about-teaser-copy>p { font-size: 13px; margin-top: 14px; }
  .about-teaser-copy>.pop-button { margin-top: 23px; }
  .site-footer { display: block; padding-block: 28px 31px; }
  .footer-brand { font-size: 21px; }
  .site-footer p { font-size: 10px; }
  .footer-meta { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 15px; margin-top: 27px; }
  .footer-meta small { font-size: 9px; }
  .footer-meta>a { font-size: 10px; }
  .footer-meta>a span { margin-left: 7px; }
  .page-heading { padding-block: 28px 31px; }
  .page-heading h1 { font-size: 54px; gap: 20px; margin-top: 11px; }
  .page-heading h1 span { font-size: 12px; }
  .page-heading>p { font-size: 12px; margin-top: 15px; }
  .listing-section { padding-bottom: 43px; }
  .detail-header { padding-block: 15px 28px; }
  .back-link { margin-bottom: 27px; font-size: 10px; }
  .detail-meta { gap: 11px; }
  .detail-meta time { font-size: 10px; }
  .detail-header h1 { font-size: 29px; margin-top: 14px; }
  .detail-excerpt { font-size: 12px; margin-top: 16px; }
  .cover-figure { margin-bottom: 31px; }
  .gallery-button { border-radius: 16px; }
  .enlarge-label { opacity: 1; right: 10px; bottom: 10px; font-size: 9px; padding: 4px 9px; }
  .prose-wrap { width: calc(100% - 38px); margin-bottom: 38px; }
  .prose { font-size: 14px; line-height: 2.05; }
  .prose h2 { font-size: 23px; }
  .prose h3 { font-size: 19px; }
  .gallery { gap: 25px; padding-bottom: 36px; }
  .about-content { padding-bottom: 58px; gap: 29px; }
  .about-identity { padding: 23px 25px; }
  .about-symbol { font-size: 60px; }
  .about-identity h2 { margin-top: 8px; }
  .empty-state { padding: 34px 18px; }
  .empty-state h3 { font-size: 15px; }
  .empty-state p { font-size: 12px; }
  .lightbox-stage { height: calc(100% - 115px); padding: 65px 10px 47px; }
  .lightbox-image { max-width: 100%; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 0; transform: none; width: 36px; height: 36px; font-size: 18px; }
  .lightbox-prev { left: calc(50% - 47px); }
  .lightbox-next { right: calc(50% - 47px); }
  .lightbox-close { right: 13px; top: 12px; padding: 3px 13px; font-size: 10px; }
  .lightbox-info { height: 115px; padding: 20px; gap: 15px; }
  .lightbox-caption { font-size: 11px; }
  .lightbox-counter { font-size: 10px; }
  .not-found { padding-block: 42px 73px; }
  .not-found p { font-size: 12px; }
  .public-gallery { padding-bottom: 49px; }
  .gallery-filters { flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .filter-buttons { gap: 8px; }
  .filter-button { padding: 7px 13px; font-size: 11px; }
  .gallery-result-count { margin-top: 0; font-size: 11px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 25px; }
  .home-gallery-grid { grid-template-columns: 1fr; gap: 23px; }
  .gallery-filter-empty { padding: 24px 18px; font-size: 12px; }
}

/* Cool blue surfaces keep the rounded shapes and the chosen accent color. */
.home-gallery-card, .work-card, .gallery-tile { box-shadow: 4px 4px 0 #c6dce9; }
.home-gallery-card:hover, .work-card:hover { box-shadow: 5px 8px 0 #bcd5e5; }
.home-gallery-card:nth-child(3n+2), .work-card:nth-child(3n+3) { background: #e9f6fa; }
.home-gallery-card:nth-child(3n+3), .work-card:nth-child(3n+2) { background: #edf4ff; }
.work-card:nth-child(3n+3) .image-placeholder, .journal-card:nth-child(3n+3) .journal-image { background: #b8ddf8; }
.journal-section { background: #e5f0fc; border-color: #c9dceb; }
.journal-card { box-shadow: 4px 4px 0 #bdd4e8; }
.journal-card:hover { box-shadow: 5px 8px 0 #bdd4e8; }
.empty-state { border-color: #b8d1e4; background: #fafdff80; }
.about-identity { background: #e4f1fa; }
.filter-button:hover { background: #dcefff; }
.image-tags li { background: #dfedfb; color: #446d92; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
/* Images explicitly inserted into an article keep their authored position. */
.prose .post-inline-image{display:block;max-width:100%;height:auto;margin:1.5em auto;border-radius:8px}
.blog-detail .detail-header { text-align: left; }
.blog-body-wrap .prose-wrap { width: 100%; max-width: 760px; margin-inline: 0; text-align: left; }
.blog-body-wrap .post-inline-image { margin-inline: 0; }
