:root {
  --ink: #172531;
  --ink-soft: #42515d;
  --paper: #faf8f2;
  --paper-2: #efe9dd;
  --white: #fffdf8;
  --mint: #dfeadd;
  --clay: #d7b58d;
  --sage: #8aa18c;
  --teal: #4d8a8c;
  --gold: #c9a55a;
  --line: rgba(23, 37, 49, 0.12);
  --shadow: 0 24px 70px rgba(23, 37, 49, 0.12);
  --radius: 8px;
  --max: 1180px;
  font-family: "Roboto", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(246, 247, 241, 0.98), transparent 36%),
    radial-gradient(circle at 4% 36%, rgba(191, 207, 201, 0.46), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(77, 106, 106, 0.2), transparent 34%),
    radial-gradient(circle at 88% 84%, rgba(5, 17, 22, 0.38), transparent 46%),
    linear-gradient(145deg, #fffdf8 0%, #dce6e0 44%, #b4c6bf 68%, #f3f0e8 100%);
  background-attachment: fixed;
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  overflow: hidden;
}

.brand-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 16% 10%, rgba(247, 249, 244, 0.98), transparent 34%),
    radial-gradient(circle at 18% 42%, rgba(188, 207, 201, 0.46), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(5, 17, 22, 0.42), transparent 46%),
    linear-gradient(145deg, #fffdf8 0%, #dce6e0 46%, #173337 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.brand-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  position: relative;
  width: min(340px, 72vw);
  height: 120px;
  display: grid;
  place-items: center;
  --loader-symbol-shift: clamp(41px, 13.65vw, 64.5px);
  --loader-symbol-fit: 0.88;
}

.loader-symbol,
.loader-wordmark {
  position: absolute;
  max-width: none;
}

.loader-symbol {
  width: clamp(66px, 18vw, 86px);
  filter: drop-shadow(0 20px 38px rgba(6, 16, 20, 0.18));
  animation: loaderSymbol 2s cubic-bezier(0.2, 0.72, 0.12, 1) forwards;
}

.loader-wordmark {
  width: 100%;
  opacity: 0;
  transform: scale(1);
  animation: loaderWordmark 2s ease forwards;
}

.header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max));
  height: 72px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 16px 0 22px;
  border: 1px solid rgba(23, 37, 49, 0.11);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 18px 50px rgba(23, 37, 49, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 0.25s ease, box-shadow 0.25s ease, top 0.25s ease;
}

.header.is-scrolled {
  top: 10px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 18px 50px rgba(23, 37, 49, 0.14);
}

.brand img {
  width: 188px;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta {
  padding: 0 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #2e5558);
}

.button {
  padding: 0 22px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(23, 37, 49, 0.18);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.75);
}

.menu-toggle {
  display: none;
}

.hero {
  width: min(calc(100% - 32px), var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding: 152px 0 68px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.section-heading {
  position: relative;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 4.2vw, 4.35rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 2.45vw, 2.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.accent-word {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  color: var(--teal);
  white-space: nowrap;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.1;
}

.hero-lead,
.intro-card p,
.method-copy p,
.contact-copy p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(23, 37, 49, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  transform: rotate(1deg);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 37, 49, 0.02), rgba(23, 37, 49, 0.18));
  content: "";
}

.hero-visual::before {
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 253, 248, 0.42);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  z-index: 2;
  width: min(210px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid rgba(255, 253, 248, 0.38);
  border-radius: 8px;
  color: var(--white);
  background: rgba(23, 37, 49, 0.74);
  backdrop-filter: blur(14px);
  transform: rotate(-1deg);
}

.floating-panel span,
.floating-panel small {
  display: block;
  color: rgba(255, 253, 248, 0.72);
}

.floating-panel strong {
  display: block;
  margin: 6px 0 2px;
  font-size: 2.2rem;
}

.panel-top {
  top: 28px;
  right: 28px;
  animation: floatY 5.8s ease-in-out infinite;
}

.panel-bottom {
  bottom: 28px;
  left: 28px;
  animation: floatY 6.4s ease-in-out infinite reverse;
}

.partners,
.metrics,
.services,
.method,
.cases,
.quote,
.contact,
.intro,
.operations,
.process-map,
.sectors,
.deliverables,
.about-preview,
.page-hero,
.about-identity,
.about-story,
.principles,
.about-band,
.legal-hero,
.legal-layout {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  scroll-margin-top: 160px;
}

.partners {
  padding: 48px 0 86px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  position: relative;
}

.partners-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.partners-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.3vw, 3.8rem);
}

.client-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) 1fr;
  gap: 16px;
  align-items: stretch;
}

.client-feature {
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 54px rgba(23, 37, 49, 0.08);
  position: relative;
  overflow: hidden;
}

.client-feature::after {
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(201, 165, 90, 0.45);
  border-radius: 50%;
  content: "";
}

.client-feature span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.client-feature img {
  width: min(270px, 100%);
  margin: auto auto 32px;
}

.client-feature p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.client-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.client-types span {
  min-height: 144px;
  display: flex;
  align-items: end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.68);
  font-weight: 500;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.client-types span:nth-child(2n) {
  background: rgba(223, 234, 221, 0.58);
}

.client-types span:nth-child(3n) {
  background: rgba(215, 181, 141, 0.2);
}

.client-types span:hover {
  border-color: rgba(77, 138, 140, 0.38);
  background: rgba(255, 253, 248, 0.94);
  transform: translateY(-4px);
}

.contact-points span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.62);
}

.section-grid {
  padding: 76px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: end;
}

.intro-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: inset 6px 0 0 rgba(77, 138, 140, 0.35);
}

.intro-card p {
  margin-bottom: 0;
}

.inline-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--teal);
  font-weight: 700;
}

.inline-link::after {
  content: "";
  width: 38px;
  height: 1px;
  margin: 0 0 5px 10px;
  align-self: end;
  background: currentColor;
}

.metrics {
  padding: 12px 0 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metrics article {
  min-height: 178px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.metrics article::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 48px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.metrics strong {
  display: block;
  margin-bottom: 20px;
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.9;
}

.operations {
  align-items: center;
  padding-top: 22px;
  padding-bottom: 72px;
}

.ops-board {
  padding: 12px;
  border: 1px solid rgba(23, 37, 49, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 22px 60px rgba(23, 37, 49, 0.08);
}

.ops-header {
  padding: 22px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 37, 49, 0.98), rgba(36, 66, 70, 0.96)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 253, 248, 0.08) 12px 13px);
}

.ops-header span {
  display: block;
  margin-bottom: 42px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.ops-header strong {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 500;
}

.ops-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 14px;
  border-bottom: 1px solid var(--line);
}

.ops-row:last-child {
  border-bottom: 0;
}

.ops-row strong {
  font-weight: 500;
}

.ops-row p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.ops-row small {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.8);
}

.ops-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(77, 138, 140, 0.12);
}

.ops-dot.active {
  background: var(--sage);
}

.ops-dot.warm {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201, 165, 90, 0.14);
}

.metrics span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.process-map {
  margin-bottom: 70px;
  padding: 34px;
  border: 1px solid rgba(23, 37, 49, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 253, 248, 0.98), transparent 30%),
    radial-gradient(circle at 72% 22%, rgba(183, 203, 197, 0.34), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(7, 25, 30, 0.1), transparent 38%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(227, 236, 230, 0.82)),
    var(--white);
  box-shadow: 0 20px 60px rgba(23, 37, 49, 0.08);
  overflow: hidden;
}

.process-map-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.process-map h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.process-map .button.secondary {
  border-color: rgba(23, 37, 49, 0.16);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.62);
}

.process-timeline {
  position: relative;
  min-height: 680px;
  margin-top: 34px;
  padding: 54px clamp(24px, 4vw, 58px) 86px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(18px, 2.2vw, 34px);
  align-items: stretch;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 84%, rgba(216, 231, 225, 0.72), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(8, 30, 36, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.74), rgba(218, 230, 225, 0.5), rgba(10, 31, 36, 0.08));
  overflow: hidden;
}

.process-timeline::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(77, 138, 140, 0.06) 1px, transparent 1px);
  background-size: 100% 42px;
  content: "";
  pointer-events: none;
}

.timeline-rail {
  position: absolute;
  left: clamp(42px, 5.5vw, 74px);
  right: clamp(42px, 5.5vw, 74px);
  bottom: 86px;
  height: 30px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(77, 138, 140, 0.22), rgba(201, 165, 90, 0.26), transparent),
    repeating-linear-gradient(90deg, rgba(23, 37, 49, 0.18) 0 2px, transparent 2px 9px);
}

