/*
|--------------------------------------------------------------------------
| brandch proposal
|--------------------------------------------------------------------------
|
| Tokens, type styles and motion ported from the brandch Sage theme
| (resources/css/app.css) as plain CSS — no build step, so the page ships
| exactly as written.
|
*/

:root {
  /* Palette */
  --color-crow: #020202;
  --color-dove: #f7f7ff;
  --color-catbird: #a7a7a7;
  --color-paper: #ffffff;

  --color-stripe-red: #f21632;
  --color-stripe-yellow: #ffdf11;
  --color-stripe-blue: #2479ff;
  --color-stripe-green: #0abf4d;
  --color-stripe-pink: #ff006e;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Page gutter and the two-column split */
  --gutter: 24px;
  --split: 49px;

  /* Spacing inside a section */
  --in-xs: 8px;
  --in-s: 24px;
  --in-m: 34px;
  --in-l: 64px;
  --in-xl: 84px;

  /* Spacing between sections */
  --sec-xs: 134px;
  --sec-s: 164px;

  /* The padding above and below every section */
  --sec: var(--sec-xs);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 1024px) {
  :root {
    --gutter: 60px;
    --sec: var(--sec-s);
  }
}

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

* {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  background-color: var(--color-paper);
  color: var(--color-crow);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Headings take their size and weight from the type styles only, as Tailwind's preflight does on the site. */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

::selection {
  background-color: var(--color-crow);
  color: var(--color-dove);
}

.site-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-catbird {
  color: var(--color-catbird);
}

.invert {
  filter: invert(1);
}

.flip {
  transform: scaleX(-1);
}

/*
|--------------------------------------------------------------------------
| Type styles — one per row of the brand sheet
|--------------------------------------------------------------------------
*/

.type-title {
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.type-statement {
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.type-subtitle {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.type-body {
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.type-card-title {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.type-ui {
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  font-weight: 600;
}

@media (max-width: 768px) {
  .type-title { font-size: 30px; }
  .type-statement { font-size: 26px; }
  .type-subtitle { font-size: 20px; }
}

/*
|--------------------------------------------------------------------------
| Buttons — the site's "+ label" ghost button
|--------------------------------------------------------------------------
|
| A translucent tint, so the same button reads on white, Dove and Crow.
| -dark is the Crow tint, -solid the main action.
|
*/

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 24px 0 13px;
  border: 0;
  border-radius: 2px;
  background-color: rgb(167 167 167 / 0.15);
  color: var(--color-catbird);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

.btn-ghost .plus {
  flex: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: rgb(167 167 167 / 0.3);
  color: var(--color-crow);
}

.btn-ghost-dark {
  background-color: rgb(247 247 255 / 0.1);
}

.btn-ghost-dark:hover,
.btn-ghost-dark:focus-visible {
  background-color: rgb(247 247 255 / 0.2);
  color: var(--color-dove);
}

.btn-ghost-solid {
  background-color: var(--color-crow);
  color: var(--color-paper);
}

.btn-ghost-solid:hover,
.btn-ghost-solid:focus-visible {
  background-color: rgb(2 2 2 / 0.8);
  color: var(--color-paper);
}

/* A link not supplied yet: greyed and inert. */
.btn-ghost.is-pending,
.btn-ghost.is-pending:hover {
  background-color: rgb(167 167 167 / 0.08);
  color: rgb(167 167 167 / 0.6);
  cursor: default;
}

/* The quiet translucent tag — reads on white and on Crow alike. */
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 2px;
  background-color: rgb(247 247 255 / 0.12);
  color: var(--color-dove);
}

.form-field {
  display: block;
  width: 100%;
  margin-top: var(--in-xs);
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgb(167 167 167 / 0.6);
  border-radius: 0;
  background-color: transparent;
  color: var(--color-paper);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  transition: border-color 200ms ease;
}

.form-field:focus {
  outline: none;
  border-bottom-color: var(--color-paper);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/*
|--------------------------------------------------------------------------
| Stripe — five equal colours, 13px, full bleed
|--------------------------------------------------------------------------
*/

.stripe {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  height: 13px;
}

.bg-red { background-color: var(--color-stripe-red); }
.bg-yellow { background-color: var(--color-stripe-yellow); }
.bg-blue { background-color: var(--color-stripe-blue); }
.bg-green { background-color: var(--color-stripe-green); }
.bg-pink { background-color: var(--color-stripe-pink); }

/* Draws itself in as it comes into view (initStripes). Script-added only. */
.stripe-pending > span {
  scale: 0 1;
  transform-origin: left;
}

.stripe-in > span {
  transform-origin: left;
  transition: scale 520ms var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}

/*
|--------------------------------------------------------------------------
| Intro loader
|--------------------------------------------------------------------------
*/

.intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background-color: var(--color-crow);
  color: var(--color-paper);
  cursor: pointer;
  animation: intro-out 300ms ease 1.85s forwards;
}

.intro-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-pillar[hidden] {
  display: none;
}

.intro-icon {
  display: block;
  animation:
    intro-pop 500ms cubic-bezier(0.3, 1.5, 0.5, 1) both,
    intro-bob 900ms ease-in-out 500ms infinite alternate;
}

.intro-icon img {
  height: auto;
}

.intro-label {
  margin-top: var(--in-m);
  animation: intro-rise 400ms ease-out 250ms both;
}

.intro-line {
  max-width: 640px;
  margin-top: 6px;
}

.intro-word {
  display: inline-block;
  animation: intro-rise 450ms var(--ease) both;
  animation-delay: calc(380ms + var(--w, 0) * 90ms);
}

.intro .stripe > span {
  transform-origin: left;
  animation: intro-fill 330ms linear both;
  animation-delay: calc(var(--i, 0) * 330ms);
}

@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes intro-pop {
  from {
    opacity: 0;
    scale: 0.4;
    rotate: -12deg;
  }
}

@keyframes intro-bob {
  to {
    translate: 0 -6px;
    rotate: 4deg;
  }
}

@keyframes intro-rise {
  from {
    opacity: 0;
    translate: 0 0.5em;
  }
}

@keyframes intro-fill {
  from {
    scale: 0 1;
  }
}

/*
|--------------------------------------------------------------------------
| Password gate
|--------------------------------------------------------------------------
*/

.gate {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background-color: var(--color-crow);
  color: var(--color-paper);
}

.gate ::selection {
  background-color: var(--color-paper);
  color: var(--color-crow);
}

.gate-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-block: 20px var(--in-xl);
}

.gate .logo {
  align-self: flex-start;
  height: 28px;
  width: auto;
}

.gate-form {
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding-top: var(--in-l);
}

.gate-icon {
  margin-bottom: var(--in-m);
}

.gate-title {
  margin-top: 6px;
}

.gate-label {
  display: block;
  margin-top: var(--in-l);
  color: var(--color-catbird);
}

.gate-error {
  margin-top: var(--in-xs);
  color: var(--color-stripe-pink);
}

.gate-submit {
  margin-top: var(--in-m);
}

/*
|--------------------------------------------------------------------------
| Header — logo and the four meta chips
|--------------------------------------------------------------------------
*/

.banner {
  position: relative;
  z-index: 40;
  background-color: var(--color-paper);
}

.banner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--in-s);
  padding-block: 20px;
}

.banner .logo {
  height: 28px;
  width: auto;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--in-xs);
  width: 100%;
}

.meta-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px 11px;
  border-radius: 2px;
  background-color: rgb(167 167 167 / 0.15);
}

