/* Inner drawing set: ink geometry, journey rail, contact plate, staged motion. */
:is(.sc, .sc-div, .sc-follow, .sc-icon, .sc-page-inbox, .sc-page-contact) {
  --sc-page: #F0E1CE;
  --sc-sheet: #F7EDDF;
  --sc-paper: #FBF5EA;
  --sc-wall: #EBDCC6;
  --sc-wood: rgba(196, 160, 116, .38);
  --sc-void: rgba(20, 35, 63, .045);
  --sc-ink: #14233f;
  --sc-blue: #203FE7;
  --sc-tint: rgba(32, 63, 231, .12);
  --sc-label: #4a4f5e;
  --w-h: .9;
  --w-f: 1.68;
  --w-a: 2.2;
  --sc-ease-draw: cubic-bezier(.65, 0, .35, 1);
  --sc-ease-move: cubic-bezier(.2, .7, .2, 1);
  --sc-ease-fade: cubic-bezier(.4, 0, .2, 1);
  --sc-gutter: clamp(28px, 3vw, 44px);
}

.sc {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  opacity: 1;
  overflow: visible;
}

.sc-inbox, .sc-desk { aspect-ratio: 1000 / 720; }
.sc-d1 { aspect-ratio: 1; }
.sc-letter { aspect-ratio: 620 / 820; }
.sc-letter-mini { aspect-ratio: 700 / 280; }
.sc-close { aspect-ratio: 1000 / 640; }

.sc-fig {
  position: relative;
  display: block;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

main.dmp .sc-fig > .dm-cap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  width: 100%;
  max-width: none;
  margin: 14px 0 0;
  font-size: 10px;
  letter-spacing: .12em;
}

main.dmp .sc-fig > .dm-cap span:last-child { display: block; }

.sc-crop { width: 100%; aspect-ratio: 1000 / 720; position: relative; }
.sc-crop-inbox { aspect-ratio: 800 / 720; }
.sc-origin {
  position: absolute;
  left: 0;
  /* Sit inside the drawing so the blue datum clears the overlapping title block by ≥12px. */
  bottom: 56px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #203FE7;
}

