/* Hero layout refinement: open image treatment and calmer type rhythm. */
.photo-frame {
  background: linear-gradient(90deg, #fff0, rgba(255, 255, 255, .05)), url("assets/hero-care.webp") 58% center / cover no-repeat;
}

.local {
  background: linear-gradient(90deg, #05385fe8, #05385f5e), url("assets/kanuma-landscape.webp") center / cover no-repeat;
}

.hero {
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  min-height: 760px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(64px, 7vw, 104px) clamp(40px, 5vw, 72px) 64px clamp(64px, 7.5vw, 112px);
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .12em;
}

.hero h1 {
  margin: 0 0 30px;
  font-size: clamp(44px, 4.15vw, 62px);
  line-height: 1.34;
  letter-spacing: .025em;
}

.hero h1 > span,
.hero h1 > em {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.hero h1 em::after {
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 2;
}

.primary-cta {
  margin-top: 28px;
}

.cta-note {
  margin-top: 12px;
  line-height: 1.7;
}

.hero-visual {
  min-width: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.hero-visual::after {
  display: none;
}

.photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background-position: 57% center;
  box-shadow: none;
}

.hero-visual > p {
  right: auto;
  left: 34px;
  bottom: 34px;
  margin: 0;
  padding: 13px 18px;
  color: #fff;
  background: rgba(3, 48, 78, .72);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(3, 40, 65, .18);
  backdrop-filter: blur(8px);
}

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

  .hero-copy {
    padding: 72px 8% 62px;
  }

  .hero-visual {
    height: 540px;
    padding: 0;
  }
}

@media (max-width: 680px) {
  .hero-copy {
    padding: 46px 22px 40px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 17px;
    font-size: 12px;
  }

  .hero h1 {
    margin-bottom: 23px;
    font-size: clamp(29px, 9.2vw, 38px);
    line-height: 1.42;
    letter-spacing: .01em;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-visual {
    height: 420px;
  }

  .photo-frame {
    border-radius: 0;
    background-position: 60% center;
  }

  .hero-visual > p {
    left: 18px;
    bottom: 18px;
    font-size: 13px;
  }
}

/* Restrained motion: selected content reveals once as it enters the viewport. */
.motion-ready .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity .72s cubic-bezier(.2, .72, .25, 1),
    transform .72s cubic-bezier(.2, .72, .25, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .motion-reveal.motion-from-left {
  transform: translate3d(-24px, 0, 0);
}

.motion-ready .motion-reveal.motion-image {
  transform: translate3d(0, 16px, 0);
}

.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready .service-photo img,
.motion-ready .trust-local-scene img,
.motion-ready .hero-visual .photo-frame {
  transform: scale(1.025);
  transition: transform 1.05s cubic-bezier(.2, .72, .25, 1);
}

.motion-ready .service-photo.is-visible img,
.motion-ready .trust-local-scene.is-visible img,
.motion-ready .hero-visual.is-visible .photo-frame {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .motion-reveal,
  .service-photo img,
  .trust-local-scene img,
  .hero-visual .photo-frame {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Equal-weight case selector: one story is shown at a time. */
.story-tabs {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.story-tabs button {
  min-width: 0;
  min-height: 112px;
  padding: 19px 21px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(6, 74, 127, .14);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.story-tabs button:hover {
  border-color: rgba(18, 132, 189, .5);
  transform: translateY(-2px);
}

.story-tabs button[aria-selected="true"] {
  color: #fff;
  border-color: var(--navy);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 14px 32px rgba(5, 56, 95, .16);
}

.story-tabs button:focus-visible {
  outline: 3px solid rgba(18, 132, 189, .32);
  outline-offset: 3px;
}

.story-tabs span,
.story-tabs strong,
.story-tabs small {
  display: block;
}

.story-tabs span {
  margin-bottom: 4px;
  color: var(--blue);
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.story-tabs strong {
  font-size: 15px;
}

.story-tabs small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.story-tabs button[aria-selected="true"] span,
.story-tabs button[aria-selected="true"] small {
  color: rgba(255, 255, 255, .78);
}

.story .story-cases {
  max-width: 1320px;
  margin: 0 auto;
  border-bottom: 0;
}

.story-cases .story-case {
  margin: 0;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(18, 132, 189, .18);
  border-radius: 24px;
  background: rgba(255, 255, 255, .65);
  box-shadow: 0 18px 46px rgba(5, 56, 95, .06);
}

.story-cases .story-case[hidden] {
  display: none;
}

.story-cases .story-case.is-active {
  animation: story-tab-in .42s cubic-bezier(.2, .72, .25, 1) both;
}

@keyframes story-tab-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .story-tabs {
    margin-right: -22px;
    margin-bottom: 14px;
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(230px, 78vw));
    padding: 3px 22px 14px 0;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .story-tabs button {
    min-height: 102px;
    scroll-snap-align: start;
  }

  .story-cases .story-case {
    padding: 28px 18px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-tabs button,
  .story-cases .story-case.is-active {
    transition: none;
    animation: none;
  }
}

/* Needs navigator: structured as a compact editorial panel rather than loose boxes. */
.about {
  min-height: 100vh;
  min-height: 100svh;
}

.about-brand {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--deep);
}

.about-logo-icon {
  width: clamp(154px, 14vw, 188px);
  aspect-ratio: 1;
  overflow: hidden;
}

.about-logo-icon img {
  display: block;
  width: 503%;
  max-width: none;
  height: auto;
  transform: translate(-15.05%, -18.05%);
}

.about-logo-type {
  margin-top: 20px;
  text-align: center;
}

.about-logo-type::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin: 0 auto 17px;
  background: rgba(6, 74, 127, .35);
}

.about-logo-type strong,
.about-logo-type span {
  display: block;
}

.about-logo-type strong {
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: .13em;
}

.about-logo-type span {
  margin-top: 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.continuum .section-head {
  max-width: 900px;
}

.continuum .continuum-lead {
  max-width: 780px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .02em;
}

.needs {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(560px, 1.45fr);
  gap: clamp(48px, 7vw, 108px);
  align-items: center;
  min-height: 680px;
  padding: 76px clamp(30px, 7vw, 106px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 88%, rgba(18, 132, 189, .1), transparent 25%),
    linear-gradient(135deg, #fff 0%, #fbf8ef 100%);
}

.needs::before {
  content: "✦";
  position: absolute;
  z-index: -1;
  left: -28px;
  bottom: -95px;
  color: rgba(18, 132, 189, .07);
  font-size: 230px;
  line-height: 1;
}

.needs .section-head {
  margin: 0;
}

.needs .section-head > p:first-child {
  margin-bottom: 13px;
}

.needs .section-head h2 {
  margin: 0;
  font-size: clamp(32px, 3.15vw, 46px);
  line-height: 1.5;
}

.needs .needs-intro {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0;
}

.needs .need-links {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.needs .need-links a {
  position: relative;
  min-height: 236px;
  padding: 22px 24px 19px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(6, 74, 127, .14);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 38px rgba(5, 56, 95, .07);
}

.needs .need-links a::before {
  display: none;
}

.needs .need-links a::after {
  display: none;
}

.needs .need-links a:hover {
  border-color: rgba(18, 132, 189, .42);
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(5, 56, 95, .11);
}

.need-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.needs .need-links .need-no {
  color: var(--blue);
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
}

.needs .need-links small {
  padding: 5px 10px;
  border-radius: 999px;
  color: #7893a4;
  background: var(--sky);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.need-card-main {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.needs .need-links .need-symbol {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--navy);
  background: linear-gradient(145deg, #eef8fc, #dceff7);
  font-family: "Shippori Mincho", serif;
  font-size: 19px;
  font-weight: 700;
}

.needs .need-links b {
  display: block;
  color: var(--deep);
  font-size: 16px;
  line-height: 1.55;
}

.needs .need-card-main p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.needs .need-links .need-action {
  width: 100%;
  align-self: stretch;
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.needs .need-links .need-action i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 13px;
  transition: transform .25s ease;
}

.needs .need-links a:hover .need-action i {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .needs {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding: 64px 7%;
  }

  .needs .section-head h2 br {
    display: none;
  }

  .needs .needs-intro br {
    display: none;
  }
}

@media (max-width: 680px) {
  .about {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-brand {
    margin-bottom: 44px;
  }

  .about-logo-icon {
    width: 142px;
  }

  .needs {
    padding: 52px 18px;
  }

  .needs .section-head h2 {
    font-size: 28px;
  }

  .needs .need-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .needs .need-links a {
    min-height: 218px;
    padding: 19px 20px;
  }
}

/* Core services: each service is treated as a full-page chapter. */
.services .service-row,
.services .service-row.reverse {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
}

.services .service-row.reverse {
  background: #f9f7f1;
}

.services .service-copy,
.services .service-row.reverse .service-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  max-width: none;
  padding: clamp(120px, 14vh, 170px) clamp(54px, 8vw, 122px) clamp(72px, 10vh, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services .service-row.reverse .service-copy {
  grid-column: 2;
}

.services .service-no {
  position: absolute;
  z-index: 3;
  top: clamp(38px, 6vh, 66px);
  left: clamp(36px, 5.5vw, 84px);
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(6, 74, 127, .38);
  font-size: 30px;
  line-height: 1;
}

.services .service-no::after {
  content: "";
  width: 52px;
  height: 1px;
  background: rgba(6, 74, 127, .22);
}

.services .service-row.reverse .service-no {
  left: calc(50% + clamp(36px, 5.5vw, 84px));
}

.services .service-copy .eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
}

.services .service-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.42;
}

.services .service-copy > p:not(.eyebrow, .respect) {
  max-width: 560px;
  font-size: 17px;
  line-height: 2;
}

.services .service-copy ul {
  max-width: 560px;
  margin-top: 34px;
  gap: 10px;
}

.services .service-copy li {
  padding: 8px 15px;
  font-size: 13px;
}

.services .respect {
  margin-top: 30px;
  font-size: 18px;
}

.service-price {
  width: 100%;
  max-width: 560px;
  margin-top: 30px;
  padding: 17px 0 15px;
  border-top: 1px solid rgba(6, 74, 127, .22);
  border-bottom: 1px solid rgba(6, 74, 127, .12);
}

.service-price-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.service-price-main span {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.service-price-main strong {
  color: var(--deep);
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  line-height: 1.55;
  text-align: right;
}

.service-price > p {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.service-price > p span {
  color: #78909f;
  font-weight: 700;
}

.service-price > small {
  display: block;
  margin-top: 7px;
  padding-left: 116px;
  color: #8497a3;
  font-size: 11px;
  line-height: 1.65;
}

.services .service-photo,
.services .service-row.reverse .service-photo {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #dce9ef;
}

.services .service-row.reverse .service-photo {
  grid-column: 1;
}

.services .service-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 42, 68, .28));
  pointer-events: none;
}

.services .service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  object-fit: cover;
  object-position: center;
}

.services .service-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 38px;
  bottom: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  border: 0;
  background: transparent;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-shadow: 0 2px 12px rgba(0, 25, 43, .65);
}

.services .service-photo figcaption::before {
  content: "";
  width: 34px;
  height: 1px;
  flex: 0 0 34px;
  background: rgba(255, 255, 255, .82);
}

.services .service-row.reverse .service-photo figcaption {
  right: auto;
  left: 38px;
}

@media (max-width: 980px) {
  .services .service-copy,
  .services .service-row.reverse .service-copy {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .services .service-row.reverse .service-no {
    left: calc(50% + 6vw);
  }
}

@media (max-width: 680px) {
  .services .service-row,
  .services .service-row.reverse {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .services .service-photo,
  .services .service-row.reverse .service-photo {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    height: clamp(300px, 62vw, 420px);
  }

  .services .service-photo img {
    min-height: 0;
    height: 100%;
  }

  .services .service-copy,
  .services .service-row.reverse .service-copy {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    padding: 72px 22px 56px;
  }

  .services .service-no,
  .services .service-row.reverse .service-no {
    top: calc(clamp(300px, 62vw, 420px) + 24px);
    left: 22px;
    font-size: 24px;
  }

  .services .service-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .services .service-copy h2 {
    margin-bottom: 17px;
    font-size: 29px;
  }

  .services .service-copy > p:not(.eyebrow, .respect) {
    font-size: 15px;
    line-height: 1.9;
  }

  .services .service-copy ul {
    margin-top: 22px;
  }

  .service-price {
    margin-top: 24px;
    padding-top: 15px;
  }

  .service-price-main {
    display: block;
  }

  .service-price-main span,
  .service-price-main strong {
    display: block;
    text-align: left;
  }

  .service-price-main strong {
    margin-top: 4px;
    font-size: 16px;
  }

  .service-price > p {
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 12px;
  }

  .service-price > small {
    padding-left: 0;
  }

  .services .service-photo figcaption {
    right: 18px;
    bottom: 17px;
    font-size: 12px;
  }

  .services .service-row.reverse .service-photo figcaption {
    right: auto;
    left: 18px;
  }
}

/* Living stories: fictional journeys clarify how separate services connect. */
.who {
  min-height: 100vh;
  min-height: 100svh;
}

.story {
  position: relative;
  display: block;
  padding: clamp(88px, 10vw, 140px) clamp(28px, 8vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 132, 189, .13), transparent 28%),
    var(--sky);
}

.story::before {
  content: "STORIES";
  position: absolute;
  top: 18px;
  right: 2vw;
  color: rgba(6, 74, 127, .045);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(76px, 12vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}

.story-intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 66px;
}

.story-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.45;
}

.story-intro > p:last-of-type {
  max-width: 700px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 2;
}

.story-intro small {
  color: #708594;
  font-size: 12px;
}

.story-cases {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(6, 74, 127, .16);
}

.story-case {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.8fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid rgba(6, 74, 127, .16);
}

.story-case-featured {
  margin-bottom: 12px;
  padding-right: clamp(24px, 3vw, 42px);
  padding-left: clamp(24px, 3vw, 42px);
  align-items: start;
  border: 1px solid rgba(18, 132, 189, .19);
  border-radius: 24px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 18px 46px rgba(5, 56, 95, .055);
}

.story-person > span {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--blue);
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.story-person > span small {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 9px;
  letter-spacing: .08em;
}

.story-person h3 {
  margin: 0 0 13px;
  color: var(--deep);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.55;
}

.story-person p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.story-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 42px 0 0;
  list-style: none;
}

.story-route::before {
  content: "";
  position: absolute;
  top: 63px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: rgba(6, 74, 127, .24);
}

.story-route li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.story-step {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: center;
  opacity: .3;
  cursor: not-allowed;
  transition: opacity .3s ease, transform .3s ease;
}

.story-step .step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 74, 127, .2);
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  box-shadow: 0 7px 20px rgba(5, 56, 95, .07);
  transition: color .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.story-step b {
  display: block;
  padding: 0 5px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.story-route-static {
  padding-top: 0;
}

.story-route-static::before {
  top: 21px;
}

.story-route-static .step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 74, 127, .18);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, .9);
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  box-shadow: 0 6px 18px rgba(5, 56, 95, .055);
}

.story-route-static b {
  display: block;
  padding: 0 5px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.story-step.is-current,
.story-step.is-done {
  opacity: 1;
}

.story-step.is-current {
  cursor: pointer;
}

.story-step.is-current:hover {
  transform: translateY(-3px);
}

.story-step.is-current .step-number {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 10px 25px rgba(18, 132, 189, .28);
  animation: story-pulse 1.8s ease-in-out infinite;
}

.story-step.is-done .step-number {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
  font-size: 0;
}

.story-step.is-done .step-number::after {
  content: "✓";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.story-step.is-done b {
  color: var(--navy);
}

.story-step:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 8px;
  border-radius: 10px;
}

.story-click {
  position: absolute;
  top: -41px;
  left: 50%;
  display: none;
  align-items: flex-end;
  gap: 2px;
  color: var(--blue);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%) rotate(-7deg);
}

.story-click i {
  display: inline-block;
  font-size: 25px;
  font-style: normal;
  line-height: .75;
  transform: rotate(5deg);
}

.story-step.is-current .story-click {
  display: flex;
}

.story-route li:last-child .story-click {
  right: 0;
  left: auto;
  transform: rotate(-7deg);
}

.story-status {
  margin: 20px 0 0;
  color: #6a8393;
  font-size: 12px;
  text-align: right;
  transition: color .3s ease;
}

.story-feature-experience,
.story-static-content {
  min-width: 0;
}

.story-scene {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #dcecf2;
  box-shadow: 0 14px 34px rgba(5, 56, 95, .12);
}

.story-scene img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: opacity .32s ease, transform .45s ease;
}

.story-scene figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 8px 25px rgba(5, 56, 95, .1);
  backdrop-filter: blur(8px);
}

.story-scene figcaption span,
.story-scene figcaption strong,
.story-scene figcaption small {
  display: block;
}

.story-scene figcaption span {
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.story-scene figcaption strong {
  color: var(--deep);
  font-size: 14px;
}

.story-scene figcaption small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.story-scene-featured img {
  height: clamp(235px, 24vw, 315px);
}

.story-scene.is-changing img {
  opacity: .25;
  transform: scale(1.015);
}

.story-feature-experience .story-route {
  padding-top: 54px;
}

.story-feature-experience .story-route::before {
  top: 75px;
}

.story-static-content {
  display: grid;
  grid-template-columns: minmax(230px, .85fr) minmax(300px, 1.15fr);
  gap: 28px;
  align-items: center;
}

.story-static-content .story-route-static {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.story-static-content .story-route-static::before {
  display: none;
}

.story-static-content .story-route-static li {
  min-height: auto;
  padding: 8px 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(6, 74, 127, .12);
  text-align: left;
}

.story-static-content .story-route-static li:last-child {
  border-bottom: 0;
}

.story-static-content .story-route-static .step-number {
  width: 30px;
  height: 30px;
  margin: 0;
  color: #fff;
  border: 0;
  background: var(--navy);
  box-shadow: none;
}

.story-static-content .story-route-static b {
  padding: 0;
  font-size: 13px;
  text-align: left;
}

.story-journey.is-complete .story-status {
  color: var(--navy);
  font-weight: 700;
}

@keyframes story-pulse {
  0%, 100% { box-shadow: 0 10px 25px rgba(18, 132, 189, .24); }
  50% { box-shadow: 0 10px 30px rgba(18, 132, 189, .46), 0 0 0 7px rgba(18, 132, 189, .1); }
}

@media (prefers-reduced-motion: reduce) {
  .story-step,
  .story-step .step-number {
    transition: none;
  }

  .story-step.is-current .step-number {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .story-case {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-person {
    max-width: 620px;
  }

  .story-static-content {
    grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr);
  }
}

@media (max-width: 680px) {
  .who {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .story {
    padding: 70px 22px;
  }

  .story-intro {
    margin-bottom: 45px;
  }

  .story-intro h2 {
    font-size: 32px;
  }

  .story-case {
    padding: 40px 0;
  }

  .story-case-featured {
    padding: 32px 18px;
  }

  .story-scene img,
  .story-scene-featured img {
    height: 245px;
  }

  .story-static-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-feature-experience .story-route {
    padding-top: 28px;
  }

  .story-feature-experience .story-route::before {
    top: 48px;
  }

  .story-route {
    display: block;
    padding: 20px 0 0 4px;
  }

  .story-route-static {
    padding-top: 0;
  }

  .story-route::before {
    top: 40px;
    bottom: 20px;
    left: 25px;
    width: 1px;
    height: auto;
  }

  .story-route-static::before {
    top: 20px;
  }

  .story-route li {
    min-height: 72px;
    text-align: left;
  }

  .story-step {
    min-height: 66px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    text-align: left;
  }

  .story-step .step-number {
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .story-route-static li {
    min-height: 66px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }

  .story-route-static .step-number {
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .story-route-static b {
    padding: 0;
    font-size: 14px;
    text-align: left;
  }

  .story-step b {
    padding: 0;
    font-size: 14px;
  }

  .story-click {
    top: -10px;
    right: 2px;
    left: auto;
    transform: rotate(-7deg);
  }

  .story-status {
    margin-top: 13px;
    padding-left: 4px;
    text-align: left;
  }
}

/* After-contact flow: reduce uncertainty before a visitor reaches out. */
.consult-flow {
  position: relative;
  padding: clamp(82px, 9vw, 126px) clamp(24px, 7vw, 106px);
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 15%, rgba(18, 132, 189, .09), transparent 24%),
    var(--ivory);
}

.consult-flow .section-head {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.consult-flow .section-head h2 {
  margin: 6px 0 17px;
  font-size: clamp(34px, 3.8vw, 50px);
}

.consult-flow .consult-intro {
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0;
}

.consult-flow .consult-steps {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.consult-flow .consult-steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 31px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: rgba(6, 74, 127, .18);
}

.consult-flow .consult-steps li {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.consult-flow .consult-steps li > span {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 7px solid var(--ivory);
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(5, 56, 95, .16);
}

.consult-flow .consult-steps li > div {
  width: auto;
  min-height: 210px;
  padding: 23px 20px 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid rgba(6, 74, 127, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 34px rgba(5, 56, 95, .055);
}

.consult-flow .consult-steps b,
.consult-flow .consult-steps small,
.consult-flow .consult-steps em {
  display: block;
}

.consult-flow .consult-steps b {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 15px;
  line-height: 1.55;
}

.consult-flow .consult-steps small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.consult-flow .consult-steps em {
  margin-top: auto;
  padding-top: 13px;
  color: var(--blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
}

.consult-assurance {
  max-width: 920px;
  margin: 42px auto 0;
  padding: 21px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(18, 132, 189, .22);
  border-radius: 16px;
  background: rgba(234, 246, 251, .72);
}

.consult-assurance > span {
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.consult-assurance p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.8;
}

.consult-dummy-note {
  margin: 13px auto 0;
  color: #8a979f;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 980px) {
  .consult-flow .consult-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consult-flow .consult-steps::before {
    display: none;
  }

  .consult-flow .consult-steps li:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 7px);
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .consult-flow {
    padding: 68px 20px;
  }

  .consult-flow .section-head {
    margin-bottom: 40px;
    text-align: left;
  }

  .consult-flow .section-head h2 {
    font-size: 30px;
  }

  .consult-flow .consult-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .consult-flow .consult-steps li,
  .consult-flow .consult-steps li:last-child {
    width: 100%;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
  }

  .consult-flow .consult-steps li > span {
    width: 46px;
    height: 46px;
    margin: 14px 0 0;
    border-width: 5px;
    font-size: 12px;
  }

  .consult-flow .consult-steps li > div {
    min-height: 0;
    padding: 19px 18px;
  }

  .consult-flow .consult-steps em {
    margin-top: 12px;
  }

  .consult-assurance {
    margin-top: 30px;
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .consult-assurance > span {
    justify-self: start;
  }
}

/* Operator and designation: concrete trust replaces generic local claims. */
.trust {
  position: relative;
  padding: clamp(88px, 9vw, 132px) clamp(26px, 7vw, 106px);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 132, 189, .11), transparent 27%),
    #f7f9f8;
}

.trust::before {
  content: "POLARIS";
  position: absolute;
  top: 20px;
  right: -8px;
  color: rgba(6, 74, 127, .035);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(78px, 13vw, 190px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}

.trust-heading,
.trust-layout {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.trust-heading {
  max-width: 780px;
  margin-left: max(0px, calc((100% - 1320px) / 2));
  margin-bottom: 54px;
}

.trust-heading h2 {
  margin-bottom: 19px;
  color: var(--deep);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.52;
}

.trust-heading > p:last-child {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.trust-local-scene {
  position: relative;
  z-index: 1;
  width: min(100%, 1320px);
  height: clamp(300px, 34vw, 470px);
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 28px;
  background: #d8e9ef;
  box-shadow: 0 24px 60px rgba(5, 56, 95, .13);
}

.trust-local-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 43, 70, .68), rgba(3, 43, 70, .08) 65%);
}

.trust-local-scene img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.trust-local-scene figcaption {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 5vw, 70px);
  bottom: clamp(28px, 5vw, 64px);
  color: #fff;
}

.trust-local-scene figcaption span,
.trust-local-scene figcaption strong {
  display: block;
}

.trust-local-scene figcaption span {
  margin-bottom: 9px;
  color: #9dddf7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.trust-local-scene figcaption strong {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.55;
  letter-spacing: .04em;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 24px;
  align-items: stretch;
}

.operator-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(300px, 1.28fr);
  overflow: hidden;
  border: 1px solid rgba(6, 74, 127, .12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(5, 56, 95, .08);
}

.operator-portrait {
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .92);
  background: linear-gradient(145deg, #d8eaf1, #eef6f8);
  text-align: center;
}

.operator-portrait::before {
  content: "";
  width: 74px;
  height: 74px;
  margin-bottom: 17px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 9px rgba(255, 255, 255, .06);
}

.operator-portrait span {
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .18em;
}

.operator-portrait small {
  margin-top: 5px;
  font-size: 12px;
}

.operator-copy {
  padding: clamp(32px, 4vw, 54px);
}

.operator-role {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.operator-copy h3 {
  margin: 0 0 25px;
  color: var(--deep);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(25px, 2.4vw, 34px);
}

.founder-note {
  margin-bottom: 28px;
}

.founder-note strong,
.founder-note span {
  display: block;
}

.founder-note strong {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 14px;
}

.founder-note span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.operator-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.operator-facts div {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.operator-facts dt {
  color: #78909f;
}

.operator-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.trust-facts {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}

.designation-card,
.activity-card {
  border-radius: 24px;
}

.designation-card {
  position: relative;
  padding: 34px 36px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #043657);
  box-shadow: 0 18px 48px rgba(5, 56, 95, .18);
}

.designation-card::after {
  content: "✦";
  position: absolute;
  right: 20px;
  top: 4px;
  color: rgba(255, 255, 255, .09);
  font-size: 128px;
  line-height: 1;
}

.designation-card > p {
  margin: 0 0 14px;
  color: #91d8f4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.designation-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.designation-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 23px;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(23px, 2.2vw, 31px);
  line-height: 1.55;
}

.designation-card dl {
  position: relative;
  z-index: 1;
  margin: 0 0 15px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.designation-card dl div {
  padding: 8px 0;
  display: grid;
  grid-template-columns: 86px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
}

.designation-card dt {
  color: #9dddf7;
}

.designation-card dd {
  margin: 0;
  font-weight: 700;
}

.designation-card > small {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
  line-height: 1.7;
}

.activity-card {
  padding: 31px 34px;
  border: 1px solid rgba(6, 74, 127, .12);
  background: rgba(255, 255, 255, .9);
}

.activity-card h3 {
  margin: 0 0 20px;
  color: var(--deep);
  font-family: "Shippori Mincho", serif;
  font-size: 22px;
}

.activity-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-card li {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.activity-card li > span {
  color: #81afc4;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
}

.activity-card li b,
.activity-card li small {
  display: block;
}

.activity-card li b {
  color: var(--ink);
  font-size: 14px;
}

.activity-card li small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

/* Keep trust information in one calm, readable surface. */
.trust-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 74, 127, .12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(5, 56, 95, .07);
}

.operator-card {
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.operator-portrait {
  min-height: 220px;
  margin: 38px 0 38px 38px;
  padding: 22px;
  border-radius: 18px;
  color: var(--navy);
}

.operator-portrait::before {
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  border-color: rgba(6, 74, 127, .24);
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 0 0 9px rgba(18, 132, 189, .06);
}

.operator-copy {
  padding: 38px;
}

.trust-facts {
  grid-template-rows: auto;
  gap: 0;
  padding: 38px;
  align-content: center;
  border-left: 1px solid var(--line);
  background: #f8fbfc;
}

.designation-card,
.activity-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.designation-card {
  padding: 0;
  color: var(--ink);
  border-bottom: 0;
}

.designation-card::after {
  display: none;
}

.designation-card > p,
.designation-card dt {
  color: var(--blue);
}

.designation-label {
  color: var(--navy);
  border-color: rgba(6, 74, 127, .2);
  background: var(--sky);
}

.designation-card h3 {
  margin-bottom: 16px;
  color: var(--deep);
  font-size: clamp(22px, 2vw, 28px);
}

.designation-card dl {
  margin-bottom: 12px;
  border-color: var(--line);
}

.designation-card dl div {
  border-color: var(--line);
}

.designation-card > small {
  color: var(--muted);
}

.activity-card {
  padding: 28px 0 0;
}

@media (max-width: 1080px) {
  .trust-layout {
    grid-template-columns: 1fr;
  }

  .trust-facts {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .trust {
    padding: 70px 20px;
  }

  .trust-heading {
    margin-bottom: 38px;
  }

  .trust-heading h2 {
    font-size: 30px;
  }

  .trust-local-scene {
    height: 360px;
    margin-bottom: 22px;
    border-radius: 20px;
  }

  .trust-local-scene img {
    object-position: 62% center;
  }

  .trust-local-scene::after {
    background: linear-gradient(0deg, rgba(3, 43, 70, .72), rgba(3, 43, 70, .02) 72%);
  }

  .operator-card {
    grid-template-columns: 1fr;
  }

  .operator-portrait {
    min-height: 280px;
    margin: 0;
    border-radius: 0;
  }

  .operator-copy {
    padding: 30px 24px 34px;
  }

  .operator-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .trust-facts {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .designation-card,
  .activity-card {
    padding-right: 0;
    padding-left: 0;
  }
}

/* Dual contact paths: phone and LINE remain equally visible. */
.header-contact-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.site-header nav a,
.header-line-cta b {
  white-space: nowrap;
}

.site-header nav + .header-contact-actions {
  margin-left: 0;
}

.site-header .header-cta {
  min-height: 46px;
  padding: 5px 15px 5px 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.site-header .header-cta .header-contact-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 14px;
}

.site-header .header-cta .header-contact-copy {
  margin: 0;
  display: grid;
  gap: 0;
  line-height: 1.2;
}

.header-contact-copy small {
  color: #547084;
  font-size: 11px;
  font-weight: 700;
}

.header-contact-copy strong {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

.header-line-cta {
  min-height: 46px;
  padding: 7px 15px 7px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: #fff;
  background: #06a94f;
  font-size: 13px;
}

.header-line-cta span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #079447;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
}

.header-line-cta b {
  font-weight: 700;
}

.hero-cta-actions {
  width: min(100%, 500px);
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  align-items: stretch;
  gap: 12px;
}

.hero-cta-actions .primary-cta {
  width: 100%;
  min-width: 0;
}

.hero-cta-actions .primary-cta > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.hero-cta-actions .primary-cta strong {
  flex: 1 1 auto;
  margin-left: 10px;
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
}

.line-cta {
  width: 100%;
  min-width: 0;
  margin-top: 28px;
  padding: 11px 17px 11px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  color: #fff;
  background: #06a94f;
  box-shadow: 0 12px 30px rgba(6, 169, 79, .2);
  transition: transform .25s ease, box-shadow .25s ease;
}

.line-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(6, 169, 79, .25);
}

.line-cta > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #079447;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.line-cta strong {
  font-size: 14px;
  white-space: nowrap;
}

.line-cta b {
  margin-left: auto;
  font-size: 19px;
}

.contact-actions {
  min-width: 360px;
  display: grid;
  gap: 11px;
}

.contact-actions .contact-button {
  width: 100%;
}

.contact-line-button {
  border-color: rgba(255, 255, 255, .2);
  background: #06a94f;
}

.mobile-contact-bar {
  display: none;
}

@media (max-width: 1450px) {
  .site-header {
    padding-inline: 32px;
    gap: 22px;
  }

  .site-logo {
    width: 190px;
  }

  .site-header nav {
    gap: 18px;
  }
}

@media (max-width: 1260px) {
  .site-header nav {
    display: none;
  }

  .site-header nav + .header-contact-actions {
    margin-left: auto;
  }
}

@media (max-width: 980px) {
  .site-header nav + .header-contact-actions {
    margin-left: auto;
  }

}

@media (max-width: 680px) {
  body {
    padding-bottom: 74px;
  }

  .site-header .header-cta {
    display: none;
  }

  .header-line-cta {
    min-height: 38px;
    padding: 5px 8px;
  }

  .hero-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-cta-actions .primary-cta,
  .line-cta {
    width: 100%;
    min-width: 0;
    margin-top: 0;
  }

  .hero-cta-actions {
    margin-top: 27px;
  }

  .hero-cta-actions .primary-cta {
    margin-top: 0;
  }

  .contact-actions {
    min-width: 0;
    width: 100%;
    margin-top: 28px;
  }

  .contact-actions .contact-button {
    margin-top: 0;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 50;
    right: 10px;
    bottom: 9px;
    left: 10px;
    height: 54px;
    padding: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    border: 1px solid rgba(6, 74, 127, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 34px rgba(3, 40, 65, .24);
    backdrop-filter: blur(12px);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--navy);
    font-size: 12px;
  }

  .mobile-contact-bar .mobile-line {
    background: #06a94f;
  }

  .mobile-contact-bar span {
    font-size: 10px;
    font-weight: 800;
  }
}

/* Consolidated small-screen pass: keep every chapter readable without desktop-sized spacing. */
@media (max-width: 680px) {
  html {
    scroll-padding-top: 68px;
  }

  body {
    min-width: 0;
    overflow-x: hidden;
    padding-bottom: 72px;
  }

  .site-header {
    height: 68px;
    padding-inline: 13px;
    gap: 8px;
  }

  .site-logo {
    width: min(146px, 47vw);
    min-width: 0;
    flex: 0 1 auto;
  }

  .header-contact-actions {
    display: none;
  }

  .header-line-cta {
    min-height: 38px;
    padding: 5px 9px 5px 6px;
    gap: 6px;
  }

  .header-line-cta span {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
  }

  .header-line-cta b {
    font-size: 11px;
  }

  .hero-copy {
    padding: 44px 20px 38px;
  }

  .hero h1 {
    font-size: clamp(29px, 9.4vw, 38px);
    line-height: 1.4;
  }

  .hero h1 > span,
  .hero h1 > em {
    width: auto;
    max-width: none;
    white-space: normal;
  }

  .hero-cta-actions {
    display: none;
  }

  .hero-cta-actions + .cta-note,
  .hero-copy > .cta-note {
    display: none;
  }

  .hero-cta-actions .primary-cta,
  .line-cta {
    min-height: 58px;
    padding-right: 14px;
  }

  .hero-cta-actions .primary-cta strong,
  .line-cta strong {
    min-width: 0;
    font-size: 13px;
    white-space: normal;
  }

  .hero-visual {
    height: clamp(350px, 108vw, 420px);
  }

  .about {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .about-brand {
    margin-bottom: 34px;
  }

  .needs {
    gap: 28px;
    padding: 58px 18px;
  }

  .needs .need-links a {
    min-height: 0;
    padding: 19px 18px 17px;
  }

  .needs .need-card-top {
    width: 100%;
    margin: 0;
    align-self: stretch;
    justify-content: flex-start;
    text-align: left;
  }

  .needs .need-card-top .need-no,
  .needs .need-card-top small {
    margin-right: 0;
    margin-left: 0;
  }

  .need-card-main {
    margin-top: 17px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .needs .need-links .need-symbol {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .needs .need-card-main p {
    font-size: 13px;
  }

  .services .service-photo,
  .services .service-row.reverse .service-photo {
    height: clamp(290px, 82vw, 390px);
  }

  .services .service-copy,
  .services .service-row.reverse .service-copy {
    padding: 66px 20px 52px;
  }

  .services .service-no,
  .services .service-row.reverse .service-no {
    top: calc(clamp(290px, 82vw, 390px) + 22px);
    left: 20px;
  }

  .services .service-copy h2 {
    overflow-wrap: anywhere;
  }

  .services .service-copy li {
    max-width: 100%;
  }

  .story {
    padding: 66px 18px;
  }

  .story-intro {
    margin-bottom: 34px;
  }

  .story-tabs {
    width: 100%;
    margin-right: 0;
    overflow: visible;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
    scroll-snap-type: none;
  }

  .story-tabs button {
    width: 100%;
    min-width: 0;
    min-height: 82px;
    padding: 14px 17px;
    scroll-snap-align: none;
  }

  .story-cases .story-case,
  .story-case-featured {
    padding: 25px 15px;
    border-radius: 18px;
  }

  .story-person h3 {
    font-size: 25px;
    overflow-wrap: anywhere;
  }

  .story-scene,
  .story-scene-featured {
    border-radius: 16px;
  }

  .story-scene img,
  .story-scene-featured img {
    height: clamp(215px, 65vw, 260px);
  }

  .story-scene figcaption,
  .story-scene-featured figcaption {
    position: static;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .story-step,
  .story-route-static li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
  }

  .consult-flow,
  .trust {
    padding-right: 18px;
    padding-left: 18px;
  }

  .consult-flow .consult-steps li,
  .consult-flow .consult-steps li:last-child {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .consult-flow .consult-steps li > span {
    width: 42px;
    height: 42px;
  }

  .consult-flow .consult-steps li > div {
    padding: 18px 16px;
  }

  .consult-assurance {
    padding: 18px;
  }

  .trust-local-scene {
    height: clamp(290px, 88vw, 350px);
  }

  .operator-portrait {
    min-height: 230px;
  }

  .operator-copy,
  .trust-facts {
    padding-right: 20px;
    padding-left: 20px;
  }

  .designation-card dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .contact-button {
    min-width: 0;
    white-space: normal;
  }

  .mobile-contact-bar {
    right: 8px;
    bottom: 8px;
    left: 8px;
    height: 56px;
  }

  .mobile-contact-bar a {
    min-width: 0;
    white-space: nowrap;
  }
}

@media (max-width: 370px) {
  .site-header {
    padding-inline: 10px;
  }

  .site-logo {
    width: 132px;
  }

  .header-line-cta {
    padding-right: 7px;
  }

  .header-line-cta b {
    font-size: 10px;
  }

  .hero-copy,
  .services .service-copy,
  .services .service-row.reverse .service-copy {
    padding-right: 17px;
    padding-left: 17px;
  }
}

/* Desktop case panels share one visual grammar; only CASE 01 adds interaction. */
@media (min-width: 681px) {
  .story-cases .story-case {
    align-items: start;
  }

  .story-cases .story-case-featured {
    margin-bottom: 0;
  }

  .story-static-content {
    display: block;
  }

  .story-static-content .story-scene img {
    height: clamp(235px, 24vw, 315px);
  }

  .story-static-content .story-route-static {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 54px 0 0;
  }

  .story-static-content .story-route-static::before {
    display: block;
    top: 75px;
  }

  .story-static-content .story-route-static li {
    min-height: 0;
    padding: 0;
    display: block;
    border-bottom: 0;
    text-align: center;
  }

  .story-static-content .story-route-static .step-number {
    width: 44px;
    height: 44px;
    margin: 0 auto 15px;
    border: 1px solid rgba(6, 74, 127, .18);
    color: var(--navy);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 6px 18px rgba(5, 56, 95, .055);
  }

  .story-static-content .story-route-static b {
    padding: 0 5px;
    text-align: center;
    line-height: 1.65;
  }
}

@media (min-width: 1181px) {
  .story-cases .story-case {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.8fr);
  }
}

/* On ultrawide displays, frame the LP instead of stretching every composition edge to edge. */
@media (min-width: 1601px) {
  body {
    background: #efede7;
  }

  .site-header,
  main,
  footer {
    width: calc(100% - clamp(64px, 8vw, 220px));
    max-width: 1680px;
    margin-right: auto;
    margin-left: auto;
  }

  .site-header {
    right: 0;
    left: 0;
  }

  main {
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 50px rgba(5, 56, 95, .055);
  }

  footer {
    box-shadow: 0 20px 50px rgba(5, 56, 95, .04);
  }
}
