/* ==========================================================
   1. DESIGN TOKENS
   ========================================================== */
:root {
  --page: #ffffff;
  --surface: #f5f8f8;
  --surface-blue: #eaf7f9;
  --text: #102326;
  --text-soft: #566a6e;
  --border: #dce7e8;
  --blue: #14a9be;
  --blue-dark: #087f91;
  --blue-light: #dff5f8;
  --navy: #0b252a;
  --white: #ffffff;
  --danger: #c0453c;

  --r: 20px;
  --r-lg: 28px;
  --arc: 150px;
  /* the signature large corner */

  --ease: cubic-bezier(.22, .75, .3, 1);
  --wrap: 1220px;
  --gutter: clamp(20px, 5vw, 48px);
  --sp: clamp(64px, 8.5vw, 120px);

  --display: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --mx: .5;
  /* shared pointer position, 0-1 */
  --my: .5;
}

/* ==========================================================
   2. RESET
   ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

body.locked {
  overflow: hidden
}

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

img {
  height: auto
}

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

button {
  background: none;
  border: 0;
  cursor: pointer
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none
}

dl,
dd {
  margin: 0
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 10px;
  transition: top .2s ease;
}

.skip:focus {
  top: 16px
}

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

/* ==========================================================
   3. TYPOGRAPHY
   ========================================================== */
.d1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.1vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.d2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.026em;
}

.d3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.14rem;
  line-height: 1.35;
  letter-spacing: -.012em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .85rem;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 10px;
  flex: none;
  border-left: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  border-bottom-left-radius: 12px;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 62ch
}

.soft {
  color: var(--text-soft)
}

.nb {
  white-space: nowrap
}

/* ==========================================================
   4. LAYOUT
   ========================================================== */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto
}

.sec {
  padding-block: var(--sp);
  scroll-margin-top: 78px;
  position: relative
}

.sec--surface {
  background: var(--surface)
}

.sec--blue {
  background: var(--surface-blue)
}

.head {
  max-width: 52ch;
  margin-bottom: clamp(36px, 4.5vw, 58px)
}

.head .lead {
  margin-top: 14px
}

/* ---------- shared image frames (3 variants) ---------- */
.frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #e6f2f3, #d5e7e9);
  box-shadow: 0 34px 60px -44px rgba(11, 37, 42, .6);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1
}

.frame.failed img,
.layer.failed img {
  display: none
}

.frame__alt {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
  color: var(--blue-dark);
  font-size: .85rem;
}

.frame__alt svg {
  width: 40px;
  height: 40px;
  opacity: .45
}

.frame--a {
  border-radius: var(--arc) var(--r-lg) var(--r-lg) var(--r-lg)
}

.frame--b {
  border-radius: var(--r-lg) var(--r-lg) var(--arc) var(--r-lg)
}

.frame--c {
  border-radius: var(--r-lg) 96px var(--r-lg) var(--r-lg)
}

.frame__cap {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 8px 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .82rem;
  color: var(--text);
  box-shadow: 0 8px 20px -14px rgba(11, 37, 42, .7);
}

