:root {
  --lime: #f3f0e8;
  --sheet: #faf9f5;
  --charcoal: #121311;
  --slate: #66737c;
  --slate-deep: #4d5a62;
  --bronze: #9a7a42;
  --hairline: rgba(18, 19, 17, 0.16);
  --paper-shadow: #ddd8cc;
}

html {
  scroll-padding-top: 5rem;
}

body {
  color: var(--charcoal);
  background: var(--lime);
}

.demo-strip {
  min-height: 2rem;
  padding: 0.35rem 1rem;
  color: #fff;
  background: var(--slate);
  border: 0;
  font-size: 0.7rem;
  font-weight: 710;
  letter-spacing: 0.035em;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 max(1.25rem, calc((100% - 92rem) / 2));
  background: rgba(250, 249, 245, 0.96);
  border-bottom: 1px solid var(--hairline);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: var(--sheet);
  background: var(--charcoal);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand {
  font-size: 0.9rem;
}

.brand-lockup small {
  margin-top: 0.05rem;
  color: #5e625d;
  font-size: 0.62rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.site-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--slate-deep);
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.85rem 0.7rem;
  background: transparent;
  border: 1px solid var(--hairline);
}

.menu-button i {
  display: block;
  height: 1px;
  margin: 0.3rem 0;
  background: var(--charcoal);
}

.button {
  min-height: 2.875rem;
  border-radius: 0;
}

.button:hover {
  transform: none;
}

.button-primary {
  color: var(--sheet);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.button-primary:hover {
  color: var(--sheet);
  background: #2b2d29;
  border-color: #2b2d29;
}

.button-light {
  color: var(--charcoal);
  background: var(--sheet);
  border-color: var(--sheet);
}

.button-light:hover {
  color: var(--charcoal);
  background: #ece8de;
  border-color: #ece8de;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--slate-deep);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.055em;
}

.brief-hero {
  display: grid;
  min-width: 0;
  width: min(100%, 96rem);
  margin: 0 auto;
  padding: 3rem 2rem 0;
  grid-template-areas:
    "masthead scene"
    "dock dock";
  grid-template-columns: minmax(33rem, 0.95fr) minmax(0, 1.05fr);
}

.masthead {
  grid-area: masthead;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 3.5vw, 3.75rem) 9rem 1.25rem;
}

.masthead h1 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(3.3rem, 4.2vw, 4.2rem);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.07em;
  word-break: keep-all;
}

.hero-copy {
  max-width: 30rem;
  margin: 2rem 0 0;
  color: #4f5551;
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-top: 2rem;
}

.text-link {
  display: inline-flex;
  min-height: 2.875rem;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 730;
  text-underline-offset: 0.28rem;
}

.masthead-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 3rem 0 0;
  border-top: 1px solid var(--hairline);
}

.masthead-note div {
  padding: 0.8rem 1rem 0 0;
}

.masthead-note div + div {
  padding-left: 1rem;
  border-left: 1px solid var(--hairline);
}

.masthead-note dt {
  color: #565c57;
  font-size: 0.62rem;
}

.masthead-note dd {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  font-weight: 720;
}

.hero-scene {
  position: relative;
  grid-area: scene;
  min-width: 0;
  height: 45rem;
  margin: 0;
  overflow: hidden;
  background: #c7cac5;
}

.hero-scene picture,
.hero-scene img {
  width: 100%;
  height: 100%;
}

.hero-scene img {
  object-fit: cover;
  object-position: 58% center;
}

.hero-scene figcaption,
.candidate-scene > figcaption,
.image-filmstrip figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.34rem 0.55rem;
  color: var(--sheet);
  background: rgba(18, 19, 17, 0.78);
  font-size: 0.6rem;
  font-weight: 710;
}

.hero-scene figcaption {
  top: 0.75rem;
  bottom: auto;
}

.brief-dock {
  position: relative;
  z-index: 4;
  grid-area: dock;
  display: grid;
  grid-template-columns: minmax(10rem, 1.15fr) repeat(5, minmax(7.5rem, 0.8fr)) minmax(10rem, 1fr);
  min-width: 0;
  gap: 1rem;
  align-items: end;
  margin: -5.5rem 2.5rem 0;
  padding: 1.35rem 1.5rem 1rem;
  background: var(--sheet);
  border-top: 3px solid var(--charcoal);
  border-bottom: 1px solid var(--brief-rule);
  box-shadow: 0 6px 0 var(--paper-shadow), 0 1.4rem 3rem rgba(44, 45, 40, 0.1);
}

