:root {
  --paper: #ffffff;
  --ink: #690035;
  --ink-soft: rgba(105, 0, 53, 0.58);
  --line: rgba(105, 0, 53, 0.22);
  --quiet: #f2eef0;
  --sidebar-width: 28.5vw;
  --text-column-width: 22.5vw;
  --image-column-width: 49vw;
  --edge-x: clamp(26px, 2.35vw, 46px);
  --edge-y: clamp(24px, 3.1vh, 38px);
  --menu-size: clamp(31px, 2.75vw, 53px);
  --body-size: clamp(17px, 1.42vw, 27px);
  --small-size: clamp(14px, 1.08vw, 21px);
  --transition: 260ms cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-synthesis: none;
}

body {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.site-shell {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  background: var(--paper);
}

.sidebar {
  position: relative;
  z-index: 10;
  height: 100dvh;
  padding: var(--edge-y) var(--edge-x);
  background: var(--paper);
}

.primary-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(25px, 3.8vh, 46px);
}

.nav-group {
  position: relative;
  min-height: 1em;
  font-size: var(--menu-size);
  line-height: .88;
  white-space: nowrap;
}

.nav-primary {
  display: inline-block;
  font-weight: 400;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-primary:hover,
.nav-primary:focus-visible {
  transform: translateX(10px);
}

.nav-group.is-active > .nav-primary {
  transform: translateX(clamp(18px, 3.5vw, 66px));
}

.submenu {
  position: absolute;
  top: .06em;
  left: calc(100% + clamp(26px, 3vw, 58px));
  display: flex;
  flex-direction: column;
  gap: .15em;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-9px);
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear 260ms;
  font-size: .53em;
  line-height: 1.08;
}

.nav-group.is-active .submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.submenu a {
  width: max-content;
  transition: transform var(--transition), opacity var(--transition);
}

.submenu a:hover,
.submenu a:focus-visible,
.submenu a[aria-current="page"] {
  transform: translateX(13px);
}

.submenu-years {
  top: 1.44em;
  left: calc(100% - clamp(5px, .4vw, 8px));
  font-size: .46em;
  gap: .12em;
}

.language-toggle {
  margin-top: clamp(-6px, -0.8vh, -2px);
  font-size: clamp(18px, 1.55vw, 30px);
  line-height: 1;
  transition: transform var(--transition);
}

.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translateX(10px);
}

.sidebar-brand {
  position: absolute;
  left: var(--edge-x);
  bottom: clamp(24px, 2.9vh, 36px);
  font-size: clamp(58px, 6.15vw, 118px);
  line-height: .78;
  letter-spacing: -.038em;
  white-space: nowrap;
  transform-origin: left bottom;
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear 0s;
}

.site-shell[data-section="projects"] .sidebar-brand,
.site-shell[data-section="guidelines"] .sidebar-brand {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition-delay: 0s, 0s, 260ms;
}

.page {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  outline: none;
}

.page-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: var(--text-column-width) var(--image-column-width);
}

.column {
  min-width: 0;
  height: 100dvh;
}

