/* Gold-leaf picture-scroll art direction. All copy remains in content.json. */
:root {
  --ink: #27251e;
  --gold: #ae8436;
  --gold-dark: #76521d;
  --gold-pale: #ecd6a1;
  --paper: #f7f0df;
  --line: #cbb480;
  --header: 78px
}

body {
  background: #faf6ec;
  line-height: 2.05;
  letter-spacing: .035em
}

.theme-nobunaga {
  --accent: #9e2f20;
  --tint: #eaddbe;
  --soft: #fbf0e0;
  --crest: url('../images/crest-nobunaga.png')
}

.theme-hideyoshi {
  --accent: #8b611c;
  --tint: #eddaad;
  --soft: #fbf3da;
  --crest: url('../images/crest-hideyoshi.png')
}

.theme-ieyasu {
  --accent: #2f513c;
  --tint: #dce2ca;
  --soft: #f1f3e4;
  --crest: url('../images/crest-ieyasu.png')
}

.wrap {
  width: min(1220px, calc(100% - 100px))
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important
}

.rich-cloud {
  display: block;
  aspect-ratio: 3/1;
  background: url('../images/gold-cloud-rich.png') center/contain no-repeat;
  mix-blend-mode: multiply;
  color: inherit;
  pointer-events: none
}

.ornament {
  width: 260px;
  gap: 18px
}

.ornament i {
  height: 3px;
  border-block: 1px solid #ad8135;
  background: transparent
}

.ornament span {
  font-size: 25px;
  color: #987026;
  transform: rotate(0deg);
  text-shadow: none
}

.section-tag {
  letter-spacing: .18em;
  border: 0;
  border-left: 3px solid var(--gold);
  padding: 3px 0 3px 14px;
  color: var(--ink);
  font-size: 17px
}

.site-header {
  border-bottom: 3px double #b89450;
  background: #fcf8ee;
  box-shadow: 0 3px 10px #49331b12
}

.header-nav>button {
  font-size: 16px
}

.header-cta {
  position: relative;
  font-family: var(--heading);
  color: #fff8e2;
  border: 1px solid #d7ba74;
  background: #963b2b;
  padding: 10px 27px;
  box-shadow: 0 3px 0 #5e2116, 0 5px 12px #613f2420;
  transition: transform .2s, box-shadow .2s
}

.header-cta:before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #e1c382aa;
  pointer-events: none
}

.header-cta span {
  color: #e7c77e
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #5e2116, 0 8px 18px #613f2430
}

/* The supplied first-view JPEG is displayed whole, without overlays or crops. */
.hero.hero-fv {
  min-height: 0;
  padding: 0;
  background: none;
  overflow: visible
}

.hero.hero-fv:before {
  display: none
}

.hero-fv .fv-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 2048/977;
  object-fit: contain
}

/* Opening: an illustrated map gets the full width of the picture scroll. */
.intro {
  padding-top: 105px;
  padding-bottom: 105px
}

.intro>.wrap {
  position: relative;
  z-index: 1
}

.intro:before {
  content: '';
  position: absolute;
  width: 680px;
  aspect-ratio: 3;
  left: -270px;
  top: 30px;
  background: url('../images/gold-cloud-rich.png') center/contain no-repeat;
  opacity: .65;
  pointer-events: none;
  transform: rotate(8deg)
}

.intro-cloud {
  width: 630px;
  right: -270px;
  top: 290px;
  opacity: .75;
  transform: scaleX(-1)
}

.intro-heading {
  margin-bottom: 52px;
  gap: 22px
}

.intro-heading h2 {
  font-size: clamp(36px, 3.7vw, 53px);
  letter-spacing: .06em
}

.intro-heading .seal {
  stroke: #a62c1d;
  width: 43px;
  height: 43px
}

.intro-grid {
  display: block
}

.intro-text {
  font-size: 17px;
  line-height: 2.25;
  columns: 2;
  column-gap: 62px;
  max-width: 1100px;
  margin-inline: auto
}

.intro-text p {
  break-inside: avoid
}

.intro-text p+p {
  margin-top: 1.2em
}

.intro-text br {
  display: none
}

.intro-text p:last-child {
  column-span: all;
  text-align: center;
  font-weight: 700;
  font-size: 23px;
  margin-top: 30px;
  letter-spacing: .07em;
  color: #8d2a1d
}

.map-scroll {
  width: calc(100% - 38px);
  max-width: 1140px;
  margin: 62px auto 0;
  padding: 25px 18px;
  background: #c6a569;
  transform: none;
  box-shadow: 0 13px 25px #422d1b24, 0 0 0 1px #8e6e37, 0 0 0 5px #d7be82, 0 0 0 6px #9d783c
}

.map-art {
  isolation: isolate;
  box-shadow: 0 0 0 1px #8d6927, 0 0 0 6px #f3e6c5;
  background: #d0b474;
  overflow: hidden
}

.japan-map {
  aspect-ratio: 900/530;
  object-fit: contain;
  position: relative;
  z-index: -1
}

.map-top,
.map-bottom {
  left: -20px;
  right: -20px;
  height: 15px;
  border-radius: 5px;
  background: #9f7c42;
  box-shadow: 0 2px 3px #513c2233
}

.map-top {
  top: -9px
}

.map-bottom {
  bottom: -9px
}

.map-top:before,
.map-top:after,
.map-bottom:before,
.map-bottom:after {
  width: 22px;
  height: 23px;
  top: -4px;
  border: 1px solid #a98341;
  background: #73552e;
  border-radius: 4px
}

.map-leaders {
  z-index: 1
}

.map-leaders .map-route {
  stroke: #b34424;
  stroke-width: 2.2;
  stroke-dasharray: 7 5;
  opacity: .85
}

.map-leaders .map-leader {
  stroke: #8b5d23;
  stroke-width: 1.3;
  stroke-dasharray: 2 3;
  opacity: .9
}

.map-leaders .map-location circle {
  fill: #b63019;
  stroke: #fff1cf;
  stroke-width: 2.4;
  filter: drop-shadow(0 1px 2px #5a2b0c70)
}

.map-leaders .map-castle-icon {
  fill: #b63019;
  stroke: #fff4dc;
  stroke-width: 1.2;
  stroke-dasharray: none;
  stroke-linejoin: round
}

.map-badge {
  width: 13.5%;
  max-width: 150px;
  min-width: 48px;
  gap: 8px;
  z-index: 3
}

.map-badge .avatar {
  border: 3px solid #9d6b25;
  box-shadow: inset 0 0 0 3px #f7df9f, 0 0 0 2px #f7dea0, 0 0 0 4px #ab7c32, 0 6px 10px #5f3d2240;
  background: #ead9b3;
  transition: transform .25s, box-shadow .25s
}

.map-badge .map-label {
  font-size: 20px;
  line-height: 1.45;
  padding: 3px 13px 5px;
  font-weight: 700;
  color: #4d311b;
  background: #fff7e5;
  border: 1px solid #a37a35;
  box-shadow: 0 2px 0 #92703b66;
  letter-spacing: .08em
}

.map-badge:hover .avatar,
.map-badge:focus-visible .avatar {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 3px #f7df9f, 0 0 0 2px #f7dea0, 0 0 0 5px #9f2e1d, 0 10px 16px #5f3d2245
}

.supervisor-intro {
  margin-top: 92px;
  background: transparent;
  border: 1px solid #a98b4f;
  box-shadow: 5px 7px 0 #d8be842b;
  padding: 45px 50px
}

.supervisor-intro:before {
  inset: 7px;
  border: 1px solid #d2b574
}

.supervisor-disc {
  background: #e5d0a4;
  border: 1px solid #96722e;
  box-shadow: 0 0 0 6px #efe0b9, 0 0 0 7px #c4a25f
}

.supervisor-message h3 {
  font-size: 27px;
  border-bottom: 1px solid #b69756;
  padding-bottom: 12px
}

.supervisor-message>p {
  font-size: 17px;
  line-height: 2.15
}

.profile-detail {
  border-top: 3px double #c5aa72;
  font-size: 16px
}

/* Gold ground and family crests connect the three selectable stories. */
.selection {
  background: #ede0bb url('../images/paper.jpg') center center / cover no-repeat;
  border-block: 3px double #b5924c
}

.selection>.wrap {
  position: relative;
  z-index: 1
}

.selection-cloud {
  width: 670px;
  left: -270px;
  top: 35px;
  opacity: .8
}

.selection:after {
  content: '';
  position: absolute;
  width: 590px;
  aspect-ratio: 3;
  right: -240px;
  bottom: 35px;
  background: url('../images/gold-cloud-rich.png') center/contain no-repeat;
  opacity: .8;
  pointer-events: none;
  transform: scaleX(-1)
}

.selection-heading h2 {
  font-size: clamp(32px, 3.3vw, 48px)
}

.select-instruction {
  font-size: 17px
}

.castle-card {
  border: 1px solid #92703b;
  box-shadow: 5px 6px 0 #b1966033, 0 10px 28px #6e4b2010;
  background: #fffbf1
}

.castle-card:after {
  inset: 7px;
  border-color: #c6a45e9e
}

.castle-card:hover,
.castle-card.chosen {
  box-shadow: 5px 9px 0 #b196603b, 0 16px 30px #6e4b2025
}

.card-art {
  background: var(--tint);
  border-bottom: 4px double var(--accent)
}

.card-art:after {
  content: '';
  position: absolute;
  width: 95%;
  aspect-ratio: 3;
  left: -28%;
  bottom: -10px;
  background: url('../images/gold-cloud-rich.png') center/contain no-repeat;
  pointer-events: none;
  opacity: .7
}

.card-disc {
  width: 220px;
  height: 220px;
  background: var(--crest) center/85% no-repeat;
  border: 0;
  opacity: .5;
  right: 0;
  top: 15px
}

.card-owner {
  z-index: 2;
  border: 2px solid #a7823e;
  box-shadow: 0 0 0 4px #efd499, 0 4px 13px #563a2733;
  background: #eee0ba
}

.card-castle-name {
  box-shadow: 4px 6px 0 #59451c33;
  border: 1px solid #ead59a;
  outline: 3px solid var(--accent)
}

.card-body h3 {
  font-size: 32px
}

.card-catch {
  font-size: 20px;
  line-height: 1.85
}

.card-type {
  font-size: 15px
}

.card-advisor {
  border-top: 3px double #c0a265
}

.lord-tabs {
  width: min(1180px, calc(100% - 80px))
}

.tabs-shell {
  background: #f8efdc;
  border-bottom: 3px double #9b7533;
  box-shadow: 0 5px 15px #4a321b16
}

.lord-tab {
  border-color: #b69a60;
  padding-block: 15px
}

.lord-tab .avatar {
  border: 2px solid #c6a663;
  box-shadow: 0 0 0 2px #fff3d2
}

.lord-tab[aria-selected=true] {
  background: var(--accent);
  box-shadow: inset 0 0 0 5px #ddc48650
}

.lord-tab[aria-selected=true]:after {
  border-bottom: 1px solid #b89b5b;
  border-right: 1px solid #b89b5b
}

/* Owner profile: unchanged portrait art, a large crest, and a rich name ribbon. */
.lord-panel {
  padding-top: 65px;
  position: relative;
  overflow: hidden
}

.owner-section {
  position: relative;
  grid-template-columns: 1fr 1.22fr;
  gap: 30px;
  min-height: 470px;
  isolation: isolate
}

.owner-section:after {
  content: '';
  position: absolute;
  right: -210px;
  top: 52px;
  width: 500px;
  aspect-ratio: 3;
  background: url('../images/gold-cloud-rich.png') center/contain no-repeat;
  opacity: .7;
  pointer-events: none;
  z-index: -1
}

.owner-art {
  height: 500px;
  overflow: visible;
  isolation: isolate
}

.owner-sun {
  width: 400px;
  height: 400px;
  left: -35px;
  top: 40px;
  background: var(--crest) center/95% no-repeat;
  border: 0;
  opacity: .38;
  z-index: -2;
  border-radius: 0
}

.owner-crop {
  inset: auto !important;
  width: 112%;
  height: 470px;
  left: -35px !important;
  bottom: 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  mask-image: linear-gradient(#000 94%, transparent);
  overflow: hidden
}

.owner-crop img {
  height: auto !important;
  max-width: none;
  top: 0 !important;
  bottom: auto !important;
  width: 135% !important;
  left: -12% !important
}

.owner-crop.hideyoshi img {
  width: 172% !important;
  left: -36% !important;
  bottom: auto !important
}

.owner-crop.ieyasu img {
  width: 195% !important;
  left: -55% !important;
  bottom: auto !important
}

.owner-cloud {
  width: 600px;
  left: -210px;
  top: 13px;
  opacity: .8;
  z-index: -1
}

.owner-art:after {
  content: '';
  position: absolute;
  left: -150px;
  bottom: -6px;
  width: 550px;
  aspect-ratio: 3;
  background: url('../images/gold-cloud-rich.png') center/contain no-repeat;
  opacity: .8;
  pointer-events: none;
  z-index: 3
}

.owner-copy {
  position: relative;
  z-index: 5
}

.owner-copy>.section-tag {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 15px;
  font-size: 20px;
  letter-spacing: .12em
}

.owner-copy>.section-tag:after {
  content: '';
  height: 1px;
  background: #b29151;
  flex: 1
}

.owner-copy h2 {
  color: #24241d;
  font-size: clamp(58px, 5.9vw, 83px);
  line-height: 1.45;
  letter-spacing: .07em;
  margin: 17px 0 12px
}

.owner-type {
  position: relative;
  color: #fff9e9;
  background: var(--accent);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .04em;
  margin-bottom: 25px;
  padding: 10px 22px 12px 18px;
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%);
  box-shadow: inset 0 4px 0 #bca15c66
}

.profile-fields {
  border: 1px solid #bca16c;
  background: #fff9ecaa
}

.profile-fields>div {
  padding: 0;
  gap: 0;
  border: 0;
  font-size: 17px;
  grid-template-columns: 120px 1fr
}

.profile-fields>div+div {
  border-top: 1px solid #c6b182
}

.profile-fields dt {
  padding: 14px 16px;
  background: transparent;
  border-right: 1px solid #c6b182;
  font-size: 16px;
  color: #423a2c;
  display: flex;
  align-items: center
}

.profile-fields dd {
  padding: 14px 20px;
  line-height: 1.9
}

.property {
  padding: 38px;
  margin-top: 30px;
  border: 1px solid #ac8a49;
  background: #fff9ec;
  box-shadow: 7px 8px 0 #c8af7330
}

.property:before {
  inset: 8px;
  border-color: #cbb275
}

.property-heading {
  margin-bottom: 27px;
  gap: 16px
}

.property-heading:after {
  content: '';
  flex: 1;
  height: 1px;
  background: #af8c48;
  margin-left: 10px
}

.property-heading h3 {
  font-size: 33px
}

.property-icon {
  color: var(--gold)
}

.property-icon svg {
  stroke: #9b702a
}

.property-grid {
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  align-items: center
}

.property-visual {
  position: relative;
  min-width: 0;
  height: 430px;
  overflow: hidden;
  background: #f6eed9;
  border: 1px solid #c6ac72;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center
}

.property-halo {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: var(--crest) center/90% no-repeat;
  opacity: .25;
  top: 36px;
  right: -40px;
  z-index: -1
}

.property-castle {
  height: 94%;
  max-width: 90%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(8px 8px 4px #5b452321);
  position: relative;
  z-index: 2
}

.property-cloud-back {
  width: 410px;
  left: -210px;
  top: 22px;
  opacity: .85;
  z-index: 0
}

.property-cloud-front {
  width: 480px;
  right: -225px;
  bottom: -15px;
  opacity: .8;
  z-index: 3
}

.property dl {
  border: 1px solid #c2aa77
}

.property dl>div {
  font-size: 16px;
  grid-template-columns: 79px 1fr;
  gap: 0;
  padding: 0;
  border: 0
}

.property dl>div+div {
  border-top: 1px solid #d1bf96
}

.property dt {
  padding: 10px 13px;
  font-size: 15px;
  background: #e9ddc2;
  border-right: 1px solid #c8b486;
  color: #3e3729
}

.property dd {
  padding: 10px 16px;
  line-height: 1.85;
  background: #fff9ed9c
}

.property-story {
  padding: 23px 0 0;
  border: 0;
  font-size: 16px;
  line-height: 2.1;
  margin: 0
}

.property-story br {
  display: none
}

.tour-heading {
  margin-top: 88px;
  margin-bottom: 65px
}

.tour-heading h3 {
  font-size: 31px;
  line-height: 1.85
}

.tour-point {
  position: relative
}

.tour-point:before {
  content: '';
  position: absolute;
  width: 510px;
  aspect-ratio: 3;
  left: -350px;
  top: 55px;
  background: url('../images/gold-cloud-rich.png') center/contain no-repeat;
  opacity: .65;
  pointer-events: none;
  z-index: -1
}

.tour-point:nth-of-type(even):before {
  left: auto;
  right: -340px;
  top: 180px;
  transform: scaleX(-1)
}

.image-mat {
  border: 1px solid #9e7736;
  padding: 12px;
  background: #d9c18b;
}

.image-mat img {
  border: 1px solid #b19150
}

.image-corner {
  border-color: #9a702d;
  border-width: 0;
  width: 44px;
  height: 44px
}

.c1 {
  top: 5px;
  left: 5px;
  border-top-width: 2px;
  border-left-width: 2px
}

.c2 {
  bottom: 5px;
  right: 5px;
  border-bottom-width: 2px;
  border-right-width: 2px
}

.point-label {
  border-bottom: 1px solid #b79a5b;
  padding-bottom: 10px;
  margin-bottom: 18px
}

.point-label>span:first-child {
  color: #8f6825;
  font-size: 48px
}

.point-copy h4 {
  font-size: 35px;
  line-height: 1.7;
  letter-spacing: .02em
}

.point-description {
  font-size: 17px;
  line-height: 2.1
}

/* Dialogue is framed as small decorated sheets, with tails kept in the flow. */
.dialogue {
  gap: 34px;
  margin-block: 40px
}

.speech {
  gap: 20px
}

.speech .avatar,
.advisor-avatar {
  border: 2px solid #a37b35;
  box-shadow: 0 0 0 3px #f1ddb1, 0 0 0 4px #c2a15e, 0 6px 12px #73522920;
  margin-top: 34px;
  background: #ead9b3
}

.speaker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  color: #fff8e7;
  background: var(--accent);
  border: 1px solid #c6a76a;
  padding: 4px 13px 5px;
  margin-bottom: 10px;
  box-shadow: 0 0 0 2px #f4e7c9
}

.speaker:before {
  content: '';
  width: 5px;
  height: 5px;
  border: 1px solid #ecd59e;
  transform: rotate(45deg)
}

.advisor-speech .speaker {
  background: #605238
}

.speech p {
  padding: 22px 23px;
  border: 1px solid #ad8744;
  background: #fffcf4;
  box-shadow: 5px 6px 0 #c4a36725, 0 8px 16px #4f341712;
  font-size: 16px;
  line-height: 2
}

.owner-speech p {
  border-color: #ad8744;
  background: #fffcf4
}

.speech p:after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #cfb77c80;
  pointer-events: none
}

