:root {
  --eggshell: #f3efe8;
  --surface: #faf7f1;
  --ink: #211a20;
  --muted: #716b69;
  --plum: #321b2d;
  --plum-active: #5a334f;
  --line: #b9b3ac;
  --metal: #8b8987;
  --paper: var(--eggshell);
  --green: var(--plum-active);
  --soft-line: rgba(33, 26, 32, 0.16);
  --light-line: rgba(250, 247, 241, 0.22);
  --serif: "Noto Serif KR", "Iowan Old Style", "AppleMyungjo", serif;
  --sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --gutter: clamp(24px, 4vw, 72px);
  --section-pad: clamp(88px, 9vw, 148px);
  --demo-height: 30px;
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--eggshell);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
select {
  cursor: pointer;
}

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

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

[hidden] {
  display: none !important;
}

::selection {
  color: var(--surface);
  background: var(--plum-active);
}

:focus-visible {
  outline: 2px solid #8e4d79;
  outline-offset: 3px;
}

main > section[id],
main div[id] {
  scroll-margin-top: 110px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  color: var(--surface);
  background: var(--plum);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-notice {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: var(--demo-height);
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: rgba(250, 247, 241, 0.88);
  background: var(--plum);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
}

.demo-notice strong {
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.section-shell {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow,
.section-index {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-index-light {
  color: rgba(250, 247, 241, 0.6);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-light {
  color: var(--plum);
  background: var(--surface);
}

.text-link,
.ledger-action,
.map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 750;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Glass navigation. The shared runtime owns the drawer and mobile dock. */
.site-header[data-navigation-pattern="glass-dock"] {
  position: fixed;
  z-index: 200;
  top: calc(var(--demo-height) + 12px);
  left: 50%;
  display: grid;
  width: min(calc(100% - 32px), 1408px);
  min-height: 70px;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
  padding: 0 18px 0 24px;
  border: 1px solid rgba(33, 26, 32, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(250, 247, 241, 0.72);
  box-shadow: 0 18px 44px rgba(33, 26, 32, 0.08);
  backdrop-filter: blur(18px) saturate(1.1);
  transform: translateX(-50%);
  transition: top 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header[data-navigation-pattern="glass-dock"].is-scrolled {
  top: calc(var(--demo-height) + 7px);
  color: var(--ink);
  background: rgba(250, 247, 241, 0.94);
  border-color: rgba(33, 26, 32, 0.15);
  box-shadow: 0 14px 38px rgba(33, 26, 32, 0.1);
}

.site-header .brand {
  display: grid;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  justify-self: start;
  line-height: 1;
}

.site-header .brand strong {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .brand small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.site-header .primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 44px);
}

.site-header .primary-nav a {
  min-height: 48px;
  font-size: 13px;
  font-weight: 750;
}

.site-header[data-navigation-pattern] .header-action {
  min-height: 46px;
  justify-self: end;
  padding: 0 20px;
  border: 1px solid var(--plum);
  border-radius: 4px;
  color: var(--surface);
  background: var(--plum);
  font-size: 13px;
  font-weight: 800;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 880px;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  overflow: hidden;
  padding-top: calc(var(--demo-height) + 94px);
  background: var(--eggshell);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 690px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(80px, 9vw, 138px) clamp(34px, 5vw, 86px) clamp(80px, 9vw, 132px) var(--gutter);
}

.hero h1 {
  display: grid;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(52px, 5.2vw, 84px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero h1 .accent {
  color: var(--plum-active);
}

.hero-summary {
  max-width: 510px;
  margin-top: 28px;
  color: color-mix(in srgb, var(--ink) 74%, transparent);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
}

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

.hero-fact {
  max-width: 460px;
  margin-top: 42px;
  padding-top: 15px;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 12px;
}

.hero-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #d8cbbb;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(50, 27, 45, 0.08), transparent 30%);
  pointer-events: none;
}

.hero-media img {
  width: 106%;
  max-width: none;
  height: 106%;
  object-fit: cover;
  object-position: 67% center;
  transform: translate3d(-2%, -1%, 0) scale(1.02);
  animation: salon-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}

.mirror-seam {
  position: absolute;
  z-index: 3;
  top: calc(var(--demo-height) + 94px);
  bottom: 0;
  left: calc(46% - 4px);
  width: 8px;
  border-right: 1px solid rgba(33, 26, 32, 0.32);
  border-left: 1px solid rgba(250, 247, 241, 0.5);
  background: linear-gradient(90deg, #6f6c6b, #d5d0cb 45%, #858180);
  opacity: 0.65;
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: 25px;
  color: rgba(250, 247, 241, 0.86);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

@keyframes salon-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  to { transform: translate3d(0, 0, 0) scale(1.075); }
}

/* Service ledger */
.services {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section-heading h2,
.styles-heading h2,
.designers-heading h2,
.first-visit h2,
.booking-panel h2,
.consultation-panel h2,
.news h2,
.location h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.6vw, 70px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.services-heading > p:last-child {
  max-width: 520px;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
}

.services-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 7fr);
  gap: clamp(38px, 5vw, 84px);
  padding-top: 54px;
}

.services-layout::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(36.36% + 13px);
  width: 6px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(139, 137, 135, 0.72), transparent);
}

.services-media {
  position: sticky;
  top: 126px;
  align-self: start;
}

.services-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #d8d2ca;
}

.services-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.service-ledger {
  border-top: 1px solid var(--ink);
}

.service-row {
  display: grid;
  min-height: 150px;
  grid-template-columns: 42px minmax(170px, 1fr) minmax(360px, 1.3fr);
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--soft-line);
}

.service-number {
  align-self: start;
  padding-top: 8px;
  color: var(--plum-active);
  font-size: 10px;
  font-weight: 850;
}

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

.service-row > div > p {
  max-width: 300px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.service-row dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-row dl div {
  min-width: 0;
}

.service-row dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.service-row dd {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
}

.ledger-action {
  margin-top: 32px;
  color: var(--plum-active);
}

/* Style selector */
.styles {
  overflow: hidden;
  padding-top: var(--section-pad);
  color: var(--surface);
  background: var(--plum);
}

.styles .section-index {
  color: rgba(250, 247, 241, 0.55);
}

.styles-heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  align-items: end;
  gap: 50px;
  padding-bottom: 52px;
}

.styles-heading > p {
  max-width: 500px;
  justify-self: end;
  color: rgba(250, 247, 241, 0.7);
  font-size: 15px;
}

.style-stage {
  display: grid;
  width: min(100%, 1440px);
  min-height: 720px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 3fr) minmax(190px, 1fr);
  border-top: 1px solid var(--light-line);
}

.style-figure {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-right: 1px solid var(--light-line);
  opacity: 1;
  transition: opacity 160ms ease;
}

.style-figure.is-changing {
  opacity: 0.32;
}

.style-figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 54%, rgba(33, 12, 28, 0.78));
  pointer-events: none;
}

