/* ==========================================================================
   MONOKROME MEDIA - MAIN STYLESHEET
   --------------------------------------------------------------------------
   1.  Variables & reset
   2.  Typography
   3.  Image placeholders  (.ph - delete once real images are in)
   4.  Header (logo + nav)
   5.  Buttons & pills
   6.  Animations: scroll-reveal + smooth page transitions
   7.  Footer
   8.  HOME  - snapping, hero, "we break the limits", carousel, clients, CTA
   9.  Inner pages - shared layout
   10. WORK  - filters + project grid
   11. SERVICES - list + colour panel
   12. ABOUT - hero, partners strip, bespoke section
   13. CONTACT - cards + brief form
   14. PROJECT - single project page
   15. DRONE - aerial work page
   16. LEGAL - privacy policy page
   17. Helper classes (replace inline style="" so the security policy can block it)
   18. Responsive (mobile)
   ========================================================================== */


/* 1. VARIABLES & RESET
   ========================================================================== */
:root {
  --crimson: #79192D;
  --cherry:  #961f2a;
  --ivory:   #F2F1ED;
  --taupe:   #E5DED6;
  --coral:   #EC4055;
  --slate:   #323131;
  --black:   #1B1A1A;
  --mauve:   #665555;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Mono', monospace;
  background: var(--black);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; }

/* Page colour themes (set on <body class="...">) */
body.light { background: var(--ivory); color: var(--black); }
body.taupe { background: var(--taupe); color: var(--slate); }
body.about { background: var(--cherry); }


/* 2. TYPOGRAPHY
   ========================================================================== */
h1, h2, .display {
  font-family: 'Archivo', 'Arial Black', sans-serif;
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
}

h3 {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  text-transform: uppercase;
}

.coral { color: var(--coral); }
.cream { color: var(--taupe); }


