/* Prima Loss Adjusters — Executive UI/UX Design System */
:root {
  color-scheme: light;
  --navy: #0e2836;
  --navy-2: #153746;
  --navy-3: #1c4556;
  --ink: #182a32;
  --muted: #54666d;
  --muted-2: #687a80;
  --paper: #ffffff;
  --cream: #f7f6f2;
  --sand: #efede6;
  --gold: #d4b476;
  --gold-deep: #9e7839;
  --gold-light: #ebd8ae;
  --red: #a52636;
  --red-deep: #851b28;
  --line: #dde3e0;
  --line-dark: rgba(255, 255, 255, 0.14);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --display: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 10px 30px -5px rgba(14, 40, 54, 0.07);
  --shadow: 0 22px 54px -10px rgba(8, 28, 38, 0.14);
  --wrap: 1180px;
  --header-height: 80px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--gold-light); color: var(--navy); }

.wrap { width: min(var(--wrap), calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; transform: translateY(-160%); border-radius: 8px; color: var(--navy); background: var(--paper); font-weight: 700; box-shadow: var(--shadow); transition: transform .2s var(--ease-out); }
.skip-link:focus { transform: translateY(0); }
.section-pad { padding-block: clamp(76px, 8.5vw, 120px); }

/* Unified SVG Icon System */
.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  transition: transform 0.25s var(--ease-out);
}
a:hover .icon-right, button:hover .icon-right { transform: translateX(4px); }
a:hover .icon-down, button:hover .icon-down { transform: translateY(3px); }
a:hover .icon-external, button:hover .icon-external { transform: translate(2.5px, -2.5px); }
a:hover .icon-chevron { transform: translateX(3px); }

