:root {
  color-scheme: dark;
  --ink: #0b0b0c;
  --ink-soft: #121214;
  --ink-raised: #181719;
  --porcelain: #f1eee8;
  --porcelain-2: #e6e0d7;
  --rose: #d9b2ad;
  --rose-bright: #f2c5c0;
  --sage: #9da69a;
  --line: rgba(241, 238, 232, .14);
  --line-dark: rgba(11, 11, 12, .18);
  --muted: #a4a19c;
  --body: #d8d3cb;
  --display: "Hahmlet", "Noto Serif KR", "Apple SD Gothic Neo", Georgia, serif;
  --sans: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --stage: min(1320px, calc(100vw - 64px));
  --text-stage: min(1180px, calc(100vw - 64px));
  --section-space: clamp(92px, 10vw, 154px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 12%, rgba(217, 178, 173, .08), transparent 34%),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: auto, 100% 96px;
  content: "";
  pointer-events: none;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
ul,
ol,
figure {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--porcelain);
  color: var(--ink);
}

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

.midnight-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 12, .94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  align-items: center;
  width: var(--stage);
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 152px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: saturate(.72) brightness(1.18);
}

.midnight-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
}

.midnight-header nav a,
.header-call {
  position: relative;
  padding: 7px 0;
}

.midnight-header nav a::after,
.header-call::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--rose-bright);
  content: "";
  transition: transform .24s ease;
}

.midnight-header nav a:hover::after,
.midnight-header nav a:focus-visible::after,
.header-call:hover::after,
.header-call:focus-visible::after {
  transform: scaleX(1);
}

.header-call {
  justify-self: end;
  color: var(--porcelain);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
}

.header-call span {
  margin-left: 8px;
  color: var(--rose-bright);
}

.midnight-main {
  overflow: clip;
}

.midnight-hero {
  border-bottom: 1px solid var(--line);
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
  grid-template-rows: auto auto auto auto 1fr auto;
  column-gap: clamp(54px, 7vw, 112px);
  width: var(--stage);
  min-height: 790px;
  margin: 0 auto;
  padding: clamp(66px, 7vw, 110px) 0 84px;
}

.hero-breadcrumb,
.hero-kicker,
.section-kicker,
.editorial-index,
.card-index {
  color: var(--rose-bright);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero-breadcrumb {
  grid-column: 1;
  margin: 0 0 70px;
  color: var(--muted);
}

.hero-kicker {
  grid-column: 1;
  margin: 0 0 20px;
}

#page-title {
  grid-column: 1;
  margin: 0;
  color: var(--porcelain);
  font-family: var(--display);
  font-size: clamp(54px, 5.4vw, 88px);
  font-weight: 520;
  letter-spacing: -.055em;
  line-height: .98;
}

.h1-phrase {
  display: block;
}

.hero-search-thumbnail {
  grid-column: 2;
  grid-row: 1 / 7;
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  clip-path: none;
  mask: none;
  transform: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.hero-subtitle {
  display: flex;
  grid-column: 1;
  flex-wrap: wrap;
  gap: 7px 8px;
  margin: 28px 0 0;
}

.hero-subtitle span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  color: #c5c1ba;
  font-size: 12px;
  line-height: 1.2;
}

.hero-lead {
  grid-column: 1;
  max-width: 650px;
  margin: 28px 0 0;
  color: #bdb8b0;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  grid-column: 1;
  align-items: flex-end;
  gap: 10px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--porcelain);
  background: var(--porcelain);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--rose-bright);
  background: var(--rose-bright);
}

.button-ghost {
  background: transparent;
  color: var(--porcelain);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--ink);
}

.hero-image-caption {
  z-index: 2;
  display: flex;
  grid-column: 2;
  grid-row: 1 / 7;
  align-self: end;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(5, 5, 6, .88));
  color: var(--porcelain);
  pointer-events: none;
}

.hero-image-caption span {
  font-size: 14px;
}

.hero-image-caption small {
  align-self: end;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
}

.hero-call-card {
  position: absolute;
  right: 0;
  bottom: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(420px, 35vw);
  padding: 14px 18px;
  transform: translateY(100%);
  border: 1px solid var(--line-dark);
  background: var(--porcelain);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.hero-call-card span {
  grid-column: 1;
  font-size: 10px;
  letter-spacing: .1em;
}

.hero-call-card strong {
  grid-column: 1;
  font-family: var(--mono);
  font-size: 16px;
}

.hero-call-card i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-style: normal;
}