/* 3. IMAGE PLACEHOLDERS
   Every grey box is marked in the HTML with a "PLACEHOLDER n" comment.
   Replace the box with an <img class="cover-img"> and this section is unused.
   ========================================================================== */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 50px;
  background: repeating-linear-gradient(135deg, #3b3636 0 12px, #433d3d 12px 24px);
  border: 1px dashed #ffffff44;
  color: #d9d2cc;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

.ph--fill { position: absolute; inset: 0; }

.ph--logo {
  width: 120px;
  height: 44px;
  flex: none;
  background: #d4cbc2;
  border: 1px dashed #66555566;
  color: var(--mauve);
  font-size: 9px;
}

/* Real images: use these classes instead of .ph */
.cover-img      { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-img--abs { position: absolute; inset: 0; }

/* Play button drawn over the About video */
.play {
  position: absolute;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: #0008;
}
.play::after {
  content: '';
  position: absolute;
  left: 25px; top: 18px;
  border-left: 20px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}


/* 4. HEADER (logo + nav pill)
   ========================================================================== */
.brand {
  position: fixed;
  top: 18px; left: 30px;
  z-index: 50;
}
.brand img { height: 64px; width: auto; }

/* Logo flips to black on light pages */
body.light .brand img,
body.taupe .brand img { filter: invert(1); }

nav {
  position: fixed;
  top: 20px; right: 30px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: var(--taupe);
  border-radius: 40px;
}
nav a {
  padding: 5px 10px;
  border-radius: 20px;
  color: var(--black);
  font-size: 11px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}
nav a:hover  { color: var(--coral); }
nav a.active { background: var(--coral); color: #fff; }


/* 5. BUTTONS & PILLS
   ========================================================================== */
.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 18px;
  background: var(--coral);
  border: 0;
  border-radius: 20px;
  color: #fff;
  font: inherit;
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.btn--light { background: var(--ivory); color: var(--crimson); }

.link {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-transform: uppercase;
  cursor: pointer;
}

.pill {
  padding: 8px 26px;
  background: var(--ivory);
  border: 0;
  border-radius: 20px;
  color: var(--black);
  font: inherit;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
}
.pill.active,
.pill:hover { background: var(--coral); color: #fff; }


/* 6. ANIMATIONS
   ========================================================================== */

/* 6a. SCROLL-REVEAL
   Add data-reveal="left | right | up" to any element. common.js adds .in
   Optional stagger: add class delay-1, delay-2 or delay-3. */
[data-reveal] {
  opacity: 0;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .9s;
  transition-delay: var(--d, 0s);
}
[data-reveal="left"]  { transform: translateX(-12vw); }
[data-reveal="right"] { transform: translateX(12vw); }
[data-reveal="up"]    { transform: translateY(70px); }
[data-reveal].in      { opacity: 1; transform: none; }

.delay-1 { --d: .1s; }
.delay-2 { --d: .2s; }
.delay-3 { --d: .3s; }

/* 6b. SMOOTH PAGE TRANSITIONS (no JavaScript)
   Clicking a link cross-fades from the old page to the new one, while the
   logo and the menu pill stay perfectly still instead of reloading.
   - Works in Chrome, Edge, Safari 18.2+ and recent mobile browsers.
   - Other browsers (e.g. Firefox) just load the page normally.
   - Change the speed with --page-fade below.
   - Must stay in this stylesheet, which every page loads. */
:root { --page-fade: .45s; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  .brand { view-transition-name: site-brand; }
  nav    { view-transition-name: site-nav; }

  ::view-transition-group(root),
  ::view-transition-group(site-brand),
  ::view-transition-group(site-nav) {
    animation-duration: var(--page-fade);
    animation-timing-function: ease;
  }
}


/* 7. FOOTER
   ========================================================================== */
footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 30px;
  padding: 50px 6vw 20px;
  background: var(--mauve);
  color: #fff;
  font-size: 11px;
}
footer .logo img { height: 70px; width: auto; }
footer ul { list-style: none; line-height: 2; text-transform: uppercase; opacity: .85; }
footer a  { text-decoration: none; }

.social { display: flex; gap: 14px; font-size: 14px; }
.small  { grid-column: 1 / -1; margin-top: 30px; text-align: right; font-size: 10px; opacity: .6; }
.small a { text-decoration: underline; }


/* 8. HOME
   ========================================================================== */

/* 8-0. SECTION SNAPPING (Home only: <html class="snap-page">)
   Each full-screen section locks into place as you swipe or scroll.
   - 100svh = the visible screen height on phones (ignores the address bar);
     100vh is the fallback for older browsers.
   - "mandatory" always settles on a section. "stop: always" means one swipe
     moves exactly one section, never skipping.
   - Mouse wheels and trackpads are handled by js/home.js (section 4).
   To turn snapping off, delete class="snap-page" from <html> in index.html. */
html.snap-page { scroll-snap-type: y mandatory; }

.snap-start {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.snap-end { scroll-snap-align: end; }

/* 8a. Hero (sticky so the next section slides over it) */
#hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  cursor: pointer;
  background:
    radial-gradient(circle at 70% 60%, #d98a4a55, transparent 25%),
    radial-gradient(circle at 30% 55%, #ec405555, transparent 30%),
    linear-gradient(#0b0d12, #1a1d26 60%, #050505);
}
#hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#hero .tag  { position: absolute; bottom: 40px; left: 30px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* 8b. Cursor-following "Scroll down" bubble */
.scroll-btn {
  position: fixed;
  top: 0; left: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  background: #961f2a99;
  border: 1px solid var(--coral);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  will-change: transform;
}
.scroll-btn.visible { opacity: 1; }
@media (hover: none) { .scroll-btn { display: none; } }

/* 8c. "We break the limits of possibility" */
#break {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  gap: 3vh 0;
  padding: 12vh 6vw;
  background: var(--cherry);
  box-shadow: 0 -30px 60px #0008;
}
#break .w {
  font-size: clamp(28px, 4.2vw, 60px);
  cursor: pointer;
  user-select: none;
  transition: opacity .35s, color .2s;
}
#break .w.locked { color: var(--coral); }

.w-we   { grid-area: 1 / 1; }
.w-verb { grid-area: 2 / 2; justify-self: end; }
.w-the  { grid-area: 3 / 2; justify-self: end; }
.w-noun { grid-area: 4 / 2; justify-self: end; }
.w-of   { grid-area: 5 / 1; }
.w-poss { grid-area: 5 / 2; justify-self: end; }

.copy {
  grid-area: 3 / 1 / 5 / 2;
  align-self: center;
  max-width: 420px;
  font-size: 12px;
  line-height: 1.7;
}

/* 8d. Carousel + client logos share ONE snap screen:
   the carousel fills the screen and the logo strip sits at the bottom. */
.snap-group {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

/* "Get a taste of Monokrome" carousel */
#work {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 9vh 4vw;
  background: var(--black);
  text-align: center;
}
#work .title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3vh;
  padding: 0 1vw;
  font-size: clamp(18px, 2.2vw, 30px);
  opacity: 0;
  transition: opacity 1.2s;
}
#work .title.in      { opacity: 1; }
#work .title--bottom { margin: 3vh 0; }

.dim {                      /* cinema darkening overlay */
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

.track {
  display: flex;
  justify-content: center;
  gap: 1.2vw;
  perspective: 1200px;
  transition: transform .15s;
}

/* On Home the carousel cards also shrink with screen HEIGHT so the whole
   carousel + logo strip always fits one screen */
.track .card { width: min(17vw, 26vh); }

/* Polaroid-style project card (used on Home, Work and Drone) */
.card {
  display: block;
  width: 17vw;
  min-width: 130px;
  padding: 10px 10px 8px;
  background: var(--ivory);
  color: var(--black);
  font-size: 10px;
  text-decoration: none;
  transition: transform .3s;
}
.card:hover { transform: translateY(-8px); }
.card .img  { position: relative; aspect-ratio: 3 / 4; margin-bottom: 10px; }
.card small { display: block; opacity: .55; }

/* 8e. Client logos strip */
#clients {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 40px 6vw;
  background: var(--taupe);
}

/* 8f. "What can we do for you?" with floating circles */
#what {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  padding: 14vh 4vw;
  background: var(--ivory);
  color: var(--mauve);
  text-align: center;
}
#what h2 { font-size: clamp(28px, 4.5vw, 64px); }

.circles { display: flex; justify-content: center; gap: 6vw; margin: 6vh 0; }
.circle {
  display: grid;
  place-items: center;
  width: min(18vw, 200px);  height: min(18vw, 200px);
  min-width: 130px;         min-height: 130px;
  border-radius: 50%;
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  animation: float 5s ease-in-out infinite;
}
.circle--light { background: var(--taupe); color: var(--slate); }
.circle--dark  { background: var(--cherry); color: #fff; animation-duration: 6s; animation-delay: -2.5s; }

@keyframes float { 50% { transform: translateY(-22px); } }


/* 9. INNER PAGES - SHARED LAYOUT
   ========================================================================== */
.page { min-height: 100vh; padding: 150px 5vw 80px; }

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px 4vw;
  margin-bottom: 50px;
}
.page-head h1 { font-size: clamp(34px, 6vw, 88px); }
.page-head p  { max-width: 520px; padding-bottom: 8px; font-size: 13px; }

.more { margin-top: 70px; text-align: center; }


/* 10. WORK PAGE
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 3vw; }
.card--work { width: auto; }

.hidden-card,
.card--work.filtered-out { display: none; }


/* 11. SERVICES PAGE
   ========================================================================== */
.svc {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 2fr;
  gap: 24px;
  margin-top: 20px;
}

/* Left column: list of services (background follows the active service) */
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 540px;
  padding: 36px 30px;
  list-style: none;
  background: var(--cherry);
  transition: background .4s;
}
.svc-item {
  background: none;
  border: 0;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 26px);
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s, transform .25s;
}
.svc-item:hover,
.svc-item.active { color: var(--coral); transform: translateX(8px); }

