/* Layout: black, photo-led corporate apparel house; tall product panels, extra-wide uppercase display type, single-color logo wall, one ice-blue accent. */
:root {
  --black: #0a0a0b;
  --char: #141416;
  --line: rgba(255,255,255,.14);
  --white: #ffffff;
  --mute: #a3a7ae;
  --stone: #e9ebee;
  --ink: #0a0a0b;
  --ink-mute: #4d525b;
  --accent: #9cc3ff;
  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1400px;
  --gutter: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--white); background: var(--black); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p { margin: 0; }

.wide { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: .92; margin: 0; text-wrap: balance; }
h1.wide { font-size: clamp(2.6rem, 7vw, 7rem); }
h2.wide { font-size: clamp(2rem, 5vw, 4.8rem); }
h3.wide { font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1; }
.label { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.label--accent { color: var(--accent); }
.small-caps { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.75; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.light { background: var(--stone); color: var(--ink); }
.rule { border-top: 1px solid var(--line); }
.light .rule { border-color: rgba(0,0,0,.14); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; border: 1px solid currentColor;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; background: transparent; color: inherit; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.light .btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--black); border-color: var(--accent); }
.btn--accent:hover { background: var(--white); border-color: var(--white); }
.more { display: inline-flex; align-items: center; gap: 16px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--accent); padding-bottom: 8px; border-bottom: 1px solid currentColor; min-width: 200px; justify-content: space-between; }
.light .more { color: var(--ink); }
.more:hover span { transform: translateX(4px); }
.more span { transition: transform .2s ease; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(10,10,11,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brandmark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brandmark img { height: 40px; width: auto; background: var(--white); padding: 4px 6px; border-radius: 4px; box-sizing: content-box; }
.brandmark span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.brandmark b { font-weight: 800; }
/* In the top bar the logo and name are larger and stretch across toward the menu. */
.header .brandmark { flex: 1; min-width: 0; gap: 24px; container-type: inline-size; }
.header .wrap { height: 104px; }
.header .brandmark img { height: 78px; padding: 5px 8px; }
/* The name is sized to fill the space between the logo and the menu (about 13.8 font-sizes wide). */
.header .brandmark span { font-size: min(calc((100cqw - 146px) / 13.8), 3.2rem); letter-spacing: .16em; white-space: nowrap; line-height: 1; }
/* Phones: a smaller logo and gap leave room for the name beside the menu button. */
@media (max-width: 760px) {
  .header .brandmark { gap: 12px; }
  .header .wrap { height: 84px; }
  .header .brandmark img { height: 54px; padding: 4px 6px; }
  .header .brandmark span { display: inline; font-size: min(calc((100cqw - 100px) / 13.8), 1.4rem); }
}
.nav { display: flex; align-items: flex-start; gap: clamp(18px, 2.4vw, 36px); }
.nav a { display: block; min-width: 72px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.5); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: border-color .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { border-top-color: var(--accent); color: var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: 9px 10px; cursor: pointer; color: var(--white); }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; }

/* Home: one brand photo at a time, fading into the next, with the see-through name fixed over it */
.reel { position: relative; height: min(86vh, 860px); min-height: 480px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--black); }
.hero-slides { position: absolute; inset: 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; background: #141416; text-decoration: none; -webkit-user-drag: none;
  visibility: hidden; transform: translateX(100%); transition: transform .55s cubic-bezier(.65,0,.35,1), visibility 0s linear .55s; }
