/* =========================
   GOOGLE FONTS
========================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* =========================
   DESIGN TOKENS
========================= */
:root {
  /* Colours */
  --navy:        #1a2a5e;
  --navy-dark:   #0f1a3d;
  --sky:         #e8f0fc;
  --sky-mid:     #c5d8f8;
  --gold:        #b8952a;
  --gold-light:  #d4ab3f;
  --white:       #ffffff;
  --off-white:   #f8f9fc;
  --grey-100:    #f2f4f8;
  --grey-200:    #e4e8f0;
  --grey-400:    #9aa3b8;
  --grey-600:    #5a6275;
  --grey-800:    #2c3040;
  --text-body:   #555;
  --text-light:  #6b7280;

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Josephin Sans',Helvetica,system-ui, Arial, sans-serif;

  /* Spacing scale */
  --space-xs:    8px;
  --space-sm:    16px;
  --space-md:    32px;
  --space-lg:    64px;
  --space-xl:    100px;
  --space-2xl:   150px;
  --space-3xl:   220px;


  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;

  /* Transitions */
  --ease:        0.3s ease;
  --ease-slow:   0.6s ease;
}

/* =========================
   RESET & BASE
========================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

address {
  font-style: normal;
  line-height: 1.8;
}

a { color: inherit; }

/* =========================
   TYPOGRAPHY SYSTEM
========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.5px;
}

/* ============================================================
   SHARED FIRST-HEADING STYLE
   Used for the top <h1> on the About Us, Services, and Contact
   pages so they share the same level, size, and small-caps look
   (full caps, with each word's first letter larger than the rest).
============================================================ */
.page-lead-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-variant-caps: small-caps;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: var(--space-xs);
}

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: #555;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}
/* color: var(--text-body);*/
p:last-child { margin-bottom: 0; }

/* =========================
   LAYOUT
========================= */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   SCROLL ANIMATIONS
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   SKIP LINK (Accessibility)
========================= */
.skip-link {
  position: absolute;
  top: -40px; /* Hide off-screen by default */
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 1000;
  transition: top 0.3s; /* Smooth visual transition */
}

.skip-link:focus {
  top: 0; /* Bring into view on focus */
}
/* =========================
   HEADER / NAV
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
  z-index: 1000;
  transition: height var(--ease), box-shadow var(--ease);
}

.header.scrolled {
  height: 64px;
  box-shadow: 0 2px 24px rgba(26,42,94,0.08);
}

.header.scrolled .logo img { height: 38px; }

.logo img {
  height: 52px;
  transition: height var(--ease);
}

.nav-container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey-600);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color var(--ease);
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--ease);
}

.nav a:hover,
.nav a[style*="color"] {
  color: var(--navy);
}

.nav a:hover::after { width: 100%; }



/* =========================
   BRAND: logo + subtitle (one link), no animation
========================= */

.brand .brand-link{
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start; /* aligns subtitle under the left edge of the logo */
  gap: 0px;                /* “start right under” */
  text-decoration: none;
}

/* make the image behave consistently */
.brand-logo{
  display: block;
  height: 52px;
  transition: height var(--ease);
  width: auto;
}

/* keep subtitle readable and use the same font your site uses */
.brand-subtitle{
  display: block;

  font-family: var(--font-sans);
  font-size: 0.72rem;   /* “a little smaller” than nav (0.78rem) */
  font-weight: 600;

  letter-spacing: 1.8px;
  text-transform: uppercase;

  color: var(--navy);
  line-height: 1;

  /* fine-tune alignment under the logo image */
  padding-left: 2px;     /* if it’s too far right, change to 0 or 1px; if too far left, increase */
  padding-top: 0px;
}

/* header shrink state */
.header.scrolled .brand-logo{
  height: 38px;
}

.header.scrolled .brand-subtitle{
  font-size: 0.68rem;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  padding: 4px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3000;
}

.menu-toggle:focus {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  border-radius: 2px;
}

/* =========================
   HERO (index.html only)
   .hero class is ONLY used on index.html
   Services uses .services-hero
   Contact uses .contact-viewport
   About has no hero banner — see .about-top
========================= */

