/* InspectGo · Blue and white A direction · 13 October 2026
   Component rules have one source; viewport changes are grouped below. */

/* 01 — Tokens, document and shared controls */
:root {
  --ink: #102745;
  --muted: #536a83;
  --blue: #1163ef;
  --pale: #f2f7ff;
  --line: #dbe6f4;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --micro: .2s;
  --ui: .4s;
  --reveal: .9s;
  --hero: 1.2s;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a, summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button, input, select, textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 550;
  letter-spacing:-0.025em;
}

h2 {
  font-size: 48px;
  line-height: 1.1;
}

h3 {
  font-size: 24px;
  line-height: 1.25;
}

h1 > span:not(.title-mask), h2 > span:not(.title-mask), .accent {
  color: var(--blue);
}

.title-mask {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.title-line {
  display: block;
}

.title-line.is-sweeping {
  background: linear-gradient(105deg, var(--blue) 30%, #77adff 45%, var(--blue) 60%);
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-sweep var(--hero) var(--ease) both;
}

@keyframes title-sweep {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding-block: 80px;
}

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #78acff;
  outline-offset: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 30px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
  box-shadow: 0 6px 15px #1767ee25;
  transition: transform var(--micro) var(--ease), box-shadow var(--micro) var(--ease), background var(--micro);
}

.btn:hover {
  transform: translateY(-2px);
  background: #0759e2;
  box-shadow: 0 12px 25px #1767ee30;
}

.btn:active {
  transform: scale(.97);
  transition-duration: .08s;
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #d9e4f3;
  box-shadow: none;
}

.btn.secondary:hover {
  border-color: #b5ceeF;
  background: #f8fbff;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 0;
  border: 0;
  background: none;
  color: #135edb;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
  cursor: pointer;
}

.textlink span {
  transition: transform var(--micro) var(--ease);
}

.textlink:hover span {
  transform: translateX(4px);
}


/* 02 — Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffffed;
  border-bottom: 1px solid transparent;
  transition: background var(--ui), border-color var(--ui), box-shadow var(--ui);
}

.site-header.is-scrolled {
  background: #ffffffdc;
  border-color: #e1eaf4;
  box-shadow: 0 4px 24px #12376506;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.8px;
}

.brand img {
  width: 37px;
  flex: none;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: #425972;
}

.nav-links a {
  position: relative;
  padding-block: 12px;
  transition: color var(--micro);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--micro) var(--ease);
}

.nav-links a:hover, .nav-links a.is-active, .nav-links a[aria-current] {
  color: var(--blue);
}

.nav-links a.is-active::after, .nav-links a[aria-current]::after {
  transform: scaleX(1);
}

.nav-cta {
  border: 0;
  cursor: pointer;
  padding: 12px 19px;
  border-radius: 30px;
  background: #edf4ff;
  color: #135bc8;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
  transition: background var(--micro);
}

.nav-cta:hover {
  background: #e0edff;
}

.iphone {
  position: relative;
  display: block;
  width: 100%;
  padding: 3px;
  border: 0;
  border-radius: 40px;
  background: linear-gradient(105deg, #728090 0%, #eff2f5 4%, #aab6c3 8%, #6d7b8b 11%, #d3dbe1 50%, #f6f8fb 88%, #7c8a98 96%, #bac4ce 100%);
  box-shadow: 1px 0 0 #516174, -1px 0 0 #c0cbd4, 0 28px 55px #24486d30, 0 4px 8px #1c33502b;
  text-align: left;
  cursor: zoom-in;
  transition: box-shadow var(--ui) var(--ease);
}

.iphone:hover {
  box-shadow: 1px 0 0 #516174, -1px 0 0 #c0cbd4, 0 32px 65px #24486d40;
}

.iphone::before {
  content: "";
  position: absolute;
  top: 20%;
  left: -3px;
  width: 3px;
  height: 6%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, #7c8b9b, #d4dce4);
  box-shadow: 0 46px 0 #8794a3;
}

.iphone::after {
  content: "";
  position: absolute;
  top: 28%;
  right: -3px;
  width: 3px;
  height: 9%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #c8d1da, #6b7d8e);
}

.iphone-glass {
  position: relative;
  display: block;
  padding: 5px;
  overflow: hidden;
  border-radius: 37px;
  background: #11161c;
  box-shadow: inset 0 0 0 1px #414951;
}

.iphone-glass img {
  width: 100%;
  height: auto;
  border-radius: 32px;
}

/* 04 — Overview image */
.section-heading {
  max-width: 650px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p {
  max-width: 580px;
  margin: 22px auto 0;
}

/* 06 — Review: real phone behind a separate evidence photograph */
.product {
  overflow: clip;
  background: var(--pale);
}

.rv-layout {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 44px;
  align-items: center;
}

.rv-copy {
  min-width: 0;
}

.rv-copy h2 {
  margin-bottom: 24px;
}

.rv-copy > p {
  max-width: 500px;
}

.rv-points {
  margin: 29px 0 0;
  padding: 0;
  list-style: none;
}

.rv-points li {
  padding: 16px 0;
  border-top: 1px solid #d6e3f4;
  font-size: 19px;
  line-height: 1.55;
}

.review-visual {
  position: relative;
  display: grid;
  grid-template-columns: 45% 15% 40%;
  align-items: center;
  width: 100%;
  max-width: 582px;
  margin-inline: auto;
  min-width: 0;
  isolation: isolate;
}

.review-visual::before {
  content: "";
  position: absolute;
  inset: 5% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, #c8e0ff80, transparent 68%);
  pointer-events: none;
}

.rv-phone {
  grid-area: 1 / 2 / 2 / 4;
  justify-self: end;
  width: 100%;
  max-width: 320px;
  z-index: 1;
}

.rv-evidence {
  grid-area: 1 / 1 / 2 / 3;
  align-self: end;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  margin-bottom: 44px;
  padding: 18px;
  border: 1px solid #e0e9f4;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 19px 44px #24486d1b, 0 3px 8px #24486d0a;
}

.rv-selector {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid #e0e8f2;
  border-radius: 24px;
  background: #f0f5fc;
  isolation: isolate;
}

.rv-selector-track {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc((100% - 8px) / 2);
  height: calc(100% - 8px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 6px #24486d14;
  transform: translateX(100%);
  transition: transform var(--ui) var(--ease);
}

.rv-selector button {
  position: relative;
  z-index: 1;
  min-height: 36px;
  padding: 8px 9px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: #536a83;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--micro);
}

.rv-selector button[aria-pressed="true"] {
  color: #155fd4;
}

.rv-selector button:hover {
  color: #145bc8;
}

.rv-photo {
  position: relative;
  display: grid;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 11px;
  background: #e7e6e0;
  cursor: zoom-in;
}

.rv-photo img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--ui) var(--ease), scale .6s var(--ease);
}

.rv-photo img.is-active {
  opacity: 1;
}

.rv-photo:hover img {
  scale: 1.025;
}

.rv-expand {
  position: absolute;
  right: 11px;
  bottom: 11px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fffffff2;
  color: #234969;
  font-size: 21px;
  line-height: 1;
  box-shadow: 0 2px 10px #10274515;
  transition: transform var(--micro);
}

.rv-photo:hover .rv-expand {
  transform: scale(1.08);
}

.rv-caption {
  padding-top: 20px;
}

.rv-caption-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.rv-caption h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.6px;
}