/* Subtle Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 44, 58, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(14, 40, 54, 0.07);
}
.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
}
.brand { display: inline-flex; flex: 0 1 auto; align-items: center; min-width: 0; }
.brand img { display: block; width: 164px; max-width: 100%; height: 58px; object-fit: contain; object-position: left center; }
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
  color: #364b54;
  font-size: 13px;
  font-weight: 700;
}
.site-header nav a:not(.nav-cta) {
  position: relative;
  padding-block: 10px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.site-header nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.site-header nav a:not(.nav-cta):hover,
.site-header nav a:not(.nav-cta)[aria-current="page"] {
  color: var(--navy);
}
.site-header nav a:not(.nav-cta):hover::after,
.site-header nav a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: #fff !important;
  background: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta span {
  color: #fff;
}
.nav-cta:hover,
.nav-cta[aria-current="page"] {
  border-color: var(--red);
  background: var(--red);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(165, 38, 54, 0.22);
}
.nav-cta .icon { color: var(--gold-light); width: 15px; height: 15px; }
.menu-toggle { display: none; }
/* Hero Section */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(63, 108, 120, 0.38), transparent 42%),
    linear-gradient(125deg, #091d27 0%, var(--navy) 52%, #163b49 100%);
}
.hero::before {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: -180px;
  right: -140px;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(233, 212, 165, 0.14);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 46px rgba(233, 212, 165, 0.025), 0 0 0 96px rgba(233, 212, 165, 0.02);
}
.hero::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 180, 118, 0.55), transparent);
  content: "";
}
.hero-shade {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.025) 50%, transparent 50.1%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 48px;
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  column-gap: clamp(42px, 7vw, 96px);
  row-gap: 40px;
  padding-block: clamp(68px, 8.5vw, 108px) 38px;
}
.hero-content { min-width: 0; max-width: 680px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow i { display: block; flex: 0 0 26px; width: 26px; height: 2px; background: var(--gold); }
.eyebrow--light { color: var(--gold-light); }
.eyebrow--hero {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(233, 212, 165, 0.28);
  border-radius: 999px;
  color: #f3e9d2;
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.eyebrow--hero i { flex-basis: 7px; width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(212, 180, 118, 0.16); }
.eyebrow--hero span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

.hero h1, .section-heading h2, .intro h2, .expertise h2, .contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero h1 em, .section-heading h2 em, .intro h2 em, .expertise h2 em, .contact h2 em {
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.hero-copy {
  max-width: 560px;
  margin: 24px 0 32px;
  color: #d7e2e3;
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  line-height: 1.8;
}
.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Buttons & Interactive Links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  max-width: 100%;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: transform 0.2s var(--ease-out), color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 26px rgba(165, 38, 54, 0.28);
}
.button-gold:hover {
  background: var(--red-deep);
  box-shadow: 0 14px 30px rgba(165, 38, 54, 0.36);
}
.button-glass {
  border-color: rgba(235, 216, 174, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.button-glass:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.12);
}
.button-glass .icon { color: var(--gold-light); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 6px 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1.5px solid rgba(165, 38, 54, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link .icon { color: var(--red); }
.text-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.hero-identity {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s var(--ease-out);
}
.hero-identity:hover { transform: translateY(-4px); }
.hero-identity::before {
  position: absolute;
  z-index: -1;
  top: 14px;
  right: 14px;
  bottom: -12px;
  left: -12px;
  border: 1px solid rgba(212, 180, 118, 0.38);
  border-radius: 20px;
  content: "";
}
.identity-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: #dce6e4;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.identity-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 180, 118, 0.15);
}
.hero-logo-frame {
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(16, 44, 58, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.hero-logo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 6px;
}
.identity-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: 15px;
  color: #d8e0dd;
  font-size: 12px;
  font-weight: 600;
}
.identity-foot span:last-child { color: var(--gold-light); }
.hero-foot {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 16px 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #c5d4d3;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-foot span { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.hero-foot i { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-index {
  position: absolute;
  right: 26px;
  top: 50%;
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

/* About and proof points */
.intro { background: var(--cream); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 94px);
  align-items: start;
}
.intro h2, .expertise h2 { font-size: clamp(36px, 4.3vw, 54px); }
.intro h2 em, .expertise h2 em { color: var(--gold-deep); }
.heading-rule {
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 26px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.intro-copy { padding-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.intro-copy p { margin: 0 0 18px; }
.intro-copy .lead, .lead {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(17px, 1.4vw, 19.5px);
  font-weight: 600;
  line-height: 1.65;
}
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px;
  padding: 28px 32px;
  border: 1px solid #e1e5e0;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.proof-row div {
  min-width: 0;
  padding: 2px 24px;
  border-right: 1px solid #e4e8e4;
}
.proof-row div:first-child { padding-left: 0; }
.proof-row div:last-child { border-right: 0; padding-right: 0; }
.proof-row strong, .proof-row span { display: block; overflow-wrap: anywhere; }
.proof-row strong {
  color: var(--navy);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.proof-row span { margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 500; }

/* Section headings */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
  margin-bottom: 46px;
}
.section-heading > div { min-width: 0; }
.section-heading h2 { font-size: clamp(36px, 4.5vw, 56px); }
.section-heading > p {
  max-width: 420px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.section-heading--light { color: #fff; }
.section-heading--light h2 em { color: var(--gold-light); }
.section-heading--light > p { color: #c4d2d4; }

/* Services Section */
.services {
  color: #fff;
  background: linear-gradient(140deg, #0d2531, #133340 70%, #183d4c);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 280px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(10, 30, 40, 0.65);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: background 0.25s ease, transform 0.25s var(--ease-out), border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.service-card:hover {
  z-index: 1;
  background: rgba(24, 61, 76, 0.9);
  border-color: rgba(212, 180, 118, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.service-num {
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(212, 180, 118, 0.28);
  border-radius: 10px;
  color: var(--gold-light);
  background: rgba(212, 180, 118, 0.08);
}
.service-icon svg { width: 19px; height: 19px; }

.service-card h3 {
  margin: 22px 0 10px;
  color: #fff;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.38;
}
.service-card p {
  margin: 0;
  color: #ced9da;
  font-size: 14px;
  line-height: 1.75;
}
.service-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}
.tag-pill {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(235, 216, 174, 0.22);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.rail-hint { display: none; }

/* Expertise Section */
.expertise { background: var(--paper); }
.expertise-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: start;
}
.expertise-lead { min-width: 0; }
.expertise .lead { margin-top: 22px; color: var(--muted); font-size: 16px; font-weight: 500; }
.expertise-image {
  position: relative;
  height: 250px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #e5e4dd;
  border-radius: 14px;
  background: #ece9df;
  box-shadow: var(--shadow-sm);
}
.expertise-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease-out);
}
.expertise-image:hover img { transform: scale(1.03); }
.image-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}
.image-caption .icon { color: var(--gold-deep); width: 15px; height: 15px; }

.expertise-list { min-width: 0; padding-top: 4px; }
.expertise-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px 16px;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.expertise-list article:first-child { border-top: 1px solid var(--line); }
.expertise-list article:hover {
  background: var(--cream);
  transform: translateX(4px);
}
.expertise-num {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(158, 120, 57, 0.3);
  border-radius: 8px;
  color: var(--gold-deep);
  background: rgba(212, 180, 118, 0.1);
  font-size: 12px;
  font-weight: 800;
}
.expertise-list h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}
.expertise-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* Practice Process Section */
.practice { background: var(--sand); }
.practice-heading { align-items: end; margin-bottom: 42px; }
.practice-heading h2 { font-size: clamp(36px, 4.4vw, 54px); }
.practice-heading h2 em { color: var(--gold-deep); }
.practice-intro {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}
.practice-summary {
  max-width: 360px !important;
  margin-bottom: 4px !important;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--ink) !important;
  font-size: 13.5px !important;
  font-weight: 500;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 285px;
  padding: 22px 20px;
  border: 1px solid #d8ddd6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 20px rgba(16, 44, 58, 0.03);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.process-card:hover {
  border-color: var(--gold);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e6df;
}
.process-card-top b {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.process-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(158, 120, 57, 0.25);
  border-radius: 9px;
  color: var(--navy);
  background: rgba(212, 180, 118, 0.12);
}
.process-icon svg { width: 17px; height: 17px; }
.process-card h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}
.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.process-target {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
}
.process-target > span {
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.process-target strong {
  display: block;
  padding-top: 8px;
  border-top: 1px solid #e4e7e0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}
.note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

/* Strategic Partners Section */
.partners { background: #fff; }
.partners-heading { margin-bottom: 34px; }
.partners-heading h2 em { color: var(--gold-deep); }
.partner-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid #e5e8e2;
  border-radius: 18px;
  background: linear-gradient(145deg, #fbfaf6 0%, #fff 56%);
  box-shadow: 0 18px 54px rgba(16, 44, 58, 0.07);
}
.partner-story { min-width: 0; }
.partner-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-deep); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; }
.partner-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 180, 118, 0.17); }
.partner-date { margin: 20px 0 7px; color: var(--muted-2); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; }
.partner-story h3 { margin: 0 0 15px; color: var(--navy); font-family: var(--display); font-size: clamp(27px, 3vw, 38px); line-height: 1.15; }
.partner-story > p:not(.partner-date) { margin: 0 0 13px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.partner-story > .partner-lead { color: var(--ink) !important; font-size: 15px !important; font-weight: 600; }
.partner-quote { margin: 22px 0 0; padding: 18px 20px 17px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(212, 180, 118, 0.1); }
.partner-quote p { margin: 0; color: var(--navy); font-family: var(--display); font-size: 16px; line-height: 1.55; }
.partner-quote footer { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; }
.partner-quote footer strong { color: var(--navy); font-size: 11px; }
.partner-quote footer span { color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.partner-quote--pla { margin-top: 12px; border-left-color: var(--navy); background: #f1f4f2; }
.partner-about { margin-top: 23px; padding-top: 18px; border-top: 1px solid #e4e7e0; }
.partner-about > span { color: var(--gold-deep); font-size: 9px; font-weight: 800; letter-spacing: 0.14em; }
.partner-about p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.partner-visual { position: sticky; top: calc(var(--header-height) + 24px); min-width: 0; }
.partner-logos { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); align-items: center; gap: 8px; margin-bottom: 18px; }
.partner-logo-card { display: flex; min-width: 0; min-height: 120px; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px 14px 14px; border: 1px solid #e5e8e2; border-radius: 12px; background: #fff; }
.partner-logo-card img { display: block; width: 100%; height: 55px; object-fit: contain; }
.partner-logo-card--integra img { height: 46px; }
.partner-logo-card > span { color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: 0.1em; text-align: center; }
.partner-link-mark { color: var(--gold-deep); font-family: var(--display); font-size: 23px; text-align: center; }
.partner-document { overflow: hidden; margin: 0; border: 1px solid #e0e3dd; border-radius: 14px; background: #f5f5f1; box-shadow: 0 14px 34px rgba(16, 44, 58, 0.1); }
.partner-document img { display: block; width: 100%; height: auto; aspect-ratio: 1.99; object-fit: contain; object-position: top center; }
.partner-document figcaption { display: flex; align-items: center; gap: 12px; padding: 15px 17px; background: #fff; }
.document-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 9px; color: var(--gold-deep); background: rgba(212, 180, 118, 0.16); font-size: 17px; }
.partner-document figcaption > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.partner-document figcaption strong { color: var(--navy); font-size: 11px; }
.partner-document figcaption small { color: var(--muted); font-size: 10px; }
@media (max-width: 980px) {
  .partner-feature { grid-template-columns: 1fr; }
  .partner-visual { position: static; }
  .partner-document { max-width: 720px; margin-inline: auto; }
}

/* Selected Work / Projects Section */
.projects { background: var(--cream); }
.projects-heading { margin-bottom: 32px; }
.projects-heading h2 em { color: var(--gold-deep); }
.filter-shell {
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid #dfe4df;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(14, 40, 54, 0.03);
}
.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.filter-tip {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}
.filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #d3dcd6;
  border-radius: 8px;
  color: #3a5058;
  background: var(--cream);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter:hover {
  border-color: var(--navy);
  background: #fff;
}
.filter.active, .filter[aria-pressed="true"] {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
  box-shadow: 0 6px 16px rgba(14, 40, 54, 0.16);
}
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 99px;
  background: rgba(14, 40, 54, 0.08);
  color: inherit;
  font-size: 11px;
  font-weight: 800;
}
.filter.active .filter-count {
  background: rgba(212, 180, 118, 0.25);
  color: var(--gold-light);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 230px;
  padding: 24px 24px 20px;
  border: 1px solid #e1e6e1;
  border-top: 3px solid var(--gold);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 44, 58, 0.03);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.project-card:hover {
  border-top-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.project-card .category {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 5px;
  color: var(--gold-deep);
  background: rgba(212, 180, 118, 0.14);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-card h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}
.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.project-card small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f0f2ef;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.project-card small::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--gold);
}
.empty-state {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

/* Contact Section */
.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 2% 100%, rgba(165, 38, 54, 0.22), transparent 38%),
    linear-gradient(130deg, #0b222d, #153846);
}
.contact::before {
  position: absolute;
  top: -130px;
  right: -130px;
  width: 360px;
  aspect-ratio: 1;
  border: 1px solid rgba(212, 180, 118, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(212, 180, 118, 0.025), 0 0 0 68px rgba(212, 180, 118, 0.02);
  content: "";
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
}
.contact-intro { min-width: 0; }
.contact h2 { font-size: clamp(42px, 5vw, 64px); }
.contact-copy {
  max-width: 430px;
  margin: 22px 0 30px;
  color: #cedadb;
  font-size: 16px;
  line-height: 1.8;
}
.button-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #f1f5f4;
  background: rgba(255, 255, 255, 0.04);
}
.button-outline:hover {
  border-color: var(--gold);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.whatsapp-mark {
  display: inline-grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #9de6b4;
}
.whatsapp-mark svg { width: 18px; height: 18px; }
.contact-response-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0 0;
  color: #b9c9ca;
  font-size: 13px;
}
.contact-response-note .icon { color: var(--gold-light); width: 16px; height: 16px; }

.contact-card {
  min-width: 0;
  padding: clamp(22px, 3.2vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.contact-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.card-label {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.contact-card h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}
.contact-card h3 span { color: #c4d2d3; font-size: 14px; font-weight: 600; }
.contact-card-mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(212, 180, 118, 0.5);
  border-radius: 12px;
  color: var(--gold-light);
  background: rgba(212, 180, 118, 0.08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.contact-methods { display: grid; gap: 8px; }
.contact-method {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: #ecf2f1;
  background: rgba(6, 22, 30, 0.28);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out);
}
.contact-method:hover {
  border-color: rgba(212, 180, 118, 0.4);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}
.contact-method-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(212, 180, 118, 0.25);
  border-radius: 10px;
  color: var(--gold-light);
  background: rgba(212, 180, 118, 0.08);
}
.contact-method-icon svg { width: 18px; height: 18px; }
.contact-method-copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.contact-method-copy small {
  color: #b4c6c7;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.contact-method-copy strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.contact-method-copy > span {
  color: #c2d0d1;
  font-size: 12px;
}
.method-arrow { align-self: center; color: var(--gold-light); }
.contact-person {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-person span {
  color: #b5c6c8;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.contact-person strong { color: #fff; font-size: 14px; font-weight: 700; }

/* Footer */
.footer { padding: 52px 0 26px; color: #d8e1df; background: #071922; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.65fr) minmax(0, 0.75fr) auto;
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}
.footer-brand {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #fff;
}
.footer-brand img { display: block; width: 148px; height: 64px; object-fit: contain; }
.footer-brand-block > p { margin: 16px 0 12px; color: #b8c7c7; font-size: 13.5px; line-height: 1.75; }
.footer-since {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
}
.footer-since i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links h2 {
  margin: 0 0 6px;
  color: #fff;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-links a {
  color: #b4c4c4;
  font-size: 13.5px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a:hover { color: var(--gold-light); transform: translateX(2px); }

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  padding: 8px 0;
  color: #d0dcdb;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.back-top b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(212, 180, 118, 0.4);
  border-radius: 50%;
  color: var(--gold-light);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out);
}
.back-top:hover b {
  color: var(--navy);
  background: var(--gold-light);
  transform: translateY(-3px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.copyright { color: #9ab0b2; font-size: 12.5px; }
.copyright-note { color: #7f9699; }
.Tamkein-credit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  color: #b6c4c4;
  font-size: 11px;
}
.Tamkein-credit strong { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 0.03em; }
.Tamkein-credit i {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--red) 100%);
  transform: skewX(-24deg);
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  :root { --header-height: 74px; }
  .nav-wrap { width: calc(100% - 36px); gap: 16px; }
  .brand img { width: 144px; height: 54px; }
  .site-header nav { gap: 14px; font-size: 12px; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .service-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr); }
  .back-top { grid-column: 3; justify-self: start; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .wrap { width: calc(100% - 36px); }
  .nav-wrap { width: calc(100% - 28px); }
  .brand img { width: 132px; height: 50px; }
  .menu-toggle {
    display: flex;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #dce3e1;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .site-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px 16px;
    border: 1px solid #e3e8e4;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 20px 32px rgba(12, 32, 42, 0.16);
    font-size: 14px;
  }
  .site-header nav.open { display: flex; }
  .site-header nav a:not(.nav-cta) { padding: 12px 8px; border-bottom: 1px solid #edf0ed; }
  .site-header nav a:not(.nav-cta)::after { display: none; }
  .site-header nav .nav-cta { justify-content: space-between; margin-top: 10px; padding: 12px 16px; }

  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 28px; }
  .hero-identity { width: min(100%, 380px); justify-self: center; }
  .hero-index { display: none; }

  .section-pad { padding-block: 68px; }
  .intro-grid, .expertise-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .proof-row { grid-template-columns: repeat(2, 1fr); gap: 20px 0; padding: 22px 20px; margin-top: 40px; }
  .proof-row div { padding: 0 14px; }
  .proof-row div:nth-child(odd) { padding-left: 0; }
  .proof-row div:nth-child(even) { border-right: 0; }

  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { max-width: 100%; margin-top: 14px; }

  /* Touch Scroll Rails on Mobile */
  .service-grid, .project-grid, .process-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: -18px;
    padding: 4px 18px 18px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 180, 118, 0.8) transparent;
  }
  .service-card, .process-card, .project-card {
    flex: 0 0 min(85%, 330px);
    width: min(85%, 330px);
    scroll-snap-align: start;
  }
  .rail-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
  }
  .rail-hint-line {
    display: block;
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), rgba(212, 180, 118, 0.1));
  }
  .rail-count { color: var(--gold-deep); font-weight: 800; }
  .rail-hint--light { color: #b8c6c7; }
  .rail-hint--light .rail-count { color: var(--gold-light); }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .filter { flex: 0 0 auto; white-space: nowrap; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand-block, .back-top { grid-column: 1 / -1; justify-self: start; }
  .footer-bottom { flex-wrap: wrap; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