:is(.sc, .sc-div, .sc-icon) .d {
  fill: none;
  stroke: var(--sc-ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dashoffset: 0;
}

:is(.sc, .sc-div) .h { stroke-width: var(--w-h); stroke-opacity: .42; }
:is(.sc, .sc-div) .f { stroke-width: var(--w-f); stroke-opacity: .9; }
.sc.is-on .h { stroke-opacity: .34; }

.sc .a { stroke: var(--sc-blue); stroke-width: var(--w-a); stroke-opacity: 1; }
.sc .occ { fill: var(--sc-sheet); }
.sc .w-wall { fill: var(--sc-wall); }
.sc .w-wood { fill: var(--sc-wood); }
.sc .w-void { fill: var(--sc-void); }
.sc .w-tint { fill: var(--sc-tint); }
.sc .w-paper { fill: var(--sc-paper); }
.sc .sc-room-paper { fill: #FBF5EA; }
.sc .sc-room-outline { fill: none; stroke: var(--sc-blue); stroke-width: 1.4; vector-effect: non-scaling-stroke; }

.sc text {
  font: 500 15px 'Public Sans', Arial, sans-serif;
  letter-spacing: .16em;
  fill: var(--sc-label);
  text-transform: uppercase;
}

.sc text.ac { fill: var(--sc-blue); }
.sc text.sc-primary-label { font-size: 24px; }
.sc .hatch line { stroke: var(--sc-ink); stroke-width: .8; stroke-opacity: .3; }
:is(.sc-inbox, .sc-desk) .sc-key .d { vector-effect: non-scaling-stroke; stroke-width: .8; stroke-opacity: .7; }
.sc text.sc-small { font-size: 10px; }
.sc text.sc-dim { font-size: 13px; }
.sc text.sc-note { font-size: 11px; }

.sc .sc-wash { opacity: 1; }
.sc-fly { display: none; }
.sc .sc-tick-dash { stroke-dasharray: .08 .06; }

/* Hero structure is present at first paint. Its smaller objects visibly ink in. */
html.js-dm .sc-hero .sc .sc-L3 .d:not(.sc-key .d):not(.sc-fly .d):not(.sc-tick-draw):not(.sc-stack-new):not(.s1):not(.s2):not(.s3) {
  stroke-dasharray: 1 1.05;
  animation: sc-hero-ink .6s var(--sc-ease-draw) both;
}
html.js-dm .sc-hero .sc .sc-L4 { animation: sc-fade .4s var(--sc-ease-fade) .3s both; }
html.js-dm .sc :is(.sc-trace .d, .sc-tick-draw, .s1, .s2, .s3) { stroke-dasharray:1 1.05; stroke-dashoffset:1.02; }
@keyframes sc-hero-ink { from { stroke-dashoffset:.6; } to { stroke-dashoffset:0; } }
@keyframes sc-stroke { from { stroke-dashoffset:1.02; } to { stroke-dashoffset:0; } }
/* —— Ink staging: D1, close, desk follow-ons —— */
html.js-dm .sc-d1:not(.is-on) :is(.sc-L1, .sc-L2, .sc-L3) .d,
html.js-dm .sc-close:not(.is-on) :is(.sc-L1, .sc-L2, .sc-L3) .d {
  stroke-dasharray: 1 1.05;
  stroke-dashoffset: 1.02;
}

html.js-dm .sc-d1:not(.is-on) .sc-L4,
html.js-dm .sc-close:not(.is-on) .sc-L4 { opacity: 0; }

html.js-dm .sc-d1.is-on .sc-L1 .d { animation: sc-stroke .5s var(--sc-ease-draw) both; }
html.js-dm .sc-d1.is-on .sc-L2 .d { animation: sc-stroke .55s var(--sc-ease-draw) .2s both; }
html.js-dm .sc-d1.is-on .sc-L3 .d { animation: sc-stroke .5s var(--sc-ease-draw) .45s both; }
html.js-dm .sc-d1.is-on .sc-L4 { animation: sc-fade .4s var(--sc-ease-fade) .7s both; }
html.js-dm .sc-d1.is-on .sc-tick-draw { animation: sc-draw .35s var(--sc-ease-draw) .95s forwards; }

html.js-dm .sc-close.is-on .sc-L1 .d { animation: sc-stroke .5s var(--sc-ease-draw) both; }
html.js-dm .sc-close.is-on .sc-L2 .d { animation: sc-stroke .55s var(--sc-ease-draw) .2s both; }
html.js-dm .sc-close.is-on .sc-L3 .d { animation: sc-stroke .5s var(--sc-ease-draw) .45s both; }
html.js-dm .sc-close.is-on .sc-L4 { animation: sc-fade .4s var(--sc-ease-fade) .7s both; }

html.js-dm .sc .sc-wash { opacity: 0; }
html.js-dm .sc-d1.is-on .sc-wash,
html.js-dm .sc-close.is-on .sc-wash { animation: sc-fade .9s var(--sc-ease-fade) 1.5s both; }

html.js-dm .sc-hero .sc.is-detail .sc-wash { animation: sc-fade .9s var(--sc-ease-fade) 1.5s both; }

/* Hero motion accents (after detail gate) */
html.js-dm .sc-hero .sc.is-detail :is(.sc-trace .d, .sc-tick-draw, .s1, .s2, .s3) {
  stroke-dasharray: 1 1.05;
  stroke-dashoffset: 1.02;
}

html.js-dm .sc-hero .sc.is-detail .sc-trace .d { animation: sc-draw .55s var(--sc-ease-draw) 1.9s forwards; }
html.js-dm .sc-hero .sc.is-detail .sc-trace-dot { animation: sc-fade .1s linear 2.45s both; }
html.js-dm .sc-hero .sc.is-detail .sc-fly { display: block; }
html.js-dm .sc-hero .sc.is-detail .f1 { animation: sc-f1y .7s var(--sc-ease-move) 1s forwards; }
html.js-dm .sc-hero .sc.is-detail .f1 .sc-fly-x { animation: sc-f1x .7s cubic-bezier(.45, 0, .55, 1) 1s forwards; }
html.js-dm .sc-hero .sc.is-detail .f2 { animation: sc-f2y .7s var(--sc-ease-move) 1.12s forwards; }
html.js-dm .sc-hero .sc.is-detail .f2 .sc-fly-x { animation: sc-f2x .7s cubic-bezier(.45, 0, .55, 1) 1.12s forwards; }
html.js-dm .sc-hero .sc.is-detail .f3 { animation: sc-f3y .7s var(--sc-ease-move) 1.24s forwards; }
html.js-dm .sc-hero .sc.is-detail .f3 .sc-fly-x { animation: sc-f3x .7s cubic-bezier(.45, 0, .55, 1) 1.24s forwards; }
.sc-fly-in { transform-box: fill-box; transform-origin: 50% 100%; }
html.js-dm .sc-hero .sc.is-detail .f1 .sc-fly-in { animation: sc-file .2s var(--sc-ease-move) 1.7s forwards; }
html.js-dm .sc-hero .sc.is-detail .f2 .sc-fly-in { animation: sc-file .2s var(--sc-ease-move) 1.82s forwards; }
html.js-dm .sc-hero .sc.is-detail .f3 .sc-fly-in { animation: sc-file .2s var(--sc-ease-move) 1.94s forwards; }
html.js-dm .sc-hero .sc.is-detail .s1 { animation: sc-draw .25s var(--sc-ease-draw) 1.75s forwards; }
html.js-dm .sc-hero .sc.is-detail .s2 { animation: sc-draw .25s var(--sc-ease-draw) 1.87s forwards; }
html.js-dm .sc-hero .sc.is-detail .s3 { animation: sc-draw .25s var(--sc-ease-draw) 1.99s forwards; }

.sc-door { transform-box: view-box; transform-origin: 82px 0; }
html.js-dm .sc-hero .sc-desk:not(.is-detail) .sc-door { transform: scaleX(.96); }
html.js-dm .sc-hero .sc-desk.is-detail .sc-door { animation: sc-door .4s var(--sc-ease-move) 1.1s forwards; }
html.js-dm .sc-hero .sc-desk.is-detail .sc-sheet-edge { animation: sc-sheet .5s var(--sc-ease-move) 1.3s forwards; }

@keyframes sc-draw { to { stroke-dashoffset: 0; } }
@keyframes sc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sc-hide { from { opacity: 1; } to { opacity: 0; } }
@keyframes sc-file { to { opacity: 0; transform: translateY(6px) scale(.9); } }
@keyframes sc-f1y { to { transform: translateY(-339px); } }
@keyframes sc-f1x { to { transform: translateX(109px); } }
@keyframes sc-f2y { to { transform: translateY(-183px); } }
@keyframes sc-f2x { to { transform: translateX(401px); } }
@keyframes sc-f3y { to { transform: translateY(-267px); } }
@keyframes sc-f3x { to { transform: translateX(489px); } }
@keyframes sc-door { to { transform: scaleX(1); } }
@keyframes sc-sheet { to { transform: translateX(-40px); } }
@keyframes sc-redraw-entry { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }
@keyframes sc-redraw-hover { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }

html.js-dm:not(.inner-ready) .sc:not(.is-on):not(.is-detail) .sc-wash { animation: sc-fade .01s linear 3s both; }
html.js-dm:not(.inner-ready) .sc:not(.is-on):not(.is-struct) :is(.sc-trace .d, .sc-tick-draw, .s1, .s2, .s3) {
  animation: sc-draw .01s linear 3s forwards;
}

/* Journey rail */
main.cream-inner .sc-journey {
  position: relative;
  max-width: 1416px;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
}

main.cream-inner .sc-journey > section {
  margin-left:auto;
  margin-right:auto;
}
main.cream-inner .sc-journey > .sc-div { margin-inline:0; }

.sc-journey::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--sc-gutter));
  top: -48px;
  bottom: 0;
  width: 1px;
  background: var(--sc-ink);
  opacity: .26;
  pointer-events: none;
}

