/* The home page's hero and "how it works", as designed in the handover
   (sections/index.html), and the bands below them in the same hand. Every rule
   is scoped to .hero, .how or .band so the names here cannot touch the rest
   of the site. */

.hero, .how, .band {
  --cream: #F6F1E8; --paper: #FFFDF8; --clay: #C2603F; --sage-soft: #E4EADF; --clay-soft: #F3DDD2;
  --line: #DDD5C6; --oak: #B98A5A; --oak-dark: #8E6740;
}
.hero .wrap, .how .wrap, .band .wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.hero img, .how img, .band img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero figure, .how figure, .band figure { margin: 0; }
.hero .eyebrow, .how .eyebrow, .band .eyebrow {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--clay); margin: 0 0 14px; max-width: none;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.01em; }
.how h2, .band h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -0.01em; }
.how h3 { font-size: 24px; }
.hero h1 em, .how h2 em, .band h2 em { font-weight: 400; }

/* ---- hero ------------------------------------------------------------------ */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.hero .lead { font-size: 20px; max-width: 30ch; margin: 22px 0 28px; }
.hero small { display: block; margin-top: 14px; font-size: 14px; opacity: 0.75; }
.hero .demo { min-width: 0; }
.hero .stage { display: grid; grid-template-columns: minmax(0, 150px) 28px minmax(0, 1fr); gap: 14px; align-items: center; }
.hero .label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; opacity: 0.7; margin: 0 0 10px; }
.hero .inputs { display: flex; flex-direction: column; gap: 12px; }
.hero .snap, .how .snap, .band .snap {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 8px;
  box-shadow: 0 6px 18px rgb(31 42 46 / 0.08);
}
.hero .snap .ph, .how .snap .ph, .band .snap .ph { aspect-ratio: 1 / 1; border-radius: 9px; overflow: hidden; }
.hero .snap span, .how .snap span { display: block; font-size: 14px; font-weight: 500; padding: 6px 4px 0; }
.hero .inputs.four { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero .inputs.four .snap span { font-size: 12px; }
.hero .arrow { font-family: var(--serif); font-size: 30px; color: var(--clay); text-align: center; }
.hero .frame, .how .frame, .band .frame {
  background: linear-gradient(135deg, var(--oak), var(--oak-dark)); padding: 12px; border-radius: 4px;
  box-shadow: 0 24px 50px rgb(31 42 46 / 0.22);
}
.hero .mat, .how .mat, .band .mat { background: #fff; padding: 22px 22px 14px; }
.hero .mat .ph, .how .mat .ph, .band .mat .ph { aspect-ratio: 2 / 3; overflow: hidden; }
.hero .mat figcaption { font-family: var(--serif); font-style: italic; font-size: 22px; text-align: center; padding-top: 12px; }
.hero .tabs { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.hero .tabs button {
  font: inherit; font-size: 14px; font-weight: 500; border: 1px solid var(--ink); background: transparent;
  color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.hero .tabs button[aria-pressed='true'] { background: var(--ink); color: var(--cream); }
.hero .tabs button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero .fineprint { font-size: 13px; opacity: 0.7; margin: 12px 0 0; max-width: none; }

/* ---- how it works ---------------------------------------------------------- */
.how { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 76px 0 84px; }
.how header { max-width: 720px; margin-bottom: 44px; }
.how .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.how .step { border-radius: 22px; padding: 22px 22px 26px; display: flex; flex-direction: column; min-width: 0; }
.how .step:nth-child(1) { background: var(--sage-soft); }
.how .step:nth-child(2) { background: var(--cream); border: 1px solid var(--line); }
.how .step:nth-child(3) { background: var(--clay-soft); }
.how .num {
  font-family: var(--serif); font-size: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--cream); display: grid; place-items: center;
}
.how .art { height: 270px; display: flex; align-items: center; justify-content: center; margin: 10px 0 18px; }
.how .step p { margin: 8px 0 0; max-width: none; }
.how .picks { display: flex; gap: 10px; align-items: flex-end; }
.how .pick {
  width: 96px; border-radius: 48px 48px 10px 10px; overflow: hidden; aspect-ratio: 2 / 3;
  border: 4px solid #fff; box-shadow: 0 8px 20px rgb(31 42 46 / 0.14); position: relative;
}
.how .pick.mid { width: 120px; }
.how .pick.sel::after {
  content: '\2713'; position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--clay); color: #fff; font-weight: 600; display: grid; place-items: center; font-size: 15px;
}
.how .adds { display: flex; gap: 12px; align-items: center; }
.how .adds .snap { width: 118px; }
.how .adds .snap span::after { content: ' \2713'; color: var(--clay); font-weight: 600; }
.how .adds .plus { font-family: var(--serif); font-size: 28px; color: var(--clay); }
.how .prev { width: 170px; position: relative; }
.how .prev .frame { padding: 8px; }
.how .prev .mat { padding: 12px; }
.how .prev .wm {
  position: absolute; left: 8%; right: 8%; top: 42%; text-align: center; font-size: 13px; letter-spacing: 0.3em;
  font-weight: 600; color: #fff; background: rgb(31 42 46 / 0.55); padding: 7px 0; transform: rotate(-8deg);
}
.how .promise { font-family: var(--serif); font-style: italic; font-size: 26px; text-align: center; margin: 48px 0 0; max-width: none; }

/* ---- the bands below the steps ------------------------------------------------ */
.band { padding: 76px 0 0; }
.band header { max-width: 720px; margin-bottom: 40px; }
.band header p:last-child { font-size: 19px; margin: 16px 0 0; max-width: 34rem; }
.band ul { list-style: none; padding: 0; margin: 0; }
.band .fineprint { font-size: 13px; opacity: 0.7; margin: 28px 0 0; max-width: none; }
.band .wrap > .button { margin-top: 36px; }

/* a camera roll with no one else in it */
.roll { padding: 0 0 76px; }
.roll .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.roll-photos { display: flex; justify-content: center; padding: 24px 0; }
.roll-photos .snap { width: 24%; flex: none; margin-left: -5%; padding: 5px 5px 14px; border-radius: 6px; }
.roll-photos .snap:first-child { margin-left: 0; }
.roll-photos .snap:nth-child(odd) { transform: rotate(-5deg) translateY(8px); }
.roll-photos .snap:nth-child(even) { transform: rotate(4deg) translateY(-10px); }
.roll-photos .snap:nth-child(3) { transform: rotate(-1deg) translateY(-2px); z-index: 1; }
.roll-photos .snap .ph { border-radius: 3px; }
.roll-copy p { font-size: 19px; margin: 18px 0 26px; max-width: 30rem; }

/* made from these */
.made-sets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.made-sets li { display: flex; flex-direction: column; align-items: center; }
.made-inputs { display: flex; justify-content: center; gap: 8px; margin-bottom: -26px; position: relative; z-index: 1; }
.made-inputs .snap { width: 86px; padding: 4px 4px 5px; border-radius: 10px; }
.made-inputs .snap:nth-child(odd) { transform: rotate(-4deg); }
.made-inputs .snap:nth-child(even) { transform: rotate(3deg) translateY(-6px); }
.made-inputs .snap .ph { border-radius: 7px; }
.made-sets .frame { width: 100%; max-width: 320px; }
.made-sets .mat { padding: 20px; }
.made-sets li > p { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; text-align: center; margin: 20px 0 0; max-width: 20rem; }

/* one pair, four looks */
.four-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.four-grid .frame { padding: 9px; }
.four-grid .mat { padding: 14px; }
.four-grid .mat .ph { aspect-ratio: 1 / 1; }
.four-grid p { font-family: var(--serif); font-style: italic; font-size: 20px; text-align: center; margin: 14px 0 0; max-width: none; }

/* not just dogs */
.species { padding-bottom: 8px; }
.species-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.species-grid .ph { aspect-ratio: 4 / 5; border-radius: 120px 120px 14px 14px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 10px 24px rgb(31 42 46 / 0.14); }
.species-grid p { font-family: var(--serif); font-size: 20px; text-align: center; margin: 14px 0 0; max-width: none; }

.species-grid a { text-decoration: none; display: block; }
.species-grid a:hover p { text-decoration: underline; }

/* send it as a gift */
.giving { margin-top: 76px; padding: 60px 0 64px; color: var(--cream); background: linear-gradient(rgb(22 30 33 / 0.74), rgb(22 30 33 / 0.86)), #1F2A2E url('/img/gift/xmas_bokeh.jpg') center / cover; }
.giving h2 { color: var(--cream); }
.giving p { font-size: 19px; margin: 18px 0 0; max-width: 34rem; }
.giving .wrap > .button { margin-top: 26px; }

/* yes, it is AI */
.honest { margin-top: 76px; padding: 68px 0 72px; background: var(--ink); color: var(--cream); }
.honest h2 { color: var(--cream); }
.honest p { font-size: 19px; margin: 20px 0 0; max-width: 38rem; }
.honest ul { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 26px 0 0; }
.honest li { border: 1px solid rgb(246 241 232 / 0.45); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.honest .wrap > .button { margin-top: 30px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .roll .wrap { grid-template-columns: 1fr; gap: 28px; }
  .made-sets { grid-template-columns: 1fr; gap: 48px; }
  .four-grid, .species-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how .steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero .stage { grid-template-columns: 1fr; justify-items: center; }
  .hero .inputs, .hero .inputs.four { display: grid; grid-template-columns: repeat(2, minmax(0, 130px)); justify-content: center; }
  .hero .arrow { transform: rotate(90deg); }
  .how .pick { width: 78px; }
  .how .pick.mid { width: 98px; }
}
