:root {
  --navy: #132a46;
  --blue: #315e8c;
  --blue-dark: #23496f;
  --off-white: #f7f7f4;
  --white: #ffffff;
  --text: #202b36;
  --muted: #66717d;
  --border: #dde2e7;
  --gold: #b89a5e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 18px 48px rgb(19 42 70 / 0.1);
  --radius: 3px;
  --content: 1180px;
  --narrow: 760px;
  --internal-h1-desktop: 3.375rem;
  --internal-h1-tablet: 3rem;
  --internal-h1-mobile: 2.5rem;
  --internal-masthead-top: 48px;
  --internal-masthead-bottom: 40px;
  --internal-editorial-space: 35px;
  --internal-final-space: 52px;
  --display-hero-max: 4rem;
  --display-h1-max: 3.375rem;
  --display-editorial-max: 2.75rem;
  --space-section: clamp(4rem, 7vw, 6.5rem);
  --space-section-home: clamp(3.5rem, 6vw, 5.5rem);
  --space-page-hero: clamp(3rem, 5.7vw, 5.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid #e7c46f;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--navy);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 3rem), var(--narrow));
  margin-inline: auto;
}

.eyebrow,
.card-label {
  margin: 0 0 0.7rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.8rem, 5vw, var(--display-hero-max));
}

h2 {
  font-size: clamp(2.15rem, 3.2vw, var(--display-editorial-max));
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

p {
  margin-top: 0;
}

.lead {
  color: #394957;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.55;
}

.text-link,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.text-link {
  text-decoration: none;
}

.text-link::after {
  margin-left: 0.5rem;
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(0.25rem);
}

.button {
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.button:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgb(221 226 231 / 0.8);
  background: rgb(255 255 255 / 0.96);
}

.header-inner {
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  line-height: 1.25;
  text-decoration: none;
}

.brand-compass {
  width: 40px;
  height: 40px;
  opacity: 0.82;
}

.brand-copy {
  display: inline-grid;
  min-width: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
}

.brand-tagline {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .brand-name {
    font-size: 1.65rem;
  }

  .brand-tagline {
    font-size: 0.79rem;
  }
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -7px;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 7px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.4vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--gold);
}

.home-hero {
  --hero-photo: url("/assets/images/hero/hero-sunset.jpg");
  position: relative;
  display: grid;
  min-height: clamp(560px, 67vh, 650px);
  overflow: hidden;
  place-items: end start;
  background-color: #a95f4d;
  background-image:
    linear-gradient(90deg, rgb(12 31 52 / 0.56) 0%, rgb(17 41 67 / 0.31) 48%, rgb(28 39 54 / 0.06) 82%),
    linear-gradient(0deg, rgb(19 42 70 / 0.22), transparent 55%),
    var(--hero-photo);
  background-position: center;
  background-size: cover;
}

.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding-block: 4.75rem;
  color: var(--white);
}

.home-hero .eyebrow,
.home-hero h1 {
  color: var(--white);
}

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 4.45vw, var(--display-hero-max));
  text-shadow: 0 2px 20px rgb(0 0 0 / 0.16);
}

.hero-secondary {
  margin: 0;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding-block: var(--space-section);
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-tinted {
  background: var(--off-white);
}

.section-navy {
  background: var(--navy);
  color: rgb(255 255 255 / 0.82);
}

.section-navy h2,
.section-navy h3,
.section-navy .eyebrow,
.section-navy .text-link {
  color: var(--white);
}

.section-navy .lead {
  color: rgb(255 255 255 / 0.88);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: start;
}

.split-intro h2 {
  position: sticky;
  top: 2rem;
}

.split-intro-copy p {
  font-size: 1.08rem;
}

.cards-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.focus-card,
.project-card {
  background: var(--white);
}

.card-body {
  padding: 2rem;
}

.card-body h3 {
  min-height: 2.3em;
  margin-bottom: 1rem;
  font-size: 1.55rem;
}

.card-body p {
  color: #4b5965;
  font-size: 0.93rem;
}

.geo-grid,
.two-cards,
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.geo-block {
  padding-top: 2rem;
  border-top: 2px solid var(--gold);
}

.geo-block h3 {
  margin-bottom: 1rem;
}

.project-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.project-card h3 {
  margin-bottom: 1rem;
}

.project-logo-wrap {
  width: 104px;
  height: 104px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--white);
}

.project-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.link-list a,
.link-list span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.closing-statement {
  position: relative;
  overflow: hidden;
}