.rv-caption-head > span {
  color: #546c85;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.rv-caption p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.65;
}

.rv-caption .textlink {
  margin-top: 18px;
  font-size: 14px;
}

/* 07 — PDF sheets, section selector and two-page groups */
.reports {
  overflow: clip;
  background: linear-gradient(#fff, #f7faff);
  padding-bottom: 84px;
}

.report-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 64px;
}

.report-heading h2 {
  flex: none;
  font-size: 47px;
}

.report-heading p {
  max-width: 370px;
  margin-bottom: 3px;
}

.pdf-deck {
  --leaf-offset: 270px;
  position: relative;
  height: 550px;
  margin-top: 48px;
  perspective: 1200px;
  isolation: isolate;
  transform-origin: center bottom;
}

.pdf-deck::before {
  content: "";
  position: absolute;
  inset: 12% -5% -2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, #bdd9ff85, transparent 69%);
  pointer-events: none;
}

.pdf-leaf {
  --position: 0;
  --leaf-scale: 1;
  --leaf-y: 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  width: 560px;
  margin-left: -280px;
  transform: translate(calc(var(--position) * var(--leaf-offset)), var(--leaf-y)) rotate(calc(var(--position) * 11deg)) scale(var(--leaf-scale));
  transform-origin: center;
}

