:root {
  --ipg-bg: #f5f1e8;
  --ipg-surface: rgba(255, 251, 244, 0.86);
  --ipg-surface-strong: #fffdf8;
  --ipg-ink: #14110d;
  --ipg-muted: #5d554b;
  --ipg-muted-soft: #8a8177;
  --ipg-line: rgba(20, 17, 13, 0.11);
  --ipg-line-strong: rgba(199, 154, 74, 0.22);
  --ipg-brand: #c79a4a;
  --ipg-brand-soft: #f2dfba;
  --ipg-brand-deep: #916723;
  --ipg-dark: #111111;
  --ipg-dark-soft: #1a1611;
  --ipg-shadow: 0 24px 70px rgba(19, 15, 10, 0.12);
  --ipg-radius: 28px;
  --ipg-star-offset-x: 0vw;
  --ipg-star-offset-y: 0vh;
  --ipg-star-scale: 1;
}

body.site-shell {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(199, 154, 74, 0.12), transparent 24rem),
    linear-gradient(180deg, #f9f5ee 0%, #f3eee5 100%);
  color: var(--ipg-ink);
}

body.site-shell::before,
body.site-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body.site-shell::before {
  inset: -70%;
  background:
    radial-gradient(54% 42% at 10% 12%, rgba(255, 198, 98, 0.66), transparent 70%),
    radial-gradient(46% 34% at 90% 18%, rgba(145, 103, 35, 0.52), transparent 72%),
    radial-gradient(56% 42% at 52% 88%, rgba(255, 255, 255, 0.56), transparent 76%),
    conic-gradient(from 190deg at 50% 50%, rgba(199, 154, 74, 0.2), rgba(255, 255, 255, 0.28), rgba(145, 103, 35, 0.22), rgba(199, 154, 74, 0.2));
  filter: blur(0);
  opacity: 1;
  will-change: transform, opacity;
  transform: translate3d(var(--ipg-star-offset-x), var(--ipg-star-offset-y), 0) scale(var(--ipg-star-scale));
  transition: transform 4.56s ease-in-out;
  animation: ipg-bg-breathe 4.5s ease-in-out infinite;
}

body.site-shell::after {
  --ipg-grid-cell: 84px;
  --ipg-grid-line: 2px;
  inset: -5%;
  background-image:
    repeating-linear-gradient(0deg, rgba(20, 17, 13, 0.07) 0 var(--ipg-grid-line), transparent var(--ipg-grid-line) var(--ipg-grid-cell)),
    repeating-linear-gradient(90deg, rgba(20, 17, 13, 0.055) 0 var(--ipg-grid-line), transparent var(--ipg-grid-line) var(--ipg-grid-cell)),
    linear-gradient(130deg, rgba(199, 154, 74, 0.26), transparent 42%, rgba(145, 103, 35, 0.2));
  background-size:
    auto,
    auto,
    180% 180%;
  background-position:
    0 0,
    0 0,
    50% 50%;
  opacity: 0.75;
  will-change: background-position, opacity;
  animation:
    ipg-grid-drift 7s linear infinite,
    ipg-grid-pulse 3s ease-in-out infinite alternate;
}

body.site-shell > main,
body.site-shell > footer {
  position: relative;
  z-index: 1;
}

@keyframes ipg-bg-drift {
  from {
    transform: translate3d(-9%, -6%, 0) scale(1);
  }

  to {
    transform: translate3d(9%, 6%, 0) scale(1.1);
  }
}

@keyframes ipg-bg-breathe {
  0%,
  100% {
    opacity: 0.68;
  }

  50% {
    opacity: 1;
  }
}

@keyframes ipg-grid-drift {
  from {
    background-position:
      0 0,
      0 0,
      50% 50%;
  }

  to {
    background-position:
      0 var(--ipg-grid-cell),
      var(--ipg-grid-cell) 0,
      50% 50%;
  }
}

