:root {
  --how-navy: #102d4c;
  --how-deep: #071d31;
  --how-paper: #f3e5d4;
  --how-paper-light: #fbf4eb;
  --how-aqua: #64dbe2;
  --how-aqua-text: #136f78;
  --how-sand: #d1af78;
  --how-ink-soft: rgba(16, 45, 76, 0.7);
  --how-line: rgba(16, 45, 76, 0.28);
  --how-gutter: clamp(1.25rem, 4.4vw, 5.5rem);
  --how-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --how-sans: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.acqua-how {
  margin: 0;
  color: var(--how-navy);
  background: var(--how-paper);
  font-family: var(--how-sans);
  font-size: 16px;
  line-height: 1.7;
  line-break: strict;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-font-smoothing: antialiased;
}

.acqua-how a { color: inherit; }
.acqua-how img { display: block; max-width: 100%; }
.acqua-how :where(.contact-chrome-header, .contact-chrome-menu, .contact-chrome-footer) :where(p) { margin: 0; }
.acqua-how :where(.contact-chrome-header, .contact-chrome-menu, .contact-chrome-footer) :where(button) {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
}
.acqua-how .orbit-menu__cta--sand { color: var(--orbit-ink); }
.acqua-how h1,
.acqua-how h2,
.acqua-how h3,
.acqua-how p,
.acqua-how ul,
.acqua-how ol { margin-top: 0; }

.acqua-how :where(h1, h2, h3) {
  word-break: normal;
  word-break: auto-phrase;
  text-wrap: balance;
}

.acqua-how :where(p, dd, li) {
  word-break: normal;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.acqua-how .skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--how-deep);
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}
.acqua-how .skip-link:focus { transform: translateY(0); }

.how-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 6.2rem;
  padding: 1.25rem var(--how-gutter);
  color: #fff;
}

.how-header__brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
  text-decoration: none;
}
.how-header__brand img { width: 9.2rem; height: auto; filter: brightness(0) invert(1); }
.how-header__brand span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.how-header__nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.how-header__nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.how-header__contact {
  gap: 1.5rem;
  min-width: 9.5rem;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  color: var(--how-navy) !important;
  background: #fff;
}

.how-header a:focus-visible,
.how-hero a:focus-visible,
.how-compare a:focus-visible,
.how-service a:focus-visible,
.how-choice a:focus-visible,
.how-footer a:focus-visible,
.how-mobile-contact:focus-visible {
  outline: 3px solid var(--how-aqua);
  outline-offset: 4px;
}

