/* Fashion Spectrum — Version 2 (Bold Contemporary, dark)
   Page layout and component styles are inline in the HTML (exported from the design canvas).
   This file holds the shared base rules, hover/focus states and motion. */

:root {
  --fs-black: #0E0A0C;
  --fs-white: #FFF8F5;
  --fs-pink: #F394B5;   /* logo pink */
  --fs-plum: #3E1B36;
  --fs-hot: #C81E5B;
  --fs-cobalt: #1F3BB3;
  --fs-yellow: #F2CF3A;
  --fs-grey: #5E5559;
  --fs-font: Archivo, 'Helvetica Neue', Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fs-white); color: var(--fs-black); font-family: var(--fs-font); }
.fs-page { overflow-x: clip; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

a { color: inherit; }
a:hover { color: var(--fs-hot); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--fs-cobalt);
  outline-offset: 3px;
}

/* dropdowns: replace the browser's arrow, which sits against the border,
   with a chevron inset to match the 16px text padding. !important beats
   the inline `background` / `padding` shorthands on each select. */
select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0A0C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 18px 18px !important;
  cursor: pointer;
}
select::-ms-expand { display: none; }

/* skip link */
.fs-skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px;
  background: var(--fs-pink); color: var(--fs-black); font-weight: 800; text-decoration: none; }
.fs-skip:focus { top: 12px; }

/* scrolling strip of services (homepage) and spinning "Now scouting" badge */
@keyframes fs-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fs-spin { to { transform: rotate(360deg); } }
.fs-tick { animation: fs-tick 90s linear infinite; }
.fs-spin { animation: fs-spin 22s linear infinite; }

/* email links have an optional line break after the "@" (<wbr>) so the
   address can wrap on phones and small tablets; keep it on one line above 700px */
@media (min-width: 701px) {
  a[href^="mailto:"] { white-space: nowrap; }
  a[href^="mailto:"] wbr { display: none; }
}

/* homepage "What we do" list: on phones there isn't room for the big number
   beside long service names, so put the number above the name */
@media (max-width: 600px) {
  .fs-svc-row { flex-direction: column; align-items: flex-start !important; gap: 10px !important; }
}

/* homepage "Now scouting" badge: smaller on phones so it doesn't cover the
   hero buttons or much of the photo (168px -> 96px, still half over the photo) */
@media (max-width: 600px) {
  .fs-badge { top: -48px !important; transform: scale(0.5714); transform-origin: top right; }
}

/* talent portraits: black and white until hovered or focused */
.fs-gs { filter: grayscale(1) contrast(1.05); transition: filter .35s ease; }
.fs-gs:hover, a:focus-visible .fs-gs, button:focus-visible .fs-gs { filter: none; }

/* shop is switched off for now: every link, button and section that leads to
   shop.html, product.html or cart.html carries data-shop. Delete this rule to
   bring the shop back (and rename data-shop-href to href on the magazine page). */
[data-shop] { display: none !important; }
/* with the cart button gone, sit the main menu on the right instead of centred.
   Delete this rule too when the shop comes back. */
header nav[aria-label="Main"] { justify-content: flex-end !important; }

/* magazine is switched off for now: the Magazine menu links, the homepage
   Issue 01 section and the About page magazine card carry data-magazine.
   magazine.html itself is unchanged. Delete this rule to bring it back.
   (The About page "ways in" cards section is also switched off, with the
   hidden attribute on its <section>; remove that to show it again.) */
[data-magazine] { display: none !important; }

/* newsletter sign-up ("Stay in the loop" in the footer) is switched off until
   a mailing list is chosen. Delete this rule to bring it back. */
[data-newsletter] { display: none !important; }

/* homepage "Selected work" strip is switched off until its three featured
   projects are chosen. Delete this rule to show it. */
[data-portfolio-strip] { display: none !important; }

/* talent, portfolio and about are switched off for launch: their menu links
   (header and footer), the homepage "The talent" button and the homepage
   roster section carry data-talent / data-portfolio / data-about. The pages
   themselves are also left out of the deploy by .assetsignore. To bring one
   back, delete its rule below and its lines in .assetsignore. */
[data-talent] { display: none !important; }
[data-portfolio] { display: none !important; }
[data-about] { display: none !important; }

/* ---------- portfolio (portfolio.html, project pages, homepage strip) ---------- */
.pf-filter { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--fs-black); background: transparent; color: var(--fs-black);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif; font-size: 13px; font-weight: 800; font-stretch: 115%; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.pf-filter[aria-pressed="true"] { background: var(--fs-black); color: var(--fs-white); }
.pf-filter.pf-sub { min-height: 40px; padding: 0 16px; font-size: 12px; border-width: 2px; border-style: dashed; }
.pf-filter.pf-sub[aria-pressed="true"] { border-style: solid; }
.pf-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; gap: 20px; }
.pf-card { grid-column: span 2; position: relative; display: block; border-radius: 26px; overflow: hidden; border: 3px solid var(--fs-black);
  background: #3E1B36; color: var(--fs-white); text-decoration: none; aspect-ratio: 4 / 5; }
.pf-card[hidden] { display: none; }
.pf-card.pf-wide { grid-column: span 4; aspect-ratio: auto; min-height: 420px; }
.pf-card.pf-half { grid-column: span 3; aspect-ratio: 4 / 3; }
.pf-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pf-card:hover img, .pf-card:focus-visible img { transform: scale(1.04); }
.pf-card:hover { color: var(--fs-white); }
.pf-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 10, 12, .85) 0%, rgba(14, 10, 12, 0) 55%); }
.pf-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pf-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--fs-pink); color: var(--fs-black);
  font-size: 11px; font-weight: 800; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; }
.pf-title { margin: 0; font-family: Archivo, "Helvetica Neue", Arial, sans-serif; font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: .95; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.pf-wide .pf-title { font-size: clamp(1.75rem, 3.4vw, 3rem); }
.pf-meta { margin: 0; font-size: 14px; color: #E5DCE0; }
/* credits: a compact two-column list (label over value, thin rule between rows) */
.pf-credits { margin: 0; columns: 2 130px; column-gap: 28px; }
.pf-credits > div { break-inside: avoid; display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid rgba(255, 248, 245, 0.35); }
.pf-credits > .pf-credit-wide { column-span: all; }
.pf-credits dt { font-size: 11px; font-weight: 800; font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.pf-credits dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.pf-credits a { color: inherit; }
/* gallery: photos keep their own shape (portrait, landscape, crops) in a masonry of columns */
.pf-gallery { columns: 3 260px; column-gap: 14px; }
.pf-gallery img { display: block; width: 100%; height: auto; margin: 0 0 14px; break-inside: avoid; border-radius: 18px; border: 2px solid var(--fs-black); background: #3E1B36; }
/* project title column: the title is sized against this column so long words never break */
.pf-fit { container-type: inline-size; }
@media (max-width: 900px) {
  .pf-card, .pf-card.pf-half { grid-column: span 3; }
  .pf-card.pf-wide { grid-column: span 6; aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 600px) {
  .pf-grid { gap: 14px; }
  .pf-card, .pf-card.pf-half, .pf-card.pf-wide { grid-column: span 6; aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) { .pf-card img { transition: none; } }

/* form status line added by site.js */
.fs-form-status { margin: 0; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--fs-black);
  background: var(--fs-yellow); color: var(--fs-black); font-size: 15px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .fs-tick, .fs-spin { animation: none; }
  .fs-gs { transition: none; }
}
