@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin.woff2") format("woff2");
}

:root {
  --onyx: #0e0d0c;
  --smoke: #2a2724;
  --champagne: #c2a877;
  --bronze: #8a7350;
  /* bronze deepened for text on ivory: 4.8:1 (the swatch value is 3.9:1) */
  --bronze-text: #7a6646;
  --ivory: #f3eee4;
  --linen: #ddd5c6;
  --stone: #6b6156;
  --ink-soft: #3d3731;
  --mist: #d9d1c3;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(88px, 12vw, 168px);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--stone) var(--onyx);
}

body {
  margin: 0;
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--champagne);
  accent-color: var(--champagne);
}

::selection {
  background: var(--champagne);
  color: var(--onyx);
}

a {
  color: inherit;
  text-decoration-color: var(--champagne);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  color: var(--champagne);
}

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--champagne);
  color: var(--onyx);
  font-weight: 500;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Hero ---------- */

.hero {
  /* phones: the photograph first, then the type; wide screens: type left, photograph right */
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px var(--gutter) clamp(56px, 9vh, 96px);
}

.hero__media {
  order: -1;
  margin: 0;
  width: 100%;
  height: min(100vw, 44vh);
  height: min(100vw, 44svh);
  overflow: hidden;
  background: var(--onyx);
}

.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* keeps her face and the line of the coat in frame at every crop */
  object-position: 53% 26%;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero__inner {
    padding-block: clamp(56px, 9vh, 96px);
  }

  .hero__media {
    order: 0;
    height: auto;
  }

  .hero .wordmark {
    font-size: clamp(2.35rem, 4.4vw, 5.5rem);
  }
}

.wordmark {
  /* the founder-chosen lockup (logo option 1, 2026-11-10):
     light Cormorant name over a widely tracked Hanken place line */
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.27em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.35rem, 9.2vw, 7.25rem);
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--ivory);
}

.wordmark__name,
.footer__name > span:first-child {
  /* balances the trailing tracking so the word sits centred */
  padding-left: 0.18em;
}

.wordmark__place {
  font-family: var(--sans);
  font-weight: 500;
  font-size: max(0.75rem, 0.135em);
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  text-transform: uppercase;
}

.rule {
  display: block;
  width: 64px;
  height: 1px;
  margin: clamp(20px, 3vh, 36px) auto;
  background: var(--champagne);
  transform-origin: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ivory);
  max-width: 15em;
  text-wrap: balance;
}

.hero__lede {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: clamp(1.1875rem, 1.9vw, 1.5rem);
  line-height: 1.45;
  color: var(--ivory);
  text-wrap: balance;
}

.hero__what {
  margin: 16px 0 0;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mist);
  text-wrap: balance;
}

.hero .button {
  margin-top: clamp(28px, 4vh, 40px);
}

/* ---------- Button ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  border: 1px solid var(--champagne);
  border-radius: 2px;
  background: var(--champagne);
  color: var(--onyx);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out), border-color 240ms var(--ease-out);
}

.button:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--onyx);
}

.button:disabled {
  cursor: progress;
  opacity: 0.7;
}

/* ---------- Case (ivory) ---------- */

.case {
  background: var(--ivory);
  color: var(--onyx);
  padding-block: var(--section-y);
  color-scheme: light;
}

.case ::selection {
  background: var(--onyx);
  color: var(--ivory);
}

.case__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.case h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

/* the phrase the heading turns on, in bronze */
.case__emph {
  color: var(--bronze-text);
}

/* a short bronze rule closes the heading */
.case h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 0.45em;
  background: var(--bronze);
}

.case__copy p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

.case__copy p + p {
  margin-top: 1em;
}

.case__copy strong {
  /* set like the wordmark's place line: small, tracked capitals */
  margin-right: 0.35em;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--onyx);
}

.register__title {
  margin: clamp(80px, 10vw, 136px) 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.15;
}

.pillars {
  margin: clamp(20px, 2.5vw, 28px) 0 0;
  padding: 0;
  border-top: 1px solid var(--bronze);
}

/* a register, not a feature row: tracked term left, its line right */
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 12px clamp(24px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--linen);
}

@media (min-width: 960px) {
  .pillar {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

.pillar dt {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.1;
}

.pillar dd {
  margin: 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.case__close {
  margin: clamp(72px, 9vw, 120px) 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--bronze-text);
  text-align: center;
  text-wrap: balance;
}

/* ---------- Guests and house rules (onyx) ---------- */

.guests {
  background: var(--onyx);
  padding-block: var(--section-y);
}

.guests__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.guests h2,
.join h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  text-wrap: balance;
}

.guests__intro p {
  margin: 24px 0 0;
  max-width: 30rem;
  color: var(--mist);
}

.promises {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--champagne);
}

