:root {
  color-scheme: light;
  --paper: #f5f0e8;
  --surface: #fffdf9;
  --ink: #231a20;
  --muted: #756b70;
  --plum: #4a1738;
  --plum-soft: #7a4b67;
  --line: #cfc4c7;
  --success: #3d6b57;
  --gutter: clamp(22px, 4.6vw, 72px);
  --header-height: 108px;
  --serif: "Iropke Batang", "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  --sans: Pretendard, "Pretendard Variable", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 32px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  object-fit: cover;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--plum-soft);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  word-break: keep-all;
}

.demo-ribbon {
  min-height: 32px;
  padding: 6px var(--gutter);
  background: var(--plum);
  color: #fff8f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(74, 23, 56, .18);
  background: rgba(245, 240, 232, .96);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 12px 34px rgba(35, 26, 32, .08);
  backdrop-filter: blur(14px);
}

.masthead-side {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.masthead-side--right {
  justify-content: flex-end;
}

.masthead-side a {
  position: relative;
  min-height: 44px;
  padding: 10px 2px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.masthead-side a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--plum);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.masthead-side a:hover::after,
.masthead-side a[aria-current="true"]::after {
  transform: scaleX(1);
}

.brand {
  display: grid;
  justify-items: center;
  min-width: 176px;
  padding: 10px 18px;
  color: var(--plum);
  line-height: 1;
}

.brand strong {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: .18em;
  text-indent: .18em;
}

.brand span {
  margin-top: 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .34em;
  text-indent: .34em;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  min-height: calc(100svh - var(--header-height) - 32px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px) var(--gutter);
}

.eyebrow {
  color: var(--plum-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.4;
}

.hero h1 {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(50px, 5.7vw, 84px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.06;
}

.hero h1 span,
.section-heading h2 span,
.operating-intro h2 span,
.did-proof-copy h2 span {
  display: block;
}

.hero-summary {
  max-width: 520px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

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

.button--primary {
  background: var(--plum);
  color: #fffaf5;
}

.button--primary:hover {
  background: #351027;
}

.button--light {
  border-color: #fff7ee;
  background: #fff7ee;
  color: var(--plum);
}

.button--outline {
  border-color: var(--plum);
  background: transparent;
  color: var(--plum);
}

.text-link {
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  color: var(--plum);
  font-weight: 800;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(52px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.hero-facts div {
  padding: 17px 14px 0 0;
  border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
  border-right: 0;
  padding-left: 14px;
}

.hero-facts div:nth-child(2) {
  padding-left: 14px;
}

.hero-facts dt {
  color: var(--plum-soft);
  font-family: var(--serif);
  font-size: 13px;
}

.hero-facts dd {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: #d9d0c5;
}

.hero-media img {
  width: 100%;
  height: 100%;
  animation: salon-ambient-drift 24s ease-in-out infinite alternate;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 26, 32, .08), transparent 32%, rgba(35, 26, 32, .08));
  content: "";
  pointer-events: none;
}

.hero-media figcaption {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .52);
  background: rgba(35, 26, 32, .62);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

@keyframes salon-ambient-drift {
  from { transform: translate3d(-.4%, .2%, 0) scale(1.025); }
  to { transform: translate3d(.6%, -.3%, 0) scale(1.05); }
}

.section-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(90px, 10vw, 150px) var(--gutter);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(360px, 2.1fr) minmax(240px, 1fr);
  align-items: end;
  gap: 36px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.operating-intro h2,
.did-proof-copy h2,
.conversion-section h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.12;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 15px;
  word-break: keep-all;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(240px, 32%) minmax(0, 68%);
  gap: clamp(38px, 5vw, 76px);
  margin-top: 54px;
}

.service-image {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
}

.service-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  filter: saturate(.74) contrast(.97);
}

.service-image figcaption {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  word-break: keep-all;
}

.service-ledger {
  border-top: 2px solid var(--plum);
}

.service-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(120px, auto) minmax(112px, auto);
  align-items: center;
  gap: 22px;
  min-height: 132px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--plum-soft);
  font-family: var(--serif);
  font-size: 17px;
}

.service-row h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 600;
}