/* ── Keyframes scoped to index hero only ── */
@keyframes heroPan {
  0%   { transform: scale(1.08) translate(0, 0); }
  33%  { transform: scale(1.11) translate(-1.2%, 0.6%); }
  66%  { transform: scale(1.08) translate(0.6%, -0.6%); }
  100% { transform: scale(1.08) translate(0, 0); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroTaglineFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroLineDraw {
  from { width: 0; }
  to   { width: 56px; }
}

@keyframes heroImageReveal {
  from { clip-path: inset(0 0 0 100%); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes heroImageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


.hero-split {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}
/* Left half — text on plain background */
.hero-split-text {
  position: relative;
  z-index: 2;
  flex: 0 0 34%;
  max-width: 34%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 7%;
  background: #ffffff;
  box-sizing: border-box;
}

.hero-split-text .hero-tagline {
  position: relative;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  padding-bottom: 14px;
  opacity: 0;
  animation: heroTaglineFade 0.8s ease 0.15s both;
}

.hero-split-text .hero-tagline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 56px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  animation: heroLineDraw 0.9s ease 0.55s both;
}

.hero-split-text h1 {
  font-size: clamp(1.85rem, 1.3vw + 1rem, 2.6rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.3px;
  color: #0f1c3d;
  margin: 0 0 24px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.3s both;
}

/* Each visual line is kept intact — no mid-line wraps, no orphaned "&" */
.hero-split-text h1 .hero-h1-line {
  display: block;
  white-space: nowrap;
}

.hero-split-text .hero-subtext {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: #4a5568;
  margin: 0;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.45s both;
}

/* Right half — responsive <picture> image */
.hero-split-image {
  position: relative;
  flex: 0 0 66%;
  max-width: 66%;
  overflow: hidden;
  background: #0f1c3d;
  animation: heroImageReveal 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.1s both;
}

.hero-split-image picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-split-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform-origin: center;
  animation: heroPan 22s ease-in-out infinite;
}

/* Soft gradient along the seam so the join between text and photo reads cleanly */
.hero-split-image::before {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 28, 61, 0.28) 0%, rgba(15, 28, 61, 0) 12%);
}

.hero-split::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold-light) 60%, transparent 100%);
  z-index: 4;
}


/* ── Responsive: stack on smaller screens ── */

@media (max-width: 1200px) {
  .hero-split-text { flex-basis: 40%; max-width: 40%; padding: 0 6%; }
  .hero-split-image { flex-basis: 60%; max-width: 60%; }
}

@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
    margin-top: 20px;
  }
  .hero-split-text {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 88px 7% 44px;
    text-align: center;
  }
  .hero-split-text .hero-tagline::after { left: 50%; transform: translateX(-50%); }
  .hero-split-text h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
  .hero-split-text h1 .hero-h1-line { white-space: normal; }
  .hero-split-image {
    flex: 0 0 48vh;
    max-width: 100%;
    height: 48vh;
    animation: heroImageFadeIn 0.9s ease both;
  }
  .hero-split-image::before { display: none; }
  .section {margin-top: 20px;}
}

@media (max-width: 768px) {
  .hero-split-image { height: 42vh; margin-bottom: 20px;}
  .hero-split {margin-top: 20px;}
  .section {margin-top: 20px; margin-bottom: 20px;}
}

@media (max-width: 480px) {
  .hero-split-text h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-split-text { padding: 76px 6% 36px; }
  .hero-split-image { height: 34vh; }
  .section {margin-top: 20px; margin-bottom: 20px;}
}

@media (prefers-reduced-motion: reduce) {
  .hero-split-text .hero-tagline,
  .hero-split-text .hero-tagline::after,
  .hero-split-text h1,
  .hero-split-text .hero-subtext,
  .hero-split-image,
  .hero-split-image img {
    animation: none;
    opacity: 1;
    clip-path: none;
    transform: none;
  }
}

/* =========================
   BUTTONS
========================= */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,42,94,0.2);
}

.btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--ease);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}


/*This is two target both classes of hero and section
to create space between each other */
.hero-split + .section {
  margin-top: 3rem;
}





/* =========================
   HOME — TWO COLUMN
========================= */
.section {
  padding: var(--space-xl) 0;
  background: var(--white);
  margin-bottom: 3em;

}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-column img {
  width: 100%;
  border-radius: var(--radius-md);
}

.home-svg-panel {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26,42,94,0.12);
}

.experience-text {
  margin-bottom: 4rem; /* adjust until it matches the <br> gap */
}

