.arcs-home .capabilities-heading {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(36px, 6vh, 72px);
}
.arcs-home .capabilities-heading > p {
  max-width: 38ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}
.arcs-home .craft-story { display: block; }
.arcs-home .craft-story .capability-list { padding: 0; }
.arcs-home .craft-story .capability {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 0;
  padding: clamp(32px, 4vw, 56px) 0;
}
.arcs-home .craft-story .capability h3 {
  margin: 0 0 12px;
  max-width: none;
  font-size: clamp(30px, 3vw, 47px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.arcs-home .craft-story .capability p {
  margin: 0;
  max-width: 37ch;
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.65;
}
.craft-example { min-width: 0; margin: 0; }
.craft-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  container-type: inline-size;
}
.craft-example figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0 1px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.craft-example figcaption strong { font-weight: 500; color: var(--paper); }
.craft-example figcaption a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }
.craft-example figcaption a:hover { color: var(--paper); }
.craft-identity { display: grid; grid-template-columns: 62% 38%; background: #102b35; }
.craft-brand-mark { position: relative; display: grid; place-items: center; }
.craft-brand-mark img { display: block; width: 78%; height: auto; }
.craft-brand-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.craft-swatches { display: flex; position: absolute; left: 11%; bottom: 12%; }
.craft-swatches i { width: clamp(16px, 3.4cqw, 28px); aspect-ratio: 1.7; }
.craft-swatches i:nth-child(1) { background: #0a2029; }
.craft-swatches i:nth-child(2) { background: #526367; }
.craft-swatches i:nth-child(3) { background: #d1e6b8; }
.craft-swatches i:nth-child(4) { background: #f9faf7; }
.craft-store { background: #141614; }
.craft-store img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.craft-film { background: #191b18; }
.craft-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.craft-mail { display: grid; place-items: center; background: #d6cfc0; color: #263a2e; }
.craft-mail-sheet {
  width: min(80%, 480px);
  background: #faf6ee;
  box-shadow: 0 8px 24px #3e352529;
  padding: 3% 3% 0;
}
.craft-mail-sender {
  display: block;
  color: #41554b;
  font-size: clamp(9px, 1.8cqw, 13px);
  line-height: 1.35;
}
.craft-mail-sheet b {
  display: block;
  margin: 1% 0 4%;
  font-size: clamp(12px, 2.8cqw, 21px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.craft-mail-sheet img { display: block; width: 100%; height: auto; }

@media (max-width: 799px) {
  .arcs-home .capabilities-heading,
  .arcs-home .craft-story .capability { grid-template-columns: minmax(0,1fr); }
  .arcs-home .capabilities-heading { gap: 18px; margin-bottom: 30px; }
  .arcs-home .capabilities-heading > p { font-size: 1rem; }
  .arcs-home .craft-story .capability { gap: 19px; padding: 30px 0; }
  .arcs-home .craft-story .capability:last-child { padding-bottom: 0; }
  .craft-example figcaption { font-size: 12px; padding-top: 9px; }
}

/* The stage and its copy pin as one unit; the page supplies the entire timeline. */
.craft-pin > .craft-stage, .craft-controls, .sequence-link { display: none; }
.arcs-home .craft-story.is-sequence {
  --craft-travel: clamp(1000px, 185svh, 1950px);
  --craft-art-height: clamp(245px, min(40vw, 51svh), 560px);
  display: block;
}
.craft-story.is-sequence::after { content: ''; display: block; height: var(--craft-travel); }
.is-sequence .craft-pin {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(32px,6vw,90px);
  position: sticky;
  top: max(12px, calc((100svh - var(--craft-art-height))/2));
}
.arcs-home .is-sequence .craft-stage {
  display: block;
  position: relative;
  top: auto;
  height: var(--craft-art-height);
  min-height: 0;
  max-height: none;
  background: radial-gradient(ellipse at center,#3c3730,#282622 76%);
}
.is-sequence .craft-overline, .is-sequence .craft-caption { left: 14px; }
.is-sequence .craft-index { right:14px; }
.arcs-home .is-sequence .capability-list { display:grid; grid-template-columns:1fr; padding:0; }
.arcs-home .is-sequence .capability {
  grid-area:1/1;
  display:flex;
  align-items:center;
  border:0;
  padding:0;
  min-height:0;
  visibility:hidden;
}
.arcs-home .is-sequence .capability.is-current { visibility:visible; }
.arcs-home .is-sequence .capability.is-current .capability-copy { animation: craft-copy-in .18s ease-out; }
@keyframes craft-copy-in { from{opacity:.55} to{opacity:1} }
html.motion-paused .is-sequence .capability-copy { animation:none!important; }
.is-sequence .craft-example { display:none; }
.is-sequence .sequence-link { display:inline-block; margin-top:12px; font-size:14px; color:var(--gold-light); text-decoration:underline; text-underline-offset:4px; }
.is-sequence .craft-controls { display:flex; gap:4px; width:160px; margin-top:16px; }
.craft-controls a { padding:10px 0; flex:1; }
.craft-controls a::before { content:''; display:block; height:2px; background:#8d8577; }
.craft-controls a[aria-current]::before, .craft-controls a:hover::before { background:#e2c38a; }
.craft-controls a:focus-visible { outline:1px solid var(--gold); outline-offset:2px; }
.craft-activity .activity-screen {
  width:min(82%, 138cqh);
  left:50%; top:47%;
  transform:translate(-50%,-50%) perspective(900px) rotateY(-3deg);
}
.craft-activity { container-type:size; }
.craft-activity .shop-products { height:66%; }
.craft-activity .shop-product { background:#191a17; padding:0; overflow:hidden; }
.craft-activity .shop-product img { position:absolute; inset:0 0 22%; width:100%; height:78%; object-fit:cover; object-position:50% 45%; }
.craft-activity .shop-product span { left:0; right:0; bottom:0; padding:4% 6%; font-size:clamp(8px,1.95cqw,13px); line-height:1.2; color:#eee6d6; background:#21231f; letter-spacing:.01em; }
.craft-activity .shared-product { left:28%; top:41%; width:32%; height:35%; mix-blend-mode:lighten; }
.craft-activity .shared-product img { width:100%; height:100%; object-fit:contain; }
.craft-activity .demo-social {
  inset:20% 5% 7%;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:3%;
  align-items:stretch;
  transform:translateY(calc((1 - var(--campaign,0))*10px));
}
.craft-activity .social-card { width:auto; min-width:0; display:flex; flex-direction:column; }
.craft-activity .social-card:not(.campaign-letter) {
  opacity:calc(1 - var(--rail-exit,0));
  transform:translateX(calc(-14% * var(--rail-exit,0))) scale(calc(1 - .06 * var(--rail-exit,0)));
}
.sequence-poster { position:relative; min-height:0; flex:1; overflow:hidden; background:#212820; }
.sequence-poster img { width:100%; height:100%; display:block; object-fit:contain; }
.studio-film-poster video { width:100%; height:100%; object-fit:cover; display:block; }
.social-card > span { font-size:clamp(8px,1.85cqw,12px); line-height:1.4; padding:5% 7%; }
/* The right grid card stays opaque as it moves to the center and becomes the letter. */
.craft-activity .campaign-letter {
  position:absolute;
  z-index:2;
  left:calc(68.6667% - 43.6667% * var(--paper-move,0));
  top:calc(15% * var(--paper-move,0) + 51% * var(--paper-tuck,0));
  clip-path:inset(0 0 calc(54% * var(--paper-tuck,0)) 0);
  width:calc(31.3333% + 18.6667% * var(--paper-move,0));
  height:calc(100% - 44% * var(--paper-move,0));
  background:#20271e;
}
.campaign-letter .sequence-poster { flex:1; }
.campaign-letter .letter-art {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  clip-path:inset(0 0 calc((1 - var(--paper-print,0)) * 100%) 0);
}
.campaign-letter > span {
  padding-inline:7%;
  padding-block:calc(5% * (1 - var(--rail-exit,0)));
  line-height:calc(1.4 * (1 - var(--rail-exit,0)));
  opacity:calc(1 - var(--rail-exit,0));
}
.campaign-envelope {
  position:absolute;
  left:20%; width:60%; top:29%; height:65%;
  border-radius:2px;
  opacity:var(--pocket-rise,0);
  transform:translateY(calc((1 - var(--pocket-rise,0))*27%));
}
.campaign-envelope.envelope-back { z-index:1; background:linear-gradient(145deg,#725c39,#b59660); }
.campaign-envelope.envelope-pocket, .flight-pocket {
  z-index:3;
  background:linear-gradient(150deg,#eed49e,#b38b50);
  clip-path:polygon(0 0,50% 55%,100% 0,100% 100%,0 100%);
}
/* The same folds are used inside the card and on the outgoing envelope. */
.envelope-lid { z-index:1; pointer-events:none; }
.flap-forward .envelope-lid { z-index:4; }
.mail-fold {
  display:block; position:absolute; inset:0;
  clip-path:polygon(0 0,100% 0,50% 56%);
  background:linear-gradient(168deg,#fae2af 0%,#ddbb7f 51%,#b38950 78%);
  transform-origin:50% 0;
  transform:scaleY(var(--fold-projection,1));
}
.mail-departed :is(.campaign-letter,.campaign-envelope) { visibility:hidden; }
.flight-envelope {
  position:absolute; border-radius:2px;
  background:linear-gradient(145deg,#725c39,#b59660);
  box-shadow:0 9px 22px #231c1430;
  pointer-events:none;
}
.flight-pocket { position:absolute; inset:0; border-radius:inherit; }
.flight-envelope .mail-fold { z-index:4; }
.wax-seal {
  position:absolute; left:50%; top:54%; z-index:5;
  width:16%; aspect-ratio:1;
  border-radius:47% 52% 44% 53% / 52% 45% 55% 46%;
  background:
    radial-gradient(ellipse at 30% 19%,#d67d69 0,transparent 24%),
    radial-gradient(ellipse at 73% 78%,#5a171d 3%,transparent 48%),
    linear-gradient(145deg,#b05045 7%,#8a2b30 56%,#602026 90%);
  box-shadow:inset 1px 2px 2px #ffc5a577,inset -2px -2px 3px #451218aa,1px 3px 4px #3c21146b;
  opacity:0;
}
.wax-seal::before {
  content:''; position:absolute; inset:12%; border-radius:49% 52% 48% 51%;
  border:1px solid #662329; box-shadow:0 1px 1px #e6a18499,inset 0 1px 2px #48171999;
}
.wax-seal::after, .seal-imprint {
  position:absolute; inset:25% 16%;
  mask:url('/assets/mark.svg') center/contain no-repeat;
}
.wax-seal::after { content:''; background:#d8836c; transform:translateY(1px); }
.seal-imprint { z-index:1; background:linear-gradient(#4a1218,#702228); }
.email-send .send-small[hidden] { display:none; }
.craft-activity .social-card:first-child .sequence-poster { background:#030303; }
@media (max-width: 799px) {
  .arcs-home .craft-story.is-sequence { --craft-art-height:clamp(170px,min(65vw,35svh),320px); --craft-travel:clamp(900px,168svh,1500px); }
  .is-sequence .craft-pin { grid-template-columns:1fr; gap:20px; top:max(12px,calc((100svh - var(--pin-height,470px))/2)); }
  .is-sequence .craft-controls { margin-top:5px; }
  .arcs-home .is-sequence .capability { align-items:start; }
  .arcs-home .is-sequence .capability h3 { font-size:clamp(26px,7vw,36px); margin-bottom:8px; }
  .arcs-home .is-sequence .capability p { line-height:1.48; }
  .is-sequence .sequence-link { margin-top:7px; }
}

/* Draw the browser outline in CSS when WebGL is unavailable. */
.arcs-home .craft-fallback {
  inset:0; width:100%; height:100%; opacity:calc(1 - var(--screen-opacity,0)); pointer-events:none;
}
.arcs-home .craft-live .craft-fallback { visibility:hidden; }
.craft-wire {
  position:absolute; left:50%; top:47%; width:80%; aspect-ratio:1.65; transform:translate(-50%,-50%) scale(calc(.78 + .22 * var(--craft-build,0)));
  border:1px solid #d2b47a; border-radius:4px;
  opacity:calc(var(--craft-build,0) * .85);
}
.craft-wire::before {content:''; display:block; margin-top:10%; border-bottom:1px solid #b99a5b;}
.craft-wire i {display:block; width:28%; height:1px; margin:4% 8% 0; background:#ab936b;}
/* The brand study opens on the dock and gives its wordmark and palette their own space. */
.craft-brand-setting {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: calc(45% + 6% * var(--identity-reveal,0)) 1fr;
  overflow: hidden;
  pointer-events: none;
  opacity: calc(1 - var(--craft-build,0));
  background: #102b35;
}
.brand-setting-identity {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding-inline: 12%; gap: clamp(12px, 2vw, 22px);
  background: linear-gradient(140deg, #153640, #0a2029);
}
.brand-setting-identity img { display: block; width: 100%; height: auto; }
.brand-setting-identity .craft-swatches {
  position: static; width: 73%; border: 1px solid #ffffff2b;
  clip-path: inset(0 calc((1 - var(--identity-reveal,0)) * 54%) 0 0);
}
.brand-setting-identity .craft-swatches i { flex: 1; width: auto; aspect-ratio: 2.15; }
.brand-setting-photo { display: block; width: 100%; height: 100%; min-width: 0; object-fit: cover; object-position: 55% 52%; }
.craft-brand-setting::after {
  content: ""; position: absolute; inset: 0 0 0 45%;
  background: linear-gradient(0deg, #0a2029a6, transparent 24%, transparent 85%, #0a202936);
}
.is-sequence .craft-overline { text-transform: uppercase; }
.craft-web-switch:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.15rem; margin-top: .65rem; }
.craft-web-switch button {
  min-height: 44px; border: 0; background: none; color: var(--muted); padding: .35rem 0;
  font: inherit; font-size: .875rem; cursor: pointer;
}
.craft-web-switch button[aria-pressed="true"] { color: var(--paper); text-decoration: underline; text-underline-offset: .35em; }
.craft-web-switch button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.craft-listing-preview { background: #273e35; container-type: inline-size; }
.craft-listing-preview > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.craft-listing-strip {
  position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 4%;
  padding: 12% 5% 4%; background: linear-gradient(transparent, #142620e8 72%); color: #fff9ed;
}
.craft-listing-strip strong { font: 400 clamp(.85rem, 5.1cqw, 1.65rem)/1 var(--display); }
.craft-listing-strip span, .showing-next {
  background: #f3eee1; color: #273e35; border-radius: 2px; padding: .6em .8em;
  font-size: clamp(.48rem, 2.5cqw, .82rem); white-space: nowrap;
}
.demo-listing { display: none; position: absolute; inset: 0; overflow: hidden; background: #21362d; }
.craft-activity[data-web="property"] .demo-listing { display: block; }
.craft-activity[data-web="property"] :is(.shop-products,.shop-bottom,.demo-cursor,.shared-product) { visibility: hidden; }
.demo-listing .craft-listing-preview { width: 100%; height: 100%; }
.demo-showing-form {
  position: absolute; inset: 0; padding: 5% 8%; display: flex; justify-content: center;
  align-items: flex-start; flex-direction: column; gap: 8%; background: #f4f0e5; color: #283b31;
  opacity: 0; transform: translateY(6%); transition: opacity .25s, transform .25s;
}
.showing-form-open .demo-showing-form { opacity: 1; transform: translateY(0); }
.demo-showing-form small { text-transform: uppercase; font-size: clamp(.45rem, 1.5cqw, .6rem); letter-spacing: .12em; }
.demo-showing-form b { font: 400 clamp(.9rem, 3.7cqw, 1.8rem)/1.05 var(--display); }
.showing-selection { display: inline-flex; align-items: center; gap: .8em; font-size: clamp(.65rem, 2.3cqw, 1rem); }
.showing-selection i { color: #fff; background: #344e3e; padding: .12em .4em; border-radius: 2px; font-style: normal; }
.showing-next { background: #344e3e; color: white; font-size: clamp(.5rem, 1.8cqw, .8rem); }
.campaign-letter .craft-letter-print {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  background: #faf6ee; padding: 4% 5% 0; color: #263a2e; text-align: left;
}
.craft-letter-print .craft-mail-sender { font-size: clamp(5px, 1.7cqw, 11px); }
.craft-letter-print b { display: block; margin: 2% 0; font: 600 clamp(7px, 2.5cqw, 16px)/1.1 var(--sans); }
.craft-letter-print img { display: block; flex: 1; width: 100%; min-height: 0; object-fit: cover; object-position: center 45%; }
@media (prefers-reduced-motion: reduce) {
  .demo-showing-form { transition: none; }
}