.service-row p {
  max-width: 470px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  word-break: keep-all;
}

.service-row > strong {
  color: var(--plum);
  font-size: 14px;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.status--available { color: var(--success); }
.status--sold-out { color: var(--plum); }
.status--closed { color: var(--muted); }

.empty-state {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.operating-proof {
  padding: clamp(90px, 9vw, 140px) var(--gutter) 0;
  background: var(--surface);
}

.operating-intro {
  display: grid;
  grid-template-columns: 1fr 2.1fr 1fr;
  align-items: end;
  gap: 36px;
  max-width: 1296px;
  margin: 0 auto;
}

.operating-intro > p:last-child {
  color: var(--muted);
  word-break: keep-all;
}

.channel-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1296px;
  margin: 70px auto 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.channel-list li {
  min-height: 220px;
  padding: 30px clamp(22px, 3vw, 44px) 34px 0;
  border-right: 1px solid var(--line);
}

.channel-list li + li {
  padding-left: clamp(22px, 3vw, 44px);
}

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

.channel-list span {
  color: var(--plum-soft);
  font-family: var(--serif);
  font-size: 15px;
}

.channel-list strong {
  display: block;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.3;
  word-break: keep-all;
}

.channel-list p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  word-break: keep-all;
}

.safe-business-facts {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1296px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.publication-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 calc(var(--gutter) * -1);
  background: var(--plum);
  color: #fff7ef;
}

.publication-strip span {
  min-height: 72px;
  padding: 22px 18px;
  border-right: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  word-break: keep-all;
}

.publication-strip span:last-child {
  border-right: 0;
}

.section-heading--compact {
  grid-template-columns: 180px minmax(0, 1fr);
}

.editorial-gallery {
  display: grid;
  grid-template-columns: 1.4fr .86fr .92fr;
  align-items: start;
  gap: clamp(18px, 2.3vw, 36px);
  margin-top: 56px;
}

.gallery-item {
  margin-top: 70px;
}

.gallery-item--lead {
  margin-top: 0;
}

.gallery-item--low {
  margin-top: 140px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  filter: saturate(.68) contrast(.97);
}

.gallery-item--lead img {
  aspect-ratio: 5 / 6;
}

.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}

.gallery-item b {
  color: var(--plum);
  font-size: 12px;
  letter-spacing: .16em;
}

.gallery-item span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
  word-break: keep-all;
}

.did-proof {
  display: grid;
  grid-template-columns: minmax(300px, 38%) minmax(0, 62%);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(86px, 9vw, 140px) var(--gutter);
  background: var(--plum);
  color: #fff8f1;
}

.did-proof .eyebrow {
  color: #d8bdcc;
}

.did-proof-copy p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 24px;
  color: #dbcbd4;
  word-break: keep-all;
}

.did-proof-copy .button {
  margin-top: 34px;
}