/* Right column: image + description */
.svc-stage {
  position: relative;
  min-height: 540px;
  background: var(--cherry);
  color: #fff;
  transition: background .4s;
}
.svc-img   { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.svc-panel {
  position: absolute;
  right: 30px; bottom: 30px;
  z-index: 2;
  max-width: 480px;
  font-size: 12px;
  line-height: 1.7;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.svc-panel.show { opacity: 1; pointer-events: auto; }
.svc-panel h3   { margin-bottom: 8px; font-size: 13px; }
.svc-panel a    { text-decoration: underline; }

/* One colour per service: 0 Event, 1 Social, 2 Corporate, 3 Commercial */
.svc-stage[data-c="0"], .svc-list[data-c="0"] { background: var(--coral); }
.svc-stage[data-c="1"], .svc-list[data-c="1"] { background: var(--cherry); }
.svc-stage[data-c="2"], .svc-list[data-c="2"] { background: var(--crimson); }
.svc-stage[data-c="3"], .svc-list[data-c="3"] { background: var(--slate); }

.svc-list[data-c="0"] .svc-item.active,
.svc-list[data-c="0"] .svc-item:hover { color: var(--crimson); }   /* readable on coral */

.svc-stage[data-c="2"] .svc-img { opacity: 1; }                    /* image shows on Corporate */


/* 12. ABOUT PAGE
   ========================================================================== */

/* 12a. "To be creative is to be fluid" */
.about-hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 4vw 110px;
  background: var(--cherry);
  overflow: hidden;
}
.headline {
  position: relative;
  z-index: 3;
  font-size: clamp(34px, 7vw, 100px);
  color: var(--coral);
}
.headline .line     { display: block; }
.headline .line--r  { text-align: right; }

.about-media {
  position: relative;
  z-index: 1;
  width: 62%;
  margin: -2.2vw 0 0 auto;
  aspect-ratio: 16 / 9;
}
.about-copy {
  position: absolute;
  left: 4vw; top: 52%;
  z-index: 2;
  max-width: 380px;
  font-size: 11px;
  line-height: 1.7;
}
.about-copy p { margin-bottom: 14px; }

/* 12b. "Creative partners" logo strip */
.partners { padding: 40px 0; background: var(--taupe); overflow: hidden; }
.big {
  font-size: clamp(60px, 14vw, 210px);
  line-height: .95;
  text-align: center;
  color: var(--ivory);
}
.marquee { margin: 14px 0; overflow: hidden; }
.row {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: scroll 30s linear infinite;
}
.marquee--rev .row { animation-direction: reverse; }

@keyframes scroll { to { transform: translateX(-50%); } }

/* 12c. "Bespoke beyond expectations" */
.bespoke {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 24px 4vw;
  padding: 100px 6vw;
  background: var(--crimson);
  overflow: hidden;
}
.b-left  { position: relative; grid-column: 1; width: 70%; aspect-ratio: 16 / 9; }
.b-right { position: relative; grid-column: 2; grid-row: 1 / 5; aspect-ratio: 4 / 3; }

.bespoke h2 {
  position: relative;
  z-index: 2;
  grid-column: 1;
  margin-right: -9vw;
  font-size: clamp(22px, 2.6vw, 38px);
}
.bespoke p    { grid-column: 1; max-width: 460px; font-size: 12px; }
.bespoke .btn { grid-column: 1; justify-self: start; }


/* 13. CONTACT PAGE
   ========================================================================== */
.ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 30px 0 50px;
}
.way {
  padding: 20px;
  background: var(--ivory);
  color: var(--black);
  font-size: 12px;
  text-decoration: none;
  transition: transform .3s;
}
.way:hover { transform: translateY(-8px); }
.way b {
  display: block;
  margin-bottom: 6px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  text-transform: uppercase;
}

