/* ============================================================
   MADE TO ORDER v2 — /made-to-order
   Design ref: design_handoff_made_to_order/Made to Order v2.dc.html
   Tokens come from css/anou-tokens.css (loaded by base.html).
   ============================================================ */

#body.container { width: 100%; max-width: none; margin: 0; padding: 0; }

.mto { font-family: grap, system-ui, sans-serif; background: #ffffff; }
.mto a { color: #407bd9; }
.mto a:hover { color: #3568bd; }

/* ---------- hero ---------- */
.mto-hero { position: relative; }
.mto-hero video { width: 100%; height: 430px; object-fit: cover; display: block; }
.mto-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(24,30,42,.35), rgba(24,30,42,.72));
  display: flex; flex-direction: column; justify-content: center; padding: 0 56px;
}
.mto-eyebrow-light { margin: 0 0 12px 0; font-family: grap-med, sans-serif; font-size: 11px; letter-spacing: 3px; color: #85A9E4; }
.mto-hero h1 { margin: 0 0 14px 0; font-family: grotesk, sans-serif; font-weight: 900; font-size: 40px; line-height: 1.15; color: #ffffff; max-width: 720px; }
.mto-hero-copy { margin: 0; font-size: 15.5px; line-height: 1.7; color: #e5e8ee; max-width: 660px; }

/* ---------- three pillars ---------- */
.mto-pillars { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid #e5e8ee; }
.mto-pillar { padding: 26px 28px; border-right: 1px solid #e5e8ee; }
.mto-pillar:last-child { border-right: 0; }
.mto-pillar-label, .mto-pillar p.mto-pillar-label { margin: 0 0 6px 0; font-family: grap-med, sans-serif; font-size: 11px; letter-spacing: 2px; color: #407bd9; }
.mto-pillar p { margin: 0; font-size: 13.5px; line-height: 1.65; color: #4b5563; }
.mto-pillar a { text-decoration: none; }

/* ---------- "you can change" strip ---------- */
.mto-changes {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  padding: 22px 40px; flex-wrap: wrap; border-bottom: 1px solid #e5e8ee; background: #fafbfd;
}
.mto-changes-label { font-family: grap-med, sans-serif; font-size: 11px; letter-spacing: 2px; color: #9aa1ad; }
.mto-changes-item { font-size: 13px; color: #4b5563; }
.mto-changes-dot { color: #ccd8eb; }

/* ---------- CTA row ---------- */
.mto-cta-row {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 26px 40px; flex-wrap: wrap; border-bottom: 1px solid #e5e8ee;
}
.mto-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #407bd9; color: #ffffff !important; height: 50px; padding: 0 32px;
  font-family: grap-med, sans-serif; font-size: 12px; letter-spacing: 2px;
  cursor: pointer; text-decoration: none;
}
.mto-cta-btn:hover { background: #3568bd; text-decoration: none; }
.mto-cta-link { font-size: 13px; color: #407bd9; text-decoration: none; }

/* ---------- alternating feature grids ---------- */
.mto-inner { max-width: 1280px; margin: 0 auto; }
.mto-grid { display: grid; gap: 56px; padding: 0 40px 56px 40px; align-items: center; }
.mto-grid-first { padding-top: 56px; }
.mto-grid-text-left  { grid-template-columns: 1fr 1.1fr; }
.mto-grid-text-right { grid-template-columns: 1.1fr 1fr; }
.mto-eyebrow, .mto p.mto-eyebrow { margin: 0 0 12px 0; font-family: grap-med, sans-serif; font-size: 11px; letter-spacing: 3px; color: #407bd9; }
.mto-grid h2 { margin: 0 0 14px 0; font-family: grotesk, sans-serif; font-weight: 900; font-size: 28px; line-height: 1.2; color: #2e333d; }
.mto-body { margin: 0 0 12px 0; font-size: 15px; line-height: 1.7; color: #4b5563; }
.mto-body-last { margin: 0; }
.mto-note { margin: 0; font-size: 13px; color: #6b7280; }
.mto-grid a { text-decoration: none; }

/* Samantha before/after */
.mto-ba-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mto-ba-photos img { width: 100%; display: block; }
.mto-ba-caption { margin: 8px 0 0 0; font-size: 12px; color: #9aa1ad; text-align: center; }

/* Color annotator mock */
.mto-annotator { border: 1px solid #e5e8ee; box-shadow: 0 2px 10px rgba(46,51,61,.06); }
.mto-annotator-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #e5e8ee; }
.mto-annotator-top-label { font-family: grap-med, sans-serif; font-size: 11px; letter-spacing: 2px; color: #407bd9; }
.mto-annotator-top-hint { font-size: 11.5px; color: #9aa1ad; }
.mto-annotator-stage { position: relative; padding: 22px 26px; background: #fafbfd; }
.mto-annotator-stage img { width: 100%; display: block; }
.mto-annotator-pin { position: absolute; left: 53%; top: 10%; display: flex; flex-direction: column; align-items: center; }
.mto-annotator-chip {
  display: flex; align-items: center; gap: 7px; background: #ffffff;
  border: 1px solid #e5e8ee; box-shadow: 0 1px 4px rgba(46,51,61,.15); padding: 6px 10px;
}
.mto-annotator-swatch { width: 18px; height: 18px; border-radius: 50%; background: #4a8a4f; display: inline-block; }
.mto-annotator-chip span:last-child { font-family: grap-med, sans-serif; font-size: 12px; color: #2e333d; }
.mto-annotator-line { width: 2px; height: 56px; background: #2fd06b; }
.mto-annotator-arrow { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid #2fd06b; }
.mto-annotator-bottom { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid #e5e8ee; }
.mto-annotator-bottom .mto-annotator-swatch { width: 16px; height: 16px; }
.mto-annotator-bottom-text { font-size: 12.5px; color: #4b5563; }
.mto-annotator-bottom-count { margin-left: auto; font-size: 12px; color: #9aa1ad; }

/* Dashboard card + offset-shadow media */
.mto-dash-card { border: 1px solid #e5e8ee; background: #fafbfd; padding: 16px 18px; }
.mto-dash-card-label, .mto-dash-card p.mto-dash-card-label { margin: 0 0 6px 0; font-family: grap-med, sans-serif; font-size: 10.5px; letter-spacing: 1.5px; color: #2e333d; }
.mto-dash-card p { margin: 0 0 8px 0; font-size: 13px; line-height: 1.6; color: #4b5563; }
.mto-dash-card a { font-size: 13px; text-decoration: none; }
.mto-media-shadow-right { box-shadow: #407bd9 12px -12px; }
.mto-media-shadow-left  { box-shadow: #407bd9 -12px -12px; }
.mto-media-shadow-right img, .mto-media-shadow-left video { width: 100%; display: block; }

/* ---------- performance band ---------- */
.mto-performance { background: #f2f6fc; padding: 48px 40px; }
.mto-performance-inner { max-width: 1200px; margin: 0 auto; }
.mto-performance-inner .mto-eyebrow { margin-bottom: 6px; }
.mto-performance h2 { margin: 0 0 14px 0; font-family: grotesk, sans-serif; font-weight: 900; font-size: 26px; color: #2e333d; }
.mto-performance .mto-body { max-width: 760px; }
.mto-performance .mto-body-space { margin-bottom: 16px; }
.mto-performance .mto-body-howto { margin-bottom: 24px; }
.mto-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.mto-stat { background: #ffffff; padding: 18px 24px; flex: 1; min-width: 200px; }
.mto-stat-num { margin: 0; font-family: grotesk, sans-serif; font-weight: 900; font-size: 24px; color: #2e333d; }
.mto-stat-label { margin: 2px 0 0 0; font-size: 12.5px; color: #6b7280; }
.mto-performance-link { margin: 20px 0 0 0; }
.mto-performance-link a { font-size: 13px; text-decoration: none; }

/* ---------- guarantee ---------- */
.mto-guarantee { max-width: 1280px; margin: 0 auto; padding: 48px 40px; }
.mto-guarantee-inner { max-width: 760px; }
.mto-guarantee h2 { margin: 0 0 12px 0; font-family: grotesk, sans-serif; font-weight: 900; font-size: 24px; color: #2e333d; }
.mto-guarantee p { margin: 0 0 12px 0; font-size: 14.5px; line-height: 1.7; color: #4b5563; }
.mto-guarantee p:last-child { margin-bottom: 0; }

/* ---------- residencies band (light info-blue, vertical loom video right) ---------- */
.mto-residencies { background: #f2f6fc; }
.mto-residencies-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; align-items: center; }
.mto-residencies-text { padding: 44px 40px; }
.mto-residencies h2 { margin: 0 0 14px 0; font-family: grotesk, sans-serif; font-weight: 900; font-size: 28px; line-height: 1.2; color: #2e333d; }
.mto-residencies p { margin: 0 0 20px 0; font-size: 14.5px; line-height: 1.7; color: #4b5563; max-width: 560px; }
/* vertical (9:16) video: the action sits in the lower half, so bias the crop down */
.mto-residencies video { width: 100%; height: 520px; object-fit: cover; object-position: 50% 72%; display: block; }
.mto-residencies-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #407bd9; color: #ffffff !important; height: 46px; padding: 0 28px;
  font-family: grap-med, sans-serif; font-size: 12px; letter-spacing: 2px; text-decoration: none;
}
.mto-residencies-btn:hover { background: #3568bd; text-decoration: none; }

/* ---------- FAQ ---------- */
.mto-faq { max-width: 1280px; margin: 0 auto; padding: 40px 40px 48px 40px; }
.mto-faq-label { margin: 0 0 14px 0; font-family: grap-med, sans-serif; font-size: 11px; letter-spacing: 2px; color: #9aa1ad; }
.mto-faq-item { border-bottom: 1px solid #e5e8ee; }
.mto-faq-q { padding: 13px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.mto-faq-q-text { font-size: 14px; color: #2e333d; }
.mto-faq-mark { color: #9aa1ad; }
.mto-faq-a { margin: 0; padding: 0 0 16px 0; font-size: 13.5px; line-height: 1.7; color: #4b5563; max-width: 720px; display: none; }
.mto-faq-item.open .mto-faq-a { display: block; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .mto-hero-overlay { padding: 0 20px; }
  .mto-hero h1 { font-size: 28px; }
  .mto-pillars { grid-template-columns: 1fr; }
  .mto-pillar { border-right: 0; border-bottom: 1px solid #e5e8ee; }
  .mto-pillar:last-child { border-bottom: 0; }
  .mto-changes, .mto-cta-row { padding-left: 20px; padding-right: 20px; }
  .mto-grid, .mto-grid-text-left, .mto-grid-text-right { grid-template-columns: 1fr; gap: 28px; padding: 0 20px 44px 20px; }
  .mto-grid-first { padding-top: 44px; }
  .mto-media-shadow-right, .mto-media-shadow-left { box-shadow: none; }
  .mto-performance { padding: 40px 20px; }
  .mto-guarantee { padding: 40px 20px; }
  .mto-residencies-inner { grid-template-columns: 1fr; }
  .mto-residencies-text { padding: 36px 20px; }
  .mto-residencies video { height: 420px; }
  .mto-faq { padding: 32px 20px 40px 20px; }
}