.speech p:before,
.owner-speech p:before {
  width: 14px;
  height: 14px;
  top: 24px;
  left: -8px;
  border-color: #ad8744;
  background: #fff8e9;
  z-index: 1
}

.expert {
  gap: 25px;
  margin-top: 36px
}

.expert-photo {
  border: 3px solid #e3c887;
  box-shadow: 0 0 0 1px #9f7b39, 0 0 0 5px #f1e1bd
}

.expert-person>span {
  font-size: 14px
}

.expert-bubble {
  padding: 26px 30px;
  border: 1px solid #b29350;
  border-left: 5px solid #a88237;
  background: #f3ead6;
  box-shadow: 4px 5px 0 #c8aa7130
}

.expert-bubble:after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #d5bd8370;
  pointer-events: none
}

.expert-bubble:before {
  left: -14px;
  border-right-color: #a88237;
  top: 32px
}

.expert-label {
  font-size: 15px;
  letter-spacing: .1em;
  color: #78551f;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 13px
}

.expert-label:after {
  content: '';
  height: 1px;
  background: #c9ac6c;
  flex: 1;
  opacity: .7
}

.expert-bubble p {
  font-size: 16px;
  line-height: 2.1;
  position: relative;
  z-index: 1
}

.entry-comment p {
  border: 1px solid #ad8744;
  background: #fff5df;
  box-shadow: 4px 5px 0 #c9aa7130;
  padding: 18px 27px
}

.entry-comment p:after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #d0b57480;
  pointer-events: none
}

.entry-comment p:before {
  border-color: #ad8744;
  background: #fff5e0;
  z-index: 1
}

.investment {
  background: var(--soft);
  border-block: 3px double #b89b5e;
  isolation: isolate;
  padding: 72px 0 80px
}

.investment:before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--crest) calc(100% + 90px) 60px/380px no-repeat;
  opacity: .1;
  pointer-events: none;
  z-index: -1
}

.investment-grid {
  background: #fff9e850;
  border: 1px solid #b39757;
  padding: 30px 0;
  box-shadow: inset 0 0 0 6px #fff9e866
}

.investment-item h4 {
  font-size: 17px;
  color: #6c532b
}

.investment-item p {
  font-size: 22px
}

.advisor-art:before {
  background: var(--tint) var(--crest) center / 80% no-repeat;
  border: 2px solid #b89343;
  outline: 8px solid #e0c98f90;
  box-shadow: 0 0 0 9px #b69756
}

.advisor-cloud {
  width: 500px;
  left: -190px;
  top: -15px;
  opacity: .7
}

.advisor-name-vertical {
  border: 1px solid #a98a48;
  box-shadow: 4px 4px #bca06444;
  background: #fbf3de
}

.advisor-support {
  border: 1px solid #b49759;
  box-shadow: inset 0 0 0 5px #eee0ba77;
  background: #fcf4df;
  padding: 21px 24px
}

.advisor-role>span,
.advisor-support>span {
  font-size: 16px;
  color: #805b24
}

.advisor-role p,
.advisor-support p {
  font-size: 17px
}

.advisor-copy blockquote {
  border-block: 3px double #ba9a59;
  padding: 20px 10px;
  background: #f0e1bc33;
  font-size: 21px;
  line-height: 2
}

.next-lord {
  border: 1px solid #a47e36;
  position: relative;
  background: #fff8e8;
  box-shadow: 3px 4px 0 #bca36b44
}

.next-lord:before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #bda06466;
  pointer-events: none
}

.comparison {
  border-block: 3px double #a88135;
  background: #eee2c6
}

.comparison>.wrap {
  position: relative;
  z-index: 1
}

.comparison-cloud {
  width: 650px;
  right: -230px;
  top: 35px;
  opacity: .8
}

.comparison table {
  box-shadow: 0 8px 18px #61492018
}

.comparison thead th {
  background: #f5e9cf;
  border-color: #b99a59
}

.comparison thead th .avatar {
  border: 2px solid #a47d35;
  box-shadow: 0 0 0 3px #f5dfaa, 0 0 0 4px #b39455
}

.comparison tbody th {
  background: #e5d1a2;
  font-size: 16px
}

.comparison tbody th,
.comparison tbody td {
  border-color: #b89b60
}

.comparison tbody td {
  background: #fff9e9b3
}

.advisors-row th,
.advisors-row td {
  background: #e3d2ac;
  color: #3c2a12
}

.bridge {
  border-block: 6px double #c8a762
}

.bridge-cloud {
  width: 650px;
  right: -230px;
  bottom: 0;
  opacity: .9;
  mix-blend-mode: normal
}

.bridge h2 {
  color: #fff4d3
}

.customers {
  position: relative;
  background: #faf6ec;
  overflow: hidden
}

.customers:before {
  content: '';
  position: absolute;
  left: -230px;
  top: 40px;
  width: 530px;
  aspect-ratio: 3;
  background: url('../images/gold-cloud-rich.png') center/contain no-repeat;
  opacity: .6;
  pointer-events: none
}

.customers>.wrap {
  position: relative;
  z-index: 1
}

.customer-card {
  border: 1px solid #a98a49;
  background: #fff9eccc;
  box-shadow: 4px 5px 0 #c5a97430
}

.customer-copy h3 {
  font-size: 22px
}

.customer-quote {
  border: 1px solid #c0a269;
  background: #f1e7cf;
  position: relative
}

.customer-quote:after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #d2b97f80;
  pointer-events: none
}

.quote-label {
  font-size: 14px
}

.customer-quote blockquote {
  font-size: 16px;
  line-height: 2
}

/* Carved, gilded CTA plaques with layered borders and tactile depth. */
.outline-button,
.solid-button {
  position: relative;
  font-family: var(--heading);
  font-weight: 700;
  min-height: 70px;
  border: 1px solid #b89345;
  padding: 18px 40px;
  letter-spacing: .13em;
  box-shadow: 0 4px 0 #997332, 0 9px 18px #5f3f2326;
  transition: transform .2s, box-shadow .2s, filter .2s
}

.outline-button:before,
.solid-button:before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #c6a35b;
  pointer-events: none
}

.outline-button:after,
.solid-button:after {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid #e5ce94a3;
  pointer-events: none
}

.outline-button {
  color: #624418;
  background: #fff9ec
}

.solid-button {
  color: #fff3cd;
  background: #963b2b;
  border-color: #c7a24c;
  box-shadow: 0 4px 0 #5c2117, 0 10px 22px #6b291f30
}

.solid-button:before {
  border-color: #d6b56d
}

.solid-button:after {
  border-color: #c4944b80
}

.outline-button:not(:disabled):hover,
.solid-button:not(:disabled):hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 7px 0 #80602b, 0 14px 25px #5f3f2330
}

.outline-button:not(:disabled):active,
.solid-button:not(:disabled):active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #80602b, 0 5px 10px #5f3f2320
}

.customer-more {
  min-width: 370px;
  font-size: 18px
}

.closing {
  border-top: 6px double #b4924b;
  background: #eee0bd;
  isolation: isolate
}

.closing:before {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #b28c4377;
  border-radius: 50%;
  box-shadow: 0 0 0 15px #f4e1b738, 0 0 0 16px #ba98514d;
  z-index: -1;
  pointer-events: none
}