/* Slides slide in from the side; the one leaving slides out the other way (set in slides.js). */
.hero-slide.is-active { z-index: 1; visibility: visible; transform: translateX(0); transition: transform .55s cubic-bezier(.65,0,.35,1); }
/* Each slide arrives with a quick zoom-in settle. */
.hero-panel { position: relative; flex: none; overflow: hidden; transform: scale(1.06); transition: transform 0s linear .55s; }
.hero-slide.is-active .hero-panel { transform: scale(1); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
/* Slide dots along the bottom of the header: one per slide, the current one white. */
.hero-dots { position: absolute; left: 50%; bottom: clamp(12px, 2vw, 24px); transform: translateX(-50%); z-index: 3; display: flex; max-width: calc(100% - 24px); }
.hero-dot { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.38); transition: background .2s ease, transform .2s ease; }
.hero-dot:hover::before { background: rgba(255,255,255,.7); }
.hero-dot.is-active::before { background: #fff; transform: scale(1.15); }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 50%; }
.hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,0) 28%); pointer-events: none; }
.hero-logo { position: absolute; left: clamp(20px, 3.2vw, 48px); bottom: clamp(20px, 3.2vw, 44px); z-index: 1; display: flex; align-items: flex-end; }
.hero-logo img { display: block; max-height: clamp(70px, 8vw, 150px); max-width: clamp(220px, 30vw, 520px); width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 1px 8px rgba(0,0,0,.5)); }
.hero-logo .wordmark { color: var(--white); font-weight: 800; font-size: 1.2rem; }
/* Kept for search engines and screen readers, not shown on screen. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.reel-title {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; white-space: nowrap;
  font-size: clamp(2.2rem, 7.4vw, 7.8rem); color: rgba(13,27,62,.16); -webkit-text-stroke: 2px rgba(13,27,62,.92);
  text-shadow: 0 0 1px rgba(255,255,255,.95), 0 0 2px rgba(255,255,255,.9), 0 0 5px rgba(255,255,255,.55);
}

@media (max-width: 760px) {
  /* A taller-than-wide header on phones, which suits the mostly portrait photos. */
  .reel { height: min(78vh, 130vw); min-height: 400px; }
  /* On phones the title wraps: PPI APPAREL on one line, GROUP below. */
  .reel-title .nowrap { white-space: nowrap; }
  .reel-title { font-size: 9.6vw; -webkit-text-stroke-width: 1.2px; white-space: normal; text-align: center; line-height: .95; padding-inline: 12px; }
  .hero-logo img { max-height: 80px; max-width: min(260px, 70vw); }
  /* Phones have more slides, so the dots are smaller and the logo sits above them. */
  .hero-logo { bottom: 40px; }
  .hero-dot { width: 14px; height: 18px; }
  .hero-dot::before { width: 7px; height: 7px; }
}
/* Home: statement */
.statement .wide { font-size: clamp(2.6rem, 8vw, 8.4rem); }
.statement .ghost { color: #b9bec6; text-align: right; display: block; }
.statement-body { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid rgba(0,0,0,.14); }
.statement-body p { border-left: 3px solid var(--ink); padding-left: 24px; max-width: 46ch; }
/* About PPI text, a size up from the site's standard. */
/* Heading on the left, About PPI text beside it on the right; stacked on smaller screens. */
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.statement .statement-grid .wide { font-size: clamp(2.2rem, 4.4vw, 4.8rem); }
.statement .statement-grid .ghost { text-align: left; }
.statement-grid .statement-body { grid-template-columns: 1fr; gap: 20px; margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 900px) { .statement-grid { grid-template-columns: 1fr; } }
.statement-body .label { font-size: .82rem; }
.statement-body .small-caps { font-size: 1rem; max-width: 62ch; }
.statement-body p:not(.small-caps) { font-size: 1.2rem; line-height: 1.7; }

/* Section head */
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.head .wide { color: var(--accent); }
.light .head .wide { color: var(--ink); }

/* Brand tiles: one dark tile per brand with its transparent logo, name and departments. Rows that are not full stay centred. */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-cell {
  --cols: 7;
  position: relative; flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); aspect-ratio: 1 / 1.05;
  display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line);
  background: #111113; color: var(--white); font: inherit; text-align: left; text-decoration: none; cursor: pointer; overflow: hidden;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.logo-cell::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.logo-cell:hover, .logo-cell:focus-visible { background: #18181b; border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.logo-cell:hover::after, .logo-cell:focus-visible::after { transform: scaleX(1); }
