*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --ink: #68574f;
  --dark: #493c36;
  --paper: #fff;
  --cream: #fff8e9;
  --beige: #fbedd8;
  --coral: #f16c50;
  --orange: #ed812a;
  --yellow: #e3ad38;
  --blue: #3a6c99;
  --red: #a54642;
  --green: #687d55;
  --line: rgba(104, 87, 79, .3);
  --soft-line: rgba(104, 87, 79, .14);
  --rounded: "M PLUS Rounded 1c", sans-serif;
  --condensed: "Barlow Condensed", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 24px 24px, transparent 0 15px, rgba(230, 199, 148, .23) 16px 17px, transparent 18px),
    linear-gradient(45deg, transparent 47%, rgba(230, 199, 148, .17) 48% 49%, transparent 50%),
    linear-gradient(-45deg, transparent 47%, rgba(230, 199, 148, .12) 48% 49%, transparent 50%);
  background-size: 126px 126px, 158px 158px, 190px 190px;
  font-family: var(--rounded);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .015em;
  overflow-x: hidden;
}

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

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

button, input, summary {
  color: inherit;
  font: inherit;
}

h1, h2, h3, p, figure, dl, dd, blockquote {
  margin: 0;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .015em;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

section, [id] {
  scroll-margin-top: 92px;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 8px 13px;
  color: #fff;
  background: var(--dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.scroll-meter {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 3px;
  pointer-events: none;
}

.scroll-meter i {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--orange), var(--coral));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 50px);
  padding: 0 clamp(24px, 4vw, 66px);
  background: rgba(255, 248, 233, .96);
  border-bottom: 1px solid rgba(104, 87, 79, .08);
  backdrop-filter: blur(12px);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 25px rgba(104, 87, 79, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand > span:last-child {
  display: grid;
  line-height: 1.08;
}

.brand b {
  font-size: 15px;
  font-weight: 800;
}

.brand small {
  margin-top: 4px;
  font-family: var(--condensed);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: block;
}

.brand-mark i {
  position: absolute;
  border: 2px solid var(--dark);
}

.brand-mark i:nth-child(1) {
  top: 1px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.brand-mark i:nth-child(2) {
  top: 1px;
  right: 2px;
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
}

.brand-mark i:nth-child(3) {
  bottom: 1px;
  left: 10px;
  width: 14px;
  height: 14px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  margin-left: auto;
}

.global-nav a {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}

.global-nav a:hover {
  color: var(--coral);
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(110deg, var(--orange), #f24835);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(241, 108, 80, .2);
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(241, 108, 80, .28);
}

.mobile-menu {
  display: none;
}

.page-section {
  position: relative;
  width: min(1220px, calc(100% - 54px));
  margin-inline: auto;
  padding-block: 88px;
}

.hero {
  width: min(1240px, calc(100% - 34px));
  padding-top: 116px;
  padding-bottom: 76px;
}

.hero-panel, .white-panel {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-radius: 48px;
  box-shadow: 0 18px 45px rgba(134, 101, 58, .08);
}

.hero-panel {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr auto;
  gap: 25px 44px;
  padding: 50px 62px 26px;
}

.hero-copy {
  align-self: center;
}

.speech-label {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 8px 13px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: var(--coral);
}

.speech-label::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 40px;
  border: 8px solid transparent;
  border-top-color: var(--coral);
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.2;
}

.hero h1 span {
  width: fit-content;
  display: block;
  border-bottom: 4px solid var(--ink);
  white-space: nowrap;
}

.hero h1 span + span {
  margin-top: 6px;
}

.hero-circles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 31px;
}

.hero-circles article {
  aspect-ratio: 1 / 1;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 8px;
  text-align: center;
  background: var(--beige);
  border-radius: 50%;
}

.hero-circles b {
  color: var(--coral);
  font-size: clamp(13px, 1.25vw, 18px);
}

.hero-circles small {
  margin-top: 3px;
  font-size: clamp(8px, .8vw, 11px);
  line-height: 1.45;
}

.hero-illustration {
  position: relative;
  align-self: center;
  overflow: hidden;
  background: #fff;
}

.hero-illustration img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.hero-illustration figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: 75%;
  padding: 7px 10px;
  color: #fff;
  font-size: 9px;
  line-height: 1.55;
  background: rgba(73, 60, 54, .82);
}

.hero-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 24px;
  padding-top: 14px;
}

