/* =========================================================================
   SER Team — Website UI Kit styles
   Built on top of ../../colors_and_type.css
   ========================================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }
a { color: inherit; }

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

/* ---- Buttons ---------------------------------------------------------- */
.ser-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-sans); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: var(--ls-button);
  text-decoration: none; cursor: pointer;
  border: none;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
  white-space: nowrap;
}
.ser-btn .ser-arrow { transition: transform var(--t-fast) var(--ease-out); }
.ser-btn:hover .ser-arrow { transform: translateX(3px); }
.ser-btn:active { transition-duration: 80ms; box-shadow: none; }

.ser-btn-primary {
  background: var(--c-brand-red); color: #fff;
  padding: 14px 22px; border-radius: var(--radius-btn);
}
.ser-btn-primary:hover { background: var(--c-brand-red-hover); }

.ser-btn-outline {
  background: transparent; color: var(--c-ink);
  border: 1.5px solid var(--c-ink);
  padding: 12.5px 20.5px; border-radius: var(--radius-btn);
}
.ser-btn-outline:hover { background: var(--c-ink); color: #fff; }
.ser-btn-outline.on-dark { color: #fff; border-color: #fff; }
.ser-btn-outline.on-dark:hover { background: #fff; color: var(--c-ink); }

.ser-btn-pill {
  background: var(--c-brand-red); color: #fff;
  padding: 11px 22px; border-radius: var(--radius-pill);
  font-size: 12.5px;
}
.ser-btn-pill:hover { background: var(--c-brand-red-hover); }

.ser-link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-sans); font-weight: 700; font-size: 12.5px;
  color: var(--c-brand-red);
  text-transform: uppercase; letter-spacing: var(--ls-button);
  text-decoration: none;
}
.ser-link-arrow .ser-arrow { transition: transform var(--t-fast) var(--ease-out); }
.ser-link-arrow:hover .ser-arrow { transform: translateX(3px); }

/* ---- Wordmark --------------------------------------------------------- */
.ser-mark {
  display: inline-flex; align-items: baseline; gap: 0;
  font-family: var(--ff-sans); font-weight: 800;
  font-size: 22px; line-height: 1; letter-spacing: -0.3px;
  color: var(--c-ink); text-decoration: none;
}
/* Trailing brand mark: a filled red square (not a round dot), sitting on the
   baseline like a full stop. Stays red regardless of the wordmark text colour. */
.ser-mark .dot {
  width: 0.2em; height: 0.2em;
  margin-left: 0.05em;
  background: var(--c-brand-red);
  align-self: baseline;
}
.ser-mark.on-dark { color: #fff; }
.ser-mark-img { display: block; height: 28px; width: auto; }
.ser-footer-mark { display: block; height: 36px; width: auto; align-self: flex-start; margin-bottom: 6px; }

/* ---- Header ----------------------------------------------------------- */
.ser-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 87px; display: flex; align-items: center;
  transition: background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
  color: #fff;
}
.ser-header.scrolled {
  background: #fff; color: var(--c-ink);
  box-shadow: 0 6px 24px rgba(33,30,59,0.06);
}
.ser-header.scrolled .ser-mark { color: var(--c-ink); }
.ser-header .ser-mark { color: #fff; font-size: 22px; }
.ser-header-inner {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; gap: 24px;
}
.ser-nav {
  display: flex; align-items: center; gap: 22px;
  margin-left: 36px; flex: 1;
}
.ser-nav-link {
  font-family: var(--ff-sans); font-weight: 500; font-size: 14px;
  text-decoration: none; color: inherit; padding: 6px 0;
  position: relative;
}
.ser-nav-link:hover { color: var(--c-brand-red); }
.ser-nav-link .caret { font-size: 10px; opacity: 0.7; }
.ser-header-cta { margin-left: auto; }
.ser-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 4px; padding: 0;
}
.ser-burger span { display: block; width: 22px; height: 2px; background: currentColor; }
.ser-mobile-menu {
  position: absolute; top: 87px; left: 0; right: 0;
  background: #fff; color: var(--c-ink);
  padding: 16px 32px 24px; display: none; flex-direction: column; gap: 8px;
  box-shadow: 0 8px 24px rgba(33,30,59,0.08);
}
.ser-mobile-link {
  font-family: var(--ff-sans); font-size: 16px; font-weight: 700;
  padding: 10px 0; border-bottom: 1px solid var(--c-rule);
  text-decoration: none; color: var(--c-ink);
}

@media (max-width: 920px) {
  .ser-nav, .ser-header-cta { display: none; }
  .ser-burger { display: flex; margin-left: auto; }
  .ser-mobile-menu { display: flex; }
}

/* ---- Hero ------------------------------------------------------------- */
.ser-hero {
  position: relative;
  min-height: 720px;
  display: flex; align-items: center;
  padding: 140px 0 96px;
  color: #fff;
  overflow: hidden;
}
.ser-hero-bg {
  position: absolute; inset: 0;
  /* Editorial photo stand-in: warm-cool layered gradient at the angle and
     palette of the live site's hero conference shot. Replace with a real JPG. */
  background:
    radial-gradient(120% 90% at 78% 30%, #a48455 0%, #5d4a3a 40%, #2a2640 70%, #14122a 100%),
    linear-gradient(135deg, #2a2640, #14122a);
  background-blend-mode: multiply;
}
.ser-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,36,0.55) 0%, rgba(20,18,36,0.78) 65%, rgba(20,18,36,0.92) 100%);
}
.ser-hero-inner { position: relative; }
.ser-hero-h1 {
  font-family: var(--ff-sans); font-weight: 800;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1.05; letter-spacing: -0.015em;
  color: #fff; margin: 14px 0 22px; max-width: 14ch;
}
.ser-hero-lead {
  font-family: var(--ff-sans); font-weight: 400; font-size: 18px;
  line-height: 1.55; color: rgba(255,255,255,0.86);
  max-width: 56ch; margin: 0 0 32px;
}
.ser-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Eyebrow */
.ser-eyebrow {
  font-family: var(--ff-sans); font-weight: 700;
  font-size: var(--fs-eyebrow); color: var(--c-brand-red);
  text-transform: uppercase; letter-spacing: var(--ls-eyebrow);
  line-height: 1; margin: 0;
}
.ser-eyebrow.on-dark { color: var(--c-brand-red); }

