/* ============================================================
   JURAND INVESTMENTS — Design System
   "Where aspirations meet potential."
   Palette (from the Jurand wordmark):
     cyan  #00A0E0 · blue #1070B0 · indigo #2A3B8F · deep #0B2A4A
     ink #121A2B · slate #4A5468 · paper #FFFFFF / #F4F7FB
   Type:  Cormorant Garamond (display serif) · Inter (body / UI)
   ============================================================ */

:root {
  --cyan: #00A0E0;
  --blue: #1070B0;
  --blue-2: #0E5E97;
  --indigo: #2A3B8F;
  --deep: #0B2A4A;
  --deep-2: #081E36;
  --ink: #121A2B;
  --slate: #4A5468;
  --muted: #6B7488;
  --paper: #FFFFFF;
  --paper-2: #F4F7FB;
  --line: rgba(18, 26, 43, 0.12);
  --line-soft: rgba(18, 26, 43, 0.08);
  --line-dark: rgba(255, 255, 255, 0.18);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --header-h: 84px;
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 48%, var(--indigo) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--blue); color: var(--paper); }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.004em;
  color: var(--ink);
}

.h-xl { font-size: clamp(3rem, 6.2vw, 5rem); line-height: 1.03; }
.h-lg { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
.h-md { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.h-sm { font-size: clamp(1.3rem, 1.9vw, 1.55rem); line-height: 1.25; }

.lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: var(--slate); line-height: 1.8; }
.em-accent { font-style: italic; font-weight: inherit; color: var(--blue); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
  line-height: 1.4;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--paper); }
.on-dark .lead { color: rgba(255, 255, 255, 0.75); }
.on-dark .eyebrow { color: var(--cyan); }
.on-dark .em-accent { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }

.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-2); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue-2); border-color: #fff; }

.btn-outline { border-color: rgba(18, 26, 43, 0.22); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 16px 36px -30px rgba(11, 42, 74, 0.55); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 42px; width: auto; }

.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a.nav-link {
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--blue); border-color: var(--cyan); }
.nav .has-sub { position: relative; }
.nav .sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px;
  box-shadow: 0 30px 60px -34px rgba(11, 42, 74, 0.45);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav .sub a { display: block; padding: 11px 14px; border-radius: 2px; font-size: 0.86rem; color: var(--ink); }
.nav .sub a:hover { background: var(--paper-2); color: var(--blue); }

.header-cta .btn { padding: 12px 24px; font-size: 0.78rem; }

/* Burger */
.burger { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: none; z-index: 120; }
.burger span { display: block; width: 24px; height: 2px; margin-inline: auto; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }
.site-header.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.nav-open .burger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 100px;
  background: var(--deep);
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.55;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 30, 54, 0.95) 24%, rgba(11, 42, 74, 0.7) 55%, rgba(14, 94, 151, 0.5));
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 700px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .em-accent { color: var(--cyan); }
.hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 56px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.hero-note .sep { margin: 0 12px; opacity: 0.5; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 9vw, 128px) 0; }
.section-tight { padding: clamp(60px, 7vw, 100px) 0; }
.section-light { background: var(--paper-2); }
.section-deep { background: var(--deep); }
.section-deep-2 { background: var(--deep-2); }

.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 70px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(44px, 6vw, 88px); align-items: center; }
.split .stack { display: grid; gap: 22px; }
.split .stack p { color: var(--slate); }
.split .stack .btn { justify-self: start; }

.media-frame { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 70px -50px rgba(11, 42, 74, 0.6); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media-frame.duotone img { filter: grayscale(100%) contrast(1.05); }
.media-frame.duotone::after { content: ""; position: absolute; inset: 0; background: var(--grad); mix-blend-mode: multiply; opacity: 0.85; pointer-events: none; }

/* ---------- Service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 42px 34px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -44px rgba(11, 42, 74, 0.65); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(0,160,224,.12), rgba(42,59,143,.14));
  color: var(--blue-2);
  display: grid; place-items: center;
  margin-bottom: 26px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.94rem; color: var(--muted); }
.card .card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--blue); }
.card .card-link svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* ---------- Checklist ---------- */
.check-list { display: grid; }
.check-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); font-size: 0.97rem; color: var(--slate); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list .tick { flex-shrink: 0; width: 24px; height: 24px; margin-top: 4px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.check-list .tick svg { width: 12px; height: 12px; }
.on-dark .check-list li { color: rgba(255,255,255,.82); border-color: var(--line-dark); }
.on-dark .check-list .tick { background: var(--cyan); color: var(--deep); }

/* ---------- Feature rows (services detail) ---------- */
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }
.feature .feature-index { font-family: var(--font-display); font-size: 4rem; line-height: 1; color: rgba(16, 112, 176, 0.22); font-weight: 600; }
.feature .media-frame img { aspect-ratio: 5 / 4; }
.feature ul.plain { display: grid; gap: 12px; margin-top: 6px; }
.feature ul.plain li { position: relative; padding-left: 26px; font-size: 0.96rem; color: var(--slate); }
.feature ul.plain li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: clamp(48px, 6vw, 76px); padding-top: clamp(40px, 5vw, 58px); border-top: 1px solid var(--line-dark); }
.stat .num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1; color: #fff; }
.stat .label { display: block; margin-top: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,.72); }