.closing h2 {
  font-size: clamp(38px, 4.4vw, 61px);
  text-shadow: 0 2px #fff3ce
}

.closing-body {
  font-size: 21px
}

.cta-buttons {
  gap: 28px;
  position: relative;
  z-index: 3;
  margin-top: 43px
}

.cta-buttons> :is(a, button) {
  width: 270px;
  font-size: 25px;
  min-height: 84px;
  letter-spacing: .18em;
  padding: 20px 32px
}

.pending-cta:disabled {
  opacity: 1;
  cursor: default
}

.solid-button.pending-cta:disabled:hover {
  background: #963b2b
}

.outline-button.pending-cta:disabled:hover {
  background: #fff9ec
}

.closing-cloud-one {
  width: 750px;
  left: -320px;
  top: 20px;
  opacity: .95;
  z-index: -1
}

.closing-cloud-two {
  width: 720px;
  right: -300px;
  top: 280px;
  opacity: .95;
  z-index: -1
}

.closing-pine {
  width: 380px;
  right: -130px;
  bottom: 10px;
  opacity: .85;
  z-index: -1
}

.about-link {
  font-size: 16px;
  margin-top: 36px;
  border-bottom: 1px solid #806130
}

.closing-brand {
  padding-top: 37px;
  border-top: 3px double #b99a5e;
  max-width: 650px;
  margin: 60px auto 0
}

.brand-name {
  font-size: 47px;
  color: #4d3e26
}

footer {
  border-top: 3px double #b3914f;
  background: #f4ead3
}

.back-top {
  border: 1px solid #a37c38;
  box-shadow: 0 0 0 3px #e4cea0;
  background: #f8ebc9
}

@media(max-width:1100px) {
  .wrap {
    width: calc(100% - 64px)
  }

  .owner-section {
    grid-template-columns: .9fr 1.1fr;
    gap: 23px
  }

  .owner-art {
    height: 450px
  }

  .owner-crop {
    width: 120%;
    height: 420px;
    left: -30px !important
  }

  .owner-sun {
    width: 330px;
    height: 330px;
    left: -40px;
    top: 65px
  }

  .owner-crop img {
    bottom: auto !important
  }

  .owner-crop.hideyoshi img,
  .owner-crop.ieyasu img {
    bottom: auto !important
  }

  .owner-copy h2 {
    font-size: 61px
  }

  .owner-type {
    font-size: 19px;
    padding-inline: 14px
  }

  .profile-fields>div {
    grid-template-columns: 99px 1fr;
    font-size: 16px
  }

  .profile-fields dt {
    font-size: 14px;
    padding: 13px 11px
  }

  .profile-fields dd {
    padding: 13px 14px
  }

  .property {
    padding: 30px
  }

  .property-grid {
    gap: 25px
  }

  .property-visual {
    height: 370px
  }

  .property dt {
    font-size: 14px
  }

  .property dl>div {
    font-size: 15px;
    grid-template-columns: 65px 1fr
  }

  .property dd {
    padding: 10px 13px
  }

  .property-story {
    font-size: 16px
  }

  .point-copy h4 {
    font-size: 30px
  }

  .point-description {
    font-size: 16px
  }

  .speech {
    gap: 15px
  }

  .speech p {
    font-size: 16px;
    padding: 19px
  }

  .speech .avatar,
  .advisor-avatar {
    width: 68px;
    height: 68px
  }

  .expert-bubble p {
    font-size: 16px
  }

  .card-catch {
    font-size: 19px
  }

  .card-type {
    font-size: 15px
  }

  .customer-copy h3 {
    font-size: 20px
  }

  .customer-quote blockquote {
    font-size: 16px
  }
}

@media(max-width:760px) {
  :root {
    --header: 65px
  }

  .wrap {
    width: calc(100% - 40px)
  }

  body {
    font-size: 16px;
    letter-spacing: .02em
  }

  .section-space {
    padding-block: 65px
  }

  .site-header {
    padding-inline: 16px
  }

  .brand {
    font-size: 16px
  }

  .header-cta {
    padding: 8px 13px;
    font-size: 12px
  }

  .header-cta:before {
    inset: 3px
  }

  .header-cta span {
    margin-inline: 3px
  }

  .hero.hero-fv {
    padding: 0;
    min-height: 0
  }

  .intro:before {
    width: 370px;
    left: -220px;
    top: 8px;
    opacity: .65
  }

  .intro-cloud {
    width: 360px;
    right: -215px;
    top: 310px
  }

  .intro-heading {
    margin-bottom: 33px
  }

  .intro-heading h2 {
    font-size: 32px;
    line-height: 1.8
  }

  .intro-heading h2 br {
    display: block
  }

  .intro-text {
    columns: 1;
    font-size: 16px;
    line-height: 2.15
  }

  .intro-text p+p {
    margin-top: 1.2em
  }

  .intro-text p:last-child {
    font-size: 19px;
    line-height: 1.9;
    margin-top: 27px;
    text-align: center
  }

  .map-scroll {
    width: calc(100% - 4px);
    margin-top: 36px;
    padding: 12px 7px;
    box-shadow: 0 7px 16px #422d1b28, 0 0 0 1px #8e6e37, 0 0 0 3px #d7be82, 0 0 0 4px #9d783c
  }

  .map-art {
    box-shadow: 0 0 0 1px #8d6927, 0 0 0 3px #f3e6c5
  }

  .map-top,
  .map-bottom {
    left: -10px;
    right: -10px;
    height: 10px
  }

  .map-top {
    top: -5px
  }

  .map-bottom {
    bottom: -5px
  }

  .map-top:before,
  .map-top:after,
  .map-bottom:before,
  .map-bottom:after {
    width: 13px;
    height: 16px;
    top: -3px
  }

  .map-badge {
    width: 15%;
    min-width: 40px;
    gap: 6px
  }

  .map-badge .avatar {
    border-width: 1px;
    box-shadow: 0 0 0 1px #f8dfa0, 0 0 0 2px #a77b34, 0 3px 5px #5f3d2240
  }

  .map-badge .map-label {
    font-size: 13px;
    padding: 2px 5px;
    letter-spacing: 0;
    white-space: nowrap;
    border-width: 1px
  }

  .map-leaders .map-route {
    stroke-width: 1.2;
    stroke-dasharray: 4 3
  }

  .map-leaders .map-leader {
    stroke-width: .8;
    stroke-dasharray: 2 2
  }

  .map-leaders .map-location circle {
    stroke-width: 1.1
  }

  .map-leaders .map-castle-icon {
    stroke-width: .6
  }

  .supervisor-intro {
    display: block;
    margin-top: 53px;
    padding: 29px 24px
  }

  .supervisor-message h3 {
    font-size: 23px
  }

  .supervisor-message>p {
    font-size: 16px;
    line-height: 2.1
  }

  .profile-detail {
    font-size: 15px
  }

  .supervisor-disc {
    width: 148px;
    height: 148px
  }

  .selection-cloud {
    width: 390px;
    left: -240px;
    top: 8px
  }

  .selection:after {
    width: 370px;
    right: -230px;
    bottom: 20px
  }

  .selection-heading h2 {
    font-size: 30px
  }

  .selection-heading>p {
    font-size: 15px
  }

  .select-instruction {
    font-size: 16px;
    max-width: 300px;
    margin-top: 30px
  }

  .ornament {
    width: 190px;
    gap: 14px
  }

  .castle-card {
    width: min(82vw, 350px)
  }

  .card-disc {
    width: 200px;
    height: 200px;
    top: 10px
  }

  .card-body h3 {
    font-size: 31px
  }

  .card-catch {
    font-size: 19px
  }

  .card-type {
    font-size: 15px
  }

  .card-advisor {
    font-size: 19px
  }

  .card-owner {
    width: 150px;
    height: 150px
  }

  .entry-comment {
    gap: 14px
  }

  .entry-comment p {
    font-size: 16px;
    padding: 16px 18px
  }

  .entry-comment p:before {
    top: 23px
  }

  .lord-tabs {
    width: 100%
  }

  .lord-tab {
    padding: 11px 4px;
    gap: 7px;
    min-height: 80px
  }

  .lord-tab .avatar {
    width: 34px;
    height: 34px;
    border-width: 1px;
    box-shadow: 0 0 0 1px #fff3d2
  }

  .lord-tab>span:last-child {
    font-size: 17px;
    letter-spacing: 0
  }

  .lord-tab small {
    font-size: 12px
  }

  .lord-panel {
    padding-top: 36px
  }

  .owner-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-height: 0
  }

  .owner-art {
    width: 100%;
    height: 350px;
    max-width: 480px
  }

  .owner-sun {
    width: 280px;
    height: 280px;
    left: -18px;
    top: 26px
  }

  .owner-crop {
    width: 100%;
    height: 345px;
    left: 0 !important;
    bottom: 0 !important
  }

  .owner-crop img {
    width: 133% !important;
    left: -17% !important;
    bottom: auto !important
  }

  .owner-crop.hideyoshi img {
    width: 171% !important;
    left: -34% !important;
    bottom: auto !important
  }

  .owner-crop.ieyasu img {
    width: 195% !important;
    left: -55% !important;
    bottom: auto !important
  }

  .owner-cloud {
    width: 400px;
    left: -210px;
    top: -12px;
    opacity: .8
  }

  .owner-art:after {
    width: 410px;
    left: -190px;
    bottom: -22px
  }

  .owner-section:after {
    width: 370px;
    right: -240px;
    top: 278px;
    opacity: .65
  }

  .owner-copy>.section-tag {
    font-size: 17px;
    letter-spacing: .1em;
    gap: 17px
  }

  .owner-copy h2 {
    font-size: 56px;
    letter-spacing: .07em;
    line-height: 1.5;
    margin-block: 13px 10px
  }

  .owner-type {
    font-size: 18px;
    letter-spacing: .02em;
    padding: 10px 16px 12px;
    margin-bottom: 22px
  }

  .profile-fields>div {
    grid-template-columns: 88px 1fr;
    font-size: 16px
  }

  .profile-fields dt {
    font-size: 14px;
    padding: 12px 10px
  }

  .profile-fields dd {
    padding: 12px 15px;
    line-height: 1.8
  }

  .property {
    margin-top: 38px;
    padding: 24px 21px
  }

  .property:before {
    inset: 5px
  }

  .property-heading {
    margin-bottom: 20px;
    gap: 12px
  }

  .property-heading h3 {
    font-size: 27px;
    letter-spacing: .08em
  }

  .property-heading:after {
    margin-left: 0
  }

  .property-icon {
    width: 38px;
    height: 33px
  }

  .property-grid {
    display: flex;
    flex-direction: column;
    gap: 25px
  }

  .property-visual {
    width: 100%;
    height: 330px;
    flex: none
  }

  .property-halo {
    width: 230px;
    height: 230px;
    top: 26px;
    right: -28px
  }

  .property-castle {
    max-width: 94%;
    height: 94%
  }

  .property-cloud-back {
    width: 330px;
    left: -190px;
    top: 20px
  }

  .property-cloud-front {
    width: 370px;
    right: -210px;
    bottom: -12px
  }

  .property-facts {
    width: 100%
  }

  .property dl>div {
    grid-template-columns: 62px 1fr;
    font-size: 15px
  }

  .property dt {
    padding: 11px 10px;
    font-size: 14px
  }

  .property dd {
    padding: 11px 12px;
    line-height: 1.8
  }

  .property-story {
    font-size: 16px;
    line-height: 2.1;
    padding-top: 24px;
    margin: 0
  }

  .tour-heading {
    margin-top: 60px;
    margin-bottom: 42px
  }

  .tour-heading h3 {
    font-size: 24px;
    line-height: 1.9;
    margin-block: 18px
  }

  .tour-point {
    margin-bottom: 65px
  }

  .tour-point:before {
    width: 350px;
    left: -265px;
    top: 30px;
    opacity: .55
  }

  .tour-point:nth-of-type(even):before {
    right: -260px;
    top: 170px
  }

  .image-mat {
    padding: 9px;
  }

  .image-corner {
    width: 30px;
    height: 30px
  }

  .point-top,
  .point-top.reverse {
    gap: 28px
  }

  .point-label {
    font-size: 18px;
    padding-bottom: 8px;
    margin-bottom: 14px
  }

  .point-label>span:first-child {
    font-size: 40px
  }

  .point-copy h4 {
    font-size: 30px;
    line-height: 1.75;
    margin-bottom: 18px
  }

  .point-description {
    font-size: 16px;
    line-height: 2.1
  }

  .dialogue {
    display: block;
    margin-block: 30px
  }

  .speech {
    gap: 16px
  }

  .speech+.speech {
    margin-top: 26px
  }

  .speech .avatar,
  .advisor-avatar {
    width: 58px;
    height: 58px;
    margin-top: 42px;
    box-shadow: 0 0 0 2px #f1ddb1, 0 0 0 3px #c2a15e, 0 4px 8px #73522920
  }

  .speaker {
    font-size: 13px;
    padding: 4px 10px;
    margin-bottom: 9px
  }

  .speech p {
    font-size: 16px;
    padding: 17px 17px;
    line-height: 2
  }

  .speech p:after {
    inset: 5px
  }

  .speech p:before,
  .owner-speech p:before {
    top: 22px;
    left: -7px;
    width: 12px;
    height: 12px
  }

  .expert {
    display: block;
    margin-top: 31px
  }

  .expert-person {
    display: flex;
    align-items: center;
    gap: 13px;
    width: auto;
    margin-bottom: 16px;
    padding-top: 0
  }

  .expert-photo {
    width: 55px;
    height: 55px;
    border-width: 2px;
    margin: 0
  }

  .expert-person>span {
    font-size: 14px;
    margin: 0;
    letter-spacing: .03em
  }

  .expert-bubble {
    padding: 22px 21px;
    border-left-width: 4px
  }

  .expert-bubble:before {
    display: none
  }

  .expert-label {
    font-size: 14px;
    margin-bottom: 12px;
    gap: 11px
  }

  .expert-bubble p {
    font-size: 16px;
    line-height: 2.1
  }

  .investment {
    padding: 50px 0 58px
  }

  .investment:before {
    background-position: calc(100% + 80px) 20px;
    background-size: 270px;
    opacity: .12
  }

  .investment h3 {
    font-size: 28px;
    line-height: 1.9;
    margin-bottom: 28px
  }

  .investment-grid {
    padding: 0;
    border-bottom: 0
  }

  .investment-item {
    grid-template-columns: 54px 1fr;
    padding: 22px 17px;
    gap: 5px 15px
  }

  .investment-item h4 {
    font-size: 16px;
    margin: 0
  }

  .investment-item p {
    font-size: 20px;
    line-height: 1.8
  }

  .investment-item svg {
    width: 48px;
    height: 48px
  }

  .advisor-section {
    padding-top: 63px
  }

  .advisor-title h3 {
    font-size: 39px
  }

  .advisor-grid {
    margin-top: 28px;
    gap: 30px
  }

  .advisor-art:before {
    outline-width: 6px;
    box-shadow: 0 0 0 7px #b69756
  }

  .advisor-cloud {
    width: 360px;
    left: -175px;
    top: -20px
  }

  .advisor-name {
    font-size: 31px
  }

  .advisor-name-vertical {
    font-size: 21px;
    padding: 12px 7px
  }

  .advisor-role p,
  .advisor-support p {
    font-size: 16px;
    line-height: 2.05
  }

  .advisor-role>span,
  .advisor-support>span {
    font-size: 15px
  }

  .advisor-support {
    padding: 18px 20px
  }

  .advisor-copy blockquote {
    font-size: 19px;
    line-height: 2;
    padding: 17px 10px
  }

  .lord-end {
    margin-block: 50px 65px
  }

  .lord-end-links {
    gap: 14px
  }

  .next-lord {
    gap: 10px;
    padding: 15px 12px;
    min-width: 0
  }

  .next-lord>span:last-child {
    font-size: 19px
  }

  .next-lord small {
    font-size: 12px
  }

  .next-lord .avatar {
    width: 40px;
    height: 40px
  }

  .center-title h2 {
    font-size: 32px
  }

  .comparison-cloud {
    width: 380px;
    right: -260px;
    top: 15px
  }

  .comparison table {
    font-size: 16px;
    min-width: 700px
  }

  .comparison tbody th {
    font-size: 15px
  }

  .comparison thead th>span:last-child {
    font-size: 21px
  }

  .comparison-message {
    font-size: 17px;
    line-height: 2.2
  }

  .comparison-message p:first-child {
    font-size: 30px;
    line-height: 1.8
  }

  .bridge {
    border-width: 4px
  }

  .bridge h2 {
    font-size: 33px
  }

  .bridge-cloud {
    width: 380px;
    right: -180px;
    bottom: 5px;
    opacity: .65
  }

  .customers:before {
    width: 370px;
    left: -260px;
    top: 15px
  }

  .customers .center-title h2 {
    font-size: 28px
  }

  .customer-copy h3 {
    font-size: 21px
  }

  .customer-quote {
    padding: 20px 19px
  }

  .quote-label {
    font-size: 14px
  }

  .customer-quote blockquote {
    font-size: 16px;
    line-height: 2
  }

  .outline-button,
  .solid-button {
    min-height: 68px;
    padding: 18px 25px;
    font-size: 17px
  }

  .customer-more {
    width: 100%;
    min-width: 0;
    margin-top: 32px;
    font-size: 16px;
    letter-spacing: .04em
  }

  .closing {
    border-top-width: 4px
  }

  .closing h2 {
    font-size: 35px;
    line-height: 1.85
  }

  .closing:before {
    width: 530px;
    height: 530px;
    top: 5px
  }

  .closing h2>span,
  .closing-brand>.brush>span {
    display: block;
    white-space: nowrap;
    line-height: 1.5;
  }

  .closing-body {
    font-size: 19px;
    line-height: 2.1
  }

  .cta-buttons {
    gap: 14px;
    margin-top: 32px
  }

  .cta-buttons> :is(a, button) {
    width: 50%;
    min-height: 78px;
    font-size: 23px;
    padding: 18px 12px;
    letter-spacing: .12em
  }

  .outline-button:before,
  .solid-button:before {
    inset: 4px
  }

  .outline-button:after,
  .solid-button:after {
    inset: 7px
  }

  .closing-cloud-one {
    width: 430px;
    left: -260px;
    top: 20px
  }

  .closing-cloud-two {
    width: 410px;
    right: -260px;
    top: 300px
  }

  .closing-pine {
    width: 250px;
    right: -175px;
    bottom: 10px;
    opacity: .65
  }

  .about-link {
    font-size: 14px;
    margin-top: 30px
  }

  .closing-brand {
    margin-top: 45px;
    padding-top: 30px
  }

  .closing-brand>.brush {
    font-size: 25px;
    line-height: 1.5;
  }

  .brand-eyebrow {
    font-size: 13px
  }

  .brand-name {
    font-size: 32px
  }

  footer .brand {
    font-size: 16px
  }
}

