/* MODO · modoagency.com.au · Tenor Sans + Albert Sans, cream/navy/bone */
:root {
  --cream: #f5f3f0;
  --cream-2: #ece8e3;
  --white: #ffffff;
  --navy: #161b2f;
  --slate: #2d3548;
  --cool: #5b687c;
  --warm: #d4cdcb;
  --bone: #cac6ba;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --disp: "Tenor Sans", Georgia, serif;
  --sans: "Albert Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--navy); color: var(--cream); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--cream); padding: 12px 18px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.on-navy :focus-visible { outline-color: var(--cream); }

/* ---------- type ---------- */
.mono {
  font-family: var(--disp);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.6;
}
.display, .h2, .h3 {
  font-family: var(--disp);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}
.display {
  font-size: clamp(2.2rem, 6vw, 6.6rem);
  line-height: 1.04;
  letter-spacing: .04em;
}
.h2 {
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: .05em;
}
.h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: .12em;
}
.lede { font-family: var(--sans); font-weight: 300; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.7; color: var(--slate); max-width: 34em; margin: 0; }
p { margin: 0; }

/* retired: the old lime full stop is gone */
.dot { display: none; }

/* wordmark = sun icon + MODO */
.wordmark {
  display: inline-flex; align-items: center;
  font-family: var(--disp);
  font-size: 19px; letter-spacing: .3em;
  text-decoration: none; line-height: 1;
}
.wordmark::before {
  content: ""; width: 1.15em; height: 1.15em; margin-right: .62em; flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='40' r='25' fill='none' stroke='black' stroke-width='6'/%3E%3Cline x1='8' y1='64' x2='92' y2='64' stroke='black' stroke-width='6' stroke-linecap='round'/%3E%3Cline x1='20' y1='75' x2='80' y2='75' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3Cline x1='33' y1='85' x2='67' y2='85' stroke='black' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='40' r='25' fill='none' stroke='black' stroke-width='6'/%3E%3Cline x1='8' y1='64' x2='92' y2='64' stroke='black' stroke-width='6' stroke-linecap='round'/%3E%3Cline x1='20' y1='75' x2='80' y2='75' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3Cline x1='33' y1='85' x2='67' y2='85' stroke='black' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wordmark i { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--navy);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
  cursor: pointer;
}
.btn--solid { background: var(--navy); color: var(--cream); }
.btn--solid:hover { background: var(--slate); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--cream); }
.on-navy .btn--solid { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.on-navy .btn--solid:hover { background: var(--white); }
.on-navy .btn--line { color: var(--cream); border-color: var(--cream); }
.on-navy .btn--line:hover { background: var(--cream); color: var(--navy); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.textlink {
  font-family: var(--disp); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 3px; transition: background-size .4s var(--ease);
}
.textlink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(245, 243, 240, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--warm);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a:not(.btn) { font-family: var(--disp); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.site-header nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--bone); }
.site-header .btn { min-height: 42px; padding: 0 20px; font-size: 12px; }
.now { display: flex; align-items: center; gap: 10px; color: var(--cool); }
.now .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--bone); position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .now .pulse::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; animation: pulse 2.4s ease-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(203,184,154,.9); } 100% { box-shadow: 0 0 0 11px rgba(203,184,154,0); } }

