:root {
  --xs-red: #b00000;
  --xs-red-dark: #850000;
  --xs-gold: #d6a22a;
  --xs-gold-soft: #f4df9a;
  --xs-ink: #171717;
  --xs-muted: #686868;
  --xs-line: #ead8a9;
  --xs-paper: #ffffff;
  --xs-warm: #fffaf0;
  --xs-max: 1320px;
  --xs-serif: Georgia, "Times New Roman", serif;
  --xs-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--xs-paper);
  color: var(--xs-ink);
  font-family: var(--xs-sans);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--xs-red);
  text-decoration: none;
}

a:hover {
  color: var(--xs-red-dark);
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(214, 162, 42, 0.18);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.site-header__inner,
.site-footer__inner {
  width: min(var(--xs-max), calc(100% - 64px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand img,
.custom-logo {
  width: 220px;
  max-height: 70px;
  object-fit: contain;
}

.nav-list,
.footer-links {
  display: flex;
  align-items: center;
  gap: 44px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.footer-links a {
  color: var(--xs-ink);
  font-size: 15px;
  letter-spacing: 0;
}

.nav-list a:hover,
.nav-list .current-menu-item > a {
  color: var(--xs-red);
}

.menu-toggle {
  display: none;
}

.site-main {
  min-height: 70vh;
}

.hero {
  width: min(var(--xs-max), calc(100% - 64px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) 1.14fr;
  align-items: center;
  gap: 44px;
  padding: 72px 0;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--xs-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  margin-right: 14px;
  vertical-align: middle;
  background: var(--xs-gold);
}

h1,
h2,
h3 {
  color: var(--xs-ink);
  font-family: var(--xs-serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(52px, 5vw, 86px);
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
}

h3 {
  font-size: clamp(22px, 2vw, 32px);
}

.hero p:not(.eyebrow),
.page-hero p,
.article-summary {
  color: var(--xs-muted);
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(18px, 1.55vw, 23px);
}

.hero h1 {
  color: var(--xs-ink);
}

.hero h1 span {
  display: block;
  color: var(--xs-red);
}

.fabric-art {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.96), rgba(255,255,255,0.08) 36%, transparent 56%),
    radial-gradient(circle at 72% 45%, rgba(214,162,42,0.23), transparent 28%),
    linear-gradient(130deg, rgba(255,255,255,0.95), rgba(255,250,240,0.7) 36%, rgba(244,223,154,0.28) 70%, rgba(176,0,0,0.08)),
    repeating-linear-gradient(18deg, rgba(115,84,24,0.08) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(108deg, rgba(115,84,24,0.055) 0 1px, transparent 1px 10px);
}

.fabric-art::before,
.fabric-art::after {
  content: "";
  position: absolute;
  inset: auto -8% 8% 8%;
  height: 44%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 -26px 80px rgba(214, 162, 42, 0.16);
  transform: rotate(-5deg);
}

.fabric-art::after {
  inset: 18% 4% auto -10%;
  height: 32%;
  background: rgba(255, 250, 240, 0.62);
  transform: rotate(9deg);
}

.fabric-art--hero {
  min-height: 620px;
}

.fabric-art--wide {
  width: 100%;
  min-height: 280px;
  margin-top: 80px;
}

.fabric-art--inline {
  min-height: 360px;
}

.fabric-art--article {
  min-height: 380px;
  margin: 42px 0;
}

.b-motion-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 58%, rgba(214, 162, 42, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.motion-field {
  width: 124%;
  max-width: 1160px;
  margin-left: -16%;
  overflow: visible;
  filter: drop-shadow(0 34px 30px rgba(70, 45, 10, 0.1));
}

.thread-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1120;
  stroke-dashoffset: 1120;
  animation: drawThread 7.5s cubic-bezier(0.2, 0.68, 0.25, 1) infinite;
}

.thread-flow--red {
  stroke: url(#red-gradient);
  stroke-width: 5.6;
}

.thread-flow--gold {
  stroke: url(#gold-gradient);
  stroke-width: 4.2;
}

.thread-flow--ghost {
  stroke: rgba(208, 179, 110, 0.4);
  stroke-width: 2.6;
  animation-duration: 9s;
}

.thread-flow:nth-of-type(2) {
  animation-delay: 0.22s;
}

.thread-flow:nth-of-type(3) {
  animation-delay: 0.44s;
}

.thread-flow:nth-of-type(4) {
  animation-delay: 0.66s;
}

.thread-flow:nth-of-type(5) {
  animation-delay: 0.88s;
}

.thread-flow:nth-of-type(6) {
  animation-delay: 1.1s;
}

.thread-flow:nth-of-type(7) {
  animation-delay: 1.32s;
}

.fabric-mesh {
  opacity: 0;
  clip-path: url(#fabric-clip);
  animation: fabricReveal 7.5s cubic-bezier(0.24, 0.76, 0.22, 1) infinite;
  transform-origin: 74% 52%;
}

.mesh-thread {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.mesh-thread--warp {
  stroke: rgba(216, 196, 154, 0.9);
}

.mesh-thread--weft {
  stroke: rgba(255, 251, 241, 0.96);
  stroke-width: 2.4;
}

.mesh-thread--accent-red {
  stroke: rgba(165, 0, 5, 0.34);
  stroke-width: 1.4;
}

.mesh-thread--accent-gold {
  stroke: rgba(201, 155, 44, 0.42);
  stroke-width: 1.3;
}

.fabric-base {
  fill: rgba(248, 242, 230, 0.72);
  clip-path: url(#fabric-clip);
}

.fabric-sheen {
  fill: url(#fabric-sheen);
  opacity: 0.68;
  clip-path: url(#fabric-clip);
  animation: weaveReveal 7.5s ease-in-out infinite;
}

.weave-reveal {
  transform-origin: 68% 52%;
  animation: weaveReveal 7.5s ease-in-out infinite;
}

.soft-shadow {
  fill: rgba(89, 63, 20, 0.08);
  filter: blur(22px);
}

.breathe {
  animation: fabricFloat 7.5s ease-in-out infinite;
  transform-origin: 75% 54%;
}

@keyframes drawThread {
  0% {
    stroke-dashoffset: 1120;
    opacity: 0;
  }

  14% {
    opacity: 1;
  }

  52% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  82% {
    stroke-dashoffset: -210;
    opacity: 0.62;
  }

  100% {
    stroke-dashoffset: -380;
    opacity: 0;
  }
}

@keyframes fabricReveal {
  0%,
  24% {
    opacity: 0;
    transform: translateX(42px) scaleX(0.72);
  }

  52% {
    opacity: 1;
    transform: translateX(0) scaleX(1);
  }

  76% {
    opacity: 1;
    transform: translateX(0) scaleX(1);
  }

  100% {
    opacity: 0;
    transform: translateX(-16px) scaleX(1.01);
  }
}

@keyframes weaveReveal {
  0%,
  30% {
    opacity: 0;
  }

  55%,
  78% {
    opacity: 0.76;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fabricFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0.2deg);
  }

  50% {
    transform: translate3d(0, -10px, 0) rotate(-0.35deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .thread-flow,
  .fabric-mesh,
  .fabric-sheen,
  .weave-reveal,
  .breathe {
    animation: none;
  }

  .thread-flow {
    stroke-dashoffset: 0;
    opacity: 0.85;
  }

  .fabric-mesh,
  .fabric-sheen {
    opacity: 0.72;
  }
}

.quiet-links {
  width: min(var(--xs-max), calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(214, 162, 42, 0.24);
  padding: 54px 0 78px;
}

.quiet-links a {
  justify-self: center;
  color: var(--xs-red);
  font-size: 18px;
}

.quiet-links a::after,
.arrow-link::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 18px;
  background: var(--xs-gold);
}

.section-narrow,
.page-hero,
.capability-list,
.insights-index,
.info-columns,
.contact-only,
.content-page,
.article-detail,
.related-minimal {
  width: min(var(--xs-max), calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.home-insights {
  padding: 88px 0 110px;
  border-top: 1px solid rgba(214, 162, 42, 0.2);
}

.post-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px;
}

.post-strip__item {
  border-top: 1px solid var(--xs-line);
  padding-top: 24px;
}

.post-strip__item p {
  color: var(--xs-muted);
  margin-bottom: 0;
}

.post-meta {
  color: var(--xs-gold);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.page-hero {
  padding: 112px 0 72px;
}

.page-hero--about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.capability-list {
  padding: 24px 0 0;
}

.capability-row {
  display: grid;
  grid-template-columns: 64px minmax(210px, 0.36fr) 1fr 40px;
  align-items: center;
  gap: 24px;
  min-height: 116px;
  border-top: 1px solid var(--xs-line);
  color: var(--xs-ink);
}

.capability-row:last-child {
  border-bottom: 1px solid var(--xs-line);
}

.capability-row__number {
  color: var(--xs-gold);
  font-family: var(--xs-serif);
  font-size: 24px;
}

.capability-row strong {
  font-family: var(--xs-serif);
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 500;
}

.capability-row span:not(.capability-row__number) {
  color: var(--xs-muted);
}

.capability-row em {
  color: var(--xs-red);
  font-style: normal;
  font-size: 26px;
}

.filters {
  display: flex;
  gap: 38px;
  margin-bottom: 34px;
}

.filters a {
  color: var(--xs-ink);
}

.filters .is-active {
  color: var(--xs-red);
}

.search-form {
  margin: -68px 0 34px auto;
  max-width: 320px;
}

.search-field {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--xs-line);
  padding: 12px 2px;
  color: var(--xs-ink);
  font: inherit;
  background: transparent;
}

.article-list {
  border-top: 1px solid var(--xs-line);
}

.article-row {
  display: grid;
  grid-template-columns: 1fr 180px 40px;
  gap: 28px;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--xs-line);
}

.article-row h2 {
  font-size: clamp(23px, 2vw, 34px);
}

.article-row > span {
  color: var(--xs-muted);
  font-size: 14px;
}

.arrow-link {
  justify-self: end;
  color: var(--xs-red);
  font-size: 24px;
}

.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  padding: 84px 0;
}

.facts {
  margin: 34px 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--xs-line);
}

.facts dt {
  color: var(--xs-ink);
  font-weight: 600;
}

.facts dd {
  color: var(--xs-muted);
  margin: 0;
}

.contact-only {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 48px 0 120px;
  border-top: 1px solid var(--xs-line);
}

.contact-only a,
.contact-only p {
  color: var(--xs-ink);
  margin: 0;
  padding: 0 30px;
  min-height: 120px;
  border-left: 1px solid var(--xs-line);
}

.contact-only a:first-child,
.contact-only p:first-child {
  border-left: 0;
}

.contact-only span {
  display: block;
  margin-bottom: 16px;
  color: var(--xs-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.content-page,
.article-detail {
  max-width: 840px;
  padding: 104px 0;
}

.entry-content {
  margin-top: 44px;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 48px;
  margin-bottom: 18px;
}

.entry-content p,
.entry-content li {
  color: var(--xs-muted);
}

.entry-content blockquote {
  margin: 42px 0;
  padding-left: 24px;
  border-left: 3px solid var(--xs-gold);
  color: var(--xs-ink);
}

.article-detail h1 {
  font-size: clamp(48px, 5vw, 82px);
}

.article-featured {
  margin: 42px 0;
}

.article-featured img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.related-minimal {
  max-width: 960px;
  padding-bottom: 110px;
}

.site-footer {
  border-top: 1px solid rgba(214, 162, 42, 0.28);
  padding: 38px 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.footer-brand .brand img,
.footer-brand .custom-logo {
  width: 150px;
}

.footer-contact {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  color: var(--xs-muted);
  font-size: 13px;
}

.footer-contact a {
  color: var(--xs-red);
}

.copyright {
  grid-column: 1 / -1;
  color: var(--xs-muted);
  margin: 8px 0 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header__inner,
  .site-footer__inner,
  .hero,
  .quiet-links,
  .section-narrow,
  .page-hero,
  .capability-list,
  .insights-index,
  .info-columns,
  .contact-only,
  .content-page,
  .article-detail,
  .related-minimal {
    width: min(100% - 32px, var(--xs-max));
  }

  .site-header__inner {
    min-height: 72px;
  }

  .brand img,
  .custom-logo {
    width: 170px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: 0;
  }

  .menu-toggle span:not(.screen-reader-text) {
    width: 22px;
    height: 1px;
    background: var(--xs-ink);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 24px 16px 32px;
    background: #fff;
    border-bottom: 1px solid var(--xs-line);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 72px);
  }

  .fabric-art,
  .fabric-art--hero,
  .fabric-art--inline,
  .fabric-art--article {
    min-height: 300px;
  }

  .b-motion-stage {
    min-height: 360px;
  }

  .motion-field {
    width: 140%;
    margin-left: -28%;
  }

  .quiet-links,
  .post-strip,
  .contact-only {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quiet-links a {
    justify-self: start;
  }

  .capability-row {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .capability-row span:not(.capability-row__number),
  .capability-row em {
    grid-column: 2;
  }

  .search-form {
    margin: 0 0 34px;
    max-width: none;
  }

  .article-row {
    grid-template-columns: 1fr 34px;
    padding: 24px 0;
  }

  .article-row > span {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-only a,
  .contact-only p {
    border-left: 0;
    border-top: 1px solid var(--xs-line);
    padding: 26px 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-contact,
  .footer-links {
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
  }
}
