:root {
  --ink: #2f2a24;
  --muted: #60706c;
  --paper: #f7f3ea;
  --sea: #1b7a84;
  --sea-dark: #0f4d55;
  --line: rgba(29, 39, 37, 0.14);
  --white: #ffffff;
  --sticky-nav-height: 60px;
  --anchor-scroll-offset: calc(var(--sticky-nav-height) + 18px);
  --mobile-menu-gap: 12px;
  --header-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    "Yu Gothic UI", sans-serif;
  line-height: 1.75;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.45;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

dt {
  color: rgba(255, 255, 255, 0.62);
}

dd {
  margin: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sea);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header {
  --header-brand-color: rgb(
    calc(255 - (var(--header-progress) * 194))
      calc(255 - (var(--header-progress) * 184))
      calc(255 - (var(--header-progress) * 186))
  );
  --header-brand-shadow: drop-shadow(
    0 1px 10px rgba(0, 0, 0, calc(0.44 - (var(--header-progress) * 0.44)))
  );

  position: sticky;
  z-index: 20;
  top: 0;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--sticky-nav-height);
  margin-top: calc(var(--sticky-nav-height) * -1);
  padding: 8px clamp(10px, 2vw, 22px);
  background: rgba(233, 232, 223, calc(0.06 + (var(--header-progress) * 0.8)));
  border-bottom: 1px solid rgba(29, 39, 37, calc(var(--header-progress) * 0.14));
  backdrop-filter: blur(3px);
  box-shadow: 0 18px 44px rgba(29, 39, 37, calc(var(--header-progress) * 0.12));
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.brand {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 16px;
  min-width: 360px;
  opacity: var(--header-progress);
  transform: translateY(calc((1 - var(--header-progress)) * -6px));
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.brand-logo {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  background: var(--header-brand-color);
  filter: var(--header-brand-shadow);
  mask: url("/assets/renobase-logo.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/renobase-logo.svg") center / contain no-repeat;
}

.brand-text {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-wordmark,
.brand small {
  display: inline-block;
}

.brand-wordmark {
  width: clamp(80px, 20vw, 130px);
  aspect-ratio: 430 / 53;
  background: var(--header-brand-color);
  filter: var(--header-brand-shadow);
  mask: url("/assets/renobase-wordmark.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/renobase-wordmark.svg") center / contain no-repeat;
}

.brand small {
  color: rgb(
    calc(255 - (var(--header-progress) * 159))
      calc(255 - (var(--header-progress) * 143))
      calc(255 - (var(--header-progress) * 147))
  );
  font-size: 11px;
  line-height: 1.2;
  text-shadow: 0 1px 10px
    rgba(0, 0, 0, calc(0.38 - (var(--header-progress) * 0.38)));
}

.nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgb(
    calc(255 - (var(--header-progress) * 159))
      calc(255 - (var(--header-progress) * 143))
      calc(255 - (var(--header-progress) * 147))
  );
  font-size: 14px;
  white-space: nowrap;
  text-shadow: 0 1px 10px
    rgba(0, 0, 0, calc(0.38 - (var(--header-progress) * 0.38)));
}

.nav a {
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--sea-dark);
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0);
  color: rgb(
    calc(255 - (var(--header-progress) * 226))
      calc(255 - (var(--header-progress) * 216))
      calc(255 - (var(--header-progress) * 218))
  );
  cursor: pointer;
  /* box-shadow: 0 10px 24px
    rgba(0, 0, 0, calc(0.14 - (var(--header-progress) * 0.04))); */
}

.menu-toggle span {
  grid-area: 1 / 1;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.visual-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #deddd4;
}

.visual-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  animation: hero-zoom-out 3s ease-out both;
  object-fit: cover;
  transform-origin: center;
}

@keyframes hero-zoom-out {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

.visual-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    320deg,
    rgba(16, 18, 16, 0.36),
    rgba(16, 18, 16, 0.1) 44%,
    rgba(16, 18, 16, 0) 72%
  );
  content: "";
}

.visual-hero-copy {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(120px, 9vw, 360px);
  color: var(--white);
  text-align: right;
}