@media (max-width: 980px) { .now { display: none; } }
@media (max-width: 720px) { .site-header nav a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px;
}
.hero__inner { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero__eyebrow { color: var(--cool); }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; }
.hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  border-top: 1px solid var(--warm); padding-block: 18px 22px; color: var(--cool);
}
.hero__meta span b { font-weight: 400; color: var(--navy); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--warm); padding-block: 20px; }
.marquee__track { display: flex; width: max-content; gap: 44px; white-space: nowrap; color: var(--slate); }
.marquee__track span { font-family: var(--disp); text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.55rem); letter-spacing: .06em; }
.marquee__track .sep { color: var(--bone); align-self: center; }
@media (prefers-reduced-motion: no-preference) { .marquee__track { animation: marquee 48s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(96px, 12vw, 168px); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--white { background: var(--white); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px 56px; margin-bottom: clamp(48px, 6vw, 88px); align-items: start; }
.section__head .mono { color: var(--cool); padding-top: .6em; }
.section--navy .section__head .mono, .section--navy .muted { color: var(--warm); }
@media (max-width: 820px) { .section__head { grid-template-columns: 1fr; } }

/* ---------- the gap ---------- */
.gap {
  position: relative; height: clamp(420px, 52vw, 600px);
  border-radius: 4px; overflow: hidden; user-select: none;
  --split: 50%;
}
.gap__layer { position: absolute; inset: 0; padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; }
.gap__real { background: var(--cream-2); color: var(--navy); }
.gap__real .gap__copy {
  font-family: var(--disp); text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: .04em; max-width: 44%;
}
.gap__real .mono { color: var(--cool); }
.gap__web {
  background: #e4e4e4; color: #4a4a4a;
  font-family: Arial, Helvetica, sans-serif;
  clip-path: inset(0 0 0 var(--split));
  padding: 0;
}
.gap__web .bar { height: 54px; background: #fff; border-bottom: 1px solid #c9c9c9; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; font-size: 14px; }
.gap__web .bar b { letter-spacing: .5px; }
.gap__web .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 28px; }
.gap__web .tiles div { height: clamp(90px, 14vw, 180px); background: #c4c4c4; }
.gap__web .tiles div:nth-child(2) { background: #b8b8b8; }
.gap__web .tiles div:nth-child(3) { background: #cfcfcf; }
.gap__web p { padding: 0 28px; font-size: 15px; }
.gap__web .book { margin: 18px 28px; display: inline-block; background: #555; color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 4px; font-size: 14px; }
.gap__web .label { position: absolute; right: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); font-family: var(--disp); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #333; }
.gap__handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 1px; background: var(--navy); pointer-events: none; }
.gap__handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bone); border: 1px solid var(--navy); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.gap__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; }
.gap__range:focus-visible + .gap__handle::after { outline: 2px solid var(--cream); outline-offset: 3px; }
.gap__note { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.gap__note .closes { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; }
.gap__note .closes::before { content: ""; width: 36px; height: 2px; background: var(--bone); }

/* ---------- services ---------- */
.services { border-top: 1px solid var(--navy); }
.service {
  display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px 40px; padding-block: clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--warm); align-items: start;
  transition: padding .5s var(--ease);
}
.service .mono { color: var(--cool); padding-top: .35em; }
.service .h3 { transition: transform .5s var(--ease); }
.service:hover .h3 { transform: translateX(8px); }
.service p { color: var(--slate); }
.service ul { list-style: none; margin: 0; padding: 0; color: var(--cool); }
@media (max-width: 900px) { .service { grid-template-columns: 56px minmax(0, 1fr); } .service p, .service ul { grid-column: 2; } }

/* ---------- who ---------- */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--navy); }
.who > div { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.who > div + div { padding-left: 28px; border-left: 1px solid var(--warm); }
.who .mono { color: var(--cool); }
.who p { color: var(--slate); font-size: 15.5px; }
@media (max-width: 900px) {
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .who > div { padding-bottom: 28px; }
}
@media (max-width: 520px) {
  .who { grid-template-columns: 1fr; }
  .who > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--warm); }
}

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { border-top: 1px solid var(--navy); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-family: var(--disp); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--cool); }
.step p { color: var(--slate); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- work ---------- */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work__card {
  background: var(--cream); border-radius: 4px; padding: clamp(28px, 3.5vw, 48px);
  min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  text-decoration: none; transition: background .5s var(--ease);
}
.work__card:hover { background: var(--cream-2); }
.work__card .mono { color: var(--cool); }
.work__card p { color: var(--slate); max-width: 28em; }
.work__more { margin-top: 28px; color: var(--cool); }
@media (max-width: 780px) { .work { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px 80px; align-items: start; }
.about__copy { display: flex; flex-direction: column; gap: 22px; }
.about__copy p { color: var(--slate); }
.about__facts { border-top: 1px solid var(--navy); }
.about__facts div { display: flex; justify-content: space-between; gap: 20px; padding-block: 14px; border-bottom: 1px solid var(--warm); }
.about__facts dt { color: var(--cool); font-family: var(--disp); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.about__facts dd { margin: 0; text-align: right; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--warm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 26px; font-family: var(--disp); text-transform: uppercase; font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: .05em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 22px; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 28px; max-width: 42em; color: var(--slate); }

/* ---------- enquire ---------- */
.enquire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px 96px; }
.enquire__side { display: flex; flex-direction: column; gap: 28px; }
.enquire__side p { color: var(--warm); max-width: 28em; }
.enquire__alt { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--slate); padding-top: 24px; }
.enquire__alt a { text-decoration: none; }
.enquire__alt a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--disp); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--warm); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--cream); background: transparent;
  border: 0; border-bottom: 1px solid var(--cool); border-radius: 0;
  padding: 10px 0 12px; min-height: 48px; transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--navy); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--bone); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .enquire { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- packages (offer page) ---------- */
.packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.package { border-radius: 4px; padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; gap: 22px; background: var(--white); }
.package--navy { background: var(--navy); color: var(--cream); }
.package .mono { color: var(--cool); }
.package--navy .mono { color: var(--warm); }
.package ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--warm); display: flex; flex-direction: column; gap: 10px; color: var(--slate); }
.package--navy ul { border-top-color: var(--slate); color: var(--warm); }
.addons { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--cool); }
.addons span.tag { border: 1px solid var(--warm); border-radius: 999px; padding: 7px 14px; color: var(--navy); }
.expect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--navy); }
.expect div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--warm); }
.expect .mono { color: var(--cool); padding-top: .3em; }
.expect p { color: var(--slate); }
.expect b { font-weight: 500; color: var(--navy); display: block; }
@media (max-width: 820px) { .packages, .expect { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--warm); border-top: 1px solid var(--slate); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; padding-block: 30px; }
.site-footer .wordmark { color: var(--cream); font-size: 16px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero__line > span { transform: translateY(105%); transition: transform 1.2s var(--ease); }
  .js .is-loaded .hero__line > span { transform: none; }
  .js .is-loaded .hero__line:nth-child(2) > span { transition-delay: .12s; }
  .js .hero__fade { opacity: 0; transition: opacity 1.2s var(--ease) .5s; }
  .js .is-loaded .hero__fade { opacity: 1; }
}

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor select { cursor: none; }
  .has-cursor input, .has-cursor textarea { cursor: text; }
  .has-cursor .gap__range { cursor: none; }
  .cursor {
    display: flex; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: var(--bone); border: 1px solid var(--navy);
    align-items: center; justify-content: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
    will-change: transform;
  }
  .cursor span { font-family: var(--disp); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); opacity: 0; transition: opacity .25s; white-space: nowrap; }
  .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .cursor.is-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
  .cursor.is-label span { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
  /* over links and buttons: a see-through ring that stays visible on cream, navy and photos */
  .cursor.is-hover, .cursor.is-label { background: transparent; border-color: var(--cream); mix-blend-mode: difference; }
  .cursor.is-label span { color: var(--cream); position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 6px; }
}