.closing-inner {
  display: grid;
  min-height: 360px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.closing-inner p {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.1;
}

.closing-inner p:last-child {
  text-align: right;
}

.closing-compass {
  width: 92px;
  opacity: 0.34;
}

/* Homepage refinement: denser rhythm and photography-led composition. */
.home-page .section {
  padding-block: var(--space-section-home);
}

.home-page .section-heading {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.home-focus .section-heading {
  margin-bottom: clamp(1.25rem, 2vw, 1.875rem);
}

.home-focus .section-heading h2 {
  font-size: clamp(1.9rem, 3.05vw, var(--display-editorial-max));
}

.home-intro {
  padding-block: clamp(3.25rem, 5vw, 4.75rem) !important;
}

.home-intro .split-intro {
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.home-intro .split-intro h2 {
  position: static;
  padding-top: 0.35rem;
  font-family: var(--sans);
}

.home-intro .split-intro-copy {
  max-width: 800px;
}

.home-intro .split-intro-copy p {
  margin-bottom: 0.9rem;
}

.home-page .cards-four {
  gap: 1.25rem;
  border: 0;
  background: transparent;
}

.home-page .focus-card {
  display: flex;
  min-width: 0;
  border: 1px solid var(--border);
  flex-direction: column;
  box-shadow: 0 12px 34px rgb(19 42 70 / 0.07);
}

.home-page .focus-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--off-white);
}

.home-page .focus-image-link {
  color: inherit;
  text-decoration: none;
}

.home-page .focus-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-page .focus-image-link img {
  transition: opacity 180ms ease, transform 240ms ease;
}

.home-page .focus-image-link:hover img {
  opacity: 0.96;
  transform: scale(1.015);
}

.home-page .focus-image-link:focus-visible {
  z-index: 2;
  outline-offset: -4px;
  box-shadow: inset 0 0 0 5px var(--navy);
}

.home-page .focus-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .focus-image-impact img {
  object-position: 50% 52%;
}

.home-page .focus-image-technology img {
  object-position: 48% 50%;
}

.home-page .focus-image-travel img {
  object-position: 62% 50%;
}

.home-page .focus-image-global img {
  object-position: 56% 50%;
}

.home-page .focus-card .card-body {
  display: flex;
  padding: 1.25rem 1.35rem 1.35rem;
  flex: 1;
  flex-direction: column;
}

.home-page .focus-card .card-body h3 {
  min-height: 3.35em;
  margin-bottom: 0.65rem;
  font-size: 1.34rem;
}

.home-page .focus-card .card-body p {
  margin-bottom: 0.75rem;
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-page .focus-card .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.home-geography .section-heading {
  max-width: none;
  margin-bottom: 1.5rem;
}

.home-geography .geo-grid {
  position: relative;
  isolation: isolate;
  gap: clamp(4rem, 10vw, 8rem);
  padding-block: 1rem 1.5rem;
}

.home-geography .geo-map {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(70%, 730px);
  max-height: 88%;
  opacity: 0.105;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.home-geography .geo-block {
  position: relative;
  z-index: 1;
  min-height: 195px;
  padding: 1.75rem;
  border-top-width: 3px;
  background: rgb(255 255 255 / 0.95);
  box-shadow: 0 12px 34px rgb(19 42 70 / 0.06);
}

.home-geography .geo-region-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.4rem;
  width: auto;
  max-width: 106px;
  max-height: 96px;
  opacity: 0.5;
  pointer-events: none;
}

.home-geography .geo-region-africa {
  width: 76px;
}

.home-geography .geo-region-asia {
  top: 1.6rem;
  width: 106px;
}

.home-geography .geo-block h3 {
  max-width: calc(100% - 7rem);
}

.home-geography .geo-block p:last-child,
.home-geography .container > p:last-child {
  margin-bottom: 0;
}

.home-projects .project-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.home-projects .project-card > :last-child {
  margin-bottom: 0;
}

.home-next {
  padding-block: clamp(2.75rem, 4vw, 3.5rem) !important;
}

.home-next .next-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(410px, 1.5fr) auto;
  gap: clamp(2rem, 4vw, 4.25rem);
  align-items: center;
}

.home-next h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 2.3vw, var(--display-editorial-max));
}