/* ==========================================================
   5. BUTTONS
   ========================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px 12px 24px;
  border-radius: 100px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .98rem;
  transition: background-color .3s var(--ease), color .3s var(--ease),
    border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.btn__ico {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}

.btn__ico svg {
  width: 15px;
  height: 15px
}

.btn:hover .btn__ico {
  transform: translateX(3px)
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -12px rgba(8, 127, 145, .95)
}

.btn--primary .btn__ico {
  background: rgba(255, 255, 255, .22)
}

.btn--primary:hover {
  background: var(--blue-dark)
}

.btn--ghost {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding-right: 24px
}

.btn--ghost .btn__ico {
  display: none
}

.btn--ghost::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 14px;
  height: 6px;
  background: no-repeat center/100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M0 5 C 25 0, 75 0, 100 5' fill='none' stroke='%2314a9be' stroke-width='1.6'/%3E%3C/svg%3E");
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.btn--ghost:hover {
  border-color: #b7e2e9
}

.btn--ghost:hover::after {
  opacity: 1;
  transform: none
}

.btn--onblue {
  background: var(--white);
  color: var(--blue-dark)
}

.btn--onblue .btn__ico {
  background: var(--blue-light)
}

.btn--onblue:hover {
  background: var(--blue-light)
}

.btn--wide {
  width: 100%;
  justify-content: center
}

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue-dark);
}

.tlink svg {
  width: 15px;
  height: 15px;
  transition: transform .3s var(--ease)
}

.tlink:hover svg {
  transform: translateX(3px)
}

/* ==========================================================
   6. BRAND MARK
   ========================================================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  color: var(--text);
  transition: transform .45s var(--ease)
}

.brand:hover .mark {
  transform: rotate(7deg)
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none
}

.mark svg {
  width: 100%;
  height: 100%
}

.mark.ready img {
  display: block
}

.mark.ready svg {
  display: none
}

.mark .blade {
  fill: currentColor
}

.mark .arcs {
  stroke: var(--blue);
  stroke-width: 3.4;
  fill: none;
  stroke-linecap: round
}

.mark .hub {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3
}

.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -.02em;
  line-height: 1.05
}

.brand__sub {
  display: block;
  font-size: .68rem;
  color: var(--text-soft);
  margin-top: 3px
}

/* ==========================================================
   7. NAVIGATION
   ========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}

.nav.stuck {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 28px -24px rgba(11, 37, 42, .6);
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px
}

.nav .brand {
  margin-right: auto
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px
}

.nav__links a {
  position: relative;
  padding: 12px 16px 16px;
  font-size: .97rem;
  color: var(--text-soft);
  transition: color .25s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 7px;
  background: no-repeat center/100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 7' preserveAspectRatio='none'%3E%3Cpath d='M0 6 C 26 0, 74 0, 100 6' fill='none' stroke='%2314a9be' stroke-width='1.8'/%3E%3C/svg%3E");
  opacity: 0;
  transform: translateY(4px) scaleX(.6);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.nav__links a:hover {
  color: var(--text)
}

.nav__links a.on {
  color: var(--text)
}

.nav__links a.on::after,
.nav__links a:hover::after {
  opacity: 1;
  transform: none
}

.nav__cta {
  min-height: 46px;
  padding: 10px 12px 10px 20px;
  font-size: .93rem
}

.nav__cta .btn__ico {
  width: 26px;
  height: 26px
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text)
}

.burger:hover {
  border-color: var(--blue)
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  padding: 100px var(--gutter) 36px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}

.menu[hidden] {
  display: none
}

.menu.open {
  opacity: 1;
  visibility: visible;
  transform: none
}

.menu a.mlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  border-bottom: 1px solid var(--border);
  min-height: 58px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
}

.menu a.mlink svg {
  width: 17px;
  height: 17px;
  color: var(--blue)
}

.menu__foot {
  margin-top: auto;
  padding-top: 30px;
  display: grid;
  gap: 14px
}

.menu__meta {
  font-size: .92rem;
  color: var(--text-soft)
}

/* ==========================================================
   8. HERO
   ========================================================== */
.hero {
  padding-block: clamp(46px, 6vw, 90px) clamp(50px, 7vw, 96px);
  position: relative;
  overflow: hidden
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center
}

.hero .d1 {
  margin-top: 4px;
  max-width: 15ch
}

.hero__lead {
  margin-top: 22px;
  max-width: 46ch
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border)
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  color: var(--text-soft)
}

.trust svg {
  width: 17px;
  height: 17px;
  color: var(--blue);
  flex: none
}

.hero__media {
  position: relative
}

.hero__frame {
  aspect-ratio: 4/3.5
}

/* arc that escapes the frame, echoing the logo */
.hero__ring {
  position: absolute;
  left: -58px;
  bottom: -58px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  border-right-color: transparent;
  border-top-color: transparent;
  opacity: .55;
  pointer-events: none;
}

.hero__ring2 {
  position: absolute;
  right: -26px;
  top: -26px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px dashed rgba(8, 127, 145, .4);
  pointer-events: none;
}

.airflow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: .95
}

.airflow path {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  transform: translate3d(calc((var(--mx) - .5) * var(--k, 1) * 16px),
      calc((var(--my) - .5) * var(--k, 1) * 9px), 0);
  animation: drift var(--t, 28s) linear infinite;
}

@keyframes drift {
  from {
    transform: translate3d(calc((var(--mx) - .5) * var(--k, 1) * 16px),
        calc((var(--my) - .5) * var(--k, 1) * 9px), 0)
  }

  to {
    transform: translate3d(calc((var(--mx) - .5) * var(--k, 1) * 16px + 130px),
        calc((var(--my) - .5) * var(--k, 1) * 9px), 0)
  }
}

.airflow.paused path {
  animation-play-state: paused
}

.hero__cap {
  transition: opacity .3s var(--ease)
}

.hero__cap.fade {
  opacity: 0
}

/* ---------- transition 1: arc across hero / about ---------- */
.arcband {
  position: relative;
  height: 0;
  z-index: 3;
  pointer-events: none
}

.arcband svg {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 150%;
  min-width: 900px;
  height: 190px;
  transform: translate(-50%, var(--shift, 0px));
  will-change: transform;
}

.arcband .fill {
  fill: var(--surface)
}

.arcband .stroke {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.4;
  opacity: .5
}

/* ==========================================================
   9. ABOUT
   ========================================================== */
.about__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end
}

.about__top .lead {
  margin-bottom: 4px
}

