main > section[id] { scroll-margin-block-start: 4.6rem; }
.first-day { background: var(--paper); border-top: 1px solid var(--line); }
.work-example-layout { padding-block: clamp(2.8rem,6vw,5.75rem); }
.first-day > div, .desk-story-layout { padding-block: clamp(2.35rem,4.6vw,4.5rem); }
.first-day h2, .work-example h2, .sharing-section h2, .desk-story h2, .contact-section h2 {
  font: 400 clamp(2.35rem,4.2vw,4.2rem)/1.04 var(--display);
  letter-spacing: -.037em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.first-day h2, .desk-story h2, .contact-section h2 { font-size: clamp(2.1rem,3.15vw,3.15rem); }
.first-day-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.1rem clamp(1.5rem,4vw,4.5rem);
  counter-reset: first-day;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.first-day-steps li { border-top: 1px solid var(--line); padding-top: .85rem; counter-increment: first-day; }
.first-day-steps h3 { font-size: 1.18rem; line-height: 1.35; overflow-wrap: anywhere; }
.first-day-steps h3::before { content: counter(first-day) "."; margin-inline-end: .4em; font: 400 1.5rem var(--display); color: var(--accent); }
.first-day-steps p, .desk-story p, .sharing-section p, .work-example-intro p { margin-top: .75rem; color: var(--muted); line-height: 1.6; }
.work-example {
  color: #f6f8fd;
  background: var(--desk-header-edge) top / 100% 2px no-repeat, linear-gradient(115deg,#10233d,#21436b 75%,#284c75);
}
.work-example-layout, .sharing-section, .desk-story-layout, .contact-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(2.5rem,8vw,8rem);
}
.work-example-intro { max-width: 32rem; }
.work-example-intro p { font-size: 1.07rem; color: #e3edfb; max-width: 44ch; }
.work-sample {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: .78rem;
  padding: clamp(1.05rem,2.6vw,2.25rem);
  box-shadow: 0 1.2rem 2.3rem -1.7rem #06121f;
}
.work-sample-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-bottom: 1.1rem; }
.sample-owner { display: inline-flex; align-items: center; gap: .4rem; }
.work-sample-heading h3 { font-size: 1.6rem; line-height: 1.1; letter-spacing: -.035em; }
.work-sample-heading > span, .sample-channel, .sample-update > span { font-size: .86rem; color: var(--muted); }
.sample-ticket { border-top: 1px solid var(--line); }
.sample-ticket summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.25rem; padding-block: .88rem; cursor: pointer; list-style: none; }
.sample-ticket summary::-webkit-details-marker { display: none; }
.sample-ticket summary::after { content: ""; flex: none; margin-inline-end: .3rem; width: .52rem; height: .52rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.sample-ticket[open] > summary::after { transform: rotate(225deg); }
.sample-ticket summary > span { display: grid; gap: .12rem; min-width: 0; overflow-wrap: anywhere; }
.sample-ticket summary strong { font-size: 1.05rem; }
.sample-ticket summary:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: .19em; }
.sample-update { background: var(--rail); padding: .73rem .85rem; border-radius: .35rem; margin-bottom: 1rem; }
.sample-update > span { font-weight: 650; }
.sample-update p { margin-top: .2rem; font-size: .95rem; line-height: 1.55; overflow-wrap: anywhere; }
.sharing-section { align-items: baseline; padding-block: clamp(2rem,3.8vw,3.8rem); }
.sharing-section h2 { font: 620 clamp(1.5rem,2.4vw,2.1rem)/1.17 var(--desk-sans); letter-spacing: -.025em; }
.sharing-section p, .desk-story p { font-size: clamp(1rem,1.45vw,1.18rem); max-width: 55ch; }
.sharing-section p { margin-top: 0; }
.desk-story { background: var(--linen); border-bottom: 1px solid var(--line); }
.desk-story-layout {
  max-width: 68rem;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(2rem,5vw,4.5rem);
}
.desk-story img { display: block; width: 100%; height: auto; border-radius: .8rem; }
.desk-story p { max-width: 46ch; }
.contact-section { background: var(--paper); border-bottom: 1px solid var(--line); }
.contact-layout { padding-block: clamp(2.5rem,5vw,4.5rem); }
.contact-links { display: grid; justify-items: start; min-width: 0; }
.contact-links a { max-width: 100%; padding-block: .65rem; color: var(--accent); font-size: clamp(1.08rem,1.8vw,1.55rem); font-weight: 620; text-underline-offset: .2em; overflow-wrap: anywhere; }
@media (max-width: 53rem) {
  .first-day-steps { gap: 1.15rem; }
  .work-example-layout, .sharing-section, .desk-story-layout { gap: 2rem; }
}
@media (max-width: 50rem) {
  main > section[id] { scroll-margin-block-start: .75rem; }
}
@media (max-width: 44rem) {
  .first-day-steps, .work-example-layout, .sharing-section, .desk-story-layout, .contact-layout { grid-template-columns: minmax(0,1fr); }
  .contact-layout { gap: .65rem; }
  .first-day-steps { margin-top: 1.35rem; }
  .first-day-steps li { padding-top: .65rem; }
  .first-day-steps p { margin-top: .35rem; }
  .sharing-section { gap: .8rem; }
  .desk-story-layout { gap: 1.35rem; }
}
@media (34rem <= width <= 60rem) and (max-height: 30rem) and (orientation: landscape) {
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "copy photo"; }
  .hero-photo img { position: absolute; height: 100%; }
  .hero-inner { min-height: 0; padding-block: 1.15rem; padding-inline-end: 1.15rem; }
  .hero h1 { font-size: clamp(2.5rem,5vw,2.9rem); }
  .hero .lede { max-width: 33ch; margin-top: .6rem; font-size: 1rem; line-height: 1.42; }
  .hero-actions { margin-top: .85rem; }
  .hero-primary { padding: .52rem 1rem; }
}

@keyframes desk-section-focus {
  0%, 100% { scale: var(--receded-scale); }
  40%, 60% { scale: 1; }
}
@keyframes desk-hero-recede {
  from { scale: 1; }
  to { scale: var(--receded-scale); }
}
@keyframes desk-contact-arrive {
  from { scale: var(--receded-scale); }
  to { scale: 1; }
}
@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .homepage {
    --receded-scale: .91;
    --reading-inset: 4.5rem;
  }
  .homepage > .hero { --section-animation: desk-hero-recede; }
  .homepage > .contact-section { --section-animation: desk-contact-arrive; }
  .homepage > .hero > .hero-photo { transform-origin: left center; }
  .homepage > .hero > .hero-inner { transform-origin: right center; }
  @supports (animation-timeline: view()) and (animation-range: exit) {
    .homepage > section {
      view-timeline: --desk-section block;
      view-timeline-inset: var(--reading-inset) 0;
    }
    .homepage > section > * {
      animation: var(--section-animation, desk-section-focus) auto ease-in-out both;
      animation-timeline: --desk-section;
    }
    .homepage > .hero > * { animation-range: exit; }
    .homepage > .contact-section > * { animation-range: entry; }
  }
  .homepage[data-scroll-fallback] > section > * {
    animation: none;
    scale: calc(1 - (1 - var(--receded-scale)) * var(--recession, 0));
  }
}
@media (max-width: 50rem) {
  .homepage { --reading-inset: 0px; --receded-scale: .95; }
}
@media (max-width: 44rem) {
  .homepage > .hero > .hero-photo { transform-origin: center top; }
  .homepage > .hero > .hero-inner { transform-origin: center bottom; }
}
