@charset "UTF-8";
/* =====================================================================
   Design system - editorial / professional-services
   ---------------------------------------------------------------------
   Principles
   1. Two typefaces only. A serif carries authority; a grotesque carries UI.
   2. Hairlines over cards. Structure is drawn with 1px rules, not shadows.
   3. Near-sharp geometry. 2–3px radii. No pills, no floating blobs.
   4. Colour is rationed. Warm neutrals dominate; blue is an accent.
   5. Every value below is fluid - the layout has no fixed breakpointy jumps
      in type or spacing, only in structure.
   ===================================================================== */

:root {
  /* ---- Brand ---- */
  --brand:        #1B4B8A;   /* from the logo */
  --brand-deep:   #0F2E52;   /* dark bands, primary actions */
  --brand-soft:   #EEF3F9;
  --brand-line:   #CFDCEC;

  /* ---- Ink (warm-leaning navy, not pure black) ---- */
  --ink:          #0C1622;
  --ink-2:        #46525F;   /* body copy */
  --ink-3:        #7A8593;   /* meta, muted */

  /* ---- Surfaces (warm neutrals read more premium than cool greys) ---- */
  --paper:        #FFFFFF;
  --paper-2:      #F8F6F2;   /* alternating sections */
  --paper-3:      #F1EEE8;

  /* ---- Rules ---- */
  --line:         #E6E2D9;
  --line-2:       #D6D1C6;
  --line-dark:    rgba(255,255,255,.13);

  /* ---- Semantic ---- */
  --ok:           #1D7A4C;
  --warn:         #B25C11;
  --err:          #A5322F;
  --wa:           #25D366;

  /* ---- Type ---- */
  --f-display: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --f-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* ---- Shape & motion ---- */
  --r:      3px;
  --r-lg:   4px;
  --ease:   cubic-bezier(.22,1,.36,1);
  --ease-2: cubic-bezier(.4,0,.2,1);
  --shadow: 0 1px 2px rgba(12,22,34,.04), 0 8px 24px -16px rgba(12,22,34,.18);
  --shadow-lg: 0 24px 60px -32px rgba(12,22,34,.30);

  /* ---- Metrics ---- */
  --container: 1240px;
  --gutter:    clamp(20px, 5vw, 56px);
  --header-h:  clamp(64px, 7vw, 84px);
  --section-y: clamp(64px, 9vw, 132px);
}

/* =====================================================================
   Reset & base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans);
  font-size: clamp(15.5px, .45vw + 14.4px, 17px);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

::selection { background: var(--brand); color: #fff; }

/* =====================================================================
   Typography
   ===================================================================== */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
  font-optical-sizing: auto;
}

.d1 { font-size: clamp(2.45rem, 6.2vw, 4.4rem);  line-height: 1.04; letter-spacing: -.028em; }
.d2 { font-size: clamp(1.95rem, 4.1vw, 3.1rem);  line-height: 1.08; letter-spacing: -.022em; }
.d3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem);  line-height: 1.18; letter-spacing: -.016em; }

h1 { font-size: clamp(2.45rem, 6.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.028em; }
h2 { font-size: clamp(1.95rem, 4.1vw, 3.1rem); line-height: 1.08; letter-spacing: -.022em; }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.24; letter-spacing: -.012em; }
h4 { font-size: 1.05rem; }

/* A serif italic accent inside display headings. */
.em { font-style: italic; color: var(--brand); }

p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }

.lead {
  font-size: clamp(1.06rem, 1.1vw, 1.22rem);
  line-height: 1.62;
  color: var(--ink-2);
}

.small { font-size: .875rem; }
.muted { color: var(--ink-3); }

/* Small-caps label with a leading rule - the recurring section marker. */
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-2);
  flex: none;
}
.label--brand { color: var(--brand); }
.label--brand::before { background: var(--brand); }
.label--light { color: rgba(255,255,255,.62); }
.label--light::before { background: rgba(255,255,255,.32); }

/* Index numerals used as a design device throughout. */
.num {
  font-family: var(--f-sans);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-3);
}

/* =====================================================================
   Layout primitives
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--brand-deep); color: rgba(255,255,255,.72); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.rule { border: 0; border-top: 1px solid var(--line); }

/* Section head: a label column and a heading column, not a centred stack. */
.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.head__title { margin-top: 18px; }
.head__aside { padding-bottom: 6px; }
.head--stack { grid-template-columns: 1fr; align-items: start; max-width: 720px; }

/* =====================================================================
   Buttons & links
   ===================================================================== */