@keyframes ipg-grid-pulse {
  from {
    opacity: 0.55;
  }

  to {
    opacity: 0.82;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-shell::before,
  body.site-shell::after {
    animation: none;
  }

  body.site-shell::before {
    transition: none;
    transform: none;
  }
}

.site-shell > main > header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-shell > main > header nav {
  padding: 1.1rem max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid rgba(242, 223, 186, 0.14);
  backdrop-filter: blur(18px);
  transition: padding 0.22s ease;
}

.site-shell > main > header nav .site-logo {
  height: 3.85rem;
  width: auto;
  transition: height 0.22s ease;
}

.site-shell > main > header nav .brand-row {
  width: 100%;
  gap: 1rem;
  justify-content: space-between;
  margin-right: 0;
}

.site-shell > main > header nav .brand-row .lang-switch {
  margin-left: 1rem;
}

.site-shell > main > header.is-compact nav {
  padding: 0.7rem max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
}

.site-shell > main > header.is-compact nav .site-logo {
  height: 2.45rem;
}

.site-shell > main > header.is-compact nav a {
  font-size: 0.665rem;
}

.site-shell > main > header.is-compact nav .lang-switch .lang-link,
.site-shell > main > header.is-compact nav .lang-switch .lang-separator {
  font-size: 0.665rem;
}

.site-shell > main > header nav a,
.site-shell > main > header nav .text-grey-900,
.site-shell > main > header nav .text-black {
  color: #f7f1e8;
}

.site-shell > main > header nav a {
  letter-spacing: 0.04em;
  font-size: 1.045rem;
  transition: color 0.18s ease, font-size 0.22s ease;
}

.site-shell > main > header nav a:hover {
  color: #fff;
  opacity: 1;
}

.site-shell > main > header nav .lang-switch {
  display: inline-flex;
  align-items: center;
}

.site-shell > main > header nav .lang-switch .lang-link {
  letter-spacing: 0.1em;
  transition: color 0.18s ease;
}

.site-shell > main > header nav .lang-switch .lang-link.is-active,
.site-shell > main > header nav .lang-switch .lang-link.is-active:hover {
  color: var(--ipg-brand);
  opacity: 1;
}

.site-shell > main > header nav .lang-switch .lang-link.is-inactive {
  color: rgba(247, 241, 232, 0.58);
  opacity: 1;
}

.site-shell > main > header nav .lang-switch .lang-link.is-inactive:hover {
  color: rgba(247, 241, 232, 0.82);
  opacity: 1;
}

.site-shell > main > header nav .lang-switch .lang-separator {
  margin: 0 0.45rem;
  color: rgba(247, 241, 232, 0.5);
}

.section-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-block {
  padding: 2rem 0 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem 2rem;
  align-items: end;
  margin-bottom: 1.75rem;
}

.section-intro-dark {
  color: #f5efe7;
}

.section-kicker,
.home-kicker,
.panel-eyebrow,
.footer-kicker {
  margin: 0;
  color: var(--ipg-brand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-title,
.home-title,
.panel-title {
  margin: 0.35rem 0 0;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-title {
  font-size: calc(clamp(1.75rem, 2vw + 1rem, 2.85rem) - 0.5rem);
}

.section-copy,
.home-lead,
.panel-card p,
.info-card p,
.process-step p,
.audience-card p,
.principle-card p,
.footer-text {
  font-family: "Open Sans", sans-serif;
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--ipg-muted);
}

.section-intro-dark .section-copy,
.section-intro-dark .section-title {
  color: #f5efe7;
}

.section-intro-dark .section-copy {
  color: rgba(245, 239, 231, 0.78);
}

.home-hero {
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 1.5rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.home-title {
  font-size: calc(clamp(2rem, 3vw + 1rem, 3.75rem) - 0.75rem);
}

.home-lead {
  margin-top: 1.5rem;
  max-width: 60ch;
  font-size: 1.12rem;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--ipg-brand-soft), var(--ipg-brand));
  color: #20160c;
  box-shadow: 0 18px 38px rgba(145, 103, 35, 0.22);
}

.button-secondary {
  border: 1px solid rgba(20, 17, 13, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ipg-ink);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-secondary:hover {
  border-color: rgba(20, 17, 13, 0.26);
  background: rgba(255, 255, 255, 0.92);
}

.home-trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.trust-chip {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ipg-line);
  box-shadow: 0 14px 30px rgba(19, 15, 10, 0.05);
}

.trust-chip strong,
.panel-card strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ipg-ink);
}

