:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --surface: #ebece2;
  --ink: #292f25;
  --muted: #565c4e;
  --line: #d5d7ca;
  --accent: #4d6041;
  --accent-hover: #394b30;
  --accent-soft: #ebf0e4;
  --white: #fffdf8;
  --limewash: url('images/foliage-background.webp');
  --shell: 1280px;
  --gutter: clamp(20px, 5vw, 92px);
  font: 100%/1.72 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
main, section[id] { scroll-margin-top: 90px; }

.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(64px, 7.2vw, 114px); }
.visually-hidden, .skip-link:not(:focus) {
  clip-path: inset(50%);
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  background: var(--paper);
}

/* Header */
.site-header {
  background: rgba(247, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; }
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border: 1.5px solid currentColor;
  color: var(--accent);
  position: relative;
  flex: none;
}
.brand-mark::before, .brand-mark::after {
  content: '';
  position: absolute;
  border: 1.5px solid currentColor;
}
.brand-mark::before { inset: 6px 6px 0 6px; border-bottom: 0; border-right: 0; }
.brand-mark::after { inset: 12px 0 6px 12px; border-right: 0; }
.brand-wordmark { display: grid; gap: 3px; line-height: 1.15; white-space: nowrap; }
.brand-wordmark b { font-size: 1.1rem; letter-spacing: .14em; font-weight: 700; }
.brand-wordmark small { font: 600 .625rem/1.15 Arial, sans-serif; letter-spacing: .14em; color: var(--muted); }
.site-navigation { display: flex; gap: clamp(18px, 2.5vw, 38px); align-items: center; }
.site-navigation a {
  position: relative;
  font-size: .9375rem;
  color: var(--muted);
  padding-block: 24px;
  white-space: nowrap;
  transition: color .2s;
}
.site-navigation a:hover, .site-navigation .current { color: var(--accent); }
.site-navigation .current::after {
  content: '';
  height: 1.5px;
  position: absolute;
  inset: auto 0 15px;
  background: currentColor;
}
.header-contact { justify-self: end; }
.menu-toggle { display: none; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.header-contact { color: var(--accent); min-height: 40px; padding: 6px 18px; font-size: .875rem; }
.header-contact:hover { color: var(--white); background: var(--accent); border-color: var(--accent); }
.button-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-glass { color: var(--white); border-color: #ffffff8c; background: #18211538; backdrop-filter: blur(4px); }
.button-glass:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 44vw, 740px);
  isolation: isolate;
  color: var(--white);
  background: #232b20;
}
.hero-image, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 52% 55%; z-index: -2; }
.hero::before {
  content: '';
  z-index: -1;
  background:
    linear-gradient(96deg, #131b12cc 0%, #151e14a3 36%, #17201645 60%, transparent 82%),
    linear-gradient(0deg, #151e1478 0%, transparent 30%);
}
.hero-inner { display: grid; align-content: center; padding-block: 64px 116px; position: relative; }
.hero-copy { max-width: 680px; }
.eyebrow {
  font: 600 .8125rem/1.5 Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: .14em;
  color: var(--accent);
}
.eyebrow:lang(en) { font-size: .75rem; letter-spacing: .22em; }
.ruled { display: flex; align-items: center; gap: 11px; }
.ruled::before { content: ''; width: 22px; height: 1px; background: currentColor; flex: none; }
.hero .eyebrow { color: #e2e8d4; font-size: .875rem; }
.hero h1 {
  margin-top: 20px;
  font-family: 'Songti SC', STSong, 'Noto Serif CJK SC', SimSun, serif;
  font-size: clamp(2.45rem, 4.4vw, 4.35rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: .04em;
}
.hero-description {
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  color: #eeede4;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero a:focus-visible { outline-color: var(--white); }
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  list-style: none;
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #ffffff30;
  max-width: 600px;
}
.hero-highlights li { display: grid; gap: 3px; }
.hero-highlights b { font-size: .9375rem; font-weight: 600; color: var(--white); letter-spacing: .03em; }
.hero-highlights span { font-size: .8125rem; color: #d8ddd0; line-height: 1.5; }
.hero-caption {
  position: absolute;
  right: 0;
  bottom: 66px;
  font-size: .8125rem;
  color: #fbf9ef;
  text-shadow: 0 1px 4px #151b12;
}
.hero-caption span { color: #dde6ca; margin-inline: 5px; }

/* Headings & Shared Section Layouts */
h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.24; font-weight: 600; letter-spacing: .02em; }
.section h2 { margin-top: 10px; }
.section-note { color: var(--muted); margin-top: 10px; max-width: 44em; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 42px); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-size: .9375rem;
  font-weight: 600;
  width: fit-content;
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--ink); }

/* Booking Card */
.booking { position: relative; margin-top: -48px; padding-bottom: clamp(48px, 5vw, 76px); z-index: 2; }
.booking-card {
  background: #fcfcf7;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: 0 14px 36px #232d1f14;
}
.booking-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6e7dc;
}
.booking-heading h2 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); margin-top: 0; }
.booking-heading p { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.booking-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #ced8c3;
  border-radius: 2px;
  white-space: nowrap;
}
.contact-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label, .field-spacer { font-size: .875rem; font-weight: 500; color: var(--ink); }
.field-spacer { visibility: hidden; user-select: none; }
.required { color: var(--accent); }
.field :is(input, textarea, select) {
  width: 100%;
  border: 1px solid #bec4b4;
  color: var(--ink);
  background: var(--white);
  border-radius: 2px;
  padding: 9px 12px;
  min-height: 46px;
  transition: border-color .2s, box-shadow .2s;
}
.field :is(input, textarea, select):focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #4d60411c;
}
.field :is(input, textarea)::placeholder { color: #7a8072; opacity: 1; }
.field textarea { resize: vertical; min-height: 96px; font-size: .9375rem; }
.field select {
  appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: right 17px center, right 12px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.booking-submit { width: 100%; min-height: 46px; }
.booking-extra {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 6px;
  color: var(--muted);
  font-size: .8125rem;
}
.booking-extra > p { flex: none; }
.inquiry-details { flex: 0 1 40rem; }
.inquiry-details summary { cursor: pointer; width: fit-content; color: var(--accent); font-weight: 500; }
.inquiry-details summary span { color: var(--muted); font-weight: 400; }
.inquiry-details .field { margin-top: 10px; }
.form-error, .form-success { border: 1px solid currentColor; padding: 10px 14px; font-size: .9375rem; border-radius: 2px; }
.form-error, .field small { color: #963e2e; }
.field small { font-size: .8125rem; }
.form-success { color: var(--accent); background: var(--accent-soft); }
.field [aria-invalid] { border-color: #963e2e; }

/* Services & Guarantees */
.services {
  background: linear-gradient(90deg, #f5f2e74a, transparent 65%), var(--limewash) right center / cover #f1e7d4;
}
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 2.8vw, 38px); }
.service {
  display: flex;
  flex-direction: column;
  background: #faf8f0;
  border: 1px solid #d6cbb7;
  box-shadow: 0 12px 34px #3e332512;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-2px); box-shadow: 0 18px 40px #3e33251a; }
.service-media { overflow: hidden; background: var(--surface); }
.service img { width: 100%; aspect-ratio: 1.9; height: auto; object-fit: cover; transition: transform .5s ease; }
.service:hover img { transform: scale(1.03); }
.service-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: clamp(22px, 2.8vw, 34px); }
.service-meta { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.service-meta span { color: #a7ab9c; margin-inline: 5px; }
.service h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.35; }
.service p, .studio-copy > p:not(.eyebrow) { color: var(--muted); }
.service-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  color: var(--accent);
  font-size: .8125rem;
}
.service-scope li {
  border: 1px solid #cfd4c4;
  background: #f4f5ee;
  border-radius: 2px;
  padding: 3px 10px;
}
.service .text-link { margin-top: auto; padding-top: 8px; }

.guarantee-panel {
  margin-top: clamp(28px, 3.6vw, 44px);
  padding: clamp(24px, 3.2vw, 40px);
  background: #faf8f0f2;
  border: 1px solid #d6cbb7;
}
.guarantee-head { margin-bottom: 24px; }
.guarantee-head h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; margin-top: 8px; }
.guarantee-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 26px; }
.guarantee-item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 7px;
}
.guarantee-index {
  font: 600 .75rem/1 Arial, sans-serif;
  letter-spacing: .16em;
  color: var(--accent);
}
.guarantee-item h4 { font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.guarantee-item p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* Selected Cases */
.cases { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px); }
.project-card { display: flex; flex-direction: column; height: 100%; }
.project-image { overflow: hidden; background: var(--surface); }
.project-image img {
  width: 100%;
  aspect-ratio: 1.5;
  height: auto;
  object-fit: cover;
}
.project-caption {
  display: grid;
  gap: 10px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
  flex: 1;
  align-content: start;
}
.project-meta { color: var(--muted); font-size: .8125rem; }
.project-meta span { color: var(--accent); padding-inline: 3px; }
.project-caption h3 { font-size: clamp(1.25rem, 1.75vw, 1.55rem); line-height: 1.4; font-weight: 600; margin-top: 3px; }
.project-summary { color: var(--muted); font-size: .9rem; line-height: 1.68; }