.timeline-rail::after {
  position: absolute;
  left: 0;
  top: 13px;
  width: 18%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold), transparent);
  content: "";
  animation: workflowTravel 5.8s ease-in-out infinite;
}

.timeline-point {
  position: relative;
  width: 100%;
  min-height: 520px;
  transform: none;
  z-index: 1;
}

.timeline-copy {
  position: absolute;
  left: 50%;
  bottom: calc(var(--stem) + 38px);
  width: 100%;
  max-width: 280px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  text-align: center;
}

.point-4 .timeline-copy {
  max-width: 280px;
}

.timeline-copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
}

.timeline-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.48;
}

.timeline-stem {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: var(--stem);
  background: linear-gradient(180deg, rgba(23, 37, 49, 0.1), rgba(77, 138, 140, 0.5));
}

.timeline-stem::before {
  position: absolute;
  left: 50%;
  top: -7px;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(77, 138, 140, 0.52);
  border-radius: 50%;
  background: var(--white);
  content: "";
  transform: translateX(-50%);
}

.timeline-chip {
  position: absolute;
  left: 50%;
  bottom: -22px;
  min-width: 132px;
  height: 44px;
  padding: 0 12px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(23, 37, 49, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 14px 34px rgba(23, 37, 49, 0.12);
  transform: translateX(-50%);
}

.timeline-chip strong {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.timeline-chip i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 43%, var(--teal) 43% 57%, transparent 57%),
    linear-gradient(0deg, transparent 43%, var(--gold) 43% 57%, transparent 57%),
    rgba(223, 234, 221, 0.84);
}

.point-1 { --stem: 112px; }
.point-2 { --stem: 190px; }
.point-3 { --stem: 268px; }
.point-4 { --stem: 346px; }
.services {
  padding: 92px 0;
}

.centered {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card,
.case-card,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card {
  min-height: 306px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before,
.sector-card::before,
.principle-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--teal);
  content: "";
}

.service-card:nth-child(2n)::before,
.sector-card:nth-child(2n)::before,
.principle-card:nth-child(2n)::before {
  background: var(--gold);
}

.service-card:nth-child(3n)::before,
.sector-card:nth-child(3n)::before,
.principle-card:nth-child(3n)::before {
  background: var(--sage);
}

.service-card:hover,
.case-card:hover {
  border-color: rgba(77, 138, 140, 0.38);
  box-shadow: 0 20px 48px rgba(23, 37, 49, 0.1);
  transform: translateY(-5px);
}

.service-card.accent {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 37, 49, 0.98), rgba(46, 85, 88, 0.98)),
    var(--ink);
}

.service-card p,
.case-card p,
.timeline-item p,
.sector-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.service-card.accent p,
.service-card.accent .service-index {
  color: rgba(255, 253, 248, 0.72);
}

.service-index {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  font-weight: 700;
}

.service-visual {
  position: relative;
  height: 96px;
  margin-bottom: auto;
}

.service-card h3 {
  margin-top: 28px;
}

.service-visual i {
  position: absolute;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(23, 37, 49, 0.16);
  background: rgba(255, 253, 248, 0.78);
}

.service-card.accent .service-visual i {
  border-color: rgba(255, 253, 248, 0.26);
  background: rgba(255, 253, 248, 0.12);
}

.visual-files i {
  width: 54px;
  height: 70px;
  top: 10px;
}

.visual-files i:nth-child(1) {
  left: 0;
}

.visual-files i:nth-child(2) {
  left: 34px;
  top: 18px;
}

.visual-files i:nth-child(3) {
  left: 68px;
  top: 26px;
  background: var(--mint);
}

.visual-stack i {
  left: 0;
  width: min(190px, 88%);
  height: 14px;
  border-radius: 999px;
}

.visual-stack i:nth-child(1) {
  top: 14px;
}

.visual-stack i:nth-child(2) {
  top: 38px;
  width: 74%;
  background: var(--mint);
}

.visual-stack i:nth-child(3) {
  top: 62px;
  width: 92%;
}

.visual-stack i:nth-child(4) {
  right: 0;
  top: 26px;
  left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
}

.visual-budget i {
  bottom: 10px;
  width: 24%;
  border-radius: 8px 8px 0 0;
  background: var(--mint);
}

.visual-budget i:nth-child(1) {
  left: 0;
  height: 36px;
}

.visual-budget i:nth-child(2) {
  left: 32%;
  height: 64px;
}

.visual-budget i:nth-child(3) {
  left: 64%;
  height: 48px;
  background: var(--clay);
}

.visual-calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-content: end;
}

.visual-calendar i {
  position: static;
  height: 52px;
}

.visual-calendar i:nth-child(2),
.visual-calendar i:nth-child(4) {
  height: 76px;
  background: var(--mint);
}

.visual-admin i {
  left: 0;
  right: 0;
  height: 20px;
  border-radius: 999px;
}

.visual-admin i:nth-child(1) {
  top: 14px;
}

.visual-admin i:nth-child(2) {
  top: 44px;
  width: 72%;
  background: var(--mint);
}

.visual-admin i:nth-child(3) {
  top: 74px;
  width: 52%;
  background: var(--clay);
}

.visual-review i:nth-child(1) {
  left: 0;
  top: 16px;
  width: 76%;
  height: 14px;
  border-radius: 999px;
}

.visual-review i:nth-child(2) {
  left: 0;
  top: 44px;
  width: 58%;
  height: 14px;
  border-radius: 999px;
}

.visual-review i:nth-child(3) {
  left: 0;
  top: 72px;
  width: 68%;
  height: 14px;
  border-radius: 999px;
}

.visual-review i:nth-child(4) {
  right: 10px;
  top: 12px;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(223, 234, 221, 0.16);
}

.visual-review i:nth-child(4)::before {
  position: absolute;
  left: 20px;
  top: 17px;
  width: 24px;
  height: 36px;
  border-right: 5px solid var(--mint);
  border-bottom: 5px solid var(--mint);
  content: "";
  transform: rotate(42deg);
}

.visual-review i:nth-child(5) {
  right: 0;
  top: 92px;
  width: 116px;
  height: 2px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.15), rgba(255, 253, 248, 0.55));
}

.sectors {
  padding: 92px 0;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sector-card {
  min-height: 292px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  position: relative;
  overflow: hidden;
}

.sector-card span {
  margin-bottom: auto;
  color: var(--teal);
  font-weight: 700;
}

.sector-card h3 {
  margin-top: 58px;
}

.method {
  padding: 92px 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.method-visual {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
}

.method-copy {
  position: sticky;
  top: 130px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.method-flow {
  position: relative;
  min-height: 470px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(223, 234, 221, 0.42)),
    var(--white);
  overflow: hidden;
}

.method-flow::before {
  position: absolute;
  left: 20px;
  right: -60px;
  bottom: -110px;
  height: 62%;
  border-radius: 50% 50% 0 0;
  background: rgba(77, 138, 140, 0.12);
  content: "";
}

.method-flow .timeline-item {
  z-index: 1;
  width: min(420px, 62%);
  min-height: 116px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 16px 42px rgba(23, 37, 49, 0.08);
}

.method-flow .timeline-item:nth-child(2) {
  margin-left: 18%;
}

.method-flow .timeline-item:nth-child(3) {
  margin-left: 34%;
}

.method-flow .timeline-item:nth-child(4) {
  margin-left: auto;
}

.timeline-item {
  position: relative;
  padding: 28px 28px 28px 92px;
}

.timeline-item::after {
  position: absolute;
  top: 48px;
  left: 48px;
  width: 1px;
  height: calc(100% - 48px);
  background: rgba(77, 138, 140, 0.22);
  content: "";
}

.timeline-item span {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
}

.cases {
  padding: 88px 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.case-card {
  min-height: 245px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.84), rgba(255, 253, 248, 0.68)),
    var(--white);
}

.case-card span {
  display: inline-flex;
  margin-bottom: 66px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quote {
  margin-top: 18px;
  margin-bottom: 82px;
  padding: 44px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 37, 49, 0.96), rgba(37, 75, 78, 0.96)),
    var(--ink);
}

.quote img {
  width: 72px;
  filter: invert(1) brightness(3);
}

blockquote {
  margin: 0;
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.deliverables {
  padding: 0 0 96px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.deliverables-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.document-preview {
  position: relative;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 37, 49, 0.96), rgba(46, 85, 88, 0.92)),
    var(--ink);
  overflow: hidden;
}

