/* ABCODE — shared stylesheet */

:root {
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --crimson: #6B0F0F;
  --crimson-dark: #4E0B0B;
  --crimson-tint: #8a2a2a;
  --paper: #FFFFFF;
  --paper-alt: #F7F3F3;
  --grey-700: #333333;
  --grey-500: #6B6B6B;
  --grey-300: #C9C9C9;
  --border: #E5E0E0;
  --border-dark: #3a3a3a;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  color: var(--grey-700);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: "Poppins", -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 600;
}

h1 { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; }
a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-nav .logo img { height: 26px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--grey-700);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.nav-links a:hover { color: var(--crimson); text-decoration: none; }
.nav-links a.active { color: var(--crimson); }
.nav-cta {
  background: var(--crimson);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 3px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--crimson-dark); text-decoration: none; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 108px 0 96px;
}
.hero .container { max-width: 880px; }
.eyebrow {
  display: inline-block;
  color: #C98F8F;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p.lede {
  font-size: 1.2rem;
  color: var(--grey-300);
  max-width: 640px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero.small { padding: 78px 0 68px; }
.hero.small h1 { font-size: 2.2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--crimson); color: #fff !important; }
.btn-primary:hover { background: var(--crimson-dark); }
.btn-outline-dark { border-color: rgba(255,255,255,0.4); color: #fff !important; }
.btn-outline-dark:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-outline-light { border-color: var(--crimson); color: var(--crimson) !important; }
.btn-outline-light:hover { background: var(--paper-alt); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--paper-alt); }
section.dark { background: var(--ink); color: var(--grey-300); }
section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: var(--grey-300); }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head .eyebrow { color: var(--crimson); }
section.dark .section-head .eyebrow { color: #C98F8F; }

/* ---------- Grids / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
}

/* Card photo thumbnail — bleeds to the card edges, rounded top corners only.
   Used on expertise cards (Hospitality / Yacht Technology) to replace flat
   text-only cards with a real project photo. */
.card-thumb {
  margin: -32px -32px 20px;
  height: 170px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Portfolio thumbnail — taller variant of .card-thumb for showcasing full
   website screenshots (Web & Digital Presence page). object-position: top
   keeps the nav/hero of the captured site in frame rather than centering
   the crop lower down the page. */
/* Portfolio cards are meant to read as a uniform gallery row, unlike the
   text-only cards elsewhere that use align-items:start to avoid stretched
   empty space. Override back to stretch here so all three project cards
   are the same height regardless of description length. */
.portfolio-grid { align-items: stretch; }
.portfolio-thumb { height: 210px; }
.portfolio-thumb img { object-position: top; }
.portfolio-card h3 { margin-bottom: 6px; }
.portfolio-card .portfolio-kicker {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 6px;
}
section.alt .card { background: #fff; }
section.dark .card {
  background: var(--ink-soft);
  border-color: var(--border-dark);
}
.card .num {
  color: var(--crimson);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--grey-500); margin-bottom: 18px; font-size: 0.95rem; }
section.dark .card p { color: var(--grey-300); }
.card a.card-link { font-weight: 600; font-size: 0.88rem; }

ul.plain { list-style: none; margin: 0; padding: 0; }
ul.checklist { list-style: none; margin: 0; padding: 0; }
ul.checklist li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  color: var(--grey-700);
  font-size: 0.96rem;
}
section.dark ul.checklist li { color: var(--grey-300); }
ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--crimson);
  border-radius: 1px;
}