.midnight-section {
  padding: var(--section-space) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading,
.stage {
  width: var(--text-stage);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 32px;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.section-heading .section-kicker {
  grid-column: 1;
  margin: 12px 0 0;
}

.section-heading h2 {
  grid-column: 2;
  max-width: 870px;
  margin: 0;
  color: var(--porcelain);
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 520;
  letter-spacing: -.05em;
  line-height: 1.08;
}

.section-subtitle {
  grid-column: 2;
  max-width: 770px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.midnight-service-intro {
  padding-top: 126px;
}

.editorial-row,
.local-editorial,
.transit-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
  gap: clamp(42px, 7vw, 94px);
  align-items: center;
}

.editorial-row > div,
.long-copy,
.transit-editorial > div {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.75;
}

.editorial-row p,
.long-copy p,
.transit-editorial p {
  margin-bottom: 24px;
}

.editorial-row figure,
.local-editorial figure,
.transit-editorial figure {
  margin: 0;
}

.editorial-row img,
.local-editorial img,
.transit-editorial img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.midnight-operating {
  background: var(--ink-soft);
}

.locality-shell > p {
  max-width: 760px;
  margin: 0 0 34px;
  color: var(--body);
  font-size: 17px;
}

.locality-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.locality-grid li {
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: #c6c1ba;
  font-size: 12px;
}

.midnight-pricing {
  background: var(--porcelain);
  color: #403d39;
}

.midnight-pricing .section-kicker,
.midnight-pricing .card-index {
  color: #a55f5a;
}

.midnight-pricing .section-heading h2 {
  color: var(--ink);
}

.midnight-pricing .section-subtitle {
  color: #68625b;
}

.price-shell {
  padding-top: 10px;
  border-top: 1px solid var(--line-dark);
}

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

.price-card {
  position: relative;
  min-height: 280px;
  padding: 38px 44px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.price-card:nth-child(2n) {
  border-right: 0;
}

.price-card:last-child {
  grid-column: 1 / -1;
  min-height: 210px;
  border-right: 0;
}

.price-card h3 {
  margin: 0 0 28px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
}

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

.price-card li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(11, 11, 12, .14);
}

.price-card strong {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 600;
}

.payment-note {
  margin: 28px 0 0;
  color: #5c5751;
  font-size: 13px;
}

.payment-note strong {
  color: var(--ink);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.method-list li {
  position: relative;
  min-height: 250px;
  padding: 38px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.method-list li:not(:first-child) {
  padding-left: 28px;
}

.method-list li:last-child {
  border-right: 0;
}

.method-list > li > span {
  position: absolute;
  top: -7px;
  left: -4px;
  width: 12px;
  height: 12px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--rose-bright);
  color: transparent;
}

.method-list h3 {
  margin: 24px 0 14px;
  color: var(--porcelain);
  font-family: var(--display);
  font-size: 23px;
}

.method-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.midnight-care-system,
.midnight-women-only,
.midnight-local,
.midnight-faq {
  background: var(--ink-soft);
}

.care-intro {
  max-width: 880px;
  margin-bottom: 42px;
  color: var(--body);
  font-family: var(--display);
  font-size: 21px;
}

.care-mode-grid,
.reason-grid,
.course-grid,
.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.care-mode-grid article,
.reason-card,
.course-card,
.situation-grid article {
  min-width: 0;
  padding: 34px;
  background: var(--ink);
}

.care-mode-grid article > span,
.reason-card > span,
.card-index {
  display: block;
  margin-bottom: 46px;
  color: var(--rose-bright);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.care-mode-grid h3,
.reason-card h3,
.course-card h3,
.situation-grid h3,
.course-guide h3,
.long-copy h3 {
  margin: 0 0 16px;
  color: var(--porcelain);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.care-mode-grid p,
.reason-card p,
.course-card p,
.situation-grid p,
.course-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.care-benefits,
.course-guide {
  margin-top: 30px;
  padding: 38px;
  border: 1px solid var(--line);
}

.care-benefits h3 {
  margin: 0 0 24px;
  color: var(--porcelain);
  font-family: var(--display);
  font-size: 28px;
}

.care-benefits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 34px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.reason-card,
.course-card,
.situation-grid article {
  min-height: 260px;
}

.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-card:nth-child(4),
.course-card:nth-child(5) {
  grid-column: span 1;
}

.course-card:last-child {
  grid-column: 2 / 4;
}

.women-editorial {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 6vw, 82px);
  align-items: start;
}

.women-editorial figure {
  position: sticky;
  top: 112px;
  margin: 0;
}

.women-editorial figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.women-editorial figcaption {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .15em;
}

.women-copy .care-mode-grid {
  grid-template-columns: 1fr;
}

.women-copy .care-mode-grid article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.women-copy .care-mode-grid article > span {
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 5px 0 0;
}

.women-copy .care-mode-grid h3,
.women-copy .care-mode-grid p {
  grid-column: 2;
}

.women-copy .care-mode-grid h3 {
  font-size: 21px;
}

.service-editorial-stack {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-editorial-row {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
  min-height: 480px;
  background: var(--ink);
}

.service-editorial-row:nth-child(even) figure {
  grid-column: 2;
}

.service-editorial-row:nth-child(even) > div {
  grid-column: 1;
  grid-row: 1;
}

.service-editorial-row figure {
  margin: 0;
}

.service-editorial-row img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.service-editorial-row > div {
  align-self: center;
  padding: clamp(42px, 6vw, 88px);
}

.service-editorial-row h3 {
  margin: 16px 0 14px;
  color: var(--porcelain);
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 560;
  line-height: 1.2;
}

.editorial-subtitle {
  color: var(--rose-bright);
}

.service-editorial-row p:not(.editorial-subtitle) {
  color: var(--muted);
  font-size: 14px;
}

.confirm-list {
  margin-top: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.confirm-list li {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-list strong {
  color: var(--porcelain);
  font-family: var(--display);
  font-size: 20px;
}

.confirm-list span {
  color: var(--muted);
}

.local-editorial {
  grid-template-columns: minmax(380px, .82fr) minmax(0, 1fr);
}

.transit-editorial {
  grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
}

.transit-editorial ul {
  margin: 24px 0;
  padding-left: 20px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
}

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

.media-grid article {
  padding: 28px;
  background: var(--ink);
}

.media-grid h3 {
  margin: 0 0 18px;
  color: var(--porcelain);
  font-family: var(--display);
  font-size: 24px;
}

.responsive-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #050505;
}

.responsive-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.media-grid article > a {
  display: inline-block;
  margin-top: 16px;
  border-bottom: 1px solid var(--rose-bright);
  color: var(--porcelain);
  font-size: 13px;
}

.faq-list {
  max-width: 920px;
}

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

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

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 25px 0;
  color: var(--porcelain);
  font-family: var(--display);
  font-size: 19px;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  color: var(--rose-bright);
  content: "+";
  font-family: var(--mono);
}

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

.faq-list details p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 28px;
  color: var(--muted);
}

.midnight-closing {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 0;
  background: var(--rose);
  color: var(--ink);
}

.midnight-closing::after {
  position: absolute;
  right: -24px;
  bottom: -105px;
  color: rgba(11, 11, 12, .08);
  content: "SEOUL";
  font-family: var(--display);
  font-size: min(27vw, 390px);
  letter-spacing: -.09em;
  line-height: 1;
  pointer-events: none;
}

.midnight-closing .section-heading {
  position: relative;
  z-index: 2;
}

.midnight-closing .section-kicker,
.midnight-closing .section-heading h2,
.midnight-closing .section-subtitle {
  color: var(--ink);
}

.closing-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: 300px;
  background: var(--ink);
}

.closing-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) brightness(.76);
}

.closing-card > div {
  align-self: center;
  padding: 44px;
}

.closing-card h3 {
  margin: 12px 0;
  color: var(--porcelain);
  font-family: var(--display);
  font-size: 32px;
}

.closing-card p:not(.section-kicker) {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  gap: 10px 40px;
  width: var(--stage);
  margin: 0 auto;
  padding: 90px 0 130px;
  color: var(--muted);
}

.site-footer img {
  grid-column: 1;
  width: 250px;
  height: auto;
  filter: saturate(.65) brightness(1.2);
}

.site-footer p {
  grid-column: 1;
  margin: 16px 0 0;
}

.site-footer > a {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  border-bottom: 1px solid var(--rose-bright);
  color: var(--porcelain);
  font-family: var(--mono);
  font-size: 20px;
}

.site-footer small {
  grid-column: 1 / -1;
  margin-top: 26px;
}

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  min-width: 215px;
  padding: 13px 18px;
  border: 1px solid var(--line-dark);
  background: var(--porcelain);
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .22s ease, transform .22s ease;
}

