:root {
  --paper: #F2F0EB;
  --ink: #111111;
  --grey: #8C8880;
  --muted: #6B675F;
  --line: #111111;
  --gutter: clamp(16px, 3vw, 32px);
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--muted); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, p { margin: 0; }

.mono { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 400; }
.muted { color: var(--muted); }
.label { display: block; margin-bottom: 18px; }
.amp { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* Cursor halo — a filtered copy of the text, shown only in a soft circle around the cursor */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.halo-wrap { position: relative; display: block; }
.halo {
  position: absolute; inset: 0;
  margin: 0;
  pointer-events: none;
  filter: url(#halo);
  opacity: 0;
  transition: opacity .35s ease;
  -webkit-mask-image: radial-gradient(circle at var(--mx, -999px) var(--my, -999px), #000 0, #000 var(--core, 40px), transparent var(--r, 150px));
          mask-image: radial-gradient(circle at var(--mx, -999px) var(--my, -999px), #000 0, #000 var(--core, 40px), transparent var(--r, 150px));
}
.halo-wrap.is-near > .halo { opacity: 1; }
.halo .word { opacity: 1 !important; transform: none !important; transition: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--mono); font-size: 12px; }
.skip:focus { left: 8px; }

/* Top bar */
.bar {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px 24px; align-items: center;
  padding: 16px var(--gutter);
  background: var(--paper);
}
.bar a { text-decoration: none; }
.bar__mid { text-align: center; }
.bar__short { display: none; }
.bar__nav { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; }
.bar__nav a { padding: 6px 0; }

/* Staircase headlines */
.stair { display: flex; flex-direction: column; font-weight: 700; text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.88; }
.stair > span { padding-left: var(--indent, 0); }
.stair--hero { font-size: clamp(52px, 9.6vw, 156px); }
.stair--enquire { font-size: clamp(56px, 10vw, 168px); letter-spacing: -0.05em; }
.stair .word { display: inline-block; opacity: 0; transform: translateY(0.35em); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.stair.is-in .word { opacity: 1; transform: none; }

/* Hero */
.hero { padding: clamp(24px, 5vw, 64px) var(--gutter) clamp(48px, 7vw, 96px); }
.hero__foot { display: grid; grid-template-columns: 1fr minmax(0, 420px) 1fr; gap: 32px; align-items: end; margin-top: clamp(40px, 6vw, 72px); }
.hero__foot > a { text-decoration: none; }
.hero__intro { padding: 18px 20px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 13px; line-height: 1.6; text-transform: none; letter-spacing: 0; }
.hero__flick { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; cursor: zoom-in; }
.hero__flick img { width: clamp(140px, 16vw, 220px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #E4E1DA; }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { padding: 6px 0.4em 6px 0; font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 11vw, 180px); line-height: 0.95; letter-spacing: -0.05em; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Index */
.index { padding-top: clamp(40px, 6vw, 72px); }
.index__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 0 var(--gutter) 20px; }
.index__head p { margin-top: 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.filters button { padding: 12px 8px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.index__frame { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.index__list { height: clamp(460px, 72vh, 760px); overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.index__list::-webkit-scrollbar { display: none; }
.row {
  display: flex; width: 100%; justify-content: center; align-items: flex-start; gap: 10px;
  padding: 2px var(--gutter);
  color: var(--grey);
  transition: background-color .18s ease, color .18s ease;
}
.row.is-active { background: var(--ink); color: var(--paper); }
.row__small { font-family: var(--mono); font-size: 11px; line-height: 1.3; text-transform: uppercase; text-align: right; padding-top: 0.6em; white-space: nowrap; }
.row__title { font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 6.6vw, 104px); line-height: 0.98; letter-spacing: -0.045em; white-space: nowrap; }
.pop {
  position: absolute; top: 50%; right: clamp(16px, 5vw, 80px);
  width: clamp(130px, 19vw, 280px); height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.45);
  opacity: 0;
  z-index: 2;
}
.pop.is-left { right: auto; left: clamp(16px, 5vw, 80px); }
.pop.is-on { animation: pop .28s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(-50%) scale(.92); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
.fade { position: absolute; left: 0; right: 0; height: 18%; pointer-events: none; z-index: 1; }
.fade--top { top: 0; background: linear-gradient(var(--paper), rgba(242,240,235,0)); }
.fade--bottom { bottom: 0; background: linear-gradient(rgba(242,240,235,0), var(--paper)); }
.index__now { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); }

/* Retouchers */
.hands { padding: clamp(48px, 7vw, 96px) var(--gutter); border-top: 1px solid var(--line); }
.hand { position: relative; }
.hand__link { display: flex; align-items: flex-start; gap: 12px; text-decoration: none; padding-left: var(--indent, 0); transition: color .2s ease; }
.hands.is-hovering .hand:not(.is-on) .hand__link { color: #A9A59D; }
.hand__small { font-family: var(--mono); font-size: 11px; line-height: 1.3; text-transform: uppercase; padding-top: 0.8em; white-space: nowrap; }
.hand__name { font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 11vw, 180px); line-height: 0.9; letter-spacing: -0.05em; }
.hand__previews { position: absolute; right: 0; top: 40%; transform: translateY(-50%); display: flex; gap: 8px; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.hand.is-on .hand__previews { opacity: 1; }
.hand__previews img { width: clamp(80px, 9vw, 140px); aspect-ratio: 3 / 4; object-fit: cover; }
.hand__meta { padding-left: var(--indent, 0); margin: 6px 0 28px; display: flex; flex-wrap: wrap; gap: 16px; }
.hand__meta a { text-transform: none; }

/* Services */
.services { padding: 0 var(--gutter) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; }
.service { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.service h3 { margin: 0; font-weight: 700; font-size: 34px; letter-spacing: -0.03em; text-transform: uppercase; }
.service p { font-family: var(--mono); font-size: 12px; line-height: 1.6; }

/* Enquire / footer */
.enquire { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 112px) var(--gutter) 24px; position: relative; z-index: 1; }
.enquire a { color: var(--paper); }
.enquire a:hover { color: #BDB8AF; }
.enquire__mail { display: inline-block; margin-top: 32px; font-weight: 500; font-size: clamp(24px, 3.6vw, 52px); letter-spacing: -0.02em; text-underline-offset: 8px; overflow-wrap: anywhere; }
.enquire__foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px 24px; margin-top: clamp(56px, 8vw, 104px); padding-top: 16px; border-top: 1px solid #4A4844; }
.enquire__copy { text-align: center; }
.enquire__foot nav { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: var(--paper); display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter); }
.lightbox__bar button { padding: 12px 8px; }
.lightbox__body { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 0 var(--gutter) 18px; overflow: auto; }
.lightbox__body img { max-height: min(66vh, 820px); width: auto; height: auto; max-width: 100%; }
.lightbox__body h2 { font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.045em; text-align: center; }
.lightbox__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lightbox__nav button { padding: 12px 10px; background: var(--ink); color: var(--paper); }
.lightbox__nav a { padding: 12px 10px; }

/* Phones and small tablets */
@media (max-width: 760px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar__mid, .bar__full { display: none; }
  .bar__short { display: inline; }
  .bar { gap: 8px 12px; }
  .bar .mono { font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  .bar__nav { gap: 10px; flex-wrap: nowrap; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__foot > a { display: none; }
  .hero__flick { justify-self: start; align-items: flex-start; }
  .stair > span { padding-left: calc(var(--indent, 0) * 0.5); }
  .row { justify-content: flex-start; }
  .row__title { white-space: normal; font-size: clamp(28px, 9vw, 44px); }
  .pop, .pop.is-left { top: 16px; bottom: auto; left: auto; right: 12px; transform: none; width: 30vw; }
  .pop.is-on { animation: popm .28s ease both; }
  @keyframes popm { from { opacity: 0; } to { opacity: 1; } }
  .fade--top { display: none; }
  .hand__link { padding-left: 0; }
  .hand__meta { padding-left: 0; }
  .hand__previews { display: none; }
  .enquire__foot { grid-template-columns: 1fr; }
  .enquire__copy { text-align: left; }
  .enquire__foot nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .stair .word { opacity: 1; transform: none; transition: none; }
  .pop.is-on { animation: none; opacity: 1; }
}