.meta-chip dd {
  font-size: 16px;
}

@media (min-width: 900px) {
  .meta {
    display: flex;
    width: auto;
  }

  .meta-chip {
    min-width: 132px;
  }
}

/*
|--------------------------------------------------------------------------
| Hero — statement on white, Crow "why" panel bleeding right
|--------------------------------------------------------------------------
*/

.hero-grid {
  display: grid;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.hero-statement {
  display: flex;
  flex-direction: column;
  gap: var(--in-s);
  padding: var(--in-l) var(--gutter) var(--in-xl);
}

.hero-statement h1 {
  max-width: 630px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--in-xl) var(--gutter);
  background-color: var(--color-crow);
  color: var(--color-dove);
}

.why-list {
  margin-top: var(--in-m);
  max-width: 602px;
  border-top: 1px solid var(--color-catbird);
}

.why-list li {
  display: flex;
  align-items: baseline;
  gap: var(--in-s);
  padding-block: 12px 13px;
  border-bottom: 1px solid var(--color-catbird);
  color: rgb(247 247 255 / 0.75);
}

.why-number {
  flex: none;
  width: 26px;
  color: var(--color-catbird);
}

@media (min-width: 1024px) {
  .hero {
    background: linear-gradient(to right, transparent 50%, var(--color-crow) 50%);
  }

  .hero-grid {
    grid-template-columns: 690fr 750fr;
    min-height: clamp(560px, calc(100svh - 116px), 820px);
  }

  .hero-statement {
    justify-content: flex-end;
    padding: var(--in-l) var(--gutter) 69px;
    background-color: var(--color-paper);
  }

  .hero-panel {
    padding: var(--in-xl) var(--gutter) var(--in-xl) 56px;
  }
}