/* ---------- preloader (rising sun) ---------- */
.preloader { display: none; }
.js .preloader {
  display: flex; position: fixed; inset: 0; z-index: 200;
  background: var(--navy); align-items: center; justify-content: center;
  animation: pre-lift 2.15s var(--ease) forwards;
}
.preloader__mark { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__sun { width: clamp(72px, 12vw, 104px); height: clamp(72px, 12vw, 104px); overflow: visible; }
.preloader__wm { font-family: var(--disp); text-transform: uppercase; letter-spacing: .34em; font-size: 20px; color: var(--cream); opacity: 0; }
.js .preloader__wm { animation: pre-word .8s var(--ease) .7s forwards; }

.preloader .p-circle { stroke-dasharray: 158; stroke-dashoffset: 158; }
.js .preloader .p-circle { animation: pre-draw 1s var(--ease) .15s forwards; }
.preloader .p-l1, .preloader .p-l2, .preloader .p-l3 { transform: scaleX(0); transform-origin: center; }
.js .preloader .p-l1 { animation: pre-line .55s var(--ease) .15s forwards; }
.js .preloader .p-l2 { animation: pre-line .55s var(--ease) .30s forwards; }
.js .preloader .p-l3 { animation: pre-line .55s var(--ease) .45s forwards; }

@keyframes pre-draw { to { stroke-dashoffset: 0; } }
@keyframes pre-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pre-word { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pre-lift {
  0%, 58% { opacity: 1; transform: translateY(0); visibility: visible; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-100%); visibility: hidden; }
}
.preloader.is-done { opacity: 0 !important; visibility: hidden !important; transform: translateY(-100%) !important; transition: opacity .6s var(--ease), transform .7s var(--ease); }
body.is-preloading { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .js .preloader { display: none; } }

/* ---------- roaming location line ---------- */
.roam { display: inline-flex; align-items: center; gap: .55em; }
.roam__pin { color: var(--navy); }
.roam__sep { color: var(--bone); }
.roam__rot { color: var(--cool); transition: opacity .4s var(--ease); min-width: 10ch; }
.roam__rot.is-swap { opacity: 0; }

/* ---------- testimonials ---------- */
.quotes {
  margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--navy);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px);
}
.quote { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote {
  margin: 0; font-family: var(--disp); text-transform: uppercase;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.32; letter-spacing: .03em; color: var(--navy);
}
.quote figcaption { display: flex; flex-direction: column; gap: 4px; }
.quote__name { font-weight: 500; }
.quote .mono { color: var(--cool); }
@media (max-width: 780px) { .quotes { grid-template-columns: 1fr; } }

.enquire__loc { color: var(--warm); margin-top: 4px; }

/* ---------- showreel image band (ken-burns + parallax) ---------- */
.showreel { position: relative; height: clamp(340px, 52vw, 600px); overflow: hidden; background: var(--navy); }
.showreel__img { position: absolute; inset: -10% 0; will-change: transform; }
.showreel__img img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .showreel__img img { animation: kenburns 22s ease-in-out infinite alternate; } }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.13); } }
.showreel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,27,47,.30), rgba(22,27,47,0) 28%, rgba(22,27,47,.06) 62%, rgba(22,27,47,.46)); }
.showreel__line { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 3vw, 34px); z-index: 2; display: flex; justify-content: space-between; gap: 16px; color: var(--cream); }
.showreel__line .mono { color: var(--cream); }
.showreel__line .mono.b { color: var(--bone); }