.scroll-region {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-region::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.text-column {
  padding: var(--edge-y) clamp(22px, 2.05vw, 39px) 7vh clamp(18px, 1.6vw, 31px);
  font-size: var(--body-size);
  line-height: 1.02;
  text-wrap: pretty;
}

.text-column h1,
.text-column h2,
.text-column p {
  margin-top: 0;
}

.text-column h1,
.text-column h2 {
  font-size: inherit;
  line-height: .98;
  font-weight: 600;
}

.text-column h1 {
  margin-bottom: 1.55em;
}

.text-column p {
  margin-bottom: 1.28em;
}

.image-column {
  background: var(--paper);
}

.full-image,
.gallery-image,
.project-card img,
.biography-image {
  display: block;
  width: 100%;
  height: auto;
}

.home-page {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-name-en {
  display: none;
}

.home-name-jp {
  position: absolute;
  right: var(--edge-x);
  bottom: clamp(22px, 2.7vh, 34px);
  font-family: var(--font-family-japanese, "Noto Serif JP", "Yu Mincho", serif);
  font-size: clamp(45px, 4.4vw, 84px);
  line-height: .9;
  letter-spacing: .12em;
}

.biography-page .content-spacer {
  min-width: 0;
}

.biography-content {
  height: 100dvh;
  padding-bottom: 7vh;
}

.biography-image {
  aspect-ratio: 1.505 / 1;
  object-fit: cover;
  object-position: 50% 45%;
}

.biography-copy {
  padding: clamp(8px, .85vh, 12px) clamp(26px, 2.4vw, 46px) 5vh 0;
  font-size: var(--body-size);
  line-height: 1.01;
  text-wrap: pretty;
}

.biography-copy p {
  margin: 0;
}

.ikebana-gallery,
.project-gallery {
  min-height: 100dvh;
}

.gallery-image {
  width: 100%;
  min-height: 100dvh;
  object-fit: cover;
}

.gallery-image.gallery-contain {
  min-height: auto;
  object-fit: contain;
}

.project-list-page .project-list-spacer {
  min-width: 0;
}

.project-list {
  height: 100dvh;
  padding-bottom: 12vh;
}

.project-card {
  display: block;
  margin: 0 0 clamp(25px, 4vh, 50px);
}

.project-card img {
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
}

.project-card-title {
  display: block;
  padding-top: .18em;
  font-size: clamp(21px, 1.75vw, 34px);
  line-height: 1;
}

.project-card-date {
  display: none;
}

.project-card:hover .project-card-title,
.project-card:focus-visible .project-card-title {
  text-decoration: none;
}

.project-detail .text-column {
  padding-right: clamp(22px, 2vw, 38px);
}

.project-meta {
  margin-bottom: 1.6em;
}

.project-meta strong {
  display: block;
  font-weight: 600;
}

.project-gallery .gallery-image {
  min-height: 100dvh;
}

.project-gallery .gallery-image + .gallery-image {
  margin-top: 7px;
}

.gallery-last-media {
  position: relative;
}

.gallery-back-to-top {
  position: absolute;
  right: clamp(18px, 2.1vw, 40px);
  bottom: clamp(18px, 2.5vh, 32px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 0 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .94);
  background: transparent;
  color: #fff;
  font-size: clamp(14px, .8vw, 16px);
  font-weight: 400;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .52), 0 0 16px rgba(0, 0, 0, .28);
  transform: translateY(8px);
  transition: opacity 360ms ease, transform 360ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 360ms;
}

.gallery-image[data-deferred-src] {
  visibility: hidden;
}

.gallery-last-media .gallery-back-to-top:hover,
.gallery-last-media .gallery-back-to-top:focus-visible {
  text-shadow: 0 1px 10px rgba(0, 0, 0, .66), 0 0 18px rgba(0, 0, 0, .36);
}

.is-back-to-top-visible .gallery-back-to-top {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.gallery-back-to-top:hover,
.gallery-back-to-top:focus-visible {
  opacity: .72;
}

.archive-placeholder {
  display: grid;
  place-items: center;
  min-height: 68vh;
  margin: 0 0 28px;
  background: var(--quiet);
  font-size: clamp(20px, 1.5vw, 29px);
}

.contact-page,
.guidelines-page {
  height: 100dvh;
  overflow-y: auto;
  scrollbar-width: none;
  padding: var(--edge-y) clamp(42px, 6vw, 115px) 9vh clamp(22px, 2.1vw, 40px);
}

.contact-page::-webkit-scrollbar,
.guidelines-page::-webkit-scrollbar {
  display: none;
}

.contact-inner {
  width: min(100%, 1040px);
  font-size: var(--body-size);
  line-height: 1.08;
}

.contact-intro {
  margin: 0 0 1.1em;
  max-width: 980px;
}

.contact-form {
  width: min(100%, 760px);
  display: grid;
  gap: clamp(22px, 2.2vh, 28px);
}

.form-field {
  display: grid;
  gap: 5px;
}

.form-field label {
  font-size: var(--small-size);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: .24em 0 .28em;
  background: transparent;
  outline: none;
  font-size: var(--body-size);
}

.form-field textarea {
  min-height: 6.5em;
  resize: vertical;
  border: 1px solid var(--ink);
  padding: .55em .65em;
}

.form-field input:focus,
.form-field textarea:focus {
  box-shadow: 0 2px 0 var(--ink);
}

.form-field textarea:focus {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.submit-button,
.guidelines-link,
.back-link {
  width: max-content;
  border-bottom: 1px solid currentColor;
  font-size: var(--small-size);
  line-height: 1.2;
  transition: transform var(--transition), opacity var(--transition);
}

.submit-button:hover,
.submit-button:focus-visible,
.guidelines-link:hover,
.guidelines-link:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  transform: translateX(8px);
}

.form-status {
  min-height: 1.2em;
  font-size: var(--small-size);
}

.contact-footer-link {
  margin-top: clamp(52px, 8vh, 92px);
}

.guidelines-page {
  padding-right: clamp(30px, 4vw, 76px);
}

.guidelines-inner {
  width: min(100%, 1120px);
}

.guidelines-header {
  margin-bottom: clamp(55px, 8vh, 100px);
}

.guidelines-title {
  margin: 0 0 .15em;
  font-size: clamp(50px, 6vw, 116px);
  line-height: .82;
  font-weight: 400;
  letter-spacing: -.04em;
}

.guidelines-intro {
  max-width: 680px;
  margin: 0;
  font-size: var(--body-size);
  line-height: 1.05;
}

.guideline-section {
  border-top: 1px solid var(--ink);
  padding: 16px 0 clamp(50px, 7vh, 90px);
  display: grid;
  grid-template-columns: minmax(150px, .65fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 70px);
}

.guideline-section h2 {
  margin: 0;
  font-size: var(--body-size);
  line-height: 1;
  font-weight: 500;
}

.guideline-content {
  font-size: var(--small-size);
  line-height: 1.25;
}

.guideline-content p:first-child {
  margin-top: 0;
}

.guideline-content p:last-child {
  margin-bottom: 0;
}

.column-diagram {
  display: grid;
  grid-template-columns: 28.5fr 22.5fr 49fr;
  width: 100%;
  min-height: 190px;
  border: 1px solid var(--ink);
}

.column-diagram > div {
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  border-right: 1px solid var(--ink);
}

.column-diagram > div:last-child {
  border-right: 0;
}

.palette {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
}

.swatch {
  min-height: 145px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--ink);
}

.swatch-burgundy {
  background: var(--ink);
  color: white;
}

.swatch-paper {
  background: var(--paper);
}

.swatch-quiet {
  background: var(--quiet);
}

.type-sample-large {
  margin: .2em 0;
  font-size: clamp(52px, 7vw, 132px);
  line-height: .8;
  letter-spacing: -.04em;
}

.type-sample-jp {
  font-family: var(--font-family-japanese, "Noto Serif JP", "Yu Mincho", serif);
  font-size: clamp(38px, 4.8vw, 92px);
  letter-spacing: .08em;
}


.mobile-header {
  display: none;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  :root {
    --edge-x: 20px;
    --edge-y: 20px;
    --body-size: 22px;
    --small-size: 17px;
  }

  body {
    overflow: auto;
  }

  .site-shell {
    display: block;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    padding-top: 58px;
  }

  .mobile-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: 58px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
  }

  .mobile-menu-toggle,
  .mobile-language,
  .mobile-brand {
    font-size: 17px;
    line-height: 1;
  }

  .mobile-brand {
    font-size: 22px;
  }

  .mobile-language {
    justify-self: end;
  }

  .sidebar {
    position: fixed;
    inset: 58px 0 0 0;
    z-index: 40;
    width: 100%;
    height: calc(100dvh - 58px);
    padding: 28px 20px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity var(--transition), transform var(--transition), visibility 0s linear 260ms;
  }

  .site-shell.menu-open .sidebar {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .primary-nav {
    gap: 30px;
  }

  .nav-group {
    font-size: 42px;
  }

  .nav-group.is-active > .nav-primary {
    transform: translateX(20px);
  }

  .submenu {
    left: calc(100% + 24px);
    font-size: .5em;
  }

  .submenu-years {
    top: 1.38em;
    left: calc(100% - 1px);
  }

  .language-toggle,
  .sidebar-brand {
    display: none;
  }

  .page {
    height: auto;
    min-height: calc(100dvh - 58px);
    overflow: visible;
  }

  .page-grid {
    height: auto;
    display: block;
  }

  .column,
  .scroll-region,
  .biography-content,
  .project-list,
  .contact-page,
  .guidelines-page {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .home-page {
    min-height: calc(100dvh - 58px);
  }

  .home-name-en {
    position: absolute;
    display: block;
    left: 20px;
    bottom: 24px;
    font-size: clamp(24px, 7.3vw, 36px);
    line-height: .9;
    letter-spacing: -.025em;
  }

  .home-name-jp {
    right: 20px;
    bottom: 24px;
    font-size: clamp(24px, 7.1vw, 35px);
    letter-spacing: .06em;
  }

  .biography-page .content-spacer,
  .project-list-spacer {
    display: none;
  }

  .biography-copy,
  .text-column,
  .contact-page,
  .guidelines-page {
    padding: 24px 20px 70px;
  }

  .biography-image {
    aspect-ratio: 1 / 1;
  }

  .biography-copy {
    line-height: 1.05;
  }

  .text-column {
    border-bottom: 1px solid var(--line);
  }

  .gallery-image,
  .project-gallery .gallery-image {
    min-height: auto;
  }

  .project-list {
    padding-bottom: 50px;
  }

  .project-card {
    margin-bottom: 32px;
  }

  .project-card-title {
    padding: 7px 20px 0;
    font-size: 25px;
  }

  .project-card-date {
    display: block;
    padding: .22em 20px 0;
    font-size: calc(var(--type-projectArchiveTitle-mobile) * .64);
    line-height: 1;
  }

  .contact-inner,
  .guidelines-inner {
    width: 100%;
  }

  .guideline-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .column-diagram {
    min-height: 150px;
  }

  .palette {
    grid-template-columns: 1fr;
  }
}

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


/* Revision 03: PDF-matched menu spacing, reliable collapsing, full translation and project templates */

.sidebar {
  overflow: visible;
}

.submenu {
  top: 1.12em;
  left: calc(100% + clamp(72px, 5vw, 96px));
  gap: .24em;
}

.submenu-years {
  top: 1.16em;
  left: calc(100% + clamp(68px, 4.4vw, 86px));
  gap: .24em;
  line-height: 1.12;
}

.language-control {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.language-toggle {
  transition: none;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  transform: none;
}

.language-option {
  position: relative;
  display: inline-block;
  font-weight: 400;
  transition: font-weight 160ms ease;
}

.language-option::after {
  content: none;
}

.language-option:hover,
.language-option.is-current {
  font-weight: 600;
}

.mobile-home-nav,
.mobile-project-first-image {
  display: none;
}

.project-heading-row {
  position: relative;
  min-height: 1px;
}

.project-heading-row .project-meta {
  padding-right: 0;
}

.contact-page {
  padding: 0;
  overflow: hidden;
}

.contact-spacer {
  min-width: 0;
}

.contact-content {
  height: 100dvh;
}

.contact-copy-inner {
  width: 100%;
  padding: var(--edge-y) var(--desktop-reference-edge) 0;
  font-size: var(--body-size);
  line-height: 1.08;
}

.contact-form-inner {
  width: 100%;
  padding: clamp(54px, 6vh, 72px) var(--desktop-reference-edge) 8vh;
}

.contact-form {
  width: 100%;
}

@media (max-width: 980px) {
  .mobile-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-shell[data-section="home"] .mobile-menu-toggle {
    visibility: hidden;
    pointer-events: none;
  }

  .sidebar {
    overflow: auto;
    pointer-events: none;
  }

  .site-shell.menu-open .sidebar {
    pointer-events: auto;
  }

  .primary-nav {
    gap: 34px;
  }

  .nav-group {
    width: 100%;
    min-height: 0;
  }


  .submenu,
  .submenu-years {
    position: static;
    width: max-content;
    margin-top: 26px;
    margin-left: 20px;
    gap: 11px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px);
    transition: max-height var(--transition), opacity var(--transition), transform var(--transition), visibility 0s linear 260ms;
    font-size: .5em;
    line-height: 1.12;
  }

  .nav-group.is-active .submenu {
    max-height: 220px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .submenu a:hover,
  .submenu a:focus-visible,
  .submenu a[aria-current="page"] {
    transform: translateX(10px);
  }

  .home-page {
    position: relative;
  }

  .mobile-home-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding: 30px 20px 120px;
    font-size: clamp(42px, 13vw, 62px);
    line-height: .92;
  }

  .mobile-home-nav a {
    transition: transform var(--transition);
  }

  .mobile-home-nav a:hover,
  .mobile-home-nav a:focus-visible {
    transform: translateX(10px);
  }

  .contact-page {
    display: block;
    overflow: visible;
  }

  .contact-spacer {
    display: none;
  }

  .contact-content {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .contact-copy-inner,
  .contact-form-inner {
    width: 100%;
    padding: 24px 20px 0;
  }

  .contact-form-inner {
    padding-top: 54px;
    padding-bottom: 70px;
  }

  /* V1.2.5: give the Contact form a clearer pause after social links and
     make Send a comfortable touch target without turning it into a large CTA. */
  .submit-button {
    min-height: 44px;
    padding: 8px 8px 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .contact-footer-link {
    margin-top: 48px;
  }

  .project-detail .text-column {
    padding: 24px 0 0;
    border-bottom: 0;
  }

  .project-heading-row,
  .project-copy {
    padding-left: 20px;
    padding-right: 20px;
  }

  .project-heading-row {
    margin-bottom: var(--project-title-copy-gap, 10px);
  }

  .project-heading-row .project-meta {
    margin-bottom: 0;
    padding-right: 0;
  }

  .mobile-project-first-image {
    display: block;
    width: 100%;
    margin: 0 0 26px;
  }

  .mobile-project-first-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .project-copy {
    padding-bottom: 15px;
  }

  .project-gallery .gallery-image:first-child {
    display: none;
  }
}

@media (max-width: 980px) {
  .mobile-menu-toggle {
    justify-self: start;
  }

  .language-toggle {
    display: none;
  }

  .submenu a:hover,
  .submenu a:focus-visible,
  .submenu a[aria-current="page"] {
    transform: none;
  }
}

.language-separator {
  display: inline-block;
  padding: 0 .16em;
}


.project-copy-placeholder {
  opacity: .52;
  font-style: italic;
}

/* Revision 04: persistent home signature, mobile parent menus, project scroll cues, biography rhythm */

/* The home signature is a persistent navigation anchor on all desktop sections. */
.site-shell[data-section="projects"] .sidebar-brand,
.site-shell[data-section="guidelines"] .sidebar-brand {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

/* Contact has no submenu, but remains shifted while its section is active. */
.nav-group[data-nav-group="contact"].is-active > .nav-primary {
  transform: translateX(clamp(18px, 3.5vw, 66px));
}

/* Biography follows the calmer paragraph rhythm used by the Ikebana page. */
.biography-copy {
  padding-top: clamp(18px, 2vh, 26px);
  line-height: 1.08;
}

.biography-copy p {
  margin: 0 0 1.18em;
}

.biography-copy p:last-child {
  margin-bottom: 0;
}

/* Minimal scroll affordance. The cue disappears automatically at the end. */
@media (min-width: 981px) {
  .project-detail .scroll-region {
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 100%);
    transition: -webkit-mask-image 180ms ease, mask-image 180ms ease;
  }

  .project-detail .scroll-region.has-more-scroll {
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 54px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 54px), transparent 100%);
  }
}

.mobile-page-scroll-cue {
  display: none;
}

@media (max-width: 980px) {
  .mobile-home-nav {
    gap: 26px;
  }

  .mobile-home-group {
    width: 100%;
  }

  .mobile-home-primary,
  .mobile-home-contact {
    display: block;
    padding: 0;
    font: inherit;
    line-height: inherit;
    color: inherit;
    text-align: left;
  }

  .mobile-home-primary {
    transition: transform var(--transition);
  }

  .mobile-home-group.is-active > .mobile-home-primary {
    transform: translateX(20px);
  }

  .mobile-home-submenu {
    display: flex;
    flex-direction: column;
    width: max-content;
    max-height: 0;
    margin: 0 0 0 20px;
    gap: 10px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    font-size: .5em;
    line-height: 1.08;
    transition: max-height var(--transition), margin-top var(--transition), opacity var(--transition), transform var(--transition), visibility 0s linear 260ms;
  }

  .mobile-home-group.is-active .mobile-home-submenu {
    max-height: 220px;
    margin-top: 22px;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .mobile-home-submenu a {
    display: block;
  }

  .biography-copy {
    padding-top: 22px;
    line-height: 1.1;
  }

  .biography-copy p {
    margin-bottom: 1.14em;
  }

  .mobile-page-scroll-cue {
    position: fixed;
    z-index: 35;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    height: 38px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96));
    transition: opacity 180ms ease;
  }

  .mobile-page-scroll-cue.is-visible {
    opacity: 1;
  }
}

/* Revision 05: fixed-column containment, submenu alignment, directional scroll cues, clean mobile menu reset */

/* Everything in the fixed navigation must remain inside column one. */
.sidebar {
  overflow: hidden;
}

.sidebar-brand {
  right: var(--edge-x);
  max-width: calc(100% - (2 * var(--edge-x)));
  font-size: clamp(38px, 4vw, 76px);
  letter-spacing: -.038em;
  overflow: hidden;
  text-overflow: clip;
}

/* Menu and submenu use one consistent horizontal gap. The first submenu line
   aligns with the lower edge of the parent label, as defined by the approved examples. */
.submenu {
  top: .31em;
  left: calc(100% + clamp(34px, 3vw, 58px));
}

.submenu-years {
  top: .36em;
  left: calc(100% + clamp(34px, 3vw, 58px));
}

/* Scroll cues are overlays, not masks, so photographic content remains intact. */
@media (min-width: 981px) {
  .project-detail .scroll-region {
    -webkit-mask-image: none;
    mask-image: none;
    transition: none;
  }

  .project-detail .scroll-region.has-more-scroll {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .scroll-cue-shell {
    position: relative;
    min-width: 0;
    height: 100dvh;
    overflow: hidden;
  }

  .scroll-cue-shell .scroll-region {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
  }

  .scroll-edge-cue {
    position: absolute;
    z-index: 8;
    left: 0;
    right: 0;
    height: 78px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 220ms ease;
  }

  .scroll-edge-cue-top {
    top: 0;
  }

  .scroll-edge-cue-bottom {
    bottom: 0;
  }

  .text-scroll-shell .scroll-edge-cue-top {
    background: linear-gradient(to bottom, rgba(255,255,255,.98), rgba(255,255,255,0));
  }

  .text-scroll-shell .scroll-edge-cue-bottom {
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.98));
  }

  .visual-scroll-shell .scroll-edge-cue-top {
    background: linear-gradient(to bottom, rgba(0,0,0,.46), rgba(0,0,0,0));
  }

  .visual-scroll-shell .scroll-edge-cue-bottom {
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.46));
  }

  .scroll-cue-shell.show-scroll-down .scroll-edge-cue-bottom,
  .scroll-cue-shell.show-scroll-up .scroll-edge-cue-top {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .sidebar {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .sidebar-brand {
    right: auto;
    max-width: none;
  }

  .submenu,
  .submenu-years {
    top: auto;
  }

  .scroll-cue-shell {
    display: contents;
  }

  .scroll-edge-cue {
    display: none;
  }

  .mobile-page-scroll-cue {
    height: 38px;
  }

  .mobile-page-scroll-cue-top {
    top: 0;
    bottom: auto;
    background: linear-gradient(to bottom, rgba(255,255,255,.96), rgba(255,255,255,0));
  }

  .mobile-page-scroll-cue-bottom {
    top: auto;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96));
  }
}