.how-hero {
  position: relative;
  display: grid;
  min-height: min(56rem, 100svh);
  padding: clamp(9rem, 14vw, 13rem) var(--how-gutter) clamp(5rem, 8vw, 8rem);
  color: #fff;
  background: var(--how-deep);
  overflow: hidden;
}
.how-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed rgba(100, 219, 226, 0.5);
  content: "";
}
.how-hero::after {
  position: absolute;
  top: 16%;
  right: -12vw;
  width: clamp(20rem, 45vw, 48rem);
  aspect-ratio: 1;
  border: 1px solid rgba(100, 219, 226, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 clamp(3rem, 7vw, 8rem) var(--how-deep), inset 0 0 0 calc(clamp(3rem, 7vw, 8rem) + 1px) rgba(100, 219, 226, 0.18);
  content: "";
}
.how-hero__copy,
.how-hero__index { position: relative; z-index: 1; }
.how-kicker,
.how-section-head > p,
.how-service__meta > p,
.how-choice > p:first-child {
  margin-bottom: 1.1rem;
  color: var(--how-aqua);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.how-hero h1 {
  max-width: 9.8em;
  margin-bottom: 2rem;
  font-family: var(--how-serif);
  font-size: clamp(3.15rem, 6.4vw, 7.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.055em;
}
.how-hero h1 span { display: block; white-space: nowrap; }
.how-hero__intro { max-width: 43rem; margin-bottom: 1.5rem; font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 2; }
.how-hero__note {
  max-width: 43rem;
  margin-bottom: 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.85;
}
.how-hero__index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-self: end;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.how-hero__index a {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0 0.8rem;
  min-height: 6rem;
  padding: 1rem 0.8rem 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
.how-hero__index a:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.3); }
.how-hero__index a:nth-child(even) { padding-left: 1rem; }
.how-hero__index span { grid-row: 1 / span 2; color: var(--how-aqua); font-size: 13px; font-weight: 800; }
.how-hero__index strong { font-size: 16px; line-height: 1.45; }
.how-hero__index small { color: rgba(255, 255, 255, 0.62); font-size: 12px; line-height: 1.5; }

.how-compare,
.how-service,
.how-choice { padding-right: var(--how-gutter); padding-left: var(--how-gutter); }
.how-compare {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
  scroll-margin-top: calc(var(--site-chrome-height, 4.6rem) + 1rem);
}
.how-section-head {
  display: grid;
  grid-template-columns: minmax(10rem, 0.5fr) 1fr;
  gap: 2rem;
  align-items: baseline;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--how-line);
}
.how-section-head > p { color: var(--how-navy); opacity: 0.65; }
.how-section-head h2 {
  margin-bottom: 0;
  font-family: var(--how-serif);
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.how-compare__table { margin-top: 2.5rem; border-top: 1px solid var(--how-line); }
.how-compare__row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(20rem, 1.5fr) minmax(13rem, 0.75fr);
  gap: 2rem;
  align-items: center;
  min-height: 7rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--how-line);
  text-decoration: none;
}
.how-compare__row--head { min-height: auto; color: var(--how-ink-soft); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.how-compare__row strong { display: flex; gap: 1rem; align-items: baseline; font-family: var(--how-serif); font-size: 1.45rem; font-weight: 500; }
.how-compare__row strong b { color: var(--how-aqua-text); font-family: var(--how-sans); font-size: 13px; }
.how-compare__row > span { font-size: 14px; line-height: 1.75; }
.how-compare__row > span:last-child { display: grid; gap: 0.35rem; font-family: var(--how-serif); font-size: 1.25rem; }
.how-compare__row > span:last-child b { color: var(--how-ink-soft); font-family: var(--how-sans); font-size: 12px; }

.how-service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(13rem, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(3rem, 7vw, 8rem);
  scroll-margin-top: calc(var(--site-chrome-height, 4.6rem) + 1rem);
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid var(--how-line);
}
.how-anchor-alias { position: absolute; top: 0; left: 0; scroll-margin-top: calc(var(--site-chrome-height, 4.6rem) + 1rem); }
.how-service:nth-of-type(even) { background: var(--how-paper-light); }
.how-service__meta { position: sticky; top: calc(var(--site-chrome-height) + 1rem); align-self: start; }
.how-service__meta > p { color: var(--how-navy); }
.how-service__meta > strong { display: block; margin-bottom: 2rem; color: var(--how-ink-soft); font-size: 13px; letter-spacing: 0.06em; }
.how-service__meta > span { display: block; padding-top: 1.2rem; border-top: 1px solid var(--how-line); font-family: var(--how-serif); font-size: clamp(1.6rem, 2.7vw, 2.6rem); }
.how-service__meta small { font-family: var(--how-sans); font-size: 12px; }
.how-service__visual {
  position: relative;
  height: clamp(15rem, 38svh, 25rem);
  margin: clamp(2.25rem, 4vw, 3.75rem) 0 0;
  overflow: hidden;
  background: rgba(16, 45, 76, 0.08);
  border-radius: 0 0 clamp(2.5rem, 5vw, 5rem) 0;
}
.how-service__visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(16, 45, 76, 0.16);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.how-service__visual-image { width: 100%; height: 100%; object-fit: cover; }
.how-service__body > header h2 {
  max-width: 15em;
  margin-bottom: 1.5rem;
  font-family: var(--how-serif);
  font-size: clamp(2.45rem, 5vw, 5.3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.how-service__body > header > p { max-width: 48rem; margin-bottom: 0; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 2; }

.how-flow { margin-top: 4rem; }
.how-flow h3,
.how-detail h3 {
  margin-bottom: 1rem;
  color: var(--how-ink-soft);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.how-flow ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  padding: 0;
  border-top: 1px solid var(--how-line);
  list-style: none;
}
.how-flow ol::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 38%;
  height: 2px;
  background: var(--how-aqua);
  content: "";
}
.how-flow li {
  display: flex;
  min-width: 0;
  min-height: 13rem;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.1rem 1rem 1.2rem 0;
  border-bottom: 1px solid var(--how-line);
}
.how-flow li + li { padding-left: 1rem; border-left: 1px solid var(--how-line); }
.how-flow .how-flow__number { display: block; margin-bottom: 0.8rem; color: var(--how-aqua-text); font-size: 12px; font-weight: 800; }
.how-flow__icon {
  display: block;
  width: clamp(4rem, 5.2vw, 4.75rem);
  height: clamp(4rem, 5.2vw, 4.75rem);
  margin: 0 0 0.9rem;
  object-fit: contain;
}
.how-flow li strong { font-size: 14px; line-height: 1.6; }

.how-detail-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 4rem; border-top: 1px solid var(--how-line); }
.how-detail { padding: 2rem 0; border-bottom: 1px solid var(--how-line); }
.how-detail:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--how-line); }
.how-detail--primary { padding-right: 2rem; }
.how-detail--notes { grid-column: 1 / -1; padding-left: 0 !important; border-left: 0 !important; }
.how-detail > p { margin-bottom: 1rem; color: var(--how-ink-soft); font-size: 13px; }
.how-detail ul { display: grid; gap: 0; margin-bottom: 0; padding: 0; list-style: none; }
.how-detail--primary ul { grid-template-columns: 1fr 1fr; }
.how-detail li {
  position: relative;
  min-height: 3.5rem;
  padding: 0.85rem 0 0.85rem 1.3rem;
  border-top: 1px solid rgba(16, 45, 76, 0.15);
  font-size: 14px;
  line-height: 1.7;
}
.how-detail li::before { position: absolute; top: 1.35rem; left: 0; width: 0.42rem; height: 0.42rem; background: var(--how-aqua); content: ""; transform: rotate(45deg); }
.how-detail--notes ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.how-detail--notes li::before { border: 1px solid var(--how-sand); background: transparent; }
.how-service__cta,
.how-choice a {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--how-navy);
  border-bottom: 1px solid var(--how-navy);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.how-choice {
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(6rem, 10vw, 10rem);
  color: #fff;
  background: var(--how-deep);
}
.how-choice > p:first-child { margin-bottom: 1.2rem; }
.how-choice h2 { margin-bottom: 1.5rem; font-family: var(--how-serif); font-size: clamp(2.5rem, 5.4vw, 5.8rem); font-weight: 500; }
.how-choice > p:not(:first-child) { max-width: 48rem; font-size: 16px; line-height: 2; }
.how-choice a { max-width: 48rem; border-color: rgba(255, 255, 255, 0.5); }