.style-figure img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center 34%;
  background: #9f8f88;
}

.style-figure figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 62px);
  bottom: 42px;
  left: clamp(24px, 4vw, 62px);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 32px;
}

.style-figure figcaption span {
  position: absolute;
  bottom: 72px;
  left: 0;
  color: rgba(250, 247, 241, 0.7);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.style-figure figcaption strong {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 600;
  line-height: 1;
}

.style-figure figcaption p {
  max-width: 420px;
  justify-self: end;
  color: rgba(250, 247, 241, 0.82);
  font-size: 14px;
}

.style-tabs {
  display: grid;
  grid-template-rows: repeat(4, minmax(120px, 1fr));
}

.style-tabs button {
  position: relative;
  display: grid;
  min-height: 120px;
  grid-template-columns: 42px 1fr;
  align-items: center;
  padding: 20px 28px;
  border: 0;
  border-bottom: 1px solid var(--light-line);
  color: rgba(250, 247, 241, 0.55);
  background: transparent;
  text-align: left;
  transition: color 180ms ease, background-color 180ms ease;
}

.style-tabs button::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: var(--surface);
  transform: scaleY(0);
  transition: transform 180ms ease;
}

.style-tabs button small {
  font-size: 9px;
  font-weight: 800;
}

.style-tabs button span {
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
}

.style-tabs button[aria-selected="true"] {
  color: var(--surface);
  background: rgba(250, 247, 241, 0.07);
}

.style-tabs button[aria-selected="true"]::before {
  transform: scaleY(1);
}

/* Role-based designer section */
.designers {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.designers-heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  align-items: end;
  gap: 48px;
}

.designers-heading > p:last-child {
  max-width: 440px;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
}

