/* Design B: brand-led. The logo's red and black, set as two blocks. The four
   trades are the navigation; pointing at one changes the photograph and the
   colour of its block. */

:root {
  --red: #e3262d; --black: #111010; --white: #ffffff;
  --pad: clamp(20px, 3.6vw, 56px);
  --block: #2b1a12;                       /* right-hand block, set per trade */
}
body[data-trade="ceilings"] { --block: #2b1a12; }   /* dark walnut of the lobby wall */
body[data-trade="floors"]   { --block: #7a3b22; }   /* parquet */
body[data-trade="surfaces"] { --block: #c9c6bd; }   /* pale solid surface */
body[data-trade="fitout"]   { --block: #1d2a33; }   /* slate */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--black); font: 400 1rem/1.45 "Archivo", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.split { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: max(100svh, 700px); }

/* Left: red block with the trades */
.index { background: var(--red); display: flex; flex-direction: column; justify-content: space-between; padding: 0 var(--pad) var(--pad); }
.top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.logo { background: var(--white); padding: 18px 20px 16px; }
.logo img { width: 150px; }
.since { padding-top: 22px; text-align: right; font-size: 0.9375rem; font-weight: 500; line-height: 1.35; font-stretch: 88%; }

.trades { display: grid; margin-block: clamp(28px, 5vh, 64px); }
.trades a { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0.04em 0; position: relative; }
.trades span {
  font-weight: 800; font-stretch: 68%; text-transform: uppercase;
  font-size: clamp(3.75rem, 11.2vw, 11rem); line-height: 0.84; letter-spacing: -0.02em;
  color: var(--black); transition: color 0.2s;
}
.trades small { font-size: 1rem; font-weight: 500; max-width: 34ch; height: 0; overflow: hidden; opacity: 0; color: var(--white); transition: opacity 0.25s; }
.trades a.is-on span { color: var(--white); }
.trades a.is-on small { height: auto; opacity: 1; padding: 10px 0 16px 6px; }

.foot { display: flex; flex-wrap: wrap; gap: 8px 32px; font-weight: 600; font-size: 1.0625rem; }
.foot a:hover { color: var(--white); }

/* Right: one photograph at its real size on a block of its own colour */
.show { background: var(--block); transition: background-color 0.5s; position: relative; display: grid; place-items: center; padding: var(--pad); color: var(--white); }
body[data-trade="surfaces"] .show { color: var(--black); }
.show figure { grid-area: 1 / 1; width: min(100%, 560px); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.45s, transform 0.45s, visibility 0s linear 0.45s; }
.show figure.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s, transform 0.45s; }
.show img { width: 100%; }
.show figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 1rem; }
.show figcaption b { font-weight: 700; font-stretch: 88%; text-transform: uppercase; letter-spacing: 0.02em; }
.count { position: absolute; right: var(--pad); bottom: var(--pad); font-size: 0.9375rem; font-weight: 500; opacity: 0.75; }
.count b { font-weight: 700; }

/* Next section: the client roll */
.roll { background: var(--black); color: var(--white); padding: clamp(64px, 9vw, 136px) var(--pad) clamp(48px, 6vw, 88px); }
.roll-label { font-weight: 600; font-size: 1.0625rem; color: var(--red); margin-bottom: 18px; }
.names { font-weight: 700; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.75rem, 4.4vw, 4.25rem); line-height: 1.02; letter-spacing: -0.01em; max-width: 26ch; text-wrap: balance; }
.names i { font-style: normal; color: var(--red); font-weight: 400; padding: 0 0.08em; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); margin-top: clamp(40px, 6vw, 88px); }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 12px; }
.shots b { font-weight: 600; font-stretch: 88%; }
.draft-note { margin-top: 44px; color: #7b7672; font-size: 0.875rem; }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .index { min-height: 78svh; }
  .trades span { font-size: clamp(3.5rem, 19vw, 8rem); }
  .show { padding-block: 36px 64px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo { padding: 12px 14px 10px; }
  .logo img { width: 124px; }
  .since { padding-top: 14px; font-size: 0.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .show, .show figure, .trades span, .trades small { transition: none; }
}