.about__media {
  position: relative;
  margin-top: clamp(34px, 4.5vw, 56px)
}

.about__frame {
  aspect-ratio: 21/8
}

.clipin {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .82s var(--ease)
}

[data-clip].in .clipin {
  clip-path: inset(0 0 0 0)
}

.no-js .clipin {
  clip-path: none
}

.principles {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -56px;
  position: relative;
  z-index: 4;
  padding-inline: clamp(0px, 2vw, 34px);
}

.principle {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
  text-align: left;
  box-shadow: 0 20px 40px -34px rgba(11, 37, 42, .6);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.principle:hover,
.principle:focus-visible {
  transform: translateY(-3px);
  border-color: #b7e2e9;
  box-shadow: 0 26px 46px -32px rgba(11, 37, 42, .55);
}

.principle b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem
}

.principle span {
  display: block;
  font-size: .9rem;
  color: var(--text-soft);
  margin-top: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), opacity .3s var(--ease), margin-top .4s var(--ease);
}

.principle:hover span,
.principle:focus-visible span,
.principle.open span {
  max-height: 80px;
  opacity: 1;
}

.principle i {
  display: block;
  width: 26px;
  height: 8px;
  margin-bottom: 12px;
  border-left: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  border-bottom-left-radius: 14px;
}

/* ==========================================================
   10. SERVICES
   ========================================================== */
.svc__layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start
}

.svc__panel {
  position: sticky;
  top: 104px
}

.svc__stage {
  position: relative;
  aspect-ratio: 4/3.6
}

.svc__stage .layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s var(--ease);
}

.svc__stage .layer.on {
  opacity: 1
}

.svc__stage .layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .5s var(--ease)
}

.svc__stage .layer.on img {
  transform: scale(1)
}

.svc__stage .layer .frame__alt {
  position: absolute;
  inset: 0
}

.svc__label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 5;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 9px 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .86rem;
  box-shadow: 0 10px 24px -16px rgba(11, 37, 42, .8);
}

.svc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 22px 20px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease),
    box-shadow .4s var(--ease), opacity .4s var(--ease);
}

.svc__grid.dim .card {
  opacity: .62
}

.svc__grid.dim .card.act {
  opacity: 1
}

.card.act {
  transform: translateY(-4px);
  border-color: #a9dde6;
  box-shadow: 0 22px 44px -32px rgba(11, 37, 42, .55);
}

.card__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--blue-light);
  color: var(--blue-dark);
  margin-bottom: 16px;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}

.card__ico svg {
  width: 21px;
  height: 21px
}

.card.act .card__ico {
  transform: rotate(-3deg);
  background: #cbeef4
}

.card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.03rem;
  line-height: 1.3
}

.card p {
  margin-top: 9px;
  font-size: .93rem;
  color: var(--text-soft)
}

.card .tlink {
  margin-top: auto;
  padding-top: 15px;
  align-self: flex-start
}

/* the logo-inspired arc in the corner of every card */
.card__arc {
  position: absolute;
  right: -26px;
  top: -26px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.4px solid var(--blue);
  border-bottom-color: transparent;
  border-left-color: transparent;
  opacity: .28;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}

.card.act .card__arc {
  transform: rotate(-16deg) scale(1.06);
  opacity: .65
}

/* ==========================================================
   11. PROJECT JOURNEY
   ========================================================== */
.journey {
  margin-top: clamp(20px, 3vw, 34px)
}

.journey__svg {
  width: 100%;
  height: auto;
  overflow: visible
}

.journey__svg .track {
  fill: none;
  stroke: var(--border);
  stroke-width: 2
}

.journey__svg .draw {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.5s var(--ease);
}

.journey.in .journey__svg .draw {
  stroke-dashoffset: 0
}

.jnode {
  fill: var(--white);
  stroke: var(--border);
  stroke-width: 2;
  transition: stroke .4s var(--ease), r .35s var(--ease)
}

.jnode--end {
  fill: var(--blue);
  stroke: var(--blue)
}

.journey.in .jnode {
  stroke: var(--blue)
}

.journey.in .jnode:nth-of-type(2) {
  transition-delay: .12s
}

.journey.in .jnode:nth-of-type(3) {
  transition-delay: .24s
}

.journey.in .jnode:nth-of-type(4) {
  transition-delay: .36s
}

.jstep.hot .jnode {
  r: 11
}

.jsteps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 14px
}

.jstep {
  text-align: left;
  padding: 10px 4px;
  border-radius: 12px;
  transition: background-color .3s var(--ease)
}

.jstep:hover,
.jstep:focus-visible {
  background: var(--white)
}

.jstep__n {
  font-family: var(--display);
  font-weight: 700;
  font-size: .76rem;
  color: var(--blue-dark)
}

.jstep h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 4px
}