.role-gallery {
  display: grid;
  grid-template-columns: 0.95fr 1.12fr 0.88fr;
  align-items: start;
  gap: clamp(18px, 2.5vw, 38px);
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.role-card {
  display: grid;
  gap: 24px;
}

.role-card figure {
  overflow: hidden;
  background: #c8beb5;
}

.role-cut figure {
  aspect-ratio: 4 / 5;
}

.role-color figure {
  aspect-ratio: 4 / 6;
}

.role-style figure {
  aspect-ratio: 4 / 4.6;
}

.role-card img {
  height: 100%;
  object-fit: cover;
}

.role-cut img { object-position: 18% center; }
.role-color img { object-position: center; }
.role-style img { object-position: 82% center; }

.role-card > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px 18px;
}

.role-card > div > span {
  grid-row: 1 / 3;
  color: var(--plum-active);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

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

.role-card dl {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--soft-line);
}

.role-card dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  font-size: 12px;
}

.role-card dt {
  color: var(--muted);
}

.role-card dd {
  font-weight: 700;
}

.demo-copy {
  margin-top: 38px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

/* First visit */
.first-visit {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  border-top: 1px solid var(--soft-line);
  background: var(--surface);
}

.first-visit-intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  align-items: end;
  gap: 48px;
}

.first-visit-intro > p {
  max-width: 440px;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
}

.visit-media {
  width: min(calc(100% - (var(--gutter) * 2)), 1296px);
  margin: 58px auto 0;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: #c6bbb1;
}

.visit-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.visit-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
  padding-top: 30px;
  list-style: none;
}

.visit-steps::before {
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  content: "";
  background: var(--ink);
}

.visit-steps li {
  position: relative;
  min-height: 190px;
  padding: 0 clamp(20px, 2.5vw, 38px) 24px 0;
  border-right: 1px solid var(--soft-line);
}

.visit-steps li:not(:first-child) {
  padding-left: clamp(20px, 2.5vw, 38px);
}

.visit-steps li:last-child {
  border-right: 0;
}

.visit-steps li::before {
  position: absolute;
  top: -35px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  content: "";
  background: var(--plum-active);
  box-shadow: 0 0 0 1px var(--plum-active);
}

.visit-steps span {
  color: var(--plum-active);
  font-size: 10px;
  font-weight: 850;
}

.visit-steps h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.visit-steps p {
  max-width: 220px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.policy-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

/* Booking and inquiry */
.conversion {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border-top: 1px solid var(--plum);
  border-bottom: 1px solid var(--plum);
}

.booking-panel,
.consultation-panel {
  min-width: 0;
  padding: clamp(84px, 8vw, 132px) clamp(28px, 5vw, 78px);
}

.booking-panel {
  position: relative;
  overflow: hidden;
  color: var(--surface);
  background: var(--plum);
}

.booking-panel::after {
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(250, 247, 241, 0.16);
  border-radius: 50%;
  content: "";
}

.booking-panel h2,
.consultation-panel h2 {
  font-size: clamp(42px, 4.5vw, 68px);
}

.booking-panel > p:not(.section-index, .module-status),
.consultation-panel > p:not(.section-index) {
  max-width: 520px;
  margin-top: 24px;
  font-size: 15px;
}

.booking-panel > p:not(.section-index, .module-status) {
  color: rgba(250, 247, 241, 0.72);
}

.booking-preview {
  display: grid;
  margin: 44px 0 38px;
  padding: 0;
  border-top: 1px solid var(--light-line);
  list-style: none;
}

.booking-preview li {
  display: grid;
  min-height: 82px;
  grid-template-columns: 42px minmax(100px, 1fr) minmax(120px, auto);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--light-line);
}

.booking-preview li > span {
  color: rgba(250, 247, 241, 0.48);
  font-size: 10px;
  font-weight: 800;
}

.booking-preview strong {
  font-size: 14px;
}

.booking-preview small {
  color: rgba(250, 247, 241, 0.58);
  font-size: 11px;
  text-align: right;
}

.module-status {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  color: rgba(250, 247, 241, 0.56);
  font-size: 11px;
}

.consultation-panel {
  background: var(--surface);
}

.consultation-panel > p:not(.section-index) {
  color: var(--muted);
}

.consultation-form {
  display: grid;
  gap: 24px;
  margin-top: 38px;
}

.form-help {
  padding: 14px 16px;
  border-left: 3px solid var(--plum-active);
  color: var(--muted);
  background: rgba(90, 51, 79, 0.06);
  font-size: 11px;
}

.consultation-fields,
.consultation-fields.moahome-module-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.consultation-fields > label,
.consultation-fields .moahome-module-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.consultation-fields > label > span,
.consultation-fields .moahome-module-field > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.consultation-fields em,
.privacy-field em {
  color: var(--plum-active);
  font-size: 9px;
  font-style: normal;
}