.home-next .lead {
  margin-bottom: 0.7rem;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.home-next .next-copy {
  color: rgb(255 255 255 / 0.9);
  font-size: 0.92rem;
  line-height: 1.58;
}

.home-next .next-copy p:last-child {
  margin-bottom: 0;
}

.home-next .next-action {
  justify-self: end;
}

.home-next .button-light {
  min-width: 136px;
  border-color: rgb(255 255 255 / 0.78);
  background: transparent;
  color: var(--white);
}

.home-next .button-light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.home-page .closing-inner {
  min-height: 188px;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.home-page .closing-inner p {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.home-page .closing-compass {
  width: 60px;
  opacity: 0.28;
}

.page-hero {
  padding-block: var(--space-section);
  background:
    linear-gradient(120deg, var(--off-white), #fff 62%),
    var(--off-white);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  max-width: 1050px;
  margin-bottom: 1.5rem;
}

.page-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
}

/* Shared internal-page rhythm keeps editorial layouts spacious without delaying content. */
.internal-page .page-hero {
  padding-block: var(--space-page-hero);
}

.internal-page .page-hero h1,
.contact-page .contact-intro h1 {
  font-size: clamp(2.25rem, 4.65vw, var(--display-h1-max));
}

.internal-page .section {
  padding-block: var(--space-section);
}

.about-page main > .section:first-of-type,
.impact-page .impact-intro,
.travel-page .travel-intro {
  padding-block: clamp(3.5rem, 5.5vw, 5rem);
}

.story-sections {
  display: grid;
  gap: 0;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(2.5rem, 4.75vw, 4rem);
  border-top: 1px solid var(--border);
}

.story-section:first-child {
  border-top: 0;
}

.story-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.story-section-content > :last-child {
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
}

.feature-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.callout {
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 4px solid var(--gold);
  background: var(--off-white);
}

.callout h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.project-stack {
  display: grid;
  gap: 1.5rem;
}

.project-module {
  display: grid;
  grid-template-columns: minmax(180px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--border);
  background: var(--white);
}

.project-module h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 3vw, var(--display-editorial-max));
}

.projects-page .project-stack {
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.projects-page .project-module {
  padding: clamp(2.25rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.25rem);
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
}

.projects-page .project-module:first-child {
  border-top: 2px solid var(--gold);
}

.projects-page .project-module:nth-child(even) {
  background: rgb(246 246 241 / 0.72);
}

.projects-page main > .section {
  padding-block: clamp(2.75rem, 4.5vw, 4.5rem);
}

.project-module-heading {
  min-width: 0;
}

.project-module-media:empty {
  display: none;
}

.project-module-media:not(:empty) {
  margin-top: 1.5rem;
}

.project-module--triptools .project-module-media {
  width: 88px;
}

.project-module--triptools .project-module-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 20%;
  object-fit: contain;
  box-shadow: 0 10px 24px rgb(19 42 70 / 0.16);
}

.project-module-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: 1.25rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--off-white);
}