.jstep p {
  margin-top: 5px;
  font-size: .89rem;
  color: var(--text-soft);
  transition: color .3s var(--ease)
}

.jstep:hover p,
.jstep:focus-visible p {
  color: var(--text)
}

.jout {
  align-self: start;
  background: var(--blue);
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
}

.jout b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25
}

.jout span {
  display: block;
  font-size: .85rem;
  color: rgba(255, 255, 255, .85);
  margin-top: 4px
}

/* ==========================================================
   12. WHY STEPCON
   ========================================================== */
.why {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch
}

.why__lead {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg) 110px var(--r-lg) var(--r-lg);
  padding: clamp(28px, 3.4vw, 44px);
}

.why__lead .d3 {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2
}

.why__lead p {
  margin-top: 14px;
  color: var(--text-soft);
  max-width: 44ch
}

.why__ring {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  border-right-color: transparent;
  border-top-color: transparent;
  opacity: .3;
}

.why__list {
  display: grid;
  gap: 14px
}

.wpoint {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}

.wpoint:hover {
  border-color: #b7e2e9;
  background: #fbfeff
}

.wpoint__i {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue-dark);
  transition: transform .35s var(--ease);
}

.wpoint:hover .wpoint__i {
  transform: translateY(-2px)
}

.wpoint__i svg {
  width: 20px;
  height: 20px
}

.wpoint b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem
}

.wpoint p {
  margin-top: 4px;
  font-size: .9rem;
  color: var(--text-soft)
}

/* ==========================================================
   13. CLIENTS
   ========================================================== */
.clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.client {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 34px);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}

.client:hover {
  border-color: #a9dde6
}

.client__ini {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue-dark);
  letter-spacing: -.02em;
  transition: transform .4s var(--ease);
}

.client:hover .client__ini {
  transform: translateY(-2px)
}

.client h3 {
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform .4s var(--ease)
}

.client:hover h3 {
  transform: translateY(-2px)
}

.client p {
  margin-top: 8px;
  font-size: .9rem;
  color: var(--text-soft)
}

.client__arc {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.4px solid var(--blue);
  border-top-color: transparent;
  border-right-color: transparent;
  opacity: .22;
  transform: scale(.8) rotate(-10deg);
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}

.client:hover .client__arc {
  transform: scale(1) rotate(0);
  opacity: .6
}

.clients__note {
  margin-top: 24px;
  font-size: .93rem;
  color: var(--text-soft)
}

/* ==========================================================
   14. LEADERSHIP
   ========================================================== */
.lead-sec {
  position: relative;
  overflow: hidden
}

.lead-sec__curve {
  position: absolute;
  right: -12%;
  top: 0;
  width: min(46%, 540px);
  height: auto;
  opacity: .32;
  pointer-events: none;
  z-index: 0;
}

.lead-sec__curve path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.4
}

.leader {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(30px, 4.5vw, 66px);
  align-items: center;
  position: relative;
  z-index: 1
}

.portrait {
  aspect-ratio: 1/1.18;
  border-radius: var(--arc) var(--r-lg) var(--r-lg) var(--r-lg);
  background: linear-gradient(155deg, #e9f4f5, #d9e9eb);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  color: var(--text-soft);
  font-size: .85rem;
  border: 1px solid var(--border);
}

.portrait svg {
  width: 38px;
  height: 38px;
  color: var(--blue-dark);
  opacity: .5;
  margin: 0 auto 10px
}

.quote {
  position: relative;
  padding-top: 8px
}

.quote__mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 5.5rem;
  line-height: .7;
  color: var(--blue);
  opacity: .22;
  margin-bottom: 4px;
}

.quote blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.62rem);
  line-height: 1.45;
  letter-spacing: -.018em;
  max-width: 34ch;
}

.quote__by {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px
}

.quote__by i {
  display: block;
  width: 44px;
  height: 1.5px;
  background: var(--blue);
  flex: none
}

.quote__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.04rem
}

.quote__role {
  font-size: .9rem;
  color: var(--text-soft);
  margin-top: 1px
}

/* ==========================================================
   15. CTA
   ========================================================== */
/* transition 2: two curves meeting above the CTA */
.meet {
  position: relative;
  height: clamp(70px, 9vw, 120px);
  overflow: hidden
}

.meet svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.meet path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  opacity: .55;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  transition: stroke-dashoffset 1.2s var(--ease)
}

.meet.in path {
  stroke-dashoffset: 0
}

.meet circle {
  fill: var(--blue);
  opacity: 0;
  transition: opacity .4s var(--ease) 1s
}