/* ---------- who: image tiles ---------- */
.whotiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.whotile { position: relative; display: block; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: var(--cream); }
.whotile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.whotile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,27,47,.04) 34%, rgba(22,27,47,.74)); }
.whotile:hover img { transform: scale(1.06); }
.whotile__cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(16px, 1.6vw, 22px); display: flex; flex-direction: column; gap: 7px; }
.whotile__cap .mono { color: var(--bone); }
.whotile__cap h3 { color: var(--cream); }
.whotile__cap p { color: rgba(245,243,240,.85); font-size: 14px; line-height: 1.5; max-width: 26ch; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.whotile:hover .whotile__cap p, .whotile:focus-visible .whotile__cap p { opacity: 1; transform: none; }
@media (max-width: 900px) { .whotiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .whotile__cap p { opacity: 1; transform: none; } }

/* ---------- work: image cards in browser frames ---------- */
.workcard { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: inherit; }
.workframe { border-radius: 10px; overflow: hidden; border: 1px solid var(--warm); background: #fff; box-shadow: 0 22px 54px -32px rgba(20,20,25,.55); }
.workframe__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--cream-2); border-bottom: 1px solid var(--warm); }
.workframe__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfc9bd; }
.workframe__url { margin-left: 10px; font-family: var(--disp); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cool); }
.workframe__shot { aspect-ratio: 16 / 10; overflow: hidden; }
.workframe__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.workcard:hover .workframe__shot img { transform: scale(1.045); }
.workframe--brand { aspect-ratio: auto; }
.brandpanel { aspect-ratio: 16 / 10; width: 100%; background: var(--navy); color: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative; }
.brandpanel svg { width: 58px; height: 58px; }
.brandpanel .nm { font-family: var(--disp); text-transform: uppercase; letter-spacing: .16em; font-size: clamp(1.4rem, 2.4vw, 2.1rem); }
.brandpanel .mono { color: var(--warm); }
.workcard__meta { display: flex; flex-direction: column; gap: 8px; }
.workcard__meta .mono { color: var(--cool); }
.workcard__meta p { color: var(--slate); max-width: 34em; }

/* ---------- portrait in get in touch ---------- */
.enquire__portrait { border-radius: 6px; overflow: hidden; max-width: 290px; margin-bottom: 4px; }
.enquire__portrait img { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .enquire__portrait img { transform: scale(1.06); transition: transform 1.4s var(--ease); }
  .js [data-reveal].is-in .enquire__portrait img, .js .enquire__portrait.is-in img { transform: none; }
}

/* =========================================================
   PHONES · a considered mobile layer
   More air at the edges, calmer type scale, one rhythm for
   every section, single-column stacks with real breathing room.
   ========================================================= */