.dock-heading {
  align-self: center;
}

.dock-heading span,
.dock-heading strong {
  display: block;
}

.dock-heading span {
  color: var(--slate-deep);
  font-size: var(--brief-label-size);
  font-weight: 760;
}

.dock-heading strong {
  margin-top: 0.2rem;
  font-size: 0.9375rem;
}

.dock-field > span:first-child {
  display: block;
  margin-bottom: 0.3rem;
  color: #646963;
  font-size: var(--brief-label-size);
  font-weight: 710;
}

.dock-field input,
.dock-field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.55rem 0.5rem;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #90948e;
  border-radius: 0;
  font-size: var(--brief-input-size);
  font-variant-numeric: tabular-nums;
  font-weight: 710;
}

.input-suffix {
  position: relative;
  display: block;
}

.input-suffix input {
  padding-right: 2.5rem;
}

.input-suffix i {
  position: absolute;
  right: 0.25rem;
  bottom: 0.72rem;
  color: #656a64;
  font-size: 0.66rem;
  font-style: normal;
}

.dock-actions {
  display: grid;
  gap: 0.4rem;
}

.dock-actions .button,
.save-button {
  width: 100%;
}

.save-button {
  min-height: 2.75rem;
  padding: 0.5rem;
  color: #555b56;
  background: transparent;
  border: 0;
  font-size: 0.64rem;
  font-weight: 710;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.condition-note {
  grid-column: 2 / -1;
  margin: 0;
  color: #5d625d;
  font-size: 0.64rem;
}

.section-heading h2,
.handoff-section h2 {
  margin: 0;
  font-size: clamp(2.75rem, 4.7vw, 5.1rem);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.065em;
  word-break: keep-all;
}

.briefing-section {
  display: grid;
  width: min(100% - 4rem, 92rem);
  margin: 0 auto;
  padding: clamp(8rem, 13vw, 13rem) 0 clamp(7rem, 11vw, 11rem);
  grid-template-columns: minmax(20rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 7vw, 7rem);
}

/* 1920px 이상에서는 비교·서류 표면만 조금 넓혀 여백이 본문을 압도하지 않게 한다. */
@media (min-width: 120rem) {
  .brief-hero {
    width: min(100%, 104rem);
  }

  .briefing-section {
    width: min(100% - 4rem, 100rem);
  }
}

.briefing-heading {
  align-self: center;
}

.briefing-heading > p:last-child {
  max-width: 27rem;
  margin: 1.6rem 0 0;
  color: #59605b;
  line-height: 1.8;
}

.briefing-sheet {
  min-width: 0;
  color: #f7f5ee;
  background: var(--slate-deep);
  box-shadow: 6px 6px 0 #cfd2cd;
}

.briefing-sheet > header {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.briefing-sheet > header span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  font-weight: 690;
}

.briefing-sheet > header strong {
  font-size: 0.78rem;
}

.briefing-empty {
  display: grid;
  min-height: 28rem;
  align-items: center;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.5rem;
  padding: 2rem;
}

.briefing-empty > span,
.group-number {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 720;
}

.briefing-empty h3 {
  margin: 0;
  font-size: 1.5rem;
}

.briefing-empty p {
  max-width: 31rem;
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.briefing-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.briefing-groups section {
  min-width: 0;
  min-height: 31rem;
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.briefing-groups section:last-child {
  border-right: 0;
}

.briefing-groups h3 {
  min-height: 3rem;
  margin: 1.4rem 0 1.2rem;
  font-size: 1rem;
}

.briefing-groups ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.briefing-groups li {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.briefing-groups li strong,
.briefing-groups li span,
.briefing-groups li small {
  display: block;
}

.briefing-groups li strong {
  font-size: 0.78rem;
}

.briefing-groups li span {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
}

.briefing-groups li small {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
}

.compare-section {
  padding: clamp(7rem, 11vw, 11rem) max(2rem, calc((100% - 92rem) / 2));
  background: var(--sheet);
}

.compare-heading {
  display: grid;
  min-width: 0;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr) minmax(0, auto);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.compare-heading > p {
  min-width: 0;
  margin: 0 0 0.45rem;
  color: #5a605b;
  font-size: 0.8rem;
}

.compare-heading h2 {
  overflow-wrap: anywhere;
  word-break: normal;
}

.unit-switches {
  display: flex;
  min-width: 0;
  gap: 0.6rem;
}

.unit-switches > div {
  display: flex;
  min-width: 0;
  border: 1px solid var(--hairline);
}

.unit-switches button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.65rem;
  color: #555b56;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--hairline);
  font-size: 0.7rem;
  font-weight: 720;
}

.unit-switches button:last-child {
  border-right: 0;
}

.unit-switches button[aria-pressed="true"] {
  color: var(--sheet);
  background: var(--slate-deep);
}

.compare-desk {
  display: grid;
  min-height: 38rem;
  grid-template-columns: 14rem minmax(0, 1fr) 21rem;
  background: #efede6;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  box-shadow: 0 6px 0 #e1ddd3;
}

.candidate-rail {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border-right: 1px solid var(--hairline);
}

.candidate-option {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: center;
  padding: 1.25rem;
  color: var(--charcoal);
  background: transparent;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.candidate-option:last-child {
  border-bottom: 0;
}

.candidate-option:hover {
  background: rgba(250, 249, 245, 0.72);
}

.candidate-option.is-selected {
  background: var(--sheet);
  box-shadow: inset 3px 0 0 var(--bronze);
}

.candidate-button {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
}

.candidate-content {
  pointer-events: none;
}

.candidate-content span,
.candidate-content strong,
.candidate-content small {
  display: block;
}

.candidate-content span {
  color: var(--slate-deep);
  font-size: 0.62rem;
  font-weight: 760;
}

.candidate-content strong {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.candidate-content small {
  margin-top: 0.35rem;
  color: #606660;
  font-size: 0.66rem;
}

.candidate-scene {
  position: relative;
  min-width: 0;
  min-height: 38rem;
  margin: 0;
  overflow: hidden;
  background: #c7cac5;
}

.candidate-scene > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
  transition: opacity 150ms ease;
}

.scene-caption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(250, 249, 245, 0.92);
  border-left: 3px solid var(--bronze);
}

.scene-caption > span {
  color: var(--slate-deep);
  font-size: 0.64rem;
  font-weight: 760;
}

.scene-caption strong,
.scene-caption small {
  display: block;
}

.scene-caption strong {
  font-size: 0.92rem;
}

.scene-caption small {
  margin-top: 0.12rem;
  color: #5c625d;
  font-size: 0.65rem;
}

.condition-matrix {
  margin: 0;
  background: var(--sheet);
  border-left: 1px solid var(--hairline);
}

.condition-matrix > div {
  display: grid;
  min-height: 7.6rem;
  align-content: center;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--hairline);
}

.condition-matrix > div:last-child {
  border-bottom: 0;
}

.condition-matrix dt {
  color: #646a64;
  font-size: 0.62rem;
  font-weight: 710;
}

.condition-matrix dd {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 750;
}

.condition-matrix .matrix-note {
  margin-top: 0.35rem;
  color: #59605b;
  font-size: 0.66rem;
}

.condition-matrix .matrix-note.is-adjust {
  color: #8a5a2a;
}

.condition-matrix .matrix-note.is-check {
  color: var(--slate-deep);
}

.dossier-section {
  padding: clamp(7rem, 11vw, 11rem) max(2rem, calc((100% - 92rem) / 2));
  background: var(--lime);
}

.dossier-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(12rem, 0.4fr) minmax(25rem, 1fr) minmax(16rem, 0.45fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.dossier-heading .eyebrow {
  align-self: start;
  margin-top: 0.4rem;
}

.dossier-heading > p:last-child {
  margin: 0 0 0.5rem;
}

.dossier-heading > p:last-child strong,
.dossier-heading > p:last-child span {
  display: block;
}

.dossier-heading > p:last-child strong {
  font-size: 0.82rem;
}

.dossier-heading > p:last-child span {
  margin-top: 0.3rem;
  color: #626862;
  font-size: 0.67rem;
}

.dossier-shell {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  background: var(--sheet);
  border: 1px solid var(--hairline);
  box-shadow: 6px 6px 0 var(--paper-shadow);
}

.dossier-tabs {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1rem;
  border-right: 1px solid var(--hairline);
}

.dossier-tabs::before {
  margin: 0.5rem 0 1.5rem;
  color: #666c66;
  content: "서류철 목차";
  font-size: 0.62rem;
  font-weight: 730;
}

.dossier-tabs button {
  min-height: 3.5rem;
  padding: 0 0.75rem;
  color: #5d635e;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.75rem;
  font-weight: 710;
  text-align: left;
}

.dossier-tabs button[aria-selected="true"] {
  color: var(--charcoal);
  background: #efede6;
  box-shadow: inset 3px 0 0 var(--bronze);
}

.dossier-pages {
  min-width: 0;
}

.dossier-panel {
  min-height: 42rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.image-filmstrip {
  display: grid;
  min-height: 25rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  gap: 0.5rem;
}

.image-filmstrip figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #c7cac5;
}

.image-filmstrip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-filmstrip figure:first-child img {
  object-position: 58% center;
}

.image-filmstrip figure:last-child img {
  object-position: 56% center;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  border: 1px solid var(--hairline);
  border-top: 0;
}

.spec-strip div {
  min-width: 0;
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--hairline);
}

.spec-strip div:last-child {
  border-right: 0;
}

.spec-strip dt {
  color: #666c66;
  font-size: 0.6rem;
}

.spec-strip dd {
  margin: 0.25rem 0 0;
  font-size: 0.76rem;
  font-weight: 730;
}

.decision-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.decision-columns section {
  border-top: 1px solid var(--charcoal);
}

.decision-columns h3 {
  margin: 1rem 0;
  font-size: 1rem;
}

.decision-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.decision-columns li {
  padding: 0.65rem 0 0.65rem 1.15rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.75rem;
}

.decision-columns li::before {
  float: left;
  margin-left: -1.15rem;
  color: var(--bronze);
  content: "—";
}

.page-heading {
  display: grid;
  min-height: 13rem;
  align-content: end;
  grid-template-columns: 9rem 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--charcoal);
}

.page-heading span {
  color: var(--slate-deep);
  font-size: 0.65rem;
  font-weight: 730;
}

.page-heading h3 {
  max-width: 24em;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 3rem);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.page-ledger {
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--hairline);
}