/*
|--------------------------------------------------------------------------
| Options
|--------------------------------------------------------------------------
*/

.options {
  padding-block: var(--sec);
}

.section-intro {
  max-width: 690px;
}

.section-intro p {
  max-width: 420px;
  margin-top: 18px;
}

.option-grid {
  display: grid;
  gap: 20px;
  margin-top: var(--in-l);
}

@media (min-width: 1024px) {
  .option-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.option {
  --muted: var(--color-catbird);
  --line: rgb(167 167 167 / 0.4);
  --inset: var(--color-paper);

  display: flex;
  flex-direction: column;
  padding: var(--in-m);
  border-radius: 2px;
  background-color: var(--color-dove);
  transition: translate 420ms var(--ease), box-shadow 420ms var(--ease);
}

.option:hover {
  translate: 0 -6px;
  box-shadow: 0 24px 48px -32px rgb(2 2 2 / 0.35);
}

.option-featured {
  --line: rgb(167 167 167 / 0.35);
  --inset: rgb(247 247 255 / 0.06);

  background-color: var(--color-crow);
  color: var(--color-dove);
}

.option-featured ::selection {
  background-color: var(--color-paper);
  color: var(--color-crow);
}

.option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
}

.option-label,
.option-muted {
  color: var(--muted);
}

.option-price {
  margin-top: var(--in-s);
}

.option-price + h3 {
  margin-top: 6px;
}

.option-summary {
  margin-top: var(--in-m);
  padding: var(--in-s);
  border-radius: 2px;
  background-color: var(--inset);
}

.option-summary p {
  margin-top: var(--in-xs);
}

.option-scope {
  margin-top: var(--in-m);
  margin-bottom: var(--in-m);
}

.scope-list {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.scope-list > li {
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}

.scope-item {
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.scope-item .plus {
  flex: none;
  translate: 0 1px;
  color: var(--muted);
}

.scope-sub {
  padding-left: 26px;
  color: var(--muted);
}

/* A short drawn rule as the sub-item marker. */
.scope-sub li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background-color: currentColor;
}

.option-footnote {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

.scope-example {
  font-style: italic;
  line-height: 1.8;
  padding-block: 4px;
}

.scope-example::before {
  display: none !important;
}

.option-terms {
  display: grid;
  gap: var(--in-xs);
  margin-top: auto;
}

.option-terms > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 2px;
  background-color: var(--inset);
}

/*
|--------------------------------------------------------------------------
| Next steps — the Dove band
|--------------------------------------------------------------------------
*/

.next {
  background-color: var(--color-dove);
}

.next-inner {
  padding-block: 125px 111px;
}

.next-inner h2 {
  max-width: 690px;
}

.next-inner p {
  max-width: 460px;
  margin-top: 18px;
}

.next-inner .btn-ghost {
  margin-top: var(--in-s);
}

@media (max-width: 1023px) {
  .next-inner {
    padding-block: var(--sec-xs) var(--in-xl);
  }
}

/*
|--------------------------------------------------------------------------
| Footer — Crow, with the cropped greeting wordmark
|--------------------------------------------------------------------------
*/

.footer {
  overflow: hidden;
  background-color: var(--color-crow);
  color: var(--color-paper);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--in-s);
  padding-top: var(--in-xl);
}