@media(max-width:390px) {
  .brand {
    font-size: 15px
  }

  .header-cta {
    font-size: 11px;
    padding-inline: 11px
  }

  .lord-tab {
    gap: 6px
  }

  .lord-tab .avatar {
    width: 30px;
    height: 30px
  }

  .lord-tab>span:last-child {
    font-size: 16px
  }

  .owner-art {
    height: 315px
  }

  .owner-crop {
    height: 315px
  }

  .owner-sun {
    width: 250px;
    height: 250px
  }

  .owner-copy h2 {
    font-size: 52px
  }

  .owner-type {
    font-size: 17px
  }

  .profile-fields>div {
    grid-template-columns: 102px 1fr
  }

  .profile-fields dd {
    padding-inline: 11px
  }

  .point-copy h4 {
    font-size: 28px
  }

  .speech .avatar,
  .advisor-avatar {
    width: 50px;
    height: 50px
  }

  .speech {
    gap: 13px
  }

  .speech p {
    padding: 16px 15px
  }

  .expert-bubble {
    padding: 20px
  }

  .map-badge .map-label {
    font-size: 12px
  }

  .closing h2 {
    font-size: 33px
  }
}

@media(prefers-reduced-motion:reduce) {

  .header-cta,
  .outline-button,
  .solid-button,
  .map-badge .avatar {
    transition: none
  }
}

/* ========================================================================
   Requested revision: typography, flat surfaces, and editorial hierarchy.
   Original illustration assets are retained without changing their pixels.
   ======================================================================== */

:root {
  --header: 88px;
  --body: 'Shippori Antique', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --heading: 'BIZ UDPMincho', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --display: var(--heading);
  --portrait-size: 84px;
}

