/*
================================================================================
COLLARTIVE — HOMEPAGE PROTOTYPE v1.2 / RESPONSIVE ALIGNMENT UPDATE

IMPORTANT: HTML = words; CSS = looks; JavaScript = interactions.

QUICK START — find any property with Ctrl+F in VS Code.
  :root                Global colours, fonts, page width, header height.
  .cross-grid          Pink grid background in Section 01 and Section 07.
  .cross-grid-yellow   Yellow grid background in Section 03.
  .hero h1             Hero headline size/spacing.
  .pathway-card        Three coloured programme panels.
  .photo-grid          Work gallery image layout.
  @media               Tablet and mobile overrides (near bottom of this file).

EXAMPLE: --blue: #047bac; changes most blue accents site-wide.
         CSS comments are invisible to visitors and are intended only for editors.
================================================================================
*/
/* EDIT GLOBAL DESIGN: Change ONLY the colour values / fonts you want.
   Examples: --sun = main yellow; --pink = header and some cards.
   Keep # before a hex colour (example: #ffb900).
   Note: supplied grid tiles have their OWN baked-in brochure colours. */
:root {
  --pink: #ffe7ee;
  --hot-pink: #fa97ad;
  --sun: #ffb900;
  --blue: #047bac;
  --forest: #071f0c;
  --mint: #e4f4f8;
  --cream: #fffaf4;
  --ink: #06180a;
  --white: #ffffff;
  --muted: #556256;
  --line: rgba(4, 28, 8, .16);
  --display: 'DM Sans', 'Arial Black', 'Helvetica Neue', sans-serif;
  --body: 'Space Grotesk', 'Arial', sans-serif;
  --container: 1328px;
  --header: 86px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { background: var(--hot-pink); color: var(--ink); }
.container-wide { width: min(calc(100% - 112px), var(--container)); margin-inline: auto; }
.section-pad { padding-block: clamp(84px, 9vw, 150px); }
.skip-link { position: fixed; z-index: 10000; top: 0; left: 8px; padding: 12px 18px; background: white; border: 3px solid black; transform: translateY(calc(-100% - 12px)); }
.skip-link:focus { transform: translateY(10px); }
.scroll-meter { position: fixed; top: 0; left: 0; z-index: 900; width: 100%; height: 4px; pointer-events: none; }
.scroll-meter > span { display: block; height: 100%; width: 0%; background: var(--blue); }

/* EDIT HEADER: logo dimensions, navigation spacing, sticky header. */
.site-header { position: sticky; top: 0; z-index: 800; height: var(--header); background: var(--pink); border-bottom: 2px solid var(--ink); }
.nav { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
/* DESKTOP NOTE 1: use only Collartive's graphic logo, without a typed wordmark.
   To make it larger, change .brand img width + height together. */
.brand { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand img { width: 78px; height: 78px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 55px); }
.primary-nav > a { font-size: 14px; font-weight: 700; transition: opacity .2s; }
.primary-nav > a:hover:not(.nav-cta) { opacity: .55; }

/* NAVIGATION FIX v1.4
   The underline is painted by ::after, not a border. The link keeps exactly the
   same width and height when active, hovered or unselected. To change its look,
   edit the background colour, height or bottom position below. */
@media (min-width: 781px) {
  .primary-nav > a:not(.nav-cta) { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
  .primary-nav > a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
    height: 2px; background: var(--ink); pointer-events: none;
    transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
  }
  .primary-nav > a:not(.nav-cta):is(:hover, :focus-visible, [aria-current="page"])::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .primary-nav > a::after { transition: none !important; }
}

.primary-nav .nav-cta { background: var(--forest); color: var(--white); padding: 15px 20px; font-family: var(--display); font-weight: 900; letter-spacing: -.02em; display: flex; align-items: center; gap: 34px; }
.nav-cta span { font-size: 19px; transition: transform .2s ease; }
.nav-cta:hover span { transform: translate(3px, -3px); }
.menu-toggle { display: none; width: 48px; height: 42px; background: transparent; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 100%; height: 3px; background: var(--ink); margin-block: 5px; transition: transform .2s, opacity .2s; }

/* EDIT SHARED TEXT: .huge-heading controls most section titles.
   Changing it affects sections 02 to 07. */
.section-label { display: flex; gap: 13px; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.section-label .label-no { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid currentColor; border-radius: 50%; font-size: 12px; letter-spacing: 0; flex-shrink: 0; }
.section-label.label-light { color: var(--white); }
.huge-heading { font-family: var(--display); font-size: clamp(56px, 8.2vw, 140px); font-weight: 900; line-height: .895; letter-spacing: -.09em; text-transform: uppercase; margin: 0; text-wrap: balance; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 56px; padding: 15px 18px 14px 20px; font-family: var(--display); font-size: 13px; font-weight: 900; letter-spacing: .01em; transition: transform .2s, box-shadow .2s, background .2s; }
.button span { font-size: 21px; line-height: .8; }
.button:hover { transform: translateY(-4px); box-shadow: 4px 4px 0 rgba(0,0,0,.15); }
.button-dark { color: var(--white); background: var(--forest); }
.button-yellow { color: var(--ink); background: var(--sun); }
.button-outline { color: var(--ink); border: 2px solid var(--ink); }
.text-link { font-weight: 800; font-size: 14px; padding-block: 10px; border-bottom: 2px solid var(--ink); }
.text-link span { margin-left: 10px; }
/* EDIT BROCHURE GRID BACKGROUNDS
   You supplied 4.svg (pink) and 5.svg (yellow).
   Exact originals: ../assets/patterns/grid-pink-original.svg and grid-yellow-original.svg.
   The site defaults to a tiny, seamless web tile ADAPTED from those originals;
   this prevents visible edges when a tall A4 design repeats across a wide screen.
   Change "83px 83px" to "100px 100px" for a larger grid.
   For a precise reproduction of the entire supplied A4 image instead, change
   grid-pink-tile.svg to grid-pink-original.svg (and similarly for yellow),
   and use background-size: auto 842px; background-repeat: repeat;
   (you may see seams with the original artboard).
*/
.cross-grid { background-image: url('../assets/patterns/grid-pink-tile.svg'); background-size: 83px 83px; background-repeat: repeat; }
.cross-grid-yellow { background-image: url('../assets/patterns/grid-yellow-tile.svg'); background-size: 83px 83px; background-repeat: repeat; }

/* EDIT SECTION 01: HERO
   .hero h1 = giant title; .hero-intro = paragraph; .hero-layout = 2 columns.
   .hero-photo-main/.hero-photo-small = photo sizes, crops and positions.
   Change text in index.html, not in CSS. */
.hero { position: relative; min-height: 790px; background-color: var(--pink); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(400px,.95fr); min-height: 750px; }
.hero-left { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 85px 0 120px; z-index: 2; }
.eyebrow { font-size: 12px; letter-spacing: .105em; font-weight: 800; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 11px; background: #fffcf8; }
.eyebrow-dot { display: inline-block; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
.hero h1 { position: relative; font-family: var(--display); font-size: clamp(70px, 8.8vw, 150px); font-weight: 900; line-height: .875; letter-spacing: -.105em; margin: 34px 0 25px; white-space: nowrap; }
.hero-highlight { color: var(--blue); }
.hero-period { color: var(--hot-pink); }
.hero-intro { max-width: 490px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; line-height: 1.47; margin: 4px 0 32px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-index { position: absolute; bottom: 40px; left: 0; display: flex; gap: 42px; align-items: center; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.hero-index span:last-child { font-size: 22px; }
.hero-right { min-height: 750px; position: relative; }
.hero-right::before { content: ''; position: absolute; width: 70%; height: 81%; right: -7%; top: 7%; background: var(--sun); border-radius: 185px 185px 28px 28px; }
.hero-photo { overflow: hidden; position: absolute; background: #efb3b4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { width: min(73%,430px); height: 480px; right: 13%; top: 95px; border-radius: 170px 170px 0 0; transform: rotate(3deg); box-shadow: -12px 15px 0 var(--blue); }
.hero-photo-main img { object-position: center 40%; }
.hero-photo-small { width: 49%; height: 205px; left: -1%; bottom: 88px; border: 10px solid var(--pink); border-radius: 140px 140px 0 0; transform: rotate(-7deg); z-index: 2; }
.hero-photo-small img { object-position: 38% 50%; }
.photo-sticker { position: absolute; z-index: 3; width: 115px; height: 115px; right: -15px; bottom: 37px; display: flex; flex-direction: column; justify-content: center; padding: 14px; font-family: var(--display); font-size: 19px; font-weight: 900; line-height: .95; letter-spacing: -.07em; transform: rotate(9deg); }
.photo-sticker span { position: absolute; right: 11px; top: 9px; font-size: 22px; }
.sticker-peach { background: var(--hot-pink); }
.vertical-label { position: absolute; right: 0; top: 18%; writing-mode: vertical-rl; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.round-stamp { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; position: absolute; z-index: 4; width: 124px; height: 124px; right: -9%; bottom: 80px; border: 3px solid var(--ink); background: var(--sun); border-radius: 50%; transform: rotate(13deg); text-align: center; }
.round-stamp span { font: 900 16px/.97 var(--display); letter-spacing: -.06em; }
.round-stamp b { font-size: 20px; line-height: .7; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 12px max(56px, calc((100vw - var(--container))/2)); border-top: 1px solid var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .14em; background: rgba(255, 231, 238, .89); }

/* EDIT RIBBON: .brand-ribbon-inner animates the moving CREATE/TRAIN/ENABLE strip.
   To pause animation permanently, add: animation: none; to this rule. */
.brand-ribbon { overflow: hidden; background: var(--blue); color: white; height: clamp(75px, 9vw, 125px); display: flex; align-items: center; border-block: 2px solid var(--ink); }
.brand-ribbon-inner { display: flex; white-space: nowrap; animation: ribbon 32s linear infinite; }
.brand-ribbon-inner > span { display: flex; align-items: center; gap: 24px; font-family: var(--display); font-weight: 900; font-size: clamp(54px, 6.5vw, 95px); letter-spacing: -.085em; line-height: 1; padding-right: 24px; }
.ribbon-star { color: var(--sun); font-family: var(--body); font-size: .75em; line-height: .6; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* EDIT SECTION 02: WHY WE EXIST — deep green statement section. */
.why-section { background: var(--forest); color: var(--white); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 140px minmax(0, 1fr) 175px; align-items: start; gap: 25px; }
.why-grid > .section-label { align-items: flex-start; flex-direction: column; gap: 15px; line-height: 1.5; }
.why-copy { padding-top: 15px; }
.why-copy .huge-heading { font-size: clamp(63px, 7.3vw, 113px); }
.why-copy em { font-style: normal; color: var(--sun); }
.yellow-dot { color: var(--sun); }
.why-bottom { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.45); }
.why-bottom p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; margin: 0; color: #e7ebde; }
.why-side { display: flex; flex-direction: column; align-items: flex-end; align-self: stretch; text-align: right; padding-top: 36px; }
.why-side .asterisk { font-size: 125px; color: var(--hot-pink); font-family: var(--body); line-height: 1; animation: rotateStar 30s linear infinite; }
@keyframes rotateStar { to { transform: rotate(360deg); } }
.why-side p { margin-top: 65px; font-family: var(--display); font-size: 14px; line-height: 1.15; font-weight: 900; }
.vertical-caption { margin-top: auto; font-size: 9px; letter-spacing: .14em; writing-mode: vertical-rl; }

/* EDIT SECTION 03: THREE ENTRY POINTS — card dimensions / shadows / colours. */
.pathways-section { background-color: var(--sun); }
.pathways-head { display: grid; grid-template-columns: 1fr 235px; align-items: end; margin: 33px 0 65px; gap: 25px; }
.pathways-head .huge-heading { font-size: clamp(65px, 8.65vw, 138px); }
.outlined-text { color: var(--sun); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--ink); }
.pathways-head-aside { padding-bottom: 15px; }
.handdrawn-arrow { font-family: var(--body); font-size: 85px; display: block; line-height: 1; transform: rotate(-15deg); }
.pathways-head-aside p { font-weight: 700; font-size: 19px; line-height: 1.25; }
.pathway-list { display: grid; gap: 22px; }
.pathway-card { background: var(--mint); overflow: hidden; box-shadow: 9px 9px 0 var(--forest); border: 2px solid var(--forest); border-radius: 0 0 34px 34px; }
.pathway-card:nth-child(2) { margin-left: 5.5%; }
.pathway-card:nth-child(3) { margin-left: 11%; }
.pathway-top { display: flex; align-items: center; gap: 16px; min-height: 66px; background: var(--blue); color: white; padding: 8px 23px; font-family: var(--display); font-size: 14px; font-weight: 900; letter-spacing: .04em; }
.number-bubble { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--hot-pink); color: white; border-radius: 50%; font-size: 14px; flex-shrink: 0; }
.pathway-icon { margin-left: auto; font-size: 27px; }
.pathway-main { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: center; gap: 50px; padding: 30px 35px 33px; }
.pathway-main h3 { margin: 0; font: 900 clamp(35px, 4vw, 63px)/.92 var(--display); letter-spacing: -.076em; }
.pathway-tag { display: inline-block; margin-top: 17px; padding: 7px 10px; background: var(--pink); font-weight: 900; font-size: 11px; letter-spacing: .06em; }
.pathway-main p { font-size: clamp(16px, 1.45vw, 20px); line-height: 1.36; font-weight: 500; margin: 0; max-width: 540px; }
.pathway-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--forest); color: white; padding: 17px 35px 18px; font-size: 12px; font-weight: 900; letter-spacing: .035em; }
.pathway-foot a { border-bottom: 1px solid var(--sun); padding-bottom: 3px; }
.pathway-foot a span { margin-left: 10px; font-size: 15px; }
.pathway-foot a:hover { color: var(--sun); }
.small-note { margin: 45px 0 0; text-align: right; font-size: 14px; font-weight: 700; }

/* EDIT SECTION 04: HOW IT WORKS — four-step grid.
   DESKTOP NOTE 2: Keep card headings/descriptions aligned when resizing.
   Each card has the SAME four internal rows: number, icon, heading, description.
   Changing any row size affects all four cards. At narrower widths the layout
   shifts to 2 columns to keep the text readable. */
.how-section { background: var(--cream); }
.how-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin: 45px 0 80px; }
.how-head .huge-heading { font-size: clamp(58px, 7.1vw, 108px); }
.how-head .huge-heading span { color: var(--blue); }
.how-head > p { max-width: 360px; font-size: 19px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); }
.step {
  position: relative; min-width: 0; min-height: 345px; padding: 22px 23px 28px;
  display: grid; grid-template-rows: 44px minmax(85px, 1fr) minmax(40px, auto) minmax(82px, auto);
  align-items: start; row-gap: 10px;
}
.step:not(:last-child) { border-right: 2px solid var(--ink); }
.step:nth-child(1) { background: var(--pink); }
.step:nth-child(2) { background: var(--sun); }
.step:nth-child(3) { background: var(--mint); }
.step:nth-child(4) { background: #dce7bf; }
.step-no { display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; width: 44px; height: 44px; font-size: 12px; font-weight: 900; }
.step-symbol { font-size: 70px; font-weight: 700; line-height: 1; margin: 0; align-self: center; }
.step h3 { margin: 0; align-self: end; font: 900 clamp(23px, 2.4vw, 34px)/1 var(--display); letter-spacing: -.065em; }
.step p { margin: 0; align-self: start; font-size: 15px; line-height: 1.35; font-weight: 500; }
.how-note { display: flex; align-items: center; gap: 23px; margin: 30px 0 0 auto; max-width: 720px; }
.note-star { font-size: 64px; color: var(--blue); line-height: 1; }
.how-note p { font-size: 17px; line-height: 1.4; margin: 0; }

/* 05 Photos */
.work-section { background: var(--pink); }
.work-header { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin: 40px 0 65px; }
.work-header .huge-heading { font-size: clamp(75px, 9vw, 140px); }
.pink-underline { background: linear-gradient(transparent 74%,var(--hot-pink) 74%); }
.work-header > p { max-width: 345px; font-size: 18px; line-height: 1.43; margin: 0 0 10px; font-weight: 600; }
.photo-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-template-rows: 290px 240px; gap: 14px; }
.photo-tile { position: relative; margin: 0; overflow: hidden; background: #ddd; }
.photo-tile::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile figcaption { position: absolute; z-index: 1; bottom: 20px; left: 20px; right: 12px; color: white; display: flex; flex-direction: column; gap: 8px; }
.photo-tile figcaption span { font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.photo-tile figcaption b { font: 900 24px/1 var(--display); letter-spacing: -.05em; }
.photo-tile-1 { grid-row: span 2; }
.photo-tile-1 img { object-position: center; }
.photo-tile-2 { grid-column: span 2; }
.photo-tile-3 { grid-column: 2; }
.photo-tile-4 { grid-column: 3; }
.work-disclaimer { font-size: 12px; line-height: 1.4; margin: 20px 0 0; color: #435448; }

/* EDIT SECTION 06: WAYS TO WORK WITH US — large cards.
   DESKTOP NOTE 3: Text has its OWN grid rows; card height grows if a title wraps.
   This prevents headings/paragraphs overlapping at intermediate window widths.
   The entire section becomes one wide column at <= 990px. */
.collab-section { background: var(--forest); color: white; }
.collab-layout { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: 60px; align-items: start; }
.collab-intro .huge-heading { font-size: clamp(62px, 7vw, 105px); margin-top: 65px; }
.collab-intro .huge-heading span { color: var(--sun); }
.collab-intro p { font-size: 20px; line-height: 1.4; max-width: 375px; margin: 34px 0; }
.collab-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(290px, auto); border: 1px solid var(--forest);
  align-self: stretch; min-width: 0; margin-top: 25px;
}
.collab-tile {
  min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  row-gap: 12px; padding: 22px 23px; background: var(--pink);
  color: var(--ink); border: 1px solid var(--forest); transition: background .2s;
}
.collab-tile:hover { background: #ffd0da; }
.collab-tile:nth-child(2) { background: var(--sun); }
.collab-tile:nth-child(2):hover { background: #f5c83b; }
.collab-tile:nth-child(3) { background: var(--mint); }
.collab-tile:nth-child(3):hover { background: #d2eaf1; }
.collab-tile > span { display: flex; justify-content: flex-end; font-weight: 800; }
.collab-tile h3 { font: 900 clamp(22px, 2.1vw, 34px)/1 var(--display); letter-spacing: -.055em; margin: 0; align-self: end; overflow-wrap: break-word; }
.collab-tile p { font-size: 15px; font-weight: 500; line-height: 1.35; margin: 0; align-self: start; }

/* EDIT SECTION 07: CONTACT — final CTA area. */
.contact-section { background-color: var(--pink); padding-block: 115px 135px; }
.contact-content .huge-heading { font-size: clamp(67px, 8.6vw, 145px); margin-top: 40px; }
.contact-content .huge-heading > span { color: var(--blue); }
.contact-bottom { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-top: 48px; margin-top: 52px; border-top: 2px solid var(--ink); }
.contact-bottom > p { max-width: 500px; margin: 0; font-size: 22px; line-height: 1.37; font-weight: 600; }
.contact-buttons { display: flex; align-items: center; gap: 13px; }

/* EDIT FOOTER: dark green area at very bottom.
   DESKTOP NOTE 4: Use the actual Collartive graphic in place of typed text.
   Adjust .footer-logo width to resize it; aspect ratio stays correct. */
.site-footer { background: var(--forest); color: white; padding: 55px 0 25px; }
.footer-top { display: flex; gap: 30px; align-items: end; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 55px; }
.footer-logo-link { flex-shrink: 0; display: inline-flex; align-items: center; }
.footer-logo { width: clamp(110px, 12vw, 175px); height: auto; object-fit: contain; }
.footer-top > span { max-width: 285px; text-align: right; font-size: 13px; line-height: 1.4; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 24px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }

/* Respect visitors who prefer less motion. */
.enhanced [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.enhanced [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* TABLET / MOBILE RULES
   These change layout at narrower screen widths.
   If a desktop style seems to be ignored on your phone, search here for the
   same CSS selector (e.g. .hero h1) and update its mobile override too.
   1280px = smaller desktop; 1050px = tablet; 780px = mobile menu; 520px = small phone.
*/
@media (max-width: 1280px) {
  .container-wide { width: min(calc(100% - 88px),var(--container)); }
  .hero-layout { grid-template-columns: 1fr .92fr; }
  .hero h1 { font-size: clamp(70px, 8.5vw, 119px); }
  .hero-photo-main { right: 10%; }
  .round-stamp { right: -5%; }
  .why-grid { grid-template-columns: 120px minmax(0,1fr) 115px; }
  .why-side .asterisk { font-size: 92px; }
  .collab-layout { gap: 35px; }
}
@media (max-width: 1050px) {
  .container-wide { width: min(calc(100% - 64px),var(--container)); }
  .site-header, .nav { --header: 78px; }
  .brand img { width: 65px; height: 65px; }
  .primary-nav { gap: 17px; }
  .primary-nav > a { font-size: 13px; }
  .primary-nav .nav-cta { gap: 15px; padding: 12px; }
  .hero-layout { min-height: 680px; }
  .hero-left { padding-bottom: 100px; }
  .hero-right { min-height: 680px; }
  .hero h1 { font-size: clamp(62px, 8vw, 91px); }
  .hero-photo-main { height: 435px; }
  .hero-photo-small { bottom: 60px; }
  .hero-bottom { padding-inline: 32px; }
  .why-grid { grid-template-columns: minmax(0,1fr) 90px; }
  .why-grid > .section-label { grid-column: 1 / -1; flex-direction: row; }
  .why-copy { grid-column: 1; padding-top: 20px; }
  .why-side { grid-column: 2; }
  .pathway-main { gap: 20px; }
  .step { padding-inline: 16px; }
  .step h3 { font-size: 25px; }
  .collab-tile { padding: 17px; }
  .collab-tile h3 { font-size: 24px; }
}
/* At laptop/small-window widths, preserve reading space in each card.
   This is intentionally before the mobile breakpoint: resizing the browser
   should reorganise the grid, not squash its text. */
@media (max-width: 990px) {
  .steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .collab-layout { grid-template-columns: minmax(0, 1fr); }
  .collab-intro .huge-heading { margin-top: 35px; }
  .collab-cards { margin-top: 0; grid-auto-rows: minmax(245px,auto); }
}

@media (max-width: 780px) {
  .container-wide { width: min(calc(100% - 40px),var(--container)); }
  .site-header, .nav { --header: 72px; }
  .brand img { width: 55px; height: 55px; }
  .menu-toggle { display: block; z-index: 3; position: relative; }
  .menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .primary-nav { position: fixed; z-index: 2; left: 0; right: 0; top: var(--header); height: calc(100dvh - var(--header)); overflow-y: auto; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 25px 20px 35px; background: var(--pink); border-top: 2px solid var(--ink); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .primary-nav > a:not(.nav-cta) { font: 900 35px/1.1 var(--display); letter-spacing: -.06em; padding: 21px 0; border-bottom: 1px solid var(--ink); }
  .primary-nav .nav-cta { justify-content: space-between; margin-top: 25px; padding: 20px; }
  .hero { min-height: 0; }
  .hero-layout { display: flex; flex-direction: column; min-height: 0; }
  .hero-left { min-height: 530px; padding: 65px 0 55px; }
  .hero h1 { font-size: clamp(69px, 11vw, 105px); }
  .hero-intro { font-size: 18px; }
  .hero-index { display: none; }
  .hero-right { height: 510px; min-height: 0; margin-bottom: 45px; }
  .hero-right::before { width: 67%; height: 92%; right: 4%; top: 0; }
  .hero-photo-main { width: 56%; height: 390px; right: 16%; top: 33px; }
  .hero-photo-small { width: 42%; height: 170px; left: 8%; bottom: 0; }
  .vertical-label { right: 3%; }
  .round-stamp { right: 2%; bottom: 5px; }
  .hero-bottom { padding-inline: 20px; font-size: 9px; }
  .section-pad { padding-block: 80px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid > .section-label, .why-copy, .why-side { grid-column: auto; }
  .why-side { flex-direction: row; align-items: end; justify-content: space-between; gap: 15px; text-align: left; padding-top: 0; }
  .why-side .asterisk { font-size: 65px; }
  .why-side p { margin: 0; }
  .vertical-caption { display: none; }
  .why-copy .huge-heading { font-size: clamp(60px, 10.5vw, 95px); }
  .pathways-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 50px; }
  .pathways-head-aside { display: none; }
  .pathway-card:nth-child(n) { margin-left: 0; }
  .pathway-main { grid-template-columns: 1fr; padding: 26px; gap: 20px; }
  .pathway-main h3 { font-size: 48px; }
  .how-head { display: block; }
  .how-head > p { max-width: 100%; margin-top: 25px; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .step { min-height: 300px; padding: 20px; grid-template-rows: 44px minmax(65px, 1fr) minmax(32px, auto) minmax(65px, auto); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .work-header { display: block; }
  .work-header > p { margin-top: 25px; max-width: 600px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 325px 225px 225px; }
  .photo-tile-1 { grid-column: 1; grid-row: span 2; }
  .photo-tile-2 { grid-column: 2; grid-row: 1; }
  .photo-tile-3 { grid-column: 2; grid-row: 2; }
  .photo-tile-4 { grid-column: 1 / -1; grid-row: 3; }
  .collab-layout { grid-template-columns: 1fr; }
  .collab-intro .huge-heading { margin-top: 35px; }
  .collab-cards { margin-top: 0; }
  .collab-cards { grid-auto-rows: minmax(245px, auto); }
  .contact-bottom { display: block; }
  .contact-buttons { margin-top: 28px; }
}
@media (max-width: 520px) {
  html { scroll-padding-top: 75px; }
  .container-wide { width: calc(100% - 36px); }
  /* Navigation logo stays on its own on mobile. */
  .hero-left { min-height: 0; padding: 54px 0 42px; }
  .hero h1 { font-size: clamp(61px, 15vw, 83px); margin: 26px 0 22px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .06em; }
  .hero-intro { font-size: 16px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-right { height: 390px; margin-bottom: 50px; }
  .hero-right::before { width: 77%; height: 93%; right: 0; }
  .hero-photo-main { width: 71%; right: 14%; height: 320px; top: 15px; }
  .hero-photo-small { width: 50%; left: 0; height: 137px; bottom: 0; border-width: 6px; }
  .round-stamp { width: 85px; height: 85px; right: 1%; bottom: 8px; }
  .round-stamp span { font-size: 11px; }
  .round-stamp b { font-size: 16px; }
  .photo-sticker { width: 80px; height: 80px; right: -5px; bottom: 30px; font-size: 13px; padding: 9px; }
  .photo-sticker span { font-size: 15px; }
  .vertical-label { display: none; }
  .hero-bottom span:nth-child(2) { display: none; }
  .huge-heading { font-size: clamp(52px, 13vw, 72px); }
  .section-pad { padding-block: 70px; }
  .brand-ribbon { height: 66px; }
  .brand-ribbon-inner > span { font-size: 54px; }
  .why-copy .huge-heading { font-size: clamp(54px, 12.5vw, 76px); }
  .why-bottom { grid-template-columns: 1fr; margin-top: 35px; gap: 14px; }
  .pathways-head .huge-heading { font-size: clamp(55px, 13.8vw, 76px); }
  .pathway-top { min-height: 58px; padding-inline: 14px; font-size: 11px; gap: 10px; }
  .number-bubble { width: 39px; height: 39px; }
  .pathway-main { padding: 21px; }
  .pathway-main h3 { font-size: clamp(38px, 10vw, 53px); }
  .pathway-main p { font-size: 16px; }
  .pathway-foot { padding: 13px 20px; display: block; line-height: 1.5; }
  .pathway-foot a { display: inline-block; margin-top: 9px; }
  .small-note { text-align: left; font-size: 13px; }
  .how-head .huge-heading { font-size: clamp(54px, 12vw, 70px); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step { min-height: 275px; padding: 14px; row-gap: 8px; grid-template-rows: 44px minmax(55px, 1fr) minmax(30px, auto) minmax(75px, auto); }
  .step-symbol { font-size: 52px; }
  .step h3 { font-size: 22px; }
  .step p { font-size: 13px; }
  .how-note .note-star { font-size: 35px; }
  .how-note p { font-size: 14px; }
  .work-header .huge-heading { font-size: clamp(74px, 15.5vw, 98px); }
  .photo-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 250px 225px 225px; gap: 8px; }
  .photo-tile figcaption { bottom: 12px; left: 12px; right: 8px; }
  .photo-tile figcaption span { font-size: 9px; }
  .photo-tile figcaption b { font-size: 17px; }
  .collab-intro .huge-heading { font-size: clamp(56px, 13vw, 80px); }
  .collab-cards { display: grid; grid-template-columns: 1fr 1fr; }
  .collab-cards { grid-auto-rows: minmax(235px, auto); }
  .collab-tile { padding: 12px; }
  .collab-tile h3 { font-size: clamp(20px, 5vw, 26px); }
  .collab-tile p { font-size: 12px; }
  .contact-section { padding-block: 75px 85px; }
  .contact-content .huge-heading { font-size: clamp(56px, 12vw, 75px); }
  .contact-bottom { margin-top: 35px; padding-top: 25px; }
  .contact-bottom > p { font-size: 18px; }
  .contact-buttons { display: flex; align-items: stretch; flex-direction: column; }
  .footer-top { display: block; padding-bottom: 28px; }
  .footer-top > span { display: block; text-align: left; margin-top: 20px; }
  .footer-bottom { flex-wrap: wrap; line-height: 1.7; }
}
/* Extra-small phones (e.g. 320px): one column prevents cramped wording. */
@media (max-width: 370px) {
  .steps-grid, .collab-cards { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 255px; }
  .step:not(:last-child) { border-right: 0; border-bottom: 2px solid var(--ink); }
  .collab-cards { grid-auto-rows: minmax(200px, auto); }
  .collab-intro .huge-heading { font-size: clamp(43px, 13vw, 51px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .enhanced [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* VERSION 1.5: Homepage collaboration cards link to detailed proposals. */
.collab-tile { text-decoration: none; }
.collab-tile:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