.footer .logo {
  height: 28px;
  width: auto;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: var(--in-s);
}

.footer-link {
  transition: color 200ms ease;
}

.footer-link:hover {
  color: var(--color-paper);
}

.greeting-row {
  display: flex;
  align-items: flex-start;
  gap: 3vw;
  height: min(16.7vw, 240px);
  margin-top: var(--sec-xs);
}

@media (min-width: 1024px) {
  .greeting-row {
    padding-left: calc(var(--gutter) + 55px);
  }
}

.greeting-mark {
  flex: none;
  width: min(17.1vw, 246px);
  height: min(17.1vw, 246px);
  margin-top: min(0.5vw, 7px);
  opacity: 0.35;
}

.greeting {
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: min(24.4vw, 352px);
  line-height: 0.73;
  font-weight: 500;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgb(167 167 167 / 0.35);
  transition: color 200ms ease;
}

.greeting:hover {
  color: rgb(167 167 167 / 0.5);
}

.greeting-word {
  display: inline-block;
  transition: opacity 300ms ease-out, translate 300ms ease-out;
}

.greeting-word.is-leaving {
  opacity: 0;
  translate: 0 -0.12em;
}

.greeting-word.is-entering {
  opacity: 0;
  translate: 0 0.12em;
  transition: none;
}

/*
|--------------------------------------------------------------------------
| Scroll and card reveal — script-added only, cleared once arrived
|--------------------------------------------------------------------------
*/

.reveal-pending {
  opacity: 0;
  translate: 0 48px;
}

.reveal-in {
  transition: opacity 900ms var(--ease), translate 900ms var(--ease);
}

.card-pending {
  opacity: 0;
  translate: 0 36px;
}

.card-in {
  transition: opacity 750ms var(--ease), translate 750ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .intro-icon,
  .intro-label,
  .intro-word,
  .intro .stripe > span {
    animation: none;
  }

  .option {
    transition: none;
  }

  .option:hover {
    translate: none;
  }
}

@media print {
  .intro,
  .greeting-row,
  .footer-link {
    display: none;
  }
}

.hero-text {
  max-width: 560px;
}

/*
|--------------------------------------------------------------------------
| Homepage mockup — a browser frame around the designer's image
|--------------------------------------------------------------------------
*/

.mockup {
  padding-top: var(--sec);
}

.mockup .section-intro h2 {
  margin-top: 6px;
}

.browser {
  margin-top: var(--in-l);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--color-dove);
  box-shadow: 0 0 0 1px rgb(167 167 167 / 0.3), 0 40px 80px -48px rgb(2 2 2 / 0.4);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgb(167 167 167 / 0.3);
  background-color: var(--color-paper);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgb(167 167 167 / 0.4);
}

.browser-shot {
  width: 100%;
  height: auto;
}

/*
|--------------------------------------------------------------------------
| ROI line and the Option 2 link to the projects
|--------------------------------------------------------------------------
*/

.option-roi {
  margin-top: var(--in-s);
  color: rgb(247 247 255 / 0.85);
  line-height: 1.8;
}

.option-similar {
  align-self: flex-start;
  margin-top: var(--in-s);
}