.pdf-leaf.is-front {
  --position: 0;
  --leaf-scale: 1;
  --leaf-y: 16px;
  z-index: 3;
}

.pdf-leaf.is-right {
  --position: 1;
  --leaf-scale: .78;
  --leaf-y: 0px;
  z-index: 1;
}

.pdf-leaf.is-left {
  --position: -1;
  --leaf-scale: .78;
  --leaf-y: 0px;
  z-index: 1;
}

.pdf-leaf button {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #dce6f3;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 26px 54px #143c6a22, 0 2px 5px #143c6a12;
  cursor: zoom-in;
  transition: box-shadow var(--micro) var(--ease), transform var(--micro) var(--ease);
}

.pdf-leaf button:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 64px #143c6a30;
}

.pdf-leaf img {
  aspect-ratio: 279.4 / 215.9;
  object-fit: contain;
  background: #fff;
}

.pdf-leaf figcaption {
  margin-top: 17px;
  color: #395b80;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.report-selector {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 360px;
  margin: 0 auto 15px;
  padding: 4px;
  border: 1px solid #dce7f5;
  border-radius: 30px;
  background: #eaf1fc;
  isolation: isolate;
}

.report-selector button {
  position: relative;
  z-index: 1;
  padding: 11px 14px;
  border: 0;
  background: none;
  color: #45617f;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.report-selector button[aria-pressed="true"] {
  color: #115cce;
}

.selector-track {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  height: calc(100% - 8px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 7px #25457215;
  transition: transform var(--ui) var(--ease);
}

.report-pagination {
  display: grid;
  place-items: start center;
  min-height: 58px;
  margin: 0 auto 24px;
}

.report-pagination p {
  color: #4b6682;
  font-size: 13px;
  line-height: 38px;
}

.report-page-buttons {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #4b6682;
  font-size: 13px;
}

.report-page-buttons span {
  min-width: 165px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.report-page-buttons button {
  width: 38px;
  height: 38px;
  border: 1px solid #d8e4f5;
  border-radius: 50%;
  background: #fff;
  color: #155fc9;
  font-size: 19px;
  cursor: pointer;
  transition: background var(--micro), transform var(--micro);
}

.report-page-buttons button:hover {
  transform: translateY(-2px);
  background: #e7f1ff;
}

.report-page-buttons button:active {
  transform: scale(.94);
}

.report-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 855px;
  margin-inline: auto;
  padding-top: 28px;
  border-top: 1px solid #dce6f3;
}

.report-summary h3 {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.75px;
}

.report-summary h3 br {
  display: none;
}

.report-summary p {
  margin-top: 11px;
  font-size: 18px;
}

/* 08 — Tenancy scenarios */
.scenario-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.scenario-head p {
  max-width: 350px;
}

.scenario-track {
  position: relative;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}

.scenario-line {
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  height: 1px;
  overflow: hidden;
  background: #d5e3f6;
}

.scenario-line > span {
  display: block;
  width: 100%;
  height: 100%;
  background: #75a5ef;
  transform: scaleX(0);
  transform-origin: left;
}

.scenario {
  position: relative;
  padding-top: 41px;
}

.scenario-node {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #c4d8f5;
  box-shadow: 0 0 0 1px #cadbf2;
}

.scenario h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.scenario p {
  font-size: 18px;
  line-height: 1.65;
}

/* 09 — Contact form and review-only preview */
.contact-section {
  margin-bottom: 38px;
  padding: 96px 0 88px;
  border-block: 1px solid #e5eef8;
  background: radial-gradient(ellipse at 8% 84%, #d4e7ff 0, #edf5ff 34%, #f5f9ff 66%, #f9fbff);
}

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 68px;
  align-items: start;
}

.contact-intro {
  min-width: 0;
  padding-top: 30px;
}

.contact-eyebrow {
  display: block;
  margin-bottom: 27px;
  color: #135dcc;
  font-size: 16px;
  line-height: 1.5;
}

.contact-intro h2 {
  margin-bottom: 24px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -1.9px;
}

.contact-intro > p {
  max-width: 355px;
}

.contact-signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 46px;
  font-size: 16px;
  font-weight: 550;
}