/* =========================
   HOME — ADVISORY GRID
========================= */
.advisory-section {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
  text-align: center;
}

.section-title {
  font-variant-caps: small-caps;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  
}

.section-title + h2,
.advisory-section > .container > h2 {
  margin-bottom: 60px;
}

.advisory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
}

.advisory-card {
  display: block;
  text-decoration: none;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.advisory-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,42,94,0.1);
  border-color: var(--sky-mid);
}

.icon-wrapper {
  display: flex;
  margin-bottom: 20px;
}

.icon-wrapper img {
  width: 40px;
  height: 40px;
  opacity: 0.7;
}

.advisory-card h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

.advisory-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}


/*. Transitionactional 
    Section   */

.index-transition{
  position: relative;
  z-index: 1;                 /* keep it from over-stacking anything */
  height: 22px;              /* smaller: it won’t read like a new section */
  overflow: visible;         /* allow the glow to extend into the footer */
  background: var(--off-white); /* match your footer-hero background */
}

/* gold line */
.index-transition-line{
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: min(720px, 85vw);
  height: 2px;
  border-radius: 2px;

  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,168,76,0.35) 25%,
    rgba(201,168,76,0.95) 50%,
    rgba(201,168,76,0.35) 75%,
    transparent 100%
  );

  /* replace filter with a normal shadow */
  box-shadow: 0 0 14px rgba(201,168,76,0.18);
}

/* animated glow */
.index-transition-glow{
  position: absolute;
  left: 50%;
  top: -6px;                 /* pull it upward so it visually sits “at the boundary” */
  transform: translateX(-50%);

  width: min(820px, 100%);
  height: 70px;

  background: radial-gradient(closest-side,
    rgba(201,168,76,0.18) 0%,
    rgba(201,168,76,0.10) 45%,
    rgba(255,255,255,0) 72%
  );

  animation: transitionGlow 2.8s ease-in-out infinite;
  opacity: 0.95;
}

@keyframes transitionGlow {
  0%, 100% { transform: translateX(-50%) translateY(6px); opacity: 0.75; }
  50%      { transform: translateX(-50%) translateY(-2px); opacity: 1; }
}


/* =========================
   FOOTER
========================= */
.footer-main { width: 100%; }

/* ═══════════════════════════════════════════════
   UPPER FOOTER — "Let's connect" CTA band
   Light off-white, centred editorial layout
═══════════════════════════════════════════════ */
.footer-hero {
  position: relative;
  background: var(--off-white);
  border-top: 1px solid var(--grey-200);
  overflow: hidden;
  /*padding: 80px 0 64px; */
  text-align: center;
}

/* Faint horizontal rule that spans full width — same as reference */
.footer-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold) 30%,
    var(--gold-light) 60%,
    transparent 100%
  );
}

/* ── Eyebrow label ──────────────────── */
.footer-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}

/* ── Big serif headline ─────────────── */
.footer-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 56px;
}

/* ── Three-column contact row ───────── */
.footer-contact-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: 88%;
  max-width: 900px;
  margin: 0 auto 64px;
}

.footer-contact-left {
  text-align: left;
}

.footer-contact-right {
  text-align: right;
}

.footer-contact-label {
  font-family: var(--font-sans);
  font-size: 0.60rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--grey-400);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.footer-contact-value {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.2px;
  display: block;
  transition: color var(--ease);
  position: relative;
  width: fit-content;
}

.footer-contact-left .footer-contact-value::after,
.footer-contact-right .footer-contact-value::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--ease);
}

.footer-contact-left .footer-contact-value:hover,
.footer-contact-right .footer-contact-value:hover { color: var(--gold); }
.footer-contact-left .footer-contact-value:hover::after,
.footer-contact-right .footer-contact-value:hover::after { width: 100%; }

.footer-contact-right .footer-contact-value {
  margin-left: auto;
}

.footer-contact-right .footer-contact-label {
  text-align: right;
}

/* ── Centre CTA pill button ─────────── */
.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 36px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 40px;           /* pill shape, matching reference */
  transition: background var(--ease), color var(--ease), border-color var(--ease),
              box-shadow var(--ease);
  white-space: nowrap;
}

.footer-btn:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(26,42,94,0.18);
}

/* btn-icon hidden — kept in HTML for other uses */
.btn-icon { display: none; }