/* Design Process & Architectural Drawings */
.architecture-drawings, .design-process {
  background: url('images/drafting-background.webp') right bottom / cover #f1efe6;
  border-block: 1px solid #d8d0bc;
}
.figure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.figure-card {
  display: flex;
  flex-direction: column;
  background: #fcfbf5d9;
  border: 1px solid #dad3c2;
  padding: 14px;
}
.figure-grid figure > a { display: block; overflow: hidden; background: var(--surface); cursor: zoom-in; border: 1px solid var(--line); }
.figure-grid img { width: 100%; height: auto; transition: transform .42s ease; }
.figure-grid figure > a:hover img { transform: scale(1.03); }
.figure-grid figcaption { display: flex; flex-direction: column; flex: 1; padding: 14px 4px 4px; }
.figure-step { font: 600 .75rem/1.2 Arial, sans-serif; letter-spacing: .16em; color: var(--accent); margin-bottom: 6px; }
.figure-grid h3 { font-size: 1.15rem; line-height: 1.4; font-weight: 600; }
.figure-grid figcaption > p:not(.figure-step):not(.figure-deliverable) { color: var(--muted); font-size: .925rem; margin-top: 8px; line-height: 1.68; }
.figure-deliverable {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #d2d4c5;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
  margin-block-start: 14px;
}
.figure-note { margin-top: 22px; color: var(--muted); font-size: .8125rem; }