.gallery-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-item figcaption {
  min-height: 2.1rem;
  padding: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.selected-photography {
  padding-block: clamp(3.5rem, 5vw, 5rem) !important;
}

.selected-photography .section-heading {
  max-width: 840px;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.selected-photography .section-heading .lead {
  margin-bottom: 0;
}

.travel-perspective p:not(.eyebrow) {
  color: rgb(255 255 255 / 0.86);
}

.internal-page .closing-inner {
  min-height: 260px;
}

.contact-primary {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  background:
    linear-gradient(120deg, var(--off-white), #fff 62%),
    var(--off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: clamp(3rem, 5.5vw, 5rem);
  align-items: start;
}

.contact-intro {
  padding-top: clamp(0.25rem, 1vw, 0.75rem);
}

.contact-intro h1 {
  margin-bottom: 1rem;
}

.contact-intro header > .lead {
  max-width: 650px;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.contact-copy {
  max-width: 650px;
}

.contact-copy .lead {
  font-size: clamp(1.2rem, 1.85vw, 1.5rem);
}

.contact-card {
  padding: clamp(2rem, 3vw, 2.75rem);
  background: var(--navy);
  color: rgb(255 255 255 / 0.84);
}

.contact-card h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 3.5vw, 3.5rem);
  white-space: nowrap;
}

.contact-card h2,
.contact-card a,
.contact-card strong {
  color: var(--white);
}

.contact-card address {
  font-style: normal;
}

.contact-card address p {
  margin-bottom: 0.2rem;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding-block: 0.35rem;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}

.contact-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.email-fallback {
  margin: 0.5rem 0 0;
  color: rgb(255 255 255 / 0.76);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* Desktop internal pages: content-led heights with no stacked presentation spacing. */
@media (min-width: 1100px) {
  .internal-page .page-hero {
    padding-block: var(--internal-masthead-top) var(--internal-masthead-bottom);
  }

  .impact-page .page-hero {
    padding-bottom: 24px;
  }

  .internal-page .section {
    padding-block: 64px;
  }

  .about-page main > .section:first-of-type,
  .travel-page .travel-intro {
    padding-block: 28px;
  }

  .impact-page .impact-intro {
    padding-block: 21px;
  }

  .about-page main > .section:first-of-type .narrow,
  .impact-page .impact-intro .narrow,
  .travel-page .travel-intro .narrow {
    width: min(calc(100% - 3rem), 860px);
  }

  .about-page .section-tinted,
  .impact-page .section-tinted,
  .travel-page .section-tinted {
    padding-block: 0;
  }

  .story-section {
    padding-block: var(--internal-editorial-space);
  }

  .about-page .story-section:last-child {
    padding-bottom: var(--internal-final-space);
  }

  .projects-page main > .section {
    padding-block: 36px;
  }

  .projects-page .project-module {
    padding-block: var(--internal-editorial-space);
  }

  .impact-page main > .section:last-of-type {
    padding-block: 48px;
  }

  .selected-photography {
    padding-block: 40px !important;
  }

  .travel-perspective {
    padding-block: 48px !important;
  }

  .contact-primary {
    padding-block: 40px;
  }
}

@media (min-width: 1200px) {
  .internal-page .page-hero h1,
  .contact-page .contact-intro h1 {
    font-size: var(--internal-h1-desktop);
  }
}

.privacy-content h2 {
  margin-top: 3.5rem;
  font-size: 1.8rem;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.error-page {
  display: grid;
  min-height: clamp(520px, 72vh, 760px);
  place-items: center;
  text-align: center;
}

.error-page .compass-large {
  width: 120px;
  margin: 0 auto 2rem;
  opacity: 0.38;
}

.error-page h1 {
  max-width: 900px;
  margin-inline: auto;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
}

/* Books */
.page-hero-copy {
  max-width: 760px;
  margin-top: 1.75rem;
}

.page-hero-copy p:last-child,
.book-feature-copy > :last-child,
.book-hero-copy > :last-child {
  margin-bottom: 0;
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: start;
}

.book-cover-link,
.book-layout > picture {
  display: block;
  width: min(100%, 390px);
}

.book-cover-link {
  color: inherit;
}

.book-cover {
  width: min(100%, 390px);
  height: auto;
  box-shadow: 0 18px 38px rgb(19 42 70 / 0.18);
}

.book-page .section {
  padding-block: clamp(1.75rem, 3vw, 2rem);
}

.book-page .book-hero h1 {
  font-size: clamp(2.5rem, 3.4vw, 2.75rem);
}

.book-listing h2,
.book-hero h1 {
  margin-bottom: 0.6rem;
}

.book-subtitle {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-style: italic;
}

.book-byline {
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.book-role,
.book-availability {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.book-role {
  margin-bottom: 1.65rem;
}

.book-availability {
  margin-top: 1.5rem;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.book-actions .button-secondary {
  border-color: var(--navy);
}

.book-family-project {
  border-top: 4px solid var(--gold);
  background: var(--off-white);
}

.edition-comparison {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid rgb(19 42 70 / 0.18);
}

.edition-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.edition-comparison-grid figure {
  margin: 0;
}

.edition-comparison-grid img {
  width: min(100%, 310px);
  height: auto;
  box-shadow: 0 12px 30px rgb(19 42 70 / 0.13);
}

.edition-comparison-grid figure:nth-child(2) img {
  width: min(100%, 268px);
}

.edition-comparison-grid figcaption,
.edition-comparison-caption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.edition-comparison-caption {
  max-width: 620px;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.55;
}

.publication-details dl {
  display: grid;
  gap: 0;
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--border);
}

.publication-details dl > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.publication-details dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-details dd {
  margin: 0;
  color: var(--navy);
}

.site-footer {
  padding-block: 4.5rem 2rem;
  background: #0d2239;
  color: rgb(255 255 255 / 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr auto;
  gap: clamp(2rem, 4.5vw, 4rem);
}

.footer-heading {
  margin-bottom: 0.4rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.footer-identity p {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.footer-title {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgb(255 255 255 / 0.76);
  font-size: 0.84rem;
}

.footer-links a {
  min-width: 44px;
}

.footer-compass {
  width: 88px;
  opacity: 0.45;
}

.footer-bottom {
  display: flex;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.15);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.78rem;
}

.footer-bottom a {
  color: var(--white);
}

@media (max-width: 1199px) {
  .internal-page .page-hero h1,
  .contact-page .contact-intro h1 {
    font-size: clamp(2.75rem, 4.65vw, var(--internal-h1-tablet));
  }

  .header-inner {
    min-height: 92px;
  }

  .brand-tagline {
    max-width: 250px;
  }

  .site-nav ul {
    gap: 0.8rem;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-compass {
    display: none;
  }
}

@media (max-width: 1099px) {
  .cards-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .focus-image {
    aspect-ratio: 16 / 9;
  }

  .home-next .next-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .home-next .next-heading,
  .home-next .next-copy {
    max-width: 780px;
  }

  .home-next .next-action {
    justify-self: start;
  }

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

@media (max-width: 767px) {
  .container,
  .narrow {
    width: min(calc(100% - 2rem), var(--content));
  }

  .header-inner {
    min-height: 82px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-compass {
    width: 34px;
    height: 34px;
  }

  .brand-tagline {
    max-width: 220px;
    font-size: 0.6rem;
  }

  .js .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .js .site-nav {
    position: fixed;
    inset: 82px 0 0;
    display: none;
    overflow-y: auto;
    padding: 2rem 1rem;
    background: var(--white);
  }

  .js .site-nav[data-open="true"] {
    display: block;
  }

  .js .site-nav ul {
    display: grid;
    gap: 0;
  }

  .js .site-nav a {
    min-height: 58px;
    border-bottom: 1px solid var(--border);
    font-family: var(--serif);
    font-size: 1.35rem;
  }

  .home-hero {
    min-height: 58vh;
    background-image:
      linear-gradient(0deg, rgb(12 31 52 / 0.62) 0%, rgb(17 41 67 / 0.28) 72%, rgb(28 39 54 / 0.04) 100%),
      var(--hero-photo);
  }

  .home-hero-content {
    padding-block: 3.25rem;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

  .hero-secondary {
    max-width: 320px;
    line-height: 1.65;
  }

  .split-intro,
  .story-section,
  .project-module,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-intro {
    gap: 1rem;
  }

  .home-page .section {
    padding-block: 3.25rem;
  }

  .internal-page .page-hero {
    padding-block: 2.75rem;
  }

  .internal-page .page-hero h1,
  .contact-page .contact-intro h1 {
    font-size: clamp(2.25rem, 9.5vw, var(--internal-h1-mobile));
  }

  .internal-page .section {
    padding-block: 2.75rem;
  }

  .about-page main > .section:first-of-type,
  .impact-page .impact-intro,
  .travel-page .travel-intro {
    padding-block: 2.5rem;
  }

  .story-section {
    padding-block: 2.5rem;
  }

  .contact-primary {
    padding-block: 2.75rem;
  }

  .contact-layout {
    gap: 2rem;
  }

  .contact-intro {
    padding-top: 0;
  }

  .contact-intro header > .lead {
    margin-bottom: 1.75rem;
  }

  .contact-card h2 {
    font-size: clamp(2.2rem, 11vw, 2.65rem);
    letter-spacing: -0.035em;
  }

  .home-intro {
    padding-block: 3rem !important;
  }

  .home-intro .split-intro {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .home-page .focus-card .card-body h3 {
    min-height: 0;
  }

  .home-geography .geo-grid {
    gap: 1.25rem;
    padding-block: 0;
  }

  .home-geography .geo-map {
    display: none;
  }

  .home-geography .geo-block {
    min-height: 0;
    padding-right: 5.5rem;
  }

  .home-geography .geo-region-icon {
    top: 1.2rem;
    right: 1rem;
    max-height: 66px;
    opacity: 0.44;
  }

  .home-geography .geo-region-africa {
    width: 50px;
  }

  .home-geography .geo-region-asia {
    width: 70px;
  }

  .home-geography .geo-block h3 {
    max-width: none;
  }

  .split-intro h2 {
    position: static;
  }

  .cards-four,
  .geo-grid,
  .two-cards,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .closing-inner {
    min-height: 420px;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1rem;
  }

  .home-page .closing-inner {
    min-height: 160px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr);
    justify-items: stretch;
    gap: 0.6rem;
    padding-block: 1.25rem;
  }

  .home-page .closing-inner p {
    font-size: clamp(1.25rem, 5.4vw, 1.55rem);
  }

  .home-page .closing-inner p:last-child {
    text-align: right;
  }

  .home-page .closing-compass {
    width: 50px;
    opacity: 0.36;
  }

  .closing-inner p:last-child {
    text-align: left;
  }

  .closing-compass {
    width: 64px;
  }

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

  .projects-page .project-module {
    gap: 1.25rem;
    padding: 2.25rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    row-gap: 1.6rem;
  }

  .footer-identity {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 2.9rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-footer {
    padding-block: 3.75rem 1.75rem;
  }
}

@media (max-width: 479px) {
  .brand-compass {
    width: 32px;
    height: 32px;
  }

  .brand-tagline {
    max-width: 185px;
    letter-spacing: 0.045em;
  }

  .cards-four,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-identity {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .book-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .book-cover {
    width: min(100%, 290px);
    margin-inline: auto;
  }

  .book-hero {
    padding-top: 2.5rem !important;
  }

  .book-page .section {
    padding-block: clamp(1.5rem, 7vw, 1.75rem);
  }

  .publication-details dl > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .edition-comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .skip-link,
  .site-header,
  .site-footer,
  .menu-toggle,
  .geo-map,
  .closing-compass,
  .footer-compass {
    display: none;
  }

  body {
    color: #000;
  }
}

/* Personal introduction and editorial refresh, September 2026. */
.home-hero { min-height: 490px; }
.home-hero-content { max-width: 940px; padding-block: 3.5rem; }
.home-hero h1 { font-size: clamp(2.6rem, 4vw, 3.6rem); max-width: 840px; }
.hero-description { max-width: 720px; color: #fff; font-size: 1.06rem; line-height: 1.65; text-shadow: 0 1px 6px #132a46; }
.home-hero .button-light { background: #fff; color: var(--navy); }
.home-hero .hero-contact { background: var(--navy); color: #fff; border-color: #fff; }
.home-hero .button:hover { background: #e9edf0; color: var(--navy); }
.profile-layout { display: grid; grid-template-columns: minmax(180px, 290px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 1050px; }
.profile-portrait { display: block; width: 100%; height: auto; border-radius: 3px; }
.profile-layout p { max-width: 680px; }
.profile-layout h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.cards-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.home-page .cards-three .focus-card { border: 1px solid var(--border); }
.home-page .cards-three .card-body h3 { min-height: 0; font-size: 1.6rem; }
.home-page .cards-three .card-body p { min-height: 0; }
.home-page .focus-symbol { display: grid; place-items: center; background: var(--navy); }
.home-page .focus-symbol img { width: 110px; height: 110px; object-fit: contain; }
.home-book-cover { width: 105px; height: auto; float: left; margin: 0 1.5rem 1rem 0; }
.home-page .home-projects .project-card { padding: 2rem; }
.home-page .section-heading { margin-bottom: 2.3rem; }
.home-page .section { padding-block: clamp(3rem, 5vw, 4.5rem); }
.contact-page .contact-intro { padding-top: 0; }
.contact-copy { margin-top: 1.5rem; }
.contact-list a { overflow-wrap: anywhere; }
@media (max-width: 1099px) and (min-width: 768px) {
  .cards-three { gap: 1rem; }
  .home-page .cards-three .card-body { padding: 1.2rem; }
}
@media (max-width: 767px) {
  .home-hero { min-height: 0; }
  .home-hero-content { padding-block: 2.5rem; }
  .home-hero h1 { font-size: clamp(2.15rem, 8vw, 2.8rem); }
  .hero-description { font-size: 1rem; }
  .home-hero .button-row { gap: .7rem; }
  .home-hero .button { padding: .8rem 1rem; }
  .profile-layout { grid-template-columns: 1fr; gap: 1.7rem; }
  .profile-portrait { max-width: 240px; }
  .cards-three { grid-template-columns: 1fr; }
  .home-page .cards-three .card-body { padding: 1.5rem; }
  .contact-page .contact-layout { gap: 1.5rem; }
  .contact-page .contact-primary { padding-block: 2.5rem; }
  .contact-page .contact-copy .lead { font-size: 1.2rem; }
}

.home-hero .button-row { justify-content: flex-start; }
@media (max-width: 767px) { .home-book-cover { float: none; display: block; margin-bottom: 1.25rem; } }