.doc-sheet {
  position: absolute;
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
}

.doc-main {
  left: 42px;
  right: 54px;
  top: 42px;
  bottom: 52px;
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.doc-main span {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 44%, var(--teal) 44% 56%, transparent 56%),
    linear-gradient(0deg, transparent 44%, var(--gold) 44% 56%, transparent 56%);
}

.doc-main strong {
  display: block;
  margin-bottom: 26px;
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.doc-main i {
  display: block;
  height: 13px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(23, 37, 49, 0.13);
}

.doc-main i:nth-of-type(2) {
  width: 78%;
}

.doc-main i:nth-of-type(3) {
  width: 58%;
}

.doc-back {
  left: 72px;
  right: 24px;
  top: 72px;
  bottom: 26px;
  opacity: 0.35;
}

.doc-stamp {
  position: absolute;
  right: 28px;
  bottom: 28px;
  padding: 12px 14px;
  border: 1px solid rgba(233, 245, 191, 0.32);
  border-radius: 999px;
  color: #e9f5bf;
  background: rgba(3, 6, 6, 0.5);
  font-weight: 500;
}

.deliverables-list {
  display: grid;
  gap: 12px;
}

.deliverables-list div {
  min-height: 70px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.74);
  transition: transform 0.2s ease, background 0.2s ease;
}

.deliverables-list div:hover {
  background: var(--white);
  transform: translateX(6px);
}

.deliverables-list span {
  width: 12px;
  height: 12px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  background: rgba(77, 138, 140, 0.12);
}

.deliverables-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.contact {
  padding: 88px 0 110px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 62px;
  align-items: start;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(23, 37, 49, 0.08);
  border-top: 5px solid var(--gold);
}

label {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 37, 49, 0.18);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(77, 138, 140, 0.28);
  border-color: var(--teal);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0 42px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.footer img {
  width: 166px;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.page-hero {
  min-height: 82svh;
  padding: 160px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: end;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.9rem, 5.8vw, 5.9rem);
}

.page-hero-card {
  min-height: 420px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(23, 37, 49, 0.12);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 37, 49, 0.94), rgba(37, 75, 78, 0.91)),
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(255, 253, 248, 0.08) 16px 17px),
    var(--ink);
  box-shadow: var(--shadow);
}

.page-hero-card > span {
  margin-bottom: auto;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.page-hero-card strong {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
}

.about-identity {
  padding: 8px 0 84px;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 56px;
  align-items: start;
}

.identity-label {
  position: sticky;
  top: 130px;
}

.identity-label span {
  display: block;
  max-width: 260px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.04;
}

.identity-copy {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(223, 234, 221, 0.4)),
    var(--white);
  box-shadow: 0 20px 54px rgba(23, 37, 49, 0.07);
}

.identity-copy p {
  max-width: 850px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.35vw, 1.24rem);
  line-height: 1.7;
}

.identity-copy p:first-child {
  color: var(--ink);
  font-size: clamp(1.24rem, 1.9vw, 1.62rem);
  line-height: 1.48;
}

.identity-copy p:last-child {
  margin-bottom: 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.86);
  background: rgba(255, 253, 248, 0.08);
  font-size: 0.9rem;
}

