:root {
  --ink: #222222;
  --charcoal: #2c2c2d;
  --muted: #6f6e6b;
  --paper: #f4f1eb;
  --white: #ffffff;
  --orange: #ff6a2a;
  --orange-dark: #e94e1b;
  --line: rgba(34, 34, 34, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--orange); color: var(--white); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1380px, calc(100% - 64px));
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}
.brand-mark { width: 38px; height: 44px; display: grid; place-items: center; overflow: hidden; }
.brand-mark img { width: 42px; height: 42px; object-fit: contain; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 0.93rem; letter-spacing: 0.14em; }
.brand small { margin-top: 5px; font-size: 0.52rem; letter-spacing: 0.35em; opacity: 0.66; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-links > a:not(.nav-cta) { position: relative; }
.nav-links > a:not(.nav-cta)::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 180ms ease;
}
.nav-links > a:hover::after, .nav-links > a:focus-visible::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 45px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--white); color: var(--ink); }
.menu-button { display: none; }

.hero {
  min-height: 770px;
  padding: 160px max(32px, calc((100vw - 1380px) / 2)) 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 33%, rgba(255, 106, 42, 0.14), transparent 28%),
    linear-gradient(120deg, #202020 0%, #2d2d2e 56%, #262626 100%);
}
.hero-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(46px, 7vw, 112px);
  align-items: center;
}
.kicker, .mini-kicker { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 12px; color: #d6d2cc; }
.kicker > span { width: 34px; height: 2px; background: var(--orange); }
.hero h1 {
  max-width: 760px;
  margin: 24px 0 26px;
  font-size: clamp(3.2rem, 6.1vw, 6.65rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.062em;
}
h1 em, h2 em { color: var(--orange); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lede { max-width: 630px; margin: 0; color: #c7c4bf; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 56px;
  padding: 0 27px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: #ff7b42; }
.text-link, .inline-link { font-size: 0.86rem; font-weight: 700; }
.text-link span, .inline-link span { margin-left: 7px; color: var(--orange); transition: margin 180ms ease; }
.text-link:hover span, .inline-link:hover span { margin-left: 12px; }

.hero-visual { position: relative; min-height: 455px; }
.hero-image-wrap {
  position: absolute;
  inset: 24px 0 0 7%;
  overflow: hidden;
  border-radius: 52% 48% 18% 18% / 38% 42% 18% 24%;
  background: #dedbd3;
}
.hero-image-wrap::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 106, 42, 0.17), transparent 44%, rgba(22, 22, 22, 0.38));
}
.hero-image-wrap img { object-fit: cover; object-position: 42% 50%; filter: saturate(0.72) contrast(1.03); }
.hero-orbit { position: absolute; top: -13px; right: -72px; width: 280px; height: 280px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; }
.hero-orbit::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  top: 68px;
  left: 13px;
  box-shadow: 0 0 0 9px rgba(255, 106, 42, 0.15);
}
.hero-note { position: absolute; right: -22px; bottom: -7px; width: 245px; padding: 22px; background: var(--orange); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28); }
.hero-note span { font-size: 0.68rem; font-weight: 800; opacity: 0.74; }
.hero-note p { margin: 16px 0 0; font-size: 0.84rem; line-height: 1.55; font-weight: 600; }
.hero-proof {
  max-width: 1380px;
  margin: 78px auto 0;
  min-height: 108px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.4fr;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-proof > div { min-height: 66px; display: flex; align-items: center; gap: 12px; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.hero-proof strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 400; color: var(--orange); }
.hero-proof span, .hero-proof > p { color: #aaa7a2; font-size: 0.71rem; line-height: 1.4; }
.hero-proof > p { margin: 0; padding-left: 36px; text-align: right; }

.sector-strip {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px max(32px, calc((100vw - 1380px) / 2));
  background: var(--orange);
  color: var(--white);
}
.sector-strip > p { margin: 0; flex: none; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; opacity: 0.75; }
.sector-strip > div { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sector-strip span { font-size: clamp(0.77rem, 1vw, 0.9rem); font-weight: 700; white-space: nowrap; }

.section { padding: 120px max(32px, calc((100vw - 1380px) / 2)); }
.section-label { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.section-label span { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; font-size: 0.66rem; font-weight: 800; }
.section-label p { margin: 0; font-size: 0.71rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.about { min-height: 655px; }
.about-content { margin-top: 70px; display: grid; grid-template-columns: 1.12fr 0.72fr; gap: clamp(70px, 12vw, 180px); align-items: start; }
.statement { max-width: 780px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 4.2vw, 4.6rem); line-height: 1.06; letter-spacing: -0.04em; }
.statement strong { color: var(--orange-dark); font-weight: 400; }
.about-detail p { margin: 0 0 22px; color: #5d5b57; font-size: 1rem; line-height: 1.8; }
.inline-link { display: inline-block; margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }

.services { background: var(--charcoal); color: var(--white); }
.section-label.light { color: #aaa6a0; }
.section-label.light span { border-color: rgba(255, 255, 255, 0.2); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 68px; }
.section-heading h2, .approach h2, .trust h2, .contact h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.6rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.055em; }
.section-heading h2 { max-width: 760px; }
.service-explorer { display: grid; grid-template-columns: 0.72fr 1.58fr; gap: 72px; }
.service-tabs { display: flex; flex-direction: column; }
.service-tabs button {
  width: 100%;
  min-height: 76px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: transparent;
  color: #999692;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 180ms ease, padding 180ms ease;
}
.service-tabs button span { font-size: 0.64rem; font-weight: 800; }
.service-tabs button b { font-size: 1.15rem; font-weight: 400; opacity: 0; transform: translate(-8px, 8px); transition: opacity 180ms ease, transform 180ms ease; }
.service-tabs button:hover, .service-tabs button:focus-visible, .service-tabs button.active { color: var(--white); padding-left: 12px; }
.service-tabs button.active span { color: var(--orange); }
.service-tabs button.active b { color: var(--orange); opacity: 1; transform: translate(0, 0); }
.service-panel { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 500px; background: #f0ede7; color: var(--ink); }
.service-image { position: relative; min-height: 400px; overflow: hidden; }
.service-image::after { position: absolute; content: ""; inset: 0; background: linear-gradient(0deg, rgba(25, 25, 25, 0.45), transparent 55%); }
.service-image img { object-fit: cover; animation: reveal 320ms ease; }
@keyframes reveal { from { opacity: 0.2; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
.service-image > span { position: absolute; z-index: 1; left: 28px; bottom: 24px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--orange); font-size: 0.7rem; font-weight: 800; }
.service-copy { padding: 48px 44px; }
.mini-kicker { color: var(--orange-dark); }
.service-copy h3 { margin: 18px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3vw, 3.35rem); font-weight: 400; line-height: 1.03; letter-spacing: -0.035em; }
.service-copy > p:not(.mini-kicker) { margin: 0; color: #66635e; font-size: 0.95rem; line-height: 1.72; }
.service-copy ul { margin: 30px 0 0; padding: 0; list-style: none; }
.service-copy li { display: flex; gap: 13px; align-items: center; min-height: 40px; border-top: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; }
.service-copy li span { color: var(--orange-dark); }

.approach { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.approach h2 { margin-top: 56px; }
.approach-intro > p:last-child { max-width: 570px; margin: 30px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-grid article { min-height: 250px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 180ms ease, color 180ms ease; }
.process-grid article:hover { background: var(--orange); color: var(--white); }
.process-grid article > span { font-size: 0.67rem; font-weight: 800; color: var(--orange-dark); }
.process-grid article:hover > span, .process-grid article:hover p { color: rgba(255, 255, 255, 0.82); }
.process-grid h3 { margin: 54px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 400; }
.process-grid p { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.65; }

.trust { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 100px; background: #e8e3db; }
.trust h2 { max-width: 700px; margin: 24px 0 28px; }
.trust-copy > p:last-child { max-width: 625px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; border-top: 1px solid var(--line); }
.sector-grid > div { min-height: 116px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.sector-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.sector-grid span { color: var(--orange-dark); font-size: 0.65rem; font-weight: 800; }
.sector-grid p { margin: 26px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }

.contact {
  padding: 116px max(32px, calc((100vw - 1380px) / 2)) 92px;
  color: var(--white);
  background: linear-gradient(90deg, transparent 67%, rgba(255, 106, 42, 0.12) 67%), var(--charcoal);
}
.contact-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 70px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.light-kicker { color: #aaa6a0; margin-bottom: 26px; }
.contact h2 { max-width: 960px; }
.contact-arrow { flex: none; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--white); font-size: 2.2rem; transition: transform 180ms ease; }
.contact-arrow:hover, .contact-arrow:focus-visible { transform: rotate(8deg) scale(1.04); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(70px, 12vw, 170px); padding-top: 64px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.contact form > label, .field-row label { display: flex; flex-direction: column; gap: 11px; color: #aaa6a0; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.contact form > label { margin-top: 28px; }
.contact input, .contact textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: none;
  padding: 14px 0;
  resize: vertical;
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 180ms ease;
}
.contact input:focus, .contact textarea:focus { border-color: var(--orange); }
.contact input::placeholder, .contact textarea::placeholder { color: #7d7975; }
.button-light { margin-top: 28px; background: var(--white); color: var(--ink); }
.button-light:hover, .button-light:focus-visible { background: var(--orange); color: var(--white); }
.form-message { min-height: 20px; margin: 12px 0 0; color: #aaa6a0; font-size: 0.76rem; }
.contact-details { display: flex; flex-direction: column; gap: 36px; }
.contact-details > div { padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.contact-details span { display: block; margin-bottom: 12px; color: var(--orange); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-details a, .contact-details address { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.12rem, 1.8vw, 1.55rem); line-height: 1.42; font-style: normal; overflow-wrap: anywhere; }

footer {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 24px max(32px, calc((100vw - 1380px) / 2));
  background: #1f1f1f;
  color: var(--white);
}
footer p { margin: 0; color: #817e7a; font-size: 0.68rem; }
footer p:last-child { justify-self: end; }

@media (max-width: 1080px) {
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(3.2rem, 7vw, 5.4rem); }
  .service-explorer { grid-template-columns: 0.58fr 1.42fr; gap: 40px; }
  .service-panel { grid-template-columns: 0.95fr 1.05fr; }
  .service-copy { padding: 38px 30px; }
  .approach, .trust { gap: 60px; }
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; gap: 70px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p:nth-child(2) { display: none; }
}

@media (max-width: 900px) {
  .site-header { width: calc(100% - 40px); height: 78px; }
  .menu-button { position: relative; z-index: 3; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; display: grid; place-content: center; gap: 6px; background: transparent; }
  .menu-button span { width: 18px; height: 1px; background: var(--white); }
  .nav-links { position: fixed; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 30px; background: rgba(32, 32, 32, 0.98); transform: translateY(-105%); transition: transform 240ms ease; font-size: 1.35rem; }
  .nav-links.is-open { transform: translateY(0); }
  .nav-cta { height: 54px; }
  .hero { padding-top: 125px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 1; }
  .hero-visual { min-height: 380px; }
  .hero-image-wrap { inset: 0 0 0 9%; }
  .hero-note { right: 0; }
  .hero-proof { margin-top: 55px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-proof > p { display: none; }
  .sector-strip { align-items: flex-start; flex-direction: column; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
  .sector-strip > div { width: 100%; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .section { padding-top: 90px; padding-bottom: 90px; }
  .about-content, .approach, .trust { grid-template-columns: 1fr; gap: 52px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .service-explorer { grid-template-columns: 1fr; }
  .service-tabs { display: grid; grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .service-tabs button { min-height: 82px; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.12); padding: 0 18px; }
  .service-tabs button:hover, .service-tabs button.active { padding-left: 22px; }
  .service-panel { min-height: 540px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 28px); }
  .brand strong { font-size: 0.8rem; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 4.35rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { min-height: 320px; }
  .hero-image-wrap { left: 0; }
  .hero-note { right: -7px; bottom: -18px; width: 206px; padding: 18px; }
  .hero-proof { margin-top: 62px; grid-template-columns: 1fr; padding: 18px 0; }
  .hero-proof > div { min-height: 55px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .section, .sector-strip, .contact, footer { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 74px; padding-bottom: 74px; }
  .about-content { margin-top: 48px; }
  .statement { font-size: clamp(2.25rem, 11.7vw, 3.3rem); }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2, .approach h2, .trust h2, .contact h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .service-panel { grid-template-columns: 1fr; }
  .service-image { min-height: 260px; }
  .service-copy { padding: 34px 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 210px; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-grid > div:nth-child(odd) { border-right: 0; }
  .contact { background: var(--charcoal); }
  .contact-top { align-items: flex-start; flex-direction: column; }
  .contact-arrow { width: 68px; height: 68px; }
  .contact-grid { gap: 56px; }
  .field-row { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; }
  footer p:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Multi-page shared shell */
.nav-links > a.active:not(.nav-cta)::after { width: 100%; }

.site-footer {
  min-height: auto;
  display: block;
  padding: 0 max(32px, calc((100vw - 1380px) / 2));
  background: #1f1f1f;
  color: var(--white);
}
.footer-main {
  min-height: 285px;
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 0.95fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
  padding: 72px 0 54px;
}
.footer-statement {
  max-width: 520px;
  margin: 0;
  color: #b2afaa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.45;
}
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.footer-links > div { display: flex; flex-direction: column; gap: 13px; }
.footer-links span { margin-bottom: 5px; color: var(--orange); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links a { color: #c8c4be; font-size: 0.8rem; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--white); }
.footer-bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.site-footer p { margin: 0; color: #817e7a; font-size: 0.68rem; }

.page-hero {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 70px;
  padding: 175px max(32px, calc((100vw - 1380px) / 2)) 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 28%, rgba(255, 106, 42, 0.16), transparent 26%),
    linear-gradient(120deg, #202020, #303030 58%, #262626);
  color: var(--white);
}
.page-hero.with-image { grid-template-columns: 1.05fr 0.95fr; }
.page-hero-copy { position: relative; z-index: 1; max-width: 790px; }
.page-hero h1 {
  margin: 26px 0 28px;
  font-size: clamp(3.5rem, 6vw, 6.6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.page-hero-copy > p:last-child { max-width: 680px; margin: 0; color: #c3c0bb; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.75; }
.page-hero-index {
  align-self: center;
  color: rgba(255, 255, 255, 0.06);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11rem, 24vw, 24rem);
  line-height: 0.7;
}
.page-hero-image { position: relative; min-height: 360px; overflow: hidden; border-radius: 52% 48% 18% 18% / 42% 42% 18% 22%; }
.page-hero-image::after { position: absolute; content: ""; inset: 0; background: linear-gradient(150deg, rgba(255, 106, 42, 0.12), transparent 46%, rgba(20, 20, 20, 0.42)); }
.page-hero-image img { object-fit: cover; filter: saturate(0.78) contrast(1.03); }
.page-hero-image > span { position: absolute; z-index: 2; right: 22px; bottom: 22px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); font-size: 0.7rem; font-weight: 800; }

.page-cta {
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  padding: 105px max(32px, calc((100vw - 1380px) / 2));
  color: var(--white);
  background: linear-gradient(110deg, #272727 0%, #303030 65%, #3b2b25 100%);
}
.page-cta h2 { max-width: 1030px; margin: 26px 0 0; font-size: clamp(3rem, 5.5vw, 6rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.055em; }

.home-services .section-heading > div:last-child { max-width: 760px; }
.services-all-link { display: inline-block; margin-top: 24px; color: #b8b4ae; }
.home-service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.home-service-card {
  position: relative;
  min-height: 455px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  background: #f0ede7;
  color: var(--ink);
  transition: transform 180ms ease, background 180ms ease;
}
.home-service-card:nth-child(1), .home-service-card:nth-child(2) { grid-column: span 3; }
.home-service-card:nth-child(n+3) { grid-column: span 2; min-height: 420px; }
.home-service-card:hover, .home-service-card:focus-visible { transform: translateY(-5px); background: var(--white); }
.home-service-card > span { color: var(--orange-dark); font-size: 0.65rem; font-weight: 800; }
.home-service-image { position: relative; height: 205px; margin: 18px 0 24px; overflow: hidden; }
.home-service-card:nth-child(n+3) .home-service-image { height: 165px; }
.home-service-image img { object-fit: cover; transition: transform 280ms ease; }
.home-service-card:hover .home-service-image img { transform: scale(1.035); }
.home-service-card h3 { margin: 0 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.2vw, 2.15rem); font-weight: 400; line-height: 1.04; }
.home-service-card p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.home-service-card > b { position: absolute; right: 20px; bottom: 18px; color: var(--orange-dark); font-size: 1.25rem; font-weight: 400; }
.home-trust .inline-link { margin-top: 28px; }

.profile-story-grid { display: grid; grid-template-columns: 1.1fr 0.8fr; gap: clamp(70px, 12vw, 180px); margin-top: 68px; }
.profile-story-copy p { margin: 0 0 24px; color: var(--muted); font-size: 1rem; line-height: 1.82; }
/* Board of Governors & Our Team (about page) */
.team-grid { margin-top: 68px; display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.team-card { flex: 0 1 260px; max-width: 260px; display: flex; flex-direction: column; background: #f0ede7; transition: transform 180ms ease, background 180ms ease; }
.team-card:hover { transform: translateY(-5px); background: var(--white); }
.team-card-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #dedbd3; }
.team-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card-body { padding: 22px 22px 26px; text-align: center; }
.team-card-body .mini-kicker { margin: 0 0 8px; }
.team-card-body h3 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; line-height: 1.1; }
.team-card-body p:not(.mini-kicker) { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.62; }

.values-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(60px, 8vw, 120px); align-items: stretch; background: #e8e3db; }
.values-image { position: relative; min-height: 620px; overflow: hidden; }
.values-image img { object-fit: cover; }
.values-copy { align-self: center; padding: 24px 0; }
.values-copy h2 { margin: 20px 0 44px; font-size: clamp(2.8rem, 4.6vw, 5.2rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; }
.value-list { border-top: 1px solid var(--line); }
.value-list article { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.value-list article > span { color: var(--orange-dark); font-size: 0.65rem; font-weight: 800; }
.value-list h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; }
.value-list p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.65; }

.services-index { background: #f2efe9; }
.services-list { margin-top: 72px; border-top: 1px solid var(--line); }
.services-list-item {
  display: grid;
  grid-template-columns: 70px 0.82fr 1.05fr;
  gap: clamp(36px, 6vw, 90px);
  min-height: 555px;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.services-list-number { align-self: start; color: var(--orange-dark); font-size: 0.68rem; font-weight: 800; }
.services-list-image { position: relative; min-height: 400px; overflow: hidden; }
.services-list-image img { object-fit: cover; }
.services-list-copy h2 { margin: 18px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 4vw, 4.3rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.04em; }
.services-list-copy > p:not(.mini-kicker) { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.72; }
.services-list-copy ul { margin: 28px 0 30px; padding: 0; list-style: none; }
.services-list-copy li { min-height: 38px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); font-size: 0.78rem; font-weight: 700; }
.services-list-copy li span { color: var(--orange-dark); }
.button-outline { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.button-outline:hover, .button-outline:focus-visible { background: var(--ink); color: var(--white); }

@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 0.75fr 1.25fr; }
  .footer-links { grid-column: 1 / -1; max-width: 500px; }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service-card:nth-child(n) { grid-column: span 1; }
  .home-service-card:last-child { grid-column: 1 / -1; }
  .services-list-item { grid-template-columns: 50px 0.82fr 1.05fr; gap: 36px; }
}

@media (max-width: 900px) {
  .page-hero.with-image { grid-template-columns: 1fr; }
  .page-hero-image { min-height: 340px; }
  .page-cta { min-height: 380px; align-items: flex-start; flex-direction: column; }
  .profile-story-grid, .values-section { grid-template-columns: 1fr; gap: 52px; }
  .values-image { min-height: 460px; }
  .services-list-item { grid-template-columns: 42px 1fr; }
  .services-list-copy { grid-column: 2; }
  .services-list-image { min-height: 350px; }
}

@media (max-width: 640px) {
  .page-hero { min-height: 560px; padding: 135px 20px 65px; }
  .page-hero h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .page-hero-image { min-height: 270px; }
  .page-cta { min-height: 400px; padding: 76px 20px; }
  .page-cta h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .footer-links { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-service-card:nth-child(n) { grid-column: span 1; min-height: 415px; }
  .profile-story-grid { margin-top: 48px; }
  .values-image { min-height: 320px; }
  .services-list-item { grid-template-columns: 1fr; gap: 24px; padding: 45px 0; }
  .services-list-number, .services-list-copy { grid-column: auto; }
  .services-list-image { min-height: 260px; }
  .team-grid { margin-top: 48px; }
  .team-card { flex-basis: 100%; max-width: 320px; }
}

/* Service detail pages */
.service-overview-grid { display: grid; grid-template-columns: 0.95fr 0.75fr; gap: clamp(70px, 12vw, 180px); margin-top: 68px; }
.service-overview h2 { max-width: 720px; margin: 20px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.05em; }
.service-overview-copy > p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.85; }
.capability-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(60px, 8vw, 120px); background: #e8e3db; }
.capability-image { position: relative; min-height: 600px; overflow: hidden; }
.capability-image img { object-fit: cover; }
.capability-copy { align-self: center; }
.capability-copy h2 { max-width: 650px; margin: 40px 0; font-size: clamp(2.8rem, 4.5vw, 5rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; }
.capability-copy ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.capability-copy li { min-height: 60px; display: grid; grid-template-columns: 55px 1fr; align-items: center; border-bottom: 1px solid var(--line); font-size: 0.9rem; font-weight: 700; }
.capability-copy li span { color: var(--orange-dark); font-size: 0.64rem; }
.compact-heading { align-items: flex-start; }
.compact-heading h2 { max-width: 770px; font-size: clamp(2.8rem, 4.7vw, 5.2rem); }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.focus-grid article { min-height: 330px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 180ms ease, color 180ms ease; }
.focus-grid article:hover { background: var(--orange); color: var(--white); }
.focus-grid article > span { color: var(--orange-dark); font-size: 0.66rem; font-weight: 800; }
.focus-grid article:hover > span, .focus-grid article:hover p { color: rgba(255, 255, 255, 0.82); }
.focus-grid h3 { margin: 100px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 1.85rem; font-weight: 400; line-height: 1.08; }
.focus-grid p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.7; }
.related-services { background: var(--charcoal); color: var(--white); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-grid > a { position: relative; min-height: 280px; padding: 30px; border: 1px solid rgba(255, 255, 255, 0.15); transition: border-color 180ms ease, background 180ms ease; }
.related-grid > a:hover, .related-grid > a:focus-visible { border-color: var(--orange); background: rgba(255, 106, 42, 0.06); }
.related-grid span { color: var(--orange); font-size: 0.65rem; font-weight: 800; }
.related-grid h3 { margin: 82px 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: 1.9rem; font-weight: 400; }
.related-grid p { max-width: 340px; margin: 0; color: #aaa6a0; font-size: 0.8rem; line-height: 1.6; }
.related-grid b { position: absolute; right: 28px; top: 24px; color: var(--orange); font-size: 1.2rem; font-weight: 400; }

/* Sectors */
.sectors-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 68px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sectors-page-grid article { min-height: 300px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sectors-page-grid article > span { color: var(--orange-dark); font-size: 0.65rem; font-weight: 800; }
.sectors-page-grid h2 { margin: 76px 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 400; }
.sectors-page-grid p { max-width: 530px; margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.72; }
.sector-capabilities { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(70px, 11vw, 170px); background: #e8e3db; }
.sector-capabilities-copy h2 { max-width: 740px; margin: 22px 0 28px; font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.055em; }
.sector-capabilities-copy > p:not(.mini-kicker) { max-width: 660px; margin: 0 0 32px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.sector-capability-list { border-top: 1px solid var(--line); }
.sector-capability-list a { min-height: 82px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); transition: padding 180ms ease, color 180ms ease; }
.sector-capability-list a:hover { padding-left: 12px; color: var(--orange-dark); }
.sector-capability-list span { color: var(--orange-dark); font-size: 0.64rem; font-weight: 800; }
.sector-capability-list p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.sector-capability-list b { font-weight: 400; }

/* Contact */
.contact-page-section { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(70px, 12vw, 180px); }
.contact-page-form h2 { max-width: 680px; margin: 42px 0 48px; font-size: clamp(3rem, 4.8vw, 5.2rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; }
.contact-form { display: flex; flex-direction: column; gap: 27px; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: none; padding: 14px 0; resize: vertical; background: transparent; color: var(--ink); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--orange-dark); }
.contact-form .button { align-self: flex-start; }
.contact-page-details { align-self: start; padding: 42px; background: var(--charcoal); color: var(--white); }
.contact-page-details > div { padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.contact-page-details > div > span { display: block; margin-bottom: 12px; color: var(--orange); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-page-details a, .contact-page-details address { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-style: normal; line-height: 1.5; overflow-wrap: anywhere; }
.contact-note { margin: 30px 0 0; color: #aaa6a0; font-size: 0.79rem; line-height: 1.7; }

@media (max-width: 900px) {
  .service-overview-grid, .capability-section, .sector-capabilities, .contact-page-section { grid-template-columns: 1fr; gap: 52px; }
  .capability-image { min-height: 430px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid article { min-height: 240px; }
  .focus-grid h3 { margin-top: 60px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid > a { min-height: 240px; }
}

@media (max-width: 640px) {
  .service-overview-grid { margin-top: 48px; }
  .capability-image { min-height: 300px; }
  .sectors-page-grid { grid-template-columns: 1fr; }
  .sectors-page-grid article { min-height: 250px; }
  .contact-page-details { padding: 28px 24px; }
}

/* Plain <img> replacements for former next/image `fill` wrappers: Next
   injected inline position:absolute/inset:0/100% sizing on those images;
   this stylesheet only ever supplied object-fit, so that positioning has to
   be recreated here now that the wrapper is a plain <img>. */
.hero-image-wrap img,
.page-hero-image img,
.home-service-image img,
.values-image img,
.services-list-image img,
.capability-image img,
.service-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Business partners and utility pages */
.partner-section { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(60px, 9vw, 130px); background: var(--white); }
.partner-heading h2 { margin: 44px 0 24px; font-size: clamp(2.8rem, 4.6vw, 5rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; }
.partner-heading > p { max-width: 600px; margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-grid > div { min-height: 142px; display: grid; place-items: center; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-grid img { width: 100%; max-width: 155px; height: 88px; object-fit: contain; filter: saturate(0.82); transition: filter 180ms ease, transform 180ms ease; }
.partner-grid > div:hover img { filter: saturate(1); transform: scale(1.035); }

.not-found-page {
  position: relative;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 150px max(32px, calc((100vw - 1380px) / 2)) 90px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}
.not-found-page > span { position: absolute; right: 2%; bottom: -8%; color: rgba(255, 255, 255, 0.045); font-family: Georgia, "Times New Roman", serif; font-size: clamp(16rem, 35vw, 38rem); line-height: 0.8; }
.not-found-page .kicker { position: relative; z-index: 1; }
.not-found-page .kicker i { display: inline-block; width: 34px; height: 2px; background: var(--orange); }
.not-found-page h1 { position: relative; z-index: 1; margin: 28px 0; font-size: clamp(3.3rem, 6vw, 6.6rem); font-weight: 500; line-height: 0.96; letter-spacing: -0.06em; }
.not-found-page > p:not(.kicker) { position: relative; z-index: 1; max-width: 520px; margin: 0; color: #aaa6a0; font-size: 1rem; line-height: 1.75; }
.not-found-page > div { position: relative; z-index: 1; display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.not-found-page b { font-weight: 400; }

@media (max-width: 900px) {
  .partner-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid > div { min-height: 120px; }
  .not-found-page { min-height: 680px; padding-left: 20px; padding-right: 20px; }
  .not-found-page > div { align-items: flex-start; flex-direction: column; }
}