.button {
  min-height: 68px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 8px 24px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.button span {
  font-size: 9px;
}

.button b {
  font-size: 15px;
}

.button-outline {
  color: var(--orange);
  background: #fff;
  border: 2px solid var(--orange);
}

.button-coral {
  color: #fff;
  background: linear-gradient(110deg, var(--orange), #f24835);
  box-shadow: 0 9px 18px rgba(241, 108, 80, .22);
}

.shape {
  position: absolute;
  z-index: 1;
  opacity: .6;
  pointer-events: none;
}

.shape-circle {
  right: -10px;
  bottom: 40px;
  width: 90px;
  height: 90px;
  border: 18px solid rgba(229, 191, 129, .4);
  border-radius: 50%;
}

.shape-triangle {
  top: 88px;
  left: -22px;
  border-right: 42px solid transparent;
  border-bottom: 70px solid rgba(229, 191, 129, .34);
  border-left: 42px solid transparent;
  transform: rotate(-20deg);
}

.shape-square {
  right: 70px;
  top: 73px;
  width: 55px;
  height: 55px;
  border: 10px solid rgba(229, 191, 129, .33);
  transform: rotate(16deg);
}

.white-panel {
  padding: clamp(48px, 6vw, 86px);
}

.panel-heading {
  text-align: center;
}

.panel-heading > p, .wide-heading > p, .staff-panel article > p:first-child, .contact-panel > div > p:first-child {
  font-family: var(--condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
}

.panel-heading h2, .wide-heading h2, .staff-panel h2, .contact-panel h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 53px);
}

.panel-heading > span {
  display: block;
  max-width: 620px;
  margin: 19px auto 0;
  font-size: 13px;
}

.design-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 52px;
}

.design-tab {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: center;
  padding: 20px 9px 17px;
  background: #fff;
  border: 1px solid var(--soft-line);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.design-tab::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--tab-color, var(--green));
}

.design-tab:nth-child(2) { --tab-color: var(--blue); }
.design-tab:nth-child(3) { --tab-color: var(--red); }
.design-tab:nth-child(4) { --tab-color: var(--yellow); }

.design-tab i {
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  background: var(--tab-color, var(--green));
  border-radius: 50%;
}

.design-tab b {
  font-family: var(--condensed);
  font-size: 22px;
  letter-spacing: .06em;
}

.design-tab small {
  margin-top: 3px;
  font-size: 9px;
}

.design-tab:hover, .design-tab.is-active {
  background: #fff8ec;
  transform: translateY(-4px);
}

.design-tab.is-active {
  box-shadow: inset 0 0 0 2px var(--tab-color, var(--green));
}

.design-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  min-height: 460px;
  margin-top: 28px;
  background: #fbf8f2;
  overflow: hidden;
}

.design-stage figure {
  min-height: 460px;
  overflow: hidden;
  transition: opacity .22s ease;
}

.design-stage figure.is-switching {
  opacity: .45;
}

.design-stage img {
  height: 100%;
  object-fit: cover;
  transition: opacity .22s ease;
}

.design-stage > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 58px);
}

.design-stage > div > p:first-child {
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: .12em;
}

.design-stage h3 {
  margin-top: 8px;
  font-family: var(--condensed);
  font-size: clamp(45px, 5vw, 72px);
  line-height: 1;
}

.design-stage h3 + p {
  margin-top: 24px;
  font-size: 12px;
  line-height: 2;
}

.design-stage dl {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.design-stage dl div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--soft-line);
}

.design-stage dt, .design-stage dd {
  font-size: 11px;
}

.design-stage dd {
  font-weight: 800;
}

.wide-heading {
  max-width: 930px;
  margin: 0 auto 48px;
}

.wide-heading > p {
  color: rgba(229, 191, 129, .7);
  font-size: clamp(58px, 9vw, 130px);
  line-height: .8;
  letter-spacing: 0;
}

.wide-heading h2 {
  position: relative;
  margin-top: -10px;
  padding-bottom: 13px;
  border-bottom: 3px solid var(--ink);
}

.worry-list {
  display: grid;
  gap: 42px;
}