.promises li {
  display: grid;
  gap: 6px;
  padding: clamp(22px, 2.6vw, 30px) 0;
  border-bottom: 1px solid #3a3632;
}

.promises__term {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.15;
  color: var(--ivory);
}

.promises__line {
  max-width: 34rem;
  color: var(--mist);
}

/* the rules are the brand said out loud: large, centred, one per line */
.rules {
  margin-top: clamp(96px, 12vw, 168px);
  text-align: center;
}

.guests .rules__title {
  color: var(--ivory);
}

.rules__list {
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: 0;
  max-width: 52rem;
  list-style: none;
}

.rules__list li {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.625rem, 3.4vw, 2.75rem);
  line-height: 1.2;
  color: var(--ivory);
  text-wrap: balance;
}

.rules__list li + li::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin: clamp(22px, 2.6vw, 32px) auto;
  background: var(--champagne);
}

/* ---------- Joining (ivory) ---------- */

.join {
  background: var(--ivory);
  color: var(--onyx);
  padding-block: var(--section-y);
  color-scheme: light;
}

.join ::selection {
  background: var(--onyx);
  color: var(--ivory);
}

.join__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.join__intro p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
}

.steps {
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px);
}

.step {
  counter-increment: step;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--bronze);
}

/* the order is the information here, so the steps carry their number */
.step::before {
  content: counter(step);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--bronze-text);
}

.step__name {
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--onyx);
}

.step__line {
  color: var(--ink-soft);
}

/* one centred column: a quieter beat before the form */
.neighbor {
  max-width: 40rem;
  margin: clamp(96px, 12vw, 168px) auto 0;
  padding-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--linen);
  text-align: center;
}

.neighbor h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
}

.neighbor p {
  margin: 24px auto 0;
  max-width: 34rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.neighbor__coda {
  margin: clamp(48px, 6vw, 72px) 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--bronze-text);
  text-wrap: balance;
}

/* ---------- Early access (onyx: one black for every dark surface) ---------- */

.access {
  background: var(--onyx);
  padding-block: var(--section-y);
}

.access__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.access h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  text-wrap: balance;
}

.access__intro p {
  margin: 20px 0 0;
  max-width: 28rem;
  color: var(--mist);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.field label span {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #b3a998;
}

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #8f8576;
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color 200ms var(--ease-out);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23C2A877' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}

.field select option {
  background: var(--onyx);
  color: var(--ivory);
}

.field input::placeholder,
.field select:invalid {
  color: #9a907f;
}

.field input:hover,
.field select:hover {
  border-bottom-color: var(--mist);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-bottom: 1px solid var(--champagne);
  box-shadow: 0 1px 0 0 var(--champagne);
}

.field input:focus-visible,
.field select:focus-visible {
  outline: none;
}

.field [aria-invalid="true"] {
  border-bottom-color: #e3a37f;
  box-shadow: 0 1px 0 0 #e3a37f;
}

.field__error {
  margin: 0;
  font-size: 0.875rem;
  color: #f0b896;
}

.field__error:empty {
  display: none;
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 8px;
}

.form__note {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mist);
}

.form__status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9375rem;
  color: #f0b896;
}

.form__status:empty {
  display: none;
}

/* ---------- Footer ---------- */

.footer {
  /* a hairline divides the form from the footer now both sit on onyx */
  border-top: 1px solid #3a3632;
  padding-block: clamp(56px, 7vw, 88px) 40px;
  color: var(--mist);
  font-size: 0.875rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid #3a3632;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.375rem;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--ivory);
}

.footer__name > span:last-child {
  /* business-card proportion of the lockup's place line */
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  text-transform: uppercase;
}

.footer__contact {
  display: grid;
  gap: 6px;
  font-style: normal;
}

.footer__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer__contact a {
  color: var(--ivory);
  font-size: 1.0625rem;
  text-decoration-color: var(--champagne);
}

.footer__contact a:hover {
  color: var(--champagne);
}

.footer__tag {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--champagne);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
}

.footer__bottom p {
  margin: 0;
}

/* ---------- Simple pages (thanks, privacy) ---------- */

.solo {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 64px var(--gutter);
  text-align: center;
}

.solo h1 {
  margin: 36px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
}

.solo p {
  margin: 16px auto 0;
  max-width: 30rem;
  color: var(--mist);
}

.solo .button {
  margin-top: 36px;
}

.solo .wordmark--small {
  margin: 0 auto;
  max-width: none;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  color: var(--ivory);
}

.doc {
  background: var(--ivory);
  color: var(--onyx);
  color-scheme: light;
  padding-block: clamp(64px, 9vw, 120px);
}

.doc ::selection {
  background: var(--onyx);
  color: var(--ivory);
}