.how-footer {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) 1.3fr;
  gap: 4rem;
  padding: 5rem var(--how-gutter) 3rem;
  color: #fff;
  background: var(--how-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.how-footer img { width: 9rem; height: auto; filter: brightness(0) invert(1); }
.how-footer div p { margin-top: 1.5rem; font-size: 13px; }
.how-footer nav { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.25); }
.how-footer nav a { min-height: 3.8rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); font-size: 14px; text-decoration: none; }
.how-footer > p { grid-column: 1 / -1; margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 12px; }
.how-mobile-contact { display: none; }

@media (min-width: 64rem) {
  .how-hero { grid-template-columns: minmax(0, 1.15fr) minmax(26rem, 0.85fr); gap: 7vw; align-items: end; }
  .how-hero__index { grid-template-columns: 1fr; margin-top: 0; }
  .how-hero__index a:nth-child(odd) { border-right: 0; }
  .how-hero__index a:nth-child(even) { padding-left: 0; }
}

@media (min-width: 64rem) and (max-height: 42rem) {
  .how-service__meta { position: static; }
  .how-service__visual { height: clamp(12rem, 36svh, 16rem); margin-top: 1.5rem; }
}

@media (max-width: 63.99rem) {
  .how-header__brand span { display: none; }
  .how-compare__row { grid-template-columns: minmax(11rem, 0.8fr) 1.5fr; }
  .how-compare__row > span:last-child { grid-column: 2; }
  .how-compare__row--head span:last-child { display: none; }
  .how-service { grid-template-columns: 1fr; gap: 3rem; }
  .how-service__meta { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; }
  .how-service__meta > p { grid-column: 1 / -1; }
  .how-service__meta > strong { margin-bottom: 0; }
  .how-service__meta > span { padding-top: 0; border-top: 0; text-align: right; }
  .how-service__visual {
    grid-column: 1 / -1;
    width: min(100%, 34rem);
    height: auto;
    aspect-ratio: 16 / 10;
    margin-top: 1.5rem;
  }
  .how-flow ol { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 47.99rem) {
  body.acqua-how { font-size: 14px; padding-bottom: 3.9rem; }
  .how-header { min-height: 5rem; padding-top: 0.8rem; padding-bottom: 0.8rem; }
  .how-header__brand img { width: 7.6rem; }
  .how-header__nav > a:not(.how-header__contact) { display: none; }
  .how-header__contact { min-width: 7.8rem; min-height: 2.75rem; font-size: 13px !important; }
  .how-hero { min-height: auto; padding-top: 8rem; }
  .how-hero::before { left: 46%; }
  .how-hero::after { top: 20%; right: -55%; width: 30rem; }
  .how-hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.3rem); }
  .how-hero__intro { font-size: 15px; }
  .how-hero__note { font-size: 12px; }
  .how-hero__index { grid-template-columns: 1fr; }
  .how-hero__index a,
  .how-hero__index a:nth-child(even) { min-height: 5.4rem; padding-right: 0; padding-left: 0; border-right: 0; }
  .how-section-head { grid-template-columns: 1fr; gap: 0.4rem; }
  .how-compare__row,
  .how-compare__row--head { grid-template-columns: 1fr; gap: 0.6rem; min-height: auto; padding: 1.25rem 0; }
  .how-compare__row--head { display: none; }
  .how-compare__row > span:last-child { grid-column: 1; padding-top: 0.7rem; border-top: 1px solid rgba(16, 45, 76, 0.13); }
  .how-service__meta { grid-template-columns: 1fr; }
  .how-service__meta > span { text-align: left; }
  .how-service__visual { width: 100%; aspect-ratio: 4 / 3; }
  .how-service__body > header h2 { font-size: clamp(2.2rem, 11vw, 3.7rem); }
  .how-service__body > header > p { font-size: 15px; }
  .how-flow { margin-top: 3rem; }
  .how-flow ol { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--how-line); }
  .how-flow ol::before { top: 0; left: -1px; width: 2px; height: 38%; }
  .how-flow li,
  .how-flow li + li {
    display: grid;
    grid-template-columns: 2.35rem 3.25rem minmax(0, 1fr);
    gap: 0.7rem;
    min-height: 5.7rem;
    align-items: center;
    padding: 0.9rem 0 0.9rem 0.85rem;
    border-left: 0;
  }
  .how-flow .how-flow__number { margin-bottom: 0; }
  .how-flow__icon { width: 3.25rem; height: 3.25rem; margin: 0; }
  .how-flow__step--no-icon { grid-template-columns: 2.35rem minmax(0, 1fr) !important; }
  .how-detail-grid { grid-template-columns: 1fr; }
  .how-detail,
  .how-detail:nth-child(even),
  .how-detail--primary { padding-right: 0; padding-left: 0; border-left: 0; }
  .how-detail--primary ul,
  .how-detail--notes ul { grid-template-columns: 1fr; }
  .how-detail li { font-size: 14px; }
  .how-footer { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; }
  .how-footer nav { grid-template-columns: 1fr 1fr; }
  .how-mobile-contact {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    min-height: 3.9rem;
    padding: 1rem var(--how-gutter);
    color: var(--how-navy);
    background: var(--how-aqua);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }
}

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

body.admin-bar .how-header { top: 32px; }
body.admin-bar.acqua-how .skip-link { top: calc(32px + 0.5rem); }
body.admin-bar.acqua-how .how-service__meta { top: calc(var(--site-chrome-height) + 32px + 1rem); }
body.admin-bar.acqua-how :where(.how-compare, .how-service, .how-anchor-alias) { scroll-margin-top: calc(var(--site-chrome-height, 4.6rem) + 32px + 1rem); }
@media screen and (max-width: 782px) {
  body.admin-bar .how-header { top: 46px; }
  body.admin-bar.acqua-how .skip-link { top: calc(46px + 0.5rem); }
  body.admin-bar.acqua-how :where(.how-compare, .how-service, .how-anchor-alias) { scroll-margin-top: calc(var(--site-chrome-height, 4.6rem) + 46px + 1rem); }
}