/* Spatial Gallery */
.work {
  background: linear-gradient(110deg, #f8f7efc2, #f8f7ef82), var(--limewash) right bottom / cover #f3eee3;
}
.filters { display: flex; align-items: stretch; gap: clamp(14px, 2vw, 30px); border-bottom: 1px solid var(--line); }
.filters a {
  white-space: nowrap;
  padding: 9px 2px 10px;
  color: var(--muted);
  font-size: .9rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.filters a:hover, .filters a[aria-current] { color: var(--accent); border-color: var(--accent); font-weight: 600; }
.album-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.25vw, 16px); }
.album-photo {
  display: block;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 4 / 3;
}
.album-photo:is(:nth-child(1 of :not([hidden])), :nth-child(6 of :not([hidden]))) { grid-column: 1 / -1; aspect-ratio: 1.72; }
.album-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.album-photo::before {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(0deg, #161d14b3, transparent);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1;
  pointer-events: none;
}
.album-caption {
  position: absolute;
  inset: auto 54px 14px 16px;
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .03em;
  opacity: 0;
  translate: 0 5px;
  transition: opacity .25s ease, translate .25s ease;
  z-index: 2;
  pointer-events: none;
}
.album-photo::after {
  content: '';
  position: absolute;
  inset: auto 14px 13px auto;
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff94;
  background: linear-gradient(var(--white), var(--white)) center / 11px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 1px 11px no-repeat, #252b22b5;
  opacity: 0;
  translate: 0 4px;
  transition: opacity .22s ease, translate .22s ease;
  z-index: 2;
}
.album-photo:is(:hover, :focus-visible) img { transform: scale(1.035); }
.album-photo:is(:hover, :focus-visible)::before,
.album-photo:is(:hover, :focus-visible)::after,
.album-photo:is(:hover, :focus-visible) .album-caption { opacity: 1; translate: 0; }

@media (min-width: 761px) {
  .album-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(136px, 15.5vw, 224px); }
  .album-photo:nth-child(n of :not([hidden])) { grid-column: span 4; aspect-ratio: auto; }
  .album-photo:nth-child(1 of :not([hidden])) { grid-column: span 8; grid-row: span 2; }
  .album-photo:nth-child(5 of :not([hidden])) { grid-column: span 3; }
  .album-photo:nth-child(6 of :not([hidden])) { grid-column: span 5; }
}

