:root {
  --ink: #101820;
  --navy: #0d2742;
  --navy-2: #123f72;
  --blue: #2b72ad;
  --blue-soft: #dbeaf5;
  --cream: #f5f2eb;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: rgba(13, 39, 66, 0.14);
  --muted: #5d6873;
  --gold: #e8a129;
  --green: #244b43;
  --shadow: 0 24px 60px rgba(13, 39, 66, 0.12);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shell: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3.1rem, 6vw, 6.25rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.5vw, 4.45rem);
}

h3 {
  color: var(--navy);
  line-height: 1.3;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(13, 39, 66, 0.06);
}

.nav-shell {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  min-height: 82px;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
}

.brand-mark {
  position: relative;
  display: block;
  width: 200px;
  height: 64px;
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200px;
  height: 200px;
  max-width: none;
  object-fit: contain;
  transform: translateY(-50%);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 27px;
}

.site-nav a,
.header-phone {
  position: relative;
  color: #263744;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 14px 22px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--white);
  background: var(--navy-2);
  border: 1px solid var(--navy-2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(35, 104, 162, 0.22);
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 0.78rem;
}

.button--ghost {
  color: var(--navy);
  background: transparent;
  border-color: var(--line);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.visually-hidden) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 64px;
  background:
    radial-gradient(circle at 10% 15%, rgba(43, 114, 173, 0.09), transparent 31%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.hero::after {
  position: absolute;
  top: 40px;
  right: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(43, 114, 173, 0.14);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.92fr);
  min-height: 640px;
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #92c5ef;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: #42515d;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  margin-top: 28px;
  align-items: center;
  gap: 13px;
  color: #4c5b66;
  font-size: 0.82rem;
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hero-media {
  position: relative;
  min-height: 600px;
}

.hero-media > img {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 58% center;
}

.hero-media::before {
  position: absolute;
  z-index: -1;
  right: -24px;
  bottom: -24px;
  width: 72%;
  height: 70%;
  border-radius: var(--radius-lg);
  content: "";
  background: var(--blue-soft);
}

.hero-note {
  position: absolute;
  right: -28px;
  bottom: 34px;
  display: flex;
  min-width: 280px;
  padding: 18px 20px;
  align-items: center;
  gap: 13px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(13, 39, 66, 0.18);
}

.hero-note__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 700;
}

.hero-note strong,
.hero-note small {
  display: block;
  line-height: 1.35;
}

.hero-note strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.hero-note small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.credentials {
  color: var(--white);
  background: var(--navy);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.credential-grid > div {
  min-height: 132px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.credential-grid > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.credential-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
}

.credential-grid span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  line-height: 1.4;
}

.section {
  padding: clamp(88px, 10vw, 144px) 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 58px;
}

.section-heading > p:last-child,
.section-heading--split > p {
  color: var(--muted);
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: clamp(40px, 9vw, 120px);
}

.section-heading--split > p {
  margin-bottom: 24px;
}

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

.service-card {
  position: relative;
  min-height: 470px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.service-card:hover {
  border-color: rgba(43, 114, 173, 0.38);
  box-shadow: 0 22px 48px rgba(13, 39, 66, 0.1);
  transform: translateY(-5px);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(13, 39, 66, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.service-card svg {
  width: 44px;
  height: 44px;
  margin-bottom: 38px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.16rem;
}

.service-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.86rem;
}

.service-card ul {
  margin: auto 0 0;
  padding: 22px 0 0;
  display: grid;
  gap: 10px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: #40515e;
  font-size: 0.73rem;
  line-height: 1.5;
}

.service-card li::before {
  position: absolute;
  top: 0.61em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.process-section {
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(43, 114, 173, 0.13), transparent 46%),
    var(--navy);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1fr);
  gap: clamp(65px, 11vw, 150px);
}

.process-intro h2 {
  color: var(--white);
}

.process-intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
}

.text-link--light {
  color: var(--white);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  padding: 32px 0;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list > li > span {
  color: #92c5ef;
  font-size: 0.75rem;
  font-weight: 700;
}

.process-list h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
}

.projects-section {
  background: var(--cream);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(13, 39, 66, 0.1);
  box-shadow: 0 16px 38px rgba(13, 39, 66, 0.07);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.project-card:hover {
  border-color: rgba(43, 114, 173, 0.32);
  box-shadow: 0 24px 52px rgba(13, 39, 66, 0.13);
  transform: translateY(-5px);
}

.project-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #e7ecef;
}

.project-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 62%, rgba(5, 18, 31, 0.42));
  pointer-events: none;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.project-card--plan .project-card__media,
