/* All 4 Our Pets: coming-soon page. Tail Four palette, Outfit + DM Sans (SIL Open Font License, self-hosted).
   No scripts, no external requests: every file is relative to this folder. */
@font-face { font-family: "Outfit"; src: url("assets/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --ink: #17324d; --heart: #c8452a; --heart-tint: #fbe3dc; --shell: #faf6f2; --card: #fff; --soft: #44566c; --line: #e7e0d8;
  --sage: #2f5d50; --sage-soft: #dce8df; --sand: #f3d7a8; --mist: #c9d3de;
  --fh: "Outfit", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fb: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px; --gutter: 24px; --r-portrait: 28px; --peek: clamp(48px, 6vw, 96px); --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (max-width: 719px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--shell); color: var(--ink); font: 400 1rem/1.6 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--heart); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--fh); color: var(--ink); margin: 0; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 999px; }
.skip:focus { top: 16px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* header */
.head { border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 40px; width: auto; }
.head-mail { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.head-mail:hover { background: var(--ink); color: #fff; }
@media (max-width: 479px) { .brand img { height: 32px; } .head-mail { padding: 0 14px; font-size: .9375rem; } }

/* buttons and pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: 600 1rem var(--fb); text-decoration: none; }
.btn:hover { background: #0f2438; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--heart-tint); color: var(--ink); }
.pill { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: 999px; font: 600 .8125rem/1.2 var(--fb); letter-spacing: .02em; }
.pill--soon { background: var(--heart-tint); color: var(--ink); }
.pill--first { background: var(--ink); color: #fff; }

/* bands */
.band { padding: 96px 0; }
.band--white { background: var(--card); }
.band--sage { background: var(--sage); color: #fff; }
@media (max-width: 1023px) { .band { padding: 64px 0; } }
@media (max-width: 719px) { .band { padding: 48px 0; } }
h2 { font: 700 clamp(2rem, 1.35rem + 2.6vw, 3.25rem)/1.02 var(--fh); letter-spacing: -.025em; text-wrap: balance; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; }
.sec-head { display: grid; gap: 12px; max-width: 42rem; margin-bottom: 32px; }
.sec-head .lead { color: var(--soft); }

/* hero: copy left, the corgi in a terracotta portrait window right */
.hero { display: grid; gap: 32px; padding-top: 64px; padding-bottom: 96px; grid-template-areas: "copy" "photo" "facts"; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy photo" "facts photo"; grid-template-rows: auto auto; align-content: center; column-gap: 64px; min-height: min(84svh, 780px); align-items: center; } .hero__copy { align-self: end; } .hero__facts { align-self: start; } }
.hero__copy { grid-area: copy; }
.hero h1 { font: 700 clamp(2.75rem, 1.5rem + 5.2vw, 5.5rem)/.95 var(--fh); letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--heart); }
.hero .lead { margin-top: 24px; max-width: 32rem; color: var(--soft); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { grid-area: facts; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--soft); font-size: .9375rem; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 20px; height: 20px; color: var(--heart); flex: none; }
.hero__photo { grid-area: photo; justify-self: center; position: relative; width: min(100%, 500px); padding-top: 28px; }
.portrait { position: relative; aspect-ratio: 4 / 5; width: calc(100% - 28px); background: var(--heart); border-radius: var(--r-portrait); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-portrait); translate: 28px -28px; outline: 14px solid var(--shell); }
.portrait__mark { position: absolute; top: -12px; right: -12px; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--shell); }
.portrait__mark img { width: 48px; }
@media (min-width: 1080px) { .portrait__mark { top: -24px; right: -24px; } }
@media (max-width: 959px) { .hero__photo { width: min(100%, 500px, 56svh * .8 + 28px); } }
@media (max-width: 719px) {
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 24px; }
  .cta { margin-top: 24px; } .cta .btn { flex: 1 1 auto; }
  .hero__photo { padding-top: 16px; }
  .portrait { width: calc(100% - 16px); }
  .portrait img { translate: 16px -16px; outline-width: 8px; }
  .portrait__mark { width: 56px; height: 56px; }
  .portrait__mark img { width: 36px; }
}

/* what's coming: one colour field per category */
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1079px) { .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); } .cats li { grid-column: span 2; } .cats li:nth-child(n + 4) { grid-column: span 3; } }
@media (max-width: 719px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cats li, .cats li:nth-child(n + 4) { grid-column: auto; } .cats li:last-child { grid-column: 1 / -1; } }
.cat { --field: var(--sage-soft); height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 24px; background: var(--field); color: var(--ink); min-height: 220px; }
.cat__disc { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--heart); margin-bottom: 8px; }
.cat__disc svg { width: 28px; height: 28px; }
.cat h3 { font: 600 1.25rem/1.2 var(--fh); letter-spacing: -.01em; }
.cat p { font-size: .975rem; }
.cat--play { --field: var(--heart-tint); }
.cat--gifts { --field: var(--heart); color: #fff; }
.cat--gifts h3 { color: #fff; }
.cat--gifts .cat__disc { background: var(--shell); }
.cat--clean { --field: var(--mist); }
.cat--fun { --field: var(--sand); }
@media (max-width: 719px) { .cat { padding: 20px; min-height: 0; } .cat__disc { width: 48px; height: 48px; } }

/* who lives at your place: six round portraits */
.pets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 719px) { .pets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; } }
.pet { --ring: var(--sand); display: grid; justify-items: center; gap: 8px; text-align: center; }
.pet__ring { display: block; padding: 6px; border-radius: 50%; background: var(--ring); }
.pet__ring img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
@media (max-width: 719px) { .pet__ring img { width: 96px; height: 96px; } }
.pet h3 { font: 600 1.25rem/1.2 var(--fh); letter-spacing: -.01em; margin-top: 4px; }
.pet--blush { --ring: var(--heart-tint); }
.pet--sage { --ring: var(--sage-soft); }
.pet--mist { --ring: var(--mist); }

