@font-face {
  font-family: "GG Harmony";
  src: url("/assets/fonts/HarmonyOS_Sans_SC_Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "GG Harmony";
  src: url("/assets/fonts/HarmonyOS_Sans_SC_Black.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "GG Fraunces";
  src: url("/assets/fonts/Fraunces-Variable.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

#process, #contact {
  --ending-cream: #ffe5b0;
  --ending-ink: #361809;
  --ending-paper: url("/assets/process/burnt-orange-background.png");
  --ending-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.35'/%3E%3C/svg%3E");
  color: var(--ending-cream);
  font-family: "GG Harmony", var(--body);
}
#process {
  --process-font: var(--site-serif);
  font-family: var(--process-font);
  --archive-ink-wear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='wear'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.76' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.33 0.34 0.33 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='4' intercept='-2.45'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23wear)'/%3E%3C/svg%3E");
}
.ending-sections {
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='.48'/%3E%3C/svg%3E");
  background-color: #ad360f;
  background-image: var(--paper-grain);
  background-size: 192px 192px;
  background-blend-mode: soft-light;
}
.ending-wrap {
  width: min(1450px, 90%);
  margin-inline: auto;
}
html.section-mode .ending-sections > #process, #process.section-pad {
  display: block;
  background: transparent;
  height: auto;
  min-height: 100svh;
  padding: clamp(78px, 10svh, 124px) 0 clamp(84px, 13svh, 148px);
  position: relative;
  isolation: isolate;
}
#process .about-room-header a[aria-current] {
  color: #ffdb80;
  text-decoration: underline;
  text-underline-offset: .35em;
}
.process-heading h2,
.process-heading p {
  display: grid;
}
.process-heading h2 {
  font: 900 clamp(29px, 6vw, 104px)/1.08 var(--process-font);
  letter-spacing: -.012em;
}
.process-heading h2 > span,
.process-heading p > span { grid-area: 1 / 1; }
.process-title-typing[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .process-title-is-typing > :first-child { opacity: 0; }
}
.process-title-typing { position: relative; }
.process-title-typing::after {
  content: "";
  position: absolute;
  width: .035em;
  height: .82em;
  margin: .13em 0 0 .045em;
  background: #ffdb80;
  animation: process-title-cursor .8s step-end infinite;
}
@keyframes process-title-cursor {
  50% { opacity: 0; }
}
@media (forced-colors: none) {
  .process-heading h2 > span {
    background-image: var(--archive-ink-wear), var(--ending-grain), linear-gradient(175deg, #ffdb80 28%, #f7c66d);
    background-size: 96px 96px, 108px 108px, auto;
    background-blend-mode: soft-light, soft-light, normal;
    mask-image: var(--archive-ink-wear), linear-gradient(#000, #000);
    mask-size: 96px 96px, auto;
    mask-composite: exclude;
    background-clip: text;
    color: transparent;
  }
}
.process-heading p {
  margin: 12px 0 0;
  font-size: clamp(16px, 1.9vw, 28px);
  line-height: 1.45;
  letter-spacing: .025em;
}
.process-heading p > span > span { margin-inline-start: .3em; }
.process-folders {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 24px);
  list-style: none;
  padding: 0;
  margin: clamp(42px, 5vw, 82px) 0 0;
}
.process-folder {
  --folder-art: url("/assets/process/archive-discover.png");
  position: relative;
  display: grid;
  grid-template: "folder" 1fr / minmax(0, 1fr);
  isolation: isolate;
  aspect-ratio: 338 / 225;
  min-height: 112px;
}
.process-folder:nth-child(2) { --folder-art: url("/assets/process/archive-plan.png"); }
.process-folder:nth-child(3) { --folder-art: url("/assets/process/archive-build.png"); }
.process-folder:nth-child(4) { --folder-art: url("/assets/process/archive-launch.png"); }
.process-folder.is-open { z-index: 2; }
.process-folder::before {
  content: "";
  position: absolute;
  inset: -11.111% 0 0;
  background: var(--folder-art) center / 100% 100% no-repeat;
  filter: drop-shadow(0 5px 4px #42150085);
  pointer-events: none;
  z-index: -1;
}
.folder-card {
  color: var(--ending-ink);
  background-image: var(--ending-grain), var(--ending-paper);
  background-blend-mode: multiply, soft-light;
  background-position: center;
  background-size: 240px 240px, cover;
}
.folder-cover {
  --folder-invitation-top: var(--desktop-invitation-top, -75px);
  grid-area: folder;
  position: relative;
  padding: 0;
  perspective: 2600px;
  z-index: 2;
}
.folder-cover::before {
  content: "Choose me" / "";
  position: absolute;
  top: var(--folder-invitation-top);
  left: 50%;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ending-cream);
  color: var(--ending-ink);
  box-shadow: 0 3px 6px #3514064d;
  font: 900 clamp(12px, 1.1vw, 16px)/1.2 var(--process-font);
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -100%);
}
.folder-cover::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(var(--folder-invitation-top) + 8px);
  left: 50%;
  width: clamp(20px, 2vw, 31px);
  height: clamp(26px, calc(-1 * var(--folder-invitation-top) - 40px), 96px);
  background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 98' preserveAspectRatio='none'%3E%3Cpath d='M17 2C17 17 29 22 29 36C29 49 20 58 12 56C3 54 1 42 7 38C13 34 22 40 23 50C26 65 17 78 17 95M9 84L17 95L25 84' fill='none' stroke='%23ffe5b0' stroke-width='1.8' vector-effect='non-scaling-stroke' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: translateX(-50%);
  transform-origin: top;
  pointer-events: none;
}
.process-folder.is-open .folder-cover::before,
.process-folder.is-open .folder-cover::after { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .folder-cover::before {
    opacity: 0;
    animation: folder-invitation 6s var(--folder-invitation-delay, 0s) infinite;
  }
  .folder-cover::after {
    opacity: 0;
    animation: folder-invitation-underline 6s var(--folder-invitation-delay, 0s) infinite;
  }
  .process-folder:nth-child(2) { --folder-invitation-delay: 1.5s; }
  .process-folder:nth-child(3) { --folder-invitation-delay: 3s; }
  .process-folder:nth-child(4) { --folder-invitation-delay: 4.5s; }
  @keyframes folder-invitation {
    0%, 24%, 100% { opacity: 0; transform: translate(-50%, -55%) scale(.9); }
    6% { opacity: 1; transform: translate(-50%, -124%) scale(1.06); }
    10%, 18% { opacity: 1; transform: translate(-50%, -100%); }
  }
  @keyframes folder-invitation-underline {
    0%, 24%, 100% { opacity: 0; transform: translateX(-50%) scaleY(.8); }
    6%, 18% { opacity: 1; transform: translateX(-50%) scaleY(1); }
  }
}
.folder-front {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px clamp(14px, 2vw, 36px);
  align-items: center;
  border-radius: 4% / 6%;
  background: var(--folder-art) center bottom / 100% 111.111% no-repeat;
  font-size: clamp(17px, 2.1vw, 35px);
  text-align: center;
  font-weight: 900;
  line-height: 1.2;
  transform-origin: bottom;
  transition: transform .34s ease;
}
.process-folder.is-open .folder-front {
  transform: rotateX(-60deg);
}
.folder-label {
  color: #532410;
  transition: transform .34s ease;
}
.folder-cover-number,
.folder-cover-clip,
.folder-cover-stamp {
  position: absolute;
  color: #532410;
  opacity: .83;
}
.folder-cover-number,
.folder-cover-subtitle,
.folder-cover-stamp {
  font-size: clamp(8px, .68vw, 13px);
  font-weight: 400;
  letter-spacing: .025em;
}
.folder-cover-number { inset: 7% auto auto 4.2%; }
.folder-cover-subtitle {
  display: block;
  margin-top: .35em;
  opacity: .83;
}
.folder-cover-stamp {
  inset: auto 5.4% 7% auto;
  padding: .35em .65em;
  border: 1px dashed #532410a6;
  border-radius: 3px;
}
.folder-cover-clip {
  inset: 5.4% 5.4% auto auto;
  width: clamp(8px, .75vw, 14px);
  aspect-ratio: 3 / 4;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cpath d='M3 6v6a4 4 0 0 0 8 0V4a2.5 2.5 0 0 0-5 0v8a1 1 0 0 0 2 0V6' fill='none' stroke='%23532410' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (forced-colors: none) {
  .folder-label,
  .folder-cover-number,
  .folder-cover-clip,
  .folder-cover-stamp {
    mask-image: var(--archive-ink-wear), linear-gradient(#000, #000);
    mask-size: 68px 68px, auto;
    mask-composite: exclude;
  }
}
.process-folder.is-open .folder-label { transform: scaleY(1.65); }
.folder-card {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  margin: 0 9px;
  padding: clamp(12px, 1.45vw, 24px);
  border-radius: 14px;
  background-color: #ffebc5;
  box-shadow: 0 5px 14px #3514064d;
  transform: translateY(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: inset-block-end .34s ease, transform .34s ease, opacity .2s, visibility .34s;
}
.process-folder.is-open .folder-card {
  inset-block-end: 46%;
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: inset-block-end .4s cubic-bezier(.2,.8,.3,1.06) .1s, transform .4s ease .1s, opacity .2s .1s;
}
.folder-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #a4512e6b;
  font-size: 12px;
  font-weight: 800;
}
.folder-code {
  font: 800 12px/1.2 var(--process-font);
}
.folder-card h3 {
  margin: 6px 0 8px;
  font-size: clamp(19px, 2vw, 30px);
  line-height: 1.2;
}
.folder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.folder-tags li {
  background: #ffd293;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 12px;
}
.folder-card p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

html.section-mode .ending-sections > #contact, #contact.section-pad {
  --contact-background-shift: clamp(14px, 2svh, 26px);
  --contact-bottom-padding: clamp(46px, 7svh, 90px);
  --contact-top-padding: clamp(34px, 6svh, 74px);
  display: grid !important;
  grid-template: auto auto / minmax(0, 1fr);
  align-content: start;
  height: auto;
  min-height: 100svh;
  padding: calc(var(--contact-top-padding) + var(--contact-background-shift)) 0
    calc(var(--contact-bottom-padding) - var(--contact-background-shift));
  position: relative;
  isolation: isolate;
  background: transparent;
}
#contact::before, #contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: #321e13 var(--paper-grain) center bottom / 192px 192px repeat;
  background-blend-mode: soft-light;
}
#contact::before {
  grid-area: 1 / 1 / 2 / -1;
  inset: calc(-1 * (var(--contact-top-padding) + var(--contact-background-shift))) 0 0;
  mask-image: linear-gradient(
    transparent 0 calc(42.25% - var(--contact-top-padding) * .2275 + var(--contact-background-shift) * .5775),
    #000 0
  );
}
#contact::after {
  grid-area: 2 / 1 / -1 / -1;
  inset: -1px 0 calc(var(--contact-background-shift) - var(--contact-bottom-padding));
  /* The same edge of the paper meets on both sides of the grid line. */
  transform: scaleY(-1);
}
.closing-card {
  position: relative;
  padding: clamp(45px, 7vw, 105px) 16px clamp(42px, 6vw, 86px);
  border-radius: clamp(24px, 4vw, 64px);
  text-align: center;
  background-color: #eb4606;
  background-image:
    radial-gradient(ellipse at 2% 3%, #f7ab6860, transparent 35%),
    radial-gradient(ellipse at 90% 108%, #71270e85, transparent 53%),
    repeating-radial-gradient(circle at 51% 55%, #ffc17a10 0 9%, transparent 10% 19%),
    var(--ending-paper);
  background-blend-mode: normal, multiply, normal, luminosity;
  background-size: cover;
  background-position: center;
  box-shadow: 7px 10px 0 #231007, 0 18px 26px #25120755;
}
#contact #contact-title img { width: 100%; height: auto; }
#contact-title > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.closing-card::after {
  content: "✦";
  position: absolute;
  right: 6.3%;
  bottom: 19%;
  color: #ffda77;
  font-size: clamp(18px, 2.7vw, 35px);
  pointer-events: none;
}
#contact #contact-title {
  margin: 0;
  color: #ffdc20;
  font: 900 clamp(30px, 6.15vw, 99px)/1.04 "GG Fraunces", "Cooper Black", Georgia, serif;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 9;
  letter-spacing: -.063em;
  -webkit-text-stroke: clamp(2px, .24vw, 4px) #271208;
  paint-order: stroke fill;
  text-shadow: .055em .085em #271208;
}
.closing-card p {
  font-family: var(--site-serif);
  margin: 26px 0 18px;
  font-weight: 900;
  font-size: clamp(21px, 3vw, 44px);
  line-height: 1.3;
}
.closing-spark { position: absolute; top: 9%; left: 7%; font-size: 26px; color: #ffda77; }
#contact {
  --contact-control-paper: var(--ending-grain) center / 108px 108px,
    url("/assets/process/aged-orange-paper-v2.png") center / cover;
}
.closing-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 23px; }
.closing-actions > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 48px;
  padding: 9px clamp(15px, 2.8vw, 42px);
  border: 2px solid #281508;
  border-radius: 999px;
  background: var(--contact-control-paper) #ffe0a0;
  background-blend-mode: soft-light;
  color: #281508;
  box-shadow: 4px 5px #281508;
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 900;
}
.closing-actions > *:hover { background-color: #fff1ca; }
.closing-actions svg { flex: none; width: 1.12em; height: 1.12em; fill: currentColor; }
#contact .closing-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: calc(clamp(28px, 3vw, 48px) * 1.4);
  width: min(90%, 1400px);
  padding-top: 0;
  border: 0;
  margin: calc((clamp(46px, 7vw, 105px) - 12px) * 1.4) auto 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
}
.closing-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(214px, max-content);
  align-items: start;
  gap: clamp(24px, 3vw, 44px);
}
.closing-columns,
.closing-copyright {
  width: min(100%, 1000px);
  justify-self: center;
}
.closing-columns > * { min-width: 0; }
.closing-columns h3 { font-family: var(--site-serif); font-size: 24px; font-weight: 600; line-height: 1.3; margin: 0 0 18px; }
.closing-columns p { margin: 0; line-height: inherit; }
.closing-columns a { overflow-wrap: anywhere; }
.closing-columns nav a,
.closing-columns h3 + a { display: block; width: fit-content; }
.closing-columns a:hover { text-decoration: underline; }
.closing-brand {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: #ffdc20;
  font: 900 clamp(25px, 3vw, 46px)/1.13 "GG Fraunces", "Cooper Black", Georgia, serif;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 9;
  text-shadow: .04em .055em #211209;
  letter-spacing: -.045em;
}
.closing-brand img { width: 198px; height: auto; }
.closing-columns > :first-child > p { font-family: var(--site-serif); font-size: 22px; line-height: 1.4; }
.contact-form { margin-top: 28px; }
.contact-field {
  display: flex;
  align-items: center;
  width: min(100%, 310px);
  height: 44px;
  gap: 7px;
  padding: 5px 7px 5px 12px;
  border-radius: 99px;
  background: var(--contact-control-paper) #ffe6b6;
  background-blend-mode: soft-light;
  color: #281508;
}
.contact-field svg { flex: 0 0 18px; width: 18px; fill: currentColor; }
.contact-field input {
  flex: 1;
  min-width: 0;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 3px;
  font-family: var(--site-serif);
  font-size: 16px;
  line-height: 1.3;
  padding: 8px 0;
}
.contact-field input:focus { outline: none; }
.contact-field:has(input:focus-visible) { outline: 2px solid #a5350b; outline-offset: 2px; }
.contact-field input::placeholder { color: #59402c; opacity: 1; }
.contact-field button {
  font-family: var(--site-serif);
  flex: none;
  border-radius: 99px;
  padding: 6px 12px;
  background: #a5350b var(--ending-paper) center / cover;
  background-blend-mode: multiply;
  color: #fff0d4;
  font-size: 13px;
}
.contact-field button:disabled { opacity: .65; cursor: wait; }
.closing-columns .contact-result { font-size: 13px; margin-top: 8px; }
.contact-result:empty { display: none; }
.closing-copyright {
  position: relative;
  padding-top: 12px;
  font-size: 15px;
}
.closing-copyright::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  border-top: 1px solid rgb(255 229 176 / .2);
}
.closing-social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.closing-social li { width: 40px; height: 40px; display: grid; place-items: center; background: #ffe6b6; border-radius: 50%; }
.closing-social svg {
  width: 20px;
  height: 20px;
  fill: #281508;
}

@media (max-width: 850px) {
  .process-folders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 112px 14px; margin-top: 120px; }
  .folder-card { margin-inline: 4px; padding: 10px; }
  .folder-front { padding-inline: 14px; }
  .closing-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closing-columns > :first-child,
  .closing-columns > .closing-follow { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .folder-front { padding-inline: 10px; }
}
@media (max-width: 520px) {
  .closing-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 851px) {
  #contact {
    --closing-card-width: min(93.6vw, var(--closing-card-max-width, 1544px));
  }
  #contact .closing-footer {
    width: calc(var(--closing-card-width) * .94);
    margin-top: calc((clamp(46px, 7vw, 105px) - 36px) * 1.4);
  }
  .closing-columns,
  .closing-copyright {
    width: 100%;
  }
  .closing-columns {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, .88fr) max-content;
    gap: clamp(16px, 2.3vw, 36px);
  }
  .closing-columns > :nth-child(2),
  .closing-columns > nav {
    position: relative;
    inset-inline-start: clamp(12px, 2vw, 32px);
  }
  .closing-social { gap: clamp(6px, .6vw, 10px); }
  .closing-social li { width: clamp(28px, 2.4vw, 40px); height: auto; aspect-ratio: 1; }
  #process, #contact { --reference-unit: min(1vw, 15px); }
  html.section-mode .ending-sections > #process, #process.section-pad {
    align-content: center;
    /* Override the chapter controller's shared desktop padding. */
    padding-block: clamp(48px, 4.5vw, 90px) calc(8 * var(--reference-unit)) !important;
  }
  .ending-wrap { width: min(93.6%, 1544px); }
  #process .ending-wrap { width: min(76.4%, 1488px); }
  #process .process-heading { position: relative; top: calc(-8.8svh); }
  .process-heading h2 {
    font-size: calc(5 * var(--reference-unit));
  }
  .process-heading p {
    margin-top: calc(.5 * var(--reference-unit));
    font-size: calc(1.85 * var(--reference-unit));
  }
  .process-folders {
    --desktop-invitation-top: calc(-21px - 14.1svh);
    --folder-gap-increase: calc(.25 * var(--reference-unit));
    position: relative;
    top: calc(4.9svh - 16px);
    margin-top: max(104px, calc(8.4 * var(--reference-unit)));
    gap: calc(.5 * var(--reference-unit) + var(--folder-gap-increase));
    width: calc(100% + 3 * var(--folder-gap-increase));
    margin-inline-start: calc(-1.5 * var(--folder-gap-increase));
  }
  .folder-front {
    padding-inline: calc(2.7 * var(--reference-unit));
    font-size: clamp(18px, 2.4vw, 46px);
  }
  .folder-card {
    margin-inline: 7px;
    padding: calc(1.45 * var(--reference-unit));
    border-radius: calc(1.7 * var(--reference-unit));
  }
  .folder-card h3 { font-size: calc(2.9 * var(--reference-unit)); }
  .folder-tags li { font-size: calc(1.13 * var(--reference-unit)); padding-inline: 4px; }
  .folder-card p { font-size: calc(1.22 * var(--reference-unit)); }
  html.section-mode .ending-sections > #contact, #contact.section-pad {
    --contact-top-padding: clamp(32px, 5svh, 62px);
    grid-template-rows: 1fr auto auto 1fr;
    --contact-bottom-padding: calc(var(--contact-top-padding) - 12px);
    padding-block: calc(var(--contact-top-padding) + var(--contact-background-shift))
      calc(var(--contact-bottom-padding) - var(--contact-background-shift)) !important;
  }
  #contact::before { grid-row: 1 / 3; }
  #contact::after { grid-row: 3 / -1; }
  #contact .closing-card {
    grid-area: 2 / 1;
    justify-self: center;
    width: var(--closing-card-width);
    margin-inline: 0;
  }
  #contact .closing-footer { grid-area: 3 / 1; }
  .closing-card {
    padding: calc(9 * var(--reference-unit)) calc(3.4 * var(--reference-unit)) calc(5.6 * var(--reference-unit));
    border-radius: calc(4.9 * var(--reference-unit));
    box-shadow: 0 12px 22px #22100688, inset 0 2px #ffd37147;
  }
  .closing-spark { top: 7.5%; left: 9%; font-size: calc(2.8 * var(--reference-unit)); }
  .closing-card p {
    margin: calc(1.5 * var(--reference-unit) + 6px) 0 calc(2.4 * var(--reference-unit));
    font-size: calc(4.1 * var(--reference-unit));
  }
  .closing-actions { gap: calc(2.4 * var(--reference-unit)); }
  .closing-actions > * {
    min-width: calc(18.5 * var(--reference-unit));
    min-height: max(48px, calc(5.58 * var(--reference-unit)));
    padding: 0 18px;
    font-size: calc(2.45 * var(--reference-unit));
  }
}
@media (min-width: 851px) and ((max-height: 950px) or (min-aspect-ratio: 17/10)) {
  #contact { --closing-card-max-width: min(1544px, 155svh); }
  html.section-mode .ending-sections > #contact, #contact.section-pad {
    --contact-top-padding: clamp(32px, 5svh, 54px);
  }
  #contact .closing-card {
    padding-block: clamp(44px, 10svh, 120px) clamp(32px, 7svh, 85px);
  }
  #contact .closing-card p {
    margin-block: clamp(12px, 2.6svh, 32px) clamp(20px, 3svh, 38px);
    font-size: clamp(23px, min(4vw, 5.2svh), 48px);
  }
  #contact .closing-actions > * {
    min-height: clamp(48px, 7svh, 66px);
    font-size: clamp(18px, min(2.4vw, 3svh), 28px);
  }
  #contact .closing-footer {
    margin-top: calc(clamp(35px, 5.5svh, 54px) * 1.4);
    row-gap: calc(clamp(24px, 4svh, 36px) * 1.4);
    line-height: 1.55;
  }
  #contact .closing-columns h3 { margin-bottom: 12px; }
  #contact .contact-form { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .folder-card, .folder-front, .folder-label, .process-folder.is-open .folder-card { transition: none; }
}