.brief { display: grid; gap: 18px; max-width: 640px; }
.brief h2    { font-size: 22px; }
.brief label { display: grid; gap: 6px; font-size: 11px; text-transform: uppercase; }
.brief input,
.brief select,
.brief textarea {
  padding: 12px;
  background: var(--ivory);
  border: 1px solid #66555588;
  color: var(--black);
  font: inherit;
  font-size: 13px;
}
.brief .btn:disabled { opacity: .5; cursor: wait; }

/* Required markers */
.req { color: var(--cherry); }
.form-required-note { margin-top: -8px; font-size: 11px; opacity: .75; }

/* Missing / invalid field: solid red outline around the box */
.brief .is-invalid {
  border-color: var(--cherry);
  box-shadow: 0 0 0 2px var(--cherry);
  outline: none;
}
.brief .is-invalid:focus { box-shadow: 0 0 0 3px var(--cherry); }

/* Send button directly under the fields, status message beside it */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.form-actions .btn { margin-top: 0; }

/* Honeypot: invisible to people, tempting to bots. Do not use display:none. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile { margin: 4px 0; }
.form-note    { max-width: 640px; font-size: 11px; opacity: .75; }
.form-note a  { text-decoration: underline; }

.form-status { margin: 0; font-size: 12px; }
.form-status:empty { display: none; }
.form-status--success { color: #1f7a3d; }
.form-status--error   { color: var(--cherry); }
.form-status--pending { opacity: .7; }


/* 14. PROJECT PAGE
   ========================================================================== */
