/* Twenty heroes, one line: A CULTURE YOU BELONG TO (20 Sep 2026).
   Everything is hidden by default; each .hx--N shows only the parts it uses. */

.hx { position: relative; background: var(--bg); color: var(--ink); overflow: hidden;
  min-height: max(560px, var(--h)); display: grid; align-items: center; }
.hx img { display: block; }
.hx-bg, .hx-grid, .hx-sun, .hx-letters, .hx-marquee, .hx-cut, .hx-card, .hx-cols, .hx-collage, .hx-row, .hx-play { display: none; }

.hx-copy { position: relative; z-index: 4; display: grid; justify-items: start; gap: 18px;
  padding: clamp(40px, 6vw, 90px) clamp(20px, 6vw, 90px); max-width: 60ch; }
.hx-eyebrow { font: 600 11px var(--mono); letter-spacing: .34em; text-transform: uppercase; opacity: .8; }
.hx-head { margin: 0; font: 400 clamp(38px, 6.4vw, 108px)/.94 'Anton', var(--display); letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; }
.hx-head span { display: inline-block; }
.hx-sub { margin: 0; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; opacity: .88; max-width: 44ch; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-btn { display: inline-block; background: var(--ac); color: #fff; text-decoration: none; border-radius: 999px;
  padding: 14px 28px; font: 700 12px var(--body); letter-spacing: .16em; text-transform: uppercase; }
.hx-btn.ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px currentColor; }
.hx-btn:hover { filter: brightness(1.08); }
.hx-note { position: absolute; z-index: 5; right: 18px; bottom: 16px; font: 600 10px var(--mono); letter-spacing: .24em; text-transform: uppercase; opacity: .6; }

/* shared pieces, switched on per style */
.hx-bg { position: absolute; inset: 0; z-index: 0; }
.hx-bg picture, .hx-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hx-cut { position: absolute; z-index: 2; right: 4%; bottom: 0; height: 92%; align-items: end; }
.hx-cut img { height: 100%; width: auto; max-width: 46vw; object-fit: contain; }
.hx-card { position: absolute; z-index: 2; right: 5%; top: 50%; transform: translateY(-50%); width: min(38vw, 440px);
  border-radius: 16px; overflow: hidden; box-shadow: 0 34px 70px -30px rgba(0,18,25,.7); }
.hx-card img { width: 100%; height: min(62vh, 520px); object-fit: cover; object-position: 50% 0%; }

/* 01 Split ------------------------------------------------------------- */
.hx--1 { grid-template-columns: 1.1fr .9fr; }
.hx--1 .hx-head { font-size: clamp(34px, 4.6vw, 80px); }
.hx--1 .hx-cut { display: grid !important; position: relative; right: auto; height: min(78vh, 640px); justify-items: center; }
.hx--1 .hx-cut img { max-width: 100%; }

/* 02 Centre stage ------------------------------------------------------ */
.hx--2 { justify-items: center; text-align: center; }
.hx--2 .hx-copy { justify-items: center; text-align: center; max-width: 22ch; padding-bottom: 0; }
.hx--2 .hx-head { font-size: clamp(50px, 9vw, 160px); }
.hx--2 .hx-cut { display: grid !important; z-index: 1; right: auto; left: 50%; transform: translateX(-50%); height: 74%; }
.hx--2 .hx-copy { z-index: 3; }

/* 03 Inside the letters ------------------------------------------------ */
.hx--3 .hx-copy .hx-head { visibility: hidden; }
.hx--3 .hx-letters { display: grid; position: absolute; inset: 0; z-index: 2; place-items: center; padding: 6% 5vw 20%;
  font: 400 clamp(46px, 9.4vw, 150px)/.92 'Anton', var(--display); max-width: 15ch; margin: 0 auto; text-transform: uppercase; text-align: center;
  color: transparent; background-image: var(--img); background-size: cover; background-position: 50% 20%;
  -webkit-background-clip: text; background-clip: text; }
.hx--3 .hx-copy { z-index: 3; justify-items: center; text-align: center; align-self: end; }

/* 04 Marquee ----------------------------------------------------------- */
.hx--4 .hx-bg { display: block; opacity: .5; }
.hx--4 .hx-marquee { display: block; position: absolute; z-index: 2; left: 0; right: 0; top: 18%; overflow: hidden; white-space: nowrap; }
.hx--4 .hx-marquee span { display: inline-block; padding-left: 100%; animation: hxRun 26s linear infinite;
  font: 400 clamp(46px, 8vw, 120px)/1 'Anton', var(--display); text-transform: uppercase; color: var(--ac); }
.hx--4 .hx-marquee i { font-style: normal; color: var(--ink); }
.hx--4 .hx-copy .hx-head { display: none; }
.hx--4 .hx-copy { align-self: end; }
@keyframes hxRun { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .hx--4 .hx-marquee span { animation: none; padding-left: 0; } }