.worry-card {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
  padding: clamp(44px, 6vw, 82px);
  background: #fff;
  border-radius: 46px;
  box-shadow: 0 16px 36px rgba(134, 101, 58, .07);
}

.worry-reverse figure {
  grid-column: 2;
}

.worry-reverse > div {
  grid-row: 1;
  grid-column: 1;
}

.round-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
}

.round-photo img {
  height: 100%;
  object-fit: cover;
}

.worry-card > div > span {
  font-family: var(--condensed);
  font-size: 19px;
  font-weight: 700;
}

.worry-card h3 {
  margin-top: 11px;
  padding-bottom: 13px;
  font-size: clamp(24px, 2.8vw, 39px);
  border-bottom: 2px solid var(--ink);
}

.worry-card p {
  margin-top: 21px;
  font-size: 13px;
  line-height: 2;
}

.worry-card ul {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.worry-card li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
}

.worry-card li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 55px;
}

.feature-grid article {
  min-width: 0;
  padding: 32px 25px;
  text-align: center;
  background: var(--cream);
  border-radius: 28px;
}

.feature-grid article > span {
  font-family: var(--condensed);
  font-size: 13px;
}

.mini-illustration {
  position: relative;
  width: 120px;
  height: 90px;
  margin: 15px auto 19px;
}

.mini-illustration i {
  position: absolute;
  display: block;
  border: 2px solid var(--ink);
}

.mini-plan i:nth-child(1) { inset: 17px 24px 12px; transform: skewY(-12deg); }
.mini-plan i:nth-child(2) { width: 30px; height: 25px; top: 30px; left: 30px; background: var(--yellow); }
.mini-plan i:nth-child(3) { width: 28px; height: 20px; right: 25px; bottom: 19px; background: var(--blue); }
.mini-material i { width: 47px; height: 47px; border-radius: 50%; }
.mini-material i:nth-child(1) { left: 14px; top: 10px; background: var(--coral); }
.mini-material i:nth-child(2) { right: 14px; top: 15px; background: var(--green); }
.mini-material i:nth-child(3) { left: 38px; bottom: 3px; background: var(--yellow); }
.mini-local i:nth-child(1) { width: 72px; height: 52px; left: 24px; bottom: 9px; background: #fff; }
.mini-local i:nth-child(2) { width: 52px; height: 52px; left: 34px; top: 1px; border-width: 2px 2px 0 0; transform: rotate(-45deg); }
.mini-local i:nth-child(3) { width: 18px; height: 28px; left: 51px; bottom: 9px; background: var(--coral); }

.feature-grid h3 {
  font-size: 21px;
}

.feature-grid p {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.9;
}

.feature-wide-photo, .family-note {
  position: relative;
  margin-top: 38px;
  overflow: hidden;
  border-radius: 26px;
}

.feature-wide-photo img, .family-note img {
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
}

.feature-wide-photo figcaption, .family-note figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 75%;
  padding: 9px 13px;
  color: #fff;
  font-size: 10px;
  background: rgba(73, 60, 54, .78);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 53px;
}

.case-grid article {
  min-width: 0;
}

.case-grid figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 180px 180px 18px 18px;
}

.case-grid img {
  height: 100%;
  object-fit: cover;
}

.case-grid figure span {
  position: absolute;
  bottom: 13px;
  left: 13px;
  padding: 5px 9px;
  color: #fff;
  font-family: var(--condensed);
  font-size: 10px;
  background: var(--coral);
}

.case-grid h3 {
  margin-top: 16px;
  font-size: 18px;
}

.case-grid p {
  margin-top: 5px;
  font-size: 10px;
}

.case-grid > article > b {
  display: block;
  margin-top: 4px;
  color: var(--coral);
  font-size: 13px;
}

.ba-panel {
  position: relative;
  aspect-ratio: 16 / 8.7;
  margin-top: 50px;
  overflow: hidden;
  border-radius: 30px;
  background: #ddd;
}