.logo-cell-mark { position: relative; flex: 1; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.logo-cell-mark img { display: block; transition: transform .4s ease; }
.logo-cell-mark .fit-pad { max-width: 74%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.logo-cell-mark .fit-fill, .logo-cell-mark .fit-cover, .drawer-logo .fit-fill, .drawer-logo .fit-cover { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; }
.logo-cell-mark .fit-fill, .drawer-logo .fit-fill { object-fit: contain; }
.logo-cell-mark .fit-cover, .drawer-logo .fit-cover { object-fit: cover; }
.logo-cell:hover .logo-cell-mark img { transform: scale(1.06); }
.logo-cell-meta { display: grid; gap: 4px; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: #111113; }
.logo-cell-name { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.logo-cell-depts { font-size: .68rem; color: var(--mute); letter-spacing: .04em; line-height: 1.3; }
.logo-cell .wordmark { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; text-align: center; }
/* Departments */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.dept { padding: 40px 36px 44px 0; display: grid; gap: 22px; align-content: start; }
.dept + .dept { border-left: 1px solid var(--line); padding-left: 36px; }
.dept p { color: var(--mute); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tags a { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--white); border-bottom: 1px solid transparent; }
.tags a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Channels list */
.list { border-top: 1px solid var(--line); }
.list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding-block: clamp(22px, 2.8vw, 34px); border-bottom: 1px solid var(--line); text-decoration: none; transition: color .25s, padding .25s; }
.list a:hover { color: var(--accent); padding-left: 12px; }
.list .label { color: var(--mute); }
.list .wide { font-size: clamp(1.4rem, 3.4vw, 3rem); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(0,0,0,.14); }
.fact { padding: 32px 24px 8px 0; display: grid; gap: 10px; }
.fact + .fact { border-left: 1px solid rgba(0,0,0,.14); padding-left: 24px; }
.fact strong { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.fact span { color: var(--ink-mute); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* Inner page hero */
.page-hero { padding-block: clamp(80px, 12vw, 170px) clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 28px; }
.page-hero .wide { max-width: 16ch; }
.page-hero p { color: var(--mute); max-width: 60ch; font-size: 1.05rem; }
.jump { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.jump a { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.jump a:hover { color: var(--white); }

/* Partners rows */
.channel { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.channel .wide { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
.channel-copy { display: grid; gap: 16px; }
.channel-copy p { color: var(--mute); }
.channel-copy p:first-child { color: var(--white); font-size: 1.15rem; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--char); border-left: 1px solid var(--line); z-index: 61; transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; overflow-y: auto; }
.drawer-open .scrim { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
body.drawer-open { overflow: hidden; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px; border-bottom: 1px solid var(--line); }
.drawer-top .kicker { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.drawer-close { background: none; border: 0; color: var(--white); font: inherit; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; padding: 8px 0; }
.drawer-logo { position: relative; overflow: hidden; display: grid; place-items: center; flex: none; height: 210px; padding: 40px; background: #ffffff; color: var(--black); border-bottom: 1px solid var(--line); }
.drawer-logo img { max-height: 110px; max-width: 64%; object-fit: contain; }
.drawer-logo .wordmark { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 2.6rem; text-transform: uppercase; }
.drawer-body { padding: 32px; display: grid; gap: 24px; }
.drawer-body h2 { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: .95; margin: 0; }
.drawer-body .synopsis { color: #c9ccd2; }
.gallery { display: grid; gap: 10px; }
/* The frame takes the shape of the photo being shown; swipe sideways to change photo. */
.gallery-stage { position: relative; display: grid; place-items: center; min-height: 220px; background: #0e0e10; overflow: hidden; touch-action: pan-y; }
.gallery-main { display: block; width: auto; height: auto; max-width: 100%; max-height: min(72vh, 640px); user-select: none; -webkit-user-drag: none; }
.gallery-arrow { position: absolute; top: 50%; left: 10px; transform: translateY(-50%); width: 42px; height: 42px; border: 0; background: rgba(10,10,11,.7); color: var(--white); font-size: 1.1rem; cursor: pointer; }
.gallery-arrow--next { left: auto; right: 10px; }
.gallery-arrow:hover { background: var(--accent); color: var(--black); }
.gallery-count { position: absolute; right: 10px; bottom: 10px; background: rgba(10,10,11,.7); color: var(--white); padding: 4px 10px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; background: #f4f4f4; aspect-ratio: 4 / 5; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button[aria-current], .gallery-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }.spec { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.spec-label { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); padding: 6px 12px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.drawer-nav { display: flex; border-top: 1px solid var(--line); margin-top: auto; }
.drawer-nav button { flex: 1; background: none; border: 0; padding: 20px; color: var(--white); font: inherit; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.drawer-nav button + button { border-left: 1px solid var(--line); }
.drawer-nav button:hover { color: var(--accent); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact address { font-style: normal; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; }
.contact-info { display: grid; gap: 32px; }
.contact-info a { color: var(--ink); }

/* Wix form renderer (on the light section) */
#contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-field { display: flex; flex-direction: column; gap: 8px; grid-column: 1 / -1; }
.form-field--text, .form-field--email, .form-field--phone { grid-column: auto; }
.form-label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.form-required { color: var(--ink); margin-left: 3px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(0,0,0,.35); border-radius: 0; }
.form-field select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a0a0b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-bottom: 2px solid var(--ink); }
[aria-invalid="true"] { border-bottom-color: #b3261e !important; }
.form-error, .form-form-error { color: #b3261e; font-size: .85rem; }
.form-error:empty, .form-form-error:empty { display: none; }
.form-help { color: var(--ink-mute); font-size: .85rem; }
.form-actions { margin-top: 36px; }
.form-submit, .form-next, .form-back { padding: 17px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); cursor: pointer; font: inherit; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transition: background .25s, color .25s; }
.form-submit:hover { background: transparent; color: var(--ink); }
.form-back { background: transparent; color: var(--ink); }
.form-submit[disabled] { opacity: .5; cursor: progress; }
.form-success-text p { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; font-size: 1.8rem; line-height: 1.05; }
form[data-state="loading"] { min-height: 360px; background: rgba(0,0,0,.05); }

/* Prose */
.prose { max-width: 70ch; display: grid; gap: 1.1em; color: #c9ccd2; }
.prose h2 { margin: 1.6em 0 .2em; padding-top: 1.4em; border-top: 1px solid var(--line); color: var(--white); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.prose h3 { margin: .9em 0 -.5em; color: var(--white); font-size: 1.05rem; font-weight: 700; letter-spacing: .01em; }

/* Sections fade up as they scroll into view (only when scripts run and motion is allowed). */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Footer */
.footer { background: var(--accent); color: var(--black); }
.footer .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 28px; }
.footer .brandmark span { letter-spacing: .2em; }
.footer .center { text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.footer .links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 20px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.footer .links a { text-decoration: none; }
.footer .links a:hover { text-decoration: underline; }

/* Motion */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Responsive */
@media (max-width: 1100px) {
  .logo-cell { --cols: 4; }
}
@media (max-width: 900px) {
  .statement-body, .channel, .contact { grid-template-columns: 1fr; }
  .depts { grid-template-columns: 1fr; }
  .dept, .dept + .dept { border-left: 0; padding-left: 0; padding-right: 0; }
  .dept + .dept { border-top: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .logo-cell { --cols: 3; }
  .footer .wrap { grid-template-columns: 1fr; text-align: left; }
  .footer .center { text-align: left; }
  .footer .links { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 84px; left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--line); flex-direction: column; gap: 18px; padding: 24px var(--gutter); display: none; }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .brandmark span { display: none; }
  .logo-cell { --cols: 2; }
  .form-fields { grid-template-columns: 1fr; }
  /* Phone tap targets of at least about 44px, and labels no smaller than 12px. */
  .menu-toggle { padding: 12px 11px; }
  .nav a { font-size: .8rem; padding: 14px 0 6px; }
  .footer .links a { display: inline-block; padding: 10px 0; }
  .tags { gap: 2px 18px; }
  .tags a { display: inline-block; padding: 9px 0; }
  .jump a { display: inline-block; padding-block: 10px; }
  .logo-cell-name { font-size: .76rem; }
  .logo-cell-depts { font-size: .76rem; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(0,0,0,.14); }
  /* Page titles with one very long word ("Accessibility") shrink to fit the screen. */
  .page-hero h1.long-word { font-size: 8.4vw; }
}

/* Brand portfolio: licensed brands and PPI brands as two groups */
.brand-group { scroll-margin-top: 130px; }
.brand-group + .brand-group { margin-top: clamp(56px, 7vw, 96px); }
.brand-group-title { font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--accent); margin-bottom: 24px; }
.brand-group .logo-wall { justify-content: flex-start; }

/* Brand page: brand details on the left, the gallery filling the right */
.brand-hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.brand-back, .brand-steps a { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.brand-back:hover, .brand-steps a:hover { text-decoration: underline; }
.brand-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 24px; }
.brand-layout--no-gallery { grid-template-columns: minmax(0, 760px); }
.brand-info { display: grid; gap: 20px; align-content: start; position: sticky; top: 130px; }
.brand-logo { position: relative; overflow: hidden; display: grid; place-items: center; height: clamp(150px, 16vw, 210px); padding: 28px; border: 1px solid var(--line); }
.brand-logo img { max-height: 120px; max-width: 70%; object-fit: contain; }
.brand-logo .fit-fill, .brand-logo .fit-cover { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; }
.brand-logo .fit-fill { object-fit: contain; }
.brand-logo .fit-cover { object-fit: cover; }
.brand-info h1.brand-name { font-size: clamp(1.8rem, 2.6vw, 2.6rem); overflow-wrap: break-word; }
.brand-info .synopsis { color: var(--ink-mute); font-size: 1.1rem; line-height: 1.7; }
.brand-gallery .gallery-stage { min-height: 420px; }
.brand-gallery .gallery-main { max-height: min(80vh, 820px); }
.brand-gallery .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.brand-steps { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .brand-layout { grid-template-columns: minmax(0, 1fr); }
  .brand-info { position: static; }
  .brand-gallery .gallery-stage { min-height: 280px; }
}
/* ===== Rose and sage colour scheme =====
   Cream and soft sage backgrounds, dusty rose accents and dark green-gray text in place of the original black.
   Brand tiles keep each brand's own logo colours. */
:root {
  --rs-page: #E9EFE8;      /* soft sage page background */
  --rs-sage: #E4ECE4;
  --rs-blush: #EADFD8;     /* header slides, gallery */
  --rs-cream: #FBF8F5;     /* light sections and panels */
  --rs-ink: #2F3B3A;       /* dark green-gray text */
  --rs-ink-mute: #5E6B69;
  --rs-rose: #A8646B;      /* dusty rose, dark enough to read as text */
  --rs-rose-soft: #C98B8B;
  --line: rgba(47,59,58,.14);
  --mute: #5E6B69;
  --stone: #FBF8F5;
  --ink: #2F3B3A;
  --ink-mute: #5E6B69;
  --accent: #A8646B;
}
body { color: var(--rs-ink); background: var(--rs-page); }
.btn:hover { background: var(--rs-ink); color: #fff; border-color: var(--rs-ink); }
.btn--accent { color: #fff; }
.btn--accent:hover { background: var(--rs-ink); border-color: var(--rs-ink); }

.header { background: rgba(255,255,255,.94); }
.nav a { border-top-color: rgba(47,59,58,.35); }
.menu-toggle { color: var(--rs-ink); }

.reel { background: var(--rs-blush); }
.hero-slide { background: var(--rs-blush); }
/* A soft shaded band along the bottom keeps the white brand logos and dots readable. */
.hero-slide::after { background: linear-gradient(0deg, rgba(47,59,58,.55) 0%, rgba(47,59,58,0) 30%); }

.statement .ghost, .statement .statement-grid .ghost { color: var(--rs-rose-soft); }
.statement-body p { border-left-color: var(--rs-rose-soft); }

.logo-cell { background: #fff; color: var(--rs-ink); }
.logo-cell:hover, .logo-cell:focus-visible { background: #fff; border-color: var(--rs-rose-soft); }
.logo-cell-meta { background: #fff; }
.tags a { color: var(--rs-ink); }
.jump a:hover { color: var(--rs-ink); }
.channel-copy p:first-child { color: var(--rs-ink); }

.scrim { background: rgba(47,59,58,.45); }
.drawer { background: var(--rs-cream); }
.drawer-close, .drawer-nav button { color: var(--rs-ink); }
.drawer-body .synopsis { color: #45514F; }
.gallery-stage { background: var(--rs-blush); }
.gallery-arrow, .gallery-count { background: rgba(47,59,58,.75); }
.gallery-arrow:hover { color: #fff; }

.prose { color: #45514F; }
.prose h2, .prose h3 { color: var(--rs-ink); }

.footer { background: var(--rs-ink); color: var(--rs-cream); }

@media (max-width: 760px) {
  .nav { background: #fff; }
}