/* ── Logo zone with shimmer effect ─── */
.footer-logo-zone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 0;
}

@keyframes logoShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* Shimmer: cycle a bright streak over the image using a mask */
  -webkit-mask-image: linear-gradient(
    105deg,
    rgba(0,0,0,1)   40%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,1)   60%
  );
  mask-image: linear-gradient(
    105deg,
    rgba(0,0,0,1)   40%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,1)   60%
  );
  -webkit-mask-size: 200% auto;
  mask-size: 200% auto;
  animation: logoShimmer 3.6s linear infinite;
  opacity: 0.55;
  transition: opacity var(--ease);
}

.footer-logo-zone:hover .footer-logo-img {
  opacity: 1;
  animation-play-state: paused;
}

/* Legacy selectors — kept so existing HTML on other pages doesn't break */
.footer-card {
  display: contents; /* dissolves the wrapper, children flow naturally */
}
.footer-card h3,
.footer-card address,
.footer-card p { display: none; }  /* hidden — replaced by new layout */

.footer-row { display: none; }
.icon { display: none; }
.phone { display: none; }

/* ═══════════════════════════════════════════════
   QUOTE BAND — second row, slightly deeper tint
═══════════════════════════════════════════════ */
/* Stage */
/* Where the trigger sits in the page */

.footer-connect-row {
  position: relative; /* anchor for absolute positioning */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
}

/* Quote card no longer participates in layout */
.quote-reveal-card{
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;

  width: 200px;
  height: 200px;

  background: rgba(255,255,255,0.92);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);

  padding: 18px 16px;
  box-sizing: border-box;

  opacity: 0;
  transform: translate3d(-150vw, 0, 0); /* start off to the left of viewport */
  transition:
    opacity 450ms ease,
    transform 900ms cubic-bezier(.2,.8,.2,1);

  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-quote-text--card{
  margin: 0;
  max-width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;

  /* Standard */
  line-clamp: 6;

  /* Fallback */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;

  overflow: hidden;
}

.footer-quote-author--card{
  margin: 10px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  line-height: 1.2;

  flex: 0 0 auto;
}

.quote-reveal-card__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quote-reveal-card.is-active{
  opacity: 1;
  transform: translate3d(-85vw, 0, 0); /* end at x=50vw */
}

/* ═══════════════════════════════════════════════
   BOTTOM BAR — legal / links
═══════════════════════════════════════════════ */
.footer-bottom {
  background: var(--grey-100);
  padding: 18px 0;
  border-top: 1px solid var(--grey-200);
}

.footer-bottom-inner {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-left a {
  text-decoration: none;
  color: var(--grey-400);
  font-size: 0.73rem;
  letter-spacing: 0.3px;
  padding: 2px 5px;
  transition: color var(--ease);
}
.footer-left a:hover { color: var(--navy); }
.footer-left span { color: var(--grey-200); font-size: 0.73rem; }

.footer-right p { font-size: 0.73rem; color: var(--grey-400); margin: 0; }


/* =========================
   ABOUT PAGE
========================= */
.about-top {
  min-height: 92vh; /* fills most of the viewport, leaving the next section peeking below */
  display: flex;
  align-items: center;
  padding: 168px 0 60px; /* 80px fixed header + breathing room; min-height now drives overall size */
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch; /* text + image both fill the taller row instead of just centering */
  width: 100%;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center; /* copy stays vertically centered within the taller column */
}

.about-text h6.space {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  padding-bottom: 32px;
}

.about-text p {
  color: /*var(--text-body)*/#555;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.about-image {
  display: flex;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the stretched column instead of stopping at its natural aspect ratio */
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(26,42,94,0.1);
}

/* Clear breathing room before the next section, plus a thin gold rule
   so the transition reads as an intentional break rather than a seam */
.about-three {
  position: relative;
  padding: 260px 0;
  margin-top: 40px;
  background: var(--off-white);
}

.about-three::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: var(--gold);
}

.three-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.three-image img { width: 100%; border-radius: var(--radius-md); }

.three-text h3 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.three-text p {
  color: var(--text-body);
  margin-bottom: 16px;
}

.three-statement h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  letter-spacing: 1px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
}