.consultation-fields input,
.consultation-fields select,
.consultation-fields textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid rgba(33, 26, 32, 0.24);
  border-radius: 4px;
  outline: 0;
  color: var(--ink);
  background: var(--eggshell);
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.consultation-fields textarea {
  min-height: 112px;
  resize: vertical;
}

.consultation-fields input:focus,
.consultation-fields select:focus,
.consultation-fields textarea:focus {
  border-color: var(--plum-active);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(90, 51, 79, 0.12);
}

.consultation-fields .field-wide,
.consultation-fields .moahome-module-field-textarea {
  grid-column: 1 / -1;
}

.privacy-field {
  display: grid;
  min-height: 44px;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.privacy-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--plum-active);
}

.form-feedback {
  min-height: 22px;
  color: var(--plum-active);
  font-size: 12px;
}

.outline-submit {
  min-height: 54px;
  border: 1px solid var(--plum);
  border-radius: 4px;
  color: var(--plum);
  background: transparent;
  font-weight: 850;
  transition: color 180ms ease, background-color 180ms ease;
}

/* News */
.news {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.news-heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 48px;
}

.news-heading > p {
  max-width: 460px;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
}

.news-list,
.news-list .moahome-news-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.news-list article,
.news-list .moahome-news-list article {
  display: grid;
  min-height: 90px;
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 5fr) 44px;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--soft-line);
}

.news-list article small,
.news-list .moahome-news-list small {
  color: var(--plum-active);
  font-size: 10px;
  font-weight: 800;
}

.news-list article strong,
.news-list .moahome-news-list strong {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
}

.news-list article > span {
  justify-self: end;
  font-size: 20px;
}