/* ---- Section scaffold ------------------------------------------------ */
.ser-section {
  position: relative;
  padding: 112px 0;
  background: #fff;
  overflow: hidden;
}
.ser-section.alt { background: var(--c-tint-blue); }
.ser-ghost {
  position: absolute;
  top: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-sans); font-weight: 800;
  font-size: clamp(72px, 11vw, 160px);
  line-height: 1; color: var(--c-ghost);
  letter-spacing: -0.03em; pointer-events: none; user-select: none;
  text-transform: capitalize; white-space: nowrap;
}
.ser-section-head {
  text-align: center;
  max-width: 720px; margin: 0 auto 56px;
  position: relative;
}
.ser-section-head .ser-eyebrow { margin-bottom: 16px; }
.ser-section-head .ser-h2 {
  font-family: var(--ff-sans); font-weight: 800;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15; letter-spacing: -0.01em;
  color: var(--c-ink); margin: 0;
}
.ser-section-lead {
  font-size: 16px; color: var(--c-body); line-height: 1.7;
  max-width: 56ch; margin: 18px auto 0;
}
.ser-h2 { font-family: var(--ff-sans); font-weight: 800; }
.ser-h3 { font-family: var(--ff-sans); font-weight: 700; font-size: 22px; color: var(--c-ink); margin: 0 0 8px; line-height: 1.3; }