.page-ledger div {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--hairline);
}

.page-ledger dt {
  color: #626862;
  font-size: 0.7rem;
}

.page-ledger dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 720;
}

.review-list {
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.review-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--hairline);
}

.review-list li > span {
  color: var(--slate-deep);
  font-size: 0.64rem;
  font-weight: 740;
}

.review-list strong {
  font-size: 0.82rem;
}

.review-list p,
.location-memo p {
  margin: 0.25rem 0 0;
  color: #5c625d;
  font-size: 0.74rem;
}

.location-memo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.location-memo p {
  min-height: 10rem;
  margin: 0;
  padding: 1.25rem;
  background: var(--sheet);
}

.handoff-section {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, auto);
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(6rem, 9vw, 9rem) max(2rem, calc((100% - 92rem) / 2));
  color: var(--sheet);
  background: var(--charcoal);
}

.handoff-section .eyebrow {
  color: #bec7cc;
}

.handoff-section > header,
.handoff-steps,
.handoff-cta {
  min-width: 0;
}

.handoff-section h2,
.handoff-steps p,
.handoff-cta {
  overflow-wrap: anywhere;
}

.handoff-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  list-style: none;
}

.handoff-steps li {
  display: grid;
  align-items: start;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.handoff-steps li > span {
  color: #aeb9bf;
  font-size: 0.64rem;
}

.handoff-steps strong {
  font-size: 0.85rem;
}

.handoff-steps p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.handoff-cta {
  min-width: 11.5rem;
}

.site-footer {
  display: grid;
  align-items: start;
  grid-template-columns: 0.6fr 1.2fr auto;
  gap: 3rem;
  padding: 2.5rem max(2rem, calc((100% - 92rem) / 2));
  color: rgba(255, 255, 255, 0.76);
  background: #090a09;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
}

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

.site-footer strong {
  color: #fff;
  font-size: 0.86rem;
}

.site-footer p {
  max-width: 38rem;
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: flex-start;
  text-underline-offset: 0.2rem;
}

.consult-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(36rem, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--charcoal);
  background: var(--sheet);
  border: 1px solid var(--charcoal);
  border-radius: 0;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
}