@media (max-width: 820px) {
  .visual-hero-copy {
    top: clamp(80px, 10vw, 140px);
    bottom: auto;
  }
}

.visual-hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 10vw, 150px);
  font-weight: 500;
  line-height: 0.95;
  text-shadow: 0 2px 20px rgba(16, 18, 16, 0.42);
}

.visual-hero-copy p {
  margin: 8px 0 0;
  font-size: clamp(13px, 1.6vw, 18px);
  font-weight: 200;
  line-height: 1.5;
  text-shadow: 0 2px 16px rgba(16, 18, 16, 0.38);
}

.quiet-about,
.quiet-works,
.quiet-scope,
.quiet-contact {
  scroll-margin-top: var(--anchor-scroll-offset);
  padding: clamp(22px, 3vw, 38px) clamp(20px, 4vw, 52px)
    clamp(82px, 12vw, 150px);
  background: #faf7f0;
}

.quiet-about {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.2fr);
  gap: clamp(48px, 12vw, 160px);
  align-items: start;
  min-height: 72vh;
  background: #faf7f0;
}

.quiet-works {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #f7f3ea;
}

.quiet-contact {
  background: #f7f3ea;
}

.quiet-copy {
  max-width: 520px;
}

.about-details {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  width: 100%;
}

.quiet-heading {
  max-width: 520px;
  margin-bottom: 34px;
}

.not-found-page {
  display: grid;
  min-height: calc(100svh - 88px);
  place-items: center;
  padding: clamp(80px, 14vw, 160px) clamp(20px, 6vw, 84px);
  background: #faf7f0;
}

.not-found-content {
  width: min(100%, 680px);
}

.not-found-content h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.35;
}

.not-found-content p:not(.eyebrow) {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 16px;
}

.not-found-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  background: var(--sea-dark);
  border: 1px solid rgba(15, 77, 85, 0.3);
  border-radius: 8px;
  color: var(--white);
  font-weight: 700;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.not-found-link:hover,
.not-found-link:focus-visible {
  background: var(--sea);
  transform: translateY(-1px);
}

.about-details .quiet-heading {
  max-width: none;
  margin-bottom: 0;
}

.quiet-about h2,
.quiet-heading h2,
.quiet-contact h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.45;
}

.quiet-about p:not(.eyebrow) {
  color: var(--ink);
  font-size: 16px;
  line-height: 2.05;
}

.quiet-profile {
  border-top: 1px solid rgba(29, 39, 37, 0.24);
}

.quiet-profile div {
  grid-template-columns: 110px 1fr;
  border-top: 0;
  border-bottom: 1px solid rgba(29, 39, 37, 0.24);
}

.quiet-profile dt,
.quiet-profile dd {
  color: var(--ink);
  font-size: 14px;
}

.gallery-photo {
  margin: 0;
  overflow: hidden;
}

.gallery-photo.is-reveal-ready,
.hana-gallery-photo.is-reveal-ready {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 26px, 0) scale(0.96) rotate(-0.8deg);
  animation: scope-card-float-in 980ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-play-state: paused;
  will-change: opacity, transform, filter;
}

.gallery-photo.is-reveal-ready.is-visible,
.hana-gallery-photo.is-reveal-ready.is-visible {
  animation-play-state: running;
}

.gallery-feature-group .gallery-photo:nth-child(2),
.hana-feature-group .hana-gallery-photo:nth-child(2) {
  animation-delay: 90ms;
}

.gallery-feature-group .gallery-photo:nth-child(3),
.hana-feature-group .hana-gallery-photo:nth-child(3) {
  animation-delay: 180ms;
}

.gallery-feature-group .gallery-photo:nth-child(4) {
  animation-delay: 270ms;
}

