/* The realistic Mayflower visual sits over the harbour video. */
body.v3.t2 .trust-stars { color: #f0c46a; font-size: 16px; letter-spacing: .08em; white-space: nowrap; text-shadow: 0 1px 5px rgba(93, 52, 15, .55); }
body.v3.t2 .hero-bottom { border-top: 0; }
body.v3.t2 .hero-bottom::before { content: none; }
body.v3.t2 .hero-art { align-self: end; height: 620px; transform: none; }
body.v3.t2 .art-core {
  position: absolute;
  right: -8px;
  bottom: 3px;
  width: min(100%, 500px);
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
body.v3.t2 .art-core::before {
  content: "";
  position: absolute;
  left: 18%; right: 15%; bottom: 7px;
  height: 23px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(5, 20, 29, .72), transparent 73%);
  filter: blur(6px);
  transform: translateX(var(--ship-pan-x, 0px));
}
body.v3.t2 .ship-links {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0;
  transform-origin: 50% 86%;
  animation: ship-on-water 5.5s ease-in-out infinite;
  pointer-events: none;
}
body.v3.t2.ship-motion-ready .ship-links {
  animation: none;
  transform: perspective(1000px) translate3d(var(--ship-pan-x, 0px), var(--ship-lift, 0px), 0)
    rotateY(var(--ship-yaw, 0deg)) rotateX(var(--ship-pitch, 0deg))
    rotateZ(var(--ship-roll, 0deg)) scale(var(--ship-scale, 1));
  will-change: transform;
}
body.v3.t2 .art-core .ship-links img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  filter: brightness(var(--ship-light, 1)) drop-shadow(var(--ship-shadow-x, 0px) 14px 12px rgba(6, 18, 24, .35));
}
.ship-flag {
  position: absolute;
  z-index: 2;
  display: block;
  width: 6.2%;
  aspect-ratio: 1455 / 916;
  background: url('/st-george-flag-tight.webp') left center / 100% 100% no-repeat;
  transform-origin: 0 50%;
  transform: scaleX(-1);
  animation: flag-flutter 2.4s ease-in-out infinite;
  filter: drop-shadow(1px 1px 1px rgba(27, 17, 12, .4));
}
.ship-flag canvas { display: block; width: 100%; height: 100%; }
.ship-flag.flag-animated { background: none; animation: none; transform: scaleX(-1); }
.flag-a { left: 20.9%; top: 10.8%; animation-delay: -.9s; }
.flag-b { left: 42.8%; top: .8%; animation-delay: -.2s; }
.flag-c { left: 64.7%; top: 8.1%; animation-delay: -1.5s; }