/* ---- Disk (icon badge) ------------------------------------------------ */
.ser-disk {
  width: 56px; height: 56px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-red-tint); color: var(--c-brand-red);
  flex-shrink: 0;
}
.ser-disk.solid { background: var(--c-brand-red); color: #fff; }

/* ---- Services grid ---------------------------------------------------- */
.ser-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.ser-service-card {
  background: #fff; border-radius: var(--radius-card);
  padding: 32px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: box-shadow var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.ser-service-card:hover { box-shadow: var(--shadow-card-h); transform: translateY(-2px); }
.ser-service-card .ser-disk { margin-bottom: 22px; }
.ser-service-card p { color: var(--c-body); font-size: 15px; line-height: 1.7; margin: 0 0 18px; flex: 1; }

@media (max-width: 860px) {
  .ser-services-grid { grid-template-columns: 1fr; }
}

/* ---- Process ---------------------------------------------------------- */
.ser-process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  max-width: 980px; margin: 0 auto;
}
.ser-process-col p { color: var(--c-body); font-size: 15px; line-height: 1.7; margin: 12px 0 0; }
.ser-process-letter {
  font-family: var(--ff-sans); font-weight: 800;
  font-size: 32px; color: var(--c-ink); letter-spacing: -0.5px;
}
.ser-process-letter .d { color: var(--c-brand-red); }
@media (max-width: 860px) { .ser-process-grid { grid-template-columns: 1fr; } }

/* ---- Testimonial ------------------------------------------------------ */
.ser-quote-card {
  background: #fff; border-radius: var(--radius-card);
  padding: 48px 56px; box-shadow: var(--shadow-card);
  max-width: 820px; margin: 0 auto;
  position: relative;
}
.ser-quote-mark {
  position: absolute; top: 12px; left: 24px;
  font-family: Georgia, serif; font-size: 120px;
  color: var(--c-brand-red); line-height: 1; opacity: 0.9;
}
.ser-quote-card blockquote {
  font-family: var(--ff-sans); font-weight: 500;
  font-size: 22px; line-height: 1.45; color: var(--c-ink);
  margin: 0 0 24px; position: relative;
}
.ser-quote-card figcaption {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 14px;
}
.ser-quote-card figcaption strong { color: var(--c-ink); font-weight: 700; }
.ser-quote-card figcaption span { color: var(--c-body-muted); }

/* ---- Contact form ----------------------------------------------------- */
.ser-form-wrap { max-width: 640px; margin: 0 auto; }
.ser-form-card {
  background: #fff; border: 1px solid var(--c-brand-red);
  border-radius: var(--radius-card); padding: 36px;
  box-shadow: var(--shadow-form);
  display: flex; flex-direction: column; gap: 20px;
}
.ser-form-card label { display: flex; flex-direction: column; gap: 6px; }
.ser-form-card label > span {
  font-family: var(--ff-sans); font-weight: 700; font-size: 13px; color: var(--c-ink);
}
.ser-form-card input, .ser-form-card textarea {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid #cfd3da;
  padding: 8px 0 10px;
  font-family: var(--ff-sans); font-size: 15px; color: var(--c-ink);
  outline: none;
  transition: border-color var(--t-fast) var(--ease-out);
  resize: vertical;
}
.ser-form-card input:focus, .ser-form-card textarea:focus { border-bottom-color: var(--c-brand-red); }
.ser-form-card label:has(input[type="checkbox"]) { flex-direction: row; align-items: flex-start; }
.ser-form-card input[type="checkbox"] { width: auto; flex: none; margin-top: 3px; }
.ser-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ser-form-card .ser-btn-primary { align-self: flex-start; margin-top: 4px; }
.ser-form-card.success { align-items: flex-start; gap: 14px; }
.ser-form-card.success p { color: var(--c-body); font-size: 15px; line-height: 1.7; margin: 0; }

@media (max-width: 640px) { .ser-form-row { grid-template-columns: 1fr; } }

/* ---- Footer ----------------------------------------------------------- */
.ser-footer {
  position: relative; background: var(--c-ink); color: #fff;
  padding: 80px 0 0; overflow: hidden;
}
.ser-footer-photo {
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 30% 30%, rgba(255,255,255,0.04), transparent),
              radial-gradient(40% 60% at 80% 20%, rgba(197,0,1,0.08), transparent);
  opacity: 0.8;
}
.ser-footer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33,30,59,0.4), rgba(33,30,59,0.95));
}
.ser-footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding-bottom: 56px;
}
.ser-footer .ser-mark { font-size: 26px; }
.ser-footer-col h4 {
  font-family: var(--ff-sans); font-weight: 700;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 18px; color: #fff;
}
.ser-footer-col ul { list-style: none; padding: 0; margin: 0; }
.ser-footer-col li { margin-bottom: 10px; }
.ser-footer-col a {
  font-family: var(--ff-sans); font-size: 14px;
  color: #d8d6e0; text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 10px;
  transition: color var(--t-fast) var(--ease-out);
}
.ser-footer-col a:hover { color: #fff; }
.ser-footer-col li:not(.with-icon) a::before {
  content: "»"; color: var(--c-brand-red); font-weight: 700; font-size: 14px; line-height: 1;
}
.ser-footer-col li.with-icon { display: flex; align-items: center; gap: 12px; }
.ser-footer-col .mini-disk {
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(197,0,1,0.18); color: var(--c-brand-red);
  display: inline-flex; align-items: center; justify-content: center;
}
.ser-footer-tag {
  font-family: var(--ff-sans); font-size: 14px; line-height: 1.6;
  color: #a8a6b4; max-width: 28ch; margin: 14px 0 18px;
}
.ser-li-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--c-brand-red); color: #fff; text-decoration: none;
  transition: background var(--t-fast) var(--ease-out);
}
.ser-li-pill:hover { background: var(--c-brand-red-hover); }
.ser-footer-rule { height: 1px; background: var(--c-brand-red); opacity: 0.9; margin-top: 16px; }
.ser-footer-copy {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 32px; font-size: 12.5px; color: #a8a6b4;
}
.ser-footer-copy a { color: #a8a6b4; text-decoration: none; }
.ser-footer-copy a:hover { color: #fff; }

@media (max-width: 920px) {
  .ser-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ser-footer-inner { grid-template-columns: 1fr; }
  .ser-footer-copy { flex-direction: column; gap: 8px; text-align: center; }
}

/* =========================================================================
   Dark mastheads / hero: keep headings white.
   colors_and_type.css sets a global `h1,h2 { color: var(--c-ink) }` (navy),
   which overrides the inherited white on dark sections and makes headings
   render navy-on-navy. This restores white on the dark bands site-wide.
   ========================================================================= */
.ser-hero h1, .ser-hero h2, .ser-hero h3,
section[style*="#14122a"] h1, section[style*="#14122a"] h2, section[style*="#14122a"] h3,
section[style*="#0c0b1a"] h1, section[style*="#0c0b1a"] h2, section[style*="#0c0b1a"] h3 {
  color: #fff;
}

/* =========================================================================
   Page components — lifted from the design prototypes so content files can
   use classes instead of repeating inline styles. Used by Home, the offer
   page, the case study, and About.
   ========================================================================= */

/* Dark masthead band (inner-page hero) */
.ser-masthead { position: relative; overflow: hidden; background: linear-gradient(180deg,#14122a,#0c0b1a); padding: 160px 0 88px; }
.ser-masthead h1 { font-size: clamp(36px,5vw,64px); line-height: 1.05; letter-spacing: -.015em; margin: 14px 0 22px; max-width: 20ch; color: #fff; }
.ser-masthead .lead { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.84); max-width: 60ch; margin: 0; }
.ser-ghost-bleed { position: absolute; right: -2%; top: 8%; font-weight: 800; line-height: .8; color: rgba(255,255,255,.035); letter-spacing: -.04em; pointer-events: none; user-select: none; font-size: clamp(160px,26vw,400px); }

/* Home hero ghost word */
.ser-hero-ghost { position: absolute; right: -2%; top: 6%; font-weight: 800; font-size: clamp(180px,30vw,460px); line-height: .8; color: rgba(255,255,255,.035); letter-spacing: -.04em; pointer-events: none; user-select: none; }

/* Hero split + case-study callout */
.ser-hero-split { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.ser-callout { display: block; text-decoration: none; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 30px; background: rgba(255,255,255,.03); transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out); }
.ser-callout:hover { border-color: rgba(255,255,255,.30); background: rgba(255,255,255,.05); }
.ser-callout:hover .ser-arrow { transform: translateX(3px); }

/* Four-column fact strip */
.ser-fact-strip { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.16); margin-top: 52px; }
.ser-fact { padding: 24px 24px 4px 0; border-right: 1px solid rgba(255,255,255,.16); }
.ser-fact:last-child { border-right: none; }
.ser-fact-k { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--c-brand-red); margin: 0 0 12px; }
.ser-fact-v { font-size: 26px; font-weight: 800; line-height: 1.1; color: #fff; letter-spacing: -.01em; margin: 0 0 8px; }
.ser-fact-d { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.62); margin: 0; }
.ser-fact-strip.on-light { border-top: 1px solid var(--c-rule); }
.ser-fact-strip.on-light .ser-fact { border-right: 1px solid var(--c-rule); }
.ser-fact-strip.on-light .ser-fact:last-child { border-right: none; }
.ser-fact-strip.on-light .ser-fact-v { color: var(--c-ink); }
.ser-fact-strip.on-light .ser-fact-d { color: var(--c-body-muted); }

/* Translation-gap exhibit */
.ser-exhibit { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; border: 1px solid var(--c-rule); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); background: #fff; max-width: 980px; margin: 0 auto; }
.ser-exhibit-col { padding: 30px; }
.ser-exhibit-col.alt { background: var(--c-tint-blue); }
.ser-exhibit-k { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-body-muted); margin: 0 0 4px; }
.ser-exhibit-sub { font-size: 12.5px; color: var(--c-body-muted); margin: 0 0 20px; }
.ser-exhibit ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.ser-exhibit li { font-size: 14px; color: var(--c-ink); }
.ser-exhibit li strong { display: block; font-size: 11.5px; letter-spacing: .04em; }
.ser-exhibit-div { width: 1px; background: repeating-linear-gradient(180deg,var(--c-rule),var(--c-rule) 6px,transparent 6px,transparent 12px); position: relative; display: flex; align-items: center; justify-content: center; }
.ser-exhibit-div span { position: absolute; background: var(--c-brand-red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; border-radius: 6px; white-space: nowrap; box-shadow: var(--shadow-card); }

/* Numbered steps (how it works) */
.ser-step { display: grid; grid-template-columns: auto 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--c-rule); }
.ser-step:last-child { border-bottom: 1px solid var(--c-rule); }
.ser-step-no { font-weight: 800; font-size: 42px; color: var(--c-ink); line-height: 1; letter-spacing: -.02em; }
.ser-step-no .d { color: var(--c-brand-red); }
.ser-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 16px; }
.ser-meta div span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-body-muted); margin-bottom: 3px; }
.ser-meta div strong { font-size: 14px; color: var(--c-ink); font-weight: 700; }