html:has(.consult-dialog[open]) {
  overflow: hidden;
}

.consult-dialog::backdrop {
  background: rgba(18, 19, 17, 0.72);
}

.dialog-shell {
  margin: 0;
}

.dialog-shell > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--hairline);
}

.dialog-shell > header span {
  color: var(--slate-deep);
  font-size: 0.64rem;
  font-weight: 730;
}

.dialog-shell h2 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.dialog-close {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--charcoal);
  background: transparent;
  border: 1px solid var(--hairline);
  font-size: 1.35rem;
}

.dialog-privacy {
  margin: 0;
  padding: 0.8rem 1.5rem;
  color: #545b55;
  background: #efede6;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.68rem;
}

.dialog-content {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem;
}

.dialog-content > p {
  margin: 0 0 0.6rem;
}

.dialog-content label {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem;
  border: 1px solid var(--hairline);
  font-size: 0.76rem;
}

.dialog-content input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--charcoal);
}

.dialog-shell > footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--hairline);
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #4f5651;
  background: #d9dcd7;
  font-size: 0.75rem;
  text-align: center;
}

.live-region {
  right: 1rem;
  bottom: 1rem;
  color: var(--sheet);
  background: var(--charcoal);
  border-left-color: var(--bronze);
  border-radius: 0;
}