/* Lightbox Image Viewer */
body:has(.image-viewer[open]) { overflow: hidden; }
.image-viewer { background: transparent; border: 0; color: var(--white); padding: 0; width: min(1080px, calc(100% - 28px)); }
.image-viewer::backdrop { background: #141c13f0; }
.viewer-panel { display: grid; gap: 12px; }
.viewer-toolbar, .viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.viewer-toolbar p { font-size: .9rem; letter-spacing: .03em; }
.viewer-controls { justify-content: center; }
.viewer-button { color: var(--white); background: #ffffff14; border: 1px solid #ffffff67; border-radius: 2px; min-height: 40px; padding: 6px 16px; }
.viewer-button:hover { background: #ffffff28; }
.viewer-button:focus-visible { outline-color: #dbe7cc; }
.viewer-image { width: 100%; max-height: 74dvh; object-fit: contain; }

/* About Studio */
.studio { position: relative; isolation: isolate; background: #454233; }
.studio::before, .studio-background { position: absolute; inset: 0; width: 100%; height: 100%; }
.studio::before { content: ''; background: linear-gradient(105deg, #261e1418, #24261b66); z-index: -1; }
.studio-background { object-fit: cover; object-position: 45% 54%; z-index: -2; }
.studio-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr); }
.studio-copy {
  grid-column: 2;
  padding: clamp(28px, 4vw, 54px);
  background: #f7f4e9f5;
  border: 1px solid #ffffff8c;
  box-shadow: 0 16px 46px #20251c38;
}
.studio-copy > p:not(.eyebrow) { margin-block: 18px 24px; line-height: 1.82; }
.studio-pillars {
  display: grid;
  gap: 14px;
  padding-block: 20px;
  margin-bottom: 24px;
  border-block: 1px solid var(--line);
}
.studio-pillars > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: baseline;
}
.studio-pillars dt { font-size: .875rem; font-weight: 700; color: var(--accent); letter-spacing: .03em; }
.studio-pillars dd { font-size: .875rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 24px 40px;
  padding-block: clamp(32px, 4vw, 48px) 26px;
}
.footer-brand { max-width: 380px; }
.footer-tagline { margin-top: 12px; font-size: .875rem; color: var(--muted); line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding-top: 6px; }
.footer-links a { font-size: .875rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 18px 26px;
  border-top: 1px solid #e3e4d8;
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.footer-legal small, .icp-link, .back-link { font-size: .8125rem; color: var(--muted); transition: color .2s; }
.icp-link:hover, .back-link:hover { color: var(--accent); }

/* Project Detail & 404 */
.project-detail { padding-bottom: clamp(56px, 6.2vw, 92px); }
.detail-heading { margin-block: 28px 34px; }
.detail-heading h1, .missing h1 {
  font-family: 'Songti SC', STSong, 'Noto Serif CJK SC', SimSun, serif;
  font-size: clamp(2.35rem, 5.2vw, 4.4rem);
  line-height: 1.2;
  font-weight: 600;
  margin-block: 12px 14px;
}
.detail-intro { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); max-width: 46em; }
.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  margin-top: 28px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}
.detail-facts dt { font-size: .78rem; color: var(--muted); letter-spacing: .08em; margin-bottom: 4px; }
.detail-facts dd { font-size: .95rem; font-weight: 600; color: var(--ink); }
.detail-image img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.detail-image figcaption { color: var(--muted); margin-top: 10px; font-size: .85rem; }
.detail-story { max-width: 740px; margin-top: 40px; }
.detail-story h2, .related h2, .detail-cta h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
.detail-story p:not(.eyebrow) { color: var(--muted); margin-top: 14px; line-height: 1.85; font-size: 1.02rem; }
.detail-cta { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 70px); }
.detail-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 36px; }
.detail-cta-box p:not(.eyebrow) { color: var(--muted); margin-top: 8px; max-width: 42em; }
.related { background: var(--surface); }
.related .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.missing { min-height: 64vh; display: grid; align-items: center; }
.missing-inner { max-width: 620px; }
.missing p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }
.missing-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .guarantee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-layout { grid-template-columns: minmax(0, .45fr) minmax(340px, 1fr); }
}