/* 05 Stacked ----------------------------------------------------------- */
.hx--5 { grid-template-columns: 1.2fr .8fr; }
.hx--5 .hx-head span { display: block; border-top: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); padding-top: 6px; }
.hx--5 .hx-card { display: block; position: relative; right: auto; top: auto; transform: none; width: min(34vw, 380px); justify-self: center; }

/* 06 Four up ----------------------------------------------------------- */
.hx--6 .hx-grid { display: grid; position: absolute; inset: 0; z-index: 0; grid-template-columns: repeat(4, 1fr); }
.hx--6 .hx-cell { overflow: hidden; }
.hx--6 .hx-cell picture, .hx--6 .hx-cell img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hx--6::after { content: ''; position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--bg) 62%, transparent); }
.hx--6 .hx-copy { justify-items: center; text-align: center; margin: 0 auto; }

/* 07 Diagonal ---------------------------------------------------------- */
.hx--7 .hx-bg { display: block; opacity: .75; }
.hx--7 .hx-copy { z-index: 4; }
.hx--7 .hx-head { background: var(--ac); color: #fff; padding: .12em .3em; transform: rotate(-3deg); box-shadow: 0 20px 50px -20px rgba(0,18,25,.6); }

/* 08 Outline ----------------------------------------------------------- */
.hx--8 .hx-bg { display: block; }
.hx--8::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(0,18,25,.38); }
.hx--8 .hx-copy { justify-items: center; text-align: center; margin: 0 auto; }
.hx--8 .hx-head { color: transparent; -webkit-text-stroke: 2px var(--ink); font-size: clamp(46px, 8.4vw, 150px); }
.hx--8 .hx-sub, .hx--8 .hx-eyebrow { text-shadow: 0 2px 18px rgba(0,18,25,.6); }

/* 09 Red sun ----------------------------------------------------------- */
.hx--9 { justify-items: center; }
.hx--9 .hx-sun { display: block; position: absolute; z-index: 0; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(62vh, 620px); aspect-ratio: 1; border-radius: 50%; background: var(--ac); }
.hx--9 .hx-cut { display: grid !important; z-index: 2; left: 50%; right: auto; transform: translateX(-50%); height: 76%; }
.hx--9 .hx-copy { z-index: 3; justify-items: center; text-align: center; align-self: end; }

/* 10 Columns ----------------------------------------------------------- */
.hx--10 .hx-cols { display: grid; position: absolute; inset: 0; z-index: 0; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; }
.hx--10 .hx-col { overflow: hidden; border-radius: 12px; }
.hx--10 .hx-col picture, .hx--10 .hx-col img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hx--10 .hx-copy { z-index: 3; justify-items: center; text-align: center; margin: 0 auto;
  background: color-mix(in srgb, var(--bg) 82%, transparent); border-radius: 18px; }

/* 11 Pull quote -------------------------------------------------------- */
.hx--11 { grid-template-columns: 1.15fr .85fr; }
.hx--11 .hx-copy { border-left: 4px solid var(--ac); margin-left: clamp(20px, 6vw, 90px); padding-left: clamp(18px, 3vw, 40px); }
.hx--11 .hx-card { display: block; }

/* 12 Overlap ----------------------------------------------------------- */
.hx--12 { grid-template-columns: 1fr 1fr; }
.hx--12 .hx-card { display: block; position: relative; right: auto; top: auto; transform: none; width: 100%; border-radius: 0; }
.hx--12 .hx-copy { z-index: 5; grid-column: 1 / -1; grid-row: 1; align-self: center; }
.hx--12 .hx-card { grid-column: 2; grid-row: 1; }
.hx--12 .hx-head { mix-blend-mode: difference; }

/* 13 Quiet ------------------------------------------------------------- */
.hx--13 { justify-items: center; align-content: center; gap: 0; }
.hx--13 .hx-copy { justify-items: center; text-align: center; max-width: 36ch; }
.hx--13 .hx-head { font-size: clamp(30px, 3.6vw, 58px); }
.hx--13 .hx-cut { display: grid !important; position: relative; right: auto; bottom: auto; height: min(46vh, 380px); justify-items: center; }

/* 14 Duotone ----------------------------------------------------------- */
.hx--14 .hx-bg { display: block; background: var(--ac); }
.hx--14 .hx-bg img { mix-blend-mode: luminosity; opacity: .6; }
.hx--14::after { content: ''; position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--bg) 30%, transparent); }
.hx--14 .hx-copy { justify-items: center; text-align: center; margin: 0 auto; }
.hx--14 .hx-head { color: var(--bg); }