/*
|--------------------------------------------------------------------------
| How your project runs — a Dove band; the phases are a horizontal
| timeline on desktop (subgrid keeps the rows level), stacked on phones
|--------------------------------------------------------------------------
*/

.process {
  background-color: var(--color-dove);
  padding-block: var(--sec);
}

.process .section-intro p {
  max-width: 560px;
}

.phases {
  display: grid;
  margin-top: var(--in-l);
}

.phase {
  --dot: var(--color-stripe-red);

  position: relative;
  display: grid;
  gap: var(--in-s);
  padding: 0 0 var(--in-l) var(--in-m);
  border-left: 1px solid rgb(167 167 167 / 0.5);
}

.phase:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.phase:nth-child(2) { --dot: var(--color-stripe-yellow); }
.phase:nth-child(3) { --dot: var(--color-stripe-blue); }
.phase:nth-child(4) { --dot: var(--color-stripe-green); }

.phase-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phase-dot {
  position: absolute;
  top: 0;
  left: -7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: var(--dot);
  box-shadow: 0 0 0 4px var(--color-dove);
}

.phase-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--in-s);
  border-radius: 2px;
  background-color: var(--color-paper);
}

.phase-you {
  background-color: var(--color-crow);
  color: var(--color-dove);
}

@media (min-width: 1024px) {
  .phases {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 20px;
  }

  .phase {
    grid-row: span 3;
    grid-template-rows: subgrid;
    padding: var(--in-m) 0 0;
    border-left: 0;
    border-top: 1px solid rgb(167 167 167 / 0.5);
  }

  .phase:last-child {
    border-top-color: rgb(167 167 167 / 0.5);
  }

  .phase-dot {
    top: -7px;
    left: 0;
  }
}

.revisions-heading {
  margin-top: var(--in-xl);
}

.revisions {
  display: grid;
  gap: 20px;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .revisions {
    grid-template-columns: 1fr 1fr;
  }
}

.revision {
  padding: var(--in-s);
  border-radius: 2px;
  background-color: var(--color-paper);
  box-shadow: inset 0 0 0 1px rgb(167 167 167 / 0.3);
}

.revision p:first-of-type {
  margin-top: 4px;
}

.revision-when {
  margin-top: var(--in-xs);
}

/*
|--------------------------------------------------------------------------
| The framework — Crow band, pull statement and the seven pillars
|--------------------------------------------------------------------------
*/

.framework {
  background-color: var(--color-crow);
  color: var(--color-dove);
}

.framework ::selection {
  background-color: var(--color-paper);
  color: var(--color-crow);
}

.framework-inner {
  padding-block: var(--sec);
}

.framework-statement {
  max-width: 900px;
  margin-top: var(--in-s);
}

.framework-text {
  max-width: 620px;
  margin-top: var(--in-m);
  color: var(--color-catbird);
}

.framework-video {
  margin-top: var(--in-m);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: var(--in-l);
}

@media (min-width: 1200px) {
  .pillar-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* Tinted tiles, like the insets on the featured option card. */
.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--in-s) 18px var(--in-m);
  border-radius: 2px;
  background-color: rgb(247 247 255 / 0.06);
  transition: background-color 240ms ease, translate 420ms var(--ease);
}

.pillar-card:hover {
  background-color: rgb(247 247 255 / 0.1);
  translate: 0 -4px;
}

.pillar-sketch {
  align-self: flex-start;
  width: auto;
  height: 36px;
  margin-bottom: 6px;
}

.pillar-card:hover .pillar-sketch {
  animation: intro-bob 900ms ease-in-out infinite alternate;
}

.pillar-note {
  color: rgb(247 247 255 / 0.7);
  line-height: 1.8;
}

/*
|--------------------------------------------------------------------------
| Projects and video testimonials
|--------------------------------------------------------------------------
*/

.projects {
  padding-block: var(--sec);
  scroll-margin-top: var(--in-s);
}

/* The site's project grid and card (partials/project-grid, components/project-card). */
.project-grid {
  display: grid;
  gap: var(--in-xl) var(--split);
  margin-top: var(--in-xl);
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .project-grid {
    row-gap: 58px;
    margin-top: 62px;
  }
}