.sc-sec-sound, .sc-sec-how, .sc-sec-example, .sc-sec-build, .sc-sec-who, .sc-sec-form {
  position: relative;
}

.sc-sec-hero { --sc-top-reach: 48px; }

.sc-follow {
  position: absolute;
  left: calc((100% - min(1416px, 100vw - 2 * var(--pad))) / 2 - var(--sc-gutter));
  top: 0;
  bottom: 0;
  width: 11px;
  pointer-events: none;
}

.sc-sec-hero > .sc-follow { top: calc(-1 * var(--sc-top-reach, 48px)); }

.sc-journey .sc-follow-line { display: none; }

.sc-follow-node {
  position: absolute;
  top: 6px;
  left: -5px;
  width: 11px;
  height: 7px;
  background: url('/inner/datum.svg') center / contain no-repeat;
}

.sc-follow-lbl {
  position: absolute;
  top: 16px;
  left: -4px;
  font: 500 10.5px 'Public Sans', Arial, sans-serif;
  letter-spacing: .16em;
  color: var(--sc-label);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sc-page-inbox { --room-x:120; --room-y:560; --sc-page-gutter:max(9px,calc(max(var(--pad),(100vw - 1416px)/2) - var(--sc-gutter))); }
.sc-page-contact { --room-x:120; --room-y:500; --sc-page-gutter:max(9px,calc(max(var(--pad),(100vw - 1416px)/2) - var(--sc-gutter))); }

main.cream-inner .sf-close {
  padding-top: 96px;
  margin-top: 0;
  position: relative;
}

main.cream-inner .sf-close::before {
  content: "";
  position: absolute;
  left: var(--sc-page-gutter);
  top: 0;
  width: 1px;
  height: calc(24px + var(--room-y) * min(78vw, 1000px) / 1000);
  background: var(--sc-ink);
  opacity: .26;
  pointer-events: none;
}

.sc-follow-end {
  --close-w: min(78vw, 1000px);
  --gutter: max(9px, calc(max(var(--pad), (100vw - 1416px) / 2) - var(--sc-gutter)));
  position: absolute;
  left: var(--gutter);
  top: calc(24px + var(--room-y) * var(--close-w) / 1000);
  width: calc((100vw - var(--close-w)) / 2 + var(--room-x) * var(--close-w) / 1000 - var(--gutter));
  height: 1px;
  background: #14233f;
  opacity: .26;
  pointer-events: none;
}

/* Dividers */
.sc-div {
  display: flex;
  align-items: center;
  height: 24px;
  /* Keep the section hairline ≥12px clear of neighboring copy/controls (WebKit tighter). */
  margin: clamp(56px, 7vw, 96px) 0;
}

.sc-div-l, .sc-div-r {
  height: 1px;
  flex: 1;
  background: var(--sc-ink);
  opacity: .22;
  transform: scaleX(1);
}

.sc-div-l { transform-origin: right; }
.sc-div-r { transform-origin: left; }
.sc-div-m { width: 120px; height: 24px; flex: none; }

html.js-dm .sc-div:not(.is-in) :is(.sc-div-l, .sc-div-r) { transform: scaleX(0); }
.sc-div.is-in :is(.sc-div-l, .sc-div-r) { transition: transform .9s var(--sc-ease-draw); }
.sc-div.is-in .d { stroke-dasharray: 1 1.05; animation: sc-redraw-entry .5s var(--sc-ease-draw) .3s backwards; }

/* Step band */
main.cream-inner .step-row {
  position: relative;
  padding-top: 20px;
}

main.cream-inner .step-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52px;
  height: 1px;
  background: var(--sc-ink);
  opacity: .18;
  pointer-events: none;
}

.sc-icon {
  width: 64px;
  height: 64px;
  vertical-align: middle;
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 4px;
  background: rgba(20, 35, 63, .04);
  box-shadow: inset 0 0 0 1px rgba(20, 35, 63, .08);
}

.sc-icon .d { stroke: var(--sc-blue); stroke-width: 1.5; stroke-opacity: 1; }
.step-row.is-in .sc-icon .d { stroke-dasharray: 1 1.05; animation: sc-redraw-entry .65s var(--sc-ease-draw) backwards; }
.step-row article:hover .sc-icon .d,
.step-row article:focus-within .sc-icon .d { animation: sc-redraw-hover .65s var(--sc-ease-draw); }

main.cream-inner .inner-hero .text-link,
main.cream-inner .step-band .text-link {
  text-decoration: none;
  background-image: linear-gradient(var(--sc-blue), var(--sc-blue));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .35s var(--sc-ease-draw);
}