body.has-scrolled .floating-call {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.floating-call span {
  font-size: 10px;
  letter-spacing: .12em;
}

.floating-call strong {
  font-family: var(--mono);
  font-size: 15px;
}

.stage,
.section-heading,
.hero-stage,
.header-inner,
.site-footer {
  transition: opacity .45s ease, transform .45s ease;
}

body.motion-ready .midnight-section:not(.is-visible) > .stage,
body.motion-ready .midnight-section:not(.is-visible) > .section-heading {
  opacity: .001;
  transform: translateY(18px);
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.error-page main {
  max-width: 620px;
}

.error-page img {
  width: 240px;
  margin: 0 auto 42px;
}

.error-page h1 {
  color: var(--porcelain);
  font-family: var(--display);
  font-size: 46px;
}

@media (max-width: 1100px) {
  :root {
    --stage: min(100% - 48px, 1040px);
    --text-stage: min(100% - 48px, 920px);
  }

  .header-inner {
    grid-template-columns: 190px 1fr 160px;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 44vw);
    min-height: 700px;
    column-gap: 44px;
  }

  #page-title {
    font-size: clamp(48px, 6vw, 68px);
  }

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

  .course-card:last-child {
    grid-column: 1 / -1;
  }

  .method-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-list li:nth-child(2) {
    border-right: 0;
  }

  .method-list li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  :root {
    --stage: calc(100% - 36px);
    --text-stage: calc(100% - 36px);
    --section-space: 88px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 70px;
  }

  .midnight-header nav {
    display: none;
  }

  .header-call {
    grid-column: 2;
  }

  .hero-stage {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 48px 0 94px;
  }

  .hero-breadcrumb {
    order: 1;
    margin-bottom: 48px;
  }

  .hero-kicker {
    order: 2;
  }

  #page-title {
    order: 3;
    font-size: clamp(47px, 12vw, 70px);
  }

  .hero-search-thumbnail {
    order: 4;
    width: 100%;
    margin-top: 38px;
  }

  .hero-subtitle {
    order: 5;
  }

  .hero-lead {
    order: 6;
  }

  .hero-actions {
    order: 7;
    align-items: stretch;
  }

  .hero-image-caption {
    order: 4;
    margin-top: -77px;
    padding: 30px 20px 17px;
  }

  .hero-call-card {
    position: static;
    order: 4;
    width: min(92%, 390px);
    margin: 14px 0 0 auto;
    transform: none;
  }

  .section-heading {
    display: block;
    margin-bottom: 46px;
  }

  .section-heading .section-kicker {
    margin: 0 0 18px;
  }

  .section-heading h2 {
    font-size: clamp(35px, 9vw, 53px);
  }

  .section-subtitle {
    margin-top: 18px;
  }

  .editorial-row,
  .local-editorial,
  .transit-editorial,
  .women-editorial,
  .service-editorial-row,
  .closing-card {
    grid-template-columns: 1fr;
  }

  .editorial-row figure,
  .local-editorial figure,
  .transit-editorial figure {
    grid-row: 1;
  }

  .women-editorial figure {
    position: static;
  }

  .service-editorial-row:nth-child(even) figure,
  .service-editorial-row:nth-child(even) > div {
    grid-column: 1;
  }

  .service-editorial-row:nth-child(even) figure {
    grid-row: 1;
  }

  .service-editorial-row:nth-child(even) > div {
    grid-row: 2;
  }

  .service-editorial-row img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .price-grid,
  .care-mode-grid,
  .reason-grid,
  .course-grid,
  .situation-grid,
  .care-benefits ul,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .price-card,
  .price-card:nth-child(2n),
  .price-card:last-child,
  .course-card:last-child {
    grid-column: 1;
    border-right: 0;
  }

  .confirm-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .closing-card img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 540px) {
  :root {
    --stage: calc(100% - 28px);
    --text-stage: calc(100% - 28px);
    --section-space: 74px;
  }

  body {
    font-size: 15px;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    width: 124px;
  }

  .header-call {
    font-size: 10px;
  }

  .hero-stage {
    padding-top: 40px;
  }

  #page-title {
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: -.06em;
  }

  .hero-subtitle span {
    padding: 6px 8px;
    font-size: 10px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    padding: 11px 10px;
    font-size: 12px;
  }

  .hero-image-caption small {
    display: none;
  }

  .hero-call-card {
    width: calc(100% - 18px);
  }

  .section-heading h2 {
    font-size: clamp(33px, 10vw, 44px);
  }

  .price-card,
  .care-mode-grid article,
  .reason-card,
  .course-card,
  .situation-grid article,
  .service-editorial-row > div,
  .media-grid article,
  .care-benefits,
  .course-guide,
  .closing-card > div {
    padding: 26px;
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .method-list li,
  .method-list li:not(:first-child) {
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-list li:last-child {
    border-bottom: 0;
  }

  .women-copy .care-mode-grid article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 24px 0;
  }

  .women-copy .care-mode-grid h3 {
    font-size: 18px;
  }

  .site-footer {
    display: block;
    padding: 72px 0 120px;
  }

  .site-footer > a {
    display: inline-block;
    margin-top: 26px;
  }

  .site-footer small {
    display: block;
  }

  .floating-call {
    right: 10px;
    bottom: 10px;
    min-width: 190px;
  }
}

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

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

  body.motion-ready .midnight-section:not(.is-visible) > .stage,
  body.motion-ready .midnight-section:not(.is-visible) > .section-heading {
    opacity: 1;
    transform: none;
  }
}

/* Final invariant: every breakpoint keeps the H1-adjacent search visual a sharp square. */
.hero-search-thumbnail {
  aspect-ratio: 1 / 1;
  border-radius: 0;
  clip-path: none;
  mask: none;
  transform: none;
}