/* ---------- Value / asset tiles ---------- */
.tile { position: relative; border-radius: 4px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; padding: 28px; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,42,74,.15), rgba(8,30,54,.85)); }
.tile .tile-body { position: relative; z-index: 2; }
.tile h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.tile p { font-size: 0.9rem; color: rgba(255,255,255,.82); }

/* ---------- Image strip ---------- */
.fig-strip figure { display: grid; gap: 16px; }
.fig-strip figcaption { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Quote ---------- */
.quote-strip { max-width: 900px; }
.quote-strip blockquote { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.28; color: var(--ink); font-weight: 500; }
.quote-strip blockquote .accent { color: var(--blue); }
.on-dark .quote-strip blockquote { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--grad); border-radius: 4px; padding: clamp(56px, 7vw, 96px) clamp(28px, 6vw, 80px); overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 640px; margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 540px; margin-bottom: 36px; }
.cta-band .eyebrow { color: rgba(255,255,255,.85); }
.cta-band .btn-solid { background: #fff; color: var(--blue-2); }
.cta-band .btn-solid:hover { background: rgba(255,255,255,.9); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 84px) 0 clamp(64px, 7vw, 100px); background: var(--deep); color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.2; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 80% 0%, rgba(0,160,224,.28), transparent 55%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 640px; margin-top: 20px; }
.page-hero .crumbs { display: flex; gap: 10px; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,.6); margin-bottom: 26px; font-weight: 500; }
.page-hero .crumbs a:hover { color: var(--cyan); }
.page-hero .crumbs .sep { opacity: 0.5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-info-card { background: var(--deep); color: #fff; border-radius: 4px; padding: clamp(34px, 4vw, 48px); display: grid; gap: 30px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ci-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 3px; background: rgba(0,160,224,.16); color: var(--cyan); display: grid; place-items: center; }
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item h4 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; font-weight: 600; }
.contact-item p, .contact-item a { color: rgba(255,255,255,.85); font-size: 0.96rem; line-height: 1.65; }
.contact-item a:hover { color: var(--cyan); }

.contact-form { background: #fff; border: 1px solid var(--line-soft); border-radius: 4px; padding: clamp(34px, 4vw, 48px); }
.contact-form h2 { margin-bottom: 8px; }
.contact-form > p { color: var(--muted); margin-bottom: 30px; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 2px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fff;
  transition: border-color 0.2s ease; -webkit-appearance: none; appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7488' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.form-group textarea { min-height: 132px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

.map-wrap { margin-top: 70px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line-soft); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Group strip ---------- */
.group-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(28px, 4vw, 42px) clamp(24px, 4vw, 44px); background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 4px; }
.group-strip .gs-label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.group-strip h3 { font-size: 1.5rem; }
.group-strip img { height: 30px; width: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-2); color: rgba(255,255,255,.66); padding: clamp(68px, 8vw, 104px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(30px, 5vw, 54px); padding-bottom: clamp(48px, 6vw, 72px); }
.footer-brand img { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 22px; }
.footer-brand p { font-size: 0.92rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,.66); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-col li p { font-size: 0.92rem; line-height: 1.65; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 46px; height: 46px; border-radius: 3px; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, filter 0.2s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { filter: brightness(1.1); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-left.in, .reveal-right.in { transform: none; }

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

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 110; background: #fff; padding: calc(var(--header-h) + 24px) 28px 40px; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); overflow-y: auto; }
body.nav-open .mobile-nav { transform: translateX(0); }
body.nav-open { overflow: hidden; }
.mobile-nav ul { display: grid; gap: 2px; }
.mobile-nav > .container > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav .m-link { display: block; padding: 18px 4px; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-weight: 600; }
.mobile-nav .m-sub { padding: 2px 0 18px 18px; display: grid; gap: 10px; }
.mobile-nav .m-sub a { color: var(--muted); font-size: 0.95rem; }
.mobile-nav .btn { margin-top: 26px; width: 100%; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .feature { grid-template-columns: 1fr; }
  .feature.reverse { direction: ltr; }
  .feature .feature-index { display: none; }
  .split .media-frame { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav ul { display: none; }
  .burger { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-3, .grid-2, .form-row, .stats { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 60px) 0 72px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .to-top { right: 16px; bottom: 16px; }
  .brand img { height: 36px; }
}