/* 15 Two colours ------------------------------------------------------- */
.hx--15::before { content: ''; position: absolute; inset: 0 50% 0 0; background: var(--ac); }
.hx--15 .hx-copy { z-index: 4; justify-items: center; text-align: center; margin: 0 auto; align-self: start; padding-top: clamp(50px, 8vh, 110px); }
.hx--15 .hx-cut { display: grid !important; z-index: 3; left: 50%; right: auto; transform: translateX(-50%); height: 78%; }
.hx--15 .hx-head { mix-blend-mode: exclusion; color: #fff; }

/* 16 Shop row ---------------------------------------------------------- */
.hx--16 { align-content: center; gap: clamp(20px, 3vw, 40px); }
.hx--16 .hx-row { display: flex; gap: 12px; overflow-x: auto; padding: 0 clamp(20px, 6vw, 90px) 10px; scrollbar-width: none; }
.hx--16 .hx-row::-webkit-scrollbar { display: none; }
.hx--16 .hx-tile { flex: 0 0 min(30vw, 240px); text-decoration: none; color: inherit; }
.hx--16 .hx-tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 0%; border-radius: 12px; }
.hx--16 .hx-tile span { display: block; margin-top: 8px; font: 600 11px var(--mono); letter-spacing: .1em; opacity: .8; }

/* 17 Framed ------------------------------------------------------------ */
.hx--17 .hx-bg { display: block; opacity: .55; }
.hx--17::after { content: ''; position: absolute; inset: clamp(14px, 2.4vw, 34px); z-index: 2; border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent); pointer-events: none; }
.hx--17 .hx-copy { z-index: 3; justify-items: center; text-align: center; margin: 0 auto; }

/* 18 Collage ----------------------------------------------------------- */
.hx--18 .hx-collage { display: block; position: absolute; inset: 0; z-index: 0; }
.hx--18 .hx-cg { position: absolute; margin: 0; width: min(28vw, 320px); border-radius: 10px; overflow: hidden; box-shadow: 0 26px 60px -30px rgba(0,18,25,.7); }
.hx--18 .hx-cg img { width: 100%; height: min(42vh, 380px); object-fit: cover; object-position: 50% 0%; }
.hx--18 .c1 { left: 3%; top: 12%; transform: rotate(-6deg); }
.hx--18 .c2 { right: 4%; top: 8%; transform: rotate(5deg); }
.hx--18 .c3 { right: 16%; bottom: 6%; transform: rotate(-3deg); }
.hx--18 .hx-copy { z-index: 3; justify-items: center; text-align: center; margin: 0 auto;
  background: color-mix(in srgb, var(--bg) 80%, transparent); border-radius: 16px; }

/* 19 Editorial --------------------------------------------------------- */
.hx--19 { align-content: center; gap: 0; }
.hx--19 .hx-copy { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; align-items: end; }
.hx--19 .hx-head { grid-column: 1 / -1; font-size: clamp(36px, 5.2vw, 92px); }
.hx--19 .hx-eyebrow { grid-column: 1 / -1; }
.hx--19 .hx-row { display: flex; gap: 10px; padding: 0 clamp(20px, 6vw, 90px) clamp(20px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; }
.hx--19 .hx-tile { flex: 0 0 min(22vw, 170px); text-decoration: none; color: inherit; }
.hx--19 .hx-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 0%; border-radius: 10px; }
.hx--19 .hx-tile span { display: block; margin-top: 6px; font: 600 10px var(--mono); letter-spacing: .1em; opacity: .75; }

/* 20 Film ready -------------------------------------------------------- */
.hx--20 .hx-bg { display: block; opacity: .7; }
.hx--20 .hx-play { display: grid; position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
  place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--ink); background: color-mix(in srgb, var(--bg) 40%, transparent);
  color: var(--ink); cursor: pointer; }
.hx--20 .hx-play svg { width: 26px; fill: currentColor; margin-left: 4px; }
.hx--20 .hx-copy { z-index: 4; align-self: end; }

@media (max-width: 900px) {
  .hx { grid-template-columns: 1fr !important; min-height: max(520px, 78svh); }
  .hx-head { font-size: clamp(34px, 11vw, 64px) !important; }
  .hx-cut { position: relative !important; left: auto !important; right: auto !important; transform: none !important;
    height: min(44vh, 340px) !important; justify-items: center; }
  .hx-cut img { max-width: 86vw; }
  .hx-card { position: relative !important; right: auto !important; top: auto !important; transform: none !important; width: min(86vw, 420px) !important; justify-self: center; }
  .hx--6 .hx-grid { grid-template-columns: repeat(2, 1fr); }
  .hx--15::before { inset: 0 0 50% 0; }
  .hx--19 .hx-copy { grid-template-columns: 1fr; }
}