/* =========================
   CONTACT PAGE — SINGLE VIEWPORT
   The background photo runs behind the entire hero + contact
   area (one continuous surface, no seams). Contact details and
   the map sit on top as light frosted-glass panels, keeping the
   same navy/gold-on-white contrast as the rest of the site.
   Everything fades/rises in on load. Footer follows below,
   outside this section, unaffected.
========================= */
.contact-viewport {
  position: relative;
  min-height: 100vh;
  /*background-image: url("../Assets/images/Mountains.jpg");*/
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 40px;
}

/* Gold bottom rule, seals the section before the footer picks up */
.contact-viewport::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 4;
  pointer-events: none;
}

/* Light photo overlay — keeps the image visible everywhere, text legible */
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 90% 70% at 50% 38%,
      rgba(255,255,255,0.40) 0%,
      rgba(240,244,250,0.16) 55%,
      rgba(20,30,60,0.20) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(240,244,250,0.30) 0%,
      rgba(240,244,250,0.02) 30%,
      rgba(240,244,250,0.02) 70%,
      rgba(20,30,60,0.30) 100%
    );
  z-index: 1;
}

/* Marquee animation */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.contact-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
  margin-bottom: 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  animation: heroTaglineFade 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
}

.contact-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .contact-marquee-track { animation: none; }
  .contact-marquee,
  .contact-hero-h1,
  .contact-detail-item,
  .contact-map-frame { animation: none !important; }
}

.contact-marquee-track span {
  font-family: var(--font-serif);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.50;
  padding: 0 28px;
}

.contact-marquee-track .marquee-dot {
  color: var(--gold);
  opacity: 0.75;
  font-size: 1.1rem;
  padding: 0;
  letter-spacing: 0;
}

/* Content grid — heading/details on one side, map on the other,
   both sitting directly on the same photo */
.contact-viewport-grid {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-hero-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  opacity: 0.9;
  animation: heroTaglineFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

.contact-hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.5vw, 2.9rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.12;
  margin: 0 0 36px;
  text-shadow: 0 2px 32px rgba(255,255,255,0.55), 0 1px 4px rgba(255,255,255,0.35);
  animation: heroFadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}

/* Contact details — light frosted glass, navy/gold text (matches original palette) */
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 10px 30px rgba(26,42,94,0.08);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  animation: heroFadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.contact-detail-item:nth-child(1) { animation-delay: 0.55s; }
.contact-detail-item:nth-child(2) { animation-delay: 0.68s; }
.contact-detail-item:nth-child(3) { animation-delay: 0.81s; }

.contact-detail-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 16px 40px rgba(26,42,94,0.14);
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(29, 29, 27, 0.14);
  border: 1px solid rgba(184,149,42,0.4);
  color: var(--gold);
}

.contact-detail-text { min-width: 0; }

.contact-info-label {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--grey-600);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail-text p,
.contact-detail-text a {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
  transition: color var(--ease);
}

.contact-detail-text a:hover { color: var(--gold); }

/* Map — framed like a photo mat, same glass language as the detail cards */
.contact-map-frame {
  position: relative;
  height: clamp(320px, 34vw, 440px);
  padding: 6px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 30px 80px rgba(26,42,94,0.22);
  animation: contactMapReveal 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

@keyframes contactMapReveal {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-map-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-md) - 3px);
  overflow: hidden;
}

.contact-map-inner .contact-map,
.contact-map-inner .map-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
}

/* =========================
   SERVICES PAGE
========================= */
.services-hero {
  position: relative;
  min-height: 100vh;
  background-image: url("../Assets/images/himmelstraeume-bachalpsee.webp");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 0;
  overflow: hidden;
}

/* Subtle gold bottom rule */
.services-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 3;
}

/* Parallax-style light vignette — keeps text readable, preserves the photo */
.services-hero-overlay {
  position: absolute;
  inset: 0;
  /* Left-side luminous wash fades to transparent — card sits in the light zone */
  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.18) 45%,
      rgba(255, 255, 255, 0.00) 75%
    ),
    /* Soft top-to-bottom haze to ground the sky */
    linear-gradient(
      to bottom,
      rgba(240, 244, 250, 0.30) 0%,
      rgba(240, 244, 250, 0.00) 50%,
      rgba(20, 30, 60, 0.18) 100%
    );
  /* Frosted-glass shimmer via backdrop-filter on the overlay itself */
  backdrop-filter: blur(0px) saturate(1.1);
  -webkit-backdrop-filter: blur(0px) saturate(1.1);
  z-index: 1;
}

