/**
 * How to Finish an Inkle Band - Scoped Route Styles
 *
 * Implements approved S016 design across desktop (1536基准) and mobile (955基准)
 * viewports, preserving signature details, layer composites, and typography.
 */

:root {
  --finishing-paper: #f7f6f2;
  --finishing-ink: #14263c;
  --finishing-blue: #173b63;
  --finishing-gold: #b17a24;
  --finishing-gold-line: #a9772e;
  --finishing-line: #ded9cf;
  --finishing-card-bg: rgba(250, 249, 246, 0.45);
  --finishing-card-hover: rgba(255, 255, 255, 0.85);
  --finishing-card-selected: #ffffff;
  --finishing-shadow: 0 6px 24px rgba(20, 38, 60, 0.08);
}

/* Base Page Setup */
body.finishing-guide-page {
  background-color: var(--finishing-paper);
  color: var(--finishing-ink);
  font-family: var(--serif, "Fraunces", Georgia, serif);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.finishing-canvas-wrap {
  width: 100%;
  background: var(--finishing-paper);
  overflow-x: clip;
}

/* Accessibility utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   DESKTOP COMPOSITION (min-width: 861px)
   ========================================================================== */
@media (min-width: 861px) {
  .finishing-desktop-hero {
    display: block !important;
  }
  .finishing-mobile-hero {
    display: none !important;
  }
  .finishing-desktop-choices {
    display: block !important;
  }
  .finishing-mobile-choices {
    display: none !important;
  }
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   MOBILE COMPOSITION (max-width: 860px)
   ========================================================================== */
@media (max-width: 860px) {
  .finishing-desktop-hero {
    display: none !important;
  }
  .finishing-mobile-hero {
    display: block !important;
  }
  .finishing-desktop-choices {
    display: none !important;
  }
  .finishing-mobile-choices {
    display: block !important;
  }
}

/* --------------------------------------------------------------------------
   Desktop Hero (1536x535)
   -------------------------------------------------------------------------- */
.finishing-desktop-hero {
  position: relative;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  aspect-ratio: 1536 / 535;
  container-type: inline-size;
  background: var(--finishing-paper);
  overflow: hidden;
}

/* Layer D01: Desktop hero right composite art */
.desktop-hero-art {
  position: absolute;
  left: 44.2708%;
  top: 10.2804%;
  width: 55.7292%;
  height: 89.7196%;
  z-index: 1;
  pointer-events: none;
}

.desktop-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Layer D02: Desktop left woven edge */
.desktop-hero-woven {
  position: absolute;
  left: 0;
  top: 28.972%;
  width: 3.9063%;
  height: 53.271%;
  z-index: 2;
  pointer-events: none;
}

.desktop-hero-woven img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Desktop Header Navigation */
.desktop-nav {
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 10.467%;
  background: #fbfaf7;
  border-bottom: 1px solid #ddd8ce;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.desktop-brand {
  position: absolute;
  left: 9.8%;
  top: 35%;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 1cqw;
  font-weight: 400;
  color: var(--finishing-ink);
  text-decoration: none;
}

.desktop-brand:hover {
  color: var(--finishing-gold);
}

.desktop-nav-links {
  position: absolute;
  left: 24%;
  top: 36%;
  width: 34%;
  display: flex;
  justify-content: flex-start;
  gap: 2.8cqw;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 1cqw;
  z-index: 11;
}

.desktop-nav-link {
  color: var(--finishing-ink);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.3cqw;
}

.desktop-nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--finishing-gold);
}

.desktop-nav-link:hover {
  color: var(--finishing-gold);
}

.desktop-nav-actions {
  position: absolute;
  right: 2.7%;
  top: 25%;
  display: flex;
  align-items: center;
  gap: 1.5cqw;
  z-index: 12;
}