.news-list .moahome-news-list p {
  grid-column: 2 / -1;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.news-list .moahome-module-empty {
  min-height: 90px;
  padding: 30px 0;
  border-bottom: 1px solid var(--soft-line);
  color: var(--muted);
}

.board-empty-copy {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

/* Location */
.location {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.location-facts {
  padding: clamp(78px, 8vw, 128px) clamp(28px, 5vw, 76px);
}

.location-intro {
  max-width: 500px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.location-facts dl {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--ink);
}

.location-facts dl > div {
  display: grid;
  min-height: 76px;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--soft-line);
}

.location-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.location-facts dd {
  display: grid;
  gap: 3px;
  font-size: 14px;
  font-weight: 700;
}

.location-facts dd small {
  color: var(--plum-active);
  font-size: 9px;
}

.navigation-actions {
  margin-top: 28px;
}

.navigation-actions > p {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.navigation-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.navigation-rail a {
  min-height: 44px;
  place-content: center;
  border: 1px solid var(--soft-line);
  font-size: 11px;
  font-weight: 750;
}

.map-link {
  margin-top: 28px;
  color: var(--plum-active);
}

.location-demo-note {
  max-width: 520px;
  margin-top: 26px;
  padding: 15px 16px;
  border-left: 3px solid var(--plum-active);
  color: var(--muted);
  background: var(--eggshell);
  font-size: 11px;
}

.location-demo-note strong {
  display: block;
  color: var(--plum);
}

.map-shell {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #d3cfca;
}

.map-shell[data-moahome-map-state="ready"] {
  min-height: 420px;
  padding: 24px;
  background: var(--eggshell);
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 50px;
  color: var(--surface);
  background: var(--plum);
  text-align: center;
}

.map-grid {
  position: absolute;
  inset: -20%;
  background-image: linear-gradient(rgba(250, 247, 241, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 247, 241, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: rotate(-8deg);
}

.map-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 8px;
  background: linear-gradient(90deg, rgba(139, 137, 135, 0.25), rgba(250, 247, 241, 0.55), rgba(139, 137, 135, 0.25));
}

.map-fallback p,
.map-fallback strong,
.map-fallback small {
  position: relative;
  z-index: 2;
}

.map-fallback p {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.map-fallback strong {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 90px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.map-fallback small {
  margin-top: 22px;
  color: rgba(250, 247, 241, 0.66);
  font-size: 11px;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(300px, 2fr) auto;
  align-items: start;
  gap: 48px;
  padding: 70px var(--gutter) 28px;
  color: var(--surface);
  background: #251421;
}

.footer-brand {
  display: inline-grid;
  line-height: 1;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
}

.footer-brand span {
  margin-top: 6px;
  color: rgba(250, 247, 241, 0.54);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.site-footer > div > p {
  max-width: 320px;
  margin-top: 20px;
  color: rgba(250, 247, 241, 0.56);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-top: 6px;
}

.site-footer nav a {
  min-height: 44px;
  font-size: 12px;
  font-weight: 700;
}

.footer-legal {
  grid-column: 1 / -1;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 247, 241, 0.14);
  color: rgba(250, 247, 241, 0.48);
  font-size: 10px;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }

  .button-primary:hover {
    background: var(--plum-active);
  }

  .text-link:hover,
  .ledger-action:hover,
  .map-link:hover {
    color: var(--plum-active);
  }

  .outline-submit:hover {
    color: var(--surface);
    background: var(--plum);
  }

  .style-tabs button:hover {
    color: var(--surface);
    background: rgba(250, 247, 241, 0.05);
  }
}

@media (max-width: 1180px) {
  .service-row {
    grid-template-columns: 36px minmax(150px, 0.85fr) minmax(300px, 1.15fr);
  }

  .service-row dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-row dl div {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }

  .service-row dd {
    margin-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr 1.5fr;
  }

  .site-footer > .button {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
    --section-pad: 84px;
    --demo-height: 28px;
  }

  body {
    font-size: 16px;
  }

  main > section[id],
  main div[id] {
    scroll-margin-top: 88px;
  }

  .demo-notice {
    gap: 7px;
    padding-inline: 10px;
    font-size: 9px;
  }

  .demo-notice strong {
    font-size: 7px;
  }

  .site-header[data-navigation-pattern="glass-dock"],
  .site-header[data-navigation-pattern="glass-dock"].is-scrolled {
    top: calc(var(--demo-height) + 7px);
    width: calc(100% - 16px);
    min-height: 58px;
    grid-template-columns: 1fr auto !important;
    padding: 0 9px 0 14px;
    color: var(--ink);
    background: rgba(250, 247, 241, 0.9);
  }

  .site-header .brand strong {
    font-size: 18px;
  }

  .site-header .brand small {
    display: none;
  }

  .site-header[data-navigation-pattern="glass-dock"].is-scrolled .mh-customer-nav-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .mh-customer-nav-dock {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px;
    border-radius: 10px;
  }

  .mh-customer-nav-dock a {
    min-height: 56px;
    border-radius: 7px;
  }

  .mh-customer-nav-dock a[data-booking-provider="moabooking"] {
    color: var(--surface);
    background: var(--plum);
  }

  .mh-customer-nav-dock a[data-booking-provider="moabooking"] small {
    color: rgba(250, 247, 241, 0.58);
  }

  .moahome-module-launchers {
    display: none !important;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: calc(var(--demo-height) + 82px);
  }

  .hero-copy {
    min-height: 520px;
    padding: 58px var(--gutter) 52px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.04;
  }

  .hero-summary {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-fact {
    margin-top: 28px;
  }

  .hero-media {
    min-height: 390px;
    aspect-ratio: 4 / 5;
  }

  .hero-media img {
    width: 108%;
    height: 108%;
    object-position: 72% center;
  }

  .mirror-seam {
    top: auto;
    right: 20%;
    bottom: 0;
    left: auto;
    height: 390px;
  }

  .hero-caption {
    right: 20px;
    bottom: 16px;
  }

  .section-heading h2,
  .styles-heading h2,
  .designers-heading h2,
  .first-visit h2,
  .booking-panel h2,
  .consultation-panel h2,
  .news h2,
  .location h2 {
    font-size: clamp(38px, 10vw, 50px);
  }

  .services-heading,
  .styles-heading,
  .designers-heading,
  .first-visit-intro,
  .news-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-heading > p:last-child,
  .styles-heading > p,
  .designers-heading > p:last-child,
  .first-visit-intro > p,
  .news-heading > p {
    justify-self: start;
    font-size: 14px;
  }

  .services-layout {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding-top: 42px;
  }

  .services-layout::before {
    display: none;
  }

  .services-media {
    position: static;
    order: 2;
  }

  .services-media img {
    aspect-ratio: 16 / 10;
  }

  .service-ledger {
    order: 1;
  }

  .service-row {
    min-height: 0;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 26px 0;
  }

  .service-number {
    grid-row: 1 / 3;
  }

  .service-row dl {
    grid-column: 2;
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .service-row dl div {
    grid-template-columns: 78px 1fr;
  }

  .styles-heading {
    padding-bottom: 38px;
  }

  .style-stage {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .style-tabs {
    order: 1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 1fr;
    overflow-x: auto;
  }

  .style-tabs button {
    min-width: 78px;
    min-height: 64px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2px;
    padding: 10px 8px;
    border-right: 1px solid var(--light-line);
    text-align: center;
  }

  .style-tabs button::before {
    top: auto;
    right: 0;
    bottom: 0;
    width: auto;
    height: 3px;
    transform: scaleX(0);
  }

  .style-tabs button[aria-selected="true"]::before {
    transform: scaleX(1);
  }

  .style-tabs button span {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 750;
  }

  .style-figure {
    order: 2;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border: 0;
  }

  .style-figure img {
    min-height: 0;
  }

  .style-figure figcaption {
    right: 20px;
    bottom: 24px;
    left: 20px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .style-figure figcaption span {
    bottom: 56px;
  }

  .style-figure figcaption strong {
    font-size: 44px;
  }

  .style-figure figcaption p {
    max-width: 340px;
    justify-self: start;
    font-size: 12px;
  }

  .role-gallery {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 42px;
  }

  .role-card {
    grid-template-columns: minmax(112px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .role-card figure,
  .role-cut figure,
  .role-color figure,
  .role-style figure {
    aspect-ratio: 4 / 5;
  }

  .role-card > div {
    grid-template-columns: 42px 1fr;
  }

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

  .demo-copy {
    text-align: left;
  }

  .visit-media {
    width: calc(100% - (var(--gutter) * 2));
    margin-top: 38px;
    aspect-ratio: 16 / 10;
  }

  .visit-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 38px;
    padding-top: 0;
    padding-left: 48px;
  }

  .visit-steps::before {
    top: 8px;
    right: auto;
    bottom: 8px;
    left: 25px;
    width: 1px;
    height: auto;
  }

  .visit-steps li,
  .visit-steps li:not(:first-child) {
    min-height: 132px;
    padding: 0 0 28px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .visit-steps li + li {
    padding-top: 24px;
  }

  .visit-steps li::before {
    top: 4px;
    left: -28px;
  }

  .visit-steps li + li::before {
    top: 28px;
  }

  .visit-steps p {
    max-width: none;
  }

  .conversion {
    grid-template-columns: 1fr;
  }

  .booking-panel,
  .consultation-panel {
    padding: 78px var(--gutter);
  }

  .booking-preview li {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .booking-preview small {
    grid-column: 2;
    text-align: left;
  }

  .consultation-fields,
  .consultation-fields.moahome-module-field-grid {
    grid-template-columns: 1fr;
  }

  .consultation-fields .field-wide,
  .consultation-fields .moahome-module-field-textarea {
    grid-column: auto;
  }

  .news-list article,
  .news-list .moahome-news-list article {
    min-height: 84px;
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    gap: 10px;
  }

  .news-list article strong,
  .news-list .moahome-news-list strong {
    font-size: 17px;
  }

  .location {
    grid-template-columns: 1fr;
  }

  .location-facts {
    padding: 78px var(--gutter);
  }

  .map-shell {
    min-height: 440px;
  }

  .map-fallback strong {
    font-size: clamp(48px, 15vw, 68px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px var(--gutter) 24px;
  }

  .site-footer nav {
    border-top: 1px solid rgba(250, 247, 241, 0.14);
    border-bottom: 1px solid rgba(250, 247, 241, 0.14);
  }

  .site-footer > .button {
    grid-column: auto;
    justify-self: stretch;
  }

  .footer-legal {
    margin-top: 10px;
  }
}

@media (max-width: 430px) {
  .hero-copy {
    min-height: 500px;
  }

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

  .hero-media,
  .mirror-seam {
    min-height: 360px;
    height: 360px;
  }

  .service-row > div > p {
    font-size: 12px;
  }

  .style-tabs button {
    min-width: 74px;
  }

  .role-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .role-card dl div {
    grid-template-columns: 68px 1fr;
    font-size: 11px;
  }

  .location-facts dl > div {
    grid-template-columns: 80px 1fr;
  }
}

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

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

  .hero-media img {
    animation: none;
    transform: none;
  }

  .js .reveal,
  .js .reveal.is-visible,
  .style-figure {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (forced-colors: active) {
  .button,
  .outline-submit,
  .style-tabs button,
  .site-header[data-navigation-pattern="glass-dock"] {
    border: 1px solid CanvasText;
  }

  .mirror-seam,
  .map-grid,
  .map-seam {
    display: none;
  }
}