.ba-panel > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.ba-panel .before {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border: 4px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ba-labels {
  position: absolute;
  inset: 18px 20px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.ba-labels b {
  padding: 6px 10px;
  color: #fff;
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: .1em;
  background: rgba(73, 60, 54, .75);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.ba-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
  border: 1px solid var(--line);
}

.ba-data div {
  min-width: 0;
  padding: 16px 18px;
}

.ba-data div + div {
  border-left: 1px solid var(--line);
}

.ba-data dt {
  font-size: 9px;
}

.ba-data dd {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
}

.price-flow .white-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.panel-heading.small {
  text-align: left;
}

.panel-heading.small h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.price-list {
  margin-top: 34px;
  border-top: 2px solid var(--ink);
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.price-list dt, .price-list dd {
  font-size: 11px;
}

.price-list dd {
  color: var(--coral);
  font-weight: 800;
  flex: 0 0 auto;
}

.price-column figure, .flow-column figure {
  margin-top: 30px;
  overflow: hidden;
  border-radius: 24px;
}

.price-column figure img, .flow-column figure img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.flow-column ol {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.flow-column li {
  display: grid;
  grid-template-columns: 35px 120px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.flow-column li span {
  font-family: var(--condensed);
  font-size: 12px;
}

.flow-column li b {
  font-size: 11px;
}

.flow-column li small {
  font-size: 9px;
}

.staff-panel {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: 55px 75px;
  align-items: center;
}

.staff-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 190px 190px 20px 20px;
}

.staff-photo img {
  height: 100%;
  object-fit: cover;
}

.staff-panel article > b {
  display: block;
  margin-top: 20px;
  color: var(--coral);
  font-size: 13px;
}

.staff-panel article > p:not(:first-child) {
  margin-top: 20px;
  font-size: 13px;
  line-height: 2;
}

.staff-panel blockquote {
  margin-top: 25px;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 800;
  background: var(--beige);
  border-left: 7px solid var(--coral);
}

.area-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 16px;
  background: var(--cream);
  border-radius: 24px;
}

.area-card img {
  max-height: 230px;
  object-fit: contain;
}

.area-card figcaption {
  max-width: 220px;
  font-size: 11px;
}

.faq-list {
  max-width: 840px;
  margin: 48px auto 0;
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 21px 54px 21px 0;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 54px 23px 0;
  font-size: 12px;
  line-height: 2;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--coral);
  border-radius: 48px;
  box-shadow: 0 18px 45px rgba(134, 101, 58, .09);
}

.contact-panel > figure {
  min-height: 610px;
}

.contact-panel > figure img {
  height: 100%;
  object-fit: cover;
}

.contact-panel > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 86px);
  color: #fff;
}

.contact-panel h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.contact-panel > div > p:nth-of-type(2) {
  margin-top: 24px;
  font-size: 13px;
  line-height: 2;
}

.contact-actions {
  display: grid;
  gap: 13px;
  margin-top: 31px;
}

.button-light {
  color: var(--coral);
  background: #fff;
}

.button-dark {
  color: #fff;
  background: var(--dark);
}

.contact-panel > div > small {
  margin-top: 18px;
  font-size: 9px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px 60px;
  padding: 55px clamp(24px, 5vw, 80px) 90px;
  background: var(--paper);
}

.site-footer address, .site-footer p, .site-footer > small {
  font-size: 10px;
  font-style: normal;
}

.site-footer > small {
  font-family: var(--condensed);
  letter-spacing: .08em;
}

.mobile-cta {
  display: none;
}

.reveal-panel, .reveal-visual, .reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal-panel:not(.is-visible) {
  opacity: 0;
  transform: translateY(34px);
}

.motion-ready .reveal-visual:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px) scale(.97);
}

.motion-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.motion-ready .reveal-panel, .motion-ready .reveal-visual, .motion-ready .reveal {
  transition: opacity .58s ease, transform .68s cubic-bezier(.2,.7,.2,1);
}

@media (max-width: 1050px) {
  .global-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-panel {
    grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
    padding-inline: 42px;
  }

}