.contact-signature img {
  width: 42px;
  flex: none;
  border-radius: 12px;
}

.contact-signature small {
  display: block;
  margin-top: 7px;
  color: #4c6987;
  font-size: 13px;
  font-weight: 400;
}

.contact-panel {
  min-width: 0;
  padding: 34px;
  border: 1px solid #e0eaf8;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 20px 60px #1542750a;
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 29px;
}

.form-heading h3 {
  font-size: 26px;
}

.form-heading > span {
  color: #526b85;
  font-size: 13px;
  white-space: nowrap;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px 18px;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #253f5c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.field label > span {
  color: #125fd9;
}

.field label small {
  margin-left: 3px;
  color: #586d84;
  font-size: 13px;
  font-weight: 400;
}

.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  padding: 12px 13px;
  border: 1px solid #d6e2f0;
  border-radius: 9px;
  background: #f8faff;
  color: #153351;
  font-size: 16px;
  transition: box-shadow var(--micro), border-color var(--micro), background var(--micro);
}

.field textarea {
  min-height: 110px;
  line-height: 1.6;
  resize: vertical;
}

.field input:hover, .field select:hover, .field textarea:hover {
  border-color: #a9c9f1;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline-offset: 2px;
  border-color: #3e83ef;
  background-color: #fff;
  box-shadow: 0 0 0 3px #1664df12;
}

.field input:user-invalid {
  border-color: #c34643;
}

.field textarea::placeholder {
  color: #60738b;
  font-size: 14px;
}

.field select {
  padding-right: 34px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 7 4 4 4-4' stroke='%234b6785' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.field-wide {
  grid-column: 1 / -1;
}

.form-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin-top: 25px;
}

.form-bottom p {
  max-width: 340px;
  font-size: 13px;
  line-height: 1.6;
}

.submit-btn {
  justify-content: space-between;
  width: 100%;
  padding-inline: 22px;
  font-size: 15px;
  box-shadow: none;
}

.submit-btn span {
  font-size: 21px;
  font-weight: 400;
  transition: transform var(--micro);
}

.submit-btn:hover span {
  transform: translateX(4px);
}

.enquiry-preview h3 {
  margin-bottom: 18px;
  font-size: 29px;
  line-height: 1.2;
  outline: 0;
}

.preview-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  border-radius: 50%;
  background: #edf4ff;
  color: #1263e6;
  font-size: 25px;
}

.preview-note {
  margin-bottom: 27px;
  font-size: 15px;
  line-height: 1.6;
}

.enquiry-preview dl {
  margin: 0 0 28px;
}

.enquiry-preview dl > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  padding-block: 13px;
  border-top: 1px solid #e6edf6;
}

.enquiry-preview dt {
  color: #4b6682;
  font-size: 13px;
  line-height: 1.6;
}

.enquiry-preview dd {
  margin: 0;
  color: #153452;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.enquiry-preview .btn {
  width: 100%;
}

/* 10 — Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 34px;
}

.footer .brand {
  font-size: 20px;
}

.footer .brand img {
  width: 30px;
}

.footer p {
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.disclosure {
  display: block;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 30px 24px;
  color: #61748b;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

/* 11 — Original-image modal */
[x-cloak] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #0b1d32ed;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid #ffffff24;
  color: #fff;
}

.modal-toolbar h2 {
  min-width: 0;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
}

.modal-controls {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.modal-controls button {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #ffffff50;
  border-radius: 25px;
  background: #ffffff16;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--micro);
}

.modal-controls button:hover {
  background: #ffffff29;
}

.modal-scroll {
  flex: 1;
  min-height: 0;
  padding: 25px;
  overflow: auto;
  overscroll-behavior: contain;
}

.modal-image-frame {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 100%;
  min-height: 100%;
}

.modal-image-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 136px);
  margin-inline: auto;
  border-radius: 7px;
}