.gallery-feature-group .gallery-photo:nth-child(5) {
  animation-delay: 360ms;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-photo:hover .gallery-image {
  transform: scale(1.035);
}

.quiet-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.gallery-feature-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-feature-group .gallery-photo:first-child {
  grid-row: span 2;
  grid-column: span 2;
}

.gallery-feature-group:nth-child(even) .gallery-photo:first-child {
  grid-column: 3 / span 2;
  grid-row: 1 / span 2;
}

.quiet-works .gallery-image {
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 0;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-list li {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: rgba(251, 250, 245, 0.56);
  border: 1px solid rgba(29, 39, 37, 0.16);
}

.scope-list.is-reveal-ready li {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 26px, 0) scale(0.96) rotate(-0.8deg);
  animation: scope-card-float-in 980ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-play-state: paused;
  will-change: opacity, transform, filter;
}

.scope-list.is-reveal-ready li.is-visible {
  animation-play-state: running;
}

.scope-list.is-reveal-ready li:nth-child(2) {
  animation-delay: 180ms;
}

.scope-list.is-reveal-ready li:nth-child(3) {
  animation-delay: 360ms;
}

.scope-list img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scope-list div {
  padding: clamp(18px, 2.4vw, 26px);
}

.scope-list strong {
  display: block;
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.45;
}

.scope-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

@keyframes scope-card-float-in {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 26px, 0) scale(0.96) rotate(-0.8deg);
  }

  58% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -8px, 0) scale(1.01) rotate(0.35deg);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-photo.is-reveal-ready,
  .hana-gallery-photo.is-reveal-ready,
  .scope-list.is-reveal-ready li {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.hana-gallery {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  padding: clamp(22px, 3vw, 38px) clamp(20px, 4vw, 52px)
    clamp(82px, 12vw, 150px);
  background: #deddd4;
}

.hana-gallery-copy {
  position: sticky;
  top: calc(var(--sticky-nav-height) + 28px);
  max-width: 380px;
}

.hana-gallery-copy h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.45;
  word-break: keep-all;
}

.hana-gallery-copy p:not(.eyebrow) {
  color: var(--ink);
  font-size: 15px;
  line-height: 2;
}

.hana-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hana-feature-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hana-gallery-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(29, 39, 37, 0.08);
}

.hana-feature-group .hana-gallery-photo:first-child {
  grid-row: span 2;
  grid-column: span 2;
}

.hana-feature-group:nth-child(even) .hana-gallery-photo:first-child {
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
}

.hana-gallery-photo img,
.hana-gallery-photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hana-gallery-photo:hover img,
.hana-gallery-photo:hover video {
  transform: scale(1.035);
}

.quiet-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 8vw, 120px);
  row-gap: 34px;
  align-items: start;
}

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

.contact-links {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-feature {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(270px, 0.5fr) minmax(210px, 0.72fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  margin-top: clamp(12px, 3vw, 42px);
  padding: clamp(18px, 3vw, 28px);
  width: 100%;
  max-width: 840px;
  background: rgba(251, 250, 245, 0.62);
  border: 1px solid rgba(29, 39, 37, 0.12);
  justify-self: center;
}

.contact-feature-heading {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  max-width: 100%;
  text-align: left;
}

.contact-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 1260 / 714;
  height: auto;
  box-shadow: 0 18px 44px rgba(29, 39, 37, 0.14);
}

.contact-feature-copy {
  display: grid;
  gap: 10px;
  align-self: center;
  min-width: 0;
}

.contact-feature-heading span {
  color: var(--sea);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-feature-heading strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
}

.contact-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.85;
}