/* Case-study numbered part header */
.ser-part { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.ser-part .num { font-weight: 800; font-size: 40px; color: var(--c-ink); line-height: 1; letter-spacing: -.02em; }
.ser-part .num .d { color: var(--c-brand-red); }
.ser-part .pl { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--c-body-muted); }

/* Generic layout helpers */
.ser-split { display: grid; gap: 64px; align-items: center; }
.ser-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* Dark closing CTA band */
.ser-cta-band { position: relative; overflow: hidden; background: linear-gradient(180deg,#14122a,#0c0b1a); padding: 112px 0; text-align: center; }
.ser-cta-band h2 { color: #fff; font-weight: 800; font-size: clamp(28px,3.6vw,42px); line-height: 1.15; margin: 16px auto 18px; max-width: 20ch; }
.ser-cta-band p { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.7; max-width: 54ch; margin: 0 auto 32px; }

@media (max-width: 880px) { .ser-hero-split { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 860px) { .ser-fact-strip { grid-template-columns: 1fr 1fr; } .ser-fact { border-right: none; } }
@media (max-width: 760px) {
  .ser-exhibit { grid-template-columns: 1fr; }
  .ser-exhibit-div { display: none; }
  .ser-grid3 { grid-template-columns: 1fr; }
  .ser-split { grid-template-columns: 1fr !important; gap: 36px; }
  .ser-step { grid-template-columns: 1fr; gap: 8px; }
}