main.cream-inner .inner-hero .text-link:is(:hover, :focus-visible),
main.cream-inner .step-band .text-link:is(:hover, :focus-visible) {
  background-size: 100% 1px;
}

/* Example row */
main.cream-inner .service-example.sc-sec-example {
  display: block;
  align-items: stretch;
}

main.cream-inner .service-example.sc-sec-example .sf-copy {
  width: 100%;
  max-width: 36em;
  margin-bottom: clamp(24px, 4vw, 40px);
}

main.cream-inner .service-example.sc-sec-example .sf-copy > div { display: contents; }

.sc-example-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.sc-example-row .product-window { margin: 0; width: 100%; max-width: 100%; }

main.dmp .sf-basin .sc-fig { width: min(78vw, 1000px); max-width: 1000px; }
main.dmp .sf-basin .sc-fig > .dm-cap { margin-bottom: 48px; }
main.dmp .sf-close { background: #F0E1CE; }

/* Contact form + letter */
main.cream-inner .plain-section.sc-contact {
  max-width: 1180px !important;
  padding-bottom: 96px;
}

.sc-contact-grid > * { min-width: 0; }

.sc-letter-plate {
  max-width: 420px;
  margin: 0;
}

.sc-letter-plate .sc-letter-mini { display: none; }

@media (min-width: 1100px) {
  .sc-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    column-gap: clamp(40px, 4vw, 72px);
    align-items: start;
  }

  .sc-contact-grid > :not(.sc-letter-plate) { grid-column: 1; }
  .sc-contact-grid > .sc-letter-plate {
    grid-column: 2;
    grid-row: 1 / span 20;
    position: sticky;
    top: 104px;
    max-width: 420px;
  }

  .sc-letter-plate .sc-letter { display: block; }
  .sc-letter-plate .sc-letter-mini { display: none; }
}

@media (max-width: 1099px) {
  .sc-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .sc-contact-grid > .contact-form { display: contents; }
  .sc-contact-grid > .contact-form > :is(.field-row, .field, fieldset, .hp, .turnstile-slot) { order: 0; }
  .sc-contact-grid > .sc-letter-plate { order: 1; margin: 24px auto 32px; width: 100%; max-width: 420px; }
  .sc-contact-grid > .contact-form > .form-status-privacy { order: 2; }
  .sc-contact-grid > .contact-form > .form-actions { order: 3; margin-top: 32px; }
  .sc-contact-grid > .form-success { order: 4; }

  .sc-letter-plate .sc-letter { display: none; }
  .sc-letter-plate .sc-letter-mini {
    display: block;
    height: 140px;
    width: 100%;
    object-fit: contain;
  }
}