.p-hero { position: relative; aspect-ratio: 16 / 7; }
.grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.grid--3 > .ph { aspect-ratio: 4 / 3; }


/* 15. DRONE PAGE
   ========================================================================== */

/* 15a. Full-screen sky hero */
.drone-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  padding: 150px 5vw 80px;
  overflow: hidden;
  background: linear-gradient(#0b1220, #1d2b45 55%, #c97a5a 100%);
}
.drone-hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(40px, 9vw, 130px);
  color: var(--taupe);
}
.drone-hero p {
  position: relative;
  z-index: 2;
  max-width: 460px;
  margin-top: 20px;
  font-size: 13px;
}

/* 15b. What we capture: three feature columns */
.drone-intro {
  padding: 100px 5vw;
  background: var(--ivory);
  color: var(--slate);
}
.drone-intro h2 { margin-bottom: 40px; font-size: clamp(26px, 3.6vw, 52px); color: var(--cherry); }
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.feature { padding: 26px; background: var(--taupe); font-size: 12px; }
.feature h3 { margin-bottom: 10px; font-size: 14px; color: var(--cherry); }

/* 15c. Permit steps */
.drone-steps {
  padding: 100px 5vw;
  background: var(--crimson);
}
.drone-steps h2 { margin-bottom: 40px; font-size: clamp(26px, 3.6vw, 52px); color: var(--coral); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.step b {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 40px;
  color: var(--coral);
}
.step p { margin-top: 6px; font-size: 12px; }

/* 15d. Aerial gallery + final call to action */
.drone-gallery { padding: 100px 5vw; background: var(--black); }
.drone-gallery h2 { margin-bottom: 40px; font-size: clamp(26px, 3.6vw, 52px); color: var(--taupe); }
.drone-cta { padding: 100px 5vw; background: var(--cherry); text-align: center; }
.drone-cta h2 { font-size: clamp(26px, 4vw, 60px); }


/* 16. LEGAL PAGES (privacy policy)
   ========================================================================== */
.legal { max-width: 760px; font-size: 13px; line-height: 1.8; }
.legal h2 {
  margin: 44px 0 12px;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--cherry);
}
.legal p,
.legal ul { margin-bottom: 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a  { text-decoration: underline; }
.legal .updated { font-size: 11px; opacity: .7; }

.legal-table {
  width: 100%;
  margin: 8px 0 18px;
  border-collapse: collapse;
  font-size: 12px;
}
.legal-table th,
.legal-table td {
  padding: 10px 12px;
  border: 1px solid #66555555;
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: var(--taupe); font-size: 11px; text-transform: uppercase; }


/* 17. HELPER CLASSES
   These replace style="..." attributes in the HTML. The site's security policy
   (Content-Security-Policy) blocks inline styles, so never write style="..."
   in the HTML: add a small class here instead.
   ========================================================================== */
.c-cherry { color: var(--cherry); }
.c-slate  { color: var(--slate); }
.c-mauve  { color: var(--mauve); }
.mt-20    { margin-top: 20px; }


/* 18. RESPONSIVE (phones and small tablets)
   ========================================================================== */
@media (max-width: 800px) {
  nav { top: 14px; right: 10px; gap: 2px; padding: 6px 8px; }
  nav a { padding: 4px 5px; font-size: 8px; letter-spacing: .02em; }
  .brand { top: 14px; left: 14px; }
  .brand img { height: 40px; }

  /* Home "break the limits" screen: tighter so it fits short phones */
  #break { padding: 11vh 6vw 5vh; gap: 1.5vh 0; }
  #break .w { font-size: clamp(22px, 6.5vw, 40px); }
  .copy { font-size: 11px; line-height: 1.55; }

  .track { overflow-x: auto; justify-content: flex-start; }
  #clients { flex-wrap: wrap; gap: 20px; padding: 24px 6vw; }
  footer { grid-template-columns: 1fr 1fr; }

  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }

  .svc,
  .bespoke { grid-template-columns: 1fr; }

  .about-media { width: 100%; margin-top: 20px; }
  .about-copy  { position: static; margin-top: 24px; }

  .b-left,
  .b-right { grid-column: 1; grid-row: auto; width: 100%; }
  .bespoke h2 { margin-right: 0; }

  .legal-table { display: block; overflow-x: auto; }
}