.services-hero-content {
  position: relative;          /* or just remove position entirely */
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 60px;
  width: 100%;

  display: flex;               /* ✅ valid */
  justify-content: flex-start; /* or center / flex-end */
  align-items: center;         /* vertical alignment */
}

.services-card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  padding: 48px;
  max-width: 560px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.8) inset,
    0 20px 60px rgba(26, 42, 94, 0.10),
    0 4px 16px rgba(26, 42, 94, 0.06);
  margin-left: 19%;
}

.services-card h1 {
  margin-bottom: 36px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.services-card h6 {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 0.98rem;
  text-transform: uppercase;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-icon-services{
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.capability-card {
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  padding: 16px 20px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--navy);
  transition: all var(--ease);
  text-align: left;
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.capability-card:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,42,94,0.15);
}

/* Industry */
.industry-section {
  padding: 100px 0;
  background: #f7f7f7;
  text-align: center;
}

.industry-section h2 {
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.industry-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  color: #666;
  line-height: 1.8;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.industry-item {
  padding: 36px 28px 28px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  cursor: default;
}

.industry-item span {
  line-height: 1.3;
  font-variant: small-caps;
}

/* Constrain the 800×800 hardcoded SVG attrs to a visible size */
.industry-item .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.industry-item .icon svg {
  width: 44px !important;
  height: 44px !important;
  fill: var(--navy);
  opacity: 0.55;
  transition: fill var(--ease), opacity var(--ease), transform var(--ease);
  flex-shrink: 0;
}

.industry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(26,42,94,0.09);
  border-color: var(--sky-mid);
}

/* Gold on hover — on-brand, not blue */
.industry-item:hover .icon svg {
  fill: var(--gold);
  opacity: 1;
  transform: scale(1.08);
}


/* =========================
   MODALS
========================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 74, 0.5);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  overflow-y: auto;
}

.modal-overlay:not([hidden]) { display: flex; }

.modal-content {
  position: relative;
  background: var(--white);
  width: 90%;
  max-width: 960px;
  padding: 56px;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  animation: fadeUp 0.35s ease;
  margin: auto;
}

.modal-icon { margin-bottom: 20px; }
.modal-icon img { width: 36px; height: 36px; opacity: 0.5; }

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}

.modal-grid h2 { margin-bottom: 16px; }
.modal-grid p { color: /*var(--text-light)*/#555; font-size: 0.98rem; }

.modal-grid ul { list-style: none; padding: 0; }

.modal-grid li {
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-200);
  font-size: 0.95rem;
  color: var(--text-body);
  transition: all var(--ease);
  cursor: default;
}

.modal-grid li:hover { color: var(--navy); transform: translateX(4px); }

.modal-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--grey-400);
  transition: color var(--ease);
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
}

.modal-close:hover { color: var(--navy); }

.modal-bottom-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--grey-200);
}

.modal-arrow {
  background: none;
  border: 1px solid var(--grey-200);
  font-size: 16px;
  cursor: pointer;
  color: var(--grey-600);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--ease);
}

.modal-arrow:hover { color: var(--navy); border-color: var(--navy); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   PRIVACY & TERMS PAGES
========================= */
/* Privacy & Terms only */
.privacy-title,
.terms-title {
  position: relative;
  min-height: 340px;
  background: linear-gradient(135deg, #0f1e4a 0%, #1a2e6b 60%, #1e3a7a 100%);
  display: flex;
  align-items: flex-end;
  padding-top: 100px;
  padding-bottom: 56px;
  overflow: hidden;
}

.privacy-title::before,
.terms-title::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 3;
}

.privacy-title::after,
.terms-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='30' fill='none' stroke='%23b8952a' stroke-width='0.4' opacity='0.06'/%3E%3C/svg%3E") repeat;
  background-size: 80px 80px;
}

.privacy-title .container,
.terms-title .container {
  position: relative;
  z-index: 2;
}

.privacy-title h1,
.terms-title h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}

/* ── Minimal scroll-fade effects — about page only ────────────── */
/* These classes are added only in about-us.html, so they never
   affect services, contact, index, or any other page.           */

