/* ==========================================================================
   Cyward Ltd — site styles
   Palette taken directly from the Figma: ink #0E0E10, accent #2F6BFF,
   mist #F4F5F7. These are the brand-guideline values; the capability blue
   (cloud) is promoted to the primary accent.
   ========================================================================== */

:root {
  --ink:     #0E0E10;
  --ink-2:   #16171A;
  --paper:   #FFFFFF;
  --mist:    #F4F5F7;
  --grey:    #5C6067;
  --muted:   #8A8F96;
  --line:    #E2E4E8;
  --accent:  #2F6BFF;
  --accent-d:#1F55DB;
  --on-ink:  #E6E8EB;
  --on-ink-2:#9AA0A8;

  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 48px);

  --f: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --r: 14px;
  --r-s: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.eyebrow--ink { color: var(--accent); }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--mist { background: var(--mist); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-d); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--square { border-radius: var(--r-s); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none;
}
.arrow-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 40;
  padding-block: 18px;
  background: linear-gradient(to bottom, rgba(14,14,16,.55), rgba(14,14,16,0));
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; color: #fff; }
.brand svg { width: 26px; height: 26px; }
.brand span { font-size: 23px; font-weight: 700; letter-spacing: -.02em; color: #fff; }

.nav { display: flex; gap: 34px; margin-inline: auto; }
.nav a {
  color: rgba(255,255,255,.92); text-decoration: none; font-size: 15.5px; font-weight: 500;
  padding-block: 6px; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: #fff;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; background: #0A0C12; }
.hero__bg img,
.hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the video fades in over the still once it can actually play, so the hero
   never shows an empty frame and never jumps */
.hero__video { opacity: 0; transition: opacity .6s var(--ease); }
.hero__video[data-ready="true"] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,12,18,.88) 0%, rgba(10,12,18,.62) 45%, rgba(10,12,18,.28) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(96px, 14vw, 150px); }
.hero h1 {
  font-size: clamp(40px, 6.2vw, 78px); font-weight: 600; max-width: 15ch; margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn { width: 200px; }

/* ---------------------------------------------------------------- frameworks */

.frameworks { padding-block: 54px; background: var(--paper); }
.frameworks .wrap { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.frameworks h2 {
  font-size: 17px; font-weight: 600; color: var(--ink); flex: 0 0 auto; letter-spacing: -.01em;
}
.frameworks__row {
  display: flex; align-items: center; gap: clamp(14px, 2.1vw, 28px);
  flex: 1 1 320px; flex-wrap: wrap; justify-content: space-between;
}
.frameworks__row img { height: 50px; width: auto; }

/* ---------------------------------------------------------------- promise */

.promise__lead {
  font-size: clamp(21px, 2.5vw, 29px); font-weight: 500; line-height: 1.38;
  max-width: 24ch; margin: 0 auto clamp(42px, 6vw, 68px); text-align: center; color: #fff;
}
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-dark {
  background: #121318; border: 1px solid #1F2127; border-radius: var(--r-s);
  padding: 26px 24px 30px; min-height: 186px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-dark img { width: 30px; height: 30px; object-fit: contain; }
.card-dark h3 { font-size: 18px; font-weight: 500; color: #fff; line-height: 1.35; }

/* ---------------------------------------------------------------- rail */

.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rail-head h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 12ch; }
.rail-nav { display: flex; gap: 10px; margin-top: 28px; justify-content: flex-end; }
.rail-btn {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  border: 0; cursor: pointer; background: var(--accent); color: #fff;
  transition: background-color .18s var(--ease), opacity .18s var(--ease);
}
.rail-btn:hover { background: var(--accent-d); }
.rail-btn[disabled] { opacity: .3; cursor: default; }
.rail-btn.is-active,
.rail-btn.is-active:hover { background: var(--accent); }
.rail-nav.has-active .rail-btn:not(.is-active) { opacity: .35; }
.rail-nav.has-active .rail-btn.is-active { opacity: 1; }
.section--ink .rail-btn { background: transparent; border: 1.5px solid rgba(255,255,255,.5); }
.section--ink .rail-btn:hover { background: rgba(255,255,255,.14); }
.section--ink .rail-btn.is-active,
.section--ink .rail-btn.is-active:hover { background: #fff; border-color: #fff; color: var(--ink); }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(278px, 1fr);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: 26px; padding-bottom: 6px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.tile {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 3 / 3.6; display: flex; align-items: flex-end;
  text-decoration: none; color: #fff; min-width: 0;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,14,.93) 6%, rgba(8,10,14,.5) 42%, rgba(8,10,14,.12) 78%);
}
.tile__body { position: relative; z-index: 2; padding: 24px; }
.tile__body h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.tile__body p { font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.82); }
.tile:hover img { transform: scale(1.04); }
.tile img { transition: transform .5s var(--ease); }

.tile--ind { aspect-ratio: 3 / 3.1; }
.tile--ind .tile__body h3 { margin-bottom: 0; }

/* ---------------------------------------------------------------- blog */

.blog-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.blog-head h2 { font-size: clamp(30px, 4vw, 48px); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; align-items: start; }
.post { text-decoration: none; color: inherit; display: block; }
.post__img { border-radius: var(--r-s); overflow: hidden; aspect-ratio: 16 / 10; background: var(--line); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__meta {
  margin-top: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.post h3 { margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.post:hover h3 { color: var(--accent); }

/* ---------------------------------------------------------------- cta band */

.cta { position: relative; text-align: center; color: #fff; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(8,10,16,.72); }
.cta .wrap { position: relative; z-index: 2; padding-block: clamp(72px, 9vw, 124px); }
.cta h2 { font-size: clamp(30px, 4.6vw, 54px); max-width: 17ch; margin: 0 auto 16px; }
.cta p { color: rgba(255,255,255,.8); margin-bottom: 30px; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: var(--on-ink); padding-block: 66px 34px; }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand span { font-size: 22px; }
.foot-tag { margin-top: 14px; font-weight: 600; font-size: 15px; color: #fff; }
.foot-sub { margin-top: 22px; font-size: 13.5px; color: var(--on-ink-2); }
.subscribe { display: flex; gap: 8px; margin-top: 10px; max-width: 330px; }
.subscribe input {
  flex: 1 1 auto; min-width: 0; background: transparent; border: 0;
  border-bottom: 1px solid #343539; color: #fff; font: inherit; font-size: 14px; padding: 9px 2px;
}
.subscribe input::placeholder { color: #6B6E75; }
.subscribe input:focus { outline: none; border-bottom-color: var(--accent); }

.site-footer h4 { font-size: 16px; color: #fff; margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: var(--on-ink-2); text-decoration: none; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.contact-item { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.contact-item svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.contact-item strong { display: block; color: #fff; font-weight: 600; }
.contact-item span { color: var(--on-ink-2); font-size: 12.5px; }
.hours { font-size: 14px; color: var(--on-ink-2); }
.hours strong { color: #fff; }

.colophon {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid #222326;
  font-size: 13px; color: var(--on-ink-2);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .cards-3 { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    display: none; position: absolute; inset: 100% 0 auto; background: var(--ink);
    flex-direction: column; gap: 0; padding: 8px var(--gut) 20px; margin: 0;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding-block: 13px; border-bottom: 1px solid #1E1F23; }
  .site-header .wrap { justify-content: space-between; }
  .site-header .btn { display: none; }
  .nav-toggle { display: block; order: 3; }
  .hero { min-height: 520px; }
  .hero__bg::after { background: linear-gradient(to top, rgba(10,12,18,.9), rgba(10,12,18,.55)); }
  .frameworks__row { justify-content: flex-start; gap: 26px; }
  .frameworks__row img { height: 38px; }
  .rail { grid-auto-columns: minmax(240px, 82%); }
  .rail-nav { display: none; }
  .rail-nav--services,
  .rail-nav--industries { display: flex; }
  .site-footer .foot-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Inner pages — added for About, Services, Insights, Contact and the
   ten service detail pages.
   ========================================================================== */

.site-header--solid { position: relative; background: var(--ink); }
.site-header--light { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header--light .brand, .site-header--light .brand span { color: var(--ink); }
.site-header--light .nav a { color: var(--grey); }
.site-header--light .nav a:hover,
.site-header--light .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.site-header--light .nav-toggle { color: var(--ink); }

.eyebrow--on-dark { color: #8FB2FF; }

/* ---- page hero ---------------------------------------------------------- */

.page-hero { color: #fff; }
.page-hero .wrap { padding-block: clamp(64px, 9vw, 116px); }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 62px); max-width: 18ch; }
.page-hero p { margin-top: 18px; max-width: 54ch; color: rgba(255,255,255,.82); font-size: 17px; }
.page-hero .btn { margin-top: 30px; }
.page-hero--blue { background: linear-gradient(115deg, #06153C 0%, #0B2E8A 52%, #1D4FD8 100%); }
.page-hero--ink { background: var(--ink); }
.page-hero--about { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.page-hero--about::before {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,18,.86) 0%, rgba(10,12,18,.66) 52%, rgba(10,12,18,.3) 100%);
}
.page-hero--about .page-hero__image {
  position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center 45%;
}
.page-hero--about .wrap { position: relative; z-index: 2; }

.insights-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: var(--ink);
  color: #fff;
}
.insights-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(32px, 6.25vw, 90px);
}
.insights-hero__copy .eyebrow { margin-bottom: 20px; }
.insights-hero h1 {
  max-width: none;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.16;
}
.insights-hero__image {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

/* ---- feature image + split --------------------------------------------- */

.feature-img {
  width: 100%; height: auto; border-radius: var(--r);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 17ch; }
.split__body p + p { margin-top: 16px; }
.split__body p, .split__lead { color: var(--grey); }
.split__lead { margin-top: 18px; max-width: 46ch; }

/* ---- mission / vision --------------------------------------------------- */

.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); }
.mv__grid > div + div { border-left: 1px solid #2A2C30; padding-left: clamp(28px, 5vw, 76px); }
.mv__text { color: var(--on-ink); font-size: 16.5px; line-height: 1.62; max-width: 46ch; }

/* ---- credentials -------------------------------------------------------- */

.creds { list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.creds li { display: grid; justify-items: center; gap: 7px; text-align: center; }
.creds img { height: 62px; width: auto; }
.creds span { font-size: 11px; line-height: 1.3; color: var(--muted); }
.cred-chip { display: grid; place-items: center; height: 62px; width: 62px;
  border: 1.5px solid var(--line); border-radius: var(--r-s);
  font-size: 11.5px !important; font-weight: 700; letter-spacing: .02em;
  color: var(--ink) !important; text-align: center; padding: 4px; }

/* ---- disciplines -------------------------------------------------------- */

.discs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: clamp(40px, 6vw, 76px); }
.disc { border: 1px solid var(--line); border-radius: var(--r-s); padding: 26px 24px 28px;
  border-top: 4px solid var(--accent); }
.disc--std { border-top-color: #0FB5B0; }
.disc--det { border-top-color: #C6F24E; }
.disc--cloud { border-top-color: #2F6BFF; }
.disc h3 { font-size: 18px; margin-bottom: 10px; }
.disc p { color: var(--grey); font-size: 14.5px; line-height: 1.5; }

/* ---- faq ---------------------------------------------------------------- */

.faq__title { font-size: clamp(28px, 3.8vw, 46px); margin-bottom: clamp(26px, 4vw, 44px); }
.faq { border-top: 1px solid var(--line); }
.faq__row { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: 0; cursor: pointer; font: inherit; font-size: 18px; font-weight: 600;
  color: var(--ink); text-align: left; padding: 22px 0; }
.faq__q svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--accent);
  transition: transform .2s var(--ease); }
.faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__a { padding: 0 0 22px; }
.faq__a p { color: var(--grey); max-width: 70ch; }

/* ---- services index ----------------------------------------------------- */

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 34px); }
.svc-card { text-decoration: none; color: inherit; display: block; }
.svc-card__img { border-radius: var(--r-s); overflow: hidden; aspect-ratio: 16 / 10; background: var(--line); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card h3 { font-size: 19px; margin-top: 18px; }
.svc-card p { color: var(--grey); font-size: 14.5px; line-height: 1.5; margin-top: 8px; }
.svc-card__go { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  color: var(--accent); font-weight: 600; font-size: 14.5px; }
.svc-card:hover .svc-card__go { text-decoration: underline; }

/* ---- service detail ----------------------------------------------------- */

.svc-hero { position: relative; color: #fff; overflow: hidden; }
.svc-hero__bg { position: absolute; inset: 0; }
.svc-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(10,12,18,.92) 0%, rgba(10,12,18,.66) 60%, rgba(10,12,18,.4) 100%); }
.svc-hero .wrap { position: relative; z-index: 2; padding-block: clamp(62px, 8vw, 104px); }
.svc-hero h1 { font-size: clamp(30px, 4.6vw, 54px); max-width: 17ch; }
.svc-hero__summary { margin-top: 14px; max-width: 54ch; color: rgba(255,255,255,.82); font-size: 16px; }
.svc-hero .btn { margin-top: 22px; }

.strap { font-size: clamp(20px, 2.4vw, 27px); font-weight: 600; line-height: 1.34;
  max-width: 50ch; letter-spacing: -.015em; }
.lead { margin-top: 20px; color: var(--grey); max-width: 68ch; font-size: 16.5px; }

.offerings { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 46px; }
.offerings li { position: relative; padding-left: 20px; color: var(--grey); font-size: 15px; line-height: 1.5; }
.offerings li::before { content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 2px; background: var(--accent); }

.receive { background: var(--mist); border-left: 4px solid var(--accent);
  padding: 28px 30px 30px; margin-top: 0; }
.receive ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.receive li { position: relative; padding-left: 30px; color: var(--grey); font-size: 15px; }
.receive li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 20px; height: 20px;
  background: url("../img/checkmark.svg") center / contain no-repeat;
}

.note { margin-top: 26px; font-size: 13.5px; color: var(--muted); max-width: 86ch; line-height: 1.55; }

.rels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; margin-top: 14px; }
.rel {
  display: grid; grid-template-columns: 60px minmax(0, 1fr) 16px; align-items: center;
  gap: 12px; min-height: 60px; padding: 8px; border: 1px solid var(--line);
  border-radius: var(--r-s); text-decoration: none; color: var(--ink);
}
.rel__img { width: 60px; height: 44px; border-radius: 4px; object-fit: cover; }
.rel__copy { display: grid; gap: 3px; min-width: 0; }
.rel__number { color: var(--accent); font-size: 10px; line-height: 1; }
.rel__title { font-size: 13px; font-weight: 500; line-height: 1.3; }
.rel__arrow { width: 14px; height: 14px; color: var(--grey); }
.rel:hover { border-color: var(--accent); }
.rel:hover .rel__arrow { color: var(--accent); }

/* ---- insights ----------------------------------------------------------- */

.posts--stack { grid-template-columns: 1fr; gap: 0; }
.post--list { display: grid; grid-template-columns: 300px 1fr; gap: clamp(22px, 4vw, 46px);
  align-items: center; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); }
.post--list:first-child { border-top: 1px solid var(--line); }
.post__excerpt { color: var(--grey); font-size: 15px; margin-top: 10px; max-width: 60ch; }

/* ---- contact ------------------------------------------------------------ */

.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 74px); align-items: start; }
.contact h1 { font-size: clamp(34px, 5vw, 58px); }

.booking { display: grid; grid-template-columns: 150px 1fr; margin-top: clamp(32px, 5vw, 52px);
  border-radius: var(--r-s); overflow: hidden; background: var(--paper); color: #000; }
.booking img { width: 100%; height: 100%; object-fit: cover; }
.booking > div { padding: 22px 24px 24px; }
.booking h3 { font-size: 17px; }
.booking p { color: var(--on-ink-2); font-size: 14px; margin: 8px 0 16px; }

.contact-plain { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 13px; }
.contact-plain li { font-size: 15px; color: var(--grey); }
.contact-plain strong { display: block; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 3px; font-weight: 700; }
.contact-plain a { color: var(--ink); text-decoration: none; }
.contact-plain a:hover { color: var(--accent); }

.form { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); }
.form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 7px; font: inherit; font-size: 15px; font-weight: 400;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 11px 13px; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,107,255,.14); }
.form__send { width: 100%; justify-content: center; padding-block: 15px; }
.form__note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.form__status { border-radius: var(--r-s); padding: 13px 16px; margin-bottom: 20px;
  font-size: 14.5px; line-height: 1.45; }
.form__status--ok  { background: #EAF7EE; border: 1px solid #BFE3C9; color: #1C5E31; }
.form__status--bad { background: #FDECEC; border: 1px solid #F3C4C4; color: #8E2222; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

/* ---- responsive --------------------------------------------------------- */

@media (max-width: 1000px) {
  .split, .contact__grid, .mv__grid { grid-template-columns: 1fr; }
  .mv__grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid #2A2C30; padding-top: 28px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .discs { grid-template-columns: 1fr; }
  .creds { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .site-header--solid, .site-header--light { position: relative; }
  .site-header--light .nav { border-top: 1px solid var(--line); }
  .site-header--light .nav a { color: rgba(255,255,255,.92); }
  .site-header--light .nav a[aria-current="page"] { color: #fff; }
  .page-hero--about::before { background: rgba(10,12,18,.58); }
  .insights-hero { grid-template-columns: 1fr; min-height: 0; }
  .insights-hero__copy { padding: 32px 16px 0; }
  .insights-hero__copy .eyebrow { margin-bottom: 8px; }
  .insights-hero h1 { max-width: none; font-size: clamp(38px, 10vw, 42px); line-height: 1.12; }
  .insights-hero__image {
    width: calc(100% - 32px);
    height: auto;
    aspect-ratio: 1.15;
    margin: 38px 16px 32px;
  }
  .svc-grid { grid-template-columns: 1fr; }
  .offerings { grid-template-columns: 1fr; gap: 12px; }
  .post--list { grid-template-columns: 1fr; gap: 16px; }
  .booking { grid-template-columns: 1fr; }
  .booking img { height: 170px; }
  .form__row { grid-template-columns: 1fr; }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .page-hero h1 { max-width: none; }
}

/* ---- service page: breadcrumb, terms, pager; services hero collage ------ */

.crumb { display: flex; gap: 9px; align-items: center; font-size: 13px;
  color: rgba(255,255,255,.7); margin-bottom: 16px; }
.crumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }
.crumb span[aria-current] { color: #fff; }

.receive-grid {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; align-items: stretch;
  margin-top: clamp(34px, 5vw, 54px); border: 1px solid var(--line);
  border-radius: var(--r-s); overflow: hidden; background: var(--paper);
}
.receive-grid .receive { margin-top: 0; }
.terms { display: grid; align-content: center; gap: 22px; padding: 24px clamp(20px, 3vw, 36px); }
.term h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.term h4::before { content: none; }
.term__icon { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.term p { margin-top: 5px; padding-left: 26px; color: var(--grey);
  font-size: 14px; line-height: 1.5; }

.pager { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-top: clamp(40px, 5vw, 60px);
  padding-top: 26px; border-top: 1px solid var(--line); width: 100%;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.pager__label { color: var(--muted); font-size: 10px; font-weight: 500; text-transform: uppercase; }
.pager__title { display: inline-flex; align-items: center; gap: 8px; }
.pager:hover { color: var(--accent); }
.pager svg { color: var(--accent); }

.page-hero--split .wrap { display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px); align-items: center; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.collage img { border-radius: var(--r-s); width: 100%; height: 100%;
  object-fit: cover; aspect-ratio: 4 / 3; }
.collage img:first-child { grid-row: span 2; aspect-ratio: 4 / 6.4; }

@media (max-width: 1000px) {
  .receive-grid { grid-template-columns: 1fr; }
  .page-hero--split .wrap { grid-template-columns: 1fr; }
  .collage { max-width: 520px; }
}
@media (max-width: 760px) {
  .pager { align-items: flex-start; }
  .rels { grid-template-columns: 1fr; gap: 12px; }
  .collage img:first-child { aspect-ratio: 4 / 3; grid-row: auto; }
}