.meet.in circle {
  opacity: 1
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(118deg, var(--navy), #0c4048 58%, var(--blue-dark));
  color: #fff;
  padding: clamp(38px, 5vw, 68px);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.cta__arc {
  position: absolute;
  right: -8%;
  top: 50%;
  width: min(58%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(93, 212, 223, .45);
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: translate(calc((var(--mx) - .5) * 12px), calc(-50% + (var(--my) - .5) * 12px));
  transition: transform .5s var(--ease);
  pointer-events: none;
}

.cta__arc2 {
  position: absolute;
  right: 2%;
  top: 50%;
  width: min(40%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(93, 212, 223, .28);
  transform: translate(calc((var(--mx) - .5) * -8px), calc(-50% + (var(--my) - .5) * -8px));
  transition: transform .5s var(--ease);
  pointer-events: none;
}

.cta__body {
  position: relative;
  z-index: 2
}

.cta p {
  margin-top: 14px;
  color: rgba(255, 255, 255, .85);
  max-width: 46ch
}

.cta__act {
  position: relative;
  z-index: 2;
  justify-self: end
}

.cta__shot {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 34%;
  z-index: 1;
  clip-path: ellipse(78% 118% at 100% 50%);
  opacity: .32;
}

.cta__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* ==========================================================
   16. CONTACT
   ========================================================== */
.contact {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: start
}

.cdetail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px
}

.cdetail svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: none;
  margin-top: 4px
}

.cdetail dt {
  font-size: .85rem;
  color: var(--text-soft)
}

.cdetail dd {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.03rem;
  margin-top: 2px
}

.cdetail a:hover {
  color: var(--blue-dark)
}

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

.f {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.f--full {
  grid-column: 1 / -1
}

.f label {
  font-size: .88rem;
  font-weight: 500
}

.f input,
.f select,
.f textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 52px;
  font-size: .97rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.f textarea {
  min-height: 140px;
  resize: vertical
}

.f select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23566a6e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center
}

.f input:focus,
.f select:focus,
.f textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-light)
}

.f input::placeholder,
.f textarea::placeholder {
  color: #93a5a8
}

.f.bad input,
.f.bad select,
.f.bad textarea {
  border-color: var(--danger)
}

.f__msg {
  display: none;
  font-size: .84rem;
  color: var(--danger)
}

.f.bad .f__msg {
  display: block
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center
}

.form__note {
  font-size: .86rem;
  color: var(--text-soft);
  max-width: 38ch
}

.res {
  grid-column: 1 / -1;
  display: none;
  gap: 11px;
  align-items: flex-start;
  border: 1px solid #bfe6ec;
  background: var(--blue-light);
  border-radius: 14px;
  padding: 15px 17px;
  font-size: .93rem;
}

.res.show {
  display: flex
}

.res.bad {
  border-color: #eccac7;
  background: #fdf1f0
}

.res svg {
  width: 18px;
  height: 18px;
  color: var(--blue-dark);
  flex: none;
  margin-top: 3px
}

.res.bad svg {
  color: var(--danger)
}

.res a {
  color: var(--blue-dark);
  text-decoration: underline
}

/* ==========================================================
   17. FOOTER
   ========================================================== */
.footer {
  position: relative;
  background: var(--navy);
  color: #c3d6d9;
  padding-block: 0 0
}

.footer__arc {
  display: block;
  width: 100%;
  height: 64px
}

.footer__arc path {
  fill: var(--navy)
}

.footer__arc .ln {
  fill: none;
  stroke: rgba(93, 212, 223, .4);
  stroke-width: 1.4
}

.footer__in {
  padding-block: clamp(30px, 4vw, 54px) 0
}

.footer .mark {
  color: #fff
}

/* Keeps a dark-on-transparent icon visible on the navy footer.
   Remove this filter if you supply a white version of the mark. */
.footer .mark img {
  filter: invert(1) hue-rotate(180deg) saturate(1.2)
}

.footer .brand__name {
  color: #fff
}

.footer .brand__sub {
  color: #7e979b
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(34px, 4vw, 50px)
}

.footer__about {
  margin-top: 18px;
  font-size: .93rem;
  color: #9ab0b3;
  max-width: 34ch
}

.footer h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
  margin-bottom: 15px
}

.flinks {
  display: grid;
  gap: 10px
}

.flinks a,
.flinks span {
  font-size: .93rem;
  color: #9ab0b3;
  transition: color .25s var(--ease)
}

.flinks a:hover {
  color: #fff
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .13);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .86rem;
  color: #7e979b
}

.footer__bar nav {
  display: flex;
  gap: 20px
}

.footer__bar a:hover {
  color: #c3d6d9
}

/* ==========================================================
   18. REVEALS
   ========================================================== */
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .62s var(--ease), transform .62s var(--ease)
}

.rv.in {
  opacity: 1;
  transform: none
}

.rv[data-s="1"] {
  transition-delay: .06s
}

.rv[data-s="2"] {
  transition-delay: .12s
}