/* Revision 06: robust parent/submenu gap and balanced home-name scale */
@media (min-width: 981px) {
  :root {
    --desktop-nav-active-shift: clamp(18px, 3.5vw, 66px);
    --desktop-submenu-gap: clamp(38px, 2.35vw, 48px);
  }

  .nav-group.is-active > .nav-primary {
    transform: translateX(var(--desktop-nav-active-shift));
  }

  /* Position submenus from the visually shifted parent edge, not from the
     parent's original unshifted box. This guarantees the same clean gap for
     About, Projects and their Japanese equivalents. */
  .submenu,
  .submenu-years {
    top: auto;
    bottom: 0;
    left: calc(100% + var(--desktop-nav-active-shift) + var(--desktop-submenu-gap));
  }

  .submenu {
    gap: .22em;
  }

  .submenu-years {
    gap: .22em;
    line-height: 1.12;
  }

  /* Keep the fixed Home link comfortably inside column one while restoring
     more of the intended visual presence. */
  .sidebar-brand {
    right: var(--edge-x);
    max-width: calc(100% - (2 * var(--edge-x)));
    font-size: clamp(44px, 4.35vw, 84px);
  }

  /* Balance the Japanese home signature optically with the English one. */
  .home-name-jp {
    font-size: clamp(38px, 3.45vw, 66px);
    line-height: .92;
  }
}

/* Revision 07: exact first-line submenu alignment */
@media (min-width: 981px) {
  /* Align the lower edge of the first submenu line with the lower edge of the
     parent label. These offsets compensate for the different line-height and
     font-size of parent and submenu while preserving the approved horizontal gap. */
  .submenu {
    top: .31em;
    bottom: auto;
  }

  .submenu-years {
    top: .365em;
    bottom: auto;
  }
}

/* Revision 08: user-validated desktop submenu vertical offsets */
@media (min-width: 981px) {
  .submenu {
    top: 0.22em;
    bottom: auto;
  }

  .submenu-years {
    top: 0.9em;
    bottom: auto;
  }
}

/* Revision 09: universal content template, new portrait, shared scroll cues */

/* Biography now follows the same desktop structure as project detail pages:
   copy in column two, imagery in column three, each independently scrollable. */
@media (min-width: 981px) {
  .universal-content-page .text-column,
  .universal-content-page .image-column {
    height: 100dvh;
  }

  .biography-copy {
    padding: var(--edge-y) clamp(22px, 2.05vw, 39px) 7vh clamp(18px, 1.6vw, 31px);
    font-size: var(--body-size);
    line-height: 1.08;
  }

  .biography-copy p {
    margin: 0 0 1.18em;
  }

  .biography-copy p:last-child {
    margin-bottom: 0;
  }

  .biography-gallery {
    height: 100dvh;
    background: var(--paper);
  }

  .biography-image {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    object-fit: cover;
    object-position: 50% 50%;
  }

  .mobile-biography-first-image {
    display: none;
  }

  /* Slightly clearer white separation between consecutive gallery images. */
  .project-gallery .gallery-image + .gallery-image,
  .ikebana-gallery .gallery-image + .gallery-image {
    margin-top: 10px;
  }
}

@media (max-width: 980px) {
  /* Preserve the approved mobile reading order: first portrait, then biography copy. */
  .biography-page .visual-scroll-shell {
    display: none;
  }

  .mobile-biography-first-image {
    display: block;
    width: calc(100% + 40px);
    margin: -24px -20px 26px;
  }

  .mobile-biography-first-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .biography-copy {
    padding-top: 24px;
  }

  .ikebana-gallery .gallery-image + .gallery-image,
  .project-gallery .gallery-image + .gallery-image {
    margin-top: 8px;
  }
}

/* Revision 11: full-screen sliding mobile navigation overlay */
@media (max-width: 980px) {
  /* The interior Menu now reuses the same visual rhythm as the mobile home
     navigation instead of behaving like a stretched desktop sidebar. */
  .sidebar {
    inset: 58px 0 0 0;
    width: 100%;
    height: calc(100dvh - 58px);
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 1;
    pointer-events: none;
    transform: translateX(-100%);
    transition: transform 280ms cubic-bezier(.2, .7, .2, 1), visibility 0s linear 280ms;
    will-change: transform;
    background: var(--paper);
  }

  .site-shell.menu-open .sidebar {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform 280ms cubic-bezier(.2, .7, .2, 1), visibility 0s;
  }

  .primary-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding: 30px 20px 120px;
  }

  .nav-group {
    width: 100%;
    min-height: 0;
    font-size: clamp(42px, 13vw, 62px);
    line-height: .92;
  }

  .nav-primary {
    display: block;
    width: max-content;
    line-height: inherit;
  }

  .nav-group.is-active > .nav-primary {
    transform: translateX(20px);
  }

  .submenu,
  .submenu-years {
    position: static;
    display: flex;
    flex-direction: column;
    width: max-content;
    max-height: 0;
    margin: 0 0 0 20px;
    gap: 10px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    font-size: .5em;
    line-height: 1.08;
    transition: max-height var(--transition), margin-top var(--transition), opacity var(--transition), transform var(--transition), visibility 0s linear 260ms;
  }

  .nav-group.is-active .submenu {
    max-height: 240px;
    margin-top: 22px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .submenu a:hover,
  .submenu a:focus-visible,
  .submenu a[aria-current="page"] {
    transform: translateX(10px);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 980px) {
  .sidebar,
  .site-shell.menu-open .sidebar {
    transition: none;
  }
}

/* V1.1: data-driven typography, universal media, project archive, contact validation */
:root {
  --text-fade-color: rgba(255,255,255,.8);
  --image-fade-color: rgba(255,255,255,.8);
  --font-family-english: "EB Garamond", Garamond, "Times New Roman", serif;
  --font-family-japanese: "Noto Serif JP", "Yu Mincho", serif;
  --font-family-japanese-desktop: "Noto Serif JP", "Yu Mincho", serif;
  --font-family-main: var(--font-family-english);
  --font-family-utility: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --type-body-desktop: clamp(17px,1.42vw,27px);
  --type-small-desktop: clamp(14px,1.08vw,21px);
  --type-navigation-desktop: var(--menu-size);
  --type-submenu-desktop: clamp(15px,1.46vw,28px);
  --type-contentHeading-desktop: var(--body-size);
  --type-projectTitle-desktop: clamp(22px,1.93vw,38px);
  --type-projectCategory-desktop: clamp(16px,1.18vw,23px);
  --type-projectInfo-desktop: clamp(16px,1.18vw,23px);
  --type-projectArchiveTitle-desktop: clamp(21px,1.75vw,34px);
  --type-homeNameEnglish-desktop: clamp(44px,4.35vw,84px);
  --type-homeNameJapanese-desktop: clamp(38px,3.45vw,66px);
  --type-contactSocial-desktop: clamp(14px,1.08vw,21px);
  --type-contactButton-desktop: clamp(14px,1.08vw,21px);
  --type-utilityMessage-desktop: 12px;
  --type-body-mobile: 18px;
  --type-small-mobile: 18px;
  --type-navigation-mobile: clamp(34px,9.8667vw,37px);
  --type-submenu-mobile: clamp(19px,5.6vw,21px);
  --type-contentHeading-mobile: 18px;
  --type-projectTitle-mobile: 22px;
  --type-projectCategory-mobile: 18px;
  --type-projectInfo-mobile: 18px;
  --type-projectArchiveTitle-mobile: 22px;
  --type-mobileHeader-mobile: 21px;
  --type-mobileBrand-mobile: 49.31px;
  --type-contactSocial-mobile: 18px;
  --type-contactButton-mobile: 22px;
  --type-utilityMessage-mobile: 12px;
}

html,
body {
  font-family: var(--font-family-english);
}

.font-english {
  font-family: var(--font-family-english) !important;
}

.font-japanese {
  font-family: var(--font-family-japanese) !important;
}

@media (min-width: 981px) {
  .font-japanese {
    font-family: var(--font-family-japanese-desktop) !important;
  }
}

.field-error,
.character-count {
  font-family: var(--font-family-utility);
}

@media (min-width: 981px) {
  :root {
    --body-size: var(--type-body-desktop);
    --small-size: var(--type-small-desktop);
  }
  .nav-group { font-size: var(--type-navigation-desktop); }
  .submenu, .submenu-years { font-size: var(--type-submenu-desktop); }
  .text-column h1, .text-column h2 { font-size: var(--type-contentHeading-desktop); }
  .project-title { font-size: var(--type-projectTitle-desktop); }
  .project-category { font-size: var(--type-projectCategory-desktop); }
  .project-info { font-size: var(--type-projectInfo-desktop); }
  .project-card-title { font-size: var(--type-projectArchiveTitle-desktop); }
  .sidebar-brand { font-size: var(--type-homeNameEnglish-desktop); letter-spacing: .005em; }
  .home-name-jp { font-size: var(--type-homeNameJapanese-desktop); }
  .contact-social-links { font-size: var(--type-contactSocial-desktop); }
  .submit-button { font-size: var(--type-contactButton-desktop); }
  .field-error, .character-count { font-size: var(--type-utilityMessage-desktop); }
}

.text-scroll-shell .scroll-edge-cue-top {
  background: linear-gradient(to bottom, var(--text-fade-color), rgba(255,255,255,0));
}
.text-scroll-shell .scroll-edge-cue-bottom {
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--text-fade-color));
}
.visual-scroll-shell .scroll-edge-cue-top {
  background: linear-gradient(to bottom, var(--image-fade-color), rgba(255,255,255,0));
}
.visual-scroll-shell .scroll-edge-cue-bottom {
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--image-fade-color));
}

/* Media items can be either images or privacy-enhanced YouTube embeds. */
.gallery-media {
  width: 100%;
  display: block;
  background: var(--paper);
}
.gallery-media + .gallery-media {
  margin-top: 10px;
}
.gallery-media .gallery-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.video-media {
  min-height: 0;
  background: #000;
}
.gallery-media .gallery-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
}
.youtube-media {
  min-height: 0;
  display: block;
  background: #000;
}
.youtube-media iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  border: 0;
  background: #000;
}
.youtube-local-preview {
  place-content: center;
  gap: 12px;
  padding: 32px;
  color: #fff;
  text-align: center;
}
.youtube-local-preview a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .16em;
}
.youtube-local-preview p {
  max-width: 28em;
  margin: 0;
  font-size: var(--small-size);
  line-height: 1.15;
}

/* One continuous archive contains every year, newest to oldest. */
.archive-scroll-shell { min-width: 0; height: 100dvh; }
.project-list { height: 100dvh; padding-bottom: 8vh; }
.project-year-section { width: 100%; scroll-margin-top: 0; }
.project-year-section + .project-year-section { padding-top: clamp(18px, 2.8vh, 34px); }
.project-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 1.38 / 1;
  overflow: hidden;
  background: var(--quiet);
}
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  transform: scale(var(--crop-zoom, 1));
  transform-origin: var(--crop-x, 50%) var(--crop-y, 50%);
}
.project-card-static { cursor: default; }
.project-card-static:hover .project-card-title { text-decoration: none; }
.submenu-years a.is-year-active,
.submenu-years a[aria-current="true"] { transform: translateX(13px); }

/* Clear title hierarchy with a protected Back area.
   V1.2.4 spacing is optically matched to the approved desktop reference:
   compact title → metadata, a light category → info line-space, then a
   deliberately larger breathing space before the body copy. */