@media (max-width: 760px) {
  section, [id] {
    scroll-margin-top: 68px;
  }

  .site-header {
    height: 60px;
    padding: 0 14px;
  }

  .brand b {
    font-size: 12px;
  }

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

  .brand-mark {
    width: 28px;
    height: 28px;
    transform: scale(.82);
    transform-origin: left center;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary i {
    width: 22px;
    height: 2px;
    display: block;
    background: var(--ink);
    transition: transform .3s ease, opacity .2s ease;
  }

  .mobile-menu[open] summary i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu[open] summary i:nth-child(2) { opacity: 0; }
  .mobile-menu[open] summary i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu nav {
    position: fixed;
    inset: 60px 0 auto;
    display: grid;
    padding: 20px 24px 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(104, 87, 79, .1);
  }

  .mobile-menu nav a {
    padding: 11px 0;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--soft-line);
  }

  .page-section {
    width: calc(100% - 20px);
    padding-block: 54px;
  }

  .hero {
    width: calc(100% - 16px);
    padding-top: 76px;
    padding-bottom: 42px;
  }

  .hero-panel, .white-panel, .worry-card, .contact-panel {
    border-radius: 28px;
  }

  .hero-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
    padding: 32px 17px 22px;
  }

  .speech-label {
    width: 100%;
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero h1 {
    margin-top: 26px;
    font-size: 35px;
  }

  .hero h1 span {
    border-bottom-width: 3px;
  }

  .hero-circles {
    gap: 5px;
    margin-top: 25px;
  }

  .hero-circles article {
    padding: 4px;
  }

  .hero-circles b {
    font-size: clamp(10px, 3.2vw, 13px);
  }

  .hero-circles small {
    font-size: clamp(7px, 2.1vw, 9px);
  }

  .hero-illustration {
    grid-row: 2;
  }

  .hero-illustration figcaption {
    right: 6px;
    bottom: 5px;
    max-width: 82%;
    font-size: 7px;
  }

  .hero-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 10px;
  }

  .button {
    min-height: 58px;
  }

  .button b {
    font-size: 13px;
  }

  .shape {
    display: none;
  }

  .white-panel {
    padding: 45px 18px;
  }

  .panel-heading h2, .wide-heading h2, .staff-panel h2, .contact-panel h2 {
    font-size: clamp(29px, 8.8vw, 39px);
  }

  .panel-heading > span {
    font-size: 11px;
  }

  .design-tabs {
    grid-template-columns: 1fr 1fr;
    margin-top: 38px;
  }

  .design-tab {
    padding: 17px 5px 13px;
  }

  .design-tab b {
    font-size: 18px;
  }

  .design-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .design-stage figure {
    min-height: 280px;
  }

  .design-stage > div {
    padding: 32px 22px 38px;
  }

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

  .wide-heading > p {
    font-size: 47px;
  }

  .wide-heading h2 {
    margin-top: 0;
  }

  .worry-list {
    gap: 24px;
  }

  .worry-card, .worry-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 35px 20px 42px;
  }

  .worry-reverse figure, .worry-reverse > div {
    grid-row: auto;
    grid-column: auto;
  }

  .round-photo {
    max-width: 310px;
    margin: auto;
  }

  .worry-card h3 {
    font-size: 25px;
  }

  .feature-grid, .case-grid, .price-flow .white-panel, .staff-panel, .contact-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 13px;
    margin-top: 38px;
  }

  .feature-wide-photo img, .family-note img {
    aspect-ratio: 4 / 3;
  }

  .case-grid {
    gap: 35px;
    margin-top: 40px;
  }

  .case-grid article {
    max-width: 360px;
    margin: auto;
  }

  .ba-panel {
    aspect-ratio: 4 / 3;
    margin-top: 38px;
    border-radius: 17px;
  }

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

  .ba-data div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .ba-data div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .price-flow .white-panel {
    gap: 64px;
  }

  .flow-column li {
    grid-template-columns: 30px 100px 1fr;
  }

  .staff-panel {
    gap: 38px;
  }

  .staff-photo {
    max-width: 330px;
    margin: auto;
  }

  .area-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .area-card figcaption {
    max-width: none;
  }

  .faq-list {
    margin-top: 35px;
  }

  .faq-list summary {
    font-size: 13px;
  }

  .contact-panel > figure {
    min-height: 380px;
  }

  .contact-panel > div {
    padding: 48px 22px 70px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 48px 20px 105px;
  }

  .js .mobile-cta {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 2px solid var(--orange);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(104, 87, 79, .18);
    transition: opacity .25s ease, transform .25s ease;
  }

  .mobile-cta.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
  }

  .mobile-cta a {
    min-height: 52px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-cta a + a {
    color: #fff;
    background: linear-gradient(110deg, var(--orange), #f24835);
  }
}

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

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .motion-ready .reveal-panel, .motion-ready .reveal-visual, .motion-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