.sc-contact.sc-sec-form:has(#form-success:not([hidden])) > h2 { display: none; }

.cream-site .sc-contact .contact-form fieldset { padding: 0; margin: 0; border: 0; }
.cream-site .sc-contact .contact-form legend { padding: 0; margin: 0 0 12px; display: block; }
.cream-site .sc-contact .contact-form label[for="f-company"] .optional { display: inline; white-space: nowrap; }
.cream-site .sc-contact .contact-form .field:has(#f-message) { margin-bottom: 32px; }
.cream-site .sc-contact .contact-form .form-actions { margin-top: 32px; gap: 16px; }

.form-status-privacy {
  block-size: 110px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 32px;
}

.form-status-privacy .form-alert {
  margin: 0 !important;
  flex: 1 1 auto;
  min-height: 0;
}

.form-status-privacy .form-note {
  margin: 0;
  flex: 0 0 auto;
}

.form-status-privacy:has(.form-alert:not([hidden])) .form-note { display: none; }

main.cream-inner .sc-contact .email-alternative { margin-top: 24px; }

/* Letter live type */
.sc-letter text {
  font-size: 17px;
  letter-spacing: .02em;
  text-transform: none;
  fill: var(--sc-ink);
}

.sc-letter text.serif { font: 400 28px Newsreader, Georgia, serif; letter-spacing: 0; }
.sc-letter text.sc-l-topic { font-size: 18px; }
.sc-letter text.sc-l-date { font-size: 17px; }
.sc-letter text.sc-l-salute { font-size: 24px; }
.sc-letter text.sc-l-name { font-size: 30px; }

.sc-letter-mini text.sc-l-topic { font-size: 14px; }
.sc-letter-mini text.sc-l-date { font-size: 12px; }
.sc-letter-mini text.sc-l-name { font-size: 22px; }

.sc-letter-plate :is(.sc-l-name, .sc-l-company, .sc-l-email, .sc-l-topic, .sc-ph) {
  transition: opacity .2s var(--sc-ease-fade);
}

.sc-letter-plate:not(.has-name) .sc-l-name,
.sc-letter-plate:not(.has-email) .sc-l-email,
.sc-letter-plate:not(.has-company) .sc-l-company,
.sc-letter-plate:not(.has-topic) .sc-l-topic { opacity: 0; }

.sc-letter-plate.has-name .sc-ph-name,
.sc-letter-plate.has-company .sc-ph-company,
.sc-letter-plate.has-topic .sc-ph-topic { opacity: 0; }

.sc-letter .sc-ph { stroke-dasharray: 6 6; }
.sc-letter .sc-pen,
.sc-letter-mini .sc-pen {
  stroke-dasharray: 1 1.05;
  stroke-dashoffset: 1.02;
  transition: stroke-dashoffset .6s var(--sc-ease-draw);
}

.sc-letter-plate.m1 .sc-pen.m1,
.sc-letter-plate.m2 .sc-pen.m2,
.sc-letter-plate.m3 .sc-pen.m3,
.sc-letter-plate.m4 .sc-pen.m4,
.sc-letter-plate.m5 .sc-pen.m5,
.sc-letter-plate.m6 .sc-pen.m6,
.sc-letter-plate.m7 .sc-pen.m7,
.sc-letter-plate.m8 .sc-pen.m8,
.sc-letter-plate.m9 .sc-pen.m9 { stroke-dashoffset: 0; }

.sc-sheet { transition: transform .3s var(--sc-ease-move); }
.sc-clip { opacity: 0; visibility: hidden; transition: opacity .2s var(--sc-ease-fade), visibility 0s .2s; }
.sc-letter-plate.is-waiting .sc-sheet { transform: translate(-6px, 4px); }
.sc-letter-plate.is-waiting .sc-clip { opacity: 1; visibility: visible; transition-delay: 0s; }
.sc-letter-plate.is-waiting .sc-clip .d { stroke-dasharray: 1 1.05; animation: sc-redraw-hover .5s var(--sc-ease-draw); }

.sc-fold-marks { transform-origin: 230px 0; transform-box: view-box; transition: transform .2s; }
.sc-letter-plate.is-sending .sc-fold-marks { transform: scaleX(1.8); }

.sc-back-top, .sc-back-bot, .sc-envelope { opacity: 0; visibility: hidden; }

.sc-letter .sc-fold-top,
.sc-letter .sc-back-top { transform-box: view-box; transform-origin: 0 372.7px; }
.sc-letter .sc-fold-bot,
.sc-letter .sc-back-bot { transform-box: view-box; transform-origin: 0 627.3px; }
.sc-letter .sc-flap { transform-box: view-box; transform-origin: 0 352px; }

.sc-letter-mini .sc-fold-top,
.sc-letter-mini .sc-back-top { transform-origin: 0 106.67px; }
.sc-letter-mini .sc-fold-bot,
.sc-letter-mini .sc-back-bot { transform-origin: 0 173.33px; }
.sc-letter-mini .sc-flap { transform-origin: 0 90px; }

.sc-letter-plate.is-sent .sc-sheet { animation: sc-hide .3s var(--sc-ease-fade) 2.15s forwards; }
.sc-letter-plate.is-sent .sc-fold-top { animation: sc-fold .3s ease-in forwards; }
.sc-letter-plate.is-sent .sc-back-top { visibility: visible; animation: sc-back .25s ease-out .3s both; }
.sc-letter-plate.is-sent .sc-fold-bot { animation: sc-fold .3s ease-in .55s forwards; }
.sc-letter-plate.is-sent .sc-back-bot { visibility: visible; animation: sc-back .25s ease-out .85s both; }
.sc-letter-plate.is-sent .sc-envelope { visibility: visible; animation: sc-fade .3s var(--sc-ease-fade) 1.1s both; }
.sc-letter-plate.is-sent .sc-envelope > .d.f:not(.sc-flap) {
  stroke-dasharray: 1 1.05;
  animation: sc-redraw-hover .4s var(--sc-ease-draw) 1.1s backwards;
}
.sc-letter-plate.is-sent .sc-flap { animation: sc-flap .35s var(--sc-ease-move) 1.5s both; }
.sc-letter-plate.is-sent .sc-seal { stroke-dasharray: 1 1.05; animation: sc-redraw-hover .3s var(--sc-ease-draw) 1.85s both; }
.sc-letter-plate .sc-send-route { opacity:0; }
.sc-letter-plate.is-sent .sc-send-route { opacity:1; }
.sc-letter-plate.is-sent .sc-send-route .d { stroke-dasharray:1 1.05; animation:sc-stroke .35s var(--sc-ease-draw) 2.15s both; }
.sc-letter-plate.is-sent .sc-l-return { animation: sc-fade .2s var(--sc-ease-fade) 2.15s both; }

@keyframes sc-fold { to { transform: scaleY(0); } }
@keyframes sc-back { from { opacity: 1; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
@keyframes sc-flap { from { transform: scaleY(-1); } to { transform: scaleY(1); } }

/* Hero join */
.sc-hero {
  --sc-hero-w: min(1416px, calc(100vw - 2 * var(--pad)));
  --sc-hero-gap: clamp(28px, 4vw, 72px);
  --sc-art-col: calc((var(--sc-hero-w) - var(--sc-hero-gap)) * 7 / 12);
  --sc-fig-w: min(680px, var(--sc-art-col));
}

/* External horizontal spur removed: it ran through the title block. Vertical journey rail stays. */
.sc-hero .sc-origin::before {
  content: none;
  display: none;
}

/* Phone scene frame */
@media (max-width: 899px) {
  :is(.sc, .sc-div, .sc-icon) { --w-h: 1.6; --w-f: 2.88; --w-a: 3.4; }

  .sc:not(:is(.sc-letter, .sc-letter-mini)) text:not(.sc-small):not(.sc-note):not(.sc-dim):not(.sc-primary-label) {
    font-size: 20px;
  }

  .sc-minor, .sc-follow-lbl, .sc-follow-end, .sc-follow-node { display: none; }

  .sc-follow { left: calc((100% - 100vw) / 2 + 9px); }
  .sc-journey::before { left: calc(-1 * var(--pad) + 9px); }
  /* ROUND 5: no clean ≥24px route past close copy on phone — drop the rail. */
  main.cream-inner .sf-close::before { content: none; display: none; }

  .sc-div { margin: 52px 0; }
  .sc-div-m { width: 96px; height: 19px; }

  .sc-crop-inbox {
    overflow: hidden;
    aspect-ratio: 800 / 720;
  }

  .sc-crop-inbox > .sc {
    position: absolute;
    top: 0;
    left: -25%;
    width: 125%;
    max-width: none;
  }

  .sc-crop-desk {
    overflow: visible;
    aspect-ratio: 1000 / 720;
  }

  .sc-crop-desk > .sc {
    position: static;
    width: 100%;
    left: auto;
  }

  main.dmp .sf-basin .sc-fig { width: 100%; }
  main.dmp .sc-fig > .dm-cap { font-size: 9px; letter-spacing: .06em; }
  main.dmp .sc-fig > .dm-cap span { padding: 8px 6px; }

  .sc-example-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sc-example-row .sc-example-card { order: 0; }
  .sc-example-row .sf-art { order: 1; }

  main.cream-inner .step-row::before { display: none; }
}

@media (max-width: 899px) {
  .sc-hero .sc-origin::before { content: none; display: none; }
}

/* Reduced motion */
html.dm-reduced .sc-hero .sc.is-struct:not(.is-detail) .sc-L3 :is(.d, text) { stroke-dashoffset: 0; }
html.dm-reduced .sc-hero .sc.is-struct:not(.is-detail) .sc-L4 { opacity: 1; }
html.dm-reduced .sc-hero .sc.is-struct:not(.is-detail) .sc-L3 :is(.sc-fly, .sc-stack-new, .sc-trace, .sc-key) { opacity: 1; }

html.dm-reduced .sc .sc-wash { opacity: 0; }
html.dm-reduced .sc.is-on .sc-wash,
html.dm-reduced .sc-hero .sc.is-detail .sc-wash { animation: sc-fade .6s var(--sc-ease-fade) .7s both; }

html.dm-reduced .sc :is(.d, .sc-door, .sc-sheet-edge, .sc-trace-dot, .sc-fly) {
  animation: none !important;
  stroke-dashoffset: 0;
}

html.dm-reduced .sc .sc-fly { display: none !important; }
html.dm-reduced .sc :is(.sc-door, .sc-sheet-edge) { transform: none; }
html.dm-reduced .sc-div :is(.sc-div-l, .sc-div-r) { transform: scaleX(1) !important; transition: none; }
html.dm-reduced :is(.sc-div, .sc-icon) .d { animation: none !important; stroke-dashoffset: 0; }
html.dm-reduced .step-row article:hover .sc-icon .d { stroke: var(--sc-ink); transition: stroke .15s; }

html.dm-reduced .sc-letter .sc-pen,
html.dm-reduced .sc-letter-mini .sc-pen {
  opacity: 0;
  stroke-dashoffset: 0;
  transition: opacity .2s;
}

html.dm-reduced .sc-letter-plate.m1 .sc-pen.m1,
html.dm-reduced .sc-letter-plate.m2 .sc-pen.m2,
html.dm-reduced .sc-letter-plate.m3 .sc-pen.m3,
html.dm-reduced .sc-letter-plate.m4 .sc-pen.m4,
html.dm-reduced .sc-letter-plate.m5 .sc-pen.m5,
html.dm-reduced .sc-letter-plate.m6 .sc-pen.m6,
html.dm-reduced .sc-letter-plate.m7 .sc-pen.m7,
html.dm-reduced .sc-letter-plate.m8 .sc-pen.m8,
html.dm-reduced .sc-letter-plate.m9 .sc-pen.m9 { opacity: 1; }

html.dm-reduced .sc-letter-plate :is(.sc-sheet, .sc-fold-marks) { transform: none !important; }
html.dm-reduced .sc-letter-plate.is-sent :is(.sc-fold-top, .sc-fold-bot, .sc-flap, .sc-back-top, .sc-back-bot) {
  animation: none !important;
  transform: none;
}

html.dm-reduced .sc-letter-plate.is-sent :is(.sc-back-top, .sc-back-bot) { visibility: hidden; }
html.dm-reduced .sc-letter-plate.is-sent .sc-sheet { animation: sc-hide .3s var(--sc-ease-fade) both; }
html.dm-reduced .sc-letter-plate.is-sent .sc-envelope { animation: sc-fade .3s var(--sc-ease-fade) both; }
html.dm-reduced .sc-letter-plate.is-sent .sc-l-return { animation: none; opacity: 1; }
html.dm-reduced .sc .sc-trace { opacity: 0; }
html.dm-reduced .sc.is-on .sc-trace { animation: sc-fade .6s var(--sc-ease-fade) .7s both; }

html.dm-reduced .cream-site .sc.is-on .sc-wash,
html.dm-reduced .cream-site .sc-hero .sc.is-detail .sc-wash,
html.dm-reduced .cream-site .sc.is-on .sc-trace {
  animation: sc-fade .6s var(--sc-ease-fade) .7s both !important;
}

html.dm-reduced .cream-site .sc-letter-plate.is-sent .sc-sheet {
  animation: sc-hide .3s var(--sc-ease-fade) both !important;
}

html.dm-reduced .cream-site .sc-letter-plate.is-sent .sc-envelope {
  animation: sc-fade .3s var(--sc-ease-fade) both !important;
}

html.dm-reduced .cream-site .sc-letter-plate :is(.sc-pen, .sc-l-name, .sc-l-company, .sc-l-email, .sc-l-topic, .sc-ph, .sc-clip) {
  transition: opacity .2s var(--sc-ease-fade) !important;
}

.sc .sc-dot { fill: var(--sc-blue); }

@supports (animation-timeline: view()) {
  html.js-dm .sc-journey::before {
    animation: sc-follow linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 100%;
  }

  @keyframes sc-follow {
    from { transform: scaleY(0); transform-origin: top; }
    to { transform: scaleY(1); transform-origin: top; }
  }
}
/* Quality pass: scoped finishing rules, shared shell remains untouched. */
html.js-dm .sc-inbox.is-detail .sc-tick-draw { animation:sc-draw .25s var(--sc-ease-draw) 2s forwards; }
html.js-dm .sc-close.is-on .sc-trace .d { animation:sc-draw .5s var(--sc-ease-draw) 1.9s forwards; }
html.js-dm :is(.sc-letter,.sc-letter-mini).is-on .sc-wash { animation:sc-fade .9s var(--sc-ease-fade) 1.5s both; }
.sc-close .sc-key .d { vector-effect:non-scaling-stroke;stroke-width:.8;stroke-opacity:.7;stroke-dasharray:none!important;stroke-dashoffset:0!important;animation:none!important; }
.sc text.sc-check-label { font-size:20px;letter-spacing:.02em; }
main.cream-inner .step-row .sc-icon { width:64px;height:64px;padding:0;background:none;box-shadow:none;border-radius:0; }
.sc-icon .d.h { stroke:#14233f;stroke-width:.7;stroke-opacity:.34; }
.sc-icon .d.f { stroke:#14233f;stroke-width:1.1;stroke-opacity:.9; }
.sc-icon .d.a { stroke:#203FE7;stroke-width:1.5;stroke-opacity:1; }
.sc-letter-mini text { text-transform:none;letter-spacing:.02em;fill:var(--sc-ink);font-size:20px; }
.sc-letter-mini text.sc-l-name { font:400 28px Newsreader,Georgia,serif; }
.sc-letter-mini text.sc-l-topic { font-size:20px; }
.sc-letter-mini text.sc-l-email { font-size:18px; }
.sc-letter-mini text.sc-mini-title { font-size:15px;letter-spacing:.14em; }
.sc-letter-mini .sc-ph { stroke-dasharray:6 6; }
.sc-letter-mini :is(.sc-fold-top,.sc-fold-bot,.sc-back-top,.sc-back-bot,.sc-flap) { transform-box:view-box; }
.sc-contact:has(#form-success:not([hidden])) .form-success { order:0; }
html.js-dm:not(.inner-ready) :is(.sc-d1,.sc-close) :is(.sc-L1,.sc-L2,.sc-L3) .d { animation:sc-stroke .01s linear 3s forwards; }
html.js-dm:not(.inner-ready) :is(.sc-d1,.sc-close) .sc-L4 { animation:sc-fade .01s linear 3s both; }
html.dm-reduced .sc .d { stroke-dashoffset:0!important; }
html.dm-reduced .sc .sc-L4 { opacity:1;animation:none!important; }
html.dm-reduced .cream-site .sc-letter-plate.is-sent .sc-send-route { animation:sc-fade .3s var(--sc-ease-fade) both!important; }
html.dm-reduced:not(.inner-ready) .cream-site .sc .sc-wash { animation:sc-fade .6s var(--sc-ease-fade) 2.8s both!important; }
@media(max-width:899px) {
  .sc text.sc-check-label { font-size:24px; }
  .sc-desk text.sc-primary-label,.sc-d1 text.sc-primary-label,.sc-d1 text.sc-dim,.sc-close text.sc-primary-label,.sc-close text.sc-note:not(.sc-minor) { font-size:30px; }
}
main.cream-inner .sc-example-row .product-window{margin:0;width:100%;max-width:100%}
main.cream-inner .sc-example-row>.sf-art{align-self:start;margin:0}
.sc-icon .occ{fill:var(--sc-page)}
.sc-div{height:48px}.sc-div-m{width:240px;height:48px}
.sc-letter-mini text.sc-mini-title{font-size:20px}
main.cream-inner .text-link{background-image:linear-gradient(#203FE7,#203FE7);background-position:0 100%;background-size:0 1px;background-repeat:no-repeat;text-decoration:none;transition:background-size .35s var(--sc-ease-draw)}
main.cream-inner .text-link:is(:hover,:focus-visible){background-size:100% 1px}
@media(max-width:899px){.sc-div-m{width:180px;height:36px}main.dmp .sc-fig>.dm-cap{font-size:10px}}
/* The gutter is one continuous static hairline through the drawing set. */
html.js-dm .sc-journey::before{animation:none!important;transform:none}
.sc-crop-inbox{aspect-ratio:1000/720}
html.js-dm :is(.sc-d1,.sc-close) :is(.sc-L1,.sc-L2,.sc-L3) .d{stroke-dasharray:1 1.05}
.cream-site .sc-contact .contact-form{gap:24px}
.cream-site .sc-contact .contact-form .field:has(#f-message){margin-bottom:0}
.cream-site .sc-contact .contact-form .turnstile-slot:empty{display:none;margin:0}
.form-status-privacy{block-size:96px;margin-top:0;justify-content:center}
.cream-site .sc-contact .contact-form>.form-actions{margin-top:0}
main.cream-inner .step-row::before{top:62px}
@media(max-width:1099px){
 .sc-contact-grid>.sc-letter-plate{margin:12px auto 16px}
 .cream-site .sc-contact .sc-contact-grid>.contact-form>.form-actions{margin-top:24px}
}
@media(max-width:899px){
 .sc-crop-inbox{aspect-ratio:800/720}
 .sc-example-row>.sf-art{order:1}.sc-example-row>:not(.sf-art){order:0}
 main.cream-inner .sf-close::before{height:calc(24px + var(--room-y)*100vw/1000)}
 .sc-follow-end{display:block;--close-w:100vw;left:9px;top:calc(24px + var(--room-y)*100vw/1000);width:calc(var(--room-x)*100vw/1000 - 9px)}
 main.cream-inner .step-row article{position:relative}
 main.cream-inner .step-row article::before{content:"";position:absolute;left:0;right:0;top:42px;height:1px;background:#14233f;opacity:.18}
 main.cream-inner .step-row article:nth-child(odd)::before{right:-24px}
}
@media(max-width:1099px){.sc-letter-plate .sc-letter-mini{height:auto;aspect-ratio:700/280}}
.sc-letter{overflow:hidden}
.step-row article:hover .sc-icon .d,.step-row article:focus-within .sc-icon .d{stroke-dasharray:1 1.05}
.sc .sc-key .sc-room-outline{stroke-width:1;stroke-opacity:1}
main.cream-inner .text-link{position:relative;background:none;transition:none}
main.cream-inner .text-link::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#203FE7;transform:scaleX(0);transform-origin:left;transition:transform .35s var(--sc-ease-draw)}
main.cream-inner .text-link:is(:hover,:focus-visible)::after{transform:scaleX(1)}
.sc-letter-mini .sc-fold-marks{transform-origin:60px 0}
@media(max-width:899px){
 main.cream-inner .sc-example-row>.sf-art{order:2;grid-row:2}
 main.cream-inner .sc-example-row>:not(.sf-art){order:1;grid-row:1}
}
/* Final quality pass: the recovery path is never a nested scrolling panel. */
.cream-site .sc-contact .form-status-privacy{block-size:auto;min-block-size:200px;max-block-size:none;overflow:visible}
.cream-site .sc-contact .form-status-privacy .form-alert{block-size:auto;min-block-size:0;max-block-size:none;overflow:visible;flex:0 0 auto}
.cream-site .sc-contact .contact-form label[for="f-company"]{display:block!important;white-space:nowrap}
.cream-site .sc-contact .contact-form label[for="f-company"] .optional{display:inline!important;white-space:nowrap}
.cream-site .sc-contact .field-foot{align-items:flex-start}
.cream-site .sc-contact .field-foot .counter{flex:0 0 auto;white-space:nowrap}
.cream-site .sc-contact .field-foot .field-error{flex:1 1 auto;min-width:0}
main.cream-inner .sc-example-row .draft-panel p::after{content:none;display:none;animation:none}
main.cream-inner .sc-example-row .mail-head{align-items:flex-start}
main.cream-inner .sc-example-row .avatar{align-self:flex-start;width:24px;height:24px;line-height:1;margin-top:-2px}
.sc-sec-sound .info-grid,.sc-sec-build .info-grid{position:relative;padding-top:8px;padding-bottom:8px}
.sc-sec-sound .info-grid::before,.sc-sec-build .info-grid::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:#14233f;opacity:.18;box-shadow:0 -4px 0 rgba(20,35,63,.16)}
.sc-sec-sound .info-grid::after,.sc-sec-build .info-grid::after{content:"";position:absolute;left:-8px;right:-8px;bottom:8px;height:1px;background:#14233f;opacity:.28}
main.cream-inner .sf-close{padding-top:24px}
main.cream-inner .sc-journey>.sc-sec-who{padding-bottom:16px}
main.cream-inner .plain-section.sc-contact{padding-bottom:48px}
@media(min-width:900px){
 .sc-example-row{align-items:stretch}
 .sc-example-row>:not(.sf-art){align-self:stretch}
 main.cream-inner .sc-example-row .product-window{height:100%;display:flex;flex-direction:column}
 main.cream-inner .sc-example-row .window-content{flex:1;display:flex;flex-direction:column;justify-content:center}
}
@media(min-width:1100px){
 main:is(.sc-page-inbox,.sc-page-contact){--sc-gutter:40px}
 main.cream-inner .sc-journey>.sc-sec-who{margin-left:0;margin-right:auto}
 .sc-sec-who>.sc-follow{left:calc(-1 * var(--sc-gutter))}
 .sc-page-contact .sc-journey{max-width:1180px}
 .sc-page-contact .sc-follow{left:calc(-1 * var(--sc-gutter))}
 .sc-page-contact{--sc-page-gutter:max(9px,calc(max(var(--pad),(100vw - 1180px)/2) - var(--sc-gutter)))}
 .sc-page-contact .sc-hero .sc-origin::before{content:none;display:none}
}
@media(max-width:599px){.cream-site .sc-contact .form-status-privacy{min-block-size:224px}}
@media(min-width:1100px){main:is(.sc-page-inbox,.sc-page-contact) :is(.sc,.sc-div,.sc-follow,.sc-icon){--sc-gutter:40px}}
@media(min-width:1100px){
 main.sc-page-contact .sc-journey{max-width:1180px}
 .sc-page-contact .sc-follow-end{left:var(--sc-page-gutter);width:calc((100vw - var(--close-w))/2 + var(--room-x)*var(--close-w)/1000 - var(--sc-page-gutter))}
}

/* B5 ROUND 4: keep hero scene lines ≥16px from CTA / text-link / copy at ≤768. */
@media (max-width: 768px) {
  main.cream-inner .inner-hero .sf-hero-art {
    margin-top: 28px;
  }
  main.cream-inner .inner-hero .actions {
    margin-bottom: 0;
    padding-bottom: 8px;
  }
}
