/* México V8.1: original photographic composition, neutral editorial typography,
   gold accents and shared international footer. No framework. */
:root {
  color-scheme: light;
  --navy: #021c3f;
  --gold: #c5a361;
  --circle-light-outline: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2232%22%20r%3D%2230.7%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.60%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fsvg%3E");
  --circle-gold-fill: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2232%22%20r%3D%2230.7%22%20fill%3D%22%23c5a361%22%20stroke%3D%22none%22%20stroke-opacity%3D%221%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fsvg%3E");
  --circle-gold-outline: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2232%22%20r%3D%2230.7%22%20fill%3D%22none%22%20stroke%3D%22%23c5a361%22%20stroke-opacity%3D%221%22%20stroke-width%3D%221.35%22%2F%3E%3C%2Fsvg%3E");
  --page: #fff;
  --paper: #f0f0ef;
  --ink: #202020;
  --muted: #55585a;
  --line: #bfc1c2;
  --header: 72px;
  --wrap: 1200px;
  --pad: clamp(22px, 5.5vw, 84px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #171b20;
  --paper: #23282e;
  --ink: #f3f3f3;
  --muted: #c3c7cb;
  --line: #51575e;
}
*, *::before, *::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 18px);
}
/* JS drives only explicit anchor navigation; native scrolling remains untouched. */
html.anchor-scrolling {
  scroll-behavior: auto;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  line-height: 1.65;
}
main {
  flex: 1;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
h1, h2, h3, p, figure, blockquote {
  margin: 0;
}
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.035em;
}
h2 {
  font-size: clamp(1.8rem, 2.65vw, 2.55rem);
}
h3 {
  font-size: clamp(1.55rem, 2.1vw, 2.12rem);
}
.wrap {
  width: min(calc(100% - var(--pad) * 2), var(--wrap));
  margin-inline: auto;
}
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px;
  color: var(--ink);
  background: var(--page);
}
/* Thin, transparent navigation, as on the original Mexican site. */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--navy);
  color: white;
}
.js-header .site-header {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  border-bottom: 1px solid #ffffff45;
  transition: background .25s, color .25s;
  text-shadow: 0 1px 3px #0008;
}
.js-header .site-header.scrolled {
  background: var(--page);
  color: var(--ink);
  border-color: var(--line);
  text-shadow: none;
}
.header-inner {
  min-height: var(--header);
  width: min(calc(100% - var(--pad) * 2), var(--wrap));
  margin-inline: auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 26px;
}
.home-link {
  margin-right: auto;
  flex: 0 0 auto;
}
.brand {
  display: block;
  width: clamp(160px, 15vw, 205px);
}
.brand img {
  width: 100%;
}
.brand-light, .scrolled .brand-dark {
  display: none;
}
.scrolled .brand-light, [data-theme="dark"] .scrolled .brand-dark {
  display: block;
}
[data-theme="dark"] .scrolled .brand-light {
  display: none;
}
#main-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.1vw, 18px);
  font-family: system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 550;
  letter-spacing: .015em;
}
#main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(var(--header) - 20px);
  padding: 10px clamp(8px, 1vw, 17px);
  transition: color .25s;
}
/* Gold hairline slides in at the header edge, as in the Mexican original. */
#main-nav a::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
#main-nav a:is(:hover, :focus-visible)::before {
  transform: scaleX(1);
}
#main-nav a:is(:hover, :focus-visible) {
  color: var(--gold);
}
.scrolled #main-nav a:is(:hover, :focus-visible) {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-toggle, .menu-toggle {
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  font-size: 1.3rem;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 3px auto;
}
.theme-toggle {
  /* No visible enclosure; retain a generous touch target. */
  width: 44px;
  height: 44px;
  margin-left: 2px;
  transition: color .25s;
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle:hover {
  color: var(--gold);
}
.theme-sun, [data-theme="dark"] .theme-moon {
  display: none;
}
[data-theme="dark"] .theme-sun {
  display: block;
}
/* Hero V4: each photograph has its own focal point and contrast field. */
.hero {
  position: relative;
  color: white;
  background: #141b23;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}
.slides {
  position: relative;
  isolation: isolate;
}
.slide {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(570px, 100svh, 1100px);
  padding-block: calc(var(--header) + 35px) 100px;
  overflow: hidden;
  --focal: 50% 50%;
  --contrast: linear-gradient(90deg, #0000 18%, #0003 46%, #0009 100%);
  --emblem-opacity: .145;
}
.slide-photo, .manifesto-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-photo {
  object-position: var(--focal);
  transform-origin: var(--focal);
}
.slide-1 {
  --focal: 50% 52%;
  --contrast: linear-gradient(90deg, #0000 18%, #0002 38%, #1014139c 72%, #1014139c);
}
.slide-2 {
  --focal: 50% 50%;
  --contrast: linear-gradient(90deg, #0000 32%, #08102120 48%, #081021ab 100%);
  --emblem-opacity: .125;
}
.slide-3 {
  --focal: 48% 45%;
  --contrast: linear-gradient(90deg, #0000 30%, #13141540 50%, #131415b5 100%);
  --emblem-opacity: .105;
}
.slide-4 {
  --focal: 50% 50%;
  --contrast: linear-gradient(90deg, #0000 20%, #07151b38 45%, #07151bac 100%);
}
.slide-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #0007, transparent 19%, transparent 76%, #0008), var(--contrast);
}
.slide-copy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 86px);
  align-items: center;
  width: min(calc(100% - 180px), 1320px);
}
.hero-emblem {
  position: relative;
  display: block;
  width: min(88%, 430px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  /* Ordinary transparent PNG, not a CSS mask (including file://). */
  background: url('assets/simbolo-a.png') center / contain no-repeat;
  opacity: var(--emblem-opacity);
  pointer-events: none;
}
.slide-message {
  position: relative;
  max-width: 680px;
  text-shadow: 0 1px 2px #0003;
}
.slide h1, .slide h2 {
  font-size: clamp(2.1rem, 3.7vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 550;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 24px;
  max-width: 38ch;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  font-weight: 400;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 8px 0;
  font-size: .88rem;
  font-weight: 550;
  letter-spacing: .015em;
}
.hero-link span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--circle-light-outline) center / contain no-repeat;
  transition: color .3s;
}
.hero-link svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.hero-link:hover span {
  background: var(--circle-gold-fill) center / contain no-repeat;
  color: #18212a;
}
/* Desktop art direction: give the aircraft more breathing room and keep
   the maritime headline out of the centre of the vessel. */
@media (min-width: 1000px) {
  .slide-2 .slide-message {
    align-self: start;
    margin-top: -42px;
  }
  .slide-3 .slide-message {
    padding-left: clamp(0px, 2vw, 32px);
  }
  .slide-4 .slide-copy {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }
  .slide-4 .hero-emblem {
    grid-column: 2;
    grid-row: 1;
  }
  .slide-4 .slide-message {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    padding-left: clamp(28px, 3.2vw, 48px);
    padding-bottom: 10px;
  }
  .slide-4 {
    --contrast: linear-gradient(90deg, #07151bc9 0%, #07151b88 28%, #07151b12 64%, #0000 100%);
  }
}
/* Incoming photo dissolves over the previous one; outgoing layers are inert.
   The text arrives in a short cascade, never hiding the initial slide. */
.slide.is-leaving {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.slide.is-current {
  z-index: 1;
}
.slide.is-entering {
  animation: cinematic-dissolve 1.05s cubic-bezier(.22,.61,.36,1) both;
}
.slider-ready .slide:is(.is-current, .is-leaving) .slide-photo {
  animation: photo-drift 5.8s cubic-bezier(.18,.65,.36,1) both;
}
.hero.motion-paused .slide:is(.is-current, .is-leaving) .slide-photo {
  animation-play-state: paused;
}
.slide.is-entering .slide-message > :is(h1,h2) {
  animation: editorial-in .9s .08s cubic-bezier(.22,.61,.36,1) both;
}
.slide.is-entering .hero-sub {
  animation: editorial-in .85s .20s cubic-bezier(.22,.61,.36,1) both;
}
.slide.is-entering .hero-link {
  animation: editorial-in .8s .30s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes cinematic-dissolve {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes photo-drift {
  from { transform: scale(var(--photo-zoom, 1.095)); }
  to { transform: scale(1); }
}
@keyframes editorial-in {
  from { transform: translateY(17px); opacity: .45; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-controls {
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
  z-index: 3;
  font-size: .8rem;
}
.hero-controls button {
  padding: 0;
  pointer-events: auto;
  border: 0;
  background: transparent;
  color: white;
  display: grid;
  place-items: center;
}
.hero-arrows button[data-dir] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 78px;
  transition: color .25s;
}
.hero-arrows button[data-dir]::before {
  content: '';
  position: absolute;
  width: 62px;
  height: 62px;
  background: var(--circle-gold-fill) center / contain no-repeat;
  opacity: 0;
  transition: opacity .25s;
}
.hero-arrows button[data-dir="-1"] {
  left: clamp(8px, 3vw, 52px);
}
.hero-arrows button[data-dir="1"] {
  right: clamp(8px, 3vw, 52px);
}
.hero-arrows svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: .85;
  filter: drop-shadow(0 1px 2px #0007);
  position: relative;
  transition: transform .3s, filter .25s;
}
.hero-arrows .arrow-full {
  opacity: 0;
  transition: opacity .2s;
}
.hero-arrows .arrow-chevron {
  transition: opacity .2s;
}
.hero-arrows button[data-dir]:focus-visible {
  color: #172333;
}
.hero-arrows button[data-dir]:focus-visible::before {
  opacity: 1;
}
.hero-arrows button[data-dir]:focus-visible svg {
  transform: scale(.72);
  filter: none;
}
.hero-arrows button[data-dir]:focus-visible .arrow-chevron {
  opacity: 0;
}
.hero-arrows button[data-dir]:focus-visible .arrow-full {
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  .hero-arrows button[data-dir]:hover {
    color: #172333;
  }
  .hero-arrows button[data-dir]:hover::before {
    opacity: 1;
  }
  .hero-arrows button[data-dir]:hover svg {
    transform: scale(.72);
    filter: none;
  }
  .hero-arrows button[data-dir]:hover .arrow-chevron {
    opacity: 0;
  }
  .hero-arrows button[data-dir]:hover .arrow-full {
    opacity: 1;
  }
}
.slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.slide-dots button {
  width: clamp(24px, 3vw, 42px);
  height: 44px;
}
.slide-dots button::before {
  content: '';
  width: 100%;
  height: 2px;
  background: #ffffff65;
  transition: background .25s, height .25s;
}
.slide-dots button[aria-current="true"]::before {
  height: 3px;
  background: var(--gold);
}
.slide-dots button:hover::before {
  background: white;
}
.slide-count {
  position: absolute;
  bottom: 43px;
  left: clamp(23px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .77rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.count-separator {
  width: 24px;
  height: 1px;
  background: #fff7;
}
#play {
  position: absolute;
  bottom: 30px;
  right: clamp(23px, 4vw, 64px);
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--circle-light-outline) center / contain no-repeat;
  font-size: .8rem;
}
#play:hover {
  background: var(--circle-gold-outline) center / contain no-repeat;
}
#play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
#play[data-playing="true"] .play-icon,
#play[data-playing="false"] .pause-icon {
  display: none;
}
.hero-scroll {
  display: none;
}
/* Editorial sections: compact copy, long photographic aspect ratios and hairlines. */
.statement {
  padding-block: clamp(76px, 9vw, 132px);
  text-align: center;
}
.statement h2 {
  max-width: 850px;
  margin: auto;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.035em;
}
.editorial {
  padding-block: clamp(68px, 8vw, 118px);
}
.intro {
  background: var(--paper);
}
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.16fr);
  gap: clamp(35px, 4.5vw, 72px);
  align-items: center;
}
.editorial-copy {
  border-right: 1px solid var(--line);
  padding: 8px clamp(24px, 3.5vw, 52px) 18px 0;
}
.editorial-copy h2 {
  max-width: 20ch;
  margin-bottom: 23px;
}
.editorial-copy p, .service-text {
  font-size: .98rem;
  color: var(--muted);
  line-height: 1.7;
}
.editorial-image img {
  width: 100%;
  aspect-ratio: 800 / 425;
  object-fit: cover;
}
.plus-link {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 19px;
  font-size: .85rem;
  font-weight: 600;
}
.plus-link span {
  flex: 0 0 42px;
  height: 42px;
  background: var(--circle-gold-fill) center / contain no-repeat;
  color: #181818;
  font-size: 1.4rem;
  font-weight: 400;
  display: grid;
  place-items: center;
  transition: color .2s;
}
.plus-link span svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform .25s;
}
.plus-link:hover span svg {
  transform: rotate(90deg);
}
.services {
  padding-block: clamp(64px, 7vw, 100px);
}
.service-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.service-tabs a {
  font-size: .86rem;
  font-weight: 600;
  padding: 15px 10px 19px;
  position: relative;
  border-bottom: 2px solid transparent;
  line-height: 1.4;
  display: flex;
  align-items: end;
}
.service-tabs a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.service-tabs a:is([aria-selected="true"], :hover, :focus-visible)::after {
  transform: scaleX(1);
}
.service-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
  padding-top: clamp(42px, 5.4vw, 78px);
}
.legacy-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.service-panel + .service-panel:not([role="tabpanel"]) {
  margin-top: 35px;
  border-top: 1px solid var(--line);
}
.service-visual img {
  width: 100%;
  aspect-ratio: 800 / 440;
  object-fit: cover;
}
.service-copy h3 {
  margin-bottom: 23px;
}
.service-text p + p, .service-text ul {
  margin-top: 13px;
}
.service-text ul {
  padding-left: 20px;
}
.service-text li::marker {
  color: var(--gold);
}
/* The original immersive quote, without a numbered section label. */
.manifesto {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 47vw, 700px);
  padding-block: clamp(70px, 9vw, 120px);
  display: grid;
  align-items: center;
  color: white;
}
.manifesto-photo {
  object-position: 42% center;
}
.manifesto-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(270deg, #081323dc, #08132380 48%, #08132310 78%);
}
.quote-mark {
  display: block;
  font-family: Georgia, serif;
  font-size: 6.2rem;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px white;
}
.manifesto blockquote {
  font-size: clamp(1.7rem, 3.1vw, 3rem);
  max-width: 18ch;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.03em;
  margin-top: 18px;
}
.quote-author {
  margin-top: 33px;
  font-size: .85rem;
}
.specialties {
  background: var(--paper);
  padding-block: clamp(35px, 5.2vw, 70px);
}
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.specialty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 10px 0;
  font-weight: 600;
  font-size: 1rem;
}
.specialty img {
  width: 44px;
  height: 34px;
  object-fit: contain;
}
[data-theme="dark"] .specialty img {
  filter: invert(1);
}
.specialty span:last-child {
  display: none;
}
.specialty:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}
/* Independent graphite client gallery, preserving the original logo colors. */
.clients-heading {
  padding-block: 12px 35px;
}
.clients-heading h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
}
.client-band {
  background: #50555b;
  padding-block: clamp(30px, 4vw, 56px);
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  padding: 1px;
  margin: 0 auto;
  max-width: 1010px;
  background: #ffffff2e;
}
.client-grid li {
  background: #50555b;
  display: grid;
  place-items: center;
  padding: clamp(13px, 2vw, 28px);
  min-width: 0;
}
.client-grid img {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  background: white;
}
.contact-intro {
  padding-block: 60px;
}
.contact-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.contact-cta {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  background: var(--gold);
  color: #18212a;
  padding: 13px 22px;
  font-size: .9rem;
  font-weight: 600;
}
.site-footer {
  color: #fff;
  background: var(--navy);
  border-top: 2px solid var(--gold);
}
.footer-grid {
  border-top: 1px solid #ffffff30;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.15fr;
  gap: 30px;
  padding-block: 42px 50px;
}
.footer-grid > div + div {
  border-left: 1px solid #ffffff30;
  padding-left: 30px;
}
.footer-grid h2 {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.footer-brand p, .footer-contact address {
  color: #d2dce7;
  font-size: .86rem;
  font-style: normal;
  margin-top: 12px;
}
.footer-international nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: .85rem;
}
.footer-international [aria-current] {
  color: var(--gold);
  font-weight: 700;
}
.footer-contact a {
  display: block;
  margin-top: 9px;
  color: #e1c38a;
  font-size: .88rem;
  overflow-wrap: anywhere;
}
.footer-bottom {
  background: #01152e;
  position: relative;
  isolation: isolate;
  border-top: 1px solid #ffffff30;
}
.footer-bottom::before {
  position: absolute;
  content: '';
  z-index: -1;
  inset: 0 auto 0 0;
  /* Keep the entire domain on gold at any viewport, following .wrap. */
  width: max(calc((100% - var(--wrap)) / 2 + 250px), calc(var(--pad) + 250px));
  background: var(--gold);
  clip-path: polygon(0 0,100% 0,calc(100% - 54px) 100%,0 100%);
}
.footer-bottom-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-domain {
  font-weight: 750;
  font-size: .9rem;
  color: var(--navy);
  flex-shrink: 0;
}
.footer-bottom small {
  margin-left: auto;
  font-size: .74rem;
  color: #d2dce7;
  text-align: right;
}
.top-link {
  display: grid;
  place-items: center;
  border: 1px solid #ffffff50;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.footer-mark .brand-dark {
  display: block;
}
.footer-mark .brand-light {
  display: none;
}
@media (max-width: 900px) {
  .slide-copy {
    width: min(calc(100% - 118px), 1180px);
    gap: 32px;
  }
  .editorial-grid, .service-panel {
    gap: 35px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid .footer-contact {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 720px) {
  :root {
    --header: 66px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
  }
  .brand {
    width: 168px;
  }
  #main-nav {
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .js-header #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--page);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px;
  }
  .js-header #main-nav.open {
    display: grid;
    gap: 0;
  }
  #main-nav a {
    min-height: 48px;
    padding: 12px 14px;
  }
  #main-nav a::before {
    top: 8px;
    bottom: 8px;
    right: auto;
    width: 2px;
    height: auto;
    transform: scaleY(0);
  }
  #main-nav a:is(:hover, :focus-visible)::before {
    transform: scaleY(1);
  }
  .slide {
    --photo-zoom: 1.045;
    min-height: max(610px, 85svh);
    align-items: end;
    padding-block: calc(var(--header) + 62px) 110px;
  }
  .slide-copy {
    width: calc(100% - 76px);
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-emblem {
    position: absolute;
    width: min(64vw, 260px);
    right: 0;
    top: -85px;
    margin: 0;
    opacity: .105;
  }
  .slide-message {
    padding-left: 0;
  }
  .slide h1, .slide h2 {
    font-size: clamp(1.95rem, 7.7vw, 2.9rem);
  }
  .slide-shade {
    background: linear-gradient(180deg, #0008, transparent 20%, #0003 35%, #0009 62%, #000b 100%);
  }
  .hero-sub {
    margin-top: 17px;
  }
  .hero-link {
    margin-top: 18px;
  }
  .hero-arrows button[data-dir] {
    width: 36px;
    height: 64px;
  }
  .hero-arrows button[data-dir="-1"] {
    left: 0;
  }
  .hero-arrows button[data-dir="1"] {
    right: 0;
  }
  .hero-arrows svg {
    width: 32px;
    height: 32px;
  }
  .hero-arrows button[data-dir]::before {
    width: 34px;
    height: 34px;
  }
  .editorial-grid, .service-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .editorial-copy {
    padding: 0;
    border-right: 0;
  }
  .editorial-copy h2 {
    max-width: none;
  }
  .editorial-image {
    grid-row: 1;
  }
  .service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    border: 0;
  }
  .service-tabs a {
    border-bottom: 1px solid var(--line);
    align-items: center;
    min-height: 50px;
    padding: 10px 2px;
  }
  .service-tabs a::after {
    bottom: -1px;
  }
  .manifesto-photo {
    object-position: 60% center;
  }
  .manifesto-shade {
    background: linear-gradient(90deg, #081323bf, #08132344);
  }
  .specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 20px;
  }
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid > div + div {
    border-left: 0;
    padding-left: 0;
    padding-top: 22px;
    border-top: 1px solid #ffffff30;
  }
  .footer-bottom::before {
    display: none;
  }
  .footer-bottom-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block: 17px;
    gap: 12px;
  }
  .footer-domain {
    color: var(--gold);
  }
  .footer-bottom small {
    margin-left: 0;
    text-align: left;
    flex: 1 0 100%;
  }
}
@media (min-width: 721px) {
  .menu-toggle {
    display: none;
  }
}
@media (max-width: 360px) {
  .brand {
    width: 148px;
  }
  .header-actions {
    gap: 2px;
  }
  .contact-line {
    align-items: flex-start;
    flex-direction: column;
  }
  .slide-count {
    left: 16px;
  }
  #play {
    right: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* V7: photo art direction; no animation is required to reveal content. */
@media (min-width: 721px) and (max-width: 960px) {
  .header-inner { gap: 10px; }
  #main-nav { gap: 1px; }
  #main-nav a { padding-inline: 7px; }
  .brand { width: 160px; }
}
.slide-1 { --focal: 35% 64%; }
.slide-2 { --focal: 28% 56%; }
.slide-3 { --focal: 29% 48%; }
.slide-4 { --focal: 75% 50%; }
.slide-1, .slide-2, .slide-3 {
  --contrast: linear-gradient(90deg, #0000 15%, #08132335 43%, #081323b8 72%, #081323c4 100%);
}
.slide-2 .slide-message { margin-top: 0; align-self: center; }
@media (min-width: 1000px) {
  .slide-4 { --contrast: linear-gradient(90deg, #081323cf, #08132399 36%, #08132312 68%, #0000); }
  .slide-4 .hero-emblem { width: min(60%, 310px); align-self: start; opacity: .10; }
  .slide-4 .slide-message { align-self: center; }
  .slide-3 .hero-emblem { opacity: .085; }
}
/* Keep the approved four-to-three photos whole instead of cropping heads. */
.editorial-image img, .service-visual img { aspect-ratio: 4 / 3; }
.manifesto { overflow: hidden; }
.manifesto-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 64px);
  padding-left: 0;
}
.manifesto-copy > * { grid-column: 2; min-width: 0; }
.manifesto blockquote { max-width: 25ch; text-wrap: pretty; }
.manifesto.parallax-ready .manifesto-photo {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.15);
}
.footer-brand .image-note { font-size: .73rem; opacity: .85; }
@media (max-width: 720px) {
  .slide-1 { --focal: 30% 60%; }
  .slide-2 { --focal: 28% 50%; }
  .slide-3 { --focal: 25% 50%; }
  .slide-4 { --focal: 78% 50%; }
  .slide-1 .slide-shade, .slide-2 .slide-shade, .slide-3 .slide-shade, .slide-4 .slide-shade {
    background: linear-gradient(180deg, #0008, transparent 16%, #0002 31%, #081323a8 54%, #081323ed 100%);
  }
  .manifesto-copy { display: block; padding-left: 0; padding-top: 150px; }
  .manifesto-photo { object-position: 12% center; }
  .manifesto-shade { background: linear-gradient(180deg, #08132310, #08132370 35%, #081323e0 100%); }
  .client-grid li { padding: 12px; }
  .client-grid img { max-width: 125px; }
}
@media (prefers-reduced-motion: reduce) {
  .manifesto.parallax-ready .manifesto-photo { transform: none; }
}