.trust-chip span {
  display: block;
  margin-top: 0.4rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ipg-muted);
}

.home-panel {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 241, 228, 0.86)),
    linear-gradient(135deg, rgba(199, 154, 74, 0.2), transparent 45%);
  border: 1px solid var(--ipg-line-strong);
  box-shadow: var(--ipg-shadow);
}

.home-panel::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(199, 154, 74, 0.28), transparent 68%);
  pointer-events: none;
}

.home-panel-media,
.page-feature-media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(211, 202, 188, 0.6), rgba(238, 232, 222, 0.9));
  box-shadow: 0 18px 42px rgba(19, 15, 10, 0.12);
  isolation: isolate;
}

.home-panel-media {
  margin-bottom: 1.4rem;
  aspect-ratio: 4 / 3;
}

.page-feature-media {
  margin: 0 0 2rem;
  aspect-ratio: 2 / 1;
}

.home-panel-media::after,
.page-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.18)),
    linear-gradient(135deg, rgba(199, 154, 74, 0.14), transparent 58%);
  pointer-events: none;
}

.home-panel-media img,
.page-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02) brightness(0.96);
}

.panel-title {
  font-size: calc(clamp(1.4rem, 1vw + 1rem, 1.95rem) - 0.35rem);
}

.panel-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.panel-card,
.info-card,
.audience-card,
.principle-card {
  position: relative;
  padding: 1.3rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--ipg-line);
}

.card-grid,
.audience-grid,
.principles-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 1.5rem;
  box-shadow: 0 18px 42px rgba(19, 15, 10, 0.06);
}

.card-index,
.step-no {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ipg-brand-deep);
  text-transform: uppercase;
}

.info-card h3,
.audience-card h3,
.principle-card h3,
.process-step h3 {
  margin: 0.85rem 0 0;
  font-size: clamp(1.05rem, 0.35vw + 0.95rem, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.info-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.info-card li {
  position: relative;
  padding-left: 1rem;
  margin-top: 0.65rem;
  font-family: "Open Sans", sans-serif;
  color: var(--ipg-muted);
}

.info-card li::before,
.page-inner .content li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--ipg-brand);
}

.section-block-dark {
  margin-top: 3rem;
  padding: 2rem 2rem 2.35rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(199, 154, 74, 0.22), transparent 20rem),
    linear-gradient(135deg, #12100d, #1a1510);
  box-shadow: 0 28px 80px rgba(10, 9, 8, 0.22);
}

.process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  padding: 1.4rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 223, 186, 0.12);
}

.process-step .step-no {
  color: var(--ipg-brand-soft);
}

.process-step h3 {
  color: #f7f1e8;
}

.process-step p {
  color: rgba(247, 241, 232, 0.78);
}

.audience-card,
.principle-card {
  min-height: 100%;
}

.principles-band {
  padding: 2rem;
  border-radius: 34px;
  border: 1px solid var(--ipg-line-strong);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(250, 245, 235, 0.85));
  box-shadow: var(--ipg-shadow);
}

.principles-grid {
  margin-top: 1.6rem;
}

.home-cta-wrap {
  padding: 2.5rem 0 0;
}

.home-cta {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(242, 223, 186, 0.5));
  border: 1px solid var(--ipg-line-strong);
  box-shadow: var(--ipg-shadow);
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.page-inner article {
  border: 1px solid rgba(20, 17, 13, 0.08);
  border-radius: 32px;
  box-shadow: var(--ipg-shadow);
  background: rgba(255, 253, 248, 0.94);
}