.no-js .rv {
  opacity: 1;
  transform: none
}

/* ==========================================================
   19. RESPONSIVE
   ========================================================== */
@media (max-width:1080px) {
  .svc__layout {
    grid-template-columns: 1fr
  }

  .svc__panel {
    position: static;
    margin-bottom: 20px
  }

  .svc__stage {
    aspect-ratio: 16/8
  }
}

@media (max-width:960px) {

  .nav__links,
  .nav__cta {
    display: none
  }

  .burger {
    display: grid
  }

  .hero__grid,
  .about__top,
  .why,
  .contact,
  .leader {
    grid-template-columns: 1fr
  }

  .hero__media {
    order: -1
  }

  .hero .d1 {
    max-width: none
  }

  .leader {
    gap: 26px
  }

  .portrait {
    max-width: 250px
  }

  .lead-sec__curve {
    display: none
  }

  .cta {
    grid-template-columns: 1fr
  }

  .cta__act {
    justify-self: start
  }

  .cta__shot {
    width: 100%;
    opacity: .16;
    clip-path: ellipse(120% 80% at 90% 100%)
  }

  .principles {
    margin-top: 20px;
    padding-inline: 0
  }

  .journey__svg {
    display: none
  }

  .jsteps {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 2px solid var(--border);
    padding-left: 22px;
    margin-left: 6px
  }

  .jstep {
    padding: 14px 4px;
    position: relative
  }

  .jstep::before {
    content: "";
    position: absolute;
    left: -29px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue)
  }

  .jout {
    margin-top: 14px
  }
}

@media (max-width:720px) {
  body {
    font-size: 16px
  }

  .svc__grid,
  .clients,
  .form,
  .principles {
    grid-template-columns: 1fr
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: space-between
  }

  .cta .btn {
    width: 100%;
    justify-content: space-between
  }

  .footer__top {
    grid-template-columns: 1fr 1fr
  }

  .hero__ring {
    display: none
  }

  .hero__ring2 {
    width: 88px;
    height: 88px;
    right: -18px;
    top: -18px
  }

  .arcband svg {
    min-width: 640px;
    height: 130px
  }

  :root {
    --arc: 96px
  }
}

@media (max-width:440px) {
  .footer__top {
    grid-template-columns: 1fr
  }

  .trust {
    gap: 12px
  }
}

/* touch: no pointer effects, static airflow */
@media (hover:none) {
  .airflow path {
    animation: none;
    transform: none
  }

  .cta__arc,
  .cta__arc2 {
    transform: translateY(-50%)
  }
}

/* ==========================================================
   20. REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .rv {
    opacity: 1;
    transform: none
  }

  .clipin {
    clip-path: none
  }

  .airflow path {
    animation: none;
    transform: none
  }

  .journey__svg .draw,
  .meet path {
    stroke-dashoffset: 0
  }

  .meet circle {
    opacity: 1
  }

  .arcband svg {
    transform: translate(-50%, 0)
  }
}

/* ==========================================================
   21. WORDPRESS TEMPLATES
   Added for the WordPress build. The approved homepage design
   above is unchanged; these rules only style pages that did
   not exist in the static file (project archive, project
   detail, standard pages, 404, search) and reuse the same
   tokens, spacing and curved language.
   ========================================================== */

/* admin bar must not hide the sticky nav */
body.admin-bar .nav {
  top: 32px
}

@media screen and (max-width:782px) {
  body.admin-bar .nav {
    top: 46px
  }
}

/* page hero shared by inner templates */
.phero {
  padding-block: clamp(46px, 6vw, 88px) clamp(26px, 3vw, 44px);
  position: relative
}

.phero .d1 {
  max-width: 17ch
}

.phero .lead {
  margin-top: 18px
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: .88rem;
  color: var(--text-soft);
  margin-bottom: 18px
}

.crumb a:hover {
  color: var(--blue-dark)
}

.crumb span {
  opacity: .5
}

/* project archive grid */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px)
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.pcard:hover,
.pcard:focus-within {
  transform: translateY(-4px);
  border-color: #a9dde6;
  box-shadow: 0 22px 44px -32px rgba(11, 37, 42, .55);
}

.pcard__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--r) var(--r) 0 0;
  background: linear-gradient(150deg, #e6f2f3, #d5e7e9)
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease)
}

.pcard:hover .pcard__media img {
  transform: scale(1.02)
}

.pcard__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.pcard h2,
.pcard h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.3
}

.pcard h2 a:hover,
.pcard h3 a:hover {
  color: var(--blue-dark)
}

.pcard p {
  margin-top: 9px;
  font-size: .93rem;
  color: var(--text-soft)
}

.pcard .tlink {
  margin-top: auto;
  padding-top: 15px;
  align-self: flex-start
}

.pmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px
}