.contact-action-link {
  --contact-icon-color: rgba(15, 77, 85, 0.88);

  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 36px 24px;
  background: rgba(251, 250, 245, 0.74);
  border: 1px solid rgba(29, 39, 37, 0.14);
  border-radius: 10px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.contact-form-link {
  --contact-icon-color: rgba(15, 77, 85, 0.9);
}

.contact-dm {
  --contact-icon-color: rgba(15, 77, 85, 0.84);
}

.contact-phone {
  --contact-icon-color: rgba(15, 77, 85, 0.88);
}

.contact-action-link::after {
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-top: 2px solid rgba(15, 77, 85, 0.48);
  border-right: 2px solid rgba(15, 77, 85, 0.48);
  content: "";
  transform: rotate(45deg);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-action-link:hover,
.contact-action-link:focus-visible {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(15, 77, 85, 0.3);
}

.contact-action-link:hover::after,
.contact-action-link:focus-visible::after {
  border-color: var(--sea-dark);
  transform: translateX(3px) rotate(45deg);
}

.contact-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: var(--contact-icon-color);
  border-radius: 50%;
  border: 1px solid rgba(15, 77, 85, 0.5);
}

.contact-action-link strong,
.contact-action-link small {
  display: block;
}

.contact-action-link strong {
  color: var(--contact-icon-color);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.contact-action-link small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 84px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
    gap: 12px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: calc(100% + var(--mobile-menu-gap));
    right: 10px;
    left: auto;
    display: grid;
    align-self: auto;
    gap: 0;
    width: max-content;
    min-width: min(58vw, 224px);
    max-width: calc(100vw - 20px);
    padding: 8px;
    border: 1px solid rgba(29, 39, 37, 0.12);
    border-radius: 8px;
    background: rgba(233, 232, 223, 0.96);
    box-shadow: 0 18px 44px rgba(29, 39, 37, 0.14);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    text-shadow: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition:
      opacity 0.18s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
    visibility: hidden;
  }

  .site-header.is-menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .site-header.is-menu-repositioning .nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
  }

  .site-header.is-menu-above .nav {
    top: auto;
    bottom: calc(100% + 6px);
    transform-origin: bottom center;
  }

  .site-header.is-menu-above.is-menu-repositioning .nav {
    transform: translateY(6px) scale(0.98);
  }

  .nav a {
    position: relative;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      background 0.18s ease,
      color 0.18s ease,
      opacity 0.18s ease,
      transform 0.22s ease;
  }

  .nav a + a {
    border-top: 0;
  }

  .nav a + a::before {
    position: absolute;
    top: 0;
    right: 14px;
    left: 14px;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(47, 42, 36, 0.16),
      transparent
    );
    content: "";
  }

  .site-header.is-menu-open .nav a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-menu-open .nav a:nth-child(2) {
    transition-delay: 0.03s;
  }

  .site-header.is-menu-open .nav a:nth-child(3) {
    transition-delay: 0.06s;
  }

  .site-header.is-menu-open .nav a:nth-child(4) {
    transition-delay: 0.09s;
  }

  .site-header.is-menu-open .nav a:hover {
    background: rgba(15, 77, 85, 0.08);
  }

  .visual-hero,
  .visual-hero-image {
    height: 100svh;
    min-height: 560px;
  }

  .visual-hero-copy {
    right: clamp(16px, 5vw, 28px);
    bottom: clamp(24px, 8vw, 48px);
  }

  .visual-hero-copy h1 {
    font-size: clamp(44px, 16vw, 78px);
  }

  .quiet-about,
  .quiet-contact,
  .quiet-works,
  .contact-feature,
  .hana-gallery,
  .hana-gallery-grid {
    grid-template-columns: 1fr;
  }

  .quiet-about {
    gap: 24px;
    min-height: auto;
  }

  .about-details {
    width: 100%;
    justify-self: stretch;
  }

  .contact-links {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .quiet-gallery-grid {
    gap: 6px;
  }

  .gallery-feature-group {
    gap: 6px;
  }

  .quiet-works .gallery-image {
    height: auto;
  }

  .scope-list {
    grid-template-columns: 1fr;
  }

  .scope-list img {
    aspect-ratio: 16 / 9;
  }

  .hana-gallery-copy {
    position: static;
    max-width: 560px;
  }

  .hana-gallery-grid {
    gap: 6px;
  }

  .hana-feature-group {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-hero-image {
    animation: none;
  }

  .gallery-image,
  .hana-gallery-photo img,
  .hana-gallery-photo video {
    transition: none;
  }

  .nav,
  .nav a {
    transition: none;
  }
}

@media (max-width: 520px) {
  :root {
    --anchor-scroll-offset: calc(var(--sticky-nav-height) + 10px);
  }

  .site-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  .brand {
    gap: 12px;
    min-width: 0;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-text {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .brand-wordmark {
    width: calc(var(--sticky-nav-height) * 2);
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hana-gallery {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hana-gallery-grid {
    gap: 8px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-right: 8px;
    padding-left: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-text {
    gap: 5px;
  }

  .brand small {
    font-size: 8px;
  }
}