/* suppliers and partners: sage, with the one peeking cat (the band above leaves room for it) */
.band--before-peek { padding-bottom: calc(var(--peek) + 56px); }
@media (max-width: 719px) { .band--before-peek { padding-bottom: calc(var(--peek) + 32px); } }
.partners { padding-top: 64px; }
.partners__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .partners__grid { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "copy photo"; column-gap: 64px; } .partners__copy { grid-area: copy; } .partners__photo { grid-area: photo; } }
.partners__photo { margin-top: calc(-1 * (64px + var(--peek))); }
.peek { aspect-ratio: 1; border-radius: var(--r-portrait); box-shadow: 0 0 0 10px var(--card); overflow: hidden; background: var(--sage-soft); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) { .partners { padding-top: 0; } .partners__photo { width: 72%; max-width: 380px; justify-self: center; margin-top: calc(-1 * var(--peek)); } }
.partners__copy { display: grid; gap: 20px; justify-items: start; }
.partners__copy h2 { color: #fff; }
.partners__copy .lead { color: #fff; max-width: 36rem; }
.partners__copy .mail { display: inline-block; min-height: 24px; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.partners__copy .mail:hover { color: var(--heart-tint); }

/* footer */
.foot { background: var(--ink); color: #e9eef4; padding: 56px 0 40px; }
.foot .wrap { display: grid; gap: 24px; }
.foot img { height: 40px; width: auto; }
.foot p { color: #c9d4e0; max-width: 46rem; }
.foot a { color: #fff; display: inline-flex; align-items: center; min-height: 24px; }
.foot a:hover { color: #ffd9cf; }
.foot__legal { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 16px; font-size: .875rem; color: #b8c5d3; }

/* credits page */
.doc { padding-block: 56px 96px; } /* keeps the .wrap side padding */
.doc h1 { font: 700 clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem)/1.05 var(--fh); letter-spacing: -.03em; }
.doc .lead { color: var(--soft); margin-top: 12px; max-width: 46rem; }
.sheet { margin-top: 32px; background: var(--card); border-radius: 16px; box-shadow: 0 24px 40px -28px rgba(23, 50, 77, .55); padding: 24px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
td a { display: inline-block; max-width: 100%; min-height: 24px; overflow-wrap: break-word; }
.thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.doc h2 { font-size: 1.5rem; margin-top: 40px; }
.doc .note { margin-top: 12px; color: var(--soft); max-width: 46rem; }
/* phones: each credit becomes a card (thumbnail left; where it appears, author and license beside it; the source link full width).
   The headers stay in the page for screen readers; the ARIA roles in credits.html keep the table semantics when the display changes. */
@media (max-width: 719px) {
  .sheet { padding: 8px 16px; }
  .table-wrap { overflow-x: visible; }
  table, tbody, tr, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  tr { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  td { padding: 0; border: 0; }
  td:first-child { grid-row: 1 / span 3; }
  td:nth-child(2) { font-weight: 600; }
  td:last-child { grid-column: 1 / -1; margin-top: 8px; }
}
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; margin-top: 24px; }

/* motion: a gentle entrance only, off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .hero__facts { animation: rise .52s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: 70ms; }
  .hero__copy > :nth-child(3) { animation-delay: 140ms; }
  .hero__facts { animation-delay: 210ms; }
  .hero__photo { animation: settle .52s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; translate: 0 12px; } }
@keyframes settle { from { opacity: 0; scale: .98; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