.about-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.about-fade.about-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings inside the same parent */
.about-fade:nth-child(2) { transition-delay: 0.12s; }
.about-fade:nth-child(3) { transition-delay: 0.24s; }

/* Subtle gold left-border accent on the about-text paragraphs */
.about-text {
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}

/* Hover lift on the about image */
.about-image img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.about-image img:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 72px rgba(26,42,94,0.14);
}

/* Gold accent bar above the three-statement */
.three-statement {
  border-top: 2px solid var(--gold);
  padding-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
  .about-fade { opacity: 1; transform: none; transition: none; }
}

/* Content sections */
.privacy-section,
.terms-section {
  padding: 80px 0 120px;
  background: var(--white);
}

.privacy-container,
.terms-container { max-width: 820px; }

.privacy-intro,
.terms-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 48px;
  line-height: 1.85;
  border-left: 3px solid var(--sky-mid);
  padding-left: 20px;
}

.privacy-section h2,
.terms-section h2 {
  margin-top: 48px;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.privacy-section p,
.terms-section p {
  color: var(--text-body);
  line-height: 1.85;
  margin-top: 8px;
}

.privacy-section ul,
.terms-section ul {
  margin-top: 10px;
  padding-left: 20px;
}

.privacy-section li,
.terms-section li {
  margin-bottom: 8px;
  color: var(--text-body);
  line-height: 1.8;
}

.privacy-divider,
.terms-divider {
  border: none;
  border-top: 1px solid var(--grey-200);
  margin-top: 40px;
}

.privacy-contact-block,
.terms-contact-block {
  margin-top: 16px;
  background: var(--off-white);
  border-left: 3px solid var(--sky-mid);
  padding: 24px 28px;
  line-height: 1.9;
  color: var(--text-body);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.privacy-contact-block a,
.terms-contact-block a {
  color: var(--navy);
  text-decoration: none;
}

.privacy-contact-block a:hover,
.terms-contact-block a:hover { text-decoration: underline; }

.privacy-updated,
.terms-updated {
  margin-top: 60px;
  font-size: 0.8rem;
  color: var(--grey-400);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

/* =========================
   COOKIE BANNER
========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  z-index: 99999;
  padding: 20px 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner-inner {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-banner a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--ease);
}

.cookie-btn-accept:hover { background: var(--gold-light); }

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--ease);
}

.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.85);
}

/* =========================
   MAP PLACEHOLDER
========================= */
.map-placeholder {
  width: 100%;
  height: 440px;
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 40px;
}

.map-placeholder-icon {
  font-size: 2rem;
  opacity: 0.25;
}

.map-placeholder p {
  font-size: 0.88rem;
  color: var(--grey-400);
  max-width: 300px;
  line-height: 1.7;
  margin: 0;
}

.map-placeholder-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 11px 24px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--ease);
  margin-top: 4px;
}

.map-placeholder-btn:hover { background: var(--navy-dark); }

/* =========================
   EXPERIENCE / CASES
========================= */
.experience-section {
  padding: var(--space-xl) 0;
  background: var(--white);
}

.experience-section > .container > h2 { margin-bottom: 12px; }

.experience-intro {
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 56px;
  font-size: 1rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
  text-decoration: none;
  color: inherit;
  background: var(--white);
}

.case-card:hover {
  box-shadow: 0 12px 40px rgba(26,42,94,0.08);
  transform: translateY(-4px);
  border-color: var(--sky-mid);
}

.case-icon {
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.7;
}

.case-sector {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.case-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
}

.case-description {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.case-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding-top: 4px;
}

.case-link::after { content: '→'; transition: transform var(--ease); }
.case-card:hover .case-link::after { transform: translateX(4px); }

/* =========================
   PAGE TRANSITION
========================= */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99998;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.page-transition.fade-out { opacity: 0; }

/* =========================
   HOME SVG PANEL
========================= */
.home-svg-panel {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26,42,94,0.12);
}


/* =========================
   RESPONSIVE — TABLET (≤1024px)
========================= */
@media (max-width: 1024px) {
  .advisory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .three-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .three-image { display: none; }

  .modal-content { padding: 40px 36px; }
  .modal-grid { gap: 36px; }

  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-reveal-card {
    display: none;
  }
}