@media (max-width: 820px) {
  main, section[id] { scroll-margin-top: 80px; }
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 68px; gap: 0 9px; }
  .header-contact { grid-column: 2; grid-row: 1; min-height: 38px; padding-inline: 12px; font-size: .85rem; }
  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { width: 17px; height: 1px; display: block; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ''; position: absolute; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
  .menu-toggle[aria-expanded='true'] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded='true'] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded='true'] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .site-navigation { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 18px; }
  .site-navigation a { padding-block: 8px; }
  .site-navigation .current::after { content: none; }
  .menu-toggle:not([hidden]) + .site-navigation { border-top: 1px solid var(--line); padding-block: 10px 14px; }
  .menu-toggle[aria-expanded='false']:not([hidden]) + .site-navigation { display: none; }
}

@media (max-width: 760px) {
  .hero { min-height: 520px; }
  .hero-inner { padding-block: 52px 92px; }
  .hero-image { object-position: 60% 50%; }
  .hero::before {
    background:
      linear-gradient(90deg, #131b12d4, #171e168f 68%, #1720174d),
      linear-gradient(0deg, #151e158f, transparent 30%);
  }
  .hero-highlights { grid-template-columns: 1fr; gap: 12px; margin-top: 26px; padding-top: 16px; }
  .hero-highlights li { grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
  .section-head { align-items: start; flex-direction: column; gap: 16px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking { margin-top: -28px; }
  .hero-caption { bottom: 46px; }
  .album-photo::before, .album-caption { opacity: 1; translate: 0; }
  .studio { padding-block: clamp(180px, 38vw, 280px) 36px; }
  .studio-layout { display: block; }
  .studio-background { object-position: 43% 32%; }
  .detail-facts { grid-template-columns: 1fr; gap: 12px; }
  .related .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.85rem); }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 16px; }
  .service-list, .project-grid, .figure-grid, .guarantee-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-spacer { display: none; }
  .booking-extra { flex-direction: column; }
  .inquiry-details { flex-basis: auto; width: 100%; }
  .studio-pillars > div { grid-template-columns: 1fr; gap: 3px; }
  .footer-bottom { flex-direction: column; align-items: start; gap: 10px; }
  .detail-image img { aspect-ratio: 1.45; }
}

@media (max-width: 380px) {
  .header-inner { gap: 0 6px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand-mark { width: 29px; height: 29px; }
  .site-header .brand-wordmark b { font-size: .9375rem; letter-spacing: .11em; }
  .site-header .brand-wordmark small { font-size: .55rem; letter-spacing: .09em; }
  .menu-toggle { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