@keyframes flag-flutter {
  0%, 100% { transform: skewY(-2deg) scaleX(-.94); }
  40% { transform: skewY(4deg) scaleX(-.83); }
  72% { transform: skewY(-3deg) scaleX(-1); }
}
@keyframes ship-on-water {
  0%, 100% { transform: translateY(0) rotate(-.4deg); }
  50% { transform: translateY(-4px) rotate(.4deg); }
}
.client-strip { position: relative; z-index: 2; background: #102238; border-top: 1px solid rgba(236, 181, 111, .18); }
.client-strip-inner { display: flex; align-items: center; gap: 28px; min-height: 63px; overflow-x: auto; scrollbar-width: thin; white-space: nowrap; }
.client-strip-label { flex: 0 0 auto; color: #e8b472; font: 800 10px/1.2 'DM Sans', Arial, sans-serif; letter-spacing: .17em; }
.client-strip a { flex: 0 0 auto; color: #c6d1d6; font: 600 12px/1.2 'DM Sans', Arial, sans-serif; transition: color .2s; }
.client-strip a:hover,.client-strip a:focus-visible { color: #f4c18a; text-decoration: underline; text-underline-offset: 5px; }
.growth-scroll {
  --paper-width: 230px;
  --paper-height: 286px;
  --paper-mid: 131px;
  position: absolute;
  top: -10px;
  right: 28px;
  width: var(--paper-width);
  height: var(--paper-height);
  z-index: 3;
  pointer-events: none;
  transform: rotate(-2deg);
}
.growth-paper {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--paper-width);
  height: var(--paper-height);
  padding: 57px 27px 43px;
  border: 0;
  border-radius: 0;
  background: url('/parchment-realistic.webp') center / 100% 100% no-repeat;
  filter: drop-shadow(0 14px 18px rgba(12,16,26,.33));
  color: #39220f;
}
.growth-paper::after { content: none; }
.growth-paper > * { position: relative; z-index: 1; }
.growth-roller {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: var(--paper-width);
  height: 26px;
  border: 0;
  border-radius: 0;
  background-image: url('/parchment-realistic.webp');
  background-size: var(--paper-width) var(--paper-height);
  background-repeat: no-repeat;
  filter: drop-shadow(0 4px 3px rgba(77,42,18,.4));
}
.growth-roller-top { background-position: center top; transform: translateY(0); }
.growth-roller-bottom { background-position: center bottom; transform: translateY(calc(var(--paper-height) - 26px)); }
.growth-roller::before,.growth-roller::after {
  content: none;
  position: absolute;
  top: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffedbd, #bb7a37 60%, #80411f);
  border: 1px solid #8e532a;
}
.growth-roller::before { left: -7px; }
.growth-roller::after { right: -7px; }
.growth-kicker {
  height: 12px;
  margin: 0 0 11px;
  color: #7b4220;
  font: 800 9px/1.3 'Cinzel', Georgia, serif;
  letter-spacing: .14em;
}
.paper-point {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(119, 70, 26, .28);
}
.paper-point > span { display: block; height: 34px; min-width: 0; }
.paper-point b { color: #a5632f; font: 800 10px/1 'Cinzel', Georgia, serif; }
.paper-point strong,.paper-point small { display: block; }
.paper-point strong { min-height: 19px; font: 400 16px/1.15 'IM Fell English', Georgia, serif; }
.paper-point small { min-height: 13px; margin-top: 2px; color: #795a38; font: 500 10px/1.3 'DM Sans', Arial, sans-serif; }
.growth-scroll.story-pending .growth-paper { clip-path: inset(47% 0 47% 0); }
.growth-scroll.story-pending .growth-roller-top,
.growth-scroll.story-pending .growth-roller-bottom { transform: translateY(var(--paper-mid)); }
.growth-scroll.story-playing .growth-paper { animation: parchment-open 1.8s cubic-bezier(.32,.1,.2,1) both; }
.growth-scroll.story-playing .growth-roller-top { animation: top-roll-out 1.8s cubic-bezier(.32,.1,.2,1) both; }
.growth-scroll.story-playing .growth-roller-bottom { animation: bottom-roll-out 1.8s cubic-bezier(.32,.1,.2,1) both; }
.growth-scroll.story-complete .growth-paper { animation: none; clip-path: none; }
.growth-scroll.story-complete .growth-roller { animation: none; opacity: 0; }
@keyframes parchment-open {
  from { clip-path: inset(47% 0 47% 0); }
  to { clip-path: inset(7% 0 7% 0); }
}
@keyframes top-roll-out {
  from { transform: translateY(var(--paper-mid)); }
  to { transform: translateY(0); }
}
@keyframes bottom-roll-out {
  from { transform: translateY(var(--paper-mid)); }
  to { transform: translateY(calc(var(--paper-height) - 26px)); }
}
@media (max-width: 1050px) {
  body.v3.t2 .hero-art { transform: none; }
  body.v3.t2 .art-core { width: min(100%, 430px); }
}
@media (max-width: 760px) {
  body.v3.t2 .mf-video { bottom: 0; height: auto; background-image: url('/video/mf3-mobile.jpg') !important; }
  body.v3.t2 .mf-video::after {
    background: linear-gradient(180deg, rgba(27,15,7,.56) 0%, rgba(27,15,7,.78) 52%, rgba(27,15,7,.24) 74%, rgba(27,15,7,.42) 100%);
  }
  body.v3.t2 .hero-art {
    height: 505px;
    margin: 0;
    transform: none;
  }
  body.v3.t2 .art-core {
    right: 50%;
    bottom: 20px;
    width: min(92vw, 350px);
    transform: translateX(50%);
  }
  body.v3.t2 .hero-art .floating-card,
  body.v3.t2 .hero-art .art-spark { display: none; }
  .growth-scroll { --paper-width: 190px; --paper-height: 238px; --paper-mid: 109px; top: 6px; left: 50%; right: auto; width: var(--paper-width); height: var(--paper-height); margin-left: -95px; transform: rotate(-1deg); }
  .growth-paper { padding: 48px 21px 34px; }
  .growth-kicker { height: 10px; font-size: 7px; margin-bottom: 5px; }
  .paper-point { gap: 7px; padding: 7px 0; }
  .paper-point > span { height: 32px; }
  .paper-point strong { min-height: 15px; font-size: 13px; }
  .paper-point small { min-height: 11px; font-size: 8px; }
  .growth-roller { height: 22px; }
  .growth-scroll.story-playing .growth-roller-bottom { animation-name: bottom-roll-out-mobile; }
  .growth-scroll.story-complete .growth-roller-bottom { animation: none; }
  .growth-roller-bottom { transform: translateY(calc(var(--paper-height) - 22px)); }
}
@keyframes bottom-roll-out-mobile {
  from { transform: translateY(var(--paper-mid)); }
  to { transform: translateY(calc(var(--paper-height) - 22px)); }
}
@media (prefers-reduced-motion: reduce) {
  body.v3.t2 .ship-links { animation: none; }
  .ship-flag { animation: none; }
  .growth-scroll.story-playing .growth-paper,
  .growth-scroll.story-playing .growth-roller,
  .growth-scroll.story-playing .paper-point { animation: none; }
}

/* Original brass compass beside the footer signature. */
.footer .footer-top { align-items: center; gap: 32px; }
.footer-compass { flex: 0 0 150px; margin-left: auto; perspective: 700px; }
.footer-compass img { display: block; width: 150px; height: auto; transform-origin: 48% 18%; animation: compass-drift 7.5s ease-in-out infinite; filter: drop-shadow(0 12px 12px rgba(0,0,0,.32)); }
.footer .back-top { align-self: center; }
@keyframes compass-drift {
  0%, 100% { transform: translateY(2px) rotate(-8deg) rotateY(-7deg); }
  50% { transform: translateY(-6px) rotate(-2deg) rotateY(7deg); }
}
@media (max-width: 760px) {
  .footer .footer-top { display: grid; grid-template-columns: 1fr auto; gap: 22px; }
  .footer .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-compass { width: 120px; margin: 0; }
  .footer-compass img { width: 120px; }
  .footer .back-top { justify-self: end; }
}
@media (prefers-reduced-motion: reduce) { .footer-compass img { animation: none; } }
