@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f7f9fd;
  --white: #ffffff;
  --ink: #122347;
  --muted: #53627b;
  --blue: #214caf;
  --blue-dark: #102653;
  --blue-soft: #edf3ff;
  --line: #dce4f0;
  --gold: #e8b75b;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(16, 38, 83, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

.header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header { min-height: 92px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .045em;
}
.brand-logo { display: block; width: 50px; height: 50px; object-fit: contain; flex: none; border-radius: 50%; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: #32435f; font-size: 14px; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--blue); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.button:hover { background: #173d96; transform: translateY(-1px); }
.button.small { min-height: 42px; padding: 8px 14px; font-size: 13px; }
.button.outline { border-color: var(--line); background: var(--white); color: var(--blue-dark); }
.button.outline:hover { border-color: #b8c9e8; background: var(--blue-soft); }

.hero-band {
  overflow: hidden;
  background: linear-gradient(118deg, #0f2147 0%, #153878 60%, #204caf 100%);
  color: var(--white);
}
.hero {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: 64px;
  padding-block: 70px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero .eyebrow { color: #d9e5ff; }
.hero .eyebrow span { background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
h1 { margin-bottom: 20px; font-size: clamp(60px, 7.1vw, 94px); line-height: .99; }
h1 em { color: #bdd1ff; font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { max-width: 470px; margin-bottom: 26px; color: #e0e8f8; font-size: 17px; }
.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero .button { border-color: var(--gold); background: var(--gold); color: #13264a; }
.hero .button:hover { border-color: #f0c979; background: #f0c979; }
.text-link { color: var(--blue); font-size: 14px; font-weight: 700; }
.hero .text-link { color: var(--white); }
.hero-photo {
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1.25;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  background: #dce6f6;
  box-shadow: 0 22px 55px rgba(2, 15, 43, .28);
}
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }

.service-strip { border-bottom: 1px solid var(--line); background: var(--white); color: #314365; }
.service-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 17px; text-align: center; font-size: 13px; font-weight: 700; }
.service-strip span + span { border-left: 1px solid var(--line); }
.section { padding-block: 78px; }
h2 { margin-bottom: 13px; color: var(--blue-dark); font-size: clamp(42px, 5vw, 64px); line-height: 1.03; }
h3 { margin-bottom: 10px; color: var(--blue-dark); font-size: 20px; line-height: 1.25; }
.lede { margin-bottom: 0; color: var(--muted); }

.destinations { display: flex; gap: 9px; flex-wrap: wrap; margin: 25px 0 16px; }
.destinations button {
  min-height: 40px;
  padding: 7px 15px;
  border: 1px solid #c9d5e8;
  border-radius: 999px;
  background: var(--white);
  color: #314365;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.destinations button:hover { border-color: var(--blue); color: var(--blue); }
.destinations button[aria-pressed=true] { border-color: var(--blue); background: var(--blue); color: var(--white); }
.country {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(16, 38, 83, .04);
}
.country h3 { margin-bottom: 5px; }
.country p { max-width: 620px; margin-bottom: 0; color: var(--muted); }
.country a { flex: none; }

.services { background: #edf2fa; }
.columns, .offices { display: grid; gap: 18px; margin-top: 30px; }
.columns { grid-template-columns: repeat(3, 1fr); }
.columns article, .offices article {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.columns article { border-top: 3px solid var(--blue); box-shadow: 0 8px 24px rgba(16, 38, 83, .04); }
.columns article p, .offices p { max-width: 340px; margin-bottom: 0; color: var(--muted); }
.route-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.route-cards article { display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 8px 24px rgba(16, 38, 83, .04); }
.route-cards article p:not(.route-label) { color: var(--muted); }
.route-cards .text-link { margin-top: auto; }
.route-label { margin-bottom: 10px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.office-links { margin-top: 13px; line-height: 2; }

.about-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; gap: 26px; margin-top: 30px; }
.about-values { display: grid; gap: 16px; }
.about-values article { padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.about-values p { margin-bottom: 0; color: var(--muted); }
.ceo-profile {
  display: grid;
  grid-template-columns: minmax(140px, .48fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #24457e;
  border-radius: 16px;
  background: linear-gradient(145deg, #102653, #1b418f);
  box-shadow: var(--shadow);
}
.portrait-frame { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; background: #267ac0; }
.portrait-frame img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.ceo-profile h3 { margin-bottom: 13px; color: var(--white); font: 400 clamp(30px, 3.4vw, 44px)/1.05 'Instrument Serif', Georgia, serif; }
.ceo-profile p { color: #e2eaf9; }
.ceo-profile p:last-child { margin-bottom: 0; }
.ceo-profile .ceo-role { margin-bottom: 8px; color: #d5b66e; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.uploaded-portrait img { inset: 0; width: 100%; height: 100%; object-fit: cover; }

#offices { border-top: 1px solid var(--line); }
.offices { grid-template-columns: repeat(2, 1fr); }
.offices a { color: var(--blue); font-size: 14px; font-weight: 700; }

.contact { background: linear-gradient(118deg, #0f2147, #173c83); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .eyebrow span { background: var(--gold); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-layout > div > p:not(.eyebrow) { max-width: 430px; color: #dce5f5; }
.contact-layout > div > a { color: #f2ce7d; font-weight: 700; }
form { display: grid; gap: 8px; }
label { font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #c4d0e3; border-radius: 7px; background: var(--white); color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 5px 0; }
.form-row > div { display: grid; gap: 7px; }
form .button { margin-top: 10px; border-color: var(--gold); background: var(--gold); color: #13264a; }
form .button:hover { border-color: #f0c979; background: #f0c979; }

footer { min-height: 105px; }
footer p { margin: 0; color: var(--muted); font-size: 14px; }

.intake-offer { border-bottom: 1px solid var(--line); }
.intake-offer p:not(.eyebrow) { max-width: 65ch; white-space: pre-line; color: var(--muted); }

/* Search-friendly destination and office pages */
.content-hero { padding-block: 64px; background: linear-gradient(118deg, #0f2147 0%, #153878 60%, #204caf 100%); color: var(--white); }
.content-hero .eyebrow span { background: var(--gold); }
.content-hero h1 { max-width: 900px; margin: 0 0 20px; font-size: clamp(52px, 7vw, 86px); }
.content-hero h1 em { color: #bdd1ff; }
.content-hero .wrap > p:not(.eyebrow, .breadcrumbs) { max-width: 720px; color: #e0e8f8; font-size: 18px; }
.breadcrumbs { margin: 0 0 23px; color: #d3def2; font-size: 13px; }
.breadcrumbs a { color: var(--white); }
.page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.page-panel { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 24px rgba(16, 38, 83, .04); }
.page-panel h2 { font-size: clamp(34px, 4vw, 48px); }
.page-panel address { margin-bottom: 15px; color: var(--ink); font-style: normal; font-weight: 600; }
.page-panel p, .page-panel li { color: var(--muted); }
.page-panel a { color: var(--blue); font-weight: 700; }
.page-panel ul { display: grid; gap: 10px; padding-left: 20px; }
.page-cta { background: #edf2fa; }
.page-cta .wrap > p:not(.eyebrow) { max-width: 700px; color: var(--muted); }

/* Owner editing page */
.admin .wrap { max-width: 720px; }
.admin h1 { margin: 0; font-size: clamp(42px, 8vw, 68px); }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin fieldset { display: grid; min-width: 0; gap: 9px; margin: 0 0 12px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.admin legend { padding: 0 5px; font-weight: 700; }
.admin textarea { resize: vertical; }
.admin .portrait-frame { width: 88px; margin: 6px; }
.admin-checkbox { display: flex; align-items: center; gap: 8px; }
.admin-checkbox input { width: auto; min-height: auto; }
.admin [role=status] { padding: 12px; border-radius: 6px; background: var(--blue-soft); }

@media (max-width: 900px) {
  .wrap { width: min(100% - 44px, 1160px); }
  nav { gap: 16px; }
  .hero { gap: 34px; padding-block: 55px; }
  .ceo-profile { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 160px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header { min-height: 0; flex-wrap: wrap; gap: 15px; padding-block: 16px; }
  .header nav { order: 3; width: 100%; justify-content: space-between; gap: 9px; padding: 3px 0 2px; }
  nav a { font-size: 12px; }
  .header > .button { margin-left: auto; }
  .hero, .contact-layout { grid-template-columns: 1fr; }
  .hero { gap: 28px; padding-block: 44px; }
  h1 { font-size: clamp(58px, 14vw, 78px); }
  .hero-photo { aspect-ratio: 1.3; }
  .service-strip .wrap { font-size: 11px; }
  .section { padding-block: 54px; }
  .columns, .about-layout { grid-template-columns: 1fr; }
  .route-cards, .page-grid { grid-template-columns: 1fr; }
  .columns { gap: 12px; }
  .route-cards { gap: 12px; }
  .columns article, .offices article { padding: 21px; }
  .country { align-items: flex-start; flex-direction: column; padding: 22px; }
  .contact-layout { gap: 28px; }
  .offices { gap: 12px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding-block: 24px; }
}
@media (max-width: 400px) {
  .brand { font-size: 17px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand small { font-size: 9px; }
  .header .small { min-height: 38px; padding-inline: 9px; font-size: 11px; }
  .offices, .form-row { grid-template-columns: 1fr; }
  .service-strip .wrap { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Study Reach corporate refresh */
:root {
  --paper: #f5f7fb;
  --white: #fff;
  --ink: #14243f;
  --muted: #5e6b80;
  --blue: #1748a0;
  --blue-dark: #10244a;
  --blue-soft: #eaf0fa;
  --line: #e0e6ef;
  --gold: #e8b75b;
  --radius: 16px;
  --shadow: 0 18px 48px rgba(16, 36, 74, .10);
}
body { background: #fff; color: var(--ink); font-size: 16px; line-height: 1.7; }
.wrap { width: min(1180px, calc(100% - 64px)); }
.header {
  position: sticky; top: 0; z-index: 20; min-height: 82px; padding-inline: 18px;
  border-bottom: 1px solid rgba(224,230,239,.9); background: rgba(255,255,255,.97);
  box-shadow: 0 5px 18px rgba(16,36,74,.035); backdrop-filter: blur(12px);
}
.brand { color: var(--blue-dark); font-size: 19px; letter-spacing: -.035em; }
.brand small { font-size: 10px; }
.brand-logo { width: 48px; height: 48px; }
nav { gap: 28px; }
nav a { color: #35445b; font-size: 13px; font-weight: 700; }
.button { min-height: 48px; padding: 12px 21px; border-radius: 7px; background: var(--blue); font-size: 14px; font-weight: 700; }
.button:hover { background: #123b88; transform: translateY(-1px); }
.button.small { min-height: 42px; padding: 8px 15px; font-size: 12px; }
.button.outline { border-color: #cad5e5; background: #fff; }
.button.outline:hover { border-color: #9fb4d5; background: #f4f7fc; }
.hero-band { background: linear-gradient(115deg, #10244a 0%, #173d7c 56%, #1c4ea0 100%); }
.hero { grid-template-columns: .95fr 1.05fr; gap: clamp(34px, 5vw, 68px); padding-block: clamp(54px, 7vw, 86px); }
.hero .eyebrow { font-size: 11px; letter-spacing: .12em; }
h1, h2, h3 { font-family: 'DM Sans', Arial, sans-serif; }
.hero h1 { max-width: 650px; margin-bottom: 20px; font-size: clamp(44px, 4.2vw, 58px); font-weight: 700; letter-spacing: -.055em; line-height: 1.06; }
h1 em { color: #d6e4ff; font-style: normal; font-weight: 500; }
.hero-copy > p:not(.eyebrow) { max-width: 520px; margin-bottom: 28px; color: #e4ebf7; font-size: 16px; line-height: 1.75; }
.hero .button { border-color: var(--gold); background: var(--gold); color: #162848; }
.hero .button:hover { border-color: #f0c979; background: #f0c979; }
.hero .text-link { color: #fff; font-size: 13px; }
.hero-photo { aspect-ratio: 1.28; border: 5px solid rgba(255,255,255,.12); border-radius: 20px; box-shadow: 0 25px 60px rgba(3, 16, 40, .34); }
.hero-photo img { object-position: center; }
.service-strip { border-bottom: 1px solid var(--line); background: #fff; }
.service-strip .wrap { padding-block: 17px; color: #344767; font-size: 12px; letter-spacing: .01em; }
.section { padding-block: clamp(58px, 7vw, 86px); }
.eyebrow { margin-bottom: 13px; color: #566782; font-size: 10px; letter-spacing: .14em; }
.eyebrow span { width: 7px; height: 7px; background: var(--blue); }
h2 { margin-bottom: 12px; color: var(--blue-dark); font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -.045em; line-height: 1.12; }
h3 { margin-bottom: 9px; color: var(--blue-dark); font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.lede { max-width: 720px; color: var(--muted); font-size: 15px; }
.route-cards, .columns, .offices { gap: 18px; margin-top: 28px; }
.route-cards article, .columns article, .offices article, .about-values article {
  padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: #fff;
  box-shadow: 0 7px 22px rgba(17, 41, 82, .035); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.route-cards article:hover, .columns article:hover, .offices article:hover {
  transform: translateY(-3px); border-color: #c6d4e8; box-shadow: 0 15px 30px rgba(17,41,82,.08);
}
.route-cards article { min-height: 255px; }
.route-label { color: var(--blue); font-size: 10px; letter-spacing: .13em; }
.route-cards article p:not(.route-label), .columns article p, .offices p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.text-link, .offices a, .page-panel a { color: var(--blue); font-size: 13px; font-weight: 700; text-decoration-thickness: 1px; }
.destinations { gap: 8px; margin: 24px 0 15px; }
.destinations button { min-height: 39px; padding: 7px 15px; border-color: #d4ddea; color: #30435f; font-size: 13px; }
.destinations button[aria-pressed=true] { background: var(--blue); }
.country { padding: 25px 28px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; box-shadow: 0 7px 22px rgba(17,41,82,.04); }
.country p { font-size: 14px; }
.services { background: #f4f7fb; }
.columns article { min-height: 185px; border-top: 1px solid var(--line); }
.about-layout { gap: 24px; }
.about-values article { padding: 21px; }
.about-values p { color: var(--muted); font-size: 14px; }
.ceo-profile { border-radius: 15px; background: linear-gradient(135deg, #10244a, #1b4388); }
.ceo-profile h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.04em; }
.ceo-profile p { font-size: 14px; line-height: 1.75; }
.ceo-profile .ceo-role { font-size: 10px; }
.portrait-frame { border-radius: 12px; }
#offices { border-top: 1px solid var(--line); }
.offices article { min-height: 210px; }
.contact { background: linear-gradient(120deg, #10244a, #173d7c); }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #d8e4f7; }
.contact-layout { gap: clamp(36px, 6vw, 82px); }
.contact-layout > div > p:not(.eyebrow) { color: #d9e3f3; }
.contact-layout > div > a { color: #f2ce7d; font-size: 14px; }
form { gap: 9px; padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 18px 45px rgba(3,16,40,.18); }
label { color: #34445e; font-size: 12px; }
input, select, textarea { min-height: 46px; border-color: #d7dfeb; border-radius: 6px; font-size: 14px; }
form .button { margin-top: 8px; }
footer { min-height: 100px; }
footer p { font-size: 13px; }
.content-hero { padding-block: clamp(46px, 6vw, 70px); background: linear-gradient(115deg, #10244a, #1b4a92); }
.content-hero h1 { max-width: 760px; font-size: clamp(42px, 5.6vw, 68px); }
.content-hero h1 em { color: #d6e4ff; }
.content-hero .wrap > p:not(.eyebrow, .breadcrumbs) { font-size: 16px; }
.breadcrumbs { font-size: 12px; }
.page-panel { border-radius: 13px; }
.page-panel h2 { font-size: clamp(31px, 3.5vw, 42px); }
.page-cta { background: #f4f7fb; }

@media (max-width: 900px) {
  .wrap { width: min(100% - 44px, 1180px); }
  .header { padding-inline: 14px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header { position: relative; min-height: 0; padding: 13px 0; border: 0; background: #fff; box-shadow: none; }
  .header nav { padding: 6px 0 4px; }
  .hero { gap: 27px; padding-block: 43px; }
  h1 { font-size: clamp(43px, 11vw, 62px); }
  .hero-photo { aspect-ratio: 1.35; }
  .service-strip .wrap { grid-template-columns: 1fr; gap: 8px; padding-block: 14px; text-align: left; font-size: 12px; }
  .service-strip span + span { border-left: 0; }
  .section { padding-block: 54px; }
  .route-cards, .columns, .offices { gap: 12px; }
  .route-cards article { min-height: 0; }
  .route-cards article, .columns article, .offices article { padding: 21px; }
  .ceo-profile { gap: 22px; padding: 23px; }
  .contact-layout { gap: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