.project-heading-row {
  --project-title-meta-gap: clamp(8px, .62vw, 12px);
  --project-meta-copy-gap: clamp(42px, 3.7vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 1.5vw, 28px);
  align-items: start;
  margin-bottom: var(--project-meta-copy-gap);
}
.project-heading-row .project-meta { padding-right: 0; margin-bottom: 0; min-width: 0; }
/* Project metadata must override the generic .text-column h1/p margins. */
.project-meta .project-title,
.project-meta .project-category,
.project-meta .project-info { margin: 0; }
.project-title {
  line-height: .98;
  font-weight: 600;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.project-meta .project-category {
  margin-top: var(--project-title-meta-gap);
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1;
  font-weight: 500;
}
.project-meta .project-info {
  margin-top: .30em;
  margin-bottom: 0;
  padding-top: 0;
  line-height: 1;
  font-weight: 500;
}
.project-copy {
  line-height: 1.12;
}
.project-photo-credit {
  margin: clamp(20px, 2.7vh, 32px) 0 0;
  font-size: clamp(13px, .82vw, 16px);
  line-height: 1.12;
}
.project-photo-credit a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .14em;
}
.project-copy a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .14em;
}

/* Contact links and restrained inline form validation. */
.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55em 1.15em;
  margin-top: clamp(26px, 3.2vh, 42px);
  font-size: var(--type-contactSocial-desktop);
}
.contact-social-links a {
  border-bottom: 1px solid currentColor;
  transition: opacity var(--transition);
}
.contact-social-links a:hover,
.contact-social-links a:focus-visible { opacity: .62; }
.field-error {
  min-height: 1.1em;
  margin: 3px 0 0;
  color: #a51d2d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.2;
}
.form-field input.is-invalid,
.form-field textarea.is-invalid { border-color: #a51d2d; }
.message-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.character-count {
  min-height: 1.1em;
  margin-top: 3px;
  color: var(--ink-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  white-space: nowrap;
}
.form-status.is-error { color: #a51d2d; }
.form-status.is-success { color: var(--ink); }
.submit-button:disabled { opacity: .45; cursor: wait; }
.honeypot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 980px) {
  :root {
    --body-size: var(--type-body-mobile);
    --small-size: var(--type-small-mobile);
  }
  .nav-group { font-size: var(--type-navigation-mobile); }
  .submenu, .submenu-years { font-size: var(--type-submenu-mobile); }
  .text-column h1, .text-column h2 { font-size: var(--type-contentHeading-mobile); }
  .project-title { font-size: var(--type-projectTitle-mobile); }
  .project-category { font-size: var(--type-projectCategory-mobile); }
  .project-info { font-size: var(--type-projectInfo-mobile); }
  .project-card-title { font-size: var(--type-projectArchiveTitle-mobile); }
  .mobile-menu-toggle,
  .mobile-language { font-size: var(--type-mobileHeader-mobile); }
  .mobile-brand { font-size: var(--type-mobileBrand-mobile); }
  .contact-social-links { font-size: var(--type-contactSocial-mobile); }
  .submit-button { font-size: var(--type-contactButton-mobile); }
  .field-error, .character-count { font-size: var(--type-utilityMessage-mobile); }

  /* The mobile header already carries the brand, so the two large Home signatures stay hidden. */
  .home-name-en,
  .home-name-jp { display: none !important; }

  /* Match the approved mobile reference: submenu is clearly indented to the right. */
  .submenu,
  .submenu-years,
  .mobile-home-submenu {
    margin-left: clamp(70px, 18vw, 88px);
  }

  /* Ikebana uses a tighter transition from copy to first visual on mobile. */
  .ikebana-page .text-column { padding-bottom: 28px; }

  .archive-scroll-shell { height: auto; }
  .project-list { height: auto; padding-bottom: 20px; }
  .project-year-section + .project-year-section { padding-top: 18px; }

  .gallery-media + .gallery-media { margin-top: 8px; }
  .gallery-media .gallery-image { min-height: auto; }
  .youtube-media { min-height: 0; }
  .youtube-media iframe { width: 100%; aspect-ratio: 16 / 9; max-height: none; }

  .project-heading-row {
    --project-title-meta-gap: 10px;
    --project-meta-copy-gap: 30px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  .project-heading-row .project-meta { padding-right: 0; }
  .project-meta .project-category { margin-top: var(--project-title-meta-gap); margin-bottom: 0; }
  .project-meta .project-info { margin-top: .30em; margin-bottom: 0; }

  .mobile-project-first-image .gallery-media { margin: 0; }
  .mobile-project-first-image .gallery-media img { display: block; width: 100%; height: auto; }
  .mobile-project-first-image .youtube-media { background: #000; }
  .project-gallery > .gallery-media:first-child { display: none; }

  .mobile-page-scroll-cue-top {
    background: linear-gradient(to bottom, var(--text-fade-color), rgba(255,255,255,0));
  }
  .mobile-page-scroll-cue-bottom {
    background: linear-gradient(to bottom, rgba(255,255,255,0), var(--text-fade-color));
  }
}
@media (max-width: 980px) {
  /* Older prototype rule targeted the first raw img. Galleries now use media wrappers,
     so keep every wrapped image visible and hide only the first media wrapper. */
  .project-gallery .gallery-media .gallery-image { display: block; }
  .project-gallery > .gallery-media:first-child { display: none; }
}

/* V1.3: language-specific font sizes and line spacing from the editor */
:root {
  --line-body-desktop: 1.02;
  --line-biographyCopy-desktop: 1.08;
  --line-projectCopy-desktop: 1.12;
  --line-contactCopy-desktop: 1.08;
  --line-navigation-desktop: .88;
  --line-submenu-desktop: 1.08;
  --line-submenuYears-desktop: 1.12;
  --line-contentHeading-desktop: .98;
  --line-projectTitle-desktop: .98;
  --line-projectCategory-desktop: 1;
  --line-projectInfo-desktop: 1;
  --line-projectArchiveTitle-desktop: 1;
  --line-homeNameEnglish-desktop: .78;
  --line-homeNameJapanese-desktop: .92;
  --line-contactButton-desktop: 1.2;
  --line-utilityMessage-desktop: 1.2;
  --line-body-mobile: 1.388889;
  --line-biographyCopy-mobile: 1.388889;
  --line-projectCopy-mobile: 1.388889;
  --line-contactCopy-mobile: 1.388889;
  --line-navigation-mobile: .88;
  --line-mobileHomeNavigation-mobile: .92;
  --line-submenu-mobile: 1.12;
  --line-mobileHomeSubmenu-mobile: 1.08;
  --line-submenuYears-mobile: 1.12;
  --line-contentHeading-mobile: 1.388889;
  --line-projectTitle-mobile: .98;
  --line-projectCategory-mobile: 1;
  --line-projectInfo-mobile: 1;
  --line-projectArchiveTitle-mobile: 1;
  --line-homeNameEnglish-mobile: .9;
  --line-homeNameJapanese-mobile: .9;
  --line-contactButton-mobile: 1.2;
  --line-utilityMessage-mobile: 1.2;
  --line-mobileHeader-mobile: 1;
  --line-mobileBrand-mobile: 1;
}

@media (min-width: 981px) {
  .text-column { line-height: var(--line-body-desktop); }
  .biography-copy { line-height: var(--line-biographyCopy-desktop); }
  .project-copy { line-height: var(--line-projectCopy-desktop); }
  .contact-copy-inner { line-height: var(--line-contactCopy-desktop); }
  .nav-group { line-height: var(--line-navigation-desktop); }
  .submenu { line-height: var(--line-submenu-desktop); }
  .submenu-years { line-height: var(--line-submenuYears-desktop); }
  .text-column h1,
  .text-column h2 { line-height: var(--line-contentHeading-desktop); }
  .project-title { line-height: var(--line-projectTitle-desktop); }
  .project-meta .project-category { line-height: var(--line-projectCategory-desktop); }
  .project-meta .project-info { line-height: var(--line-projectInfo-desktop); }
  .project-card-title { line-height: var(--line-projectArchiveTitle-desktop); }
  .sidebar-brand { line-height: var(--line-homeNameEnglish-desktop); }
  .home-name-jp { line-height: var(--line-homeNameJapanese-desktop); }
  .submit-button { line-height: var(--line-contactButton-desktop); }
  .field-error,
  .character-count { line-height: var(--line-utilityMessage-desktop); }
}

@media (max-width: 980px) {
  .text-column { line-height: var(--line-body-mobile); }
  .biography-copy { line-height: var(--line-biographyCopy-mobile); }
  .project-copy { line-height: var(--line-projectCopy-mobile); }
  .contact-copy-inner { line-height: var(--line-contactCopy-mobile); }
  .nav-group { line-height: var(--line-navigation-mobile); }
  .mobile-home-nav { font-size: var(--type-navigation-mobile); line-height: var(--line-mobileHomeNavigation-mobile); }
  .submenu { line-height: var(--line-submenu-mobile); }
  .mobile-home-submenu { font-size: var(--type-submenu-mobile); line-height: var(--line-mobileHomeSubmenu-mobile); }
  .submenu-years { line-height: var(--line-submenuYears-mobile); }
  .text-column h1,
  .text-column h2 { line-height: var(--line-contentHeading-mobile); }
  .project-title { line-height: var(--line-projectTitle-mobile); }
  .project-meta .project-category { line-height: var(--line-projectCategory-mobile); }
  .project-meta .project-info { line-height: var(--line-projectInfo-mobile); }
  .project-card-title { line-height: var(--line-projectArchiveTitle-mobile); }
  .home-name-en { line-height: var(--line-homeNameEnglish-mobile); }
  .home-name-jp { line-height: var(--line-homeNameJapanese-mobile); }
  .submit-button { line-height: var(--line-contactButton-mobile); }
  .field-error,
  .character-count { line-height: var(--line-utilityMessage-mobile); }
  .mobile-menu-toggle,
  .mobile-language { line-height: var(--line-mobileHeader-mobile); }
  .mobile-brand { line-height: var(--line-mobileBrand-mobile); }
}

/* Revision 14: keep the active mobile project year fully visible.
   The year link shifts right to show the current archive section, while the
   submenu keeps overflow hidden for its opening animation. Extra inline room
   prevents the transformed final digit from being clipped. */
@media (max-width: 980px) {
  .submenu-years {
    box-sizing: content-box;
    padding-right: 16px;
  }
}

/* Revision 15: balanced mobile copy edges.
   Keep the actual content inset identical on both sides and let mobile body
   copy use the full available measure instead of Safari's prettier early
   line breaks, which can make the right edge look artificially wider. */
@media (max-width: 980px) {
  :root {
    --mobile-copy-edge: 20px;
  }

  .biography-copy,
  .ikebana-page .text-column,
  .contact-copy-inner,
  .contact-form-inner,
  .guidelines-page {
    width: 100%;
    max-width: none;
    padding-left: var(--mobile-copy-edge);
    padding-right: var(--mobile-copy-edge);
  }

  .project-heading-row,
  .project-copy {
    width: 100%;
    max-width: none;
    padding-left: var(--mobile-copy-edge);
    padding-right: var(--mobile-copy-edge);
  }

  .biography-copy,
  .ikebana-page .text-column,
  .project-copy,
  .contact-copy-inner {
    text-wrap: wrap;
  }
}

/* Revision 16: touch-safe mobile archive titles. */
@media (max-width: 980px) {
  .project-card:hover .project-card-title,
  .project-card:focus-visible .project-card-title,
  .project-card-title {
    text-decoration: none;
  }
}

/* Revision 18: mobile submenu links navigate without horizontal movement.
   Touch interaction should not inherit the desktop hover/current-item shift,
   which can briefly clip longer submenu labels before navigation. */
@media (max-width: 980px) {
  .submenu a,
  .mobile-home-submenu a {
    transform: none !important;
  }
}

/* Revision 19: desktop navigation and signature spacing matched to the approved
   1920 × 1080 reference. One shared edge keeps every desktop page aligned. */
@media (min-width: 981px) {
  :root {
    --desktop-reference-edge: clamp(32px, 2.35vw, 45px);
  }

  .sidebar {
    padding: var(--desktop-reference-edge);
    overflow: visible;
  }

  .primary-nav {
    gap: clamp(32px, 2.71vw, 48px);
  }

  .nav-group {
    font-size: var(--type-navigation-desktop);
  }

  .language-toggle {
    margin-top: 4px;
    font-size: clamp(20px, 1.56vw, 30px);
  }

  .sidebar-brand {
    left: var(--desktop-reference-edge);
    bottom: var(--desktop-reference-edge);
    max-width: none;
    overflow: visible;
    font-size: clamp(65px, 6.3vw, 121px);
  }

  .site-shell[data-section="home"] .home-name-jp {
    right: var(--desktop-reference-edge);
    bottom: var(--desktop-reference-edge);
    font-size: clamp(54px, 4.8vw, 92px);
  }

  .site-shell[data-page="ikebana"] .sidebar-brand,
  .site-shell[data-page="project-detail"] .sidebar-brand {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition-delay: 0s, 0s, 260ms;
  }
}

/* Revision 20: Biography uses the full right-hand column as one reading surface.
   The portrait leads the page, then the copy continues below with the existing
   white scroll cue. Mobile keeps the same portrait-then-copy reading order. */
@media (min-width: 981px) {
  .biography-page .biography-spacer {
    min-width: 0;
  }

  .biography-page .biography-content {
    height: 100%;
    padding-bottom: 0;
    background: var(--paper);
  }

  .biography-page .biography-image {
    display: block;
    width: 100%;
    min-height: 0;
    height: 50dvh;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 50% 45%;
  }

  .biography-page .biography-copy {
    width: 100%;
    max-width: none;
    padding: clamp(20px, 2.2vh, 28px) var(--desktop-reference-edge) clamp(78px, 8vh, 100px) 0;
    font-size: var(--body-size);
    line-height: var(--line-biographyCopy-desktop);
    text-wrap: wrap;
  }

  .biography-page .biography-copy p {
    margin: 0 0 1em;
  }

  .biography-page .biography-copy[lang="ja"] p {
    margin-bottom: 1em;
  }

  .biography-page .biography-copy p:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 1800px) and (min-height: 1000px) {
  .biography-page .biography-copy {
    padding-bottom: 0;
  }
}

@media (max-width: 980px) {
  .biography-page .biography-spacer {
    display: none;
  }

  .biography-page .biography-content {
    display: flex;
    flex-direction: column;
  }

  .biography-page .biography-image {
    order: 1;
    aspect-ratio: 1 / 1;
  }

  .biography-page .biography-copy {
    order: 2;
  }
}

/* Revision 21: give the selected desktop submenu item a clearer offset from
   its unselected neighbours while keeping the existing menu alignment. */
@media (min-width: 981px) {
  .submenu a[aria-current="page"] {
    transform: translateX(52px);
  }

  /* Keep the selected year visibly offset while moving it with the same
     controlled transition as the rest of the submenu. */
  .submenu-years a {
    transition: transform 360ms cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
  }

  .submenu-years a.is-year-active,
  .submenu-years a[aria-current="true"] {
    transform: translate3d(52px, 0, 0);
  }
}

/* Revision 26: page rhythm controlled by Design settings. */
:root {
  --space-biographyParagraph-desktop: 1em;
  --space-ikebanaTitleCopy-desktop: 1.55em;
  --space-ikebanaParagraph-desktop: 1.28em;
  --space-projectTitleSubtitle-desktop: clamp(26px, 2.35vw, 42px);
  --space-projectSubtitleCopy-desktop: clamp(45px, 3.55vw, 68px);
  --space-projectParagraph-desktop: 1.28em;
  --space-projectContentCredits-desktop: 1.28em;
  --space-contactParagraph-desktop: 1.1em;
  --space-contactIntroSecondary-desktop: 1.1em;
  --space-contactSecondarySocial-desktop: 1.8em;
  --space-contactSocialForm-desktop: clamp(54px, 6vh, 72px);
  --space-contactMessageInput-desktop: 5px;
  --space-contactMessageSend-desktop: clamp(22px, 2.2vh, 28px);
  --space-biographyParagraph-mobile: 1.388889em;
  --space-ikebanaTitleCopy-mobile: 1.388889em;
  --space-ikebanaParagraph-mobile: 1.388889em;
  --space-projectTitleSubtitle-mobile: 30px;
  --space-projectSubtitleCopy-mobile: 30px;
  --space-projectParagraph-mobile: 1.388889em;
  --space-projectContentCredits-mobile: 1.388889em;
  --space-contactParagraph-mobile: 1.388889em;
  --space-contactIntroSecondary-mobile: 2.777778em;
  --space-contactSecondarySocial-mobile: 1.388889em;
  --space-contactSocialForm-mobile: 39px;
  --space-contactMessageInput-mobile: 7px;
  --space-contactMessageSend-mobile: 22px;
}

@media (min-width: 981px) {
  .biography-page .biography-copy p { margin-bottom: var(--space-biographyParagraph-desktop); }
  .biography-page .biography-copy[lang="ja"] p { margin-bottom: var(--space-biographyParagraph-desktop); }
  .ikebana-page .text-column h1 { margin-bottom: var(--space-ikebanaTitleCopy-desktop); }
  .ikebana-page .text-column p { margin-bottom: var(--space-ikebanaParagraph-desktop); }
  .project-heading-row { margin-bottom: var(--space-projectSubtitleCopy-desktop); }
  .project-meta .project-category,
  .project-meta .project-title + .project-info { margin-top: var(--space-projectTitleSubtitle-desktop); }
  .project-copy-content > p { margin-bottom: var(--space-projectParagraph-desktop); }
  .project-copy .project-photo-credit { margin: var(--space-projectContentCredits-desktop) 0 0; }
  .contact-intro { margin: 0; }
  .contact-intro p { margin: 0 0 var(--space-contactParagraph-desktop); }
  .contact-secondary-copy { margin-top: var(--space-contactIntroSecondary-desktop); }
  .contact-secondary-copy p { margin: 0 0 var(--space-contactParagraph-desktop); }
  .contact-social-links { margin-top: var(--space-contactSecondarySocial-desktop); }
  .contact-form-inner { padding-top: var(--space-contactSocialForm-desktop); }
  .message-field { gap: 0; }
  .message-field textarea { margin-top: var(--space-contactMessageInput-desktop); }
  .contact-form .form-actions {
    margin-top: 0;
    padding-top: var(--space-contactMessageSend-desktop);
  }
}

.biography-page .biography-copy p:last-child,
.ikebana-page .text-column p:last-child,
.contact-intro p:last-child,
.contact-secondary-copy p:last-child { margin-bottom: 0; }
.project-copy.has-credit .project-copy-content > p:last-child { margin-bottom: 0; }
.project-copy .project-photo-credit { margin-bottom: 0; }
.contact-secondary-copy { margin-bottom: 0; }
.contact-copy-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.contact-form { gap: 0; }
.contact-form .form-field + .form-field { margin-top: clamp(22px, 2.2vh, 28px); }

@media (max-width: 980px) {
  .biography-page .biography-copy p,
  .biography-page .biography-copy[lang="ja"] p { margin-bottom: var(--space-biographyParagraph-mobile); }
  .ikebana-page .text-column h1 { margin-bottom: var(--space-ikebanaTitleCopy-mobile); }
  .ikebana-page .text-column p { margin-bottom: var(--space-ikebanaParagraph-mobile); }
  .project-heading-row { margin-bottom: var(--space-projectSubtitleCopy-mobile); }
  .project-meta .project-category,
  .project-meta .project-title + .project-info { margin-top: var(--space-projectTitleSubtitle-mobile); }
  .project-copy-content > p { margin-bottom: var(--space-projectParagraph-mobile); }
  .project-copy .project-photo-credit { margin: var(--space-projectContentCredits-mobile) 0 0; }
  .contact-intro { margin: 0; }
  .contact-intro p { margin: 0 0 var(--space-contactParagraph-mobile); }
  .contact-secondary-copy { margin-top: var(--space-contactIntroSecondary-mobile); }
  .contact-secondary-copy p { margin: 0 0 var(--space-contactParagraph-mobile); }
  .contact-social-links { margin-top: var(--space-contactSecondarySocial-mobile); }
  .contact-form-inner { padding-top: var(--space-contactSocialForm-mobile); }
  .message-field { gap: 0; }
  .message-field textarea { margin-top: var(--space-contactMessageInput-mobile); }
  .contact-form .form-actions {
    margin-top: 0;
    padding-top: var(--space-contactMessageSend-mobile);
  }
}

/* Revision 24: reference-aligned desktop project metadata and submenu grid. */
@media (min-width: 981px) {
  /* Four stable guide lines keep the desktop navigation consistent:
     default menu, selected main menu, default submenu, selected submenu.
     Submenu placement is deliberately independent of the parent label width,
     so About and Projects always use the same column. */
  :root {
    --desktop-nav-active-shift: clamp(102px, 7.6vw, 146px);
    --desktop-submenu-line: clamp(180px, 16.15vw, 310px);
    --desktop-submenu-selected-shift: clamp(24px, 1.98vw, 38px);
  }

  .submenu,
  .submenu-years {
    left: calc(var(--desktop-submenu-line) - var(--desktop-reference-edge));
  }

  .nav-group[data-nav-group="contact"].is-active > .nav-primary {
    transform: translateX(var(--desktop-nav-active-shift));
  }

  /* Keep desktop year hover still; preserve keyboard focus and selected offsets. */
  .submenu-years a:hover:not(:focus-visible):not(.is-year-active):not([aria-current="true"]):not([aria-current="page"]) {
    transform: none;
  }

  .submenu a[aria-current="page"],
  .submenu-years a.is-year-active,
  .submenu-years a[aria-current="true"] {
    transform: translate3d(var(--desktop-submenu-selected-shift), 0, 0);
  }

  .submenu {
    top: 2em;
    gap: .10em;
  }

  .submenu-years {
    top: 1.94em;
  }

  /* Match the reference hierarchy: a clear title-to-subtitle pause, a close
     category/date pair, then generous space before the project body copy. */
  .project-heading-row {
    --project-title-meta-gap: clamp(26px, 2.35vw, 42px);
    --project-meta-copy-gap: clamp(45px, 3.55vw, 68px);
  }

  .project-meta .project-info {
    margin-top: .45em;
  }
}

/* Revision 22: archive anchoring and vector signatures. */
@media (min-width: 981px) {
  .project-list {
    padding-top: 0;
    padding-bottom: 0;
    scroll-padding-top: 0;
  }

  .project-list::after {
    content: "";
    display: block;
    height: var(--archive-tail-space, 0px);
  }

  /* A selected year must begin with its preview at the viewport edge. The
     following project's spacing is provided by the preceding card instead. */
  .project-year-section + .project-year-section {
    padding-top: 0;
  }

  .project-year-section:last-child .project-card:last-child {
    margin-bottom: 0;
  }

  .project-year-section:first-child,
  .project-year-section:first-child .project-card:first-child {
    margin-top: 0;
    padding-top: 0;
  }

  .sidebar-brand img {
    display: block;
    width: auto;
    height: clamp(45px, 4.479vw, 86px);
    max-width: none;
  }

  .home-name-jp img {
    display: block;
    width: clamp(300px, 29.95vw, 575px);
    height: auto;
  }
}

/* Revision 25: optional scroll fades and restrained interaction states. */
.scroll-cues-disabled .scroll-edge-cue,
.scroll-cues-disabled .mobile-page-scroll-cue {
  display: none !important;
}

.project-card-title,
.project-card:hover .project-card-title,
.project-card:focus-visible .project-card-title,
.project-card:active .project-card-title {
  text-decoration: none;
}

/* Revision 26: mobile Home follows the desktop navigation composition. */
@media (max-width: 980px) {
  .site-shell[data-section="home"] {
    min-height: 100dvh;
    padding-top: 0;
  }

  .site-shell[data-section="home"] .mobile-header {
    display: none;
  }

  .site-shell[data-section="home"] .page,
  .site-shell[data-section="home"] .home-page {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .site-shell[data-section="home"] .mobile-home-nav {
    position: relative;
    display: flex;
    gap: clamp(33px, 8.46vw, 43px);
    padding: clamp(20px, 5.13vw, 26px) clamp(20px, 5.13vw, 26px) 110px;
    font-size: clamp(41px, calc(var(--type-navigation-mobile) * .82), 51px);
  }

  .site-shell[data-section="home"] .mobile-home-group {
    position: relative;
    width: auto;
  }

  .site-shell[data-section="home"] .mobile-home-primary,
  .site-shell[data-section="home"] .mobile-home-contact {
    display: block;
    padding: 0;
    font: inherit;
    line-height: inherit;
    color: inherit;
    text-align: left;
  }

  .site-shell[data-section="home"] .mobile-home-group.is-active > .mobile-home-primary {
    transform: translateX(clamp(100px, 25.64vw, 128px));
  }

  .site-shell[data-section="home"] .mobile-home-submenu {
    position: absolute;
    top: clamp(50px, 13vw, 65px);
    left: clamp(167px, 42.82vw, 214px);
    z-index: 1;
    width: max-content;
    margin: 0;
    gap: clamp(6px, 1.8vw, 9px);
    pointer-events: none;
    transform: none;
    font-size: calc(var(--type-submenu-mobile) * 1.16);
  }

  .site-shell[data-section="home"] .mobile-home-group.is-active .mobile-home-submenu {
    max-height: 220px;
    margin: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-shell[data-section="home"] .mobile-home-language {
    display: block;
    padding: 0;
    color: inherit;
    font-family: var(--font-family-english, "EB Garamond", Garamond, serif);
    font-size: var(--type-submenu-mobile);
    line-height: var(--line-mobileHomeSubmenu-mobile);
    text-align: left;
  }

  .site-shell[data-section="home"] .home-name-en {
    position: absolute;
    right: auto;
    bottom: clamp(18px, 4.62vw, 23px);
    left: clamp(20px, 5.13vw, 26px);
    display: block !important;
    width: 88vw;
    line-height: 1;
  }

  .site-shell[data-section="home"] .home-name-en img {
    display: block;
    width: 100%;
    height: auto;
  }

  .site-shell[data-section="home"] .home-name-jp {
    display: none !important;
  }
}

/* Revision 27: mobile return header and image-led content pages. */
.mobile-ikebana-first-image {
  display: none;
}

@media (max-width: 980px) {
  :root {
    --mobile-page-edge: clamp(20px, 5.13vw, 26px);
    --mobile-inner-header-height: clamp(58px, 17vw, 87px);
  }

  .site-shell:not([data-section="home"]) {
    padding-top: var(--mobile-inner-header-height);
  }

  .site-shell:not([data-section="home"]) .page {
    min-height: calc(100dvh - var(--mobile-inner-header-height));
  }

  .mobile-header {
    height: var(--mobile-inner-header-height);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding: 0 var(--mobile-page-edge);
    border-bottom: 0;
    background: var(--paper);
    backdrop-filter: none;
  }

  .mobile-brand,
  .mobile-menu-toggle {
    grid-row: 1;
    font-size: clamp(30px, 9.77vw, 50px);
    line-height: 1;
  }

  .mobile-brand {
    grid-column: 1;
    justify-self: start;
  }

  .mobile-menu-toggle {
    grid-column: 2;
    justify-self: end;
  }

  .mobile-language {
    display: none;
  }

  .mobile-home-submenu a.is-context-current {
    transform: translateX(clamp(28px, 13.32vw, 67px)) !important;
  }

  .mobile-home-group.is-active .mobile-home-submenu {
    overflow: visible;
  }

  .mobile-home-contact.is-context-current {
    transform: translateX(clamp(100px, 25.64vw, 128px));
  }

  .project-detail .project-text,
  .ikebana-page .text-column {
    padding: 0;
    border-bottom: 0;
  }

  .mobile-project-first-image,
  .mobile-ikebana-first-image {
    display: block;
    width: 100%;
    margin: 0 0 var(--mobile-page-edge);
  }

  .mobile-project-first-image .gallery-media,
  .mobile-ikebana-first-image .gallery-media {
    margin: 0;
  }

  .mobile-project-first-image img,
  .mobile-ikebana-first-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .mobile-ikebana-first-image .gallery-image {
    aspect-ratio: 3 / 4 !important;
    object-fit: cover;
  }

  .mobile-project-first-image .gallery-image {
    aspect-ratio: auto !important;
    object-fit: contain;
  }

  .ikebana-copy-content {
    width: 100%;
    padding: 0 var(--mobile-page-edge) var(--mobile-page-edge);
  }

  .project-heading-row,
  .project-copy {
    padding-right: var(--mobile-page-edge);
    padding-left: var(--mobile-page-edge);
  }

  .project-copy {
    padding-bottom: var(--mobile-page-edge);
  }

  .ikebana-gallery > .gallery-media:first-child,
  .project-gallery > .gallery-media:first-child {
    display: none;
  }

  .ikebana-gallery > .gallery-media:first-child + .gallery-media,
  .project-gallery > .gallery-media:first-child + .gallery-media {
    margin-top: 0;
  }

  .ikebana-gallery .gallery-last-media .gallery-back-to-top,
  .project-gallery .gallery-last-media .gallery-back-to-top {
    position: static;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: clamp(36px, 9vw, 45px) var(--mobile-page-edge) var(--mobile-page-edge);
    border-bottom: 0;
    background: var(--paper);
    color: var(--ink);
    font-size: var(--type-small-mobile);
    font-weight: 400;
    line-height: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    text-shadow: none;
    transform: none;
    transition: opacity 160ms ease;
  }
}

/* Revision 29: mobile Contact action alignment. */
@media (max-width: 980px) {
  .contact-social-links {
    justify-content: flex-end;
    text-align: right;
  }

  .contact-form .form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .contact-form .form-status {
    grid-row: 1;
    grid-column: 1;
  }

  .contact-form .submit-button {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
    min-height: 48px;
    padding: 0;
    border-bottom: 0;
  }

  .contact-form .submit-button-label {
    display: block;
    padding-bottom: .04em;
    border-bottom: 1px solid currentColor;
    line-height: 1;
  }

  .contact-form-inner {
    padding-bottom: var(--mobile-page-edge);
  }

  .contact-copy-inner,
  .contact-form-inner {
    padding-right: var(--mobile-page-edge);
    padding-left: var(--mobile-page-edge);
  }

  .contact-copy-inner {
    padding-top: var(--mobile-page-edge);
  }
}

/* Revision 30: desktop Back to Top footer. */
@media (min-width: 981px) {
  .ikebana-gallery .gallery-last-media .gallery-back-to-top,
  .project-gallery .gallery-last-media .gallery-back-to-top {
    position: static;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: var(--desktop-reference-edge);
    border-bottom: 0;
    background: var(--paper);
    color: var(--ink);
    font-size: var(--type-small-desktop);
    font-weight: 400;
    line-height: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    text-shadow: none;
    transform: none;
    transition: opacity 160ms ease;
  }

  .ikebana-gallery .gallery-last-media .gallery-back-to-top:hover,
  .ikebana-gallery .gallery-last-media .gallery-back-to-top:focus-visible,
  .project-gallery .gallery-last-media .gallery-back-to-top:hover,
  .project-gallery .gallery-last-media .gallery-back-to-top:focus-visible {
    text-shadow: none;
  }
}

/* Revision 31: editor-controlled gaps between consecutive project media. */
@media (min-width: 981px) {
  .project-gallery > .gallery-media + .gallery-media {
    margin-top: var(--space-projectMediaGap-desktop);
  }
}

@media (max-width: 980px) {
  .project-gallery > .gallery-media + .gallery-media {
    margin-top: var(--space-projectMediaGap-mobile);
  }

  .project-gallery > .gallery-media:first-child + .gallery-media {
    margin-top: 0;
  }
}

/* September 2026 desktop reference. Mobile keeps its approved layout. */
@media (min-width: 981px) {
  :root {
    --sidebar-width: 28.28125vw;
    --text-column-width: 23.4375vw;
    --image-column-width: 48.28125vw;
    --desktop-nav-active-shift: clamp(76px, 6.9271vw, 133px);
    --desktop-submenu-line: clamp(172px, 15.625vw, 300px);
    --desktop-submenu-selected-shift: clamp(39px, 3.59375vw, 69px);
    --desktop-copy-top: clamp(23px, 2.13542vw, 41px);
  }

  .sidebar { padding-top: clamp(23px, 2.10417vw, 40.4px); }
  .primary-nav { gap: clamp(25px, 2.26042vw, 43.4px); }
  .language-toggle { font-size: clamp(18px, 1.66667vw, 32px); }
  .language-toggle .language-option,
  .language-toggle .language-option:hover,
  .language-toggle .language-option.is-current {
    font-weight: 400;
    text-decoration: none;
    transition: none;
  }
  .submenu { gap: .34857em; font-weight: 500; }
  .submenu-years {
    top: 2.085em;
    font-size: calc(var(--type-submenu-desktop) * .942857);
    line-height: 1.12727;
    gap: .10em;
    font-weight: 600;
  }
  .sidebar-brand { left: calc(var(--desktop-reference-edge) - 4px); bottom: calc(var(--desktop-reference-edge) - 5px); }
  .sidebar-brand img { height: clamp(50px, 4.515625vw, 86.7px); }
  .site-shell[data-section="home"] .home-name-jp { right: clamp(32px, 2.8125vw, 54px); bottom: clamp(23px, 2.01042vw, 38.6px); }
  .home-name-jp img { width: clamp(300px, 30.20833vw, 580px); }

  html[lang="en"] .page { hyphens: none; }
  .text-column,
  .project-detail .text-column {
    padding: var(--desktop-copy-top) clamp(17px, 1.5625vw, 30px) 7vh 0;
    text-align: left;
    text-wrap: wrap;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }
  .font-japanese { font-weight: 600; font-feature-settings: "palt"; }
  .biography-copy[lang="ja"] p,
  .text-column[lang="ja"] .font-japanese p,
  .text-column[lang="ja"] p.font-japanese,
  .contact-page[lang="ja"] .contact-intro p {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-character;
  }
  .biography-page .biography-image { height: 32.125vw; }
  .biography-page .biography-copy {
    padding-top: var(--desktop-copy-top);
    padding-bottom: var(--desktop-copy-top);
    padding-right: clamp(28px, 2.60417vw, 50px);
  }
  .ikebana-page .text-column h1 {
    font-weight: 400;
    line-height: var(--line-body-desktop);
  }
  .ikebana-page .text-column h1.font-japanese { font-weight: 600; }
  .ikebana-gallery > .gallery-media + .gallery-media,
  .project-gallery > .gallery-media + .gallery-media {
    margin-top: var(--space-projectMediaGap-desktop);
  }
  .ikebana-gallery .gallery-last-media .gallery-back-to-top,
  .project-gallery .gallery-last-media .gallery-back-to-top {
    font-size: var(--desktop-back-to-top-size);
  }
  html[lang="en"] .ikebana-copy-content h1::after { content: ":"; }
  .project-heading-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .project-meta .project-title {
    font-size: var(--type-projectTitle-desktop);
    line-height: var(--line-projectTitle-desktop);
    font-weight: 500;
    text-wrap: wrap;
    overflow-wrap: normal;
  }
  .project-meta .project-category,
  .project-meta .project-info { font-weight: 400; }
  .project-meta .project-info { margin-top: 0; }
  .project-card-title { font-weight: 500; }
  .project-card-media { aspect-ratio: 1.5 / 1; }
  .project-card { margin-bottom: clamp(30px, 5vh, 60px); }

  .contact-copy-inner {
    padding: var(--desktop-copy-top) clamp(28px, 2.60417vw, 50px) 0 0;
  }
  .contact-social-links {
    justify-content: flex-end;
    gap: .55em .65em;
    line-height: 1.232143;
  }
  .contact-form-inner {
    padding-right: clamp(28px, 2.60417vw, 50px);
    padding-left: 0;
  }
  .contact-form { width: 100%; max-width: none; }
  .form-field label {
    font-size: var(--small-size);
    line-height: calc(var(--type-contactSocial-desktop) * 1.232143);
  }
  .form-field input { height: clamp(30px, 2.484375vw, 47.7px); }
  .contact-form .form-field + .form-field { margin-top: clamp(29px, 2.64583vw, 50.8px); }
  .message-field textarea {
    min-height: clamp(100px, 7.8646vw, 151px);
    height: clamp(100px, 7.8646vw, 151px);
  }
  .field-error:empty,
  .character-count:empty,
  .message-meta:not(:has(.field-error:not(:empty), .character-count:not(:empty))) { display: none; }
  .contact-form .form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  .contact-form .submit-button { grid-column: 2; grid-row: 1; }
  .contact-form .form-status { grid-column: 1; grid-row: 1; margin: 0; }
}

/* September 2026 mobile reference. */
@media (max-width: 980px) {
  :root {
    --mobile-page-edge: 20px;
    --mobile-copy-edge: 20px;
    --mobile-inner-header-height: clamp(68px, 19.7333vw, 74px);
  }

  html,
  body {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
  }

  .site-shell:not([data-section="home"]) {
    padding-top: var(--mobile-inner-header-height);
  }

  .site-shell:not([data-section="home"]) .page {
    min-height: calc(100dvh - var(--mobile-inner-header-height));
  }

  .mobile-header {
    height: var(--mobile-inner-header-height);
    padding: 0 var(--mobile-page-edge);
  }

  .mobile-brand {
    font-size: clamp(44px, 13.0667vw, var(--type-mobileBrand-mobile));
    line-height: var(--line-mobileBrand-mobile);
  }

  .mobile-menu-toggle {
    font-size: clamp(18px, 5.6vw, var(--type-mobileHeader-mobile));
    line-height: var(--line-mobileHeader-mobile);
  }

  .site-shell[data-section="home"] .home-page {
    position: relative;
    height: 100dvh;
    min-height: 100dvh;
  }

  .site-shell[data-section="home"] .home-name-en {
    top: 20px;
    right: auto;
    bottom: auto;
    left: var(--mobile-page-edge);
    width: min(69.3333vw, 260px);
  }

  .site-shell[data-section="home"] .mobile-home-nav {
    gap: 30px;
    padding: 88px var(--mobile-page-edge) 110px;
    font-size: clamp(34px, 9.8667vw, var(--type-navigation-mobile));
    line-height: var(--line-mobileHomeNavigation-mobile);
  }

  .site-shell[data-section="home"] .mobile-home-group.is-active > .mobile-home-primary,
  .site-shell[data-section="home"] .mobile-home-contact.is-context-current {
    transform: translateX(clamp(82px, 25.6vw, 96px));
  }

  .site-shell[data-section="home"] .mobile-home-submenu {
    top: 50px;
    left: clamp(145px, 44.5333vw, 167px);
    gap: 8px;
    margin: 0;
    font-size: clamp(19px, 5.6vw, var(--type-submenu-mobile));
    line-height: var(--line-mobileHomeSubmenu-mobile);
  }

  .site-shell[data-section="home"] .mobile-home-submenu a.is-context-current {
    transform: translateX(clamp(24px, 7.4667vw, 28px)) !important;
  }

  .site-shell[data-section="home"] .mobile-home-group[data-home-group="projects"].is-active {
    margin-bottom: 56px;
  }

  .site-shell[data-section="home"] .mobile-home-language {
    font-size: clamp(18px, 5.3333vw, 20px);
    line-height: 1;
    transform: translateY(13px);
  }

  .biography-page .biography-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover;
    object-position: 50% 45%;
  }

  .biography-page .biography-copy {
    padding-top: 15px;
  }

  html[lang="en"] .biography-copy,
  html[lang="en"] .ikebana-copy-content,
  html[lang="en"] .project-copy,
  html[lang="en"] .contact-copy-inner {
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .biography-page .biography-copy[lang="ja"] p,
  .text-column[lang="ja"] .font-japanese p,
  .text-column[lang="ja"] p.font-japanese,
  .contact-page[lang="ja"] .contact-intro p,
  .contact-page[lang="ja"] .contact-secondary-copy p {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-character;
  }

  .ikebana-page .text-column h1 {
    font-weight: 400;
    line-height: var(--line-body-mobile);
  }

  .ikebana-page .text-column h1.font-japanese {
    font-weight: inherit;
  }

  html[lang="en"] .ikebana-copy-content h1::after {
    content: ":";
  }

  .project-list {
    padding-right: 0;
    padding-left: 0;
  }

  .project-card-media {
    aspect-ratio: 1.5 / 1;
  }

  .project-card-title,
  .project-card-date {
    padding-right: var(--mobile-page-edge);
    padding-left: var(--mobile-page-edge);
  }

  .project-card-date {
    display: none;
  }

  .ikebana-gallery .gallery-last-media .gallery-back-to-top,
  .project-gallery .gallery-last-media .gallery-back-to-top {
    font-size: 21px;
  }

  .project-gallery .gallery-last-media .gallery-back-to-top {
    padding-bottom: clamp(36px, 9vw, 45px);
  }

  .project-meta .project-title {
    font-size: var(--type-projectTitle-mobile);
    line-height: var(--line-projectTitle-mobile);
  }

  .project-meta .project-category,
  .project-meta .project-title + .project-info {
    margin-top: 30px;
  }

  html[lang="en"] .contact-copy-inner {
    padding-top: 6px;
  }

  html[lang="ja"] .contact-copy-inner {
    padding-top: 19px;
  }

  html[lang="ja"] .contact-secondary-copy {
    margin-top: 50px;
  }

  html[lang="ja"] .contact-social-links {
    margin-top: 25px;
  }

  .contact-form .form-field + .form-field {
    margin-top: 19px;
  }

  .contact-form .message-field textarea {
    min-height: 154px;
    height: 154px;
  }

  .field-error:empty,
  .character-count:empty,
  .message-meta:not(:has(.field-error:not(:empty), .character-count:not(:empty))) {
    display: none;
  }

  .biography-copy[lang="ja"] p,
  .ikebana-page .text-column[lang="ja"] p,
  .project-detail .text-column[lang="ja"] .project-copy-content > p,
  .contact-page[lang="ja"] .contact-intro p,
  .contact-page[lang="ja"] .contact-secondary-copy p {
    margin-bottom: 25px;
  }

  .ikebana-page .text-column[lang="ja"] h1,
  .project-detail .text-column[lang="ja"] .project-photo-credit {
    margin-bottom: 25px;
  }

  .biography-page .biography-copy[lang="ja"] p:last-child,
  .ikebana-page .text-column[lang="ja"] p:last-child,
  .project-detail .text-column[lang="ja"] .project-copy-content > p:last-child,
  .contact-page[lang="ja"] .contact-intro p:last-child,
  .contact-page[lang="ja"] .contact-secondary-copy p:last-child {
    margin-bottom: 0;
  }
}

/* September 20, 2026 mobile feedback refinement. */
@media (max-width: 980px) {
  .mobile-header {
    border: 0;
    outline: 0;
    background: var(--paper);
    box-shadow: none;
  }

  .mobile-menu-toggle {
    align-self: start;
    margin-top: 20px;
  }

  .mobile-brand {
    font-weight: 400;
    white-space: nowrap;
  }

  .mobile-menu-toggle,
  .mobile-home-nav,
  .primary-nav,
  .mobile-home-submenu,
  .submenu,
  .submenu-years,
  .mobile-home-language,
  .site-shell.menu-open .language-toggle {
    font-weight: 500;
  }

  html[lang="ja"] .font-japanese {
    font-weight: 600 !important;
    font-feature-settings: "palt";
  }

  html[lang="en"] .biography-copy,
  html[lang="en"] .ikebana-copy-content,
  html[lang="en"] .project-copy,
  html[lang="en"] .contact-copy-inner {
    font-weight: 400;
  }

  .site-shell[data-section="home"] .mobile-home-submenu {
    left: clamp(132px, 42.6667vw, 160px);
    gap: 8px;
    font-size: clamp(23px, 6.9333vw, var(--type-submenu-mobile));
    line-height: 1.08;
  }

  .site-shell[data-section="home"] .mobile-home-submenu a.is-context-current {
    transform: translateX(clamp(38px, 12.8vw, 48px)) !important;
  }

  .site-shell[data-section="home"] .mobile-home-group[data-home-group="projects"].is-active {
    margin-bottom: 0;
  }

  .sidebar {
    inset: var(--mobile-inner-header-height) 0 0;
    width: 100%;
    height: calc(100dvh - var(--mobile-inner-header-height));
    padding: 14px var(--mobile-page-edge) 20px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .primary-nav {
    position: relative;
    gap: 30px;
    padding: 0;
  }

  .nav-group {
    line-height: .88;
  }

  .nav-primary {
    font-weight: 500;
  }

  .nav-group.is-active > .nav-primary,
  .nav-group[data-nav-group="contact"].is-active > .nav-primary {
    transform: translateX(clamp(82px, 25.6vw, 96px));
  }

  .submenu,
  .submenu-years {
    position: absolute;
    top: 44px;
    left: clamp(132px, 42.6667vw, 160px);
    width: max-content;
    margin: 0;
    gap: 8px;
    font-size: clamp(23px, 6.9333vw, var(--type-submenu-mobile));
    line-height: 1.08;
    transform: none;
  }

  .nav-group.is-active .submenu {
    margin: 0;
    overflow: visible;
  }

  .site-shell.menu-open .submenu a[aria-current="page"],
  .site-shell.menu-open .submenu-years a.is-year-active,
  .site-shell.menu-open .submenu-years a[aria-current="true"] {
    transform: translateX(clamp(38px, 12.8vw, 48px)) !important;
  }

  .site-shell.menu-open .language-toggle {
    display: inline-flex;
    margin: 0;
    font-size: 20px;
    line-height: 1;
    transform: translateY(13px);
  }

  .project-meta .project-title,
  .project-card-title {
    font-weight: 500;
  }

  .ikebana-gallery > .gallery-media + .gallery-media,
  .project-gallery > .gallery-media + .gallery-media {
    margin-top: var(--space-projectMediaGap-mobile);
  }

  .ikebana-gallery > .gallery-media:first-child + .gallery-media,
  .project-gallery > .gallery-media:first-child + .gallery-media {
    margin-top: 0;
  }
}

/* September 26, 2026: direct mobile navigation and consistent archive rhythm. */
@media (max-width: 980px) {
  .sidebar .submenu { display: none; }
  .nav-group.is-active > .nav-primary,
  .nav-group[data-nav-group="contact"].is-active > .nav-primary,
  .nav-primary:hover,
  .nav-primary:focus-visible { transform: none; }
  .project-year-section + .project-year-section { padding-top: 0; }
  /* The appended section shares Ikebana's existing media and copy layout. */
  .biography-page + .ikebana-page .mobile-page-scroll-cue { display: none; }
  .contact-social-links { line-height: 1.388889; }
}

/* Preserve the English underline reference. The Japanese glyphs extend
   farther below the baseline, so their Send label needs extra clearance. */
@media (max-width: 980px) {
  html[lang="ja"] .contact-form .submit-button-label { padding-bottom: .19em; }
}
@media (min-width: 981px) {
  html[lang="ja"] .contact-form .submit-button { padding-bottom: .13em; }
}

/* Editor typography controls: desktop. */
@media (min-width: 981px) {
  .biography-copy, .text-column, .project-copy, .contact-copy-inner, .form-field input, .form-field textarea { letter-spacing: var(--tracking-body-desktop, 0em); }
  .form-field label, .gallery-back-to-top { letter-spacing: var(--tracking-small-desktop, 0em); }
  .nav-primary, .mobile-home-primary, .mobile-home-contact { letter-spacing: var(--tracking-navigation-desktop, 0em); }
  .submenu a { letter-spacing: var(--tracking-submenu-desktop, 0em); }
  .text-column h1, .text-column h2 { letter-spacing: var(--tracking-contentHeading-desktop, 0em); }
  .project-meta .project-title { letter-spacing: var(--tracking-projectTitle-desktop, 0em); }
  .project-meta .project-category { letter-spacing: var(--tracking-projectCategory-desktop, 0em); }
  .project-meta .project-info { letter-spacing: var(--tracking-projectInfo-desktop, 0em); }
  .project-card-title { letter-spacing: var(--tracking-projectArchiveTitle-desktop, 0em); }
  .contact-social-links { letter-spacing: var(--tracking-contactSocial-desktop, 0em); }
  .contact-form .submit-button { letter-spacing: var(--tracking-contactButton-desktop, 0em); }
  .field-error, .character-count, .form-status { letter-spacing: var(--tracking-utilityMessage-desktop, 0em); }
  .language-control, .site-shell[data-section="home"] .mobile-home-language { letter-spacing: var(--tracking-language-desktop, 0em); }
  html[lang] .nav-primary, html[lang] .site-shell[data-section="home"] .mobile-home-primary, html[lang] .site-shell[data-section="home"] .mobile-home-contact { font-weight: var(--weight-navigation-desktop) !important; }
  html[lang] .submenu a { font-weight: var(--weight-submenu-desktop) !important; }
  html[lang] .submenu-years a { font-weight: var(--weight-submenuYears-desktop) !important; }
  html[lang] .language-control, html[lang] .language-control .language-option, html[lang] .language-control .language-option:hover, html[lang] .language-control .language-option.is-current { font-weight: var(--weight-language-desktop) !important; }
}

/* Editor typography controls: mobile. */
@media (max-width: 980px) {
  .biography-copy, .text-column, .project-copy, .contact-copy-inner, .form-field input, .form-field textarea { letter-spacing: var(--tracking-body-mobile, 0em); }
  .form-field label, .gallery-back-to-top { letter-spacing: var(--tracking-small-mobile, 0em); }
  .nav-primary, .mobile-home-primary, .mobile-home-contact { letter-spacing: var(--tracking-navigation-mobile, 0em); }
  .submenu a { letter-spacing: var(--tracking-submenu-mobile, 0em); }
  .text-column h1, .text-column h2 { letter-spacing: var(--tracking-contentHeading-mobile, 0em); }
  .project-meta .project-title { letter-spacing: var(--tracking-projectTitle-mobile, 0em); }
  .project-meta .project-category { letter-spacing: var(--tracking-projectCategory-mobile, 0em); }
  .project-meta .project-info { letter-spacing: var(--tracking-projectInfo-mobile, 0em); }
  .project-card-title { letter-spacing: var(--tracking-projectArchiveTitle-mobile, 0em); }
  .contact-social-links { letter-spacing: var(--tracking-contactSocial-mobile, 0em); }
  .contact-form .submit-button { letter-spacing: var(--tracking-contactButton-mobile, 0em); }
  .field-error, .character-count, .form-status { letter-spacing: var(--tracking-utilityMessage-mobile, 0em); }
  .language-control, .site-shell[data-section="home"] .mobile-home-language { letter-spacing: var(--tracking-language-mobile, 0em); }
  .mobile-menu-toggle { letter-spacing: var(--tracking-mobileHeader-mobile, 0em); }
  .mobile-brand { letter-spacing: var(--tracking-mobileBrand-mobile, 0em); }
  html[lang] .nav-primary, html[lang] .site-shell[data-section="home"] .mobile-home-primary, html[lang] .site-shell[data-section="home"] .mobile-home-contact, html[lang] .mobile-menu-toggle { font-weight: var(--weight-navigation-mobile) !important; }
  html[lang] .submenu a { font-weight: var(--weight-submenu-mobile) !important; }
  html[lang] .submenu-years a { font-weight: var(--weight-submenuYears-mobile) !important; }
  html[lang] .language-control, html[lang] .language-control .language-option, html[lang] .language-control .language-option:hover, html[lang] .language-control .language-option.is-current { font-weight: var(--weight-language-mobile) !important; }
}

/* Mobile Home shares the same live brand as the inner-page header. */
@media (max-width: 980px) {
  .site-shell[data-section="home"] .mobile-header { display: grid; }
  .site-shell[data-section="home"] .home-name-en { display: none !important; }
  html[lang] .language-control .language-option.is-current {
    font-weight: min(800, calc(var(--weight-language-mobile) + 100)) !important;
  }
  .biography-page .biography-content { padding-bottom: 0; }
  .biography-page .biography-copy {
    padding-bottom: var(--space-biographyIkebana-mobile, 25px);
  }
}

/* Optional editor weights preserve existing typography until a value is set. */
@media (min-width: 981px) {
  html[data-weight-biographycopy-desktop] .biography-copy, html[data-weight-biographycopy-desktop] .biography-copy .font-japanese { font-weight: var(--weight-biographyCopy-desktop) !important; }
  html[data-weight-ikebanaheading-desktop] .ikebana-copy-content h1 { font-weight: var(--weight-ikebanaHeading-desktop) !important; }
  html[data-weight-ikebanacopy-desktop] .ikebana-copy-content p, html[data-weight-ikebanacopy-desktop] .ikebana-copy-content p .font-japanese { font-weight: var(--weight-ikebanaCopy-desktop) !important; }
  html[data-weight-projectarchivetitle-desktop] .project-card-title { font-weight: var(--weight-projectArchiveTitle-desktop) !important; }
  html[data-weight-projectarchivedate-desktop] .project-card-date { font-weight: var(--weight-projectArchiveDate-desktop) !important; }
  html[data-weight-archiveplaceholder-desktop] .archive-placeholder { font-weight: var(--weight-archivePlaceholder-desktop) !important; }
  html[data-weight-projecttitle-desktop] .project-meta .project-title { font-weight: var(--weight-projectTitle-desktop) !important; }
  html[data-weight-projectcategory-desktop] .project-meta .project-category { font-weight: var(--weight-projectCategory-desktop) !important; }
  html[data-weight-projectinfo-desktop] .project-meta .project-info { font-weight: var(--weight-projectInfo-desktop) !important; }
  html[data-weight-projectcopy-desktop] .project-copy-content, html[data-weight-projectcopy-desktop] .project-copy-content .font-japanese { font-weight: var(--weight-projectCopy-desktop) !important; }
  html[data-weight-projectcredit-desktop] .project-copy .project-photo-credit { font-weight: var(--weight-projectCredit-desktop) !important; }
  html[data-weight-contactintro-desktop] .contact-intro, html[data-weight-contactintro-desktop] .contact-intro .font-japanese { font-weight: var(--weight-contactIntro-desktop) !important; }
  html[data-weight-contactsecondary-desktop] .contact-secondary-copy, html[data-weight-contactsecondary-desktop] .contact-secondary-copy .font-japanese { font-weight: var(--weight-contactSecondary-desktop) !important; }
  html[data-weight-contactsocial-desktop] .contact-social-links a { font-weight: var(--weight-contactSocial-desktop) !important; }
  html[data-weight-formlabel-desktop] .form-field label { font-weight: var(--weight-formLabel-desktop) !important; }
  html[data-weight-forminput-desktop] .form-field input, html[data-weight-forminput-desktop] .form-field textarea { font-weight: var(--weight-formInput-desktop) !important; }
  html[data-weight-contactbutton-desktop] .contact-form .submit-button { font-weight: var(--weight-contactButton-desktop) !important; }
  html[data-weight-utilitymessage-desktop] .field-error, html[data-weight-utilitymessage-desktop] .character-count, html[data-weight-utilitymessage-desktop] .form-status { font-weight: var(--weight-utilityMessage-desktop) !important; }
  html[data-weight-backtotop-desktop] .gallery-back-to-top { font-weight: var(--weight-backToTop-desktop) !important; }
}
@media (max-width: 980px) {
  html[data-weight-biographycopy-mobile] .biography-copy, html[data-weight-biographycopy-mobile] .biography-copy .font-japanese { font-weight: var(--weight-biographyCopy-mobile) !important; }
  html[data-weight-ikebanaheading-mobile] .ikebana-copy-content h1 { font-weight: var(--weight-ikebanaHeading-mobile) !important; }
  html[data-weight-ikebanacopy-mobile] .ikebana-copy-content p, html[data-weight-ikebanacopy-mobile] .ikebana-copy-content p .font-japanese { font-weight: var(--weight-ikebanaCopy-mobile) !important; }
  html[data-weight-projectarchivetitle-mobile] .project-card-title { font-weight: var(--weight-projectArchiveTitle-mobile) !important; }
  html[data-weight-archiveplaceholder-mobile] .archive-placeholder { font-weight: var(--weight-archivePlaceholder-mobile) !important; }
  html[data-weight-projecttitle-mobile] .project-meta .project-title { font-weight: var(--weight-projectTitle-mobile) !important; }
  html[data-weight-projectcategory-mobile] .project-meta .project-category { font-weight: var(--weight-projectCategory-mobile) !important; }
  html[data-weight-projectinfo-mobile] .project-meta .project-info { font-weight: var(--weight-projectInfo-mobile) !important; }
  html[data-weight-projectcopy-mobile] .project-copy-content, html[data-weight-projectcopy-mobile] .project-copy-content .font-japanese { font-weight: var(--weight-projectCopy-mobile) !important; }
  html[data-weight-projectcredit-mobile] .project-copy .project-photo-credit { font-weight: var(--weight-projectCredit-mobile) !important; }
  html[data-weight-contactintro-mobile] .contact-intro, html[data-weight-contactintro-mobile] .contact-intro .font-japanese { font-weight: var(--weight-contactIntro-mobile) !important; }
  html[data-weight-contactsecondary-mobile] .contact-secondary-copy, html[data-weight-contactsecondary-mobile] .contact-secondary-copy .font-japanese { font-weight: var(--weight-contactSecondary-mobile) !important; }
  html[data-weight-contactsocial-mobile] .contact-social-links a { font-weight: var(--weight-contactSocial-mobile) !important; }
  html[data-weight-formlabel-mobile] .form-field label { font-weight: var(--weight-formLabel-mobile) !important; }
  html[data-weight-forminput-mobile] .form-field input, html[data-weight-forminput-mobile] .form-field textarea { font-weight: var(--weight-formInput-mobile) !important; }
  html[data-weight-contactbutton-mobile] .contact-form .submit-button { font-weight: var(--weight-contactButton-mobile) !important; }
  html[data-weight-utilitymessage-mobile] .field-error, html[data-weight-utilitymessage-mobile] .character-count, html[data-weight-utilitymessage-mobile] .form-status { font-weight: var(--weight-utilityMessage-mobile) !important; }
  html[data-weight-backtotop-mobile] .gallery-back-to-top { font-weight: var(--weight-backToTop-mobile) !important; }
  html[data-weight-mobilemenu-mobile] .mobile-menu-toggle { font-weight: var(--weight-mobileMenu-mobile) !important; }
  html[data-weight-mobilebrand-mobile] .mobile-brand { font-weight: var(--weight-mobileBrand-mobile) !important; }
}

/* Mobile follows the desktop social-link spacing reference. */
@media (max-width: 980px) {
  .contact-social-links { gap: .55em .65em; }
  .sidebar { padding-top: var(--space-mobileMenuHeaderGap-mobile, 34px); }
  .site-shell[data-section="home"] .mobile-home-nav {
    padding-top: calc(var(--mobile-inner-header-height) + var(--space-mobileMenuHeaderGap-mobile, 34px));
  }
}

/* Credits use the English treatment in both website languages. */
.project-detail .text-column .project-copy .project-photo-credit {
  font-weight: 400;
  font-feature-settings: normal;
  text-align: left;
  text-align-last: auto;
  margin-bottom: 0;
}
@media (min-width: 981px) {
  .project-detail .text-column .project-copy .project-photo-credit {
    letter-spacing: var(--tracking-projectCredit-desktop, 0em);
  }
}
@media (max-width: 980px) {
  .project-detail .text-column .project-copy .project-photo-credit {
    letter-spacing: var(--tracking-projectCredit-mobile, 0em);
  }
}