.story-copy,
.signal-grid {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.signal-grid article {
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.signal-grid article::after {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(77, 138, 140, 0.26);
  border-radius: 50%;
  content: "";
}

.signal-grid span {
  color: var(--teal);
  font-weight: 700;
}

.signal-grid strong {
  margin-top: auto;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.08;
}

.story-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.principles {
  padding: 88px 0 110px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.principle-card {
  min-height: 250px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  position: relative;
  overflow: hidden;
}

.principle-card span {
  margin-bottom: auto;
  color: var(--teal);
  font-weight: 700;
}

.principle-card h3 {
  margin-top: 84px;
}

.principle-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.about-band {
  margin-bottom: 108px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(223, 234, 221, 0.55)),
    var(--white);
  box-shadow: 0 20px 54px rgba(23, 37, 49, 0.08);
}

.about-band blockquote {
  max-width: 920px;
  margin-bottom: 34px;
  color: var(--ink);
}

.legal-hero {
  padding: 160px 0 60px;
}

.legal-hero h1 {
  max-width: 880px;
  margin-bottom: 20px;
}

.legal-hero p:last-child {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.legal-layout {
  padding: 16px 0 112px;
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 42px;
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 130px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(223, 234, 221, 0.42)),
    var(--white);
  box-shadow: 0 18px 48px rgba(23, 37, 49, 0.07);
}

.legal-summary span {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-summary strong {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  line-height: 1.06;
}

.legal-summary p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.legal-content {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 54px rgba(23, 37, 49, 0.07);
}

.legal-content article {
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-content article:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  line-height: 1.72;
}

.legal-content ul {
  padding-left: 20px;
  margin: 0;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content strong {
  color: var(--ink);
  font-weight: 500;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: min(640px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(23, 37, 49, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 24px 70px rgba(23, 37, 49, 0.18);
  backdrop-filter: blur(18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(12px);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.cookie-banner p {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--teal);
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 42px;
  white-space: nowrap;
}

.footer p {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes workflowTravel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(450%);
  }
}

@keyframes loaderSymbol {
  0% {
    opacity: 0;
    transform: translateX(0) scale(0.72) rotate(-10deg);
  }
  28% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
  58% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
  72%,
  86% {
    opacity: 1;
    transform: translateX(var(--loader-symbol-shift)) scale(var(--loader-symbol-fit)) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateX(var(--loader-symbol-shift)) scale(var(--loader-symbol-fit)) rotate(0deg);
  }
}

@keyframes loaderWordmark {
  0%,
  78% {
    opacity: 0;
    transform: scale(1);
  }
  92%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .header {
    grid-template-columns: 1fr auto auto;
  }

  .nav {
    position: fixed;
    inset: 96px 16px auto;
    display: none;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.8);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease;
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hero,
  .section-grid,
  .method,
  .contact,
  .deliverables,
  .deliverables-panel,
  .client-showcase,
  .page-hero,
  .about-identity,
  .legal-layout,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 136px;
    gap: 32px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 480px;
  }

  .process-map-head,
  .deliverables-panel {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    min-height: auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .timeline-rail {
    display: none;
  }

  .timeline-point {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    min-height: 138px;
    padding: 22px 22px 22px 86px;
    border: 1px solid rgba(23, 37, 49, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.7);
    transform: none;
  }

  .timeline-copy {
    position: static;
    width: auto;
    max-width: none;
    min-height: auto;
    text-align: left;
    align-items: flex-start;
    transform: none;
  }

  .timeline-stem {
    left: 43px;
    top: 76px;
    bottom: auto;
    height: calc(100% - 42px);
  }

  .timeline-chip {
    left: 20px;
    top: 22px;
    bottom: auto;
    min-width: 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    transform: none;
  }

  .timeline-chip strong {
    display: none;
  }

  .method-flow .timeline-item,
  .method-flow .timeline-item:nth-child(2),
  .method-flow .timeline-item:nth-child(3),
  .method-flow .timeline-item:nth-child(4) {
    width: 100%;
    margin-left: 0;
  }

  .metrics,
  .service-grid,
  .case-grid,
  .sector-grid,
  .principle-grid,
  .client-types,
  .signal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-copy {
    position: static;
  }

  .identity-label {
    position: static;
  }

  .legal-summary {
    position: static;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer div {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header {
    top: 10px;
    width: calc(100% - 20px);
    height: 64px;
    padding-left: 14px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    width: calc(100% - 24px);
    padding-top: 116px;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 4.7rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

  .floating-panel {
    width: 180px;
    padding: 14px;
  }

  .panel-top {
    top: 16px;
    right: 16px;
  }

  .panel-bottom {
    left: 16px;
    bottom: 16px;
  }

  .partners,
  .metrics,
  .services,
  .method,
  .cases,
  .quote,
  .contact,
  .intro,
  .operations,
  .process-map,
  .sectors,
  .deliverables,
  .about-preview,
  .page-hero,
  .about-identity,
  .about-story,
  .principles,
  .about-band,
  .legal-hero,
  .legal-layout {
    width: calc(100% - 24px);
  }

  .section-grid,
  .services,
  .method,
  .cases,
  .contact,
  .sectors,
  .deliverables,
  .about-preview,
  .about-identity,
  .about-story,
  .principles,
  .legal-layout {
    padding: 72px 0;
  }

  .legal-hero {
    padding: 122px 0 32px;
  }

  .metrics,
  .service-grid,
  .case-grid,
  .sector-grid,
  .principle-grid,
  .client-types,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .process-map {
    padding: 22px;
  }

  .service-card {
    min-height: 286px;
  }

  .service-visual {
    height: 82px;
  }

  .method-flow {
    min-height: auto;
  }

  .document-preview {
    min-height: 280px;
  }

  .partners {
    padding-bottom: 66px;
  }

  .client-feature {
    min-height: 260px;
  }

  .client-types span {
    min-height: 92px;
  }

  .page-hero {
    min-height: auto;
    padding: 122px 0 64px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .page-hero-card {
    min-height: 340px;
  }

  .identity-copy {
    padding: 28px;
  }

  .legal-content,
  .legal-summary {
    padding: 24px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }

  .cookie-actions,
  .cookie-actions .button {
    width: 100%;
  }

  .metrics {
    padding-bottom: 64px;
  }

  .service-index {
    margin-bottom: 38px;
  }

  .case-card span {
    margin-bottom: 54px;
  }

  .timeline-item {
    padding: 82px 24px 26px;
  }

  .timeline-item span {
    top: 24px;
    left: 24px;
  }

  .ops-row {
    grid-template-columns: 14px 1fr;
  }

  .ops-row small {
    grid-column: 2;
    justify-self: start;
  }

  .sector-card {
    min-height: 280px;
  }

  .principle-card {
    min-height: 220px;
  }

  .signal-grid article {
    min-height: 150px;
  }

  .about-band {
    margin-bottom: 72px;
    padding: 30px;
  }

  .quote {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .contact-form {
    padding: 22px;
  }
}

/* Webflow-inspired homepage structure */
.template-hero {
  min-height: 96svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  gap: clamp(34px, 6vw, 78px);
  padding-bottom: 46px;
}

.template-hero h1 {
  max-width: 820px;
  font-size: clamp(3.25rem, 6.65vw, 7rem);
}

.template-hero .hero-lead {
  max-width: 620px;
}

.template-hero-visual {
  min-height: 660px;
  transform: none;
}

.template-hero-visual img {
  min-height: 660px;
}

.hero-status-panel {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 3;
  width: min(360px, calc(100% - 52px));
  padding: 22px;
  border: 1px solid rgba(255, 253, 248, 0.36);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(23, 37, 49, 0.78);
  backdrop-filter: blur(16px);
}

.hero-status-panel span,
.hero-status-panel small {
  display: block;
  color: rgba(255, 253, 248, 0.72);
}

.hero-status-panel strong {
  display: block;
  margin: 10px 0 4px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 500;
  line-height: 1;
}

.hero-mini-grid {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 3;
  display: grid;
  gap: 8px;
}

.hero-mini-grid span {
  min-width: 132px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 253, 248, 0.14);
  backdrop-filter: blur(12px);
  font-size: 0.88rem;
  font-weight: 500;
}

.template-strip {
  padding: 56px 0 96px;
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 36px;
  align-items: start;
}

.strip-copy {
  position: sticky;
  top: 132px;
}

.strip-copy h2 {
  font-size: clamp(1.8rem, 2.8vw, 3.25rem);
}

.template-client-showcase {
  grid-template-columns: 0.62fr 1fr;
}

.template-brief {
  align-items: start;
  padding-top: 38px;
}

.brief-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(223, 234, 221, 0.48)),
    var(--white);
  box-shadow: 0 22px 58px rgba(23, 37, 49, 0.08);
}

.brief-panel p {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.55vw, 1.26rem);
  line-height: 1.66;
}

.brief-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.brief-points span {
  min-height: 82px;
  display: flex;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(23, 37, 49, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  font-weight: 500;
}

.template-metrics {
  padding-bottom: 76px;
}

.template-services {
  padding-top: 82px;
  padding-bottom: 86px;
  border-top: 1px solid var(--line);
}

.template-section-head {
  max-width: none;
  margin: 0 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.42fr);
  gap: 48px;
  align-items: end;
  text-align: left;
}

.template-section-head h2 {
  margin-bottom: 0;
}

.template-section-head > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.template-service-list {
  display: grid;
  gap: 14px;
}

.service-wide {
  min-height: 188px;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 28px;
  align-items: center;
}

.service-wide h3 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.4vw, 2.55rem);
}

.service-wide p {
  max-width: 740px;
}

.service-wide .inline-link {
  margin-top: 0;
  white-space: nowrap;
}

.service-card.accent .inline-link {
  color: var(--white);
}

.template-industries,
.template-faq {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  scroll-margin-top: 160px;
}

.template-industries {
  padding: 24px 0 94px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: stretch;
}

.industry-media {
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.industry-media img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.industry-copy {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
}

.industry-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.industry-list article {
  padding: 22px;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.industry-list span {
  color: var(--teal);
  font-weight: 700;
}

.industry-list h3,
.industry-list p {
  grid-column: 2;
}

.industry-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.template-process {
  margin-bottom: 92px;
}

.template-insights {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 0 0 82px;
  scroll-margin-top: 160px;
}

.template-insights .case-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
}

.template-insights .case-card span {
  margin-bottom: auto;
}

.template-insights .case-card h3 {
  margin-top: 54px;
}

.template-quote {
  margin-bottom: 92px;
}

.template-faq {
  padding: 0 0 96px;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 54px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.8);
  box-shadow: 0 14px 38px rgba(23, 37, 49, 0.06);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 500;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--ink-soft);
  line-height: 1.62;
}

.template-contact {
  margin-bottom: 0;
  padding-top: 96px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .template-hero,
  .template-strip,
  .template-section-head,
  .template-industries,
  .template-faq {
    grid-template-columns: 1fr;
  }

  .strip-copy {
    position: static;
  }

  .service-wide {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-wide .inline-link {
    justify-self: start;
  }

  .industry-media,
  .industry-media img,
  .template-hero-visual,
  .template-hero-visual img {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .template-hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .template-strip,
  .template-industries,
  .template-faq,
  .template-insights {
    width: calc(100% - 24px);
  }

  .template-client-showcase,
  .brief-points {
    grid-template-columns: 1fr;
  }

  .hero-mini-grid {
    top: 16px;
    right: 16px;
  }

  .hero-mini-grid span {
    min-width: 112px;
    font-size: 0.8rem;
  }

  .hero-status-panel {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .template-hero-visual,
  .template-hero-visual img,
  .industry-media,
  .industry-media img {
    min-height: 420px;
  }

  .industry-copy,
  .brief-panel {
    padding: 24px;
  }

  .industry-list article {
    grid-template-columns: 1fr;
  }

  .industry-list h3,
  .industry-list p {
    grid-column: auto;
  }
}

/* Full-image landing hero, closer to the Insighter template */
.header {
  top: 0;
  width: 100%;
  max-width: none;
  height: 82px;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: #211d19;
  box-shadow: none;
}

.header.is-scrolled {
  top: 0;
  background: rgba(33, 29, 25, 0.94);
  box-shadow: 0 18px 44px rgba(10, 8, 6, 0.18);
}

.brand img {
  filter: brightness(0) invert(1);
}

.nav {
  color: rgba(255, 253, 248, 0.9);
}

.nav a::after {
  background: var(--gold);
}

.header-cta {
  border-color: rgba(255, 253, 248, 0.5);
  color: var(--ink);
  background: var(--gold);
}

.template-hero {
  position: relative;
  width: min(calc(100% - 40px), 1440px);
  min-height: calc(100svh - 102px);
  margin-top: 82px;
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #211d19;
}

.template-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.64) 0%, rgba(12, 10, 8, 0.28) 44%, rgba(12, 10, 8, 0.1) 100%),
    linear-gradient(180deg, rgba(12, 10, 8, 0.05) 30%, rgba(12, 10, 8, 0.74) 100%);
  content: "";
  pointer-events: none;
}

.template-hero .hero-copy {
  position: absolute;
  left: clamp(28px, 7vw, 200px);
  bottom: clamp(38px, 7vw, 112px);
  z-index: 3;
  width: min(760px, calc(100% - 56px));
  color: var(--white);
}

.template-hero .eyebrow {
  color: #f3df58;
}

.template-hero h1 {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(3.25rem, 5.4vw, 5.95rem);
  line-height: 1.02;
}

.template-hero .accent-word {
  color: #f3df58;
}

.template-hero .hero-lead {
  max-width: 620px;
  color: rgba(255, 253, 248, 0.82);
}

.template-hero .button.primary {
  border-color: #f3df58;
  color: var(--ink);
  background: #f3df58;
}

.template-hero .button.secondary {
  border-color: rgba(255, 253, 248, 0.62);
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
}

.template-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.template-hero-visual::before {
  inset: 18px;
  z-index: 2;
  border-color: rgba(255, 253, 248, 0.28);
}

.template-hero-visual::after {
  display: none;
}

.template-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: calc(100svh - 102px);
  object-fit: cover;
  object-position: center;
}

.hero-status-panel {
  left: auto;
  right: clamp(28px, 5vw, 86px);
  bottom: clamp(36px, 6vw, 88px);
  width: min(410px, calc(100% - 56px));
  border-color: rgba(255, 253, 248, 0.3);
  background: rgba(33, 29, 25, 0.78);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

.hero-status-panel strong {
  color: var(--white);
}

.hero-status-panel span,
.hero-status-panel small {
  color: rgba(255, 253, 248, 0.82);
}

.hero-mini-grid {
  top: auto;
  right: clamp(28px, 5vw, 86px);
  bottom: clamp(156px, 15vw, 224px);
}

.hero-mini-grid span {
  min-width: 190px;
  background: rgba(255, 253, 248, 0.16);
}

@media (max-width: 980px) {
  .header {
    grid-template-columns: 1fr auto auto;
    padding: 0 20px;
  }

  .menu-toggle {
    border-color: rgba(255, 253, 248, 0.28);
    background: rgba(255, 253, 248, 0.08);
  }

  .menu-toggle span {
    background: var(--white);
  }

  .nav {
    inset: 96px 16px auto;
    color: var(--ink);
  }

  .template-hero,
  .template-hero-visual,
  .template-hero-visual img {
    min-height: calc(100svh - 102px);
  }
}

@media (max-width: 640px) {
  .header {
    height: 74px;
  }

  .brand img {
    width: 158px;
  }

  .template-hero {
    width: calc(100% - 24px);
    min-height: calc(100svh - 90px);
    margin-top: 82px;
  }

  .template-hero,
  .template-hero-visual,
  .template-hero-visual img {
    min-height: calc(100svh - 90px);
  }

  .template-hero .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 28px;
    width: auto;
  }

  .template-hero h1 {
    font-size: clamp(2.95rem, 13vw, 4.4rem);
  }

  .template-hero .hero-lead {
    display: none;
  }

  .hero-status-panel {
    display: none;
  }

  .hero-mini-grid {
    top: 24px;
    right: 24px;
    bottom: auto;
  }

  .hero-mini-grid span {
    min-width: 128px;
  }
}

/* Full Insighter-style homepage replica with Orquivia color system */
.template-home {
  background: var(--paper);
}

.insighter-page {
  --ins-dark: var(--ink);
  --ins-muted: rgba(255, 253, 248, 0.68);
  --ins-soft: #e7eee7;
  --ins-card: rgba(255, 253, 248, 0.78);
  --ins-accent: var(--gold);
  --ins-border: rgba(23, 37, 49, 0.12);
  color: var(--ink);
}

.ins-container {
  width: min(calc(100% - 40px), 1200px);
  margin: 0 auto;
}

.ins-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ins-badge span {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 3px;
  background: var(--ins-accent);
}

.ins-badge.is-light {
  color: var(--white);
}

.ins-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.ins-section-head h2 {
  margin: 12px 0 0;
}

.ins-section-head p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.62;
}

.ins-hero {
  position: relative;
  width: min(calc(100% - 40px), 1440px);
  min-height: max(720px, calc(100vh - 102px));
  margin: 82px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}

.ins-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ins-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 37, 49, 0.7), rgba(23, 37, 49, 0.3) 48%, rgba(23, 37, 49, 0.08)),
    linear-gradient(180deg, rgba(23, 37, 49, 0.04) 24%, rgba(23, 37, 49, 0.84));
}