.doc__inner {
  max-width: 44rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.doc__back:hover {
  color: var(--bronze-text);
}

.doc h1 {
  margin: 48px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.05;
}

.doc__date {
  margin: 12px 0 0;
  color: var(--stone);
  font-size: 0.9375rem;
}

.doc h2 {
  margin: 48px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.75rem;
  line-height: 1.2;
}

.doc p,
.doc li {
  color: var(--ink-soft);
}

.doc p {
  margin: 12px 0 0;
}

.doc ul {
  margin: 12px 0 0;
  padding-left: 1.25rem;
}

.doc li + li {
  margin-top: 6px;
}

.doc a {
  color: var(--onyx);
  text-decoration-color: var(--bronze);
}

.doc a:hover {
  color: var(--bronze-text);
}

/* ---------- Motion ----------
   One gesture, from the wordmark's gold rule: lines draw out, and what they
   introduce settles in beside them. The hero opens like a door. Everything is
   visible by default; the hidden starting states apply only when script runs
   (.js-motion) and the visitor has not asked for reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  /* the arrival: wordmark, then the rule, then the words beneath it */
  .js .hero .wordmark {
    animation: settle 1400ms var(--ease-out) 150ms backwards;
  }

  .js .hero .rule {
    animation: rule-draw 1400ms var(--ease-out) 650ms backwards;
  }

  .js .hero h1 {
    animation: rise 1100ms var(--ease-out) 950ms backwards;
  }

  .js .hero__lede {
    animation: rise 1100ms var(--ease-out) 1100ms backwards;
  }

  .js .hero .button {
    animation: settle 1100ms var(--ease-out) 1300ms backwards;
  }

  /* the photograph opens from a sliver at its centre, like a door, and settles */
  .js .hero__media {
    animation: door-open 1600ms var(--ease-out) 100ms backwards;
  }

  .js .hero__media img {
    animation: photo-settle 2600ms var(--ease-out) 100ms backwards;
  }

  /* scroll: text settles in where it is revealed */
  .js-motion [data-reveal] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 900ms var(--ease-out) var(--d, 0ms), transform 900ms var(--ease-out) var(--d, 0ms);
  }

  .js-motion [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  /* settled: no transitions left, so the browser drops the animation layers
     (held layers draw near-black a shade off on some screens) */
  .js-motion .is-done,
  .js-motion .is-done::before,
  .js-motion .is-done::after {
    transition: none;
  }

  /* scroll: every rule in the page draws out from the left as it is reached */
  .js-motion .pillars,
  .js-motion .promises,
  .js-motion .step,
  .js-motion .neighbor,
  .js-motion .pillar,
  .js-motion .promises li {
    position: relative;
    border-color: transparent;
  }

  .js-motion .pillars::before,
  .js-motion .promises::before,
  .js-motion .neighbor::before,
  .js-motion .step::after,
  .js-motion .pillar::after,
  .js-motion .promises li::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1300ms var(--ease-out) var(--d, 0ms);
  }

  .js-motion .pillars::before,
  .js-motion .promises::before,
  .js-motion .neighbor::before,
  .js-motion .step::after {
    top: -1px;
  }

  .js-motion .pillar::after,
  .js-motion .promises li::after {
    bottom: -1px;
  }

  .js-motion .pillars::before,
  .js-motion .step::after {
    background: var(--bronze);
  }

  .js-motion .neighbor::before,
  .js-motion .pillar::after {
    background: var(--linen);
  }

  .js-motion .promises::before {
    background: var(--champagne);
  }

  .js-motion .promises li::after {
    background: #3a3632;
  }

  .js-motion .is-in::before,
  .js-motion .is-in::after,
  .js-motion .promises li.is-in::after {
    transform: none;
  }

  /* the short bronze rule under the section heading draws with it */
  .js-motion .case h2::after {
    transform: scaleX(0.02);
    transform-origin: left center;
    transition: transform 1300ms var(--ease-out) 300ms;
  }

  .js-motion .case h2.is-in::after {
    transform: none;
  }

  /* the house rules: each line arrives as it is read, its hairline drawing first */
  .js-motion .rules__list li + li::before {
    transform: scaleX(0);
    transition: transform 900ms var(--ease-out);
  }

  .js-motion .rules__list li.is-in::before {
    transform: none;
  }

  @keyframes settle {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }

  @keyframes rule-draw {
    from { transform: scaleX(0.02); }
    to { transform: none; }
  }

  @keyframes door-open {
    from { clip-path: inset(0 49.5% 0 49.5%); }
    to { clip-path: inset(0 0 0 0); }
  }

  @keyframes photo-settle {
    from { transform: scale(1.06); }
    to { transform: none; }
  }
}

/* ---------- Narrow screens ---------- */

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .case__intro,
  .guests__grid,
  .join__intro,
  .access__grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

}

@media (max-width: 560px) {
  .pillar {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .form__foot .button {
    width: 100%;
  }

  .hero .button {
    width: 100%;
    max-width: 22rem;
  }
}