.btn {
  --btn-bg: var(--brand-deep);
  --btn-fg: #fff;
  --btn-bd: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  font-family: var(--f-sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  text-align: center;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: background .25s var(--ease-2), color .25s var(--ease-2), border-color .25s var(--ease-2);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.3); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--brand-deep); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--paper-3); --btn-fg: var(--brand-deep); --btn-bd: var(--paper-3); }

.btn--wa { --btn-bg: var(--wa); --btn-fg: #04371a; --btn-bd: var(--wa); }
.btn--wa:hover { --btn-bg: #1fbb5a; --btn-fg: #04371a; --btn-bd: #1fbb5a; }

.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .86rem; }
.btn--block { width: 100%; }

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

/* Text link with an animated underline that grows from the left. */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .35s var(--ease), color .25s var(--ease-2);
  padding-bottom: 2px;
}
.tlink:hover { background-size: 100% 1px; color: var(--brand); }
.tlink svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* =====================================================================
   Header
   ===================================================================== */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-2), background .3s var(--ease-2);
}
.hdr.is-stuck { background: rgba(255,255,255,.95); border-bottom-color: var(--line); }
.hdr__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: clamp(34px, 4vw, 44px); width: auto; }
.brand__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand__name {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__sub {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
}

.nav { display: flex; align-items: center; gap: clamp(4px, 1.4vw, 20px); }
.nav a {
  position: relative;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 2px;
  transition: color .22s var(--ease-2);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.hdr__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  place-items: center;
  color: var(--ink);
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s var(--ease-2);
}
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 890;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: clamp(20px, 6vw, 36px) var(--gutter) calc(env(safe-area-inset-bottom) + 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease-2), transform .35s var(--ease), visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(10px);
}
.drawer.is-open .drawer__nav a { animation: drawerIn .5s var(--ease) forwards; }
.drawer__nav a .num { font-size: .7rem; }
.drawer__nav a[aria-current="page"] { color: var(--brand); }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.drawer__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.drawer__meta { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-3); padding-top: 20px; }
.drawer__meta a { color: var(--ink); font-weight: 500; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 92px)); padding-bottom: clamp(48px, 7vw, 96px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-top: 22px; }
.hero__lead { margin-top: 22px; max-width: 30em; }
.hero .actions { margin-top: 34px; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--paper-3);
}
/* A thin offset frame - one restrained flourish instead of floating cards. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  z-index: -1;
}

/* Stats: hairline-separated, tabular numerals. */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(38px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.stats__item { padding-top: 22px; padding-right: 16px; }
.stats__item + .stats__item { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 30px); }
.stats__n {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stats__l { display: block; margin-top: 8px; font-size: .8rem; color: var(--ink-3); line-height: 1.35; }

/* =====================================================================
   Credentials bar
   ===================================================================== */
.creds { border-block: 1px solid var(--line); background: var(--paper); }
.creds__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(18px, 3vw, 38px);
  padding-block: 20px;
}
.creds__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: .01em;
}
.creds__item svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

/* =====================================================================
   Statement (about)
   ===================================================================== */
.statement { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 90px); }
.statement__media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--paper-3);
}
.statement__body p + p { margin-top: 18px; }
.statement__quote {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -.018em;
  color: var(--ink);
  margin-top: 22px;
}

/* Capability list - hairline rows, no boxes. */
.caps { margin-top: 34px; border-top: 1px solid var(--line); }
.caps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
}
.caps svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

/* =====================================================================
   Index list - the services pattern
   ===================================================================== */
.index { border-top: 1px solid var(--line-2); }
.index__row {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr) 2.5rem;
  align-items: start;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline .4s var(--ease);
}
.index__row::before {
  content: "";
  position: absolute;
  inset: 0 -12px;
  background: var(--paper-2);
  opacity: 0;
  transition: opacity .35s var(--ease-2);
  z-index: -1;
  border-radius: var(--r);
}
.index__row:hover::before { opacity: 1; }
.index__row:hover { padding-inline: 12px; }
.index__n { font-size: .78rem; padding-top: .55em; }
.index__ttl { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--ink); letter-spacing: -.02em; line-height: 1.16; }
.index__tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; }
.index__tags span { font-size: .78rem; color: var(--ink-3); position: relative; }
.index__tags span + span::before { content: "·"; position: absolute; left: -9px; }
.index__desc { font-size: .95rem; padding-top: .3em; }
.index__go {
  justify-self: end;
  align-self: center;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  transition: background .3s var(--ease-2), color .3s var(--ease-2), border-color .3s var(--ease-2), transform .35s var(--ease);
}
.index__go svg { width: 15px; height: 15px; }
.index__row:hover .index__go { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; transform: translateX(3px); }