.ins-hero::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: var(--radius);
  content: "";
  pointer-events: none;
}

.ins-hero-content {
  position: absolute;
  left: clamp(28px, 7vw, 200px);
  bottom: clamp(42px, 7vw, 108px);
  z-index: 2;
  width: min(760px, calc(100% - 56px));
  color: var(--white);
}

.ins-hero h1 {
  margin: 18px 0 28px;
  max-width: 780px;
  color: var(--white);
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.07;
}

.ins-hero h1 span {
  font-family: "Italiana", Georgia, serif;
  color: var(--ins-accent);
}

.ins-hero .hero-lead {
  max-width: 680px;
  margin: -10px 0 28px;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
}

.ins-hero .button.primary {
  border-color: var(--ins-accent);
  color: var(--ink);
  background: var(--ins-accent);
}

.ins-hero .button.secondary {
  border-color: rgba(255, 253, 248, 0.58);
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
}

.ins-hero-side {
  position: absolute;
  right: clamp(28px, 5vw, 86px);
  bottom: clamp(36px, 6vw, 88px);
  z-index: 2;
  width: min(430px, calc(100% - 56px));
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(23, 37, 49, 0.55);
  backdrop-filter: blur(14px);
}

.ins-video-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.ins-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ins-video-card button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.9);
}

.ins-hero-side p {
  margin-bottom: 10px;
  color: rgba(255, 253, 248, 0.76);
  font-size: 1.05rem;
  line-height: 1.5;
}

.ins-hero-side .inline-link {
  margin-top: 0;
  color: var(--white);
}

.ins-welcome,
.ins-expertise,
.ins-services,
.ins-case,
.ins-industries,
.ins-process,
.ins-testimonials,
.ins-faq,
.ins-blog {
  padding: 96px 0;
}

.ins-services {
  padding: 82px 0;
}

.ins-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.38fr);
  gap: 46px;
  align-items: end;
}

.ins-welcome h2 {
  max-width: 870px;
  margin: 14px 0 0;
  font-size: clamp(1.9rem, 3.2vw, 3.45rem);
  line-height: 1.08;
}

.ins-review {
  padding: 24px;
  border: 1px solid var(--ins-border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 54px rgba(23, 37, 49, 0.08);
}

.process-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.process-signals span {
  padding: 8px 10px;
  border: 1px solid rgba(77, 138, 140, 0.22);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(223, 234, 221, 0.52);
  font-size: 0.82rem;
  font-weight: 700;
}

.ins-stars {
  width: 118px;
  margin-bottom: 12px;
}

.ins-review strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.ins-review p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.ins-logos {
  margin-top: 54px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
  align-items: center;
  border: 1px solid var(--ins-border);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.65);
}

.ins-logos img {
  max-height: 42px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(0.8);
  opacity: 0.8;
}

.ins-expertise-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) 1fr;
  gap: 52px;
  align-items: center;
}

.ins-expertise-media {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ins-expertise-media > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.ins-ribbon {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.ins-ribbon span {
  padding: 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(23, 37, 49, 0.72);
  backdrop-filter: blur(12px);
  font-weight: 500;
}

.ins-expertise-copy h2,
.ins-services-left h2,
.ins-case-copy h2,
.ins-process-copy h2,
.ins-faq h2 {
  margin: 14px 0 24px;
}

.ins-check-list {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.ins-check-list p {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.ins-check-list span {
  color: var(--teal);
  font-weight: 700;
}

.ins-about {
  padding: 102px 0;
  color: var(--white);
  background: var(--ink);
}

.ins-about .ins-section-head p {
  color: rgba(255, 253, 248, 0.72);
}

.ins-about h2 {
  color: var(--white);
}

.ins-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ins-stats article {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.06);
}

.ins-stats img {
  width: 42px;
  height: 42px;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.ins-stats strong {
  margin-top: auto;
  color: var(--ins-accent);
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
}

.ins-stats span {
  margin-top: 18px;
  color: rgba(255, 253, 248, 0.74);
}

.ins-services-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) 1fr;
  gap: 22px;
  align-items: start;
}

.ins-services-left {
  padding: 24px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--ins-border);
  border-radius: var(--radius);
  background: var(--white);
}

.ins-services-left h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1.08;
}

.ins-services-left img {
  width: 100%;
  max-height: 260px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.ins-service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.ins-service-cards article {
  min-height: 0;
  padding: 22px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0 22px;
  align-items: start;
  border: 1px solid var(--ins-border);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.75);
  box-shadow: 0 18px 50px rgba(23, 37, 49, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ins-service-cards article:hover {
  border-color: rgba(77, 138, 140, 0.26);
  background: var(--white);
  transform: translateY(-2px);
}

.ins-service-cards span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: span 3;
  margin-bottom: 0;
  border-radius: 50%;
  color: var(--teal);
  background: rgba(77, 138, 140, 0.1);
  font-weight: 700;
}

.ins-service-cards h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  line-height: 1.12;
}