@media (max-width: 1320px){
  .quote-reveal-card{
    display: none;
  }
}
/* =========================
   RESPONSIVE — MOBILE NAV (≤992px)
========================= */
@media (max-width: 992px) {
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    top: 72px;
    right: 16px;
    width: min(240px, 88vw);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 16px 0;
    box-shadow: 0 20px 48px rgba(26,42,94,0.14);
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2000;
  }

  .nav.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 24px;
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--navy);
    border-radius: 0;
  }

  .nav a::after { display: none; }
  .nav a:hover { background: var(--grey-100); color: var(--navy); }

  .industry-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .footer-headline { margin-bottom: 40px; }
  .footer-contact-row {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    margin-bottom: 44px;
  }
  .footer-contact-left  { text-align: center; }
  .footer-contact-right { text-align: center; }
  .footer-contact-right .footer-contact-label { text-align: center; }
  .footer-contact-right .footer-contact-value { margin: 0 auto; }
  .footer-contact-left .footer-contact-value  { margin: 0 auto; }
}

/* =========================
   RESPONSIVE — TABLET (≤768px)
========================= */
@media (max-width: 768px) {
  :root {
    --space-xl: 70px;
    --space-lg: 48px;
  }

  h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }

  .two-column {
    grid-template-columns: 1fr;
    gap: 36px;
  }
/*
  .home-svg-panel { max-height: 260px; }*/

  .home-svg-panel{
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: normal;
  }

  .about-top {
    min-height: auto;
    display: block;
    padding: 110px 0 70px;
  }

  .about-image img { height: auto; }

  .three-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .three-image { display: block; }

  .advisory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .advisory-section { padding: 60px 0; }
  .section-title { margin-bottom: 32px; }

  .services-card {
    padding: 28px 22px;
    max-width: 100%;
    margin-left: 150px !important;
  }

  .services-list { grid-template-columns: 1fr; }

  .modal-content { padding: 32px 20px; }
  .modal-grid { grid-template-columns: 1fr; gap: 24px; }

  .contact-viewport-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-viewport {
    min-height: auto;
    padding: 100px 0 60px;
    background-attachment: scroll;
  }

  .contact-map-frame { height: 320px; }

  .contact-hero-h1 { font-size: clamp(2rem, 6vw, 2.6rem); }

  .industry-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
  }

  .industry-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .industry-section { padding: 30px 0; }
  

  .footer-hero { padding: 60px 0 48px; }
  .footer-headline { margin-bottom: 32px; }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-left { justify-content: center; }

  .section { padding: 60px 0; }
  .about-three { padding: 70px 0; margin-top: 24px; }

  .privacy-title,
  .terms-title { min-height: 240px; padding-bottom: 36px; }

  .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .experience-section { padding: 60px 0; }
}

/* =========================
   RESPONSIVE — MOBILE (≤480px)
========================= */
@media (max-width: 480px) {
  .header { height: 64px; }
  .logo img { height: 40px; }

  h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  p  { font-size: 0.95rem; }

  .hero-content h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  .home-svg-panel{
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .advisory-grid { grid-template-columns: 1fr; gap: 16px; }
  .advisory-card { padding: 24px 20px; }

  .services-list { grid-template-columns: 1fr; }
/*
  .industry-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }*/
  .industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

  .cases-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-card { padding: 24px 20px; }

  .modal-content { padding: 28px 16px; border-radius: 10px; }

  .footer-hero { padding: 48px 0 40px; }
  .footer-headline { font-size: 2.2rem; margin-bottom: 28px; }
  .footer-btn { padding: 14px 28px; font-size: 0.7rem; }
  .footer-quote-band { padding: 36px 20px; }

  .contact-viewport { min-height: auto; padding: 90px 0 50px; }
  .contact-hero-h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); letter-spacing: -0.5px; }
  .contact-marquee-track span { font-size: 0.65rem; padding: 0 18px; }
  .contact-marquee { margin-bottom: 28px; }

  .contact-detail-item { padding: 12px 16px; gap: 12px; }
  .contact-map-frame { height: 240px; }

  .about-top { padding: 96px 0 56px; }

  .privacy-section,
  .terms-section { padding: 48px 0 80px; }

  .cookie-banner-inner { flex-direction: column; gap: 14px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-accept,
  .cookie-btn-decline { flex: 1; text-align: center; }

  .services-card { padding: 24px 18px; }
  .services-hero-content { padding-top: 100px; }
}