/*
Theme Name: NOREAH Portfolio
Theme URI: https://noreah.jp/
Author: NOREAH
Description: Standard Layout 01 theme for NOREAH, a design and system focused creative studio.
Version: 0.3.11
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: noreah
*/

:root {
  --ivory: #f4efe7;
  --paper: #fbf8f2;
  --greige: #d8d0c7;
  --mist: #cfd8d9;
  --bluegray: #697b84;
  --mauve: #9d7f80;
  --rose: #ad8b86;
  --charcoal: #2e2c2a;
  --soft: #6f6861;
  --line: rgba(46, 44, 42, 0.18);
  --serif: "Cormorant Garamond", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Inter", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --script: "WindSong", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-wrap {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 84px;
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(420px, 1.2fr) minmax(220px, 0.8fr);
  align-items: center;
  gap: 26px;
  padding: 12px clamp(18px, 3vw, 38px);
  background: rgba(250, 247, 241, 0.88);
  border-bottom: 1px solid rgba(46, 44, 42, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
}

.brand-mark {
  width: 52px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: linear-gradient(145deg, #877875, #bba19b);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1;
  clip-path: polygon(0 0, 100% 18%, 82% 100%, 0 78%);
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-concept {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.nav-list,
.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.header-copy {
  color: var(--charcoal);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.header-copy::after {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1px;
  margin-left: 16px;
  vertical-align: middle;
  background: var(--charcoal);
}

.instagram-link {
  width: 25px;
  aspect-ratio: 1;
  position: relative;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--charcoal);
  border-radius: 7px;
}

.instagram-link::before {
  content: "";
  width: 8px;
  aspect-ratio: 1;
  border: 2px solid var(--charcoal);
  border-radius: 50%;
}

.instagram-link span {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--charcoal);
}

.header-cta {
  min-height: 38px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.82);
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--charcoal);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(38deg);
}

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

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-38deg);
}

.hero {
  position: relative;
  min-height: 690px;
  height: min(760px, 100vh);
  padding: 126px clamp(22px, 5vw, 66px) 52px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--greige);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 22, 24, 0.72) 0%, rgba(31, 34, 34, 0.42) 48%, rgba(31, 34, 34, 0.16) 100%),
    linear-gradient(0deg, rgba(46, 44, 42, 0.18), rgba(46, 44, 42, 0.08));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: #fffaf5;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.34);
}

.script-note {
  margin: 0 0 18px;
  font-family: var(--script);
  font-size: clamp(1.65rem, 3.3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.98;
  transform: rotate(-8deg);
}

.hero h1,
.about-section h2,
.strength-section h2,
.contact-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.4vw, 5.9rem);
}

.hero-lead {
  max-width: 520px;
  margin: 0 0 36px;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 2;
}

.button {
  min-width: 220px;
  min-height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--charcoal);
  background: rgba(251, 248, 242, 0.88);
  border-color: rgba(251, 248, 242, 0.9);
}

.button-outline,
.button-outline-light {
  background: transparent;
}

.button-outline-light {
  color: #fff8f0;
}

.hero-ornament {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 54px);
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 22px;
  color: rgba(255, 250, 245, 0.78);
  transform: translateY(-35%);
}

.hero-ornament span,
.vertical-brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.hero-ornament i {
  display: block;
  width: 1px;
  height: 70px;
  background: currentColor;
}

.hero-ornament small {
  font-family: var(--serif);
  font-size: 0.68rem;
  line-height: 1.65;
}

.service-category {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
  background: var(--paper);
}

.service-card a {
  position: relative;
  min-height: 220px;
  display: block;
  overflow: hidden;
  color: #fffaf5;
}

.service-photo,
.work-image,
.contact-image,
.about-visual .cinematic-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.service-card:hover .service-photo,
.work-card:hover .work-image {
  transform: scale(1.045);
  filter: saturate(0.9) contrast(1.05);
}

.service-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(to top, rgba(23, 24, 25, 0.68), rgba(23, 24, 25, 0.08) 68%);
}

.service-overlay h2 {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}

.service-overlay p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  min-height: 520px;
  background: var(--paper);
}

.about-copy {
  padding: clamp(54px, 7vw, 84px) clamp(26px, 5vw, 66px);
  align-self: center;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.section-kicker::after,
.section-title-row .section-kicker::after,
.contact-panel .section-kicker::after {
  content: "";
  display: inline-block;
  width: 64px;
  height: 1px;
  margin-left: 22px;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.55;
}

.about-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
}

.about-copy p:not(.section-kicker) {
  max-width: 430px;
  margin: 0 0 34px;
  color: var(--charcoal);
}

.about-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.about-script {
  position: absolute;
  z-index: 2;
  left: 8%;
  top: 12%;
  color: rgba(46, 44, 42, 0.66);
}

.about-menu {
  position: absolute;
  z-index: 2;
  right: 7%;
  top: 10%;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.75;
}

.strength-section,
.fit-section,
.works-section,
.journal-section {
  padding: clamp(58px, 7vw, 88px) clamp(24px, 5vw, 66px);
  background: var(--paper);
}

.strength-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) 1fr;
  gap: clamp(30px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.strength-section h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.strength-card {
  min-height: 128px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(251, 248, 242, 0.92);
}

.strength-card span {
  width: 24px;
  height: 24px;
  border: 1px solid var(--rose);
  transform: rotate(45deg);
}

.strength-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.35;
}

.fit-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) 1fr;
  gap: clamp(30px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.fit-heading h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

.fit-heading p:not(.section-kicker) {
  max-width: 520px;
  margin: 0;
  color: var(--soft);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-self: stretch;
  background: var(--line);
  border: 1px solid var(--line);
}

.fit-card {
  min-height: 220px;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(251, 248, 242, 0.94);
}

.fit-card h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.16;
}

.fit-card p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

.text-link {
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.works-filter button {
  min-height: 32px;
  padding: 0 12px;
  color: var(--soft);
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--serif);
  letter-spacing: 0.06em;
}