.pmeta span {
  font-size: .76rem;
  color: var(--blue-dark);
  background: var(--blue-light);
  border-radius: 100px;
  padding: 5px 11px;
}

/* project detail */
.pdetail {
  display: grid;
  grid-template-columns: 1fr .42fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start
}

.pdetail__body h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -.02em;
  margin-top: 30px
}

.pdetail__body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  margin-top: 24px
}

.pdetail__body p {
  margin-top: 14px;
  color: var(--text-soft)
}

.pdetail__body ul {
  margin-top: 14px;
  display: grid;
  gap: 9px
}

.pdetail__body ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft)
}

.pdetail__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 10px;
  height: 1.5px;
  background: var(--blue)
}

.pfacts {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  position: sticky;
  top: 104px;
}

.pfacts dt {
  font-size: .82rem;
  color: var(--text-soft)
}

.pfacts dd {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2px
}

.pfacts>div+div {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border)
}

.pfacts .tlink {
  margin-top: 20px
}

/* project gallery (native WordPress attachments) */
.pgallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px
}

.pgallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #e6f2f3, #d5e7e9)
}

.pgallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease)
}

.pgallery a:hover img {
  transform: scale(1.03)
}

/* editor content on standard pages */
.entry {
  max-width: 70ch
}

.entry h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -.02em;
  margin-top: 34px
}

.entry h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 26px
}

.entry p {
  margin-top: 16px;
  color: var(--text-soft)
}

.entry ul,
.entry ol {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  padding-left: 20px
}

.entry ol {
  list-style: decimal
}

.entry ul li {
  position: relative;
  padding-left: 18px;
  list-style: none;
  color: var(--text-soft)
}

.entry ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 10px;
  height: 1.5px;
  background: var(--blue)
}

.entry a {
  color: var(--blue-dark);
  text-decoration: underline
}

.entry img {
  border-radius: var(--r);
  margin-top: 20px
}

.entry blockquote {
  margin-top: 22px;
  padding-left: 20px;
  border-left: 2px solid var(--blue);
  font-family: var(--display);
  font-size: 1.1rem
}

/* pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(30px, 4vw, 48px)
}

.pagination .page-numbers {
  min-width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--display);
  font-weight: 600;
  font-size: .92rem;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.pagination .page-numbers:hover {
  border-color: var(--blue);
  color: var(--blue-dark)
}

.pagination .page-numbers.current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff
}

/* empty states + form notices */
.empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 40px);
  max-width: 60ch;
}

.empty p {
  margin-top: 10px;
  color: var(--text-soft)
}

.notice-ok,
.notice-bad {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border-radius: 14px;
  padding: 15px 17px;
  font-size: .93rem;
  margin-bottom: 20px;
}

.notice-ok {
  border: 1px solid #bfe6ec;
  background: var(--blue-light)
}

.notice-bad {
  border: 1px solid #eccac7;
  background: #fdf1f0
}

.notice-ok svg,
.notice-bad svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px
}

.notice-ok svg {
  color: var(--blue-dark)
}

.notice-bad svg {
  color: var(--danger)
}

/* honeypot: hidden from people, visible to naive bots */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

/* 404 */
.err404 {
  text-align: center;
  padding-block: clamp(60px, 9vw, 130px)
}

.err404 .d1 {
  max-width: none
}

.err404 .hero__ctas {
  justify-content: center
}

@media (max-width:960px) {
  .pgrid {
    grid-template-columns: repeat(2, 1fr)
  }

  .pdetail {
    grid-template-columns: 1fr
  }

  .pfacts {
    position: static
  }
}

@media (max-width:720px) {

  .pgrid,
  .pgallery {
    grid-template-columns: 1fr
  }

  .pgallery {
    grid-template-columns: 1fr 1fr
  }
}

/* ----------------------------------------------------------
   Heading-level aliases.
   The templates use real <h3> elements where the static file
   used <h4> and <b>, so the heading order is correct for
   screen readers. These rules keep the appearance identical.
   ---------------------------------------------------------- */
.jstep h3.jstep__h {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 4px;
}

.wpoint h3.wpoint__t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
}

.why__lead h3.d3 {
  margin: 0
}