.page-inner article > header h1,
.page-inner .title,
.page-inner .content h1,
.page-inner .content h2,
.page-inner .content h3,
.page-inner .content h4 {
  text-wrap: balance;
}

.page-inner article > header h1,
.page-inner .title,
.page-inner .content h1,
.page-inner .content h2 {
  letter-spacing: -0.025em;
}

.page-inner article > header h1,
.page-inner .title,
.page-inner .content h1 {
  line-height: 1.05;
  font-size: calc(clamp(1.95rem, 2.4vw + 1rem, 3.2rem) - 0.75rem);
  color: var(--ipg-ink);
}

.page-inner .content h2 {
  margin-top: 2.35rem;
  margin-bottom: 1rem;
  font-size: calc(clamp(1.45rem, 1.3vw + 1rem, 2rem) - 0.35rem);
  line-height: 1.2;
  color: var(--ipg-ink);
}

.page-inner .content h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  font-size: calc(clamp(1.15rem, 0.5vw + 1rem, 1.4rem) - 0.15rem);
  line-height: 1.25;
  color: var(--ipg-ink);
}

.page-inner .content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ipg-ink);
}

.page-inner .content p,
.page-inner .content li {
  color: var(--ipg-muted);
}

.page-inner .content ul {
  list-style: none;
  padding: 0;
}

.page-inner .content li {
  position: relative;
  padding-left: 1rem;
}

.page-inner .content a {
  color: var(--ipg-brand-deep);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.page-inner .content strong {
  color: var(--ipg-ink);
}

footer {
  margin-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
  background: #11100d;
  color: #f7f1e8;
}

.footer-text {
  margin: 0.55rem 0 0;
  color: rgba(247, 241, 232, 0.72);
}

.footer-text-address {
  color: rgba(247, 241, 232, 0.56);
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-contact a,
.footer-links a {
  color: rgba(247, 241, 232, 0.86);
  transition: color 0.18s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #fff;
}

.copy {
  padding: 1rem max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem)) 1.4rem;
  background: #11100d;
  border-top: 1px solid rgba(242, 223, 186, 0.12);
  color: rgba(247, 241, 232, 0.56);
  font-size: 0.92rem;
}

.scroll-top {
  background: linear-gradient(135deg, #0f0e0c, #1d1812);
  box-shadow: 0 16px 32px rgba(12, 10, 8, 0.24);
  --ipg-scroll-lift: 0px;
  transform: translateY(calc(-1 * var(--ipg-scroll-lift)));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 1100px) {
  .home-trust-list,
  .card-grid,
  .audience-grid,
  .principles-grid,
  .process-grid,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-grid,
  .section-intro,
  .home-cta {
    grid-template-columns: 1fr;
  }

  .cta-links {
    justify-content: flex-start;
  }

}

@media (max-width: 720px) {
  .site-shell > main > header nav {
    padding: 1.1rem;
  }

  .site-shell > main > header.is-compact nav {
    padding: 0.7rem;
  }

  .site-shell > main > header nav #mobileMenu {
    align-items: flex-start;
  }

  .site-shell > main > header nav #mobileMenu > div:last-child {
    width: 100%;
  }

  .site-shell > main > header nav .brand-row {
    width: 100%;
    justify-content: space-between;
    margin-right: 0;
  }

  .site-shell > main > header nav .brand-row .lang-switch {
    margin-left: 1rem;
  }

  .section-shell {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .home-trust-list,
  .card-grid,
  .audience-grid,
  .principles-grid,
  .process-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section-block-dark,
  .principles-band,
  .home-cta,
  .home-panel {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .home-title {
    max-width: none;
  }

  .section-copy,
  .home-lead,
  .panel-card p,
  .info-card p,
  .process-step p,
  .audience-card p,
  .principle-card p,
  .footer-text {
    font-size: 1rem;
  }

  .scroll-top {
    right: 1rem;
    bottom: 1rem;
  }
}