.pull-quote {
  border-left: 3px solid var(--crimson);
  padding: 4px 0 4px 26px;
  margin: 0 0 28px;
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
section.dark .pull-quote { color: #fff; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.two-col.align-top { align-items: start; }

.icon-list-panel {
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 32px 20px;
}
section.alt .icon-list-panel { background: #fff; }
section.dark .icon-list-panel { background: var(--ink-soft); border-color: var(--border-dark); }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag {
  background: var(--paper-alt);
  border: 1px solid var(--border);
  color: var(--grey-700);
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
}
section.dark .tag { background: var(--ink-soft); border-color: var(--border-dark); color: var(--grey-300); }

.placeholder-block {
  background: var(--ink-soft);
  border: 1px dashed var(--border-dark);
  border-radius: 4px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a5b5b;
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

.stat-strip {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.stat-strip .stat b {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  color: var(--crimson);
}
.stat-strip .stat span {
  font-size: 0.85rem;
  color: var(--grey-500);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--crimson);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #E8CFCF; margin-bottom: 28px; }
.cta-band .btn-primary { background: #fff; color: var(--crimson) !important; }
.cta-band .btn-primary:hover { background: #f2e6e6; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--grey-300);
  padding: 64px 0 28px;
}
footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}
footer .logo img { height: 24px; margin-bottom: 16px; }
footer p { color: #9a9a9a; font-size: 0.9rem; }
footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: #b7b7b7; font-size: 0.92rem; }
footer ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #777;
}

/* ---------- Forms ---------- */
form .field { margin-bottom: 20px; }
form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  color: var(--grey-700);
  background: #fff;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--crimson);
}
form textarea { resize: vertical; min-height: 130px; }

.contact-info-list { list-style: none; margin: 0; padding: 0; }
.contact-info-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-list .icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--crimson);
  margin-top: 2px;
}
.contact-info-list .icon svg { width: 17px; height: 17px; }
.contact-info-list li span.k {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 4px;
}
.contact-info-list li a, .contact-info-list li span.v { font-size: 1.05rem; color: var(--ink); font-weight: 500; }

.note-box {
  background: var(--paper-alt);
  border: 1px dashed #cbb9b9;
  border-radius: 4px;
  padding: 18px 20px;
  font-size: 0.88rem;
  color: var(--grey-500);
}

/* ---------- Breadcrumb-ish page kicker ---------- */
.role-box {
  background: var(--ink-soft);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 34px;
}
.role-box .pull-quote { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  footer .footer-top { grid-template-columns: 1fr 1fr; }
  .site-nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links { position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 28px 32px; gap: 22px; display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  footer .footer-top { grid-template-columns: 1fr; }
  .stat-strip { gap: 28px; }
}

/* ---------- Depth: cards, buttons ---------- */
.card {
  box-shadow: 0 1px 2px rgba(20,20,20,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(20,20,20,0.08);
  border-color: #d8caca;
}
section.dark .card:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
  border-color: #4a3a3a;
}
.btn { transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(107,15,15,0.25); }
.cta-band .btn-primary:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* ---------- Blueprint background texture (hero / dark / cta) ---------- */
.hero, section.dark, .hero-caption {
  position: relative;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
}
.cta-band {
  position: relative;
  background-color: var(--crimson);
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero .container, section.dark .container, .cta-band .container { position: relative; z-index: 1; }

/* flat line-art accent shapes (no gradients/glow, per brand rule) */
.hero::before {
  content: "";
  position: absolute;
  top: 14%; right: 6%;
  width: 260px; height: 260px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  transform: rotate(12deg);
  pointer-events: none;
}
.hero.small::before { width: 160px; height: 160px; top: 20%; right: 8%; }
@media (max-width: 900px) { .hero::before { display: none; } }

/* ---------- Icon rows (replaces plain checklist bullets) ---------- */
ul.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
ul.icon-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.96rem;
  color: var(--grey-700);
}
section.dark ul.icon-list li { color: var(--grey-300); }
ul.icon-list .icon {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--crimson);
}
ul.icon-list .icon svg { width: 19px; height: 19px; }
section.dark ul.icon-list .icon { background: var(--ink-soft); border-color: var(--border-dark); color: #C98F8F; }
ul.icon-list li span.txt { padding-top: 0; }

/* ---------- Process strip ---------- */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 0 24px 0 0;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px; right: 0;
  width: 24px; height: 1px;
  background: var(--border-dark);
}
section:not(.dark) .process-step:not(:last-child)::after { background: var(--border); }
.process-step .step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--crimson);
  color: var(--crimson);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--grey-500); margin-bottom: 0; }
section.dark .process-step p { color: var(--grey-300); }

