/* v9: static detail pages, editorial rhythm and touch-first layouts. */
:root {
  --surface: #0d1721;
  --muted: #a8b6c3;
  --accent: #cfbd9f;
  --section-space: clamp(72px, 8vw, 130px);
}
html { scroll-padding-top: 174px; }
body { overflow-x: clip; }
main:focus { outline: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #dfc99f; outline-offset: 5px; }
button, a { touch-action: manipulation; }
button { font-family: inherit; }
.section { padding-block: var(--section-space); }
.business-page { --accent: #cfbd9f; }
.business-page[data-theme=app] { --accent: #aec8da; }
.business-page[data-theme=wellness] { --accent: #c0cbb7; }
.business-page[data-theme=space] { --accent: #c8c4bd; }
.detail-hero {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 42px 7%;
  min-height: 0;
  height: auto;
  max-height: none;
  padding: 154px 7% 74px;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #111c28, #080f17 60%);
}
.detail-hero .breadcrumb {
  position: static;
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumb [aria-current] { color: #e1d8c8; }
.detail-hero-copy { width: auto; min-width: 0; padding-bottom: 16px; }
.detail-hero h1 {
  font-size: clamp(34px, 3.5vw, 60px);
  font-weight: 520;
  line-height: 1.3;
  letter-spacing: -.055em;
  margin: 26px 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.detail-hero h1 em { color: var(--accent); font-weight: 360; }
.detail-lead { font-size: 16px; white-space: pre-line; line-height: 1.9; max-width: 39ch; }
.detail-hero .hero-actions { margin-top: 32px; }
.detail-art {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: clamp(340px, 34vw, 480px);
  background: radial-gradient(ellipse at 50% 80%, #889eae12, transparent 65%), #ffffff02;
  border: 1px solid #b9c7d024;
  overflow: hidden;
}
.detail-art:before, .detail-art:after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.detail-art:before { inset: 15px; border: 1px solid #b9c7d00d; }
.detail-art:after { left: 28px; right: 28px; bottom: 65px; height: 1px; background: #b9c7d022; }
.art-caption, .art-foot { position: absolute; left: 28px; font: 9px Orbitron, sans-serif; letter-spacing: .15em; color: #a8b6c3; }
.art-caption { top: 28px; }
.art-foot { bottom: 28px; font-size: 8px; }
.detail-art > strong { position: absolute; right: 24px; bottom: 84px; font: 450 clamp(24px, 3.6vw, 52px) Orbitron, sans-serif; letter-spacing: -.045em; color: var(--accent); }
.detail-art .sculpture { inset: 0; width: 100%; height: 100%; opacity: .85; transform: none; mask-image: none; z-index: -1; }
.detail-art .sculpture-inner { scale: .82; }
.detail-nav {
  position: sticky;
  top: 104px;
  z-index: 20;
  margin: 0 7%;
  padding: 0 22px;
  display: flex;
  gap: 30px;
  align-items: center;
  background: #0d1721f5;
  border: 1px solid #a2b4c22e;
  backdrop-filter: blur(14px);
}
.detail-nav a, .detail-nav button { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 58px; font-size: 13px; color: var(--muted); border: 0; background: none; padding: 0; }
.detail-nav a { border-bottom: 1px solid transparent; }
.detail-nav a[aria-current], .detail-nav a:hover { color: #e5d4b7; border-bottom-color: #cdb798; }
.detail-nav button { margin-left: auto; gap: 12px; }
.detail-editorial { gap: 8%; align-items: start; }
.detail-editorial h2 { font-size: clamp(30px, 3.1vw, 48px); line-height: 1.35; margin-top: 22px; }
.editorial-body { padding-top: 38px; font-size: 18px; line-height: 2; color: #b0bdc8; }
.detail-topics { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; padding-top: 0; }
.topics-heading h2 { margin-top: 20px; font-size: clamp(26px, 2.5vw, 37px); line-height: 1.4; }
.topic-list { border-top: 1px solid #b0bcc34a; min-width: 0; }
.topic-card { border-bottom: 1px solid #b0bcc329; }
.topic-card summary { list-style: none; display: flex; align-items: center; gap: 24px; padding: 26px 4px; cursor: pointer; }
.topic-card summary::-webkit-details-marker { display: none; }
.topic-number { font: 10px Orbitron, sans-serif; color: var(--accent); }
.topic-card h3 { font-size: 22px; font-weight: 440; letter-spacing: -.03em; }
.topic-toggle { margin-left: auto; font-size: 25px; color: var(--accent); transition: rotate .3s; }
.topic-card[open] .topic-toggle { rotate: 45deg; }
.topic-body { padding: 0 28px 28px 45px; }
.topic-body p { color: #b0bdc8; font-size: 16px; line-height: 1.9; }
.topic-body a { font-size: 13px; display: inline-flex; min-height: 44px; align-items: center; gap: 16px; margin-top: 10px; }
.web-package { background: #101923; border-block: 1px solid #aab8c222; }
.web-package .section-heading { margin-bottom: 60px; }
.web-package h2 { font-size: clamp(30px, 3.1vw, 48px); }
.web-package .offer { scroll-margin-top: 178px; }
.offer-main { align-items: end; }
.price p { line-height: 1.7; }
.benefit-row { gap: 22px; flex-wrap: wrap; }
.terms { gap: 36px; }
.terms p, .terms-foot { font-size: 14px; line-height: 1.9; }
.detail-outro { padding-bottom: 80px; background: radial-gradient(ellipse at 100% 10%, #67778a0d, transparent 65%); }
.outro-grid { margin: 24px 0 90px; }
.outro-grid h2 { font-size: clamp(30px, 3.3vw, 50px); }
.outro-grid .button { flex-shrink: 0; }
.directory-heading { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted); padding-bottom: 24px; }
.business-directory { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #b2c0ca3c; }
.business-directory a { display: flex; flex-direction: column; align-items: start; position: relative; gap: 28px; padding: 25px 18px; min-height: 140px; border-right: 1px solid #b2c0ca22; color: #c0cad2; font-size: 15px; line-height: 1.5; }
.business-directory a:first-child { padding-left: 0; }
.business-directory a:last-child { border-right: 0; }
.business-directory small { font: 9px Orbitron, sans-serif; color: #998d79; }
.business-directory b { position: absolute; right: 16px; top: 20px; font-weight: 350; }
.business-directory a:hover, .business-directory a[aria-current] { color: #eadcc5; background: #c9b89b08; }
.home-directory { padding-top: 0; }
.home-directory h2 { font-size: 22px; margin-bottom: 28px; }
.art-word { font: 450 clamp(38px, 5vw, 74px) Orbitron, sans-serif; z-index: 2; color: #ddceb7; letter-spacing: -.04em; }
.business-panels { min-width: 0; }
.business-panels article:not([hidden]) { animation: panelAppear .55s var(--ease-out); }
.inquiry { padding-top: 153px; }
.inquiry-breadcrumb { margin-bottom: 44px; }
.inquiry-intro { top: 132px; }
.conversation-art { height: 180px; opacity: .7; }
.field-grid input, .inquiry textarea { font-size: 16px; }
.privacy-note, .no-script-note { font-size: 12px; color: #a1b1c0; line-height: 1.8; margin-top: 18px; }
.site-status { position: fixed; bottom: 24px; left: 50%; translate: -50% 10px; opacity: 0; pointer-events: none; z-index: 120; padding: 14px 22px; border: 1px solid #bfa88366; background: #142130; color: #e2d4bd; font-size: 13px; width: max-content; max-width: calc(100% - 32px); overflow-wrap: anywhere; transition: opacity .25s, translate .25s; }
.site-status.show { opacity: 1; translate: -50% 0; }
.intro { background-image: linear-gradient(#07101bbf, #050c16e8), url('../assets/hero-1280.webp'); }
.intro.hidden { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .detail-hero-copy { animation: signatureRise 1s var(--ease-out) both; }
  .detail-art { animation: signatureRise 1.25s .12s var(--ease-out) both; }
}
footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
@keyframes panelAppear { from { opacity: .2; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pageOut .2s ease both; }
::view-transition-new(root) { animation: pageIn .5s cubic-bezier(.22,1,.36,1) both; }
@keyframes pageOut { to { opacity: 0; } }
@keyframes pageIn { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 1050px) {
  .detail-hero { gap: 30px 5%; padding-inline: 6%; }
  .detail-nav { margin-inline: 6%; gap: 24px; }
  .detail-hero h1 { font-size: 38px; }
  .detail-art { height: 350px; }
  .detail-art .sculpture-inner { scale: .65; }
  .business-directory { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  :root { --section-space: 66px; }
  html { scroll-padding-top: 152px; }
  .header { top: max(12px, env(safe-area-inset-top)); left: 14px; width: calc(100% - 28px); min-height: 60px; padding: 10px 16px; }
  .header-contact { padding: 12px; min-height: 42px; }
  .menu { min-width: 40px; min-height: 44px; justify-content: center; align-items: center; }
  .header nav { top: 70px; }
  .header nav a { min-height: 44px; display: flex; align-items: center; }
  .section { padding-inline: 22px; }
  .hero { min-height: 690px; height: 100svh; max-height: 900px; }
  .hero-content { margin: 158px 22px 110px; max-width: calc(100% - 44px); }
  .hero h1 { font-size: clamp(30px, 7.5vw, 48px); }
  .hero-copy { font-size: 15px; }
  .hero-bottom { left: 22px; bottom: 30px; }
  .hero-image { transform: none; }
  .hero .hero-actions { gap: 18px; }
  .hero .quiet-link { min-height: 44px; }
  .detail-hero { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 113px 22px 32px; height: auto; min-height: 0; }
  .detail-hero .breadcrumb { font-size: 11px; gap: 8px; margin: 0 0 14px; }
  .detail-hero-copy { padding: 0; }
  .detail-hero .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .detail-hero h1 { font-size: clamp(29px, 7.7vw, 43px); line-height: 1.35; margin: 22px 0; }
  .detail-lead { font-size: 15px; line-height: 1.9; }
  .detail-hero .hero-actions { margin-top: 24px; }
  .detail-hero .button { min-height: 50px; font-size: 14px; }
  .detail-art { height: 220px; margin-top: 8px; }
  .detail-art .sculpture-inner { scale: .48; }
  .art-caption { top: 20px; left: 20px; font-size: 8px; }
  .art-foot { left: 20px; bottom: 20px; font-size: 7px; }
  .detail-art > strong { font-size: 28px; right: 20px; bottom: 62px; }
  .detail-art:after { bottom: 48px; left: 20px; right: 20px; }
  .detail-nav { top: 84px; margin: 0; padding: 0 22px; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; border-inline: 0; backdrop-filter: none; }
  .detail-nav a, .detail-nav button { min-height: 52px; font-size: 12px; }
  .detail-nav button { margin-left: 0; }
  .detail-editorial { display: grid; grid-template-columns: 1fr; gap: 26px; }
  .detail-editorial h2 { font-size: 30px; line-height: 1.4; margin-top: 20px; }
  .editorial-body { padding: 0; font-size: 16px; line-height: 1.95; }
  .detail-topics { grid-template-columns: 1fr; gap: 28px; }
  .topics-heading h2 { font-size: 25px; margin-top: 16px; }
  .topic-card summary { padding: 24px 0; gap: 18px; }
  .topic-card h3 { font-size: 20px; }
  .topic-body { padding: 0 0 24px 32px; }
  .topic-body p { font-size: 15px; }
  .web-package .section-heading { margin-bottom: 40px; }
  .web-package h2 { font-size: 29px; }
  .web-package .offer { scroll-margin-top: 158px; }
  .offer h3 { font-size: 25px; }
  .price strong { font-size: 66px; }
  .price p { font-size: 14px; }
  .benefit-row { gap: 18px; }
  .offer summary { min-height: 64px; font-size: 14px; }
  .terms { gap: 24px; }
  .terms p, .terms-foot { font-size: 14px; }
  .outro-grid { margin: 24px 0 58px; gap: 28px; }
  .outro-grid h2 { font-size: 29px; }
  .outro-grid .button { width: 100%; font-size: 14px; }
  .business-directory { grid-template-columns: 1fr; }
  .business-directory a, .business-directory a:first-child { display: grid; grid-template-columns: 22px 1fr 18px; align-items: center; gap: 14px; padding: 22px 0; min-height: 68px; border-right: 0; border-bottom: 1px solid #b2c0ca22; font-size: 15px; }
  .business-directory b { position: static; }
  .inquiry { padding-top: 112px; }
  .inquiry-breadcrumb { margin-bottom: 32px; }
  .inquiry h1 { font-size: clamp(29px, 7.5vw, 40px); }
  .inquiry-intro { position: static; }
  .conversation-art { display: none; }
  .inquiry-email { margin-top: 28px; }
  .inquiry-layout { gap: 36px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid input, .inquiry textarea { font-size: 16px; }
  .field-grid input { min-height: 54px; }
  .field-grid label, .message-label { font-size: 14px; }
  .field-hint { font-size: 12px; }
  .form-section legend { font-size: 19px; }
  .business-options label > span { font-size: 13px; min-height: 54px; }
  .inquiry-consent { font-size: 13px; }
  .inquiry-consent input { width: 20px; height: 20px; }
  .inquiry-submit .button { min-height: 56px; font-size: 15px; }
  .send-status:empty { display: none; }
  .inquiry-result { scroll-margin-top: 110px; }
  footer { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .business-panels article { animation: none; }
  .detail-art .sculpture-inner { animation: none; }
}