.ins-service-cards p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  line-height: 1.58;
}

.ins-service-cards ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ins-service-cards li {
  padding: 10px 12px;
  border: 1px solid var(--ins-border);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.9rem;
}

.ins-case {
  background: rgba(223, 234, 221, 0.38);
}

.ins-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.ins-case-copy,
.ins-case-media {
  border: 1px solid var(--ins-border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.ins-case-copy {
  padding: 34px;
}

.ins-case-box {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.ins-case-box div {
  padding: 20px;
  border: 1px solid var(--ins-border);
  border-radius: var(--radius);
  background: rgba(250, 248, 242, 0.74);
}

.ins-case-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ins-case-box p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.ins-case-copy > strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.6vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
}

.ins-case-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.ins-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ins-industry-grid article {
  min-height: 520px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  color: var(--white);
  background: var(--ink);
}

.ins-industry-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.ins-industry-grid article::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 37, 49, 0.04), rgba(23, 37, 49, 0.78));
  content: "";
}

.ins-industry-grid h3,
.ins-industry-grid p {
  position: relative;
  z-index: 1;
}

.ins-industry-grid h3 {
  color: var(--white);
}

.ins-industry-grid p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.55;
}

.ins-process {
  background: var(--white);
}

.ins-process-grid {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 48px;
  align-items: center;
}

.ins-process-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ins-process-media > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
}

.ins-process-quote {
  padding: 22px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.ins-process-quote img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.ins-process-quote p {
  margin-bottom: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 500;
  line-height: 1.55;
}

.ins-steps {
  display: grid;
  gap: 12px;
}

.ins-steps article {
  padding: 22px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0 18px;
  border: 1px solid var(--ins-border);
  border-radius: var(--radius);
  background: rgba(250, 248, 242, 0.72);
}

.ins-steps span {
  color: var(--teal);
  font-weight: 700;
}

.ins-steps h3,
.ins-steps p {
  grid-column: 2;
}

.ins-steps p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.ins-testimonial-grid,
.ins-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ins-testimonial-grid article,
.ins-blog-grid article {
  border: 1px solid var(--ins-border);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.8);
  overflow: hidden;
}

.ins-testimonial-grid img,
.ins-blog-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ins-testimonial-grid strong,
.ins-testimonial-grid p,
.ins-testimonial-grid span,
.ins-blog-grid h3,
.ins-blog-grid p {
  display: block;
  margin-left: 22px;
  margin-right: 22px;
}

.ins-testimonial-grid strong {
  margin-top: 22px;
  color: var(--teal);
  font-size: 1.6rem;
  font-weight: 500;
}

.ins-testimonial-grid p {
  color: var(--ink);
  line-height: 1.58;
}

.ins-testimonial-grid span {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.ins-blog-grid h3 {
  margin-top: 22px;
}

.ins-blog-grid p {
  margin-bottom: 24px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.ins-faq-grid {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 56px;
}

.ins-banner {
  padding: 96px 0;
  color: var(--white);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.ins-banner::before,
.ins-banner::after {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 165, 90, 0.28), transparent 66%);
  content: "";
}

.ins-banner::before {
  top: -120px;
  left: -100px;
}

.ins-banner::after {
  right: -120px;
  bottom: -140px;
}

.ins-banner-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.64fr);
  gap: 44px;
  align-items: start;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.06);
}

.ins-banner h2 {
  margin: 16px 0;
  color: var(--white);
}

.ins-banner p {
  color: rgba(255, 253, 248, 0.72);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-direct a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
}

.contact-direct a:hover {
  border-color: rgba(201, 165, 90, 0.64);
  background: rgba(201, 165, 90, 0.14);
}

.ins-contact-form {
  display: grid;
  gap: 12px;
}

.ins-contact-form input,
.ins-contact-form textarea {
  border-color: rgba(255, 253, 248, 0.22);
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
}

.ins-contact-form input::placeholder,
.ins-contact-form textarea::placeholder {
  color: rgba(255, 253, 248, 0.56);
}

.ins-contact-form .button.primary {
  border-color: var(--ins-accent);
  color: var(--ink);
  background: var(--ins-accent);
}

.template-home .ins-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  border-top: 0;
  color: var(--white);
  background: var(--ink);
}

.ins-footer-box {
  width: min(calc(100% - 40px), 1200px);
  margin: 0 auto;
  padding: 72px 0 42px;
  display: block;
}

.ins-footer-banners {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.ins-footer-buy,
.ins-footer-media {
  min-height: 360px;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.ins-footer-media {
  display: block;
}

.ins-footer-buy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 165, 90, 0.22), transparent 38%),
    rgba(255, 253, 248, 0.06);
}

.ins-footer-buy img {
  width: 190px;
  filter: brightness(0) invert(1);
}

.ins-footer-buy h2 {
  margin: auto 0 28px;
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 3.8rem);
}

.ins-footer-buy .button.secondary {
  border-color: rgba(255, 253, 248, 0.45);
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
}

.ins-footer-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.ins-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 54px 0;
}

.ins-footer-nav div {
  display: grid;
  gap: 12px;
}

.ins-footer-nav span {
  margin-bottom: 8px;
  color: var(--ins-accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ins-footer-nav a {
  color: rgba(255, 253, 248, 0.7);
}

.ins-footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  color: rgba(255, 253, 248, 0.62);
}

.ins-footer-bottom p {
  margin: 0;
}

.ins-footer-bottom div {
  display: none;
  gap: 10px;
}

.ins-footer-bottom div span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 44%, rgba(255, 253, 248, 0.7) 44% 56%, transparent 56%),
    linear-gradient(0deg, transparent 44%, rgba(201, 165, 90, 0.8) 44% 56%, transparent 56%);
}

@media (max-width: 980px) {
  .ins-section-head,
  .ins-welcome-grid,
  .ins-expertise-grid,
  .ins-services-grid,
  .ins-case-grid,
  .ins-process-grid,
  .ins-faq-grid,
  .ins-banner-box {
    grid-template-columns: 1fr;
  }

  .ins-footer-banners,
  .ins-footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .ins-hero-side {
    display: none;
  }

  .ins-hero h1 {
    font-size: clamp(2.25rem, 5.8vw, 3.55rem);
  }

  .ins-logos,
  .ins-stats,
  .ins-industry-grid,
  .ins-testimonial-grid,
  .ins-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ins-service-cards {
    grid-template-columns: 1fr;
  }

  .ins-services-left img {
    aspect-ratio: 16 / 9;
    max-height: 220px;
  }
}

@media (max-width: 640px) {
  .ins-container,
  .ins-hero {
    width: calc(100% - 24px);
  }

  .ins-hero {
    min-height: calc(100svh - 92px);
    margin-top: 82px;
  }

  .ins-hero-content {
    left: 22px;
    right: 22px;
    bottom: 28px;
    width: auto;
  }

  .ins-hero h1 {
    font-size: clamp(2rem, 9.5vw, 2.9rem);
  }

  .ins-welcome,
  .ins-expertise,
  .ins-services,
  .ins-case,
  .ins-industries,
  .ins-process,
  .ins-testimonials,
  .ins-faq,
  .ins-blog,
  .ins-banner {
    padding: 72px 0;
  }

  .ins-services {
    padding: 58px 0;
  }

  .ins-logos,
  .ins-stats,
  .ins-service-cards,
  .ins-industry-grid,
  .ins-testimonial-grid,
  .ins-blog-grid,
  .ins-service-cards ul,
  .ins-process-media {
    grid-template-columns: 1fr;
  }

  .ins-service-cards article,
  .ins-steps article {
    grid-template-columns: 1fr;
  }

  .ins-service-cards span {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .ins-service-cards h3,
  .ins-service-cards p,
  .ins-service-cards ul,
  .ins-steps h3,
  .ins-steps p {
    grid-column: auto;
  }

  .ins-expertise-media,
  .ins-expertise-media > img,
  .ins-case-media img,
  .ins-process-media > img {
    min-height: 360px;
    height: auto;
  }

  .ins-footer-box {
    width: calc(100% - 24px);
  }

  .ins-footer-banners,
  .ins-footer-nav {
    grid-template-columns: 1fr;
  }

  .ins-footer-bottom {
    flex-direction: column;
  }
}

/* Orquivia refinement: keep the Insighter structure without its brown palette. */
.template-home {
  background:
    radial-gradient(circle at 10% 10%, rgba(223, 234, 221, 0.72), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(77, 138, 140, 0.18), transparent 36%),
    linear-gradient(145deg, var(--white) 0%, var(--mint) 52%, var(--paper) 100%);
}

.template-home .header,
.template-home .header.is-scrolled {
  background: rgba(23, 37, 49, 0.96);
  border-color: rgba(255, 253, 248, 0.12);
}

.template-home .nav a,
.template-home .menu-toggle {
  color: rgba(255, 253, 248, 0.82);
}

.template-home .nav a:hover {
  color: var(--white);
}

.template-home .header-cta,
.ins-hero .button.primary,
.ins-contact-form .button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.ins-hero {
  background: var(--ink);
}

.ins-hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 37, 49, 0.76), rgba(23, 37, 49, 0.38) 48%, rgba(23, 37, 49, 0.12)),
    linear-gradient(180deg, rgba(23, 37, 49, 0.08) 18%, rgba(23, 37, 49, 0.84));
}