.desktop-icon-btn {
  background: none;
  border: none;
  padding: 0.3cqw;
  cursor: pointer;
  color: var(--finishing-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-icon-btn svg {
  width: 1.25cqw;
  height: 1.25cqw;
  stroke: var(--finishing-ink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-icon-btn:hover svg {
  stroke: var(--finishing-gold);
}

/* Desktop Breadcrumb */
.desktop-crumb {
  position: absolute;
  z-index: 4;
  left: 9.3%;
  top: 15.2%;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 0.9cqw;
  color: #85827d;
  display: flex;
  align-items: center;
  gap: 0.5cqw;
}

.desktop-crumb a {
  color: #85827d;
  text-decoration: none;
}

.desktop-crumb a:hover {
  color: var(--finishing-ink);
}

/* Desktop Eyebrow */
.desktop-eyebrow {
  position: absolute;
  z-index: 4;
  left: 9.4%;
  top: 23.6%;
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 0.78cqw;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--finishing-ink);
  font-weight: 600;
}

/* Desktop Gold Accent Line */
.desktop-gold-line {
  position: absolute;
  z-index: 4;
  left: 9.4%;
  top: 29%;
  width: 1.7%;
  height: 0.2cqw;
  min-height: 2px;
  background: var(--finishing-gold-line);
}

/* Desktop Heading */
.desktop-heading {
  position: absolute;
  z-index: 4;
  left: 9.3%;
  top: 32%;
  width: 37%;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 5.25cqw;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--finishing-ink);
  margin: 0;
}

/* Desktop Intro */
.desktop-intro {
  position: absolute;
  z-index: 4;
  left: 9.4%;
  top: 66%;
  width: 36%;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 1.27cqw;
  line-height: 1.4;
  color: var(--finishing-ink);
  margin: 0;
}

/* Desktop CTA Button */
.desktop-cta-btn {
  position: absolute;
  z-index: 4;
  left: 9.4%;
  top: 80.5%;
  width: 25.3%;
  height: 12.3%;
  background: var(--finishing-blue);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5cqw;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 1.45cqw;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(23, 59, 99, 0.2);
  transition: background 0.15s ease, transform 0.15s ease;
}

.desktop-cta-btn:hover {
  background: #112d4d;
  transform: translateY(-1px);
}

.desktop-cta-btn svg {
  width: 1.8cqw;
  height: 1.8cqw;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Desktop Choices (1536x489)
   -------------------------------------------------------------------------- */
.finishing-desktop-choices {
  position: relative;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  aspect-ratio: 1536 / 489;
  container-type: inline-size;
  background: var(--finishing-paper);
  overflow: hidden;
}

.desktop-section-title {
  position: absolute;
  z-index: 2;
  left: 9.3%;
  top: 2%;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 2.85cqw;
  line-height: 1.05;
  font-weight: 600;
  color: var(--finishing-ink);
  margin: 0;
}

.desktop-section-line {
  position: absolute;
  z-index: 2;
  left: 9.4%;
  top: 12.3%;
  width: 1.7%;
  height: 0.2cqw;
  min-height: 2px;
  background: var(--finishing-gold-line);
}

.desktop-section-title-two {
  top: 53.4%;
}

.desktop-section-line-two {
  top: 63.8%;
}

/* Desktop Choice Cards (Interactive Buttons) */
.desktop-choice-card {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--finishing-line);
  border-radius: 5px;
  background: var(--finishing-card-bg);
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: all 0.18s ease;
  overflow: hidden;
}

.desktop-choice-card:hover {
  background: var(--finishing-card-hover);
  border-color: var(--finishing-gold);
  transform: translateY(-1px);
}

.desktop-choice-card.is-selected {
  background: var(--finishing-card-selected);
  border: 2px solid var(--finishing-blue);
  box-shadow: 0 4px 18px rgba(23, 59, 99, 0.16);
}

.desktop-choice-card:focus-visible {
  outline: 3px solid rgba(208, 160, 57, 0.85);
  outline-offset: 2px;
}

.desktop-choice-card .card-thumb {
  position: absolute;
  left: 2%;
  top: 5%;
  height: 90%;
  object-fit: cover;
  border-radius: 3px;
  pointer-events: none;
}

.desktop-choice-card .card-label {
  position: absolute;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  color: var(--finishing-ink);
  font-weight: 500;
  pointer-events: none;
}

.desktop-choice-card .card-arrow {
  position: absolute;
  right: 5%;
  top: 38%;
  color: var(--finishing-ink);
  pointer-events: none;
}

.desktop-choice-card.is-selected .card-arrow {
  color: var(--finishing-blue);
}

.desktop-choice-card .card-arrow svg {
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card 1 & 2 Positions (Stage) */
.desktop-card-still {
  left: 9.3%;
  top: 16.3%;
  width: 39.7%;
  height: 32.3%;
}
.desktop-card-still .card-thumb {
  width: 45%;
}
.desktop-card-still .card-label {
  left: 51%;
  top: 38%;
  font-size: 1.8cqw;
}
.desktop-card-still .card-arrow svg {
  width: 1.8cqw;
  height: 1.8cqw;
}

.desktop-card-off {
  left: 50.7%;
  top: 16.3%;
  width: 40%;
  height: 32.3%;
}
.desktop-card-off .card-thumb {
  width: 48%;
}
.desktop-card-off .card-label {
  left: 54%;
  top: 38%;
  font-size: 2.1cqw;
}
.desktop-card-off .card-arrow svg {
  width: 1.8cqw;
  height: 1.8cqw;
}

/* Card 3, 4, 5 Positions (Project) */
.desktop-card-key {
  left: 9.3%;
  top: 70%;
  width: 26.3%;
  height: 27%;
}
.desktop-card-key .card-thumb {
  width: 53%;
}
.desktop-card-key .card-label {
  left: 59%;
  top: 38%;
  font-size: 1.8cqw;
}
.desktop-card-key .card-arrow svg {
  width: 1.5cqw;
  height: 1.5cqw;
}

.desktop-card-strap {
  left: 37.1%;
  top: 70%;
  width: 26.3%;
  height: 27%;
}
.desktop-card-strap .card-thumb {
  width: 53%;
}
.desktop-card-strap .card-label {
  left: 59%;
  top: 38%;
  font-size: 1.8cqw;
}
.desktop-card-strap .card-arrow svg {
  width: 1.5cqw;
  height: 1.5cqw;
}

.desktop-card-bookmark {
  left: 64.4%;
  top: 70%;
  width: 26.3%;
  height: 27%;
}
.desktop-card-bookmark .card-thumb {
  width: 53%;
}
.desktop-card-bookmark .card-label {
  left: 57.5%;
  top: 38%;
  font-size: 1.5cqw;
}
.desktop-card-bookmark .card-arrow svg {
  width: 1.5cqw;
  height: 1.5cqw;
}

/* --------------------------------------------------------------------------
   Mobile Hero (955x965)
   -------------------------------------------------------------------------- */
.finishing-mobile-hero {
  position: relative;
  width: 100%;
  max-width: 955px;
  margin: 0 auto;
  aspect-ratio: 955 / 965;
  container-type: inline-size;
  background: var(--finishing-paper);
  overflow: hidden;
}

/* Layer M02: Mobile woven right edge */
.mobile-hero-woven {
  position: absolute;
  left: 85.34%;
  top: 0;
  width: 14.66%;
  height: 55.96%;
  z-index: 1;
  pointer-events: none;
}
.mobile-hero-woven img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Layer M01: FINISH lettering (overlapping M02) */
.mobile-hero-finish {
  position: absolute;
  left: 68.06%;
  top: 36.27%;
  width: 31.94%;
  height: 18.13%;
  z-index: 3;
  pointer-events: none;
}
.mobile-hero-finish img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Layer M03: Mobile photo base */
.mobile-hero-photo {
  position: absolute;
  left: 7.33%;
  top: 58.96%;
  width: 81.68%;
  height: 29.22%;
  z-index: 2;
  pointer-events: none;
}
.mobile-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Layers M04a, M04b, M04c: Non-parallel three-part edges */
.mobile-hero-edge-left {
  position: absolute;
  left: 0;
  top: 51.81%;
  width: 15.39%;
  height: 19.69%;
  z-index: 4;
  pointer-events: none;
}
.mobile-hero-edge-left img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.mobile-hero-edge-center {
  position: absolute;
  left: 15.39%;
  top: 54.72%;
  width: 49.53%;
  height: 16.79%;
  z-index: 4;
  pointer-events: none;
}
.mobile-hero-edge-center img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.mobile-hero-edge-right {
  position: absolute;
  left: 64.92%;
  top: 51.81%;
  width: 35.08%;
  height: 19.69%;
  z-index: 4;
  pointer-events: none;
}
.mobile-hero-edge-right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Layer M05: Lower-right brush corner */
.mobile-hero-corner {
  position: absolute;
  left: 82.72%;
  top: 81.87%;
  width: 17.28%;
  height: 18.13%;
  z-index: 5;
  pointer-events: none;
}
.mobile-hero-corner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Mobile Header */
.mobile-header {
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 9%;
  background: linear-gradient(to right, rgba(250, 249, 246, 0.98) 0 85.3%, transparent 85.3% 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5% 0 14.45%;
  box-sizing: border-box;
}

.mobile-brand-link {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  text-decoration: none;
  color: var(--finishing-ink);
}

/* Layer M13: Mobile brand mark */
.mobile-brand-mark {
  width: 5.86cqw;
  height: 5.86cqw;
  display: block;
  object-fit: contain;
}

.mobile-brand-title {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 2.25cqw;
  font-weight: 600;
  color: var(--finishing-ink);
}

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 4.8cqw;
  height: 3.5cqw;
}

.mobile-menu-btn .hamburger-bar {
  display: block;
  width: 100%;
  height: 0.35cqw;
  min-height: 2px;
  background-color: var(--finishing-blue);
  border-radius: 1px;
}

/* Mobile Hero Content */
.mobile-guide-eyebrow {
  position: absolute;
  z-index: 5;
  left: 15.2%;
  top: 11.7%;
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 1.55cqw;
  letter-spacing: 0.35em;
  color: #6e6a63;
  text-transform: uppercase;
  font-weight: 600;
}

.mobile-heading {
  position: absolute;
  z-index: 5;
  left: 15.1%;
  top: 16.5%;
  width: 57%;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 7.7cqw;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--finishing-ink);
  margin: 0;
}

/* Layer M14: Mobile gold brush underline */
.mobile-title-brush {
  position: absolute;
  z-index: 5;
  left: 14.45%;
  top: 32.12%;
  width: 11.52%;
  height: 3.21%;
  pointer-events: none;
}
.mobile-title-brush img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.mobile-body-copy {
  position: absolute;
  z-index: 5;
  left: 15.4%;
  top: 36.3%;
  width: 52%;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 2.45cqw;
  line-height: 1.31;
  color: var(--finishing-ink);
  margin: 0;
}

.mobile-cta-btn {
  position: absolute;
  z-index: 6;
  left: 15.4%;
  top: 47%;
  width: 49.2%;
  height: 7.46%;
  background: var(--finishing-blue);
  color: #ffffff;
  border: none;
  border-radius: 0.7cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2cqw;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 3.15cqw;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(23, 59, 99, 0.2);
}

.mobile-cta-btn svg {
  width: 4.2cqw;
  height: 4.2cqw;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Mobile Choices (955x722)
   -------------------------------------------------------------------------- */
.finishing-mobile-choices {
  position: relative;
  width: 100%;
  max-width: 955px;
  margin: 0 auto;
  aspect-ratio: 955 / 722;
  container-type: inline-size;
  background: var(--finishing-paper);
  overflow: hidden;
}

/* Layer M06: Step 1 badge */
.mobile-badge-one {
  position: absolute;
  left: 5.76%;
  top: 0;
  width: 15.71%;
  height: 10.53%;
  z-index: 3;
  pointer-events: none;
}
.mobile-badge-one img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Layer M07: Step 2 badge */
.mobile-badge-two {
  position: absolute;
  left: 5.76%;
  top: 46.4%;
  width: 15.71%;
  height: 17.31%;
  z-index: 3;
  pointer-events: none;
}
.mobile-badge-two img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.mobile-section-heading {
  position: absolute;
  left: 23.5%;
  top: 3%;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 4.35cqw;
  line-height: 1.05;
  font-weight: 600;
  color: var(--finishing-ink);
  margin: 0;
}

.mobile-section-heading-two {
  top: 54.5%;
}

/* Mobile Choice Cards */
.mobile-choice-card {
  position: absolute;
  border: 1px solid #ded9cf;
  border-radius: 1cqw;
  background: var(--finishing-card-bg);
  z-index: 2;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: all 0.18s ease;
  overflow: hidden;
}

.mobile-choice-card:hover {
  background: var(--finishing-card-hover);
  border-color: var(--finishing-gold);
}

.mobile-choice-card.is-selected {
  background: var(--finishing-card-selected);
  border: 2px solid var(--finishing-blue);
  box-shadow: 0 4px 16px rgba(23, 59, 99, 0.16);
}

.mobile-choice-card:focus-visible {
  outline: 3px solid rgba(208, 160, 57, 0.85);
  outline-offset: 2px;
}

.mobile-choice-card .card-thumb {
  position: absolute;
  object-fit: cover;
  border-radius: 0.6cqw;
  pointer-events: none;
}

.mobile-choice-card .card-label {
  position: absolute;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  color: var(--finishing-ink);
  font-weight: 500;
  pointer-events: none;
}

.mobile-choice-card .card-arrow {
  position: absolute;
  color: var(--finishing-ink);
  pointer-events: none;
}

.mobile-choice-card.is-selected .card-arrow {
  color: var(--finishing-blue);
}

.mobile-choice-card .card-arrow svg {
  display: block;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile Stage Cards (Still / Off) */
.mobile-card-still {
  left: 7.33%;
  top: 11.08%;
  width: 85.34%;
  height: 18.28%;
}
.mobile-card-still .card-thumb {
  left: 3.2%;
  top: 15%;
  width: 28.8%;
  height: 67%;
}
.mobile-card-still .card-label {
  left: 38%;
  top: 35%;
  font-size: 3.6cqw;
}
.mobile-card-still .card-arrow {
  right: 5%;
  top: 36%;
}
.mobile-card-still .card-arrow svg {
  width: 2.5cqw;
  height: 2.5cqw;
}

.mobile-card-off {
  left: 7.33%;
  top: 32.3%;
  width: 85.34%;
  height: 18.7%;
}
.mobile-card-off .card-thumb {
  left: 3.2%;
  top: 15%;
  width: 28.8%;
  height: 69%;
}
.mobile-card-off .card-label {
  left: 38%;
  top: 35%;
  font-size: 3.6cqw;
}
.mobile-card-off .card-arrow {
  right: 5%;
  top: 36%;
}
.mobile-card-off .card-arrow svg {
  width: 2.5cqw;
  height: 2.5cqw;
}

/* Mobile Project Cards (Key fob / Strap / Bookmark) */
.mobile-card-col {
  height: 29.6%;
}
.mobile-card-col .card-thumb {
  left: 8.5%;
  top: 8%;
  width: 83%;
  height: 44%;
}
.mobile-card-col .card-label {
  bottom: 12%;
  font-size: 3.2cqw;
}
.mobile-card-col .card-arrow {
  bottom: 13%;
}
.mobile-card-col .card-arrow svg {
  width: 2cqw;
  height: 2cqw;
}

.mobile-card-key {
  left: 7.33%;
  top: 66.48%;
  width: 27.5%;
}
.mobile-card-key .card-label {
  left: 14%;
}
.mobile-card-key .card-arrow {
  right: 12%;
}

.mobile-card-strap {
  left: 36.1%;
  top: 66.48%;
  width: 27.5%;
}
.mobile-card-strap .card-label {
  left: 18%;
}
.mobile-card-strap .card-arrow {
  right: 12%;
}

.mobile-card-bookmark {
  left: 64.9%;
  top: 66.48%;
  width: 27.8%;
}
.mobile-card-bookmark .card-label {
  left: 12%;
}
.mobile-card-bookmark .card-arrow {
  right: 10%;
}

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
}

.mobile-nav-drawer[hidden] {
  display: none !important;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 38, 60, 0.45);
  backdrop-filter: blur(2px);
}

.mobile-nav-panel {
  position: relative;
  width: min(320px, 85vw);
  height: 100%;
  background: #ffffff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--finishing-line);
}

.mobile-nav-top .mobile-brand-link {
  font-size: 16px;
}

.mobile-nav-top .mobile-brand-mark {
  width: 28px;
  height: 28px;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--finishing-ink);
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.mobile-nav-item {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 18px;
  color: var(--finishing-ink);
  text-decoration: none;
  padding: 8px 4px;
}

.mobile-nav-item.active {
  color: var(--finishing-gold);
  font-weight: 600;
}

.mobile-nav-item:hover {
  color: var(--finishing-gold);
}

@media (max-width: 480px) {
  .mobile-guide-eyebrow { font-size: 10px; }
  .mobile-header .mobile-brand-title { font-size: 13px; }
  .mobile-menu-btn { align-self: flex-start; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 4px 11px 18px; box-sizing: border-box; }
  .mobile-menu-btn .hamburger-bar { width: 20px; }
  .mobile-body-copy { left: 15.4%; top: 35.8%; width: 56%; font-size: 12px; line-height: 1.1; }
  .mobile-hero-finish { left: 72%; top: 38%; width: 28%; height: 16%; }
  .mobile-cta-btn { top: 46.5%; min-height: 44px; font-size: 13px; }
  .mobile-hero-edge-center { top: 58%; }
  .mobile-card-still .card-label, .mobile-card-off .card-label { font-size: 14px; }
  .mobile-card-col .card-label { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   Recommendation Section (Shared & Semantic)
   -------------------------------------------------------------------------- */
.finishing-recommendation-section {
  width: min(1200px, calc(100% - 32px));
  margin: 32px auto 48px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--finishing-line);
  border-radius: 12px;
  box-shadow: var(--finishing-shadow);
  box-sizing: border-box;
}

.selector-status-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #ebe6dc;
}

.status-badge {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f0eee9;
  color: #6a665e;
  border: 1px solid #ddd7cc;
}

.status-badge.status-active {
  background: #eef4fb;
  color: var(--finishing-blue);
  border-color: #bcd0e6;
}

.status-arrow {
  color: #a49f96;
}

.selector-instruction-text {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 14px;
  color: #5c646d;
  margin: 0;
  width: 100%;
}

.recommendation-placeholder {
  text-align: center;
  padding: 40px 20px;
  background: #fbfaf7;
  border-radius: 8px;
  border: 1px dashed #dcd6cb;
}

.placeholder-title {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 22px;
  color: var(--finishing-ink);
  margin: 0 0 8px;
}

.placeholder-text {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 15px;
  color: #59636c;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.recommendation-active-panel {
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.recommendation-header {
  margin-bottom: 28px;
}

.recommendation-eyebrow {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--finishing-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.recommendation-heading {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: clamp(24px, 3.2vw, 34px);
  color: var(--finishing-ink);
  margin: 0 0 12px;
  line-height: 1.15;
}

.recommendation-overview {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 17px;
  line-height: 1.55;
  color: #2a3d52;
  margin: 0;
}

.recommendation-steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.recommendation-step-card {
  background: #fbfaf7;
  border: 1px solid #e3dec6;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.step-badge {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--finishing-blue);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.step-title {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--finishing-ink);
  margin: 0;
}

.step-text {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: #3b454f;
  margin: 0;
  flex: 1;
}

.step-sources {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #636d77;
}

.step-sources a {
  color: var(--finishing-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recommendation-hardware-notice {
  background: #fff9ed;
  border: 1px solid #e1c899;
  border-radius: 8px;
  padding: 16px 20px;
}

.notice-text {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.5;
  color: #614418;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Sources Section
   -------------------------------------------------------------------------- */
.finishing-sources-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 64px;
  padding: 32px;
  background: var(--finishing-paper);
  border: 1px solid var(--finishing-line);
  border-radius: 12px;
  box-sizing: border-box;
}

.sources-title {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: clamp(22px, 2.8vw, 28px);
  color: var(--finishing-ink);
  margin: 0 0 8px;
}

.sources-intro {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 14.5px;
  color: #555e67;
  margin: 0 0 24px;
  line-height: 1.55;
}

.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.source-item {
  background: #ffffff;
  border: 1px solid #e5dfd4;
  border-radius: 8px;
  padding: 18px 20px;
  box-sizing: border-box;
}

.source-item-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.source-name {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--finishing-gold);
}

.source-link {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--finishing-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-link:hover {
  color: var(--finishing-blue);
}

.source-summary {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 13.5px;
  line-height: 1.55;
  color: #4a545e;
  margin: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .desktop-choice-card,
  .mobile-choice-card,
  .desktop-cta-btn,
  .mobile-cta-btn,
  .recommendation-active-panel {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