.no-script {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: 1rem;
  max-width: 24rem;
  padding: 1rem;
  color: var(--sheet);
  background: var(--charcoal);
  border-left: 3px solid var(--bronze);
}

.no-script p {
  margin: 0.25rem 0 0;
  font-size: 0.7rem;
}

@media (max-width: 78rem) {
  .brief-dock {
    grid-template-columns: minmax(9rem, 1fr) repeat(3, minmax(7rem, 0.8fr)) minmax(9rem, 1fr);
  }

  .dock-field:nth-of-type(4),
  .dock-field:nth-of-type(5) {
    grid-row: 2;
  }

  .dock-actions {
    grid-column: 5;
    grid-row: 1 / 3;
    align-self: center;
  }

  .condition-note {
    grid-column: 2 / 5;
  }

  .compare-desk {
    grid-template-columns: 12rem minmax(0, 1fr) 19rem;
  }

  .handoff-section {
    grid-template-columns: minmax(22rem, 0.8fr) minmax(24rem, 1fr);
  }

  .handoff-cta {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 60rem) {
  .site-header {
    padding: 0 1.25rem;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 90;
    top: 6.5rem;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - 6.5rem);
    padding: 0.75rem 1.25rem 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--sheet);
    border-bottom: 1px solid var(--hairline);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 3rem;
    padding: 0 0.5rem;
    color: var(--charcoal);
    background: transparent;
    border-bottom: 1px solid var(--hairline);
  }

  .brief-hero {
    padding: 0;
    grid-template-areas: "masthead" "scene" "dock";
    grid-template-columns: minmax(0, 1fr);
  }

  .masthead {
    padding: 5rem max(1.25rem, calc((100% - 44rem) / 2)) var(--space-10);
  }

  .hero-scene {
    height: min(70vw, 38rem);
    min-height: 32rem;
  }

  .brief-dock {
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 2rem max(1.25rem, calc((100% - 44rem) / 2));
    box-shadow: 0 6px 0 var(--paper-shadow);
  }

  .dock-heading,
  .dock-actions,
  .condition-note {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .dock-field:nth-of-type(4),
  .dock-field:nth-of-type(5) {
    grid-row: auto;
  }

  .dock-actions {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-top: 0.5rem;
  }

  .briefing-section {
    width: min(100% - 2.5rem, 44rem);
    grid-template-columns: 1fr;
  }

  .briefing-heading > p:last-child {
    max-width: 35rem;
  }

  .compare-heading {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  }

  .compare-heading > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .compare-desk {
    grid-template-columns: 12rem minmax(0, 1fr);
  }

  .condition-matrix {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }

  .condition-matrix > div {
    min-height: 8.5rem;
    border-right: 1px solid var(--hairline);
    border-bottom: 0;
  }

  .condition-matrix > div:last-child {
    border-right: 0;
  }

  .dossier-heading {
    grid-template-columns: 1fr 1fr;
  }

  .dossier-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .dossier-shell {
    grid-template-columns: 1fr;
  }

  .dossier-tabs {
    flex-direction: row;
    padding: 0;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .dossier-tabs::before {
    display: none;
  }

  .dossier-tabs button {
    min-width: max-content;
    padding: 0 1.25rem;
    border-right: 1px solid var(--hairline);
    border-bottom: 0;
    text-align: center;
  }

  .dossier-tabs button[aria-selected="true"] {
    box-shadow: inset 0 -3px 0 var(--bronze);
  }

  .handoff-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .handoff-cta {
    grid-column: auto;
  }

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

  .site-footer nav {
    grid-column: 2;
  }
}

@media (max-width: 40rem) {
  .handoff-cta { width: 100%; min-width: 0; }
  .demo-strip {
    font-size: 0.62rem;
  }

  .brand-lockup small {
    display: none;
  }

  .masthead {
    padding: 2.75rem 1rem 2rem;
  }

  .masthead h1 {
    font-size: clamp(1.35rem, 9vw, 2.3rem);
  }

  .hero-copy {
    margin-top: 1.25rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.4rem;
  }

  .text-link {
    justify-content: center;
  }

  .masthead-note {
    display: none;
  }

  .hero-scene {
    height: 34rem;
    min-height: 0;
  }

  .hero-scene img {
    object-position: center;
  }

  .brief-dock {
    grid-template-columns: 1fr;
    padding: 1.75rem 1rem;
  }

  .dock-heading,
  .dock-field,
  .dock-actions,
  .condition-note {
    grid-column: 1;
  }

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

  .briefing-section,
  .compare-section,
  .dossier-section,
  .handoff-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .briefing-section {
    width: calc(100% - 2rem);
  }

  .section-heading h2,
  .handoff-section h2 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .briefing-sheet > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .briefing-empty {
    min-height: 28rem;
    align-content: center;
    grid-template-columns: 1fr;
  }

  .briefing-empty .button {
    justify-self: start;
  }

  .briefing-groups {
    grid-template-columns: 1fr;
  }

  .briefing-groups section {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .briefing-groups section:last-child {
    border-bottom: 0;
  }

  .briefing-groups h3 {
    min-height: 0;
  }

  .compare-section,
  .dossier-section,
  .handoff-section,
  .site-footer {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .compare-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .compare-heading > p,
  .unit-switches {
    grid-column: 1;
    grid-row: auto;
  }

  .unit-switches {
    flex-wrap: wrap;
  }

  .compare-desk {
    grid-template-columns: 1fr;
  }

  .candidate-rail {
    grid-template-rows: none;
    grid-template-columns: 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .candidate-option {
    min-height: 6.8rem;
    padding: 1rem;
  }

  .candidate-option.is-selected {
    box-shadow: inset 3px 0 0 var(--bronze);
  }

  .candidate-content strong {
    margin-top: 0.45rem;
  }

  .candidate-scene {
    min-height: 28rem;
  }

  .condition-matrix {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .condition-matrix > div {
    min-height: 6.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .condition-matrix > div:last-child {
    border-bottom: 0;
  }

  .dossier-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .dossier-heading .eyebrow {
    grid-column: 1;
  }

  .dossier-tabs button {
    min-height: 3.25rem;
    padding: 0 1rem;
  }

  .dossier-panel {
    min-height: 0;
    padding: 1rem;
  }

  .image-filmstrip {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .image-filmstrip figure:first-child {
    min-height: 20rem;
  }

  .image-filmstrip figure:last-child {
    min-height: 15rem;
  }

  .spec-strip {
    grid-template-columns: 1fr 1fr;
  }

  .spec-strip div {
    border-bottom: 1px solid var(--hairline);
  }

  .spec-strip div:nth-child(2n) {
    border-right: 0;
  }

  .spec-strip div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

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

  .page-heading {
    min-height: 15rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page-ledger div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .location-memo p {
    min-height: 0;
  }

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

  .site-footer nav {
    grid-column: 1;
  }

  .consult-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100svh - 1rem);
  }

  .dialog-shell > header,
  .dialog-content,
  .dialog-shell > footer {
    padding: 1rem;
  }
}

@media (max-width: 22rem) {
  .scene-caption {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .candidate-option,
  .candidate-scene > img {
    transition-duration: 0.01ms;
  }
}
