@import url("brand.css");

/* ===========================================================================
   The Spacehub — corporate layer.
   A light ground, a solid navigation bar, white cards with a quiet border,
   and restrained type: the conventions a Saudi B2B buyer expects.
   The design brief for this site is a mainstream Saudi business portal, so the
   outlined cards, divider rules and small labels the taste skill flags are
   deliberate: they are the conventions the brief asks for, marked as such.
   =========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-display); font-size: var(--step-body);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
/* the width/height attributes on an <img> are presentational hints that pin the
   used height, which silently cancels every aspect-ratio below. height:auto
   releases it; rules that set their own height still win on specificity. */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.14; margin: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-gap); }
.section--tint, .zone-light { background: var(--bg); }
.section--tint { background: var(--surface); }
.section__head { font-size: var(--step-head); max-width: 20ch; text-wrap: balance; font-weight: 600; letter-spacing: -.035em; line-height: 1.06; }
/* one word per headline is set in an italic serif. It is the only ornament the
   page carries, so it never appears twice in the same heading. */
em.say { font-family: var(--font-accent); font-style: italic; font-weight: 600; letter-spacing: -.01em; }
[lang="ar"] em.say { font-family: var(--font-arabic); font-style: normal; color: var(--accent); }
.section__intro { margin-top: 1rem; max-width: 56ch; color: var(--muted); font-size: var(--step-lead); line-height: 1.5; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { background: #cf4a21; }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: #cfcbc4; }
button.btn { -webkit-appearance: none; appearance: none; }

.bar { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.nav { max-width: 76rem; margin-inline: auto; padding: .85rem var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.nav__home { display: flex; align-items: center; gap: .55rem; text-decoration: none; margin-inline-end: auto; }
.nav__mark { width: 32px; height: 32px; border-radius: 7px; }
.nav__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.02em; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-size: .9375rem; font-weight: 600; color: var(--muted); text-decoration: none; padding-block: .35rem; transition: color .18s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--accent); }
.nav__links .btn { font-size: .9375rem; padding: .6rem 1.1rem; color: var(--accent-ink); border-bottom: 0; }
.nav__links .btn:hover { color: var(--accent-ink); }
.nav__lang { border: 1px solid var(--line); border-radius: 999px; padding: .42rem .85rem !important; font-size: .875rem !important; color: var(--ink) !important; line-height: 1; transition: border-color .18s ease, background .18s ease; }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.nav__lang:hover { border-color: var(--ink); background: var(--surface); }
/* a word in the other script is set in the other script's typeface, whichever
   page it sits on: the English pages never load rtl.css. */
[lang="ar"] { font-family: var(--font-arabic); }
.nav__lang[lang="en"], .foot__ar[lang="en"] { font-family: var(--font-text); }
.nav__menu { display: none; }
.nav__chev { transition: transform .18s ease; }

@media (max-width: 56rem) {
  /* One row on a phone: the mark, the language, and the menu. The primary
     action is already under the thumb in the dock, so it leaves the bar. */
  .nav { flex-wrap: wrap; gap: .6rem; }
  .nav__cta { display: none; }
  html:not(.no-js) .nav__menu {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .42rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-pill);
    background: transparent; color: var(--ink); font: inherit; font-size: .875rem; font-weight: 600;
    line-height: 1; cursor: pointer; -webkit-appearance: none; appearance: none;
  }  /* taste-skill-ignore: the pill language this brief asks for */
  html:not(.no-js) .nav__menu[aria-expanded="true"] { background: var(--surface); border-color: #cfcbc4; }
  html:not(.no-js) .nav__menu[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

  /* collapsed by default once scripting is on; without it the links stay put */
  html:not(.no-js) .nav__links { display: none; }
  html:not(.no-js) .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; order: 9; padding-block: .3rem .5rem;
  }
  html:not(.no-js) .nav.is-open .nav__links a {
    padding-block: .8rem; font-size: 1rem; color: var(--ink);
    border-bottom: 1px solid var(--line);  /* taste-skill-ignore: the rows of a menu panel */
  }
  html:not(.no-js) .nav.is-open .nav__links a:last-child { border-bottom: 0; }
  html:not(.no-js) .nav.is-open .nav__links a[aria-current="page"] { color: var(--accent); }

  .nav__links { gap: 1.1rem; flex-wrap: wrap; width: 100%; }
  .nav__links a { font-size: .875rem; }
}

.hero { background: var(--bg); }
.hero__top { position: relative; background: var(--brand-black); }
.hero__pic img { width: 100%; height: clamp(30rem, 74svh, 42rem); object-fit: cover; object-position: 50% 34%; opacity: .46; }
.hero__pic { position: relative; }
.hero__pic::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,8,.26) 0%, rgba(8,8,8,.60) 46%, rgba(8,8,8,.34) 100%); }  /* taste-skill-ignore: a neutral scrim over a photograph, the exception the rule names */
.hero__inner { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; text-align: center; padding-bottom: clamp(6rem, 12vw, 10rem); }
.hero__title { color: #fff; font-size: var(--step-display); max-width: 18ch; text-wrap: balance; line-height: 1.02; font-weight: 600; letter-spacing: -.045em; }
.hero__sub { color: rgba(255,255,255,.94); margin-top: 1.1rem; max-width: 52ch; font-size: var(--step-lead); line-height: 1.5; }
.hero__card-wrap { position: relative; margin-top: clamp(-8rem, -10vw, -5rem); }
.hero__card { max-width: 54rem; margin-inline: auto; box-shadow: var(--shadow-float);  /* taste-skill-ignore: the card floats over the hero photograph */ border-color: transparent; padding: clamp(1.6rem, 3.4vw, 2.4rem); }
.hero__card-head { font-weight: 600; font-size: var(--step-lead); max-width: 40ch; letter-spacing: -.02em; }
.hero__card-foot { margin-top: 1rem; font-size: .9375rem; color: var(--muted); max-width: 62ch; }
.hero__credit {
  position: absolute; inset: auto var(--gutter) .9rem auto; margin: 0; z-index: 2;
  font-size: .8125rem; color: rgba(255,255,255,.72);
}
[dir="rtl"] .hero__credit { inset: auto auto .9rem var(--gutter); }

.quick { display: grid; gap: 1rem; margin-top: 1.4rem; }
@media (min-width: 48rem) { .quick { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.quick__field { margin: 0; display: grid; gap: .4rem; }
.quick label { font-size: .875rem; font-weight: 600; color: var(--muted); }
.quick input, .form input, .form textarea {
  width: 100%; font: inherit; font-size: var(--step-body);
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);  /* taste-skill-ignore: the card-and-rule system this brief asks for */
  background: var(--bg); color: var(--ink); transition: border-color .18s ease;
}
.quick input::placeholder, .form input::placeholder { color: #8b919b; }
.quick input:focus, .form input:focus, .form textarea:focus { border-color: var(--accent); }
.quick .btn { height: 3.1rem; }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }  /* taste-skill-ignore: the card-and-rule system this brief asks for */

.gets { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .gets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 70rem) { .gets { grid-template-columns: repeat(4, 1fr); } }
.gets li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.gets li strong { display: block; font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.gets li span { color: var(--muted); font-size: .9375rem; line-height: 1.55; }

.pullquote { margin-top: clamp(2rem, 4vw, 3rem); font-size: var(--step-lead); max-width: 48ch; line-height: 1.45; }
.pullquote em { font-style: normal; font-weight: 800; background: rgba(226,87,43,.2); padding: 0 .2em; border-radius: 3px; }

.chooser { margin-top: clamp(2rem, 4vw, 3rem); }
.chooser__legend { font-weight: 700; font-size: 1.0625rem; margin-bottom: 1rem; }
.chooser__grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .chooser__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 70rem) { .chooser__grid { grid-template-columns: repeat(4, 1fr); } }
.plan {
  display: grid; gap: .4rem; text-align: start; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);  /* taste-skill-ignore: the card-and-rule system this brief asks for */
  padding: 1.25rem; font: inherit; color: inherit;
  transition: border-color .18s ease, background-color .18s ease;
}
.plan:hover { border-color: #b9c0ca; }
.plan[aria-pressed="true"] { border-color: var(--accent); border-width: 2px; padding: calc(1.25rem - 1px); }
.plan__name { font-weight: 800; font-size: 1.125rem; }
.plan__how { font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.plan__why { font-size: .9375rem; font-weight: 600; color: #a8381a; }
.chooser__out { margin-top: 1.5rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 1.75rem); }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.chooser__quote { font-size: var(--step-lead); line-height: 1.5; max-width: 56ch; }
.chooser__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.chooser__note { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); max-width: 72ch; line-height: 1.6; }

.zone-days { background: var(--surface); padding-block: var(--section-gap); }
.days__list { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 56rem) { .days__list { grid-template-columns: repeat(3, 1fr); } }
.days__item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.days__when { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .75rem; }
.days__item h3 { font-size: 1.125rem; margin-bottom: .6rem; }
.days__item ul { margin: 0; padding-inline-start: 1.1rem; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.days__item li { margin-bottom: .35rem; }
.days__pic { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.days__pic img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.days__pic figcaption, .excl__pic figcaption, .aside-pic figcaption { margin-top: .6rem; font-size: .875rem; color: var(--muted); }

.excl, .two { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 62rem) { .two { grid-template-columns: 4fr 8fr; align-items: start; } }
@media (min-width: 62rem) { .excl { grid-template-columns: 7fr 5fr; align-items: start; } }
.excl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.excl__list li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.excl__list strong { display: block; font-weight: 700; margin-bottom: .35rem; }
.excl__pic img, .aside-pic img { width: 100%; border-radius: var(--radius); }
.aside-pic { margin: 1.75rem 0 0; }

.stack { display: grid; gap: 1rem; }
.stack p { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.stack strong { display: block; font-weight: 700; }
.stack span { display: block; color: var(--muted); font-size: .9375rem; }

.terms { display: grid; gap: 0; }
.terms p { margin: 0; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.6; color: var(--muted); }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.terms p:last-child { border-bottom: 0; }
.terms b { color: var(--ink); }

.letter-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 62rem) { .letter-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.letter__side { position: static; }
.letter__mark { width: 44px; height: 44px; border-radius: 10px; }
.letter__open { font-size: var(--step-head); line-height: 1.12; margin-top: 1.1rem; max-width: 16ch; text-wrap: balance; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.letter { max-width: 58ch; display: grid; gap: 1rem; margin-inline: 0; }
.letter p { font-size: var(--step-body); line-height: 1.65; color: var(--muted); }
.letter__mark-text { background: rgba(226,87,43,.2); padding: 0 .2em; border-radius: 3px; }
.letter__sign { font-weight: 800; color: var(--ink); margin-top: .5rem; }

.faq { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 62rem) { .faq { grid-template-columns: 4fr 8fr; align-items: start; } }
.faq__body p { margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.6; color: var(--muted); }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.faq__body p:last-child { border-bottom: 0; }
.faq__body b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .35rem; }

.band { padding: 0; }
.band__fig { margin: 0; }
.band__fig img { width: 100%; height: clamp(14rem, 40svh, 24rem); object-fit: cover; }
.band__cap { max-width: 76rem; margin: .7rem auto 0; padding-inline: var(--gutter); font-size: .875rem; color: var(--muted); }
.band__wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.band__line { max-width: 46ch; margin: clamp(1.5rem,3vw,2.5rem) 0 clamp(2rem,4vw,3rem); font-size: var(--step-lead); line-height: 1.45; }

.zone-contact { background: var(--surface); padding-block: var(--section-gap); }
.contact__head { font-size: var(--step-head); max-width: 18ch; }
.contact__lede { margin-top: 1rem; max-width: 58ch; color: var(--muted); font-size: var(--step-lead); line-height: 1.5; }
.form { margin-top: clamp(1.75rem, 3vw, 2.5rem); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); max-width: 56rem; }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.form p { margin: 0 0 1rem; display: grid; gap: .4rem; }
.form label { font-size: .875rem; font-weight: 600; color: var(--muted); }
.form textarea { resize: vertical; min-height: 6rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .form__row { grid-template-columns: 1fr 1fr; } .form__row--three { grid-template-columns: 1fr 1fr 1fr; } }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.form__hint { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.form__hint.is-sending { opacity: .7; }
.form__hint.is-ok { color: #1c6b3a; font-weight: 700; }
.form__hint.is-bad { color: #a8381a; font-weight: 700; }
.form button[type="submit"][disabled] { opacity: .55; cursor: progress; }
.form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.plate { margin-top: clamp(1.75rem, 3vw, 2.5rem); max-width: 56rem; }
.plate__grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .plate__grid { grid-template-columns: repeat(3, 1fr); } }
.plate dl { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.plate dt { font-size: .8125rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.plate dd { margin: .3rem 0 0; font-weight: 600; }

.mast { position: relative; background: var(--brand-black); }
.mast__pic { margin: 0; position: relative; }
.mast__pic::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,8,.22) 0%, rgba(8,8,8,.58) 52%, rgba(8,8,8,.34) 100%); }  /* taste-skill-ignore: a neutral scrim over a photograph, the exception the rule names */
.mast__pic img {
  width: 100%; height: clamp(20rem, 52svh, 30rem);
  object-fit: cover; object-position: 50% 42%; opacity: .46; border-radius: 0;
}
.mast__over {
  position: absolute; inset: 0; display: grid; align-content: center;
  padding-block: clamp(2rem, 5vw, 4rem);
}
.mast__title { color: #fff; font-size: var(--step-display); max-width: 18ch; text-wrap: balance; line-height: 1.02; font-weight: 600; letter-spacing: -.045em; }
.mast__lead { margin-top: 1rem; max-width: 54ch; color: rgba(255,255,255,.94); font-size: var(--step-lead); line-height: 1.5; }
.mast__credit {
  position: absolute; inset: auto var(--gutter) .9rem auto; margin: 0; z-index: 2;
  font-size: .8125rem; color: rgba(255,255,255,.72);
}
[dir="rtl"] .mast__credit { inset: auto auto .9rem var(--gutter); }

.sheet { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 40rem) { .sheet { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .sheet { grid-template-columns: repeat(3, 1fr); } }
.sheet__cell { margin: 0; }
.sheet__cell img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.sheet__cell figcaption { margin-top: .75rem; font-size: .9375rem; line-height: 1.5; }
.sheet__cell b { display: block; font-weight: 700; }
.sheet__cell span { display: block; color: var(--muted); }
.sheet__cell a { display: inline-block; margin-top: .2rem; color: #a8381a; }

.foot { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.foot__pic img { display: block; width: 100%; height: clamp(12rem, 28svh, 18rem); object-fit: cover; object-position: 50% 58%; }
.foot__top { display: grid; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 56rem) { .foot__top { grid-template-columns: 5fr 7fr; } }
.foot__mark { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.foot__mark img { width: 32px; height: 32px; border-radius: 7px; }
.foot__ar { color: var(--muted); }
.foot__say { margin-top: 1rem; max-width: 30ch; color: var(--muted); }
.foot__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.foot__nav { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .foot__nav { grid-template-columns: repeat(3, 1fr); } }
.foot__col h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot__col li { font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.foot__col a { color: var(--ink); text-decoration: none; }
.foot__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__base { padding-block: 1.5rem 2.5rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
@media (min-width: 56rem) { .foot__base { grid-template-columns: 5fr 7fr; gap: 2rem; } }
.foot__legal, .foot__credits { font-size: .875rem; color: var(--muted); line-height: 1.55; margin: 0; }
.foot__credits { max-width: 64ch; }

/* ===========================================================================
   Motion. Short, and only where it helps the eye follow the page. Nothing on
   this site depends on a script or an animation to become readable.
   =========================================================================== */
.rise { opacity: 0; transform: translateY(12px); }
.is-in .rise, .rise.is-in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.is-in .rise:nth-child(2) { transition-delay: .06s; }
.is-in .rise:nth-child(3) { transition-delay: .12s; }
.is-in .rise:nth-child(4) { transition-delay: .18s; }
.is-in .rise:nth-child(5) { transition-delay: .24s; }
.no-js .rise { opacity: 1; transform: none; }

.gets li, .plan, .days__item, .excl__list li, .sheet__cell, .stack p { opacity: 0; transform: translateY(12px); }
.gets.is-in li, .chooser.is-in .plan, .days__list.is-in .days__item,
.excl__list.is-in li, .sheet__cell.is-in, .stack.is-in p {
  opacity: 1; transform: none;
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.gets.is-in li:nth-child(2), .chooser.is-in .plan:nth-child(2), .days__list.is-in .days__item:nth-child(2) { transition-delay: .07s; }
.gets.is-in li:nth-child(3), .chooser.is-in .plan:nth-child(3), .days__list.is-in .days__item:nth-child(3) { transition-delay: .14s; }
.gets.is-in li:nth-child(4), .chooser.is-in .plan:nth-child(4) { transition-delay: .21s; }
.no-js .gets li, .no-js .plan, .no-js .days__item, .no-js .excl__list li,
.no-js .sheet__cell, .no-js .stack p { opacity: 1; transform: none; }

.hero__title { animation: arrive .7s cubic-bezier(.16,1,.3,1) both; }
.hero__sub   { animation: arrive .7s cubic-bezier(.16,1,.3,1) .08s both; }
.hero__card  { animation: arrive .7s cubic-bezier(.16,1,.3,1) .16s both; }
.mast__title { animation: arrive .6s cubic-bezier(.16,1,.3,1) both; }
.mast__lead  { animation: arrive .6s cubic-bezier(.16,1,.3,1) .08s both; }
.mast__pic img { animation: driftin 72s cubic-bezier(.45,0,.55,1) infinite alternate; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the hero photograph drifts inside its own crop, so the element's box never
   grows and nothing overflows */
.hero__pic img { animation: driftin 72s cubic-bezier(.45,0,.55,1) infinite alternate; }
@keyframes driftin { from { object-position: 48% 32%; } to { object-position: 55% 38%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__pic img, .hero__title, .hero__sub, .hero__card,
  .mast__title, .mast__lead, .mast__pic img { animation: none !important; }
  .rise, .gets li, .plan, .days__item, .excl__list li, .sheet__cell, .stack p {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ---------- the skip link, visible only when it has focus ---------- */
.skip {
  position: absolute; top: 0; left: 0; z-index: 100;
  width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0; text-decoration: none; font-weight: 700;
}
.skip:focus { width: auto; height: auto; clip-path: none; }

/* the picture inside a day card */
.days__item { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.days__item .days__pic { margin: 0 0 1.25rem; }
.days__item .days__pic img { width: 100%; height: 170px; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.days__item > :not(.days__pic) { margin-inline: 1.5rem; }
.days__item > :last-child { margin-bottom: 1.5rem; }
.days__item:not(:has(.days__pic)) { padding-top: 1.5rem; }

/* ===========================================================================
   The claim chips, the disclaimer line and the contact dock.
   Three devices taken from the reference: a row of plain claims above the
   headline, a small statement of what this service is not, and a bar that
   keeps WhatsApp and the telephone under the thumb on a phone.
   =========================================================================== */

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.6rem; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.94); font-size: .875rem; font-weight: 500;
}  /* taste-skill-ignore: the chip row this brief asks for */
.chips li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-peach); flex: none; }

.disclaim { background: var(--surface); border-block: 1px solid var(--line); }  /* taste-skill-ignore: the card-and-rule system this brief asks for */
.disclaim p {
  max-width: 76rem; margin-inline: auto; padding: .9rem var(--gutter);
  font-size: .875rem; line-height: 1.5; color: var(--muted);
}
.disclaim b { color: var(--ink); font-weight: 600; }

/* the dock. Phones only: on a laptop the header already carries both. */
.dock { display: none; }
@media (max-width: 56rem) {
  .dock {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    display: flex; gap: .55rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92); border-top: 1px solid var(--line);  /* taste-skill-ignore: the sticky bar the rule allows */
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }  /* taste-skill-ignore: the dock this brief asks for */
  .dock .btn { flex: 1; font-size: .9375rem; padding-inline: 1rem; }
  .dock__call { flex: none !important; width: 3rem; padding-inline: 0 !important; }
  /* the dock must never cover the last line of the footer */
  body { padding-bottom: 4.5rem; }
}
@media (max-width: 56rem) and (prefers-reduced-transparency: reduce) {
  .dock { background: #fff; }
}