.works-filter button.is-active {
  color: var(--paper);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.work-card.is-hidden {
  display: none;
}

.work-image {
  position: relative;
  aspect-ratio: 1.42;
  margin-bottom: 14px;
  overflow: hidden;
}

.work-card h2,
.work-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.work-card p {
  margin: 2px 0 9px;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.work-tags span {
  padding: 1px 7px;
  border: 1px solid rgba(46, 44, 42, 0.44);
  font-family: var(--serif);
  font-size: 0.78rem;
  line-height: 1.35;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.journal-card {
  min-height: 190px;
  padding: 24px;
  background: var(--paper);
}

.journal-card time {
  color: var(--mauve);
  font-family: var(--serif);
}

.journal-card h3 {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.22;
}

.journal-card p {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
}

.contact-cta {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(320px, 0.48fr);
  overflow: hidden;
  color: #fff8f0;
  background: linear-gradient(115deg, #ad958f, #897071);
}

.contact-image {
  position: relative;
  min-height: 360px;
}

.contact-panel {
  padding: clamp(48px, 6vw, 76px) clamp(26px, 6vw, 68px);
  background: linear-gradient(120deg, rgba(141, 112, 113, 0.92), rgba(99, 113, 121, 0.62));
}

.contact-panel h2 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
}

.contact-panel p:not(.section-kicker) {
  max-width: 430px;
  margin: 0 0 28px;
  line-height: 2;
}

.vertical-brand {
  position: absolute;
  right: 24px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(300px, 1fr) minmax(190px, 0.7fr);
  align-items: center;
  gap: 28px;
  padding: 36px clamp(24px, 5vw, 66px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.brand-footer .brand-mark {
  width: 42px;
}

.brand-footer .brand-name {
  font-size: 1.48rem;
}

.footer-list {
  gap: 20px;
}

.footer-list a,
.footer-meta {
  color: var(--soft);
  font-family: var(--serif);
  font-size: 0.86rem;
  letter-spacing: 0.07em;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.page-edit-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff8f0;
  background: rgba(46, 44, 42, 0.88);
  border: 1px solid rgba(255, 248, 240, 0.28);
  box-shadow: 0 14px 34px rgba(46, 44, 42, 0.22);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.page-edit-button::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 45%, currentColor 45% 56%, transparent 56%);
}

.page-edit-button:hover {
  background: rgba(157, 127, 128, 0.94);
  transform: translateY(-2px);
}

.cinematic-photo {
  background-color: var(--mist);
  filter: saturate(0.72) contrast(0.97);
}

.cinematic-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(105, 123, 132, 0.28), transparent 42%),
    linear-gradient(0deg, rgba(46, 44, 42, 0.1), rgba(255, 255, 255, 0.04));
  mix-blend-mode: multiply;
}

.photo-hero {
  background:
    radial-gradient(circle at 77% 70%, #c7c0b9 0 8%, transparent 8.5%),
    radial-gradient(circle at 72% 64%, #6f7476 0 13%, transparent 13.5%),
    radial-gradient(ellipse at 66% 80%, #8f8379 0 10%, transparent 10.5%),
    linear-gradient(8deg, transparent 0 50%, rgba(232, 222, 208, 0.95) 50.2% 54%, transparent 54.2%),
    radial-gradient(ellipse at 38% 78%, rgba(235, 226, 216, 0.9) 0 16%, transparent 16.5%),
    linear-gradient(90deg, #2c3032 0 30%, #7c827f 52%, #b7ada4 100%);
}

.photo-desk {
  background:
    radial-gradient(circle at 30% 56%, #e5ded2 0 9%, transparent 9.5%),
    linear-gradient(90deg, rgba(33, 39, 42, 0.68), transparent 62%),
    linear-gradient(135deg, #adb5b2, #6f7778 52%, #d2c7bd);
}

.photo-camera {
  background:
    radial-gradient(circle at 50% 58%, #1f2426 0 16%, transparent 16.5%),
    radial-gradient(circle at 50% 58%, #aeb5b5 0 24%, transparent 24.5%),
    linear-gradient(145deg, #2a2e30, #7c7f7b 48%, #d7cabe);
}

.photo-paper {
  background:
    linear-gradient(24deg, transparent 0 42%, rgba(252, 247, 238, 0.9) 42.2% 62%, transparent 62.2%),
    repeating-linear-gradient(100deg, rgba(46, 44, 42, 0.14) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #bec6c4, #efe5da);
}

.photo-notebook {
  background:
    linear-gradient(106deg, transparent 0 45%, rgba(249, 244, 235, 0.92) 45.2% 63%, transparent 63.2%),
    radial-gradient(circle at 72% 34%, #504a46 0 9%, transparent 9.5%),
    linear-gradient(135deg, #7d8586, #d7cbc0);
}

.photo-flower,
.work-fleurir {
  background:
    radial-gradient(circle at 30% 42%, #efe3da 0 5%, transparent 5.4%),
    radial-gradient(circle at 48% 34%, #f8eee5 0 7%, transparent 7.4%),
    radial-gradient(circle at 62% 47%, #c9a8a2 0 6%, transparent 6.4%),
    radial-gradient(circle at 40% 62%, #e4d7cb 0 9%, transparent 9.4%),
    linear-gradient(135deg, #87979a, #dfd1c5);
}

.photo-about {
  background:
    radial-gradient(circle at 45% 42%, #d7b7a8 0 5%, transparent 5.5%),
    linear-gradient(90deg, transparent 0 48%, rgba(248, 241, 230, 0.88) 48.2% 58%, transparent 58.2%),
    radial-gradient(ellipse at 78% 38%, #bfc8c9 0 16%, transparent 16.5%),
    linear-gradient(140deg, #ede6dc, #95a1a3 48%, #ded1c4);
}

.work-route {
  background:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 10px),
    radial-gradient(ellipse at 52% 45%, #8d6c59 0 16%, transparent 16.5%),
    linear-gradient(135deg, #263c4f, #587083 56%, #b7a18f);
}

.work-magenta {
  background:
    radial-gradient(circle at 54% 32%, #d4aa9b 0 8%, transparent 8.5%),
    radial-gradient(ellipse at 50% 62%, #2c2929 0 20%, transparent 20.5%),
    linear-gradient(140deg, #68777f, #a88a89 55%, #e8d7c9);
}

.work-teshigoto {
  background:
    radial-gradient(circle at 58% 46%, #bfc7c5 0 12%, transparent 12.5%),
    repeating-linear-gradient(90deg, rgba(46, 44, 42, 0.08) 0 1px, transparent 1px 15px),
    linear-gradient(135deg, #f2eadf, #8fa0a5);
}

.photo-coast {
  background:
    linear-gradient(180deg, rgba(232, 224, 216, 0.65) 0 42%, transparent 42.2%),
    radial-gradient(ellipse at 62% 42%, #707b74 0 20%, transparent 20.5%),
    linear-gradient(150deg, #c5d1d4, #9f928d 54%, #dbc6b5);
}

.archive-page {
  padding-top: 84px;
  background: var(--paper);
}

.page-hero {
  min-height: 420px;
  padding: clamp(86px, 11vw, 138px) clamp(24px, 6vw, 80px) clamp(54px, 7vw, 86px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(251, 248, 242, 0.96), rgba(251, 248, 242, 0.76)),
    radial-gradient(ellipse at 78% 36%, rgba(105, 123, 132, 0.32), transparent 34%),
    linear-gradient(135deg, var(--ivory), var(--mist));
}

.page-hero .script-note {
  color: var(--mauve);
}

.page-hero h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(4rem, 11vw, 8.8rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 0.9;
}

.page-hero p:not(.script-note) {
  max-width: 760px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(0.98rem, 1.5vw, 1.13rem);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: clamp(54px, 7vw, 86px) clamp(24px, 5vw, 66px);
  background: var(--line);
}

.service-detail {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
}

.service-detail span {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.service-detail h2 {
  margin: 34px 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
}

.service-detail p {
  margin: 0;
  color: var(--soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: minmax(210px, 1fr) auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
  }

  .site-header {
    height: auto;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    padding: 14px 0 4px;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .header-copy,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .service-category,
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strength-section,
  .fit-section,
  .service-detail-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand-mark {
    width: 44px;
  }

  .brand-name {
    font-size: 1.46rem;
  }

  .brand-concept {
    display: none;
  }

  .hero {
    min-height: 720px;
    height: auto;
    padding: 132px 22px 58px;
    align-items: flex-end;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-ornament {
    display: none;
  }

  .service-category {
    grid-template-columns: 1fr;
  }

  .service-card a {
    min-height: 168px;
  }

  .about-section,
  .contact-cta {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 360px;
    order: -1;
  }

  .about-menu {
    right: 24px;
    top: 24px;
  }

  .strength-grid,
  .fit-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

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

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-image {
    min-height: 260px;
  }

  .vertical-brand {
    display: none;
  }

  .footer-list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .page-edit-button {
    right: 14px;
    bottom: 14px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.76rem;
  }
}

/* Umeda ENT Clinic case study */
.umeda-case {
  --case-ink: #173d36;
  --case-paper: #f6f7f1;
  --case-sage: #8baba2;
  --case-coral: #dda06f;
  --case-blue: #a9bcc1;
  color: var(--case-ink);
  background: var(--case-paper);
}

.umeda-case .case-hero {
  background:
    linear-gradient(135deg, rgba(232, 241, 235, 0.95), rgba(250, 246, 237, 0.96)),
    var(--case-paper);
}

.umeda-brand-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 30px;
}

.umeda-brand-line > span,
.umeda-monogram {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: #fff;
  background: var(--case-ink);
  font-family: var(--font-serif);
  font-size: 2rem;
}

.umeda-brand-line p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: 0.12em;
}

.umeda-brand-line small {
  color: #66837c;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
}

.umeda-case-title span + span,
.umeda-case-lead span + span {
  margin-left: 0.25em;
}

.umeda-case .case-hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.5rem);
  line-height: 1.25;
}

.umeda-case .case-functions-intro .case-heading h2 span {
  display: inline;
  margin: 0 0 0 0.2em;
  font-size: 0.72em;
}

.umeda-case .case-hero-media,
.umeda-case .case-principle figure,
.umeda-case .case-function-screen {
  border-color: rgba(23, 61, 54, 0.2);
}

.umeda-case .case-hero-media img {
  object-position: top center;
}

.umeda-case .case-introduction {
  background: #fbf8f2;
}

.umeda-case .case-principles {
  background: #e5efeb;
}

.umeda-case .case-principle-number,
.umeda-case .case-section-index,
.umeda-case .section-kicker {
  color: #a85f43;
}

.umeda-case .case-principle figure img {
  object-position: top center;
}

.umeda-wide-visual {
  background: #d7e2de;
}

.umeda-wide-visual img {
  object-position: top center;
}

.umeda-editor-preview {
  min-height: 520px;
  padding: 0 30px 30px;
  color: #324a45;
  background: #f7f8f5;
  border: 1px solid rgba(23, 61, 54, 0.22);
  box-shadow: 0 24px 55px rgba(36, 67, 60, 0.12);
}

.umeda-editor-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  margin: 0 -30px 26px;
  padding: 0 24px;
  color: #fff;
  background: var(--case-ink);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.umeda-editor-preview figcaption span {
  color: #bfd3cc;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.umeda-editor-field {
  margin-bottom: 16px;
  padding: 15px 17px;
  background: #fff;
  border: 1px solid #d3ded9;
}

.umeda-editor-field small {
  display: block;
  margin-bottom: 10px;
  color: #54736b;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.umeda-editor-field p {
  margin: 0;
  color: #8b9894;
  font-size: 0.75rem;
  line-height: 1.7;
}

.umeda-editor-field--body {
  min-height: 112px;
}

.umeda-editor-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 12px;
}

.umeda-editor-field b {
  display: inline-block;
  padding: 8px 12px;
  color: #fff;
  background: #6d9288;
  font-size: 0.68rem;
  font-weight: 500;
}

.umeda-editor-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 10px;
  background: #cfdbd7;
}

.umeda-editor-steps span {
  padding: 12px 6px;
  color: #436159;
  background: #edf3f0;
  font-size: 0.59rem;
  text-align: center;
  white-space: nowrap;
}

.umeda-case .case-functions {
  background: #f8f5ee;
}

.umeda-case .case-function-database {
  background: #dfece7;
}

.umeda-case .case-function-search {
  background: #f2d9c2;
}

.umeda-case .case-function-editorial {
  background: #d9e4e6;
}

.umeda-case .case-function-form {
  background: #f1eee3;
}

.umeda-case .case-function-connection {
  background: #ccddd6;
}

.umeda-case .case-function-responsive {
  background: #e9d0c5;
}

.umeda-case .case-function-screen img {
  object-position: top center;
}

.umeda-case .case-function-screen-bar {
  color: #dce9e4;
  background: var(--case-ink);
}

.umeda-case .case-result {
  background: #eef3ec;
}

.umeda-case .case-result-mark {
  background: #d7e5df;
}

.umeda-case .case-result-mark p {
  color: #47675f;
}

.umeda-case .case-contact {
  background: #315f55;
}

@media (max-width: 760px) {
  .umeda-brand-line {
    margin: 22px 0 24px;
  }

  .umeda-brand-line > span {
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }

  .umeda-editor-preview {
    min-height: 0;
    padding: 0 18px 20px;
  }

  .umeda-editor-preview figcaption {
    margin: 0 -18px 20px;
    padding: 0 16px;
  }

  .umeda-editor-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .umeda-editor-steps {
    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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Works case study */
.case-study {
  --case-coral: #c97970;
  --case-ink: #252626;
  --case-paper: #f7f3ec;
  --case-sage: #8d9a91;
  overflow: hidden;
  background: var(--case-paper);
}

.case-hero {
  min-height: 760px;
  padding: 150px clamp(28px, 6%, 92px) 70px;
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(520px, 1.35fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  background:
    linear-gradient(115deg, rgba(251, 248, 242, 0.96), rgba(230, 225, 216, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 99px, rgba(46, 44, 42, 0.035) 100px);
}

.case-eyebrow,
.case-section-index {
  margin: 0 0 28px;
  color: var(--case-coral);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.case-brand-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.case-brand-line img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.case-brand-line p {
  margin: 0;
  color: var(--soft);
  font-family: var(--serif);
  font-size: 0.82rem;
  line-height: 1.45;
}

.case-hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.03em;
}

.case-lead {
  max-width: 580px;
  margin: 24px 0 30px;
  color: #585754;
  font-size: 1rem;
  line-height: 2;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.case-tags span {
  padding: 4px 11px;
  border: 1px solid rgba(37, 38, 38, 0.26);
  font-family: var(--serif);
  font-size: 0.78rem;
}

.case-hero-media {
  min-width: 0;
  margin: 0;
}

.case-hero-copy {
  min-width: 0;
}

.case-hero-media img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  box-shadow: 0 32px 70px rgba(45, 43, 40, 0.14);
}

.case-introduction,
.case-principles,
.case-functions {
  padding: 120px clamp(28px, 7%, 112px);
}

.case-intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: start;
}

.case-introduction .script-note {
  margin: 0 0 22px;
  color: var(--case-coral);
  font-size: 1.45rem;
  line-height: 1.15;
}

.case-introduction h2,
.case-heading h2,
.case-result h2,
.case-contact h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.case-prose p {
  margin: 0 0 1.6em;
  font-size: 1rem;
  line-height: 2.15;
}

.case-project-data {
  margin: 90px 0 0;
  display: grid;
  grid-template-columns: 0.8fr 0.45fr 1.6fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-project-data div {
  min-width: 0;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.case-project-data div:last-child {
  border-right: 0;
}

.case-project-data dt {
  margin-bottom: 8px;
  color: var(--soft);
  font-family: var(--serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.case-project-data dd {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.75;
}

.case-wide-visual {
  position: relative;
  margin: 0;
  min-height: 680px;
  background: #b8aaa1;
}

.case-wide-visual img {
  width: 100%;
  height: min(82vw, 880px);
  min-height: 680px;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.78) contrast(0.96);
}

.case-wide-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(31, 29, 27, 0.38));
  pointer-events: none;
}

.case-wide-visual p {
  position: absolute;
  z-index: 1;
  right: 42px;
  bottom: 28px;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 0.74rem;
  letter-spacing: 0.15em;
}

.case-principles {
  background: #f0ede6;
}

.case-heading {
  max-width: 760px;
  margin-bottom: 100px;
}

.case-heading > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
}

.case-principle {
  position: relative;
  max-width: 1320px;
  margin: 0 auto 150px;
  display: grid;
  grid-template-columns: 0.28fr 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
}

.case-principle:last-child {
  margin-bottom: 0;
}

.case-principle-number {
  align-self: start;
  color: rgba(37, 38, 38, 0.18);
  font-family: var(--serif);
  font-size: 5.5rem;
  line-height: 1;
}

.case-principle h3 {
  margin: 8px 0 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.55;
}

.case-principle-copy > p:last-child {
  max-width: 560px;
  margin: 0;
  line-height: 2.1;
}

.case-principle figure {
  margin: 0;
  overflow: hidden;
}

.case-principle figure img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.96);
}

.case-principle-story {
  grid-template-columns: 0.28fr 1.2fr 0.8fr;
}

.case-system-map {
  min-height: 330px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  background: var(--case-ink);
  color: var(--case-paper);
}

.case-system-map span {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(247, 243, 236, 0.58);
  border-radius: 50%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: 1.1rem;
}

.case-system-map i {
  height: 1px;
  background: var(--case-coral);
}

.case-system-map small {
  padding-top: 22px;
  text-align: center;
  color: rgba(247, 243, 236, 0.7);
  font-size: 0.68rem;
}

.case-functions {
  position: relative;
  background: var(--case-ink);
  color: var(--case-paper);
}

.case-functions::before {
  content: "";
  position: absolute;
  top: 0;
  right: 7%;
  width: 1px;
  height: 92px;
  background: #d88c84;
}

.case-functions .case-section-index,
.case-functions .section-kicker {
  color: #d88c84;
}

.case-functions-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: clamp(50px, 9vw, 140px);
  margin-bottom: 100px;
}

.case-functions-intro .case-heading {
  margin-bottom: 0;
}

.case-functions-intro .case-heading h2 {
  max-width: 920px;
  font-size: 2.2rem;
}

.case-functions-intro .case-heading h2 span {
  display: block;
  margin-top: 12px;
  color: rgba(247, 243, 236, 0.62);
  font-size: 0.68em;
}

.case-core-note {
  padding: 0 0 14px 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-left: 1px solid rgba(247, 243, 236, 0.24);
}

.case-core-note > span,
.case-core-note > i {
  grid-column: 1 / -1;
}

.case-core-note > span {
  color: #d88c84;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.case-core-note > i {
  width: 100%;
  height: 1px;
  margin: 2px 0 10px;
  background: rgba(247, 243, 236, 0.24);
}

.case-core-note p {
  margin: 0;
  color: rgba(247, 243, 236, 0.82);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: 0.9rem;
  line-height: 1.8;
}

.case-core-note b {
  color: #d88c84;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.case-function-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 2px;
  background: rgba(247, 243, 236, 0.18);
}

.case-function-card {
  position: relative;
  min-height: 530px;
  padding: 30px 34px 38px;
  display: grid;
  grid-template-rows: auto 230px 1fr;
  gap: 26px;
  overflow: hidden;
  background: var(--case-ink);
}

.case-function-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.case-function-meta > span {
  color: #d88c84;
  font-family: var(--serif);
  font-size: 1rem;
}

.case-function-meta small {
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  opacity: 0.66;
}

.case-function-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
  align-self: end;
}

.case-function-card h3 {
  margin: 0 0 16px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.4;
}

.case-function-card p {
  margin: 0;
  color: rgba(247, 243, 236, 0.72);
  font-size: 0.9rem;
  line-height: 2;
}

.case-function-screen {
  position: relative;
  z-index: 2;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 243, 236, 0.28);
  background: #d8d2ca;
}

.case-function-screen-bar {
  height: 28px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(37, 38, 38, 0.14);
  background: rgba(247, 243, 236, 0.94);
  color: rgba(37, 38, 38, 0.62);
  font-family: var(--serif);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
}

.case-function-screen img {
  width: 100%;
  height: calc(100% - 28px);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(0.96);
  transition: transform 0.6s ease;
}

.case-function-card:hover .case-function-screen img {
  transform: scale(1.025);
}

.case-function-visual {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.case-function-database {
  grid-column: span 7;
  min-height: 560px;
  background: #ede7de;
  color: var(--case-ink);
}

.case-function-database p {
  color: rgba(37, 38, 38, 0.72);
}

.case-function-database .case-function-meta > span {
  color: #b95f59;
}

.case-function-database .case-function-screen {
  border-color: rgba(37, 38, 38, 0.18);
}

.case-function-database .case-function-visual {
  top: 56px;
  right: 8%;
  width: 210px;
  height: 160px;
}

.case-function-database .case-function-visual i {
  position: absolute;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(37, 38, 38, 0.26);
  border-radius: 50%;
}

.case-function-database .case-function-visual i:nth-child(1) {
  top: 0;
  left: 64px;
  background: rgba(201, 121, 112, 0.28);
}

.case-function-database .case-function-visual i:nth-child(2) {
  bottom: 0;
  left: 0;
}

.case-function-database .case-function-visual i:nth-child(3) {
  right: 0;
  bottom: 0;
  background: rgba(141, 154, 145, 0.34);
}

.case-function-search {
  grid-column: span 5;
  min-height: 560px;
  background: #c77f76;
  color: #201f1e;
}

.case-function-search p {
  color: rgba(32, 31, 30, 0.74);
}

.case-function-search .case-function-meta > span {
  color: #201f1e;
}

.case-function-search .case-function-screen {
  border-color: rgba(32, 31, 30, 0.2);
}

.case-function-search .case-function-screen img {
  object-position: 72% center;
}

.case-function-search .case-function-visual {
  top: 82px;
  right: 48px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(32, 31, 30, 0.38);
  border-radius: 50%;
}

.case-function-search .case-function-visual::before,
.case-function-search .case-function-visual::after {
  content: "";
  position: absolute;
  background: rgba(32, 31, 30, 0.38);
}

.case-function-search .case-function-visual::before {
  top: 50%;
  left: -48px;
  width: 224px;
  height: 1px;
}

.case-function-search .case-function-visual::after {
  top: -48px;
  left: 50%;
  width: 1px;
  height: 224px;
}

.case-function-editorial {
  grid-column: span 5;
  min-height: 540px;
  background: #47413f;
}

.case-function-editorial .case-function-copy {
  max-width: 470px;
}

.case-function-editorial .case-function-screen img {
  object-position: 32% center;
}

.case-function-form {
  grid-column: span 7;
  min-height: 540px;
  background: #aeb8b2;
  color: #202321;
}

.case-function-form p {
  color: rgba(32, 35, 33, 0.74);
}

.case-function-form .case-function-meta > span {
  color: #8e4743;
}

.case-function-form .case-function-screen {
  border-color: rgba(32, 35, 33, 0.2);
}

.case-function-form .case-function-screen img {
  object-position: center 43%;
}

.case-function-form .case-function-visual {
  top: 62px;
  right: 54px;
  width: 200px;
  height: 156px;
  border-top: 1px solid rgba(32, 35, 33, 0.35);
  border-bottom: 1px solid rgba(32, 35, 33, 0.35);
}

.case-function-form .case-function-visual i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(32, 35, 33, 0.24);
}

.case-function-form .case-function-visual i:nth-child(1) { top: 38px; }
.case-function-form .case-function-visual i:nth-child(2) { top: 78px; }
.case-function-form .case-function-visual i:nth-child(3) { top: 118px; }

.case-function-connection {
  grid-column: span 7;
  min-height: 520px;
  background: #6f6265;
}

.case-function-connection .case-function-screen img {
  object-position: center 37%;
}

.case-function-connection .case-function-visual {
  top: 72px;
  right: 52px;
  width: 190px;
  height: 90px;
  border-top: 1px solid rgba(247, 243, 236, 0.4);
  border-bottom: 1px solid rgba(247, 243, 236, 0.4);
}

.case-function-connection .case-function-visual::after {
  content: "→";
  position: absolute;
  top: 19px;
  right: 16px;
  color: #e3a39b;
  font-family: var(--serif);
  font-size: 2rem;
}

.case-function-responsive {
  grid-column: span 5;
  min-height: 520px;
  background: #d2d9da;
  color: #25292a;
}

.case-function-responsive p {
  color: rgba(37, 41, 42, 0.72);
}

.case-function-responsive .case-function-meta > span {
  color: #9e514c;
}

.case-function-responsive .case-function-screen {
  border-color: rgba(37, 41, 42, 0.2);
  background: #edf2f3;
}

.case-function-responsive .case-function-screen img {
  object-fit: cover;
  object-position: center top;
}

.case-function-responsive .case-function-visual {
  top: 56px;
  right: 50px;
  width: 72px;
  height: 126px;
  border: 1px solid rgba(37, 41, 42, 0.38);
}

.case-function-responsive .case-function-visual::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 22px;
  height: 2px;
  transform: translateX(-50%);
  background: rgba(37, 41, 42, 0.38);
}

.case-functions-footnote {
  margin: 32px 0 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(247, 243, 236, 0.5);
  font-family: var(--serif);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.case-functions-footnote span {
  width: 72px;
  height: 1px;
  background: #d88c84;
}

.case-result {
  padding: 120px clamp(28px, 8%, 130px);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 100px;
  background: #d7d8d2;
}

.case-result-copy > p:not(.case-section-index) {
  max-width: 680px;
  margin: 30px 0 38px;
  line-height: 2.15;
}

.case-result-mark {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(37, 38, 38, 0.2);
}

.case-result-mark img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.case-result-mark p {
  margin: 24px 0 0;
  font-family: var(--script);
  font-size: 1.7rem;
  line-height: 1.2;
  text-align: center;
}

.case-contact {
  padding: 85px clamp(28px, 8%, 130px);
  display: grid;
  grid-template-columns: 0.7fr 1.4fr auto;
  align-items: center;
  gap: 70px;
  background: #8f7d80;
  color: #fff;
}

.case-contact .script-note {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.15;
}

.case-contact h2 {
  font-size: 2rem;
}

.case-contact p {
  margin-bottom: 0;
}

.case-hero-generic {
  grid-template-columns: 1fr 1fr;
}

.case-generic-image {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.case-simple-content {
  max-width: 1100px;
  min-height: 460px;
  margin: 0 auto;
  padding: 110px 32px;
}

.case-simple-content .case-project-data {
  grid-template-columns: 0.4fr 1.6fr;
}

/* Magenta Photo Session case study */
.magenta-case {
  --case-coral: #cf5579;
  --case-ink: #251d23;
  --case-paper: #fbf7f8;
  --case-sage: #93868e;
}

.magenta-case .case-hero {
  background:
    linear-gradient(116deg, rgba(253, 249, 250, 0.98), rgba(239, 225, 230, 0.76)),
    repeating-linear-gradient(90deg, transparent 0 99px, rgba(80, 45, 60, 0.035) 100px);
}

.magenta-brand-line {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.magenta-brand-line > span,
.magenta-monogram {
  color: #381c29;
  font-family: "Times New Roman", var(--serif);
  font-size: 4rem;
  font-style: italic;
  line-height: 0.8;
}

.magenta-brand-line p {
  margin: 0;
  color: #381c29;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.15;
}

.magenta-brand-line small {
  color: var(--case-coral);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.magenta-case .case-hero-media img,
.magenta-case .case-principle figure img,
.magenta-case .case-function-screen img {
  object-position: center top;
  filter: saturate(0.88) contrast(0.97);
}

.magenta-case .case-principles {
  background: #f4edf0;
}

.magenta-wide-visual img {
  object-position: center top;
  filter: saturate(0.82) contrast(0.96);
}

.magenta-case .case-functions {
  background: #251d23;
}

.magenta-case .case-function-database {
  background: #f1e8eb;
}

.magenta-case .case-function-search {
  background: #cc6a87;
}

.magenta-case .case-function-editorial {
  background: #49333e;
}

.magenta-case .case-function-form {
  background: #c6b8bf;
}

.magenta-case .case-function-connection {
  background: #6f4e5e;
}

.magenta-case .case-function-responsive {
  background: #e5d8de;
}

.magenta-case .case-function-responsive .case-function-screen {
  background: #fff;
}

.magenta-case .case-function-screen img {
  object-fit: cover;
}

.magenta-case .case-result {
  background: #e3dadd;
}

.magenta-case .case-result-mark {
  color: #4b2939;
}

.magenta-case .case-contact {
  background: #6f4e5e;
}

@media (max-width: 1080px) {
  .case-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .case-hero-copy {
    max-width: 720px;
  }

  .case-intro-grid,
  .case-result {
    grid-template-columns: 1fr;
  }

  .case-project-data {
    grid-template-columns: 1fr 1fr;
  }

  .case-project-data div:nth-child(2) {
    border-right: 0;
  }

  .case-project-data div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .case-principle,
  .case-principle-story {
    grid-template-columns: 0.2fr 1fr;
  }

  .case-principle figure,
  .case-system-map {
    grid-column: 2;
  }

  .case-principle-story figure {
    grid-row: 2;
  }

  .case-principle-story .case-principle-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .case-functions-intro {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .case-core-note {
    max-width: 560px;
  }

  .case-function-database,
  .case-function-form {
    grid-column: span 12;
  }

  .case-function-search,
  .case-function-editorial,
  .case-function-connection,
  .case-function-responsive {
    grid-column: span 6;
  }

  .case-result-mark {
    min-height: 260px;
    border-top: 1px solid rgba(37, 38, 38, 0.2);
    border-left: 0;
  }

  .case-contact {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .case-contact .button {
    grid-column: 2;
    width: max-content;
  }
}

@media (max-width: 760px) {
  .case-hero {
    padding: 126px 20px 54px;
    gap: 42px;
  }

  .case-hero h1 {
    font-size: 1.9rem;
  }

  .case-hero-media img {
    aspect-ratio: 1.1;
  }

  .case-introduction,
  .case-principles,
  .case-functions {
    padding: 82px 20px;
  }

  .case-intro-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .case-introduction h2,
  .case-heading h2,
  .case-result h2,
  .case-contact h2 {
    font-size: 1.5rem;
  }

  .case-project-data {
    margin-top: 58px;
    grid-template-columns: 1fr;
  }

  .case-project-data div,
  .case-project-data div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-project-data div:last-child {
    border-bottom: 0;
  }

  .case-wide-visual,
  .case-wide-visual img {
    min-height: 540px;
  }

  .case-wide-visual img {
    height: 118vw;
    object-position: 50% 46%;
  }

  .case-wide-visual p {
    right: 18px;
    bottom: 16px;
    font-size: 0.62rem;
  }

  .case-heading {
    margin-bottom: 72px;
  }

  .case-principle,
  .case-principle-story {
    margin-bottom: 105px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .case-principle-number {
    font-size: 4rem;
  }

  .case-principle h3 {
    font-size: 1.25rem;
  }

  .case-principle figure,
  .case-system-map,
  .case-principle-story .case-principle-copy,
  .case-principle-story figure {
    grid-column: 1;
    grid-row: auto;
  }

  .case-system-map {
    min-height: 0;
    padding: 34px 20px;
    grid-template-columns: 1fr 28px 1fr 28px 1fr;
  }

  .case-system-map span {
    width: 76px;
    height: 76px;
    font-size: 0.84rem;
  }

  .case-system-map small {
    font-size: 0.58rem;
  }

  .case-function-grid {
    grid-template-columns: 1fr;
  }

  .case-functions-intro .case-heading h2 {
    font-size: 1.5rem;
  }

  .case-core-note {
    padding-left: 22px;
    gap: 12px;
  }

  .case-core-note p {
    font-size: 0.78rem;
  }

  .case-function-database,
  .case-function-search,
  .case-function-editorial,
  .case-function-form,
  .case-function-connection,
  .case-function-responsive {
    grid-column: 1;
  }

  .case-function-card {
    min-height: 330px;
    padding: 28px 24px;
    grid-template-rows: auto 190px auto;
    gap: 22px;
  }

  .case-function-card h3 {
    font-size: 1.65rem;
  }

  .case-function-database .case-function-visual,
  .case-function-form .case-function-visual,
  .case-function-connection .case-function-visual {
    right: 24px;
    transform: scale(0.74);
    transform-origin: top right;
  }

  .case-function-search .case-function-visual,
  .case-function-responsive .case-function-visual {
    right: 32px;
    transform: scale(0.76);
    transform-origin: top right;
  }

  .case-functions-footnote {
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 1.7;
  }

  .case-result {
    padding: 82px 20px;
    gap: 58px;
  }

  .case-contact {
    padding: 72px 20px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .case-contact .button {
    grid-column: auto;
  }

  .case-hero-generic {
    grid-template-columns: 1fr;
  }
}

/* Keep the clinic palette after the shared case-study defaults. */
.case-study.umeda-case {
  --case-ink: #173d36;
  --case-paper: #f6f7f1;
  --case-sage: #8baba2;
  --case-coral: #dda06f;
  --case-blue: #a9bcc1;
  color: var(--case-ink);
  background: var(--case-paper);
}

@media (max-width: 760px) {
  .umeda-case .case-hero,
  .umeda-case .case-hero-copy,
  .umeda-case .case-lead {
    width: 100%;
    max-width: 100%;
  }

  .umeda-case .case-hero {
    max-width: 100vw;
    grid-template-columns: minmax(0, 1fr);
  }

  .umeda-case .case-hero-copy {
    overflow: hidden;
  }

  .umeda-case .case-hero h1,
  .umeda-case .case-lead {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .umeda-case .case-hero h1 {
    max-width: calc(100vw - 40px);
    font-size: 2.05rem;
    line-height: 1.2;
  }

  .umeda-case-title span {
    display: inline;
  }

  .umeda-case-lead span {
    display: block;
  }

  .umeda-case-title span + span,
  .umeda-case-lead span + span {
    margin-left: 0;
  }

  .umeda-case .case-lead {
    max-width: calc(100vw - 40px);
  }

  .umeda-case .case-wide-visual img {
    object-position: top center;
  }
}

/* ARISE PROMOTION case study */
.case-study.arise-case {
  --case-ink: #171315;
  --case-paper: #f7f3f0;
  --case-sage: #8e8a87;
  --case-coral: #b40c5d;
  --case-gold: #b79443;
  color: var(--case-ink);
  background: var(--case-paper);
}

.arise-case .case-hero {
  background: linear-gradient(135deg, #f7f3f0 0%, #eee7e5 58%, #e8dedc 100%);
}

.arise-brand-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 26px 0 28px;
}

.arise-brand-line > span,
.arise-monogram {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  background: #b40c5d;
  font-family: var(--serif);
  font-size: 1.8rem;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

.arise-brand-line p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: 0.12em;
}

.arise-brand-line small {
  color: #846a45;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.19em;
}

.arise-case .case-hero h1 {
  font-size: clamp(2.3rem, 3.2vw, 2.85rem);
}

.arise-case-lead span {
  display: block;
}

.arise-case .case-hero-media,
.arise-case .case-principle figure,
.arise-case .case-function-screen {
  border-color: rgba(180, 12, 93, 0.22);
}

.arise-case .case-hero-media img,
.arise-case .case-principle figure img,
.arise-case .case-function-screen img,
.arise-wide-visual img {
  object-position: top center;
}

.arise-case .case-introduction {
  background: #faf7f2;
}

.arise-case .case-principles {
  color: #f8f4ef;
  background: #151214;
}

.arise-case .case-principles .case-heading h2,
.arise-case .case-principles .case-principle h3,
.arise-case .case-principles .case-principle-copy > p:last-child {
  color: #f8f4ef;
}

.arise-case .case-principles .case-principle-number {
  color: rgba(183, 148, 67, 0.42);
}

.arise-case .case-principles .section-kicker,
.arise-case .case-principles .case-section-index {
  color: #d5ad50;
}

.arise-wide-visual {
  background: #181416;
}

.arise-proposal-preview {
  min-height: 500px;
  padding: 0 26px 26px;
  color: #272225;
  background: #f3f3f3;
  border: 1px solid rgba(183, 148, 67, 0.6) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.arise-proposal-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  margin: 0 -26px 24px;
  padding: 0 22px;
  color: #fff;
  background: #241f22;
  font-family: var(--serif);
  font-size: 1rem;
}

.arise-proposal-preview figcaption span {
  color: #d5ad50;
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
}

.arise-proposal-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 13px;
}

.arise-proposal-filters span,
.arise-proposal-filters b,
.arise-proposal-action {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  background: #fff;
  border: 1px solid #d6d2d3;
  font-size: 0.64rem;
  font-weight: 500;
}

.arise-proposal-filters b {
  color: #fff;
  background: #74103f;
  border-color: #74103f;
}

.arise-proposal-action {
  width: max-content;
  margin-bottom: 13px;
  color: #fff;
  background: #315db8;
  border-color: #315db8;
}

.arise-proposal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.arise-proposal-list span {
  padding: 11px 12px;
  background: #fff;
  border: 1px solid #ddd9da;
  font-size: 0.66rem;
}

.arise-proposal-list span:first-child {
  color: #7a0d40;
  border-color: #bd7b9a;
}

.arise-proposal-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: #70676b;
  font-size: 0.62rem;
}

.arise-proposal-flow i {
  color: #b40c5d;
  font-style: normal;
}

.arise-case .case-functions {
  background: #f5f0ec;
}

.arise-case .case-function-database { background: #e6d9de; }
.arise-case .case-function-search { background: #dedbd6; }
.arise-case .case-function-editorial { background: #d9d1bf; }
.arise-case .case-function-form { background: #eadfe2; }
.arise-case .case-function-connection { background: #d8e0df; }
.arise-case .case-function-responsive { background: #e7ddd0; }

.arise-case .case-function-screen-bar {
  color: #e3c36c;
  background: #171315;
}

.arise-case .case-result {
  background: #efe7e4;
}

.arise-case .case-result-mark {
  background: #ded1d5;
}

.arise-case .case-contact {
  background: #23171d;
}

@media (max-width: 760px) {
  .arise-case .case-hero h1 {
    font-size: 2rem;
  }

  .arise-brand-line > span {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .arise-proposal-preview {
    min-height: 0;
    padding: 0 16px 20px;
  }

  .arise-proposal-preview figcaption {
    margin: 0 -16px 18px;
    padding: 0 14px;
  }

  .arise-proposal-filters,
  .arise-proposal-list {
    grid-template-columns: 1fr;
  }

  .arise-proposal-action {
    width: 100%;
  }

  .arise-proposal-flow {
    gap: 6px;
    flex-wrap: wrap;
  }
}

/* Home / Brand renewal */
.brand-home {
  --brand-ink: #383633;
  --brand-muted: #746f69;
  --brand-line: rgba(56, 54, 51, 0.16);
}

.brand-home .brand-hero {
  min-height: 660px;
  height: min(760px, 100vh);
}

.brand-home .brand-hero--motion {
  min-height: 680px;
  height: min(820px, 100svh);
  padding: 0;
  display: block;
  background: #596163;
}

.hero-motion-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #596163;
}

.hero-motion-actions {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4vw, 58px);
  bottom: clamp(22px, 3.5vh, 38px);
  justify-content: flex-end;
}

.hero-motion-actions .button {
  min-width: 158px;
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.78rem;
  backdrop-filter: blur(10px);
}

.hero-motion-actions .button-light {
  background: rgba(245, 240, 233, 0.9);
}

.hero-motion-actions .button-ghost-light {
  background: rgba(49, 52, 54, 0.32);
}

.brand-home .hero-copy {
  max-width: 680px;
}

.brand-home .hero h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
  line-height: 1.25;
}

.brand-home .hero-lead {
  max-width: 600px;
  font-size: clamp(0.88rem, 1.2vw, 1.02rem);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-ghost-light {
  color: #fffaf5;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 250, 245, 0.7);
}

.button-ghost-light:hover {
  color: var(--charcoal);
  background: rgba(251, 248, 242, 0.88);
}

.brand-home .service-card a {
  min-height: 260px;
}

.brand-home .service-overlay {
  padding: 24px;
}

.brand-home .service-overlay h2 {
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

.brand-home .service-overlay p {
  max-width: 260px;
  font-size: 0.74rem;
  line-height: 1.7;
}

.concept-section {
  min-height: 680px;
}

.concept-section .about-copy {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.concept-section .about-copy h2 {
  max-width: 460px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
  line-height: 1.5;
}

.concept-section .about-copy p:not(.section-kicker) {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 2.1;
}

.concept-section .about-visual {
  min-height: 680px;
}

.feature-section {
  grid-template-columns: minmax(230px, 0.34fr) 1fr;
  gap: clamp(34px, 6vw, 82px);
  padding-top: clamp(72px, 9vw, 116px);
  padding-bottom: clamp(72px, 9vw, 116px);
  background: #f7f3ed;
}

.feature-section h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: clamp(1.75rem, 2.7vw, 2.7rem);
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--brand-line);
  border-left: 1px solid var(--brand-line);
}

.feature-card {
  min-height: 235px;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
}

.feature-card > span {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 38px 0 14px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  line-height: 1.5;
}

.feature-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.82rem;
  line-height: 1.85;
}

.message-section {
  position: relative;
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(320px, 0.54fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(80px, 10vw, 138px) clamp(24px, 7vw, 96px);
  overflow: hidden;
  color: #f7f3ed;
  background: #555b5c;
}

.message-section::before {
  content: "RELATION";
  position: absolute;
  left: 4vw;
  bottom: -0.25em;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--serif);
  font-size: clamp(6rem, 17vw, 15rem);
  line-height: 1;
}

.message-heading,
.message-copy {
  position: relative;
  z-index: 2;
}

.message-section .section-kicker {
  color: #f7f3ed;
}

.message-heading h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: clamp(1.9rem, 3.3vw, 3.25rem);
  font-weight: 500;
  line-height: 1.55;
}

.message-copy > p:first-child {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 250, 245, 0.84);
  font-size: 0.93rem;
  line-height: 2.2;
}

.message-sign {
  margin: 38px 0 0;
  color: rgba(255, 250, 245, 0.58);
  font-family: var(--script);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  transform: rotate(-5deg);
}

.message-orbit span {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 50%;
  background: rgba(217, 207, 198, 0.18);
}

.message-orbit span:nth-child(1) {
  width: 190px;
  height: 190px;
  right: 8%;
  top: 9%;
}

.message-orbit span:nth-child(2) {
  width: 86px;
  height: 86px;
  right: 23%;
  bottom: 12%;
  background: rgba(173, 139, 134, 0.45);
}

.message-orbit span:nth-child(3) {
  width: 36px;
  height: 36px;
  right: 4%;
  bottom: 28%;
  background: rgba(207, 216, 217, 0.62);
}

.project-story-section {
  padding-top: clamp(74px, 9vw, 118px);
  padding-bottom: clamp(74px, 9vw, 118px);
}

.project-story-section .section-title-row {
  align-items: flex-end;
  margin-bottom: clamp(36px, 6vw, 70px);
}

.project-story-section .section-title-row h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  font-weight: 500;
  line-height: 1.5;
}

.project-intro {
  max-width: 510px;
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.86rem;
  line-height: 2;
}

.project-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 66px) clamp(22px, 4vw, 50px);
}

.project-story-card {
  border-bottom: 1px solid var(--brand-line);
}

.project-story-card a {
  display: grid;
  grid-template-columns: minmax(180px, 0.43fr) minmax(0, 0.57fr);
  min-height: 390px;
}

.project-story-image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  transition: filter 0.5s ease, transform 0.5s ease;
}

.project-story-card:hover .project-story-image {
  filter: saturate(0.86) contrast(1.04);
}

.project-story-image > span {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.project-story-body {
  padding: 8px 0 26px clamp(22px, 3vw, 38px);
}

.project-label {
  margin: 0 0 8px;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.project-story-body h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.25;
}

.project-story-body dl {
  margin: 0;
}

.project-story-body dl > div {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  border-top: 1px solid var(--brand-line);
}

.project-story-body dt {
  color: var(--brand-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.project-story-body dd {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.75;
}

.project-link {
  margin-top: 18px;
  display: inline-flex;
  gap: 12px;
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.project-link i {
  font-style: normal;
  transition: transform 0.25s ease;
}

.project-story-card:hover .project-link i {
  transform: translateX(4px);
}

.philosophy-section {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(300px, 0.48fr);
  background: #e3e1dc;
}

.philosophy-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background:
    radial-gradient(circle at 37% 49%, rgba(247, 243, 237, 0.95) 0 16%, transparent 16.3%),
    radial-gradient(circle at 63% 49%, rgba(105, 123, 132, 0.62) 0 16%, transparent 16.3%),
    linear-gradient(120deg, #d6d1ca, #aeb9ba);
}

.philosophy-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 49.8%, rgba(255, 255, 255, 0.62) 50%, transparent 50.2%);
}

.philosophy-visual > span,
.philosophy-visual small {
  position: absolute;
  z-index: 2;
  font-family: var(--serif);
  letter-spacing: 0.12em;
}

.philosophy-human {
  left: 22%;
  top: 48%;
}

.philosophy-ai {
  right: 27%;
  top: 48%;
  color: #fff;
}

.philosophy-visual small {
  left: 50%;
  bottom: 10%;
  font-size: 0.66rem;
  transform: translateX(-50%);
}

.philosophy-copy {
  padding: clamp(64px, 8vw, 110px) clamp(28px, 7vw, 92px);
  align-self: center;
}

.philosophy-copy h2 {
  margin: 0 0 28px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
  font-weight: 500;
  line-height: 1.55;
}

.philosophy-copy > p:last-child {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 2.15;
}

.brand-home .contact-panel h2 {
  font-size: clamp(2rem, 3.7vw, 3.5rem);
}

.footer-services {
  margin-bottom: 5px;
  text-align: right;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .feature-section,
  .message-section {
    grid-template-columns: 1fr;
  }

  .project-story-card a {
    grid-template-columns: 1fr;
  }

  .project-story-image {
    min-height: 250px;
  }

  .project-story-body {
    padding: 24px 0 28px;
  }
}

@media (min-width: 1051px) and (max-width: 1320px) {
  .brand-home .service-category {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .brand-home .service-category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-home .service-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .brand-home .brand-hero {
    min-height: 760px;
    padding-bottom: 42px;
  }

  .brand-home .brand-hero--motion {
    min-height: 700px;
    height: calc(100svh - 10px);
    padding: 0;
  }

  .hero-motion-actions {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .hero-motion-actions .button {
    min-height: 42px;
    font-size: 0.72rem;
  }

  .brand-home .hero h1 {
    max-width: 10em;
    font-size: 2.35rem;
    line-height: 1.38;
  }

  .brand-home .hero-lead {
    font-size: 0.82rem;
    line-height: 1.85;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .brand-home .service-card a {
    min-height: 190px;
  }

  .concept-section,
  .concept-section .about-visual {
    min-height: 0;
  }

  .concept-section .about-visual {
    min-height: 390px;
  }

  .concept-section .about-copy h2,
  .feature-section h2,
  .message-heading h2,
  .project-story-section .section-title-row h2,
  .philosophy-copy h2 {
    font-size: 1.55rem;
  }

  .concept-section .about-copy p:not(.section-kicker),
  .message-copy > p:first-child,
  .philosophy-copy > p:last-child {
    font-size: 0.84rem;
  }

  .feature-grid,
  .project-story-grid,
  .philosophy-section {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 190px;
  }

  .message-section {
    min-height: 0;
    gap: 32px;
  }

  .message-orbit span:nth-child(1) {
    width: 120px;
    height: 120px;
  }

  .project-story-section .section-title-row {
    align-items: flex-start;
  }

  .project-intro br {
    display: none;
  }

  .project-story-grid {
    gap: 46px;
  }

  .project-story-image {
    min-height: 220px;
  }

  .project-story-body dl > div {
    grid-template-columns: 70px 1fr;
  }

  .philosophy-visual {
    min-height: 360px;
  }

  .philosophy-copy {
    padding: 54px 24px 66px;
  }

  .footer-services {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-story-image,
  .project-link i {
    transition: none;
  }
}

/* Quick publish refinement: compact business-tool direction */
.brand-home {
  --brand-ink: #383633;
  --brand-muted: #706962;
  --brand-soft-bg: #f8f4ed;
  --brand-card: #fffdf8;
  --brand-line: rgba(56, 54, 51, 0.15);
}

.brand-home .brand-hero--compact {
  min-height: 620px;
  height: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 0.76fr);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  padding: clamp(132px, 14vw, 170px) clamp(24px, 6vw, 82px) clamp(62px, 8vw, 92px);
  color: var(--brand-ink);
  background:
    radial-gradient(circle at 86% 22%, rgba(173, 139, 134, 0.16) 0 11%, transparent 11.5%),
    linear-gradient(140deg, #fbf8f2 0%, #f3eee6 58%, #e8e3dc 100%);
}

.brand-home .brand-hero--compact .section-kicker {
  margin-bottom: 22px;
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.brand-home .brand-hero--compact h1 {
  max-width: 860px;
  font-size: clamp(2.15rem, 4.4vw, 4.25rem);
  line-height: 1.26;
}

.brand-home .brand-hero--compact .hero-lead {
  max-width: 720px;
  color: var(--brand-muted);
}

.brand-home .brand-hero--compact .button-light {
  color: #fffaf5;
  background: var(--brand-ink);
  border-color: var(--brand-ink);
}

.brand-home .brand-hero--compact .button-ghost-light {
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.42);
  border-color: var(--brand-line);
}

.hero-system-card {
  max-width: 520px;
  justify-self: end;
}

.system-window {
  overflow: hidden;
  border: 1px solid rgba(56, 54, 51, 0.15);
  border-radius: 18px;
  background: var(--brand-card);
  box-shadow: 0 26px 70px rgba(56, 54, 51, 0.12);
}

.system-window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #383633;
}

.system-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ad8b86;
}

.system-window-bar span:nth-child(2) {
  background: #d8d0c7;
}

.system-window-bar span:nth-child(3) {
  background: #697b84;
}

.system-dashboard {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 12px;
  padding: 18px;
}

.system-panel,
.system-flow {
  padding: 18px;
  border: 1px solid rgba(56, 54, 51, 0.12);
  background: #fffdf8;
}

.system-panel-main {
  grid-row: span 2;
  background: #f3eee6;
}

.system-panel small {
  display: block;
  color: var(--mauve);
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.system-panel strong,
.system-panel b {
  display: block;
}

.system-panel strong {
  margin-top: 6px;
  font-size: 0.95rem;
}

.system-panel b {
  color: var(--bluegray);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.05;
}

.system-panel p {
  margin: 8px 0 0;
  color: var(--brand-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.system-flow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.system-flow span {
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.system-flow i {
  flex: 1;
  height: 1px;
  background: var(--rose);
}

.hero-system-card > p {
  margin: 14px 0 0;
  color: var(--brand-muted);
  text-align: right;
  font-size: 0.82rem;
}

.brand-home .service-category {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 54px) clamp(42px, 6vw, 70px);
  background: var(--brand-soft-bg);
}

.brand-home .service-card a {
  min-height: 170px;
  color: var(--brand-ink);
  border: 1px solid var(--brand-line);
  background: var(--brand-card);
}

.brand-home .service-photo {
  inset: 18px auto auto 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-size: auto;
}

.brand-home .service-photo::after {
  display: none;
}

.brand-home .service-overlay {
  position: relative;
  inset: auto;
  min-height: 170px;
  padding: 78px 20px 20px;
  background: transparent;
}

.brand-home .service-overlay h2 {
  color: var(--brand-ink);
  font-family: var(--serif);
  font-size: 1.16rem;
}

.brand-home .service-overlay p {
  max-width: none;
  color: var(--brand-muted);
  font-size: 0.74rem;
}

.brand-home .photo-desk,
.brand-home .photo-camera,
.brand-home .photo-paper,
.brand-home .photo-notebook,
.brand-home .photo-flower {
  background:
    radial-gradient(circle at 50% 50%, var(--paper) 0 36%, transparent 37%),
    linear-gradient(135deg, #ad8b86, #697b84);
}

.brand-home .photo-camera {
  background:
    linear-gradient(90deg, transparent 47%, var(--paper) 47% 53%, transparent 53%),
    linear-gradient(135deg, #383633, #ad8b86);
}

.brand-home .photo-paper {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.4) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, #d8d0c7, #697b84);
}

.brand-home .photo-notebook {
  background:
    radial-gradient(circle at 70% 30%, #fffdf8 0 18%, transparent 19%),
    linear-gradient(135deg, #697b84, #d8d0c7);
}

.brand-home .photo-flower {
  background:
    radial-gradient(circle at 35% 35%, #ad8b86 0 16%, transparent 17%),
    radial-gradient(circle at 65% 65%, #697b84 0 18%, transparent 19%),
    #e3e1dc;
}

.concept-section {
  min-height: 0;
  grid-template-columns: minmax(280px, 0.47fr) minmax(300px, 0.53fr);
  border-top: 1px solid var(--brand-line);
}

.concept-section .about-copy {
  padding-top: clamp(54px, 7vw, 82px);
  padding-bottom: clamp(54px, 7vw, 82px);
}

.concept-section .about-visual {
  min-height: 520px;
}

.concept-section .about-visual .cinematic-photo {
  background-image: url("assets/images/home/noreah-workboard.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f0ebe4;
}

.concept-section .about-visual .cinematic-photo::after,
.concept-section .about-script,
.concept-section .about-menu {
  display: none;
}

.feature-section,
.message-section,
.project-story-section {
  padding-top: clamp(56px, 7vw, 86px);
  padding-bottom: clamp(56px, 7vw, 86px);
}

.feature-card {
  min-height: 190px;
}

.feature-card h3 {
  margin-top: 24px;
}

.message-section {
  min-height: 430px;
  background: #4f5758;
}

.message-section::before {
  content: "LINE → WP";
  font-size: clamp(4rem, 12vw, 10rem);
}

.project-story-card a {
  min-height: 300px;
}

.project-story-image {
  min-height: 260px;
}

.project-story-image.work-route {
  background-image: url("assets/images/home/noreah-line-wp-flow.png");
  background-size: cover;
  background-position: center;
}

.project-story-image.work-fleurir,
.project-story-image.work-magenta,
.project-story-image.work-teshigoto {
  background-image: url("assets/images/home/noreah-order-flow.png");
  background-size: cover;
  background-position: center;
}

.philosophy-section {
  min-height: 430px;
}

.philosophy-visual {
  min-height: 430px;
}

.brand-home .contact-cta {
  min-height: 300px;
}

.brand-home .contact-image {
  min-height: 300px;
  background-image: url("assets/images/home/noreah-line-wp-flow.png");
  background-size: cover;
  background-position: center;
}

@media (max-width: 1050px) {
  .brand-home .brand-hero--compact,
  .concept-section {
    grid-template-columns: 1fr;
  }

  .hero-system-card {
    width: 100%;
    max-width: 680px;
    justify-self: start;
  }

  .brand-home .service-category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-home .service-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .brand-home .brand-hero--compact {
    min-height: 0;
    padding: 116px 22px 52px;
  }

  .brand-home .brand-hero--compact h1 {
    font-size: 2rem;
  }

  .brand-home .brand-hero--compact .hero-actions {
    grid-template-columns: 1fr;
  }

  .system-dashboard {
    grid-template-columns: 1fr;
  }

  .system-panel-main,
  .system-flow {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-system-card > p {
    text-align: left;
  }

  .brand-home .service-category {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .concept-section .about-visual {
    min-height: 320px;
  }
}

/* Quick correction: brighter mauve-pink, restrained visuals */
.brand-home .brand-hero--compact {
  min-height: 500px;
  grid-template-columns: minmax(0, 760px);
  padding-top: clamp(116px, 12vw, 146px);
  padding-bottom: clamp(48px, 6vw, 70px);
  background:
    radial-gradient(circle at 84% 18%, rgba(202, 137, 158, 0.18) 0 12%, transparent 12.5%),
    linear-gradient(135deg, #fffafa 0%, #fbf5f6 46%, #f2ecec 100%);
}

.brand-home .brand-hero--compact h1 {
  max-width: 760px;
  font-size: clamp(1.82rem, 3.25vw, 3.15rem);
  line-height: 1.34;
}

.brand-home .brand-hero--compact .hero-lead {
  max-width: 680px;
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  line-height: 1.9;
}

.hero-system-card {
  display: none;
}

.brand-home {
  --mauve: #c98ea2;
  --rose: #c88499;
  --brand-muted: #75686d;
  --brand-soft-bg: #fffafa;
  --brand-card: #fffefe;
  --brand-line: rgba(116, 93, 100, 0.15);
}

.button-light,
.brand-home .brand-hero--compact .button-light {
  background: #bf7890;
  border-color: #bf7890;
}

.brand-home .brand-hero--compact .section-kicker,
.sample-body > span,
.project-label,
.feature-card > span {
  color: #bf7890;
}

.concept-section {
  grid-template-columns: minmax(0, 0.78fr) minmax(220px, 0.22fr);
}

.concept-section .about-visual {
  min-height: 0;
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 253, 248, 0.94) 0 22%, transparent 22.5%),
    radial-gradient(circle at 62% 58%, rgba(105, 123, 132, 0.34) 0 18%, transparent 18.5%),
    linear-gradient(135deg, #e6e0d8, #cbd3d3);
}

.concept-section .about-visual .cinematic-photo {
  display: none;
}

.message-section {
  min-height: 340px;
  background: #5b6363;
}

.message-section::before {
  content: "NOREAH";
  font-size: clamp(4rem, 11vw, 9rem);
}

.project-story-card a {
  min-height: 260px;
}

.project-story-image {
  min-height: 210px;
  background-image: none !important;
}

.brand-home .contact-image {
  background-image: none;
  background:
    radial-gradient(circle at 56% 46%, rgba(255,255,255,0.28) 0 16%, transparent 16.5%),
    linear-gradient(135deg, #d8d0c7, #697b84);
}

.sample-section {
  padding: clamp(56px, 7vw, 86px) clamp(24px, 5vw, 66px);
  background: #fffafa;
  border-top: 1px solid var(--brand-line);
}

.sample-section .section-title-row h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
  font-weight: 500;
  line-height: 1.42;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.sample-card {
  overflow: hidden;
  border: 1px solid rgba(116, 93, 100, 0.13);
  background: #fffefe;
}

.sample-image {
  aspect-ratio: 1.24;
  overflow: hidden;
  background: #f6eff1;
}

.sample-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.96) brightness(1.03);
}

.sample-body {
  padding: 18px 18px 20px;
}

.sample-body > span {
  display: block;
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.sample-body h3 {
  margin: 0 0 9px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.35;
}

.sample-body p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.76rem;
  line-height: 1.75;
}

@media (max-width: 760px) {
  .brand-home .brand-hero--compact {
    min-height: 0;
    padding-top: 104px;
  }

  .concept-section {
    grid-template-columns: 1fr;
  }

  .concept-section .about-visual {
    min-height: 120px;
  }
}

@media (max-width: 1120px) {
  .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sample-grid {
    grid-template-columns: 1fr;
  }
}

/* Restore the animated hero; keep only the background lighter. */
.brand-home .brand-hero--motion {
  min-height: 560px;
  height: min(690px, 82svh);
  padding: 0;
  display: block;
  background: #fbf4f6;
}

.brand-home .brand-hero--motion .hero-motion-frame {
  background: #fbf4f6;
}

.brand-home .brand-hero--motion .hero-motion-actions {
  right: clamp(20px, 4vw, 54px);
  bottom: clamp(18px, 3vh, 32px);
  gap: 10px;
}

.brand-home .brand-hero--motion .hero-motion-actions .button {
  min-width: 156px;
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 32px rgba(80, 56, 66, 0.08);
}

.brand-home .brand-hero--motion .hero-motion-actions .button-light {
  color: #fffafa;
  background: #bf7890;
  border-color: #bf7890;
}

.brand-home .brand-hero--motion .hero-motion-actions .button-ghost-light {
  color: #343033;
  background: rgba(255, 250, 250, 0.62);
  border-color: rgba(116, 93, 100, 0.18);
}

@media (max-width: 760px) {
  .brand-home .brand-hero--motion {
    min-height: 560px;
    height: min(640px, 78svh);
  }

  .brand-home .brand-hero--motion .hero-motion-actions {
    left: 18px;
    right: 18px;
  }
}

/* Tighten mid/lower home sections and simplify the NOREAH logo. */
.site-header {
  height: 70px;
  grid-template-columns: minmax(170px, 0.7fr) minmax(380px, 1fr) minmax(180px, 0.72fr);
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  gap: 0;
}

.brand-mark {
  display: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.5vw, 1.58rem);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.brand-name::first-letter {
  color: #bf7890;
}

.brand-concept {
  margin-top: 5px;
  font-size: 0.56rem;
  letter-spacing: 0.11em;
}

.header-copy {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.header-copy::after {
  width: 28px;
  margin-left: 10px;
}

.brand-home .brand-hero--motion {
  min-height: 520px;
  height: min(620px, 76svh);
}

.brand-home .service-category {
  padding-bottom: 34px;
}

.brand-home .service-card a,
.brand-home .service-overlay {
  min-height: 146px;
}

.brand-home .service-photo {
  width: 36px;
  height: 36px;
}

.brand-home .service-overlay {
  padding: 64px 18px 18px;
}

.brand-home .service-overlay h2 {
  font-size: 1.02rem;
}

.brand-home .service-overlay p {
  font-size: 0.7rem;
  line-height: 1.6;
}

.brand-home .concept-section {
  display: block;
  min-height: 0;
}

.brand-home .concept-section .about-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  column-gap: 48px;
  row-gap: 14px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 28px 32px 32px;
}

.brand-home .concept-section .section-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.brand-home .concept-section .about-copy h2 {
  margin: 0;
}

.brand-home .concept-section .about-copy p:not(.section-kicker) {
  max-width: none;
  margin: 0;
}

@media (max-width: 760px) {
  .brand-home .concept-section .about-copy {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 24px 28px;
    row-gap: 16px;
  }
}

.concept-section .about-copy h2 {
  max-width: 430px;
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.25vw, 2.18rem);
  line-height: 1.42;
}

.concept-section .about-copy p:not(.section-kicker) {
  max-width: 470px;
  font-size: 0.82rem;
  line-height: 1.9;
}

.concept-section .about-visual {
  min-height: 0;
}

.feature-section {
  grid-template-columns: minmax(210px, 0.3fr) 1fr;
  gap: clamp(24px, 4vw, 54px);
  padding-top: clamp(42px, 5.5vw, 66px);
  padding-bottom: clamp(42px, 5.5vw, 66px);
}

.feature-section h2 {
  font-size: clamp(1.45rem, 2.25vw, 2.16rem);
  line-height: 1.42;
}

.feature-card {
  min-height: 142px;
  padding: clamp(18px, 2.3vw, 26px);
}

.feature-card h3 {
  margin: 16px 0 8px;
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  line-height: 1.4;
}

.feature-card p {
  font-size: 0.75rem;
  line-height: 1.7;
}

.sample-section,
.project-story-section,
.journal-section {
  padding-top: clamp(42px, 5.5vw, 66px);
  padding-bottom: clamp(42px, 5.5vw, 66px);
}

.sample-section .section-title-row,
.project-story-section .section-title-row {
  margin-bottom: clamp(24px, 4vw, 42px);
}

.sample-section .section-title-row h2,
.project-story-section .section-title-row h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

.sample-grid {
  gap: 14px;
}

.sample-image {
  aspect-ratio: 1.34;
}

.sample-body {
  padding: 15px 15px 17px;
}

.sample-body h3 {
  font-size: 1rem;
}

.sample-body p {
  font-size: 0.72rem;
  line-height: 1.65;
}

.message-section {
  min-height: 300px;
  grid-template-columns: minmax(260px, 0.42fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(48px, 6vw, 78px) clamp(24px, 6vw, 76px);
}

.message-heading h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1.45;
}

.message-copy > p:first-child {
  font-size: 0.82rem;
  line-height: 1.9;
}

.message-sign {
  margin-top: 22px;
  font-size: clamp(1.15rem, 1.9vw, 1.72rem);
}

.project-story-grid {
  gap: clamp(22px, 3.5vw, 42px) clamp(18px, 3vw, 34px);
}

.project-story-card a {
  min-height: 230px;
  grid-template-columns: minmax(140px, 0.36fr) minmax(0, 0.64fr);
}

.project-story-image {
  min-height: 190px;
}

.project-story-body {
  padding-left: clamp(18px, 2.2vw, 28px);
  padding-bottom: 20px;
}

.project-story-body h3 {
  margin-bottom: 15px;
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
}

.project-story-body dl > div {
  padding: 7px 0;
  grid-template-columns: 58px 1fr;
}

.project-story-body dd {
  font-size: 0.7rem;
  line-height: 1.6;
}

.philosophy-section,
.philosophy-visual {
  min-height: 330px;
}

.philosophy-copy {
  padding: clamp(42px, 5.5vw, 68px) clamp(28px, 6vw, 76px);
}

.philosophy-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.45;
}

.philosophy-copy > p:last-child {
  font-size: 0.82rem;
  line-height: 1.9;
}

.journal-card {
  min-height: 145px;
  padding: 18px;
}

.brand-home .contact-cta,
.brand-home .contact-image {
  min-height: 250px;
}

.brand-home .contact-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.site-footer {
  padding-top: 24px;
  padding-bottom: 24px;
}

@media (max-width: 760px) {
  .site-header {
    height: 66px;
    grid-template-columns: 1fr auto;
  }

  .brand-home .brand-hero--motion {
    min-height: 520px;
    height: min(580px, 72svh);
  }

  .feature-section,
  .message-section,
  .project-story-card a,
  .philosophy-section {
    grid-template-columns: 1fr;
  }

  .project-story-image {
    min-height: 170px;
  }
}

/* Compact lower home sections. */
.home-link-panel {
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 58px) 0;
  border-top: 1px solid rgba(116, 93, 100, 0.14);
  border-bottom: 1px solid rgba(116, 93, 100, 0.14);
}

.home-link-panel h2 {
  margin-bottom: 0;
}

@font-face {
  font-family: 'Noreah Hand';
  src: url('assets/fonts/Yomogi-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.brand-home .cat-aside {
  margin: 0;
}

.cat-aside img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cat-aside figcaption {
  font-family: 'Noreah Hand', 'Hiragino Maru Gothic ProN', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.8;
  color: #735960;
  overflow-wrap: anywhere;
}

.brand-home .concept-section .about-copy > p:not(.section-kicker) {
  grid-column: 1;
  grid-row: 3;
}

.cat-aside--welcome {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cat-aside--welcome img {
  width: 260px;
}

.cat-aside--welcome figcaption {
  max-width: 280px;
  text-align: center;
}

.brand-home .cat-aside--support {
  margin-top: 20px;
  max-width: 260px;
}

.cat-aside--support figcaption {
  margin-top: 8px;
}

.brand-home .contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  column-gap: 28px;
  align-items: start;
}

.brand-home .contact-panel > :not(.cat-aside) {
  grid-column: 1;
}

.brand-home .contact-panel > a {
  justify-self: start;
}

.cat-aside--contact {
  grid-column: 2;
  grid-row: 1 / 5;
  align-self: end;
}

.cat-aside--contact figcaption {
  margin-bottom: 14px;
  color: #fffafa;
}

@media (max-width: 760px) {
  .cat-aside--welcome {
    grid-column: 1;
    grid-row: auto;
    justify-self: end;
    max-width: 240px;
  }

  .brand-home .concept-section .about-copy > p:not(.section-kicker) {
    grid-column: 1;
    grid-row: auto;
  }

  .brand-home .cat-aside--support {
    max-width: 240px;
  }

  .brand-home .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .cat-aside--contact {
    grid-column: 1;
    grid-row: auto;
    justify-self: end;
    max-width: 240px;
    margin-top: 24px !important;
  }
}

.home-link-copy {
  max-width: 520px;
  display: grid;
  gap: 18px;
  justify-items: start;
}

.home-link-copy .project-intro {
  max-width: none;
}

.home-link-copy .button-outline,
.brand-home .contact-panel .button-outline-light {
  min-width: 190px;
  min-height: 46px;
  justify-content: center;
}

.brand-home .project-story-section,
.brand-home .journal-section {
  padding-top: clamp(38px, 5vw, 64px);
  padding-bottom: clamp(38px, 5vw, 64px);
}

.brand-home .philosophy-section {
  min-height: auto;
  display: block;
  background: #f6f1ec;
  border-top: 1px solid rgba(116, 93, 100, 0.12);
  border-bottom: 1px solid rgba(116, 93, 100, 0.12);
}

.brand-home .philosophy-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) clamp(24px, 6vw, 76px);
}

.brand-home .philosophy-copy h2 {
  max-width: 620px;
}

.brand-home .philosophy-copy > p:last-child {
  max-width: 760px;
}

.brand-home .contact-cta {
  min-height: auto;
  display: block;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 6vw, 76px);
  background: #b78a97;
}

.brand-home .contact-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  color: #fffafa;
  background: transparent;
}

.brand-home .contact-panel .section-kicker,
.brand-home .contact-panel p:not(.section-kicker) {
  color: rgba(255, 250, 250, 0.88);
}

.brand-home .contact-panel .section-kicker::after {
  background: rgba(255, 250, 250, 0.42);
}

.brand-home .contact-panel h2 {
  max-width: 620px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

@media (max-width: 760px) {
  .home-link-panel {
    padding: 30px 0;
  }

  .home-link-copy {
    margin-top: 20px;
  }

  .brand-home .contact-cta {
    padding: 42px 24px;
  }
}

/* Home: clear headings, visible examples, and a light customer journey. */
.brand-home .section-kicker {
  font-size: 12px;
  letter-spacing: 0;
  color: #935868;
}

.brand-home .concept-section .about-copy h2,
.brand-home .feature-section h2,
.brand-home .sample-section h2,
.brand-home .message-heading h2 {
  font-size: 30px;
  line-height: 1.55;
  letter-spacing: 0;
}

.brand-home .concept-section .about-copy p:not(.section-kicker),
.brand-home .feature-card p,
.brand-home .sample-body p,
.brand-home .project-intro,
.brand-home .message-copy > p:first-child,
.brand-home .philosophy-copy > p,
.brand-home .contact-panel p:not(.section-kicker) {
  font-size: 16px;
  line-height: 1.9;
}

.brand-home .feature-section {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.8fr);
  padding-block: 44px;
  background: #fcf6f8;
}

.brand-home .feature-card {
  min-height: 0;
  padding: 24px;
  background: transparent;
}

.brand-home .feature-card > span {
  font-size: 22px;
  letter-spacing: 0;
  color: #ab687f;
}

.brand-home .feature-card h3 {
  font-size: 19px;
  margin: 10px 0;
}

.brand-home .sample-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.brand-home .sample-card {
  border: 0;
  background: transparent;
}

.brand-home .sample-image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid #e8dce1;
}

.brand-home .sample-image img {
  display: block;
  object-position: center top;
  filter: none;
  transition: transform 250ms ease;
}

.brand-home .sample-image:hover img {
  transform: scale(1.025);
}

.sample-view {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  color: #754354;
  background: #fffafa;
  font-size: 12px;
}

.sample-browser-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  background: #fffafa;
  color: #754354;
  font-family: var(--serif);
  font-size: 14px;
}

.sample-browser-bar small {
  font-family: sans-serif;
  font-size: 8px;
}

.brand-home .sample-image--family img {
  object-position: center;
}

.sample-family-copy {
  position: absolute;
  left: 20px;
  top: 25%;
  color: #593c42;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
  line-height: 1.65;
  text-shadow: 0 1px 8px #fff;
}

.sample-family-copy small {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  margin-top: 8px;
}

.brand-home .sample-body .sample-features {
  color: #935868;
  border-top: 1px solid #e8dce1;
  margin-top: 12px;
  padding-top: 10px;
  font-size: 13px;
}

.brand-home .sample-body {
  padding: 18px 0 0;
}

.brand-home .sample-body > span {
  color: #935868;
  letter-spacing: 0;
  font-size: 11px;
}

.brand-home .sample-body h3 {
  font-size: 21px;
}

.brand-home .message-section {
  min-height: 0;
  padding-block: 44px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  background: #f1f5f3;
  color: #343c38;
}

.brand-home .message-section::before {
  content: none;
}

.brand-home .message-section .section-kicker {
  color: #507263;
}

.brand-home .message-copy > p:first-child {
  color: #4f5d55;
}

.customer-path,
.home-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.customer-path li {
  border-top: 2px solid #90ac9c;
  padding-top: 12px;
}

.customer-path span,
.customer-path strong,
.customer-path small {
  display: block;
}

.customer-path span {
  font-family: var(--serif);
  color: #507263;
  font-size: 24px;
}

.customer-path strong {
  font-size: 16px;
  margin: 6px 0;
}

.customer-path small {
  font-size: 14px;
  color: #4f5d55;
}

.brand-home .home-link-panel {
  padding-block: 24px;
  margin-bottom: 0;
}

.brand-home .cat-aside--works {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  max-width: 380px;
}

.cat-aside--works img {
  width: 130px;
  flex: 0 0 130px;
}

.cat-aside--works figcaption {
  font-size: 16px;
}

.brand-home .philosophy-copy {
  max-width: 1120px;
  padding: 36px 32px;
}

.brand-home .philosophy-copy h2 {
  font-size: 28px;
}

.home-process li {
  border-top: 1px solid #d9bbc7;
  padding-top: 14px;
}

.home-process span {
  font-family: var(--serif);
  color: #a16178;
  font-size: 24px;
}

.home-process h3 {
  font-size: 17px;
  margin: 6px 0;
}

.home-process p {
  font-size: 15px;
  color: #6a6064;
  line-height: 1.8;
  margin: 0;
}

.brand-home .contact-panel {
  max-width: 1020px;
}

.brand-home a:focus-visible {
  outline: 2px solid #8a3f5b;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .brand-home .feature-section,
  .brand-home .message-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .brand-home .strength-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: 24px;
    align-items: center;
  }

  .brand-home .strength-heading .section-kicker,
  .brand-home .strength-heading h2 {
    grid-column: 1;
  }

  .brand-home .cat-aside--support {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .brand-home .concept-section .about-copy h2,
  .brand-home .feature-section h2,
  .brand-home .sample-section h2,
  .brand-home .message-heading h2 {
    font-size: 25px;
  }

  .brand-home .sample-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .brand-home .strength-heading {
    display: block;
  }

  .brand-home .cat-aside--support {
    margin-top: 18px;
    margin-left: auto;
  }

  .brand-home .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-home .feature-card {
    padding: 20px;
  }

  .customer-path {
    gap: 12px;
  }

  .customer-path strong {
    font-size: 14px;
  }

  .home-process {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .brand-home .philosophy-copy {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-home .sample-image img {
    transition: none;
  }
}

/* Fine rules and editorial numerals, without changing the page layout. */
.brand-home .cat-aside figcaption {
  text-wrap: balance;
}

.brand-home .section-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.brand-home .section-kicker::after {
  width: 62px;
  height: 5px;
  margin-left: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: none;
  opacity: 0.45;
  flex: 0 0 62px;
}

.brand-home .feature-grid {
  border-color: #dfcbd3;
}

.brand-home .feature-card {
  position: relative;
  border-color: #dfcbd3;
}

.brand-home .feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 42px;
  height: 2px;
  background: #ad6a80;
}

.brand-home .feature-card > span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a55e76;
  font-size: 34px;
  line-height: 1;
  font-style: italic;
  font-variant-numeric: lining-nums tabular-nums;
}

.brand-home .feature-card > span::after {
  content: '';
  width: 28px;
  height: 1px;
  background: #c59aaa;
}

.brand-home .sample-image {
  border-color: #d9c1ca;
  box-shadow: 4px 4px 0 #f0e6ea;
}

.brand-home .sample-body {
  padding-bottom: 20px;
  border-bottom: 1px solid #e4d5dc;
}

.brand-home .sample-body > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand-home .sample-body > span::before {
  content: '';
  width: 18px;
  height: 2px;
  background: #b67d92;
  flex: 0 0 18px;
}

.brand-home .sample-view {
  border: 1px solid #dec7d0;
}

.brand-home .home-process li,
.brand-home .customer-path li {
  position: relative;
  border-top-width: 1px;
}

.brand-home .home-process li::before,
.brand-home .customer-path li::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 3px;
  background: #b1768b;
}

.brand-home .customer-path li::before {
  background: #628673;
}

.brand-home .home-process li > span,
.brand-home .customer-path li > span {
  display: block;
  font-size: 32px;
  line-height: 1.1;
  font-style: italic;
  font-variant-numeric: lining-nums tabular-nums;
}

.brand-home .home-link-panel {
  border-top-color: #e2d3da;
  border-bottom-color: #e2d3da;
}

.brand-home .home-link-copy .button {
  border-color: #b57d91;
  color: #834b60;
}

.brand-home .home-link-copy .button:hover {
  background: #f5e9ee;
}

.brand-home .contact-cta {
  border-top: 4px solid #d9b7c4;
}

.brand-home .contact-panel {
  border-top: 1px solid rgba(255, 250, 250, 0.45);
  padding-top: 24px;
}

/* Low-contrast washes keep the original palette and clear text surfaces. */
.brand-home .concept-section {
  background: linear-gradient(115deg, #fffdfb 0%, #faf7f5 55%, #f6eef2 100%);
}

.brand-home .feature-section {
  background: linear-gradient(125deg, #fffafb 0%, #fcf4f7 50%, #f3e7ee 100%);
}

.brand-home .sample-section {
  background: linear-gradient(160deg, #fffdfd 0%, #fffafa 55%, #f7f0f4 100%);
}

.brand-home .message-section {
  background: linear-gradient(115deg, #f8fbf9 0%, #f0f5f2 48%, #e2ede7 100%);
}

.brand-home .project-story-section,
.brand-home .journal-section {
  background: linear-gradient(110deg, #fffdfb 0%, #faf7f6 60%, #f5eef2 100%);
}

.brand-home .philosophy-section {
  background: linear-gradient(125deg, #fcf8f6 0%, #f8f1f2 50%, #f0e6ed 100%);
}

.brand-home .contact-cta {
  background: linear-gradient(115deg, #996579 0%, #9b687c 50%, #886d81 100%);
}

.brand-home .contact-panel .section-kicker,
.brand-home .contact-panel p:not(.section-kicker) {
  color: #fffafa;
}

/* Home sections enter as a single quiet movement; content is visible without JS. */
.brand-home .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-home > .section-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 650ms ease-out, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .brand-home > .section-reveal.is-pending {
    opacity: 0;
    transform: translateY(20px);
  }
}

@media print {
  .brand-home > .section-reveal.is-pending {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .brand-home .feature-card > span {
    font-size: 30px;
  }

  .brand-home .customer-path li > span,
  .brand-home .home-process li > span {
    font-size: 28px;
  }
}

/* WORKS: show captured homepages without cropping or photo tint. */
.works-archive .work-image[style*="noreah-works-"] {
  aspect-ratio: 1296 / 711;
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  filter: none;
}
.works-archive .work-image[style*="noreah-works-"]::after {
  display: none;
}
.works-archive .work-card:hover .work-image[style*="noreah-works-"] {
  filter: none;
}

/* Compact Works hero with decorative browser mockups. */
.works-archive { padding-top:70px; }
.works-archive .works-compact-hero { min-height:0; height:320px; padding:46px max(32px,calc((100% - 1140px)/2)); justify-content:center; position:relative; overflow:hidden; isolation:isolate; background:#f5efed; }
.works-hero-copy { position:relative; z-index:2; width:48%; }
.works-archive .works-compact-hero .script-note { font-size:27px; transform:none; margin:0 0 6px; }
.works-archive .works-compact-hero h1 { font-size:86px; margin:0 0 14px; }
.works-archive .works-compact-hero .works-hero-copy>p:not(.script-note) { font-size:14px; line-height:1.9; }
.works-hero-art { position:absolute; inset:0 0 0 44%; z-index:0; opacity:.75; }
.works-hero-art::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#f5efed,transparent 34%,#f5efed10); z-index:5; }
.works-hero-window { position:absolute; width:390px; border:1px solid #ded1d4; background:#fff; border-radius:5px; overflow:hidden; box-shadow:0 15px 30px #6e495522; }
.works-hero-window>span { display:flex; gap:4px; padding:7px 9px; border-bottom:1px solid #f1e9ec; }
.works-hero-window i { width:4px; height:4px; border:1px solid #c9b4be; border-radius:50%; }
.works-hero-window img { width:100%; height:auto; }
.works-hero-window--0 { top:30px; left:4%; transform:rotate(-10deg); z-index:2; }
.works-hero-window--1 { top:-100px; left:60%; transform:rotate(12deg); z-index:1; }
.works-hero-window--2 { top:180px; left:49%; transform:rotate(8deg); z-index:3; }
@media(max-width:760px) {
 .works-archive .works-compact-hero { height:265px; padding:32px 24px; }
 .works-hero-copy { width:80%; }
 .works-archive .works-compact-hero h1 { font-size:64px; }
 .works-archive .works-compact-hero .script-note { font-size:24px; }
 .works-archive .works-compact-hero .works-hero-copy>p:not(.script-note) { font-size:12px; }
 .works-hero-art { left:30%; opacity:.4; }
 .works-hero-art::after { background:linear-gradient(90deg,#f5efed 0%,#f5efed99 35%,transparent); }
 .works-hero-window { width:260px; }
 .works-hero-window--0 { top:40px; left:12%; }
 .works-hero-window--1 { top:-100px; left:75%; }
 .works-hero-window--2 { top:205px; left:20%; }
}

/* Keep the Local WordPress admin bar from covering the redesigned headers. */
body.admin-bar.home .site-header,body.admin-bar.post-type-archive-works .site-header { top:32px; }
@media(max-width:782px) { body.admin-bar.home .site-header,body.admin-bar.post-type-archive-works .site-header { top:46px; } }

/* A compact footer with only the copyright line. */
.site-footer.site-footer--minimal { display:block; min-height:0; margin:0; padding:18px 24px; background:#faf7f2; border-top:1px solid #e7dfe0; text-align:center; }
.site-footer.site-footer--minimal p { margin:0; padding:0; font:12px/1.5 var(--serif); letter-spacing:.08em; color:#8b7d80; white-space:nowrap; }

/* 中ページもTOPと同じ1080pxを基準にナビゲーションを切り替える。 */
body:not(.home):not(.page-contact) .site-header{height:70px;grid-template-columns:auto 1fr auto;padding-inline:32px}
body:not(.home):not(.page-contact) .header-copy{display:none}
body:not(.home):not(.page-contact) .header-actions{grid-column:3;grid-row:1;align-self:center}
body:not(.home):not(.page-contact) .brand-name{font-size:25px}
body:not(.home):not(.page-contact) .brand-concept{font-size:9px}
body.admin-bar:not(.home):not(.page-contact) .site-header{top:32px}
@media(min-width:1080px){
 body:not(.home):not(.page-contact) .menu-toggle{display:none}
 body:not(.home):not(.page-contact) .site-nav{display:block;position:static;grid-column:2;grid-row:1;padding:0;background:none;box-shadow:none}
 body:not(.home):not(.page-contact) .nav-list{display:flex;flex-direction:row;justify-content:center;gap:23px;padding:0}
 body:not(.home):not(.page-contact) .nav-list a{font-size:11px}
}
@media(max-width:1079px){
 body:not(.home):not(.page-contact) .site-header{grid-template-columns:1fr auto;gap:16px}
 body:not(.home):not(.page-contact) .menu-toggle{display:block;grid-column:2;grid-row:1;width:40px;height:40px;justify-self:end}
 body:not(.home):not(.page-contact) .header-actions{display:none}
 body:not(.home):not(.page-contact) .site-nav{position:absolute;top:70px;left:0;width:100%;padding:16px 24px;background:#fcfaf7;border-bottom:1px solid var(--line);box-shadow:0 12px 18px #473a4008}
 body:not(.home):not(.page-contact) .site-nav:not(.is-open){display:none}
 body:not(.home):not(.page-contact) .site-nav.is-open{display:block}
 body:not(.home):not(.page-contact) .nav-list{display:flex;flex-direction:column;gap:0;padding:0;align-items:stretch}
 body:not(.home):not(.page-contact) .nav-list a{display:block;padding:11px 8px;font-size:13px}
}
@media(max-width:760px){
 body:not(.home):not(.page-contact) .site-header{height:66px;padding-inline:20px}
 body:not(.home):not(.page-contact) .site-nav{top:66px}
 body:not(.home):not(.page-contact) .brand-name{font-size:23px}
}
@media(max-width:782px){body.admin-bar:not(.home):not(.page-contact) .site-header{top:46px}}