.project-card--drawing .project-card__media {
  background: #f4f6f7;
}

.project-card--plan .project-card__media img {
  padding: 10px;
  object-fit: contain;
}

.project-card--drawing .project-card__media img {
  object-position: center;
}

.project-card:hover .project-card__media img {
  transform: scale(1.035);
}

.project-card__media figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(7, 26, 45, 0.76);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.project-card__body {
  padding: 27px 27px 25px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-type {
  color: var(--blue);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 9px 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 600;
}

.project-card__body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.report-excerpt {
  margin-top: 22px;
  padding: 18px;
  background: #f4f7f9;
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
}

.report-excerpt > span {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.report-excerpt p {
  margin: 0;
  color: #41515d;
  font-size: 0.71rem;
  line-height: 1.62;
}

.project-tags {
  margin: auto 0 0;
  padding: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.project-tags li {
  padding: 6px 9px;
  color: #385268;
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 0.59rem;
  font-weight: 700;
}

.project-note {
  max-width: 880px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.69rem;
}

.fees-section {
  background: var(--paper);
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fee-card {
  min-height: 310px;
  padding: 36px;
  background: var(--white);
}

.fee-card > span {
  display: block;
  min-height: 46px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fee-card strong {
  display: inline-block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.fee-card small {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fee-card p {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.fee-card--accent {
  color: var(--white);
  background: var(--navy-2);
}

.fee-card--accent > span,
.fee-card--accent strong,
.fee-card--accent small {
  color: var(--white);
}

.fee-card--accent p {
  color: rgba(255, 255, 255, 0.68);
}

.fee-note {
  max-width: 960px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.reviews-section {
  background: var(--blue-soft);
}

.reviews-header {
  display: grid;
  margin-bottom: 54px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
}

.reviews-header h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.rating-card {
  min-width: 230px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(13, 39, 66, 0.1);
  border-radius: 18px;
}

.rating-card strong,
.rating-card > span:last-child {
  display: block;
}

.rating-card strong {
  margin: 5px 0 2px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.rating-card > span:last-child {
  color: var(--muted);
  font-size: 0.72rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
}

.review-card {
  display: flex;
  min-height: 350px;
  padding: 32px;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(13, 39, 66, 0.07);
}

.review-card blockquote {
  margin: 26px 0 34px;
  flex: 1;
  color: #31414d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.75;
}

.review-card footer {
  display: flex;
  padding-top: 18px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.review-card footer strong {
  color: var(--navy);
  font-size: 0.82rem;
}

.review-card footer span {
  color: var(--muted);
  font-size: 0.66rem;
}

.reviews-footer {
  display: flex;
  margin-top: 30px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.reviews-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(60px, 10vw, 140px);
}

.about-media {
  position: relative;
  min-height: 700px;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(43, 114, 173, 0.72), rgba(13, 39, 66, 0.94)),
    var(--navy);
  border-radius: var(--radius-lg);
}

.about-media::before,
.about-media::after {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.about-media::before {
  top: -100px;
  right: -90px;
}

.about-media::after {
  bottom: -140px;
  left: -100px;
}

.about-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 470px;
}

.about-logo img {
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.2));
}

.about-practice {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 28px;
  left: 28px;
  padding: 17px 19px;
  background: rgba(5, 24, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.about-practice span,
.about-practice strong {
  display: block;
}

.about-practice span {
  color: #acd4f3;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-practice strong {
  margin-top: 4px;
  color: var(--white);
  font-size: 0.78rem;
}

.about-caption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
}

.about-caption strong,
.about-caption span {
  display: block;
}

.about-caption strong {
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.about-caption span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.about-lead {
  color: #354653;
  font-size: 1.08rem;
  line-height: 1.8;
}

.about-copy > p:not(.eyebrow):not(.about-lead) {
  color: var(--muted);
}

.about-principles {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.about-principles > div {
  min-height: 150px;
  padding: 19px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.about-principles strong,
.about-principles span {
  display: block;
}

.about-principles strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.about-principles span {
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.55;
}

.qualification-list {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.qualification-list span {
  min-height: 76px;
  padding: 16px;
  display: flex;
  align-items: center;
  color: var(--navy);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 700;
}

.contact-section {
  padding: clamp(90px, 10vw, 142px) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 6% 15%, rgba(60, 143, 206, 0.26), transparent 32%),
    var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 0.95fr);
  gap: clamp(65px, 10vw, 130px);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow):not(.service-area) {
  color: rgba(255, 255, 255, 0.7);
}

.contact-links {
  display: grid;
  margin: 38px 0 24px;
  gap: 12px;
}

.contact-links a {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  transition: background 180ms ease, border-color 180ms ease;
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.contact-links span,
.contact-links strong {
  display: block;
}

.contact-links span {
  margin-bottom: 2px;
  color: #92c5ef;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-links strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.service-area {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.71rem;
}

.quote-form {
  padding: clamp(28px, 4vw, 46px);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.quote-form label {
  display: block;
  margin-bottom: 17px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8f9f9;
  border: 1px solid #d9dfe3;
  border-radius: 10px;
  outline: none;
  font-size: 0.82rem;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.quote-form textarea {
  min-height: 142px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 114, 173, 0.12);
}

.quote-form .consent {
  display: flex;
  margin: 2px 0 22px;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0;
}

.quote-form .consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex: 0 0 17px;
}

.quote-form .consent a {
  color: var(--blue);
  text-decoration: underline;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-submit {
  width: 100%;
}

.form-submit[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.form-status.is-success {
  color: #17683c;
}

.form-status.is-error {
  color: #a62e2e;
}

.site-footer {
  padding: 70px 0 26px;
  color: rgba(255, 255, 255, 0.64);
  background: #071a2d;
}

.footer-grid {
  display: grid;
  padding-bottom: 52px;
  grid-template-columns: 1.45fr repeat(3, 0.7fr);
  gap: 48px;
}

.brand--footer {
  margin-bottom: 10px;
}

.brand--footer .brand-mark {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-grid > div:first-child p {
  max-width: 380px;
  font-size: 0.76rem;
}

.footer-grid h3 {
  margin: 11px 0 18px;
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid > div > span {
  display: block;
  margin: 8px 0;
  font-size: 0.72rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.63rem;
}

.mobile-call {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(43, 114, 173, 0.38);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: 190px 1fr auto;
    gap: 16px;
  }

  .site-nav {
    gap: 18px;
  }

  .header-phone {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(400px, 0.85fr);
    gap: 50px;
  }

  .hero-note {
    right: 18px;
  }
}

@media (max-width: 940px) {
  .shell {
    width: min(var(--shell), calc(100% - 36px));
  }

  .nav-shell {
    display: flex;
    min-height: 74px;
    justify-content: space-between;
  }

  .brand-mark {
    width: 180px;
    height: 58px;
  }

  .brand-mark img {
    width: 180px;
    height: 180px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    top: 74px;
    right: 0;
    left: 0;
    display: flex;
    padding: 28px 24px 38px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 38px rgba(13, 39, 66, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
  }

  .site-nav a::after {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-media,
  .hero-media > img {
    min-height: 520px;
    height: 520px;
  }

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

  .credential-grid > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .section-heading--split,
  .process-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading--split {
    gap: 10px;
  }

  .section-heading--split > p {
    max-width: 700px;
  }

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

  .process-grid {
    gap: 54px;
  }

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

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: auto;
  }

  .about-media {
    min-height: 520px;
  }

  .contact-grid {
    gap: 52px;
  }

  .contact-copy {
    max-width: 720px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 0.8fr);
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    padding-bottom: 58px;
  }

  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .header-actions {
    display: none;
  }

  .brand-mark {
    width: 165px;
    height: 54px;
  }

  .brand-mark img {
    width: 165px;
    height: 165px;
  }

  .hero {
    padding: 42px 0 44px;
  }

  .hero-grid {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.1rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    align-items: flex-start;
  }

  .hero-media,
  .hero-media > img {
    min-height: 430px;
    height: 430px;
  }

  .hero-media > img {
    border-radius: 24px;
  }

  .hero-media::before {
    right: -8px;
    bottom: -12px;
  }

  .hero-note {
    right: 12px;
    bottom: 18px;
    left: 12px;
    min-width: 0;
  }

  .credential-grid {
    grid-template-columns: 1fr 1fr;
  }

  .credential-grid > div {
    min-height: 108px;
    padding: 20px 16px;
  }

  .credential-grid strong {
    font-size: 1.55rem;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .service-grid,
  .fee-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 28px;
  }

  .service-card svg {
    margin-bottom: 34px;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card__media {
    aspect-ratio: 3 / 2;
  }

  .project-card__body {
    padding: 24px;
  }

  .fee-card {
    min-height: 280px;
    padding: 30px;
  }

  .reviews-header {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .rating-card {
    min-width: 0;
  }

  .review-card {
    padding: 26px;
  }

  .review-card blockquote {
    font-size: 1rem;
  }

  .reviews-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .reviews-footer .button {
    width: 100%;
  }

  .reviews-actions {
    width: 100%;
    flex-direction: column;
  }

  .about-media {
    min-height: 430px;
    padding: 20px;
  }

  .about-logo {
    transform: scale(1.08);
  }

  .about-practice {
    top: 18px;
    right: 18px;
    left: 18px;
  }

  .about-caption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principles > div {
    min-height: 0;
  }

  .qualification-list {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote-form {
    padding: 25px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-call {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--navy-2);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(13, 39, 66, 0.28);
    font-size: 0.8rem;
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Dedicated engineering service pages */
.service-page .reveal{opacity:1;transform:none}
.service-page-hero{padding:72px 0;background:var(--blue-soft)}
.service-page-hero h1{max-width:950px;font-size:clamp(2.6rem,5.2vw,4.9rem)}
.service-page-hero .hero-lead{max-width:840px}
.breadcrumbs{margin-bottom:28px;font-size:.78rem;color:var(--muted)}
.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
.service-detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr);gap:64px}
.service-detail-grid h2,.service-related h2{font-size:clamp(2rem,3.5vw,3rem)}
.service-detail-grid h3{margin:32px 0 12px;font-size:1.15rem}
.service-detail-grid li{margin-bottom:12px}
.service-enquiry{align-self:start;padding:30px;background:var(--blue-soft);border-radius:22px}
.service-enquiry h2{font-size:1.9rem}
.service-enquiry .button{margin:8px 0;width:100%}
.service-enquiry p{font-size:.84rem}
.service-faq details{padding:20px 0;border-bottom:1px solid var(--line)}
.service-faq summary{cursor:pointer;font-weight:600;color:var(--navy)}
.service-faq details p{margin:16px 0 0}
.service-related{background:var(--cream)}
.service-related-links{display:flex;flex-wrap:wrap;gap:12px}
.service-related-links a{padding:12px 18px;border:1px solid var(--line);border-radius:12px;background:white}
.service-card>.text-link{margin-top:18px;display:inline-block}
@media(max-width:940px){.service-detail-grid{grid-template-columns:1fr;gap:38px}}
@media(max-width:680px){.service-page-hero{padding:42px 0}.service-enquiry{padding:24px}}