.modal-scroll.zoomed .modal-image-frame {
  justify-content: flex-start;
  width: max-content;
}

.modal-scroll.zoomed img {
  flex: none;
  width: 853px;
  max-width: none;
  max-height: none;
}

.modal-scroll.zoomed.pdf-view img {
  width: 1600px;
}

/* 12 — Medium desktops */
@media (max-width: 1199px) {
  h2 {
    font-size: 44px;
  }
.rv-layout {
    grid-template-columns: .86fr 1.14fr;
    gap: 40px;
  }
  .rv-evidence {
    padding: 15px;
    margin-bottom: 32px;
  }
  .rv-caption-head {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .rv-caption h3 {
    font-size: 21px;
  }
  .rv-selector button {
    padding-inline: 6px;
  }
  .report-heading {
    gap: 40px;
  }
  .report-heading h2 {
    font-size: 42px;
  }
  .pdf-deck {
    --leaf-offset: 205px;
    height: 480px;
  }
  .pdf-leaf {
    width: 490px;
    margin-left: -245px;
  }
  .contact-layout {
    gap: 36px;
    grid-template-columns: .8fr 1.2fr;
  }
  .contact-intro h2 {
    font-size: 40px;
  }
  .contact-panel {
    padding: 28px;
  }
}

/* 13 — Tablet: a static four-step reading layout, without pinning */
@media (max-width: 1023px) {
  .section {
    padding-block: 64px;
  }
  .nav-links {
    gap: 20px;
  }
.rv-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .rv-copy {
    max-width: 630px;
  }
  .rv-copy > p {
    max-width: 560px;
  }
  .rv-points {
    max-width: 560px;
  }
  .rv-evidence {
    padding: 18px;
    margin-bottom: 44px;
  }
  .rv-caption-head {
    flex-wrap: nowrap;
  }
  .report-heading p {
    max-width: 310px;
    font-size: 18px;
  }
  .scenario-grid {
    gap: 28px;
  }
  .scenario h3 {
    font-size: 22px;
  }
  .contact-layout {
    gap: 28px;
  }
  .contact-intro h2 {
    font-size: 37px;
  }
  .form-grid {
    gap: 22px 14px;
  }
}

/* 14 — Phones */
@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }
  .wrap {
    width: calc(100% - 42px);
  }
  .section {
    padding-block: 64px;
  }
  h2 {
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -1.55px;
  }
  .nav {
    gap: 20px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 33px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    padding: 10px 15px;
    font-size: 14px;
  }
  .btn {
    min-height: 48px;
    padding: 13px 18px;
    font-size: 14px;
  }
  .iphone {
    border-radius: 36px;
  }
  .iphone-glass {
    border-radius: 33px;
  }
  .iphone-glass img {
    border-radius: 28px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading p {
    margin-top: 19px;
    font-size: 16px;
  }
.rv-layout {
    gap: 24px;
  }
  .rv-copy {
    display: contents;
  }
  .rv-copy h2 {
    grid-row: 1;
    margin-bottom: 0;
  }
  .rv-copy > p {
    grid-row: 2;
    font-size: 18px;
  }
  .rv-points {
    grid-row: 4;
    margin-top: 0;
  }
  .rv-points li {
    padding-block: 16px;
    font-size: 18px;
  }
  .review-visual {
    grid-row: 3;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    max-width: 430px;
  }
  .rv-phone {
    grid-area: 1 / 1;
    justify-self: center;
    width: 195px;
    max-width: 80%;
  }
  .rv-evidence {
    grid-area: 2 / 1;
    justify-self: center;
    align-self: start;
    max-width: 360px;
    margin-top: -24px;
    margin-bottom: 0;
    padding: 17px;
    border-radius: 18px;
  }
  .rv-selector {
    margin-bottom: 16px;
  }
  .rv-selector button {
    font-size: 14px;
  }
  .rv-photo {
    border-radius: 10px;
  }
  .rv-caption {
    padding-top: 20px;
  }
  .rv-caption h3 {
    font-size: 23px;
  }
  .rv-caption p {
    font-size: 18px;
  }
  .report-heading {
    display: block;
  }
  .report-heading h2 {
    font-size: 36px;
  }
  .report-heading p {
    max-width: 350px;
    margin-top: 22px;
    font-size: 18px;
  }
  .pdf-deck {
    --leaf-offset: 91px;
    height: 342px;
    margin-top: 34px;
  }
  .pdf-leaf {
    top: 27px;
    width: 280px;
    margin-left: -140px;
  }
  .pdf-leaf button {
    padding: 6px;
    box-shadow: 0 17px 36px #143c6a25;
  }
  .pdf-leaf figcaption {
    margin-top: 14px;
  }
  .report-selector {
    max-width: 325px;
  }
  .report-selector button {
    padding: 10px 11px;
    font-size: 13px;
  }
  .report-pagination {
    min-height: 51px;
    margin-bottom: 19px;
  }
  .report-page-buttons {
    gap: 16px;
  }
  .report-summary {
    display: block;
    padding-top: 25px;
  }
  .report-summary h3 {
    font-size: 25px;
  }
  .report-summary h3 br {
    display: block;
  }
  .report-summary p {
    max-width: 280px;
    margin-top: 14px;
    font-size: 18px;
  }
  .report-summary .textlink {
    margin-top: 24px;
  }
  .scenario-head {
    display: block;
    margin-bottom: 34px;
  }
  .scenario-head p {
    margin-top: 20px;
    font-size: 16px;
  }
  .scenario-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .scenario-line {
    top: 7px;
    right: auto;
    bottom: 7px;
    left: 7px;
    width: 1px;
    height: auto;
  }
  .scenario-line > span {
    transform: scaleY(0);
    transform-origin: top;
  }
  .scenario {
    padding: 0 0 0 34px;
  }
  .scenario-node {
    top: 7px;
  }
  .scenario h3 {
    margin-bottom: 10px;
    font-size: 23px;
  }
  .scenario p {
    font-size: 18px;
  }
  .contact-section {
    margin-bottom: 30px;
    padding-block: 58px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-intro {
    padding-top: 0;
  }
  .contact-eyebrow {
    margin-bottom: 22px;
    font-size: 15px;
  }
  .contact-intro h2 {
    margin-bottom: 22px;
    font-size: 37px;
    letter-spacing: -1.6px;
  }
  .contact-intro > p {
    font-size: 18px;
  }
  .contact-signature {
    margin-top: 28px;
    font-size: 15px;
  }
  .contact-panel {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .form-heading {
    gap: 12px;
    margin-bottom: 25px;
  }
  .form-heading h3 {
    font-size: 24px;
  }
  .form-grid {
    gap: 21px 13px;
  }
  .field label small {
    margin-left: 0;
  }
  .field input, .field select, .field textarea {
    min-height: 46px;
    padding: 11px;
  }
  .field:nth-child(n + 3) {
    grid-column: 1 / -1;
  }
  .form-bottom {
    gap: 19px;
    margin-top: 23px;
  }
  .enquiry-preview h3 {
    font-size: 27px;
  }
  .enquiry-preview dl > div {
    grid-template-columns: 78px 1fr;
    gap: 12px;
  }
  .enquiry-preview dd {
    font-size: 14px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 25px;
  }
  .footer p {
    text-align: left;
  }
  .disclosure {
    padding: 0 21px 25px;
    text-align: left;
  }
  .modal-toolbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }
  .modal-toolbar h2 {
    flex-basis: 100%;
    font-size: 15px;
  }
  .modal-controls {
    gap: 8px;
    margin-left: auto;
  }
  .modal-controls button {
    padding: 8px 13px;
    font-size: 13px;
  }
  .modal-scroll {
    padding: 15px;
  }
  .modal-image-frame img {
    max-height: calc(100dvh - 165px);
  }
  .modal-scroll.zoomed.pdf-view img {
    width: 1100px;
  }
}

/* 15 — Smallest widths and motion preference */
@media (max-width: 359px) {
  .wrap {
    width: calc(100% - 32px);
  }
.pdf-deck {
    --leaf-offset: 73px;
  }
  .pdf-leaf {
    width: 250px;
    margin-left: -125px;
  }
  .contact-panel {
    padding-inline: 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .title-line.is-sweeping {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
 .pdf-deck{
    will-change: auto;
  }
}
