:root {
  color-scheme: light;
  --navy: #1e3a5f;
  --mist: #e2e6ea;
  --paper: #ffffff;
  --wash: #f5f6f8;
  --ink: #1e3a5f;
  --muted: #5f6b7a;
  --line: #c9cfd7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.65 Jost, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid #5578a2; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.25rem); font-weight: 600; letter-spacing: -.04em; }
h3 { font-size: 1.19rem; letter-spacing: -.035em; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 10px; background: var(--mist); color: var(--ink); padding: 10px 20px; z-index: 10; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { background: var(--paper); color: var(--navy); position: relative; z-index: 2; }
.header-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-block; vertical-align: middle; }
.brand img { width: 174px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 45px); font-size: .88rem; font-weight: 700; }
.nav a:not(.nav-action):hover { color: var(--muted); }
.footer a:hover { color: white; }
.nav-action { border: 1px solid #8a94a3; border-radius: 50px; padding: 10px 17px; }
.nav-action span { margin-left: 9px; }
.nav-action:hover { background: #e2e6ea; }
.menu { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--paper); }
.hero-photo { filter: saturate(.78); position: absolute; inset: 0 0 0 auto; width: 73%; height: 100%; object-fit: cover; object-position: 55% 49%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 25%, #1e3a5ff2 34%, #1e3a5fc4 42%, #1e3a5f31 64%, transparent 82%), linear-gradient(0deg, #172e4cc7, transparent 30%); }
.hero-inner { min-height: clamp(530px, 48vw, 698px); display: flex; align-items: center; position: relative; padding-block: 62px 85px; }
.hero-copy { max-width: 660px; }
.label { display: flex; align-items: center; gap: 9px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #5f6b7a; }
.hero .dot { background: var(--mist); }
.hero h1 { margin-block: 25px; font-size: clamp(3.7rem, 6.7vw, 7.25rem); line-height: .94; letter-spacing: -.04em; font-weight: 600; }
.hero h1 span { color: var(--mist); font-size: .86em; }
.hero-copy > p:not(.label) { max-width: 400px; color: #f5f6f8; font-size: clamp(.98rem, 1.4vw, 1.12rem); }
.button { display: inline-flex; align-items: center; gap: 23px; background: var(--mist); color: var(--navy); padding: 13px 18px 13px 21px; margin-top: 28px; border-radius: 50px; font-size: .9rem; font-weight: 800; transition: background-color .2s; }
.button span { display: grid; place-items: center; background: var(--navy); color: var(--mist); width: 27px; height: 27px; border-radius: 50%; }
.button:hover { background: #f5f6f8; }
.photo-location { position: absolute; right: 0; bottom: 23px; color: white; font-size: .73rem; display: flex; align-items: center; gap: 7px; }
.photo-location .dot { width: 6px; height: 6px; }
.intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8%; align-items: center; padding-block: 80px 96px; }
.intro h2, .section-head, .approach h2, .engagement h2 { margin-top: 17px; }
.intro-copy { color: var(--muted); max-width: 500px; }
.intro-copy p + p { margin-top: 14px; }
.services { background: var(--wash); padding-block: 84px 96px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-head p { color: var(--muted); }
.steps p, .models p { margin-top: 8px; color: var(--muted); font-size: .94rem; }
.approach { padding-block: 98px; display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: stretch; }
.approach-photo { overflow: hidden; border-radius: 16px; }
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; border-top: 1px solid var(--line); padding: 13px 0; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: .8rem; font-weight: 800; color: #5f6b7a; }
.steps p { margin-top: 4px; }
.engagement { padding-block: 75px 86px; background: var(--mist); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 32px; }
.models article { border-top: 1px solid #8a94a3; padding-top: 19px; }
.footer { padding-block: 36px; background: var(--navy); color: #e2e6ea; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer .brand { margin-bottom: 12px; }
@media (max-width: 920px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { min-height: 76px; }
  .hero-inner { min-height: 560px; }
  .intro, .approach { gap: 30px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; }
  .brand img { width: 149px; }
  .menu { display: flex; align-items: center; gap: 8px; border: 1px solid #8a94a3; border-radius: 30px; padding: 6px 12px; color: inherit; background: transparent; cursor: pointer; }
  .nav { display: none; flex-direction: column; align-items: stretch; gap: 0; position: absolute; inset: 100% 0 auto; background: var(--paper); padding: 0 20px 20px; box-shadow: 0 12px 18px #1e3a5f24; }
  .nav.is-open { display: flex; }
  .nav > a { padding: 11px 0; border-top: 1px solid #c9cfd7; }
  .nav .nav-action { margin-top: 8px; padding-inline: 14px; border-color: #8a94a3; }
  .hero-photo { width: 100%; object-position: 58% 46%; }
  .hero::before { background: linear-gradient(90deg, #172e4cde, #172e4c45), linear-gradient(0deg, #172e4cf5 0%, #172e4c9c 44%, #172e4c40 100%); }
  .hero-inner { min-height: clamp(500px, 75svh, 620px); align-items: end; padding-block: 64px 67px; }
  .hero h1 { font-size: clamp(2.58rem, 10.1vw + .48rem, 4.6rem); margin-block: 19px; }
  .hero-copy > p:not(.label) { max-width: 320px; }
  .photo-location { font-size: .65rem; bottom: 17px; }
  .intro, .approach { grid-template-columns: 1fr; padding-block: 58px 65px; gap: 25px; }
  .services, .engagement { padding-block: 56px 62px; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head p { margin-top: 10px; }
  .models { grid-template-columns: 1fr; gap: 20px; }
  .approach-photo { aspect-ratio: 4 / 3; }
  .footer-inner { flex-wrap: wrap; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; padding-block: 88px 96px; }
.contact-section h2 { margin-top: 17px; }
.contact-intro { margin-top: 16px; color: var(--muted); }
.contact-form { display: grid; gap: 16px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; font-size: .9rem; font-weight: 800; }
.contact-form small { font-weight: 500; color: var(--muted); }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 5px;
  border: 1px solid #8a94a3;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-weight: 500;
}
.contact-form textarea { resize: vertical; }
.contact-note { color: var(--muted); font-size: .85rem; }
.contact-form .button { justify-self: start; margin: 0; border: 0; cursor: pointer; }
.contact-form .button:disabled { opacity: .65; cursor: wait; }
.contact-status { font-size: .9rem; font-weight: 800; }
.contact-status:empty { display: none; }
.contact-status[data-error] { color: #8d3025; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 700px) {
  .contact-section { grid-template-columns: 1fr; gap: 26px; padding-block: 58px 65px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-form input, .contact-form textarea { font-size: 1rem; }
}

.page-intro {
  padding-block: clamp(58px, 8vw, 112px);
  background: var(--navy);
  color: white;
}
.page-intro h1 {
  margin: 16px 0 13px;
  font-size: clamp(3.4rem, 7.5vw, 7.4rem);
  font-weight: 600;
  letter-spacing: -.045em;
}
.page-intro .dot { background: var(--mist); }
.page-intro p:last-child { max-width: 620px; color: var(--mist); font-size: clamp(1rem, 2vw, 1.24rem); }
.content-section { padding-block: clamp(50px, 7vw, 96px); }
.nav a[aria-current="page"], .footer-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.nav-action[aria-current="page"] { background: var(--wash); }
.footer-nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.inline-link {
  display: inline-block;
  margin-top: 19px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.inline-link span { margin-left: 4px; }
.inline-link:hover { color: var(--muted); }
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pathways a { display: grid; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.pathways a:hover { border-color: var(--navy); }
.pathways a > span { margin-top: 4px; font-weight: 800; }
.pathways p, .home-approach .approach-copy > p:not(.label) { color: var(--muted); }
.home-approach { align-items: center; }
.home-approach .approach-photo { aspect-ratio: 3 / 2; }
.home-approach .approach-copy > p:not(.label) { margin-top: 17px; max-width: 420px; }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.page-cta .button { margin: 0; background: var(--navy); color: white; }
.page-cta .button:hover { background: #294a70; }
.page-cta .button span { background: var(--mist); color: var(--navy); }
.reasons { grid-template-columns: repeat(4, 1fr); }
.service-tags { list-style: none; margin: 0; padding: 0; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.service-tags li { font-size: .79rem; padding: 2px 9px; background: var(--wash); border: 1px solid var(--line); border-radius: 20px; }

@media (max-width: 850px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .page-cta { flex-direction: column; align-items: flex-start; }
  .pathways { grid-template-columns: 1fr; }
  .section-head .inline-link { margin-top: 12px; }
}
@media (max-width: 420px) {
  .reasons { grid-template-columns: 1fr; }
}

/* Service explorer */
:root {
  --deep-navy: #122946;
  --motion-out: cubic-bezier(.22, 1, .36, 1);
}
[hidden] { display: none !important; }
.service-masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep-navy);
  color: white;
}
.service-masthead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding-block: clamp(54px, 7vw, 104px);
}
.service-masthead .dot { background: #b8c6d8; }
.service-masthead h1 {
  font-size: clamp(3.65rem, 6.9vw, 7.05rem);
  line-height: .88;
  letter-spacing: -.05em;
  font-weight: 600;
  margin: 20px 0 23px;
}
.service-masthead-copy > p:not(.label) { max-width: 390px; color: #d8e2ec; font-size: 1.09rem; }
.service-masthead-photo {
  display: grid;
  position: relative;
  aspect-ratio: 1.26;
  isolation: isolate;
}
.service-masthead-photo::before {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid #6a7e97;
  z-index: -1;
}
.service-masthead-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 44%; }
.service-masthead-photo figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--deep-navy);
  padding: 5px 10px;
  font-size: .75rem;
}
.service-explorer { padding-block: clamp(58px, 7.5vw, 105px); }
.service-explorer-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 26px; }
.service-explorer-heading p { color: var(--muted); padding-bottom: 4px; }
.service-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 0 0 16px;
  margin-bottom: 21px;
}
.service-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.service-filters button {
  border: 1px solid #a9b6c5;
  border-radius: 40px;
  background: white;
  color: var(--navy);
  font-size: .91rem;
  font-weight: 600;
  padding: 8px 15px;
  cursor: pointer;
}
.service-filters button:hover { background: var(--wash); }
.service-filters button[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.service-count { color: var(--muted); font-size: .88rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 21px;
  min-height: 246px;
  border: 1px solid var(--line);
  background: var(--wash);
  padding: clamp(21px, 3.2vw, 37px);
}
.service-grid:not([data-count="2"]) > .service-card:not([hidden]):nth-child(1 of :not([hidden])) {
  grid-column: 1 / -1;
  background: #e8eef4;
  border-color: #adbdcd;
}
.service-card:target { outline: 2px solid #5578a2; outline-offset: -2px; }
.service-category { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #475d76; }
.service-card h3 { font: 600 clamp(2.05rem, 3.45vw, 3.55rem)/.98 "Cormorant Garamond", Georgia, serif; letter-spacing: -.038em; margin: 8px 0 12px; }
.service-description { max-width: 640px; color: #394e67; }
.service-enquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #adbaca;
  padding-top: 12px;
  font-size: .92rem;
  font-weight: 700;
}
.service-enquiry span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #9eafc1;
  background: white;
}
.service-enquiry:hover span { background: var(--navy); color: white; }
.contact-topic { border-left: 3px solid var(--navy); background: var(--wash); padding: 10px 12px; font-weight: 700; }
.contact-topic::before { content: 'Enquiry about: '; font-weight: 500; }
.steps li {
  position: relative;
}
.steps li::before {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: var(--wash);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 50%;
}
@media (max-width: 700px) {
  .service-masthead-inner { grid-template-columns: 1fr; padding-block: 48px 57px; gap: 31px; }
  .service-masthead h1 { font-size: clamp(3.1rem, 12vw, 5.45rem); }
  .service-masthead-photo { aspect-ratio: 1.8; margin-right: 8px; }
  .service-masthead-photo::before { inset: 8px -8px -8px 8px; }
  .service-explorer-heading { display: block; margin-bottom: 21px; }
  .service-explorer-heading p { margin-top: 8px; }
  .service-filters button { padding: 7px 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
}

@keyframes naia-arrive {
  from { opacity: .35; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes naia-fade {
  from { opacity: .35; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 160ms; }
  ::view-transition-new(root) { animation-duration: 260ms; }
  .hero-copy, .page-intro .wrap, .service-masthead-copy, .section-arrival {
    animation: naia-arrive 320ms var(--motion-out) both;
  }
  .hero-photo, .service-masthead-photo { animation: naia-fade 420ms var(--motion-out) both; }
  .nav.is-open { animation: naia-arrive 180ms var(--motion-out) both; }
  .button { transition: transform 160ms var(--motion-out), background-color 160ms; }
  .button:active, .service-filters button:active { transform: scale(.97); }
  .service-filters button { transition: background-color 160ms, color 160ms, transform 160ms var(--motion-out); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pathways a { transition: transform 200ms var(--motion-out), border-color 200ms; }
  .pathways a:hover { transform: translateY(-4px); }
  .service-enquiry span { transition: transform 200ms var(--motion-out), background-color 170ms, color 170ms; }
  .service-enquiry:hover span { transform: translate(2px, -2px); }
}