.project {
  min-width: 0;
}

.project-link {
  display: block;
}

.card-media {
  position: relative;
  aspect-ratio: 636 / 358;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--color-catbird);
}

.card-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 420ms ease, transform 620ms ease;
}

.project-link:hover .card-media-layer {
  transform: scale(1.05);
}

.project-name {
  padding-top: var(--in-s);
  transition: color 200ms ease;
}

.project-link:hover .project-name {
  color: var(--color-catbird);
}

.project-why {
  max-width: 60ch;
  margin-top: 6px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.project-tags li {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 6px;
  border-radius: 2px;
  background-color: rgb(167 167 167 / 0.15);
  color: var(--color-catbird);
  font-weight: 500;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--in-xs);
  margin-top: var(--in-s);
}

.videos-heading {
  margin-top: var(--sec-xs);
}

.video-grid {
  display: grid;
  gap: var(--in-s) 20px;
  margin-top: var(--in-s);
}

.video-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Portrait frames, matching the testimonials on the personal site. */
.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--color-crow);
  color: var(--color-dove);
}

button.video-frame {
  cursor: pointer;
}

.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 300ms ease;
}

button.video-frame:hover img {
  scale: 1.05;
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-paper);
  color: var(--color-crow);
  padding-left: 3px;
  transition: scale 300ms ease;
}

button.video-frame:hover .video-play {
  scale: 1.1;
}

.video-pending {
  position: absolute;
  bottom: 14px;
  left: 16px;
  color: var(--color-catbird);
}

.video-name {
  margin-top: 14px;
  margin-bottom: 2px;
}

/*
|--------------------------------------------------------------------------
| Questions — the website design page's FAQ: a Crow band, the heading
| beside small-type prompts
|--------------------------------------------------------------------------
*/

.faq {
  background-color: var(--color-crow);
  color: var(--color-paper);
}

.faq ::selection {
  background-color: var(--color-paper);
  color: var(--color-crow);
}

.faq-inner {
  display: grid;
  gap: var(--in-l);
  padding-block: var(--sec);
}

@media (min-width: 1024px) {
  .faq-inner {
    grid-template-columns: 1fr 700px;
    gap: var(--split);
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.faq-list li {
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--in-s);
  cursor: pointer;
  list-style: none;
  transition: color 200ms ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--color-catbird);
}

.faq-list summary .plus {
  flex: none;
  transition: rotate 300ms ease;
}

.faq-list details[open]:not([data-closing]) summary .plus {
  rotate: 45deg;
}

.faq-body {
  max-width: 600px;
  padding-top: var(--in-xs);
  color: var(--color-catbird);
}

/*
|--------------------------------------------------------------------------
| Our next meeting — a Crow card on white
|--------------------------------------------------------------------------
*/

.meeting {
  padding-block: var(--sec);
}

.meeting-card {
  --muted: var(--color-catbird);
  --line: rgb(167 167 167 / 0.35);

  display: grid;
  gap: var(--in-l);
  padding: var(--in-l) var(--in-s);
  border-radius: 2px;
  background-color: var(--color-crow);
  color: var(--color-dove);
  box-shadow: inset 0 -4px 0 var(--color-stripe-blue);
}

.meeting-card ::selection {
  background-color: var(--color-paper);
  color: var(--color-crow);
}

@media (min-width: 1024px) {
  .meeting-card {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--in-l) var(--split);
    padding: var(--in-xl) var(--in-l);
  }
}

.meeting-when h2 {
  margin-top: var(--in-xs);
}

.meeting-time {
  margin-top: 10px;
  color: var(--color-catbird);
}

.meeting-reserve p {
  margin-top: 14px;
  color: rgb(247 247 255 / 0.8);
}

.meeting-reserve .meeting-rush {
  margin-top: var(--in-xs);
  color: var(--color-catbird);
}