body {
  background: #faf6ec;
  font-family: var(--body);
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brush,
.section-tag,
.card-catch,
.card-castle-name,
.owner-type,
.point-label,
.point-label>span:first-child,
.expert-label,
.advisor-name,
.advisor-name-vertical,
.speaker,
.lord-tab>span:last-child,
.next-lord>span:last-child,
.comparison thead th,
.advisors-row th,
.advisors-row td,
.outline-button,
.solid-button {
  font-family: var(--heading);
  font-weight: 700;
}

/* A compact logo and two distinct, flat calls to action. */
.site-header {
  height: var(--header);
  padding-inline: clamp(20px, 3.3vw, 56px);
  gap: 24px;
  background: #fcf8ee;
  border-bottom: 1px solid #c5b28d;
  box-shadow: none;
}

.site-header.scrolled {
  box-shadow: 0 2px 10px #34271312;
}

.brand {
  display: block;
  flex: none;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: 202px;
  height: auto;
}

.header-nav {
  gap: clamp(18px, 2vw, 30px);
}

.header-nav>a {
  font-size: 14px;
  padding-block: 12px;
  white-space: nowrap;
  text-underline-offset: 7px;
}

.header-nav>a:hover {
  text-decoration: underline;
  text-decoration-color: #9e3a28;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta,
.outline-button,
.solid-button {
  box-shadow: none;
  border-radius: 2px;
  transition: background-color .2s, color .2s, border-color .2s;
  text-shadow: none;
}

.header-cta {
  padding: 11px 20px;
  min-width: 84px;
  text-align: center;
  font-size: 14px;
}

.header-cta::before,
.header-cta::after,
.outline-button::before,
.outline-button::after,
.solid-button::before,
.solid-button::after {
  display: none;
}

.header-cta-meeting,
.outline-button {
  background: #fff9ec;
  color: #5c4225;
  border: 1px solid #987743;
}

.header-cta-materials,
.solid-button {
  background: #963b2b;
  color: #fffaf0;
  border: 1px solid #963b2b;
}

.header-cta:hover,
.outline-button:not(:disabled):hover,
.solid-button:not(:disabled):hover,
.outline-button:not(:disabled):active,
.solid-button:not(:disabled):active {
  transform: none;
  box-shadow: none;
  filter: none;
}

.header-cta-meeting:hover,
.outline-button:not(:disabled):hover {
  background: #eadcc0;
}

.header-cta-materials:hover,
.solid-button:not(:disabled):hover {
  background: #793020;
  border-color: #793020;
}

.solid-button.pending-cta:disabled:hover {
  background: #963b2b;
}

.outline-button.pending-cta:disabled:hover {
  background: #fff9ec;
}

/* One continuous opening passage, with deliberate pauses between paragraphs. */
.intro-heading {
  justify-content: center;
}

.intro-grid {
  display: block;
}

.intro-text {
  columns: auto;
  max-width: 1010px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 2.35;
  letter-spacing: .045em;
  text-wrap: pretty;
}

.intro-text br {
  display: initial;
}

.intro-text p+p {
  margin-top: 1.8em;
}

.intro-text p:last-child {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.9;
  margin-top: 1.8em;
  color: #923426;
}

/* The comment speaks to the reader; the biography sits outside the bubble. */
.supervisor-intro {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 42px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.supervisor-intro::before {
  display: none;
}

.supervisor-visual {
  padding-top: 28px;
}

.supervisor-message {
  padding: 0;
  min-width: 0;
}

.supervisor-bubble {
  position: relative;
  padding: 32px 36px 34px;
  border: 1px solid #b7a071;
  border-radius: 22px;
  background: #fffcf3;
}

.supervisor-bubble::before {
  content: '';
  position: absolute;
  top: 72px;
  left: -12px;
  width: 22px;
  height: 22px;
  background: #fffcf3;
  border-left: 1px solid #b7a071;
  border-bottom: 1px solid #b7a071;
  transform: rotate(45deg);
}

.supervisor-bubble h3 {
  font-size: 26px;
  margin: 0 0 19px;
  padding-bottom: 15px;
  border-bottom: 1px solid #d8c9aa;
}

.supervisor-bubble p {
  font-size: 16px;
  line-height: 2.15;
}

.profile-detail {
  margin: 26px 8px 0;
  padding: 17px 8px 0;
  border-top: 1px solid #bca987;
  background: none;
}

.profile-detail summary {
  font-family: var(--heading);
  font-weight: 700;
}

.profile-body {
  font-family: var(--body);
  font-size: 15px;
}

/* Cover paints a single sheet at every viewport size; no repeated paper tiles. */
.selection {
  position: relative;
  isolation: isolate;
  background-color: #eddfba;
  background-image: url('../images/paper.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.selection::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #f5eaca80;
  pointer-events: none;
  z-index: 0;
}

.selection-heading h2 {
  text-wrap: balance;
}

.selection-grid {
  align-items: stretch;
}

.castle-card,
.castle-card.chosen {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  transform: none;
  background: #fffbf1;
  border: 1px solid #ad9567;
  box-shadow: 0 3px 0 #bc9c5e30;
}

.castle-card.chosen {
  border-color: var(--accent);
}

.castle-card .card-art {
  width: 100%;
  flex: none;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.card-catch {
  min-height: 3.7em;
}

.card-type {
  min-height: 3.9em;
  margin-bottom: 18px;
  font-size: 15px;
}

.card-advisor {
  margin-top: auto;
}

.card-advisor>span:first-child {
  margin-left: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .castle-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 7px 0 #bc9c5e30;
  }
}

@media (hover: none) {
  .castle-card:hover {
    transform: none;
  }
}

/* Each original portrait has a different face position in its source image. */
.avatar.nobunaga,
.card-owner.nobunaga {
  --face-width: 280%;
  --face-left: -69%;
  --face-top: 3%;
}

.avatar.hideyoshi,
.card-owner.hideyoshi {
  --face-width: 430%;
  --face-left: -123%;
  --face-top: -29%;
}

.avatar.ieyasu,
.card-owner.ieyasu {
  --face-width: 430%;
  --face-left: -139%;
  --face-top: -30%;
}

.avatar img,
.card-owner img {
  position: absolute;
  width: var(--face-width) !important;
  height: auto !important;
  max-width: none;
  left: var(--face-left) !important;
  top: var(--face-top) !important;
  bottom: auto !important;
}

.advisor-avatar {
  position: relative;
}

.advisor-avatar img,
.expert-photo img,
.entry-face img {
  position: absolute;
  width: var(--portrait-width);
  left: var(--portrait-left);
  top: var(--portrait-top);
  bottom: auto;
  height: auto;
  max-width: none;
  object-fit: initial;
}

.advisor-avatar img[src$='niwa-portrait.png'] {
  --portrait-width: 245%;
  --portrait-left: -81%;
  --portrait-top: 2%;
}

.advisor-avatar img[src$='kuroda-portrait.png'] {
  --portrait-width: 240%;
  --portrait-left: -81%;
  --portrait-top: -2%;
}

.advisor-avatar img[src$='todo-portrait.png'] {
  --portrait-width: 285%;
  --portrait-left: -80%;
  --portrait-top: -18%;
}

.expert-photo,
.entry-face {
  position: relative;
}

img[src$='supervisor-point.jpg'] {
  --portrait-width: 190%;
  --portrait-left: -39%;
  --portrait-top: -92%;
}

img[src$='supervisor-guide.jpg'] {
  --portrait-width: 190%;
  --portrait-left: -33%;
  --portrait-top: -90%;
}

img[src$='supervisor-look.jpg'] {
  --portrait-width: 185%;
  --portrait-left: -60%;
  --portrait-top: -78%;
}

img[src$='supervisor-delight.jpg'] {
  --portrait-width: 190%;
  --portrait-left: -35%;
  --portrait-top: -95%;
}

img[src$='supervisor-surprise.jpg'] {
  --portrait-width: 180%;
  --portrait-left: -12%;
  --portrait-top: -77%;
}

img[src$='supervisor-profile.jpg'] {
  --portrait-width: 190%;
  --portrait-left: -38%;
  --portrait-top: -91%;
}

.speech .avatar,
.speech .advisor-avatar,
.expert-photo {
  width: var(--portrait-size);
  height: var(--portrait-size);
  flex: none;
  border: 2px solid #af945f;
  box-shadow: 0 0 0 3px #f7efdb;
  background: #ede0bf;
}

/* An open scroll, with labels written on the paper rather than boxed cells. */
.profile-fields {
  position: relative;
  margin: 31px 10px 20px;
  padding: 25px 27px;
  border: 0;
  border-inline: 1px solid #d5c299;
  background: #f3e8cd;
}

.profile-fields::before,
.profile-fields::after {
  content: '';
  position: absolute;
  left: -11px;
  right: -11px;
  height: 11px;
  background: #ac8b50;
  border: 1px solid #8b6b38;
  border-radius: 6px;
  box-shadow: inset 9px 0 #7e6034, inset -9px 0 #7e6034;
}

.profile-fields::before {
  top: -5px;
}

.profile-fields::after {
  bottom: -5px;
}

.profile-fields>div {
  display: flex;
  align-items: baseline;
  gap: 23px;
  padding: 8px 0;
  border: 0;
  line-height: 1.85;
}

.profile-fields>div+div {
  border: 0;
}

.profile-fields dt {
  flex: 0 0 94px;
  display: block;
  padding: 0;
  border: 0;
  color: var(--accent);
  background: none;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 15px;
}

.profile-fields dd {
  padding: 0;
  font-size: 17px;
  line-height: 1.85;
}

/* Request, then advice: the second speaker gets a larger, indented answer. */
.dialogue {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-block: 38px;
}

.speech {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.speech+.speech {
  margin-top: 0;
}

.owner-speech {
  width: 80%;
  align-self: flex-start;
}

.advisor-speech {
  width: 87%;
  align-self: flex-end;
}

.speech .avatar,
.speech .advisor-avatar {
  margin-top: 37px;
}

.speaker {
  display: inline-block;
  padding: 0;
  background: none;
  color: var(--accent);
  border: 0;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 9px;
}

.speaker::before {
  display: none;
}

.speech-role {
  display: inline-block;
  margin: 0 12px 8px 0;
  padding: 2px 8px;
  border: 1px solid #c1aa7c;
  color: #73603b;
  background: #f3ead6;
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.65;
  vertical-align: 1px;
}

.speech p {
  padding: 23px 27px;
  border-radius: 3px 16px 16px 16px;
  background: #fffcf4;
  border: 1px solid #b7a071;
  box-shadow: none;
  font-size: 16px;
  line-height: 2.1;
}

.speech p::after {
  display: none;
}

.speech p::before,
.owner-speech p::before {
  top: 24px;
  left: -8px;
  background: #fffcf4;
  border-color: #b7a071;
}

.advisor-speech .speaker {
  color: #2e4e3c;
  background: none;
}

.advisor-speech .speech-role {
  color: #2d503b;
  border-color: #9bb095;
  background: #e2e9dc;
}

.advisor-speech p {
  padding-block: 26px;
  background: #e3eadd;
  color: #243d2e;
  border-color: #9bb095;
}

.advisor-speech p::before {
  background: #e3eadd;
  border-color: #9bb095;
}

.expert {
  gap: 22px;
}

.expert-person {
  width: var(--portrait-size);
  padding-top: 5px;
}

.expert-photo {
  margin-inline: 0;
}

.expert-person>span {
  font-size: 13px;
}

.expert-bubble {
  flex: 1;
  min-width: 0;
  background: #f2ead7;
  box-shadow: none;
}

/* Two blocks: a causal flow on the left, a separate vermilion outcome. */
.investment-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 30px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  align-items: stretch;
}

.investment-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
  align-items: stretch;
  padding: 30px 14px;
  border: 1px solid #bca573;
  background: #fffaec;
}

.investment-item {
  display: block;
  text-align: center;
  padding: 0 16px;
  min-width: 0;
  border: 0;
}

.investment-item+.investment-item {
  border: 0;
}

.investment-item svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.investment-item h4 {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 15px;
  color: #6b512a;
}

.investment-item p {
  font-size: 21px;
  line-height: 1.9;
  text-wrap: balance;
}

.investment-item p,
.investment-item:last-child p {
  color: var(--ink);
}

.investment-arrow {
  align-self: center;
  text-align: center;
  color: #9d7839;
  font-family: var(--heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.investment-grid>.outcome-surprise {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 24px;
  background: #a13e2c;
  border: 1px solid #8d3020;
  color: #fffaf0;
}

.outcome-surprise svg {
  stroke: #fff1cf;
}

.outcome-surprise h4 {
  color: #ffe3b2;
}

.outcome-surprise p,
.outcome-surprise:last-child p {
  color: #fffaf0;
}

/* Three complementary identities, with the advisors as the concluding row. */
.comparison thead th:nth-child(2) {
  background: #ecd6cc;
  color: #882d21;
}

.comparison thead th:nth-child(3) {
  background: #ebddb2;
  color: #755115;
}

.comparison thead th:nth-child(4) {
  background: #dce5d8;
  color: #2d503c;
}

.comparison thead th:nth-child(2) .avatar {
  border-color: #a74c37;
}

.comparison thead th:nth-child(3) .avatar {
  border-color: #a27b32;
}

.comparison thead th:nth-child(4) .avatar {
  border-color: #55775b;
}

.comparison tbody .advisors-row th,
.comparison tbody .advisors-row td {
  font-family: var(--heading);
  font-weight: 700;
  border-top: 3px double #9e8050;
  padding-block: 23px;
}

.comparison tbody .advisors-row th {
  background: #decba5;
  color: #443722;
}

.comparison tbody .advisors-row td:nth-child(2) {
  background: #ecd6cc;
  color: #882d21;
}

.comparison tbody .advisors-row td:nth-child(3) {
  background: #ebddb2;
  color: #755115;
}

.comparison tbody .advisors-row td:nth-child(4) {
  background: #dce5d8;
  color: #2d503c;
}

.comparison-message .comparison-conclusion {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 27px);
}

/* Shared grid tracks align all three quote panels even when headlines wrap. */
@supports (grid-template-rows: subgrid) {
  .customer-grid {
    grid-template-rows: auto auto auto;
    column-gap: 27px;
    row-gap: 0;
  }

  .customer-card {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .customer-card>a {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .customer-card>a>img {
    align-self: start;
  }

  .customer-copy {
    display: flex;
    flex-direction: column;
  }

  .customer-copy h3 {
    min-height: 0;
    flex: 1;
  }

  .customer-quote {
    align-self: stretch;
  }
}

.customer-quote {
  background: #f2e8d1;
  box-shadow: none;
}

.customer-more {
  font-size: 18px;
  letter-spacing: .05em;
}

.closing-brand .brand-name {
  margin-top: 15px;
}

.brand-name .brand-logo {
  width: min(310px, 76%);
  margin-inline: auto;
}

footer .copyright {
  margin: 0;
  font-size: 13px;
  letter-spacing: .02em;
}

@media (max-width: 1100px) {
  .brand-logo {
    width: 180px;
  }

  .header-nav {
    gap: 18px;
  }

  .header-cta {
    padding-inline: 15px;
  }

  .supervisor-intro {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 30px;
  }

  .supervisor-bubble {
    padding: 28px;
  }

  .profile-fields {
    padding-inline: 20px;
  }

  .profile-fields>div {
    gap: 16px;
  }

  .profile-fields dt {
    flex-basis: 85px;
    font-size: 14px;
  }

  .profile-fields dd {
    font-size: 16px;
  }

  .investment-grid {
    gap: 22px;
    grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
  }

  .investment-item {
    padding-inline: 10px;
  }

  .investment-item p {
    font-size: 19px;
  }
}

@media (max-width: 980px) {
  :root {
    --header: 112px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 48px 30px;
    align-content: center;
    align-items: center;
    gap: 6px 12px;
    padding: 10px 22px;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
  }

  .brand-logo {
    width: 170px;
  }

  .header-nav {
    display: contents;
  }

  .header-nav>a {
    grid-row: 2;
    padding: 0;
    font-size: 14px;
  }

  .header-nav>a:first-child {
    grid-column: 1;
    justify-self: start;
  }

  .header-nav>a:nth-child(2) {
    grid-column: 2;
    justify-self: end;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
  }

  .header-cta {
    padding: 8px 15px;
    min-width: 72px;
    font-size: 13px;
  }

  .owner-speech {
    width: 88%;
  }

  .advisor-speech {
    width: 92%;
  }
}

@media (max-width: 900px) {
  .investment-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .investment-grid>.outcome-surprise {
    padding: 26px;
  }
}

@media (max-width: 760px) {
  :root {
    --portrait-size: 58px;
  }

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

  .brand-logo {
    width: 158px;
  }

  .header-nav>a {
    font-size: 13px;
  }

  .header-cta {
    min-width: 62px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .intro-text {
    text-align: left;
    font-size: 17px;
    line-height: 2.2;
    letter-spacing: .025em;
    max-width: 580px;
  }

  .intro-text br {
    display: none;
  }

  .intro-text p+p {
    margin-top: 1.5em;
  }

  .intro-text p:last-child {
    font-size: 21px;
    margin-top: 1.5em;
    text-align: center;
  }

  .supervisor-intro {
    display: block;
    margin-top: 60px;
    padding: 0;
  }

  .supervisor-visual {
    margin-bottom: 27px;
    padding-top: 0;
  }

  .supervisor-bubble {
    padding: 26px 23px;
    border-radius: 18px;
  }

  .supervisor-bubble::before {
    top: -12px;
    left: 48px;
    transform: rotate(135deg);
  }

  .supervisor-bubble h3 {
    font-size: 23px;
  }

  .supervisor-bubble p {
    font-size: 16px;
  }

  .profile-detail {
    margin-top: 25px;
  }

  .selection-grid {
    align-items: stretch;
  }

  .castle-card {
    flex: 0 0 auto;
  }

  .card-catch {
    min-height: 3.7em;
  }

  .card-type {
    min-height: 3.9em;
  }

  .profile-fields {
    padding: 22px 18px;
    margin-inline: 10px;
  }

  .profile-fields>div {
    gap: 18px;
  }

  .profile-fields dt {
    flex-basis: 87px;
  }

  .profile-fields dd {
    font-size: 16px;
  }

  .dialogue {
    gap: 23px;
    margin-block: 32px;
  }

  .speech {
    gap: 15px;
  }

  .owner-speech {
    width: 95%;
  }

  .advisor-speech {
    width: 95%;
  }

  .speech .avatar,
  .speech .advisor-avatar {
    margin-top: 65px;
  }

  .speaker {
    font-size: 14px;
    margin-bottom: 9px;
    display: block;
  }

  .speech-role {
    margin-right: 0;
    margin-bottom: 7px;
    font-size: 12px;
  }

  .speech p,
  .advisor-speech p {
    padding: 19px 18px;
    font-size: 16px;
    line-height: 2;
  }

  .expert {
    display: block;
    margin-top: 32px;
  }

  .expert-person {
    width: auto;
    padding-top: 0;
  }

  .expert-person>span {
    margin-top: 0;
    font-size: 14px;
  }

  .expert-bubble {
    padding: 23px 21px;
  }

  .investment-flow {
    padding: 26px 12px;
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  }

  .investment-item {
    padding-inline: 6px;
  }

  .investment-item svg {
    width: 46px;
    height: 46px;
  }

  .investment-item h4 {
    font-size: 16px;
    margin-bottom: 13px;
  }

  .investment-item p {
    font-size: 18px;
  }

  .investment-arrow {
    font-size: 27px;
  }

  .comparison-message .comparison-conclusion {
    font-size: 21px;
    line-height: 1.9;
  }

  .customer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: 27px;
  }

  .customer-card {
    display: flex;
    grid-row: auto;
  }

  .customer-card>a {
    display: block;
  }

  .customer-copy h3 {
    min-height: 0;
  }

  .customer-quote {
    flex: none;
  }

  .customer-more {
    font-size: 16px;
    padding-inline: 20px;
  }

  .brand-name .brand-logo {
    width: 245px;
    max-width: 80%;
  }

  footer .copyright {
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-inline: 12px;
    column-gap: 6px;
  }

  .brand-logo {
    width: 132px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-cta {
    min-width: 59px;
    padding-inline: 9px;
  }

  .header-nav>a {
    font-size: 12px;
  }

  .lord-tab {
    gap: 4px;
    padding-inline: 4px;
  }

  .lord-tab .avatar {
    width: 28px;
    height: 28px;
  }

  .lord-tab>span:last-child {
    font-size: 14px;
    white-space: nowrap;
  }

  .profile-fields {
    padding-inline: 14px;
  }

  .profile-fields>div {
    gap: 10px;
  }

  .profile-fields dt {
    flex-basis: 84px;
  }

  .speech {
    gap: 12px;
  }

  .speech p,
  .advisor-speech p {
    padding: 16px 14px;
  }

  .investment-flow {
    padding-inline: 7px;
  }

  .investment-item h4 {
    font-size: 15px;
  }

  .investment-item p {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .castle-card {
    transition: none;
  }
}

/* Additional revision: visible biography and clearer three-lord cards. */
.profile-static .profile-title {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.7;
}

.profile-static .profile-body {
  display: block;
  padding-top: 16px;
}

.card-catch {
  min-height: 3.7em;
  line-height: 1.85;
  letter-spacing: .02em;
  text-wrap: wrap;
}

.card-catch-line {
  display: block;
  white-space: nowrap;
}

.card-type {
  display: flex;
  align-items: center;
  min-height: calc(3.6em + 24px);
  margin-top: 16px;
  margin-bottom: 20px;
  padding: 12px;
  background: var(--accent);
  color: #fff5de;
  font-size: 15px;
  line-height: 1.8;
  border-radius: 2px;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .card-body {
    padding-inline: 16px;
  }

  .card-catch {
    font-size: clamp(16px, 1.8vw, 19px);
  }

  .card-type {
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .card-catch {
    font-size: 18px;
  }
}

/* Responsive artwork, textile labels and restrained movement — 2026-11-26. */
html {
  scroll-padding-top: calc(var(--header) + 20px);
}

main {
  overflow-x: clip;
}

.menu-toggle,
.menu-backdrop {
  display: none;
}

/* The three complete artworks share one copy layer. */
.hero.hero-fv {
  position: relative;
  overflow: hidden;
  background: #ead4b2;
}

.fv-slides {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  aspect-ratio: 3600 / 1710;
  isolation: isolate;
}

.fv-slide {
  min-width: 0;
  margin: 0;
}

.hero-fv .fv-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 1710;
  object-fit: contain;
}

.fv-copy {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 20%;
  width: 550px;
  max-width: 90%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.fv-copy img {
  display: block;
  width: 100%;
  height: auto;
}

/* Reveal the loaded artwork once; keep its positioning on the parent intact. */
.fv-copy.is-entering img {
  animation: fv-copy-reveal 4s cubic-bezier(.22, 1, .36, 1) 1s both;
  will-change: opacity, transform, filter;
}

@keyframes fv-copy-reveal {
  from {
    opacity: 0;
    transform: translateY(2px) scale(1.02);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* Each section uses a single sheet, scaled to cover its own area. */
.intro,
.lord-panel,
.customers {
  background-color: #fbf7ed;
  background-image: url('../images/paper-light.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.comparison,
.closing {
  background-color: #ead6b4;
  background-image: url('../images/paper.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Textile outside, paper inside, then a fine inset rule. */
.theme-nobunaga {
  --label-pattern: url('../images/label-pattern-red.png');
}

.theme-hideyoshi {
  --label-pattern: url('../images/label-pattern-gold.png');
}

.theme-ieyasu {
  --label-pattern: url('../images/label-pattern-green.png');
}

.map-scroll,
.card-type,
.profile-fields {
  position: relative;
  isolation: isolate;
  border: 4px solid transparent;
  border-radius: 0;
  background-color: #e9deca;
  background-image: url('../images/label-bg.jpg'), var(--label-pattern);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  box-shadow: none;
  transform: none;
}

.map-scroll::before,
.card-type::before,
.profile-fields::before,
.map-scroll::after,
.card-type::after,
.profile-fields::after {
  content: '';
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  z-index: 1;
}

.map-scroll::after,
.card-type::after,
.profile-fields::after {
  inset: 5px;
  border: 1px solid var(--accent, #9e2f20);
  opacity: .55;
}

.card-type {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(3.7em + 30px);
  padding: 12px 14px;
  margin: 16px 0 20px;
  color: var(--accent);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.85;
  text-align: center;
  text-wrap: pretty;
}

.profile-fields {
  margin: 28px 0 20px;
  padding: 19px 24px;
}

.profile-fields>div {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.profile-fields dt {
  padding: 0;
  flex: 0 0 94px;
}

.profile-fields dd {
  min-width: 0;
  padding: 0;
}

.map-scroll {
  --label-pattern: url('../images/label-pattern-gold.png');
  --accent: #8b611c;
  width: 100%;
  max-width: 1140px;
  margin: 54px auto 0;
  padding: 15px;
  border-width: 8px;
}

.map-art {
  position: relative;
  aspect-ratio: 1800 / 1060;
  padding: 0;
  overflow: hidden;
  background: #5d818a;
  border: 1px solid #b49a6d;
  box-shadow: none;
  line-height: 1;
}

.japan-map {
  width: 100%;
  height: auto;
  aspect-ratio: 1800 / 1060;
  object-fit: contain;
  position: relative;
  z-index: 0;
}

.map-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-leaders .map-route {
  fill: none;
  stroke: #9e2f20;
  opacity: .65;
}

.map-leaders .map-leader {
  fill: none;
  stroke: #62442a;
}

.map-leaders .map-castle-icon {
  filter: drop-shadow(0 1px 1px #55351c50);
}

.map-badge {
  width: 12%;
  max-width: 130px;
  min-width: 44px;
  gap: 7px;
}

.map-badge .map-label {
  font-family: var(--heading);
  font-weight: 700;
}

/* A separate layer leaves bubble tails and existing borders intact. */
.header-cta,
.owner-type,
.property,
.card-art,
.image-mat,
.investment-flow,
.investment-item,
.advisor-support,
blockquote,
.comparison-scroll,
.bridge,
.customer-quote,
.customer-more,
.cta-buttons {
  position: relative;
  isolation: isolate;
}

.tabs-shell {
  isolation: isolate;
}

.surface-texture {
  position: absolute;
  display: block;
  inset: 0;
  z-index: 6;
  width: auto;
  height: auto;
  max-width: none;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: url('../images/texture.png') center / 240px 240px repeat;
  mix-blend-mode: multiply;
  opacity: .24;
  pointer-events: none;
  user-select: none;
}

.investment-item>.surface-texture {
  display: none;
}

blockquote>.surface-texture {
  opacity: .13;
}

.card-art>.surface-texture,
.image-mat>.surface-texture {
  opacity: .17;
}

.tabs-shell>.surface-texture {
  z-index: 2;
  opacity: .2;
}

.comparison-scroll {
  --comparison-width: 760px;
  background: none;
}

.comparison table {
  min-width: var(--comparison-width);
  background: transparent;
  box-shadow: none;
}

.comparison-scroll>.surface-texture {
  display: none;
}

/* Texture belongs to the filled cells, leaving the empty top-left cell clear. */
.comparison thead th:not(:first-child),
.comparison tbody th,
.comparison tbody td {
  position: relative;
  isolation: isolate;
}

.comparison thead th:not(:first-child)::after,
.comparison tbody th::after,
.comparison tbody td::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  background: url('../images/texture.png') center / 240px 240px repeat;
  mix-blend-mode: multiply;
  opacity: .24;
  pointer-events: none;
}

.comparison thead,
.comparison thead tr {
  background: transparent;
}

.comparison thead th:first-child {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Supplied SVG silhouettes inherit the lord's identity color. */
.investment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--accent);
  flex: none;
}



.outcome-surprise .investment-icon {
  color: #fff1cf;
  background: none;
  border: 0;
  border-radius: 0;
}

/* A single inset line gives the calls to action the same finish as next-lord. */
.header-cta,
.cta-buttons>a {
  border-radius: 0;
}

.header-cta::before,
.cta-buttons>a::before {
  content: '';
  display: block;
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  opacity: .5;
  pointer-events: none;
  z-index: 7;
}

.cta-buttons>a::before {
  inset: 6px;
}

.header-cta::after,
.cta-buttons>a::after {
  display: none;
}

.next-lord,
.next-lord:hover,
.next-lord:active {
  box-shadow: none;
}

.closing h2 {
  text-shadow: none;
}

.closing-line {
  display: block;
}

.speech p,
.owner-speech p,
.advisor-speech p {
  border-radius: 0;
}

.entry-comment {
  align-items: flex-start;
}

.entry-comment .entry-face {
  margin-top: 12px;
  flex: none;
}

.entry-comment p {
  border: 1px solid #ad8744;
  background: #fff5df;
  outline: 1px solid #d0b57499;
  outline-offset: -6px;
  box-shadow: none;
}

.entry-comment p::before,
.entry-comment p::after {
  content: '';
  position: absolute;
  inset: auto;
  width: 0;
  height: 0;
  background: none;
  transform: none;
  border-radius: 0;
  pointer-events: none;
}

.entry-comment p::before {
  left: -13px;
  top: 23px;
  border-style: solid;
  border-width: 10px 13px 10px 0;
  border-color: transparent #ad8744 transparent transparent;
  z-index: 0;
}

.entry-comment p::after {
  left: -11px;
  top: 24px;
  border-style: solid;
  border-width: 9px 12px 9px 0;
  border-color: transparent #fff5df transparent transparent;
  z-index: 1;
}

/* Reveal each passage once; translation does not override existing hover transforms. */
.reveal-ready .reveal-target {
  transition: opacity .7s ease, translate .8s cubic-bezier(.2, .65, .3, 1);
}

.reveal-ready .reveal-target:not(.is-revealed) {
  opacity: 0;
  translate: 0 18px;
}

.reveal-ready .reveal-target.is-revealed {
  opacity: 1;
  translate: none;
}

.reveal-ready .castle-card.reveal-target {
  transition: opacity .7s ease, translate .8s ease, transform .25s ease, box-shadow .25s ease;
}

.rich-cloud {
  animation: cloud-drift 9s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.rich-cloud:nth-child(even) {
  animation-delay: -4s;
  animation-duration: 11s;
}

.rich-cloud.is-drifting {
  animation-play-state: running;
}

@keyframes cloud-drift {
  from {
    translate: -22px -3px;
  }

  to {
    translate: 30px 5px;
  }
}

/* The mobile menu includes the navigation and both calls to action. */
@media (max-width: 980px) {
  :root {
    --header: 74px;
  }

  .site-header {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header);
    padding: 12px 24px;
    gap: 12px;
  }

  .site-header .brand-logo {
    width: 170px;
  }

  .header-nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }

  .header-nav>a {
    font-size: 14px;
    padding: 8px 0;
  }

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

  .menu-ready .site-header {
    height: var(--header);
    min-height: 0;
    flex-wrap: nowrap;
  }

  .menu-ready .menu-toggle {
    display: flex;
    position: relative;
    flex: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    width: 60px;
    min-height: 50px;
    margin-left: auto;
    padding: 7px 4px 3px;
    background: none;
    border: 0;
    color: #523b2b;
    z-index: 4;
  }

  .menu-toggle-lines {
    position: relative;
    display: block;
    width: 26px;
    height: 16px;
  }

  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    content: '';
    position: absolute;
    left: 0;
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: transform .24s ease, top .24s ease, box-shadow .24s ease;
  }

  .menu-toggle-lines::before {
    top: 0;
    box-shadow: 0 7px 0 currentColor;
  }

  .menu-toggle-lines::after {
    top: 14px;
  }

  .menu-toggle-label {
    font-family: var(--body);
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: .02em;
  }

  .menu-open .menu-toggle-lines::before {
    top: 7px;
    box-shadow: none;
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle-lines::after {
    top: 7px;
    transform: rotate(-45deg);
  }

  .menu-ready .header-nav {
    position: fixed;
    z-index: 3;
    left: 0;
    right: 0;
    top: var(--header);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-height: calc(100dvh - var(--header));
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 0;
    padding: 20px max(24px, calc((100vw - 600px) / 2)) 30px;
    background: #fcf8ee url('../images/paper-light.jpg') center / cover no-repeat;
    border-bottom: 3px double #b79a63;
    box-shadow: 0 12px 24px #3427131a;
    visibility: hidden;
    opacity: 0;
    transform: none;
    pointer-events: none;
    transition: opacity .6s ease, visibility 0s linear .6s;
  }

  .menu-ready .menu-open .header-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .menu-ready .header-nav>a {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 14px 4px;
    border-bottom: 1px solid #c7b18b;
    font-family: var(--heading);
    font-weight: 700;
    font-size: clamp(16px, 2.4vw, 20px);
    white-space: normal;
    line-height: 1.7;
  }

  .menu-ready .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .menu-ready .header-cta {
    display: grid;
    place-items: center;
    min-height: 60px;
    padding: 16px 12px;
    font-size: 17px;
  }

  .menu-ready .menu-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: var(--header) 0 0;
    z-index: 1;
    width: 100%;
    height: calc(100dvh - var(--header));
    padding: 0;
    border: 0;
    background: #27251e55;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease, visibility 0s linear .6s;
  }

  .menu-ready .menu-open .menu-backdrop:not([hidden]) {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-header>.brand {
    position: relative;
    z-index: 4;
  }

  .owner-copy {
    min-width: 0;
  }

  .lord-tabs {
    width: 100%;
  }

  .lord-tab {
    gap: 12px;
    padding-inline: 10px;
  }

  .lord-tab>span:last-child {
    font-size: 21px;
  }

  .lord-tab .avatar {
    width: 48px;
    height: 48px;
  }

  .profile-fields {
    padding-inline: 18px;
  }

  .profile-fields dt {
    flex-basis: 84px;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 68px;
    --portrait-size: 52px;
  }

  body {
    font-size: 16px;
    letter-spacing: .02em;
    overflow-wrap: break-word;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .section-space {
    padding-block: 60px;
  }

  .site-header,
  .menu-ready .site-header {
    padding: 8px 18px;
  }

  .site-header .brand-logo {
    width: 156px;
  }

  .fv-slides {
    grid-template-columns: minmax(0, 1fr);
    aspect-ratio: 1200 / 1710;
  }

  .fv-slide {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
  }

  .fv-slide.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  .fv-copy {
    width: 83%;
    max-width: 500px;
  }

  .fv-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 1px solid #8d7351;
    border-radius: 50%;
    background: transparent;
    transition: background-color .3s;
  }

  .fv-pause {
    min-width: 76px;
    min-height: 44px;
    padding: 5px 10px;
    margin-left: 12px;
    border: 0;
    border-left: 1px solid #c5af86;
    background: none;
    color: #59462e;
    font-size: 12px;
  }

  .intro {
    padding-block: 60px;
  }

  .intro-heading {
    margin-bottom: 30px;
  }

  .intro-heading h2 {
    font-size: clamp(28px, 7.4vw, 36px);
    line-height: 1.75;
    letter-spacing: .025em;
  }

  .intro-text {
    font-size: 16px;
    line-height: 2.15;
    letter-spacing: .02em;
  }

  .intro-text p:last-child {
    font-size: 20px;
  }

  .map-scroll {
    margin-top: 38px;
    padding: 11px;
    border-width: 8px;
  }

  .map-badge {
    width: 14%;
    min-width: 36px;
    gap: 4px;
  }

  .map-badge.nobunaga {
    top: 8%;
  }

  .map-badge.ieyasu {
    top: 8%;
  }

  .map-badge.hideyoshi {
    top: 43%;
  }

  .map-badge .map-label {
    font-size: clamp(10px, 2.6vw, 14px);
    padding: 3px 5px;
    letter-spacing: 0;
  }

  .map-badge .avatar {
    border-width: 1px;
    box-shadow: 0 0 0 1px #fff2ce, 0 0 0 2px #9e793e;
  }

  .map-leaders .map-leader {
    opacity: .6;
  }

  .supervisor-intro {
    margin-top: 48px;
  }

  .supervisor-bubble {
    padding: 25px 22px;
  }

  .supervisor-bubble h3 {
    font-size: 22px;
    line-height: 1.6;
  }

  .supervisor-bubble p,
  .profile-body {
    font-size: 16px;
    line-height: 2.05;
  }

  .profile-detail {
    margin-inline: 0;
    padding-inline: 2px;
  }

  .profile-body {
    overflow-wrap: anywhere;
  }

  .selection-heading h2 {
    font-size: clamp(26px, 6.9vw, 34px);
    line-height: 1.8;
    letter-spacing: .015em;
    text-wrap: balance;
  }

  .selection-heading>p {
    font-size: 14px;
    line-height: 1.95;
  }

  .select-instruction {
    font-size: 15px;
    margin-top: 26px;
    margin-bottom: 24px;
  }

  .selection-grid {
    display: flex;
    width: calc(100% + 40px);
    margin-inline: -20px;
    padding: 8px 20px 24px;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: thin;
    scrollbar-color: #a2804d #e5d6b4;
  }

  .castle-card {
    width: min(82vw, 355px);
    max-width: none;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .card-art {
    height: clamp(220px, 64vw, 278px);
  }

  .card-castle {
    height: calc(100% - 26px);
    width: 68%;
    top: 18px;
    right: -1%;
  }

  .card-owner {
    width: 43%;
    height: auto;
    aspect-ratio: 1;
    left: 18px;
    bottom: 20px;
  }

  .card-body {
    padding: 20px 24px 20px;
  }

  .card-body h3 {
    font-size: 29px;
  }

  .card-catch {
    font-size: 17px;
    line-height: 1.85;
    min-height: 3.7em;
  }

  .card-type {
    font-size: 14px;
    padding: 12px 10px;
    min-height: calc(3.7em + 30px);
  }

  .card-advisor {
    font-size: 18px;
  }

  .entry-comment {
    gap: 16px;
    margin-top: 28px;
  }

  .entry-comment .entry-face {
    width: 48px;
    height: 48px;
  }

  .entry-comment p {
    padding: 18px;
    font-size: 16px;
    line-height: 1.9;
  }

  .lord-tab {
    min-height: 72px;
    gap: 6px;
    padding: 10px 4px;
  }

  .lord-tab .avatar {
    width: 30px;
    height: 30px;
  }

  .lord-tab>span:last-child {
    font-size: 15px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .lord-tab small {
    font-size: 11px;
  }

  .lord-panel {
    padding-top: 30px;
  }

  .owner-section {
    gap: 22px;
  }

  .owner-art {
    height: 320px;
  }

  .owner-crop {
    height: 320px;
  }

  .owner-copy {
    width: 100%;
  }

  .owner-copy h2 {
    font-size: clamp(45px, 12.5vw, 58px);
  }

  .owner-type {
    font-size: 17px;
    padding: 12px 16px;
    line-height: 1.8;
  }

  .profile-fields {
    padding: 18px 16px;
    margin: 24px 0 12px;
  }

  .profile-fields>div {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 8px 0;
  }

  .profile-fields dt {
    font-size: 13px;
  }

  .profile-fields dd {
    font-size: 15px;
    line-height: 1.85;
  }

  .property {
    padding: 24px 18px;
    margin-top: 30px;
    box-shadow: none;
  }

  .property-heading h3 {
    font-size: 26px;
  }

  .property-visual {
    height: 300px;
  }

  .property-grid {
    gap: 22px;
  }

  .property dl>div {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .property dt {
    font-size: 13px;
    padding: 10px 8px;
  }

  .property dd {
    font-size: 14px;
    padding: 10px;
  }

  .property-story {
    font-size: 16px;
    line-height: 2;
  }

  .tour-heading {
    margin-block: 50px 35px;
  }

  .tour-heading h3 {
    font-size: 22px;
    line-height: 1.85;
  }

  .tour-point {
    margin-bottom: 56px;
  }

  .point-top,
  .point-top.reverse {
    gap: 25px;
  }

  .point-copy h4 {
    font-size: clamp(25px, 6.6vw, 31px);
    line-height: 1.75;
  }

  .point-description {
    font-size: 16px;
    line-height: 2;
  }

  .dialogue {
    gap: 23px;
  }

  .owner-speech {
    width: 95%;
  }

  .advisor-speech {
    width: 96%;
  }

  .speech {
    gap: 12px;
  }

  .speech>div:last-child {
    min-width: 0;
    flex: 1;
  }

  .speech .avatar,
  .speech .advisor-avatar {
    margin-top: 62px;
  }

  .speech p,
  .advisor-speech p {
    padding: 17px 15px;
    font-size: 16px;
    line-height: 1.95;
  }

  .expert-bubble {
    padding: 22px 20px;
  }

  .expert-bubble p {
    font-size: 16px;
    line-height: 2;
  }

  .investment {
    padding-block: 46px 50px;
  }

  .investment h3 {
    font-size: 25px;
    line-height: 1.85;
  }

  .investment-grid {
    gap: 18px;
  }

  .investment-flow {
    padding: 24px 8px;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  }

  .investment-item {
    padding-inline: 5px;
  }

  .investment-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }


  .investment-item h4 {
    font-size: 14px;
    line-height: 1.6;
  }

  .investment-item p {
    font-size: 17px;
    line-height: 1.85;
  }

  .investment-grid>.outcome-surprise {
    padding: 24px 22px;
  }

  .investment-grid>.outcome-surprise p {
    font-size: 19px;
  }

  .advisor-section {
    padding-top: 52px;
  }

  .advisor-title h3 {
    font-size: 34px;
  }

  .advisor-role p,
  .advisor-support p {
    font-size: 16px;
    line-height: 2;
  }

  .advisor-copy blockquote {
    font-size: 18px;
    line-height: 1.95;
  }

  .lord-end {
    margin-block: 40px 55px;
  }

  .lord-end-links {
    gap: 12px;
  }

  .next-lord {
    flex: 1;
    padding: 16px 11px;
    gap: 8px;
  }

  .next-lord .avatar {
    width: 34px;
    height: 34px;
  }

  .next-lord>span:last-child {
    font-size: 17px;
  }

  .next-lord small {
    font-size: 11px;
  }

  .center-title {
    margin-bottom: 30px;
  }

  .center-title h2 {
    font-size: 28px;
    line-height: 1.8;
  }

  .comparison-scroll {
    scrollbar-width: thin;
    scrollbar-color: #a2804d #e5d6b4;
    overscroll-behavior-x: contain;
  }

  .comparison table {
    font-size: 14px;
  }

  .comparison .center-title h2 {
    text-wrap: balance;
  }

  .heading-phrase {
    display: inline-block;
    white-space: nowrap;
  }

  .comparison thead th {
    padding: 20px 14px;
  }

  .comparison tbody th,
  .comparison tbody td {
    padding: 19px 15px;
  }

  .comparison-message {
    font-size: 16px;
    line-height: 2.1;
  }

  .comparison-message p:first-child {
    font-size: 27px;
  }

  .bridge {
    min-height: 0;
  }

  .bridge-copy {
    padding-block: 58px;
  }

  .bridge h2 {
    font-size: clamp(28px, 7.6vw, 36px);
    line-height: 1.8;
  }

  .bridge p {
    font-size: 16px;
    line-height: 2.1;
  }

  .customers .center-title h2 {
    font-size: 26px;
  }

  .customer-copy h3 {
    font-size: 21px;
  }

  .customer-quote blockquote {
    font-size: 16px;
    line-height: 1.95;
  }

  .customer-more {
    font-size: 15px;
    min-height: 64px;
  }

  .closing h2 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .closing-body {
    font-size: 17px;
    text-wrap: balance;
  }

  .cta-buttons {
    gap: 14px;
    margin-top: 30px;
  }

  .cta-buttons>a {
    flex: 1;
    width: auto;
    min-width: 0;
    min-height: 74px;
    padding: 18px 12px;
    font-size: 22px;
    letter-spacing: .06em;
  }

  .about-link {
    font-size: 13px;
    line-height: 1.9;
  }

  footer {
    gap: 20px;
    padding-inline: 20px;
  }
}

@media (max-width: 390px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .site-header,
  .menu-ready .site-header {
    padding-inline: 14px;
  }

  .site-header .brand-logo {
    width: 148px;
  }

  .menu-ready .header-nav {
    padding-inline: 20px;
  }

  .map-scroll {
    padding: 8px;
    border-width: 7px;
  }

  .map-badge {
    min-width: 34px;
  }

  .selection-grid {
    width: calc(100% + 32px);
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .card-body {
    padding-inline: 17px;
  }

  .card-catch {
    font-size: 16px;
  }

  .card-type {
    padding-inline: 8px;
    font-size: 13px;
  }

  .lord-tab {
    gap: 4px;
  }

  .lord-tab .avatar {
    width: 26px;
    height: 26px;
  }

  .lord-tab>span:last-child {
    font-size: 13px;
  }

  .owner-art,
  .owner-crop {
    height: 290px;
  }

  .profile-fields {
    padding-inline: 13px;
  }

  .profile-fields>div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
  }

  .property-visual {
    height: 270px;
  }

  .speech .avatar,
  .speech .advisor-avatar {
    width: 44px;
    height: 44px;
  }

  .speech {
    gap: 10px;
  }

  .speech p,
  .advisor-speech p {
    padding: 15px 13px;
  }

  .expert-label {
    font-size: 13px;
    letter-spacing: .05em;
  }

  .investment-item {
    padding-inline: 3px;
  }

  .investment-item h4 {
    font-size: 13px;
  }

  .investment-item p {
    font-size: 16px;
  }

  .next-lord {
    padding: 15px 9px;
    gap: 6px;
  }

  .next-lord .avatar {
    width: 28px;
    height: 28px;
  }

  .next-lord>span:last-child {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rich-cloud {
    animation: none;
    translate: none;
  }

  .reveal-ready .reveal-target,
  .reveal-ready .reveal-target:not(.is-revealed) {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .fv-slide,
  .menu-toggle-lines::before,
  .menu-toggle-lines::after,
  .menu-ready .header-nav,
  .menu-ready .menu-backdrop:not([hidden]) {
    transition: none;
  }

  .fv-copy.is-entering img {
    animation: none;
    will-change: auto;
  }
}

/* Final adjustments: simplified FV, colored SVG strokes, and deliberate SP line breaks. */
.point-copy h4>.sp-heading-line,
.point-copy h4>.point-heading-line {
  display: block;
}

@media (min-width: 981px) {
  .header-cta {
    min-width: 165px;
  }
}

/* No texture on any spoken comment: retain the flat background and its tail. */
.supervisor-bubble {
  background: #fffcf3;
}

.owner-speech p {
  background: #fffcf4;
}

.advisor-speech p {
  background: #e3eadd;
}

.expert-bubble {
  background: #f2ead7;
}

.entry-comment p {
  background: #fff5df;
}

.supervisor-bubble>.surface-texture,
.speech p>.surface-texture,
.expert-bubble>.surface-texture,
.entry-comment p>.surface-texture,
.lord-end-links>.surface-texture {
  display: none;
}

.advisor-copy blockquote {
  font-size: 16px;
}

/* Move the texture from the surrounding area onto each button only. */
.lord-end-links {
  background: none;
}

.next-lord {
  position: relative;
  isolation: isolate;
}

.next-lord>.surface-texture {
  opacity: .24;
}

.next-lord,
.next-lord:hover,
.next-lord:active {
  box-shadow: none;
}

/* The supplied icons are outlined paths (the line itself is a filled shape). */
.investment-item .investment-icon svg {
  display: block;
  width: 54px;
  height: 54px;
  max-width: 100%;
  margin: 0;
  flex: none;
  fill: currentColor;
  stroke: none;
}

.investment-item .investment-icon svg path,
.investment-item .investment-icon svg circle {
  fill: currentColor;
  stroke: none;
}

.investment-icon {
  color: var(--accent);
}

/* Preserve the original framing of the map/portrait and move only the requested illustration. */
#hideyoshi-point-1 .image-mat img {
  aspect-ratio: auto;
  height: auto;
  width: 100%;
  object-fit: contain;
}

/* Add the same drifting motion to decorative cloud pseudo-elements. */
.intro:before,
.selection:after,
.owner-section:after,
.owner-art:after,
.tour-point:before,
.customers:before,
.card-art:after {
  animation: cloud-drift 11s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.intro.is-drifting:before,
.selection.is-drifting:after,
.owner-section.is-drifting:after,
.owner-art.is-drifting:after,
.tour-point.is-drifting:before,
.customers.is-drifting:before,
.card-art.is-drifting:after {
  animation-play-state: running;
}

.selection:after,
.owner-art:after,
.tour-point:nth-of-type(even):before {
  animation-delay: -5s;
  animation-duration: 13s;
}

@media (max-width: 760px) {

  /* Each phrase is treated as a Japanese meaning unit, not split at arbitrary characters. */
  h2,
  h3,
  h4 {
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
  }

  .sp-heading-phrase {
    display: inline-block;
    white-space: nowrap;
  }

  .sp-heading-line {
    display: block;
    white-space: nowrap;
  }

  .intro-heading h2 {
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.65;
  }

  .selection-heading h2 {
    font-size: clamp(25px, 6.5vw, 33px);
    line-height: 1.65;
    letter-spacing: .015em;
  }

  .tour-heading h3 {
    font-size: clamp(19px, 5.3vw, 25px);
    line-height: 1.75;
    letter-spacing: .015em;
  }

  .point-copy h4 {
    font-size: clamp(22px, 6vw, 29px);
    line-height: 1.65;
    letter-spacing: .015em;
    text-wrap: balance;
  }

  .investment h3 {
    font-size: clamp(21px, 5.7vw, 27px);
    line-height: 1.75;
    letter-spacing: .015em;
  }

  .comparison .center-title h2 {
    font-size: clamp(25px, 6.6vw, 32px);
    line-height: 1.65;
  }

  .comparison .heading-phrase {
    display: block;
    white-space: nowrap;
  }

  .bridge h2 {
    font-size: clamp(28px, 7.3vw, 36px);
    line-height: 1.65;
  }

  .customers .center-title h2 {
    font-size: clamp(21px, 5.7vw, 28px);
    line-height: 1.7;
    letter-spacing: .01em;
  }

  .customer-copy h3 {
    font-size: clamp(16px, 4.5vw, 21px);
    line-height: 1.75;
    letter-spacing: .01em;
    text-wrap: balance;
  }

  .advisor-copy blockquote {
    font-size: 16px;
  }

  .investment-item .investment-icon svg {
    width: 44px;
    height: 44px;
  }

  @keyframes cloud-drift {
    from {
      translate: -15px -2px;
    }

    to {
      translate: 22px 4px;
    }
  }
}

@media (max-width: 340px) {
  .point-copy h4 {
    font-size: 21px;
  }

  .point-copy .sp-heading-line {
    letter-spacing: 0;
  }

  .customers .center-title h2 {
    font-size: 20px;
  }

  .customer-copy h3 {
    font-size: 16px;
  }

  .supervisor-bubble h3 {
    font-size: 20px;
  }
}

@media (max-width: 300px) {

  .sp-heading-phrase,
  .sp-heading-line,
  .comparison .heading-phrase {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {

  .intro:before,
  .selection:after,
  .owner-section:after,
  .owner-art:after,
  .tour-point:before,
  .customers:before,
  .card-art:after,
  .rich-cloud {
    animation: none;
    translate: none;
  }
}


/* Finish: one continuous paper surface, unframed icons and textured portrait disc. */
/* The parent .lord-panel already paints paper-light.jpg across its full width.
   Avoid a second independently scaled copy on the inner .wrap. */
.advisor-section {
  background: transparent;
}

.investment-flow>.investment-item {
  background: transparent;
  box-shadow: none;
}

.supervisor-disc {
  background-color: #e5d0a4;
  background-image: url('../images/texture.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}

/* Owner introduction: retain the complete supplied portrait, including both sleeves.
   Scope all changes to the large owner illustration; small face avatars are unaffected. */
.owner-section .owner-art {
  position: relative;
  min-width: 0;
  height: auto;
  display: grid;
  align-items: center;
  align-self: center;
  padding-block: 12px 16px;
  overflow: visible;
  isolation: isolate;
}

.owner-section .owner-crop {
  position: relative;
  inset: auto !important;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: visible;
  mask-image: none;
  z-index: 1;
}

.owner-section .owner-crop img.owner-portrait {
  position: relative;
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  left: 0 !important;
  top: 0 !important;
  bottom: auto !important;
  object-fit: contain;
}

/* Follow the portrait instead of using a fixed-size, off-centre crest. */
.theme-nobunaga .owner-art {
  --portrait-anchor: 42.5%;
}

.theme-hideyoshi .owner-art {
  --portrait-anchor: 39.6%;
}

.theme-ieyasu .owner-art {
  --portrait-anchor: 44.4%;
}

.owner-section .owner-sun {
  width: auto;
  height: 91%;
  max-width: 86%;
  aspect-ratio: 1;
  left: var(--portrait-anchor, 50%);
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Decorative clouds drift behind, rather than covering the portrait's edges. */
.owner-section .owner-art:after {
  z-index: -1;
}

@media (min-width: 761px) {
  .owner-section {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(26px, 3vw, 48px);
  }
}

@media (max-width: 760px) {
  .owner-section .owner-art {
    width: calc(100% + 16px);
    max-width: 560px;
    height: auto;
    flex: none;
    padding-block: 10px 14px;
  }

  .owner-section .owner-crop {
    height: auto;
  }

  /* The original transparent canvases place the faces at different x positions.
     Fit the complete canvas, then shift it so the face sits at 50% of the viewport. */
  .owner-section .owner-crop.nobunaga {
    --portrait-width: 88%;
    --portrait-offset: 12.6%;
  }

  .owner-section .owner-crop.hideyoshi {
    --portrait-width: 83%;
    --portrait-offset: 17.13%;
  }

  .owner-section .owner-crop.ieyasu {
    --portrait-width: 90%;
    --portrait-offset: 10.04%;
  }

  .owner-section .owner-crop img.owner-portrait {
    width: var(--portrait-width) !important;
    left: var(--portrait-offset) !important;
  }

  .owner-section .owner-sun {
    left: 50%;
  }
}

/* Owner portraits: enlarge the two wider illustrations without stretching
   them, and blend all three lower edges into the surrounding paper. */
.owner-section .owner-portrait {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0, 0, 0, .88) 85%, rgba(0, 0, 0, .42) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0, 0, 0, .88) 85%, rgba(0, 0, 0, .42) 94%, transparent 100%);
}

@media (min-width: 761px) {
  .theme-hideyoshi .owner-section {
    grid-template-columns: minmax(0, 1.48fr) minmax(300px, 1fr);
  }

  .theme-ieyasu .owner-section {
    grid-template-columns: minmax(0, 1.60fr) minmax(300px, 1fr);
  }

  /* Extend into the existing left page margin; never over the profile copy. */
  .theme-hideyoshi .owner-section .owner-art,
  .theme-ieyasu .owner-section .owner-art {
    --portrait-extra: clamp(24px, calc((100vw - 1220px) / 2 - 8px), 100px);
    width: calc(100% + var(--portrait-extra));
    max-width: none;
    margin-left: calc(-1 * var(--portrait-extra));
  }
}

@media (max-width: 760px) {

  /* Use the outer page margins for the wide sleeves while retaining the
     complete illustrations. A small rightward offset balances the faces. */
  .theme-hideyoshi .owner-section .owner-art,
  .theme-ieyasu .owner-section .owner-art {
    width: calc(100% + 24px);
    max-width: 680px;
  }

  .owner-section .owner-crop.hideyoshi {
    --portrait-width: 96%;
    --portrait-offset: 6%;
  }

  .owner-section .owner-crop.ieyasu {
    --portrait-width: 98%;
    --portrait-offset: 3.5%;
  }

  .theme-hideyoshi .owner-section .owner-sun {
    left: 44%;
  }

  .theme-ieyasu .owner-section .owner-sun {
    left: 47%;
  }
}

/* Owner introduction: move the crest away from the face and use a
   closer, face-centred bust portrait on narrow screens. */
.owner-section .owner-sun {
  width: clamp(160px, 61%, 400px);
  height: auto;
  max-width: none;
  aspect-ratio: 1;
  top: 0;
  right: 1%;
  left: auto;
  transform: none;
  opacity: .2;
  pointer-events: none;
}

@media (max-width: 760px) {

  .owner-section .owner-art,
  .theme-hideyoshi .owner-section .owner-art,
  .theme-ieyasu .owner-section .owner-art {
    width: min(calc(100% + 24px), 520px);
    max-width: none;
    margin-inline: 0;
    /* Allow the shoulders to extend across the gutters, symmetrically. */
    align-self: center;
    padding-block: 4px 0;
  }

  .owner-section .owner-crop {
    width: 100%;
    height: auto;
    aspect-ratio: 1.34;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0, 0, 0, .85) 84%, rgba(0, 0, 0, .4) 94%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0, 0, 0, .85) 84%, rgba(0, 0, 0, .4) 94%, transparent 100%);
  }

  /* The three transparent canvases differ in aspect ratio and facial position. */
  .owner-section .owner-crop.nobunaga {
    --portrait-width: 145%;
    --portrait-offset: -11.625%;
  }

  .owner-section .owner-crop.hideyoshi {
    --portrait-width: 190%;
    --portrait-offset: -25.24%;
  }

  .owner-section .owner-crop.ieyasu {
    --portrait-width: 195%;
    --portrait-offset: -36.58%;
  }

  .owner-section .owner-crop img.owner-portrait {
    position: absolute;
    width: var(--portrait-width) !important;
    max-width: none;
    left: var(--portrait-offset) !important;
    top: 0 !important;
    height: auto !important;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .owner-section .owner-sun,
  .theme-hideyoshi .owner-section .owner-sun,
  .theme-ieyasu .owner-section .owner-sun {
    width: clamp(132px, 54%, 260px);
    height: auto;
    top: 0;
    right: 1%;
    left: auto;
    transform: none;
  }
}