/* ---------- Photo hero + system callout diagram ---------- */
.hero-photo {
  overflow: hidden;
  background-image: none;
  padding: 0;
}
.hero-photo::before { display: none; }
.hero-photo-frame {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-photo-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(20,20,20,0.78) 0%, rgba(20,20,20,0.48) 32%, rgba(20,20,20,0.1) 58%, rgba(20,20,20,0) 74%);
}
.hero-callouts { position: absolute; inset: 0; z-index: 2; }
.hero-photo-frame .container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 40px;
}
.hero-photo-frame h1 { color: #fff; margin-bottom: 16px; }
.hero-photo-frame p.lede { color: var(--grey-300); font-size: 1.1rem; max-width: 580px; margin: 0; line-height: 1.5; }
/* Home-only: hero-actions (buttons) sitting directly in a tech-card, right
   after the lede — pin an exact, small gap instead of relying on the
   paragraph's own line-height leading, which can render inconsistently
   larger across browsers/fonts. No other page currently places
   .hero-actions inside a .tech-card. */
.tech-card .hero-actions { margin-top: 20px; }
.callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.callout-lines polyline { fill: none; stroke-width: 0.4; }
.callout-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
}
.callout-label {
  position: absolute;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 220px;
}
.callout-label .icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.callout-label .icon svg { width: 17px; height: 17px; }
.callout-label .txt { display: flex; flex-direction: column; }
.callout-label .k { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.78rem; color: #fff; letter-spacing: 0.02em; }
.callout-label .v { font-size: 0.74rem; color: rgba(255,255,255,0.72); margin-top: 2px; line-height: 1.35; }

/* label sits directly above its dot, centered on the line, icon on top */
.callout-label.anchor-top {
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  max-width: 135px;
  text-align: center;
  max-width: 170px;
}
.callout-label.anchor-top .icon { margin-bottom: 2px; }

/* Hospitality-only: real CSS underline right under the title text (guaranteed
   pixel-correct regardless of font metrics/viewport, unlike a hand-positioned
   SVG line), plus more breathing room before the description so the SVG line
   crossing the photo has a clean row to sit in without touching either line
   of text. Scoped to .text-top so Yacht's label spacing is untouched. */
.hero-photo-frame.text-top .callout-label:not(.anchor-top) .k {
  border-bottom: 1px solid rgba(255,255,255,0.55);
  padding-bottom: 6px;
}
.hero-photo-frame.text-top .callout-label:not(.anchor-top) .v {
  margin-top: 10px;
}

/* Hospitality-only: staggered reveal — line draws out from the word across the
   photo first, then its dot pops in, then the label settles in. Scoped to
   .hero-callouts.animate so Yacht Technology's plain .hero-callouts is untouched. */
.hero-callouts.animate .callout-lines polyline {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: draw-callout-line 0.7s ease-out forwards;
}
@keyframes draw-callout-line {
  to { stroke-dashoffset: 0; }
}
.hero-callouts.animate .callout-dot {
  opacity: 0;
  animation: pop-callout-dot 0.35s ease-out forwards;
}
@keyframes pop-callout-dot {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.hero-callouts.animate .callout-label {
  opacity: 0;
  animation: fade-callout-label 0.5s ease-out forwards;
}
@keyframes fade-callout-label {
  from { opacity: 0; transform: translateY(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateY(-50%) translateY(0); }
}
.hero-callouts.animate .callout-label.anchor-top {
  animation-name: fade-callout-label-top;
}
@keyframes fade-callout-label-top {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-callouts.animate .callout-lines polyline,
  .hero-callouts.animate .callout-dot,
  .hero-callouts.animate .callout-label { animation: none; opacity: 1; stroke-dashoffset: 0; }
}

/* ---------- Hospitality-only: callouts v2 (client reference layout) ----------
   Icon-anchored infographic style: a small outlined icon box with its title
   set beside it, and a multi-bend line that leaves from a specific edge of
   the icon itself (computed exactly, not guessed from text) and runs across
   the photo to a small square marker. Entirely new class names (callout2-*,
   hero-callouts2) so this never touches Yacht Technology's .callout-* /
   .hero-callouts rules used by hero_callouts() above. */
.hero-callouts2 { position: absolute; inset: 0; z-index: 2; }
.callout2-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translate(-20px, -50%);
}
.callout2-label.rev {
  flex-direction: row-reverse;
  transform: translate(-100%, -50%) translateX(20px);
  text-align: right;
}
.callout2-icon {
  flex: none;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 4px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.callout2-icon svg { width: 20px; height: 20px; }
.callout2-txt { display: flex; flex-direction: column; flex: none; white-space: nowrap; }
.callout2-label.rev .callout2-txt { align-items: flex-end; }
.callout2-txt .k {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.callout2-txt .v {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.35;
  margin-top: 3px;
}
.callout2-mark {
  position: absolute;
  width: 9px; height: 9px;
  border: 1.5px solid var(--crimson);
  background: rgba(20,20,20,0.4);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(107,15,15,0.85), 0 0 10px rgba(107,15,15,0.45);
}
.hero-callouts2.animate .callout-lines polyline {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-callout2-line 0.55s ease-out forwards;
}
@keyframes draw-callout2-line {
  to { stroke-dashoffset: 0; }
}
.hero-callouts2.animate .callout2-mark {
  opacity: 0;
  animation: pop-callout2-mark 0.3s ease-out forwards;
}
@keyframes pop-callout2-mark {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.hero-callouts2.animate .callout2-label {
  opacity: 0;
  animation: fade-callout2-label 0.4s ease-out forwards;
}
@keyframes fade-callout2-label {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-callouts2.animate .callout-lines polyline,
  .hero-callouts2.animate .callout2-mark,
  .hero-callouts2.animate .callout2-label { animation: none; opacity: 1; stroke-dashoffset: 0; }
}
@media (max-width: 900px) {
  .hero-callouts2 { display: none; }
}

/* ---------- Hospitality-only: hero tech panel (icon grid, no lines) ----------
   Dark panel anchored left over the hero photo: headline, a 2-column icon
   grid of the same systems previously shown as floating labels, and a short
   summary strip. No connecting lines/markers at all — the photo itself
   (rooftop dot-grid pattern baked into hero-hospitality.jpg) implies the
   network coverage instead of illustrating it. New classes only
   (tech-panel, hero-tech-content, tech-grid, tech-item, tech-icon,
   tech-txt, tech-summary) — Yacht Technology is untouched. */
.hero-photo-frame.tech-panel { height: 820px; }
.hero-photo-frame.text-top.tech-panel { align-items: center; }
.hero-photo-frame.text-top.tech-panel .container { padding-top: 0; padding-bottom: 0; }
.hero-tech-content { max-width: 600px; margin-left: 0; margin-right: auto; }
.tech-card {
  background: rgba(12,10,10,0.68);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 26px 32px;
}
.tech-divider { height: 1px; background: rgba(255,255,255,0.14); margin: 14px 0; }
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
  margin-top: 24px;
}
.tech-item { display: flex; align-items: flex-start; gap: 10px; flex: 0 1 210px; }
.tech-icon {
  flex: none;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: transparent;
}
.tech-icon svg { width: 17px; height: 17px; }
.tech-txt h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  margin: 0 0 2px;
}
.tech-txt p { font-size: 0.72rem; color: rgba(255,255,255,0.72); line-height: 1.3; margin: 0; }
.tech-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  background: rgba(20,20,20,0.35);
}
.tech-summary-icon { flex: none; width: 22px; height: 22px; color: #fff; }
.tech-summary-icon svg { width: 100%; height: 100%; }
.tech-summary div { font-size: 0.82rem; color: rgba(255,255,255,0.85); line-height: 1.45; }
.tech-summary strong { color: #fff; }
@media (max-width: 900px) {
  .hero-photo-frame.tech-panel { height: auto; padding: 40px 0 32px; align-items: flex-start; }
  .tech-item { flex-basis: 100%; }
}

/* About-only: shorter hero-photo frame — the About card has no icon grid
   (just h1 + lede), so the full 820px tech-panel height leaves too much
   empty photo above/below. Extra class only (tech-panel-compact) — no
   other tech-panel page (Hospitality/Yacht/Workplace/Web) is touched. */
.hero-photo-frame.tech-panel.tech-panel-compact { height: 560px; }
@media (max-width: 900px) {
  .hero-photo-frame.tech-panel.tech-panel-compact { height: auto; }
}

/* Hospitality-only: headline anchored top-left instead of bottom-left */
.hero-photo-frame.text-top { align-items: flex-start; }
.hero-photo-frame.text-top .container { padding-top: 40px; padding-bottom: 0; }
.hero-photo-frame.text-top h1 { max-width: 480px; }
.hero-photo-frame.text-top p.lede { max-width: 460px; }
@media (max-width: 900px) { .hero-photo-frame.text-top p.lede { max-width: 100%; } }

@media (max-width: 900px) {
  .hero-callouts { display: none; }
  .hero-photo-scrim { background: linear-gradient(rgba(20,20,20,0.55), rgba(20,20,20,0.8)); }
  .hero-photo-frame { height: 320px; }
}

/* ---------- Workplace-only: conceptual constellation hero ----------
   "Order from complexity": a quiet node-and-line graph standing in for the
   literal office photography used on Hospitality/Yacht. New classes only
   (hero-conceptual, hero-constellation, .pt, .hub) — no other hero is
   touched. Flat line-art, no glow/gradient, per existing brand rule. */
.hero-conceptual { overflow: hidden; }
.hero-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-constellation line { stroke: rgba(255,255,255,0.16); stroke-width: 1; }
.hero-constellation .pt { fill: rgba(255,255,255,0.55); }
.hero-constellation .hub {
  fill: var(--crimson);
  stroke: rgba(107,15,15,0.4);
  stroke-width: 6;
}
.hero-constellation circle {
  animation: constellation-twinkle 4s ease-in-out infinite;
}
@keyframes constellation-twinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-constellation circle { animation: none; opacity: 0.85; }
}
@media (max-width: 900px) {
  .hero-constellation { opacity: 0.6; }
}

/* ---------- Accent icon badge (page hero corner mark) ---------- */
.hero-icon-badge {
  width: 54px; height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  color: #C98F8F;
  margin-bottom: 22px;
}
.hero-icon-badge svg { width: 26px; height: 26px; }

/* ---------- Scroll reveal (progressive enhancement: visible by default) ---------- */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-ready .reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .process-strip { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .process-strip { grid-template-columns: 1fr; }
}