/* =====================================================================
   Hairline grid - one shared 1px rule, no per-cell borders
   ===================================================================== */
.hgrid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.hgrid > * { background: var(--paper); padding: clamp(24px, 3vw, 36px); }
.section--paper .hgrid > * { background: var(--paper-2); }
.hgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cell__n { font-size: .72rem; }
.cell h3 { margin-top: 14px; }
.cell p { margin-top: 10px; font-size: .93rem; }
.cell__ico { color: var(--brand); }
.cell__ico svg { width: 20px; height: 20px; }

/* Compact cell for industries */
.hgrid--compact > * { padding: clamp(18px, 2.2vw, 26px); }
.cell--mini { display: flex; align-items: center; gap: 12px; }
.cell--mini h3 { margin: 0; font-size: 1rem; font-family: var(--f-sans); font-weight: 500; letter-spacing: -.005em; }
.cell--mini svg { width: 17px; height: 17px; color: var(--brand); flex: none; }

/* =====================================================================
   Process - a numbered track on a single rule
   ===================================================================== */
.track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
.track__step { position: relative; padding-top: 30px; border-top: 1px solid var(--line-2); }
.track__step::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
}
.track__n {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--brand);
  letter-spacing: -.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.track__step h3 { margin-top: 12px; font-size: 1.08rem; }
.track__step p { margin-top: 8px; font-size: .9rem; }

/* =====================================================================
   Quotes
   ===================================================================== */
.quotes { position: relative; }
.quotes__view { overflow: hidden; }
.quotes__track { display: flex; transition: transform .65s var(--ease); }
.quotes__slide { min-width: 100%; }
.quote {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.quote__stars { display: flex; gap: 4px; justify-content: center; color: var(--brand); margin-bottom: 26px; }
.quote__stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.quote__txt {
  font-family: var(--f-display);
  font-size: clamp(1.28rem, 2.6vw, 2rem);
  line-height: 1.38;
  letter-spacing: -.02em;
  color: var(--ink);
}
.quote__by { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.quote__by strong { font-size: .95rem; font-weight: 600; color: var(--ink); }
.quote__by span { font-size: .85rem; color: var(--ink-3); }

.quotes__nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.quotes__nav button {
  width: 30px; height: 2px;
  background: var(--line-2);
  border-radius: 2px;
  transition: background .3s var(--ease-2);
  padding: 10px 0;
  background-clip: content-box;
}
.quotes__nav button[aria-selected="true"] { background: var(--ink); background-clip: content-box; }

/* =====================================================================
   CTA band - full-bleed, not a floating rounded box
   ===================================================================== */
.cta { text-align: center; }
.cta h2 { margin-top: 18px; }
.cta p { margin: 18px auto 0; max-width: 54ch; color: rgba(255,255,255,.7); }
.cta .actions { justify-content: center; margin-top: 34px; }
.cta__label { display: flex; justify-content: center; }

/* =====================================================================
   Page header (inner pages)
   ===================================================================== */
.phead {
  padding-top: calc(var(--header-h) + clamp(36px, 5vw, 68px));
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
/* Breadcrumb reads as navigation, not as a section label: sentence case, no
   rule, no tracking - deliberately unlike .label so the two never blur. */
.crumb { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: var(--ink-3); margin-bottom: clamp(24px, 3vw, 34px); }
.crumb a { color: var(--ink-3); transition: color .2s var(--ease-2); }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumb span[aria-hidden] { color: var(--line-2); }
.crumb .crumb__here { color: var(--ink); font-weight: 500; }
.phead h1 { max-width: 16ch; }
.phead__lead { margin-top: 20px; max-width: 60ch; }
.phead__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.75fr); gap: clamp(20px,4vw,60px); align-items: end; }

/* =====================================================================
   Services page
   ===================================================================== */
.svc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.svc__nav { position: sticky; top: calc(var(--header-h) + 28px); }
.svc__nav ol { border-top: 1px solid var(--line); }
.svc__nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: color .25s var(--ease-2);
}
.svc__nav a .num { font-size: .7rem; transition: color .25s var(--ease-2); }
.svc__nav a:hover { color: var(--ink); }
.svc__nav a.is-active { color: var(--ink); font-weight: 600; }
.svc__nav a.is-active .num { color: var(--brand); }