.ins-hero-side {
  background: rgba(23, 37, 49, 0.72);
  border-color: rgba(255, 253, 248, 0.18);
}

.ins-badge span {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 165, 90, 0.14);
}

.ins-welcome,
.ins-services,
.ins-industries,
.ins-faq,
.ins-blog {
  background:
    radial-gradient(circle at 8% 0%, rgba(223, 234, 221, 0.6), transparent 28%),
    var(--paper);
}

.ins-expertise,
.ins-case,
.ins-testimonials {
  background: var(--white);
}

.ins-about,
.ins-banner,
.template-home .ins-footer {
  background:
    radial-gradient(circle at 14% 4%, rgba(77, 138, 140, 0.32), transparent 32%),
    linear-gradient(135deg, var(--ink), #244246);
}

.ins-review,
.ins-service-cards article,
.ins-case-box,
.ins-industry-grid article,
.ins-testimonial-grid article,
.ins-blog-grid article,
.faq-list details {
  border-color: rgba(23, 37, 49, 0.1);
  box-shadow: 0 18px 50px rgba(23, 37, 49, 0.08);
}

.ins-process-quote img {
  background: var(--white);
  padding: 7px;
  object-fit: contain;
}

.ins-stars {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.ins-logos img {
  background: rgba(255, 253, 248, 0.8);
  object-fit: contain;
  padding: 14px;
}

.ins-stats article {
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.16);
}

.ins-stats img {
  filter: sepia(1) saturate(0.8) hue-rotate(130deg) brightness(1.35);
}

.ins-footer-buy {
  background:
    radial-gradient(circle at 18% 0%, rgba(77, 138, 140, 0.26), transparent 38%),
    rgba(255, 253, 248, 0.06);
}

.ins-footer-bottom div span {
  background:
    linear-gradient(90deg, transparent 44%, rgba(255, 253, 248, 0.72) 44% 56%, transparent 56%),
    linear-gradient(0deg, transparent 44%, rgba(77, 138, 140, 0.92) 44% 56%, transparent 56%);
}

/* Broader operations positioning: full-bleed hero with content aligned to the page grid. */
.template-home .ins-hero {
  width: 100%;
  max-width: none;
  min-height: max(640px, calc(100svh - 82px));
  margin: 82px 0 0;
  border-radius: 0;
}

.template-home .ins-hero::after {
  inset: 24px;
  border-color: rgba(255, 253, 248, 0.2);
}

.template-home .ins-hero-bg {
  object-position: center center;
}

.template-home .ins-hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 37, 49, 0.82), rgba(23, 37, 49, 0.5) 50%, rgba(23, 37, 49, 0.18)),
    linear-gradient(180deg, rgba(23, 37, 49, 0.12) 16%, rgba(23, 37, 49, 0.86));
}

.template-home .ins-hero-content {
  left: max(20px, calc((100vw - 1200px) / 2));
  bottom: clamp(42px, 6vw, 82px);
  width: min(660px, calc(100% - 56px));
}

.template-home .ins-hero h1 {
  max-width: 880px;
}

.template-home .ins-hero-side {
  right: max(20px, calc((100vw - 1200px) / 2));
  background: rgba(23, 37, 49, 0.78);
}

.template-home .ins-expertise-media > img,
.template-home .ins-services-left img,
.template-home .ins-case-media img,
.template-home .ins-industry-grid img,
.template-home .ins-process-media > img,
.template-home .ins-testimonial-grid img,
.template-home .ins-blog-grid img,
.template-home .ins-footer-media img {
  filter: saturate(0.86) contrast(0.96);
}

@media (max-width: 640px) {
  .template-home .ins-hero {
    width: 100%;
    min-height: calc(100svh - 74px);
    margin-top: 74px;
  }

  .template-home .ins-hero::after {
    inset: 12px;
  }

  .template-home .ins-hero-content {
    left: 20px;
    right: 20px;
    bottom: 28px;
  }

  .template-home .ins-hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .template-home .ins-hero .hero-lead {
    font-size: 0.98rem;
    line-height: 1.5;
  }
}

@media (max-width: 1280px) {
  .template-home .ins-hero-side {
    display: none;
  }

  .template-home .ins-hero-content {
    width: min(760px, calc(100% - 56px));
  }
}

/* Comment polish: remove decorative frame, clarify stat marks, merge case cards. */
.template-home .ins-hero::after {
  display: none;
}

.template-home .ins-stats article {
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 165, 90, 0.12), transparent 28%),
    rgba(255, 253, 248, 0.1);
}

.template-home .ins-stats img {
  display: none;
}

.template-home .ins-case-copy,
.template-home .ins-case-media {
  background: transparent;
}

.template-home .ins-case-copy {
  background:
    radial-gradient(circle at 0% 0%, rgba(223, 234, 221, 0.5), transparent 32%),
    rgba(255, 253, 248, 0.56);
}

.template-home .ins-case-box {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 37, 49, 0.12);
  border-radius: var(--radius);
  background: rgba(223, 234, 221, 0.42);
  box-shadow: none;
}

.template-home .ins-case-box div {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.template-home .ins-case-box div + div {
  border-top: 1px solid rgba(23, 37, 49, 0.1);
}

/* Inner pages aligned with the refreshed Orquivia direction. */
.template-inner {
  background:
    radial-gradient(circle at 10% 10%, rgba(223, 234, 221, 0.78), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(77, 138, 140, 0.16), transparent 36%),
    linear-gradient(145deg, var(--white) 0%, var(--mint) 54%, var(--paper) 100%);
}

.template-inner .header,
.template-inner .header.is-scrolled {
  top: 0;
  width: 100%;
  max-width: none;
  height: 82px;
  border-radius: 0;
  border-color: rgba(255, 253, 248, 0.12);
  background: rgba(23, 37, 49, 0.96);
  box-shadow: 0 18px 44px rgba(23, 37, 49, 0.14);
}

.template-inner .nav a,
.template-inner .menu-toggle {
  color: rgba(255, 253, 248, 0.82);
}

.template-inner .nav a:hover {
  color: var(--white);
}

.template-inner .header-cta,
.template-inner .button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.template-inner .page-hero,
.template-inner .legal-hero {
  width: min(calc(100% - 40px), 1200px);
}

.template-inner .page-hero {
  min-height: auto;
  padding: 152px 0 86px;
  gap: 18px;
  align-items: stretch;
}

.template-inner .page-hero h1,
.template-inner .legal-hero h1 {
  font-size: clamp(2.05rem, 3.6vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: 0;
}

.template-inner .page-hero .hero-lead,
.template-inner .legal-hero p:last-child {
  color: var(--ink-soft);
}

.page-hero-image {
  position: relative;
  min-height: 560px;
  padding: 0;
  isolation: isolate;
}

.page-hero-image img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-image::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(23, 37, 49, 0.12), rgba(23, 37, 49, 0.72)),
    linear-gradient(90deg, rgba(23, 37, 49, 0.1), rgba(23, 37, 49, 0.42));
}

.page-hero-image > span,
.page-hero-image strong,
.page-hero-image .hero-tags {
  margin-inline: 30px;
}

.page-hero-image > span {
  margin-top: auto;
}

.page-hero-image .hero-tags {
  margin-bottom: 30px;
}

.template-inner .about-identity,
.template-inner .about-story,
.template-inner .principles,
.template-inner .legal-layout {
  width: min(calc(100% - 40px), 1200px);
}

.template-inner .about-identity,
.template-inner .about-story,
.template-inner .principles {
  background: transparent;
}