.monitor {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 10px solid #171014;
  border-radius: 8px;
  background: #171014;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.monitor--linked { display: block; isolation: isolate; }
.monitor--linked:focus-visible { outline: 3px solid #fff8f1; outline-offset: 5px; }
.monitor-open { position: absolute; z-index: 3; top: 10px; right: 10px; padding: 6px 9px; background: rgba(23, 16, 20, .88); color: #fff8f1; font-size: clamp(8px, .7vw, 12px); font-weight: 800; letter-spacing: .04em; }
.monitor-open b { color: #d8bdcc; }
.monitor-preview { width: 100%; height: 100%; }
.monitor-preview--salon { display: grid; grid-template: "header header" 16% "visual content" 74% "footer footer" 10% / 39% 61%; background: #f5f0e8; color: #231a20; }
.monitor-preview__header { grid-area: header; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 4%; border-bottom: 1px solid #cfc4c7; background: #fffdf9; }
.monitor-preview__header strong { font-family: var(--serif); font-size: clamp(10px, 1.25vw, 23px); }
.monitor-preview__header small { color: var(--plum-soft); font-size: clamp(6px, .55vw, 10px); font-weight: 800; letter-spacing: .08em; }
.monitor-preview__visual { grid-area: visual; min-width: 0; overflow: hidden; }
.monitor-preview__visual img { width: 100%; height: 100%; object-position: center; }
.monitor-preview__content { grid-area: content; display: flex; flex-direction: column; min-width: 0; padding: 6% 7% 4%; }
.monitor-preview__eyebrow { color: var(--plum-soft); font-size: clamp(6px, .55vw, 10px); font-weight: 900; letter-spacing: .14em; }
.monitor-preview__content > strong { margin-top: 1%; font-family: var(--serif); font-size: clamp(11px, 1.55vw, 28px); line-height: 1.15; }
.monitor-preview__rows { display: grid; margin-top: 5%; border-top: 1px solid #4a1738; }
.monitor-preview__rows i { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2.6% 0; border-bottom: 1px solid #cfc4c7; font-size: clamp(7px, .72vw, 12px); font-style: normal; }
.monitor-preview__rows i b { color: var(--plum-soft); font-size: .82em; }
.monitor-preview__notice { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.monitor-preview__notice span { display: grid; }
.monitor-preview__notice small { color: var(--plum-soft); font-size: clamp(5px, .45vw, 8px); letter-spacing: .12em; }
.monitor-preview__notice b { font-family: var(--serif); font-size: clamp(7px, .75vw, 13px); }
.monitor-preview__notice img { width: clamp(24px, 3.2vw, 56px); aspect-ratio: 1; }
.monitor-preview__footer { grid-area: footer; display: flex; align-items: center; justify-content: flex-end; padding: 0 4%; background: #4a1738; color: #fff8f1; font-size: clamp(6px, .55vw, 10px); font-weight: 700; }

.conversion-section {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  max-width: none;
  padding: 0;
  background: var(--surface);
}

.booking-surface,
.inquiry-surface {
  min-height: 540px;
  padding: clamp(70px, 8vw, 124px) var(--gutter);
}

.booking-surface {
  background: var(--paper);
}

.booking-surface > p:not(.eyebrow),
.inquiry-surface > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  word-break: keep-all;
}

.booking-surface .button {
  margin-top: 34px;
}

.inquiry-surface {
  border-left: 1px solid var(--line);
}

.inquiry-fields {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.inquiry-fields:empty::before {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  content: "희망 서비스와 스타일 참고 사항을 입력하는 영역입니다.";
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0 18px;
  font-size: 13px;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.news-section {
  background: var(--paper);
}

.notice-list {
  margin-top: 42px;
  border-top: 2px solid var(--plum);
}

.notice-list article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  min-height: 112px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.notice-list article > span {
  color: var(--plum-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.notice-list h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.notice-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 38px;
  padding: 52px var(--gutter);
  background: var(--ink);
  color: #eee4e9;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  font-family: var(--serif);
  font-size: 23px;
}

.site-footer span,
.site-footer p,
.site-footer a {
  color: #bbaeb5;
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px 24px;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 480ms ease, transform 480ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Display-ready DID surface */
body[data-page="did"] {
  min-height: 100svh;
  background: #120d11;
  color: var(--ink);
  overflow: hidden;
}

.did-device-note {
  display: none;
}

.did-canvas {
  position: relative;
  display: grid;
  grid-template-columns: 37% 63%;
  grid-template-rows: 14% 75% 11%;
  width: min(100vw, 177.7778vh);
  height: min(100vh, 56.25vw);
  min-height: 0;
  margin: auto;
  overflow: hidden;
  background: var(--surface);
}

.did-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 3vw;
  padding: 1.5vw 2.6vw;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.did-identity strong,
.did-identity span {
  display: block;
}

.did-identity strong {
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 48px);
  font-weight: 600;
  letter-spacing: .08em;
}

.did-identity span {
  margin-top: .3vw;
  font-size: clamp(8px, .6vw, 13px);
  font-weight: 800;
  letter-spacing: .28em;
}

.did-purpose span {
  display: block;
  color: var(--plum-soft);
  font-size: clamp(10px, .75vw, 16px);
  font-weight: 800;
  letter-spacing: .12em;
}

.did-purpose strong {
  display: block;
  margin-top: .35vw;
  font-size: clamp(16px, 1.4vw, 29px);
}

#did-clock {
  color: var(--muted);
  font-size: clamp(10px, .78vw, 16px);
  font-weight: 700;
  white-space: nowrap;
}

.did-visual {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  overflow: hidden;
  margin: 0;
}

.did-visual img {
  width: 100%;
  height: 100%;
  filter: saturate(.68) contrast(.98);
}

.did-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(35, 26, 32, .78));
  content: "";
}

.did-visual figcaption {
  position: absolute;
  right: 2.2vw;
  bottom: 2vw;
  left: 2.2vw;
  z-index: 1;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(18px, 1.65vw, 34px);
  word-break: keep-all;
}

.did-content {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: 2vw 2.6vw 1.6vw;
}

.did-section-heading {
  display: flex;
  align-items: baseline;
  gap: 1.3vw;
  padding-bottom: 1vw;
  border-bottom: 2px solid var(--plum);
}

.did-section-heading p {
  color: var(--plum-soft);
  font-size: clamp(9px, .72vw, 15px);
  font-weight: 900;
  letter-spacing: .2em;
}

.did-section-heading h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.35vw, 48px);
  font-weight: 600;
  letter-spacing: -.04em;
}

.did-service-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  min-height: 0;
}

.did-service-item {
  display: grid;
  grid-template-columns: 3.2vw minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1vw;
  min-height: 0;
  border-bottom: 1px solid var(--line);
}

.did-service-item > span:first-child {
  color: var(--plum-soft);
  font-family: var(--serif);
  font-size: clamp(12px, 1vw, 21px);
}

.did-service-item h2 {
  font-family: var(--serif);
  font-size: clamp(19px, 1.75vw, 36px);
  font-weight: 600;
}

.did-service-item p {
  max-width: 38vw;
  margin-top: .15vw;
  overflow: hidden;
  color: var(--muted);
  font-size: clamp(9px, .73vw, 15px);
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.did-service-item > strong {
  color: var(--plum);
  font-size: clamp(10px, .86vw, 18px);
  white-space: nowrap;
}

.did-service-item .status {
  min-height: 0;
  padding: .35vw .7vw;
  font-size: clamp(8px, .62vw, 13px);
}

.did-message-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4vw;
  min-height: 11.5vw;
  margin-top: 1vw;
  padding: 1vw;
  border: 1px solid var(--line);
  background: var(--paper);
}

.did-message-row article {
  align-self: center;
}

.did-message-row article > span {
  color: var(--plum-soft);
  font-size: clamp(8px, .58vw, 12px);
  font-weight: 900;
  letter-spacing: .16em;
}

.did-message-row article strong {
  display: block;
  margin-top: .2vw;
  font-family: var(--serif);
  font-size: clamp(15px, 1.25vw, 26px);
}

.did-message-row article p {
  margin-top: .15vw;
  color: var(--muted);
  font-size: clamp(9px, .68vw, 14px);
  line-height: 1.4;
  word-break: keep-all;
}

.did-qr {
  display: grid;
  grid-template-columns: auto;
  justify-items: center;
  align-content: center;
  min-width: 7.2vw;
  margin: 0;
}

.did-qr img {
  width: clamp(90px, 9.4vw, 190px);
  height: clamp(90px, 9.4vw, 190px);
  padding: .25vw;
  background: #fff;
}

.did-qr figcaption {
  margin-top: .2vw;
  color: var(--plum);
  font-size: clamp(7px, .52vw, 11px);
  font-weight: 800;
  white-space: nowrap;
}

.did-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2vw;
  padding: 1vw 2.6vw;
  background: var(--plum);
  color: #fff7ef;
  font-size: clamp(9px, .72vw, 15px);
}

.did-footer strong {
  font-size: clamp(9px, .7vw, 14px);
  text-align: center;
}

.did-footer span:last-child {
  text-align: right;
}

.did-network-state {
  position: absolute;
  right: 1.3vw;
  bottom: 1.1vw;
  z-index: 5;
  padding: .45vw .8vw;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(35, 26, 32, .86);
  color: #fff;
  font-size: clamp(8px, .58vw, 12px);
}

@media (max-width: 1080px) {
  :root { --header-height: 76px; }

  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: var(--header-height);
  }

  .masthead-side {
    display: none;
  }

  .brand {
    grid-column: 1;
    justify-items: start;
    min-width: 0;
    padding: 8px 0;
  }

  .brand strong { font-size: 25px; }
  .brand span { font-size: 8px; }

  .menu-toggle {
    grid-column: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 64px;
    min-height: 44px;
    padding: 8px 0 8px 14px;
    border: 0;
    background: transparent;
    color: var(--plum);
    cursor: pointer;
  }

  .menu-toggle i,
  .menu-toggle i::before,
  .menu-toggle i::after {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-toggle i {
    position: relative;
  }

  .menu-toggle i::before { position: absolute; top: -6px; }
  .menu-toggle i::after { position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] i { background: transparent; }
  .menu-toggle[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }

  .mobile-menu:not([hidden]) {
    position: fixed;
    z-index: 45;
    top: calc(32px + var(--header-height));
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(440px, 100vw);
    padding: 32px var(--gutter) 48px;
    background: var(--surface);
    box-shadow: -24px 30px 70px rgba(35, 26, 32, .18);
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 62px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 22px;
  }

  .hero {
    grid-template-columns: 47% 53%;
  }

  .hero-copy { padding: 56px var(--gutter); }
  .hero h1 { font-size: clamp(46px, 6vw, 64px); }

  .section-heading,
  .operating-intro {
    grid-template-columns: 140px 1.5fr 1fr;
  }

  .service-layout { grid-template-columns: 28% 72%; gap: 34px; }
  .service-row { grid-template-columns: 40px 1fr auto; }
  .service-row .status { grid-column: 2; justify-self: start; }

}

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

  .hero-copy {
    min-height: calc(100svh - var(--header-height) - 32px);
    padding-top: 62px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(46px, 11vw, 68px);
  }

  .hero-media {
    min-height: 62svh;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .section-heading,
  .operating-intro,
  .section-heading--compact {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-image {
    position: static;
    order: 2;
  }

  .service-image img {
    aspect-ratio: 16 / 10;
    object-position: center 58%;
  }

  .service-ledger {
    order: 1;
  }

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

  .channel-list li,
  .channel-list li + li {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .channel-list strong { margin-top: 12px; }

  .publication-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .safe-business-facts {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .publication-strip span:nth-child(2) { border-right: 0; }
  .publication-strip span:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .22); }

  .editorial-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item,
  .gallery-item--low { margin-top: 0; }
  .gallery-item--lead { grid-column: 1 / -1; }
  .gallery-item--lead img { aspect-ratio: 16 / 11; object-position: center 38%; }

  .did-proof,
  .conversion-section {
    grid-template-columns: 1fr;
  }

  .inquiry-surface {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
    --header-height: 68px;
  }

  body { font-size: 15px; }
  .demo-ribbon { font-size: 11px; }
  .site-header { padding-right: 20px; padding-left: 20px; }
  .brand strong { font-size: 22px; }

  .hero-copy {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(42px, 13.5vw, 58px);
    line-height: 1.04;
  }

  .hero-summary { font-size: 16px; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .text-link { text-align: center; }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .hero-facts div,
  .hero-facts div:nth-child(2),
  .hero-facts div:last-child {
    display: grid;
    grid-template-columns: 34px 1fr;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts dd { margin-top: 0; }
  .hero-media { min-height: 56svh; }

  .section-shell,
  .operating-proof,
  .did-proof {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading h2,
  .operating-intro h2,
  .did-proof-copy h2,
  .conversion-section h2 {
    font-size: clamp(36px, 10.8vw, 48px);
  }

  .service-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px 10px;
    min-height: 0;
    padding: 24px 0;
  }

  .service-row > strong,
  .service-row .status {
    grid-column: 2;
    justify-self: start;
  }

  .service-row h3 { font-size: 26px; }
  .service-row p { font-size: 13px; }

  .publication-strip { margin-right: -20px; margin-left: -20px; }

  .editorial-gallery {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .gallery-item--lead { grid-column: auto; }
  .gallery-item--lead img,
  .gallery-item img { aspect-ratio: 4 / 5; object-position: center; }

  .did-proof { gap: 40px; }

  .booking-surface,
  .inquiry-surface {
    min-height: 0;
    padding: 74px 20px;
  }

  .notice-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  body[data-page="did"] {
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--paper);
    overflow: auto;
  }

  .did-device-note {
    display: block;
    max-width: 420px;
    color: var(--muted);
    text-align: center;
    word-break: keep-all;
  }

  .did-device-note a {
    display: block;
    min-height: 44px;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid var(--plum);
    color: var(--plum);
    font-weight: 800;
  }

  .did-canvas { display: none; }
}

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

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

  .hero-media img {
    animation: none;
    transform: scale(1.025);
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Fail-closed location scaffold: official map and routes replace this editorial fallback only after verification. */
.location-section { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: clamp(38px, 6vw, 96px); align-items: stretch; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.location-copy h2 { margin-top: 16px; font-family: var(--serif); font-size: clamp(42px, 5.2vw, 72px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.location-copy h2 span { display: block; }
.location-copy > p:not(.eyebrow):not(.location-note) { max-width: 620px; margin-top: 24px; color: var(--muted); }
.location-facts { display: grid; width: 100%; gap: 0; margin-top: 34px; border-top: 1px solid var(--plum); }
.location-facts div { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.location-facts dt { color: var(--plum-soft); font-size: 12px; font-weight: 800; }
.location-facts dd { color: var(--ink); font-size: 13px; }
.location-copy [hidden] { display: none !important; }
.navigation-actions { width: 100%; margin-top: 26px; }
.navigation-actions > p { margin-bottom: 10px; color: var(--plum); font-family: var(--serif); font-size: 13px; }
.navigation-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.navigation-rail a,
.map-search-link { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--plum); font-size: 12px; font-weight: 800; }
.navigation-rail a { color: var(--surface); background: var(--plum); }
.map-search-link { width: 100%; margin-top: 18px; color: var(--plum); }
.navigation-rail a:focus-visible,
.map-search-link:focus-visible { outline: 3px solid var(--plum-soft); outline-offset: 3px; }
.location-note { margin-top: 13px; color: var(--muted); font-size: 12px; }
.location-map { position: relative; min-height: 520px; overflow: hidden; background: #e5d9db; }
.location-map-fallback { position: absolute; inset: 0; overflow: hidden; padding: clamp(28px, 4vw, 58px); background: linear-gradient(115deg, rgba(255,253,249,.88), rgba(255,253,249,.16)), repeating-linear-gradient(0deg, transparent 0 54px, rgba(74,23,56,.12) 55px), #e5d9db; }
.location-map-fallback p,
.location-map-fallback strong,
.location-map-fallback small { position: relative; z-index: 2; display: block; }
.location-map-fallback p { color: var(--plum-soft); font-family: var(--serif); font-size: 13px; letter-spacing: .14em; }
.location-map-fallback strong { margin-top: 22px; color: var(--plum); font-family: var(--serif); font-size: clamp(48px, 6vw, 82px); font-weight: 500; line-height: .9; letter-spacing: -.045em; }
.location-map-fallback small { position: absolute; right: 28px; bottom: 24px; color: var(--muted); font-size: 11px; }
.map-thread { position: absolute; z-index: 1; height: 1px; background: var(--plum); transform-origin: left center; }
.map-thread-a { right: -8%; bottom: 28%; left: 8%; transform: rotate(-16deg); }
.map-thread-b { top: 18%; right: 22%; left: 52%; transform: rotate(68deg); }
.map-pin { position: absolute; z-index: 2; right: 28%; bottom: 35%; width: 24px; height: 24px; background: var(--plum); border: 7px solid var(--surface); border-radius: 50%; box-shadow: 0 0 0 1px var(--plum); }

@media (max-width: 800px) {
  .location-section { grid-template-columns: 1fr; }
  .location-map { min-height: 360px; }
}
@media (max-width: 430px) {
  .navigation-rail { grid-template-columns: 1fr; }
  .navigation-rail a,
  .map-search-link { min-height: 48px; }
  .location-map { min-height: 300px; }
  .location-map-fallback strong { font-size: 48px; }
}