.svc__block { scroll-margin-top: calc(var(--header-h) + 28px); }
.svc__block + .svc__block { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.svc__head { max-width: 62ch; }
.svc__head h2 { margin-top: 14px; }
.svc__head .lead { margin-top: 18px; }

.deets { margin-top: clamp(30px, 4vw, 46px); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.deet { background: var(--paper); padding: clamp(22px, 2.6vw, 30px); }
.deet__n { font-size: .72rem; }
.deet h3 { margin-top: 12px; font-size: 1.06rem; }
.deet p { margin-top: 9px; font-size: .92rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-2);
}
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex: none; }

/* =====================================================================
   Team - large editorial profiles
   ===================================================================== */
.profile { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); gap: clamp(26px, 5vw, 68px); align-items: start; }
.profile + .profile { margin-top: clamp(52px, 7vw, 90px); padding-top: clamp(52px, 7vw, 90px); border-top: 1px solid var(--line); }
/* Mirrored row: the column widths swap too, so the copy always gets the wide side. */
.profile--flip { grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr); }
.profile--flip .profile__media { order: 2; }
.profile__media img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--paper-3);
}
.profile__role { margin-top: 6px; font-size: .95rem; font-weight: 600; color: var(--brand); }
.profile h2 { margin-top: 16px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.profile__bio { margin-top: 20px; }
.profile__facts { margin-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.profile__facts div { padding: 16px 14px 0 0; }
.profile__facts div + div { border-left: 1px solid var(--line); padding-left: clamp(14px, 2vw, 24px); }
.profile__facts dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.profile__facts dd { margin: 7px 0 0; font-size: .95rem; font-weight: 500; color: var(--ink); line-height: 1.4; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

.infolist { margin-top: 30px; border-top: 1px solid var(--line); }
.infolist a, .infolist div.infolist__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.infolist a:hover { padding-left: 6px; }
.infolist svg { width: 17px; height: 17px; color: var(--brand); margin-top: 4px; }
.infolist dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.infolist dd { margin: 6px 0 0; font-size: .97rem; color: var(--ink); line-height: 1.5; }

.form { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); background: var(--paper); }
.form__head { margin-bottom: 26px; }
.form__head h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.form__head p { margin-top: 8px; font-size: .93rem; color: var(--ink-3); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.field label .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: .97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  transition: border-color .22s var(--ease-2), box-shadow .22s var(--ease-2);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8593' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 17px;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27,75,138,.1);
}
.field input::placeholder, .field textarea::placeholder { color: #A8B0BB; }
.form__note { margin-top: 12px; font-size: .8rem; color: var(--ink-3); }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border-radius: var(--r);
  margin-bottom: 20px;
  font-size: .92rem;
  font-weight: 500;
  border: 1px solid;
}
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.alert--success { background: #EDF7F1; border-color: #C3E3D0; color: #145F3B; }
.alert--error { background: #FCF0EF; border-color: #EFCECC; color: #8E2E2B; }

.map { margin-top: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; line-height: 0; }
.map iframe { width: 100%; height: clamp(280px, 42vw, 440px); border: 0; filter: grayscale(1) contrast(.95); transition: filter .5s var(--ease-2); }
.map:hover iframe { filter: none; }

/* =====================================================================
   FAQ
   ===================================================================== */
/* Spans the container so it lines up with the section heading above it. */
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  text-align: left;
  padding: clamp(18px, 2.4vw, 24px) 0;
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 400;
  letter-spacing: -.012em;
  color: var(--ink);
  transition: color .25s var(--ease-2);
}
.faq__q:hover { color: var(--brand); }
.faq__ico { position: relative; width: 16px; height: 16px; flex: none; }
.faq__ico::before, .faq__ico::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .25s var(--ease-2);
}
.faq__ico::before { top: 50%; left: 0; width: 16px; height: 1.5px; margin-top: -.75px; }
.faq__ico::after  { left: 50%; top: 0; height: 16px; width: 1.5px; margin-left: -.75px; }
.faq__item.is-open .faq__ico::after { transform: rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq__a p { padding-bottom: 26px; padding-right: 40px; font-size: .96rem; }

/* =====================================================================
   Footer
   ===================================================================== */
.ftr { background: var(--ink); color: rgba(255,255,255,.6); padding-top: clamp(52px, 7vw, 88px); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(38px, 5vw, 60px); }
.ftr .brand__name { color: #fff; }
.ftr .brand__sub { color: rgba(255,255,255,.45); }
.ftr .brand img { filter: brightness(0) invert(1); opacity: .92; }
.ftr__about { margin-top: 20px; font-size: .92rem; max-width: 34ch; color: rgba(255,255,255,.55); }
.ftr__social { display: flex; gap: 8px; margin-top: 24px; }
.ftr__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  color: rgba(255,255,255,.7);
  transition: background .25s var(--ease-2), color .25s var(--ease-2), border-color .25s var(--ease-2);
}
.ftr__social a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ftr__social svg { width: 16px; height: 16px; }

.ftr__col h4 {
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 18px;
}
.ftr__col li + li { margin-top: 11px; }
.ftr__col a, .ftr__col li { font-size: .92rem; color: rgba(255,255,255,.68); }
.ftr__col a { transition: color .22s var(--ease-2); }
.ftr__col a:hover { color: #fff; }
.ftr__contact li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 11px; align-items: start; }
.ftr__contact svg { width: 15px; height: 15px; color: rgba(255,255,255,.4); margin-top: 4px; }

.ftr__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: .82rem;
  color: rgba(255,255,255,.42);
}
.ftr__bottom a { color: rgba(255,255,255,.6); }
.ftr__bottom a:hover { color: #fff; }
.ftr__by { display: flex; align-items: center; gap: 6px; }

/* =====================================================================
   Floating / sticky actions
   ===================================================================== */
.wa {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 800;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(37,211,102,.7);
  transition: transform .3s var(--ease);
}
.wa:hover { transform: scale(1.06); }
.wa svg { width: 27px; height: 27px; }

/* Mobile action bar - genuinely useful for a practice that takes calls. */
.mbar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 850;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 48px;
  padding: 6px 4px;
  border-radius: var(--r);
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .01em;
}
.mbar a svg { width: 18px; height: 18px; }
.mbar a.mbar--primary { background: var(--brand-deep); color: #fff; }
.mbar a.mbar--wa { color: #0F7A3D; }

/* =====================================================================
   Reveal
   ===================================================================== */
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .drawer__nav a { opacity: 1; transform: none; }
}

/* =====================================================================
   Responsive structure
   ===================================================================== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(34px, 6vw, 52px); }
  .hero__media { max-width: 520px; }
  .hero__media img { aspect-ratio: 16 / 11; }
  .hero__media::after { inset: 14px -14px -14px 14px; }
  .statement { grid-template-columns: 1fr; }
  .statement__media { max-width: 480px; }
  .statement__media img { aspect-ratio: 16 / 11; }
  .contact { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__nav { position: static; }
  .svc__nav ol { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 24px; }
  .hgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .phead__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .index__row { grid-template-columns: 3rem minmax(0, 1fr) 2.2rem; row-gap: 10px; }
  .index__desc { grid-column: 2 / 4; padding-top: 0; }
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__brandcol { grid-column: 1 / -1; }
  .profile, .profile--flip { grid-template-columns: 1fr; }
  .profile--flip .profile__media { order: 0; }
  .profile__media { max-width: 340px; }
  .profile__media img { aspect-ratio: 4 / 4.2; }
}

@media (max-width: 860px) {
  .nav, .hdr__cta .btn { display: none; }
  .burger { display: grid; }
  .head { grid-template-columns: 1fr; align-items: start; }
  .head__aside { padding-bottom: 0; }
}

@media (max-width: 640px) {
  .hgrid--3, .hgrid--4 { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; row-gap: 26px; }
  .deets { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .svc__nav ol { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats__item { padding: 16px 0; border-top: 1px solid var(--line); }
  .stats__item:first-child { border-top: 0; padding-top: 20px; }
  .stats__item + .stats__item { border-left: 0; padding-left: 0; }
  .stats__n { font-size: 1.85rem; }
  .profile__facts { grid-template-columns: 1fr; }
  .profile__facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .profile__facts div + div { border-left: 0; padding-left: 0; }
  .ftr__top { grid-template-columns: 1fr; gap: 34px; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
  .faq__a p { padding-right: 0; }
  .index__row:hover { padding-inline: 0; }
  .index__row::before { inset: 0; }

  /* Mobile action bar replaces the floating bubble. */
  .mbar { display: grid; }
  .wa { display: none; }
  body { padding-bottom: 74px; }
  .drawer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Below this width, side-by-side buttons read as ragged - stretch them. */
@media (max-width: 460px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .cta .actions { align-items: stretch; }
}

@media (max-width: 380px) {
  .brand__sub { display: none; }
}

/* =====================================================================
   Print
   ===================================================================== */
@media print {
  .hdr, .drawer, .wa, .mbar, .ftr__social, .actions { display: none !important; }
  body { padding: 0; color: #000; }
  .rv { opacity: 1; transform: none; }
}