/* partner card with a supplied official logo */
.client__logo-img {
  width: 100%;
  max-width: 150px;
  height: 52px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.client__logo-img img {
  max-height: 52px;
  width: auto;
  object-fit: contain
}

/* CTA band wrapper (was an inline style in the static file) */
.sec--cta-wrap {
  padding-block: 0 var(--sp)
}

/* "All projects" link: the arrow points back */
.tlink__back {
  transform: rotate(180deg)
}

.tlink:hover .tlink__back {
  transform: rotate(180deg) translateX(3px)
}

/* leadership portrait when a real photograph has been uploaded */
.portrait--photo {
  display: block;
  padding: 0;
  overflow: hidden
}

.portrait--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* project cards: keep the fallback panel behind the image */
.pcard__media .frame__alt {
  position: absolute;
  inset: 0;
  z-index: 0
}

.pcard__media img {
  position: relative;
  z-index: 1
}

/* service archive cards reuse .card, which is a flex column */
.pgrid .card h2 a:hover {
  color: var(--blue-dark)
}

body {
  opacity: 1;
  transform: none;
  transition: opacity .28s ease, transform .28s ease;
}

body.page-ready {
  opacity: 1;
  transform: none;
}

body.page-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================
   FEATURED PROJECTS — MORE PROJECTS LINK
   ========================================================== */

.featured-projects__more {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

.featured-projects__more a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: var(--display);
  font-size: .93rem;
  font-weight: 600;
  color: var(--blue-dark);

  padding-bottom: 5px;

  transition:
    color .3s var(--ease),
    transform .3s var(--ease);
}

.featured-projects__more a::after {
  content: "";
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 5px;

  background: no-repeat center / 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M0 5 C 25 0, 75 0, 100 5' fill='none' stroke='%2314a9be' stroke-width='1.6'/%3E%3C/svg%3E");

  opacity: 0;
  transform: translateY(3px) scaleX(.7);

  transition:
    opacity .3s var(--ease),
    transform .3s var(--ease);
}

.featured-projects__more a svg {
  width: 15px;
  height: 15px;

  transition: transform .3s var(--ease);
}

.featured-projects__more a:hover {
  color: var(--text);
}

.featured-projects__more a:hover::after {
  opacity: 1;
  transform: none;
}

.featured-projects__more a:hover svg {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .featured-projects__more {
    margin-top: 22px;
  }
}

/* ==========================================================
   TEXT — PREVENT AWKWARD WORD HYPHENATION
   ========================================================== */

body,
p,
span,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;

  word-break: normal;
  overflow-wrap: normal;
}
/* ==========================================================
   FEATURED PROJECT CARDS
   ========================================================== */

.clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.featured-project {
  min-width: 0;
}

.featured-project__title {
  margin: 0 0 14px;

  font-family: var(--display);
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;

  color: var(--text);
}

.featured-project__media {
  position: relative;

  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;

  overflow: hidden;

  border-radius:
    28px
    72px
    28px
    72px;

  background: var(--surface);

  box-shadow:
    0 24px 50px -36px rgba(11, 37, 42, .55);

  isolation: isolate;
}

.featured-project__image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  transition:
    transform .65s var(--ease),
    filter .5s var(--ease);
}

.featured-project__media:hover .featured-project__image,
.featured-project__media:focus-visible .featured-project__image {
  transform: scale(1.045);
}

.featured-project__overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-end;

  background:
    linear-gradient(
      to top,
      rgba(7, 29, 33, .94) 0%,
      rgba(7, 29, 33, .78) 34%,
      rgba(7, 29, 33, .18) 68%,
      rgba(7, 29, 33, 0) 100%
    );

  opacity: 0;

  transition:
    opacity .4s var(--ease);
}

.featured-project__overlay-inner {
  width: 100%;

  padding:
    clamp(20px, 2.4vw, 30px);

  color: #fff;

  transform: translateY(24px);

  transition:
    transform .45s var(--ease);
}

.featured-project__media:hover .featured-project__overlay,
.featured-project__media:focus-visible .featured-project__overlay {
  opacity: 1;
}

.featured-project__media:hover .featured-project__overlay-inner,
.featured-project__media:focus-visible .featured-project__overlay-inner {
  transform: none;
}

.featured-project__label {
  margin: 0 0 8px;

  font-family: var(--display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: rgba(255,255,255,.75);
}

.featured-project__summary {
  margin: 0;

  max-width: 34ch;

  font-size: .94rem;
  line-height: 1.55;

  color: rgba(255,255,255,.94);
}

.featured-project__view {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 16px;

  font-family: var(--display);
  font-size: .88rem;
  font-weight: 600;
}

.featured-project__view svg {
  width: 15px;
  height: 15px;

  transition:
    transform .3s var(--ease);
}

.featured-project__media:hover .featured-project__view svg {
  transform: translateX(4px);
}

.featured-project__placeholder {
  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  padding: 30px;

  background:
    linear-gradient(
      145deg,
      var(--surface-blue),
      var(--surface)
    );

  color: var(--blue-dark);

  font-family: var(--display);
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {

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

}

@media (max-width: 640px) {

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

  .featured-project__media {
    aspect-ratio: 16 / 11;
  }

  /*
   * Mobile has no true hover.
   * Keep the details visible.
   */
  .featured-project__overlay {
    opacity: 1;
  }

  .featured-project__overlay-inner {
    transform: none;
  }

}