.template-inner .signal-grid article,
.template-inner .principle-card,
.template-inner .legal-summary,
.template-inner .legal-content {
  border-color: rgba(23, 37, 49, 0.1);
  box-shadow: 0 18px 50px rgba(23, 37, 49, 0.08);
}

.template-inner .about-band {
  width: min(calc(100% - 40px), 1200px);
  color: var(--white);
  background:
    radial-gradient(circle at 16% 0%, rgba(77, 138, 140, 0.3), transparent 36%),
    linear-gradient(135deg, var(--ink), #244246);
}

.template-inner .about-band blockquote,
.template-inner .about-band .eyebrow {
  color: var(--white);
}

.about-page .about-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
  gap: 34px;
  align-items: center;
}

.about-page .page-hero-copy {
  padding: 34px 0;
}

.about-page .hero-lead {
  max-width: 720px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.about-hero-points {
  max-width: 780px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-hero-points span {
  padding: 10px 12px;
  border: 1px solid rgba(77, 138, 140, 0.22);
  border-radius: var(--radius);
  color: var(--teal);
  background: rgba(255, 253, 248, 0.68);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-page .about-hero-media {
  min-height: 520px;
}

.about-page .about-origin {
  padding-bottom: 76px;
}

.about-page .identity-label {
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.55);
}

.about-page .identity-label span {
  font-family: "Italiana", Georgia, serif;
  color: var(--teal);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 400;
}

.about-page .identity-copy {
  padding: 36px;
  background:
    radial-gradient(circle at 8% 0%, rgba(201, 165, 90, 0.12), transparent 34%),
    rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(18px);
}

.about-page .identity-copy p:first-child {
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
}

.about-foundation {
  width: min(calc(100% - 40px), 1200px);
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: 22px;
  align-items: stretch;
}

.foundation-copy {
  padding: 42px;
  border: 1px solid rgba(23, 37, 49, 0.1);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(77, 138, 140, 0.34), transparent 38%),
    linear-gradient(135deg, var(--ink), #244246);
  box-shadow: 0 22px 60px rgba(23, 37, 49, 0.12);
}

.foundation-copy .eyebrow,
.foundation-copy h2,
.foundation-copy p {
  color: var(--white);
}

.foundation-copy h2 {
  max-width: 680px;
}

.foundation-copy p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.76);
  line-height: 1.66;
}

.foundation-grid {
  display: grid;
  gap: 12px;
}

.foundation-grid article {
  min-height: 0;
  padding: 24px;
  border: 1px solid rgba(23, 37, 49, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 48px rgba(23, 37, 49, 0.07);
}

.foundation-grid span,
.principle-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--teal);
  background: rgba(77, 138, 140, 0.11);
  font-weight: 700;
}

.foundation-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.18rem;
}

.foundation-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.about-page .principles {
  width: min(calc(100% - 40px), 1200px);
  margin: 0 auto;
  padding: 0 0 96px;
}

.about-page .principle-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-page .principle-card {
  min-height: 0;
  padding: 28px;
  border-color: rgba(23, 37, 49, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(255, 253, 248, 0.66)),
    var(--white);
}

.about-page .principle-card::before {
  height: 100%;
  width: 5px;
}

.about-page .principle-card span {
  margin-bottom: 24px;
}

.about-page .principle-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.18rem, 1.55vw, 1.5rem);
}

.about-page .principle-card p {
  max-width: 520px;
  color: var(--ink-soft);
  line-height: 1.62;
}

.about-page .about-band {
  margin-top: 0;
}

.template-inner .legal-hero {
  padding: 152px 0 56px;
}

.template-inner .legal-summary {
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 165, 90, 0.16), transparent 42%),
    rgba(255, 253, 248, 0.72);
}

.template-inner .legal-content {
  background: rgba(255, 253, 248, 0.72);
  backdrop-filter: blur(18px);
}

.template-inner .footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 42px max(24px, calc((100vw - 1200px) / 2)) 46px;
  color: rgba(255, 253, 248, 0.7);
  background: var(--ink);
}

.template-inner .footer img {
  filter: brightness(0) invert(1);
}

.template-inner .footer a {
  color: rgba(255, 253, 248, 0.74);
}

.template-inner .footer a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .template-inner .page-hero {
    grid-template-columns: 1fr;
  }

  .page-hero-image {
    min-height: 420px;
  }

  .about-foundation,
  .about-page .about-hero {
    grid-template-columns: 1fr;
  }

  .about-page .principle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .template-inner .header {
    height: 74px;
  }

  .template-inner .page-hero,
  .template-inner .legal-hero {
    width: calc(100% - 24px);
    padding-top: 118px;
  }

  .template-inner .about-identity,
  .template-inner .about-story,
  .template-inner .principles,
  .about-foundation,
  .template-inner .legal-layout,
  .template-inner .about-band {
    width: calc(100% - 24px);
  }

  .about-page .page-hero-copy,
  .about-page .identity-copy,
  .foundation-copy,
  .foundation-grid article,
  .about-page .principle-card {
    padding: 24px;
  }

  .about-page .about-hero-media {
    min-height: 380px;
  }
}

/* Shared responsive navigation and footer: match the homepage across every page. */
.template-inner .ins-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  border-top: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 4%, rgba(77, 138, 140, 0.32), transparent 32%),
    linear-gradient(135deg, var(--ink), #244246);
}

.template-inner .ins-footer img {
  filter: none;
}

.template-inner .ins-footer-buy img {
  filter: brightness(0) invert(1);
}

.template-inner .ins-footer a {
  color: rgba(255, 253, 248, 0.7);
}

.template-inner .ins-footer .button.secondary {
  color: var(--white);
}

@media (max-width: 980px) {
  body.menu-open::before {
    position: fixed;
    inset: 0;
    z-index: 21;
    content: "";
    background: rgba(23, 37, 49, 0.42);
    backdrop-filter: blur(8px);
  }

  .header,
  .template-home .header,
  .template-inner .header {
    z-index: 24;
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle,
  .template-home .menu-toggle,
  .template-inner .menu-toggle {
    position: relative;
    z-index: 25;
    width: 58px;
    height: 58px;
    padding: 0;
    display: inline-grid;
    grid-template-columns: repeat(3, 5px);
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 253, 248, 0.28);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.08);
    cursor: pointer;
    transition:
      border-color 0.2s ease,
      background 0.2s ease,
      transform 0.2s ease;
  }

  .menu-toggle span,
  .template-home .menu-toggle span,
  .template-inner .menu-toggle span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.95;
    transform: none;
    transition:
      width 0.2s ease,
      border-radius 0.2s ease,
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  body.menu-open .menu-toggle {
    grid-template-columns: 1fr;
    background: var(--gold);
    border-color: var(--gold);
  }

  body.menu-open .menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav,
  .template-home .nav,
  .template-inner .nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 23;
    width: min(84vw, 340px);
    min-height: 100svh;
    padding: 112px 26px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 0;
    border-right: 1px solid rgba(255, 253, 248, 0.14);
    border-radius: 0;
    color: var(--white);
    background:
      radial-gradient(circle at 12% 6%, rgba(77, 138, 140, 0.28), transparent 36%),
      linear-gradient(160deg, var(--ink), #203a3f);
    box-shadow: 24px 0 70px rgba(7, 18, 27, 0.28);
    transform: translateX(-104%);
    opacity: 1;
    pointer-events: none;
    transition: transform 0.34s ease;
  }

  body.menu-open .nav,
  body.menu-open.template-home .nav,
  body.menu-open.template-inner .nav {
    display: flex;
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav::before,
  .template-home .nav::before,
  .template-inner .nav::before {
    display: block;
    margin-bottom: 26px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    content: "Navegación";
  }

  .nav a,
  .template-home .nav a,
  .template-inner .nav a {
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 253, 248, 0.12);
    color: rgba(255, 253, 248, 0.9);
    font-size: 1.12rem;
  }

  .nav a::before {
    width: 8px;
    height: 8px;
    margin-right: 12px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gold);
    content: "";
  }

  .nav a::after,
  .template-home .nav a::after,
  .template-inner .nav a::after {
    position: static;
    width: auto;
    height: auto;
    margin-left: auto;
    background: transparent;
    color: rgba(255, 253, 248, 0.42);
    content: "↗";
    transform: none;
  }
}

@media (max-width: 640px) {
  .menu-toggle,
  .template-home .menu-toggle,
  .template-inner .menu-toggle {
    width: 52px;
    height: 52px;
  }

  .nav,
  .template-home .nav,
  .template-inner .nav {
    width: min(86vw, 320px);
    padding-top: 100px;
  }
}