@media (max-width: 640px) {
  :root { --gutter: 26px; }
  body { font-size: 16px; line-height: 1.68; }

  /* type: smaller caps, more leading, so headings read rather than shout */
  .mono { font-size: 10.5px; letter-spacing: .24em; }
  .display { font-size: clamp(1.9rem, 8.4vw, 2.3rem); line-height: 1.16; letter-spacing: .03em; }
  .h2 { font-size: clamp(1.4rem, 6.2vw, 1.65rem); line-height: 1.28; letter-spacing: .045em; text-wrap: balance; }
  .h3 { font-size: 1rem; line-height: 1.4; letter-spacing: .12em; }
  .lede { font-size: 1.02rem; line-height: 1.75; }

  /* one vertical rhythm */
  .section { padding-block: 96px; }
  .section__head { gap: 18px; margin-bottom: 52px; }
  .section__head .mono { padding-top: 0; }

  /* header */
  .site-header .wrap { height: 68px; }
  .wordmark { font-size: 16px; }
  .site-header .btn { min-height: 38px; padding: 0 18px; font-size: 11px; letter-spacing: .1em; }

  /* hero: no forced full-height gap, calmer stack */
  .hero { min-height: auto; padding-top: 136px; }
  .hero__inner { gap: 30px; padding-bottom: 40px; }
  .hero__row { gap: 36px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero__meta { flex-direction: column; gap: 10px; padding-block: 22px 4px; }
  .btn { min-height: 50px; padding: 0 26px; }

  /* image band */
  .showreel { height: 360px; }
  .showreel__line { flex-direction: column; gap: 4px; }
  .showreel__line .mono.b { display: none; }
  .marquee { padding-block: 16px; }
  .marquee__track { gap: 28px; }
  .marquee__track span { font-size: .95rem; letter-spacing: .1em; }

  /* services: stack number, title, copy */
  .service { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 36px; }
  .service p, .service ul { grid-column: auto; }
  .service .mono { padding-top: 0; }
  .service:hover .h3 { transform: none; }
  .service ul { margin-top: 6px; display: flex; flex-direction: column; gap: 2px; }

  /* who tiles: one per row, captions readable */
  .whotiles { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .whotile { aspect-ratio: 5 / 4; }
  .whotile__cap { padding: 22px; gap: 8px; }
  .whotile__cap p { font-size: 14.5px; max-width: 30ch; }
  .whotile::after { background: linear-gradient(180deg, rgba(22,27,47,0) 30%, rgba(22,27,47,.8)); }

  /* process */
  .steps { gap: 44px; }
  .step { padding-top: 22px; gap: 10px; }
  .step .num { font-size: 2.1rem; }
  .step p { font-size: 15.5px; }

  /* work */
  .work { gap: 64px; }
  .workcard { gap: 22px; }
  .workframe { border-radius: 8px; }
  .workframe__bar { padding: 9px 12px; }
  .workframe__bar i { width: 8px; height: 8px; }
  .workcard__meta { gap: 10px; }
  .work__more { margin-top: 48px; }

  /* about */
  .about { gap: 40px; }
  .about__facts div { flex-direction: column; gap: 2px; padding-block: 16px; }
  .about__facts dd { text-align: left; }

  /* faq */
  .faq summary { font-size: .98rem; line-height: 1.45; letter-spacing: .07em; padding-block: 24px; gap: 20px; }
  .faq summary::after { flex: none; font-size: 20px; }
  .faq details p { padding-bottom: 26px; }

  /* enquire */
  .enquire { gap: 64px; }
  .enquire__side { gap: 30px; }
  .enquire__portrait { max-width: 240px; }
  .enquire__alt { gap: 14px; padding-top: 28px; }
  .form { gap: 30px; }
  .field label { font-size: 10.5px; letter-spacing: .2em; }
  .form .btn { margin-top: 8px; }

  /* footer: stacked and spaced, not a squeeze */
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 48px 56px; }
  .site-footer .links { gap: 28px; }

  /* packages (shared) */
  .package { padding: 32px 26px; }
  .expect div { grid-template-columns: 40px minmax(0, 1fr); padding-block: 26px; }
}
@media (max-width: 640px) {
  .hero__inner { padding-bottom: 0; }
  .hero__meta { padding-block: 22px 44px; margin-top: 36px; }
}
