/* How I Work page 316 — exact, page-scoped implementation of the Signature reference. */
body.tib-page-how {
  --tib-how-bg: #FAF7F2;
  --tib-how-sand: #E3D9C8;
  --tib-how-dark: #2E2B26;
  --tib-how-olive: #4B5540;
  --tib-how-sage: #6F7B5E;
  --tib-how-terracotta: #C17F5A;
  --tib-how-ink: #2E2B26;
  --tib-how-line: rgba(75,85,64,.16);
  --tib-how-serif: "IBM Plex Serif", Georgia, serif;
  --tib-how-sans: "Schibsted Grotesk", system-ui, sans-serif;
  --tib-how-container: min(1180px, calc(100vw - 48px));
  background: var(--tib-how-bg);
}

body.tib-page-how .content,
body.tib-page-how .content_inner,
body.tib-page-how .full_width,
body.tib-page-how .full_width_inner {
  background: transparent;
}

body.tib-page-how .content { margin-top: 0 !important; }
body.tib-page-how .full_width_inner { padding: 0 !important; }
body.tib-page-how .tib-how * { box-sizing: border-box; }

body.tib-page-how .tib-how {
  overflow: hidden;
  background: var(--tib-how-bg);
  color: var(--tib-how-ink);
  font-family: var(--tib-how-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body.tib-page-how .tib-how .container {
  width: var(--tib-how-container) !important;
  margin-inline: auto !important;
  background: transparent;
}

body.tib-page-how .tib-how .eyebrow {
  color: var(--tib-how-terracotta);
  font-family: var(--tib-how-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.72;
  text-transform: uppercase;
}

body.tib-page-how .tib-how h1,
body.tib-page-how .tib-how h2 {
  margin: 0;
  color: var(--tib-how-ink);
  font-family: var(--tib-how-serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
  text-transform: none;
}

body.tib-page-how .tib-how p {
  margin: 0;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: inherit !important;
}

body.tib-page-how .tib-how .lead {
  color: #49453F !important;
  font-size: clamp(18px,1.7vw,21px) !important;
  line-height: 1.65 !important;
}

body.tib-page-how .tib-how .page-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 92px;
  background:
    radial-gradient(700px 480px at 85% 20%, rgba(227,217,200,.62), transparent 72%),
    linear-gradient(145deg,#faf7f2,#f2ebe1);
}

body.tib-page-how .tib-how .page-hero::after {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(75,85,64,.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 35px rgba(111,123,94,.035), inset 0 0 0 80px rgba(193,127,90,.025);
  content: "";
}

body.tib-page-how .tib-how .page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr);
  gap: 70px;
  align-items: center;
}

body.tib-page-how .tib-how .page-hero h1 {
  max-width: 12em;
  font-size: clamp(55px,7vw,96px);
  letter-spacing: -.05em;
}

body.tib-page-how .tib-how .page-hero .lead {
  max-width: 38em;
  margin-top: 24px;
}

body.tib-page-how .tib-how .organic-square {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 57% 43% 61% 39% / 44% 56% 44% 56%;
  background: conic-gradient(from 190deg,#d7cebd,#e9dfd0,#cbd1c1,#e7ded1);
  box-shadow: 0 38px 80px rgba(64,53,44,.14);
}

body.tib-page-how .tib-how .organic-square::after {
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(75,85,64,.28);
  border-radius: 50%;
  content: "";
  animation: tib-how-field-turn 24s linear infinite;
}

@keyframes tib-how-field-turn { to { transform: rotate(360deg); } }

body.tib-page-how .tib-how .content-section {
  padding: 95px 0;
  background: linear-gradient(180deg,#faf7f2,#f6f0e7);
}

body.tib-page-how .tib-how .editorial-row {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 78px;
  padding: 54px 0;
  border-top: 1px solid var(--tib-how-line);
}

body.tib-page-how .tib-how .editorial-row:first-child {
  padding-top: 0;
  border-top: 0;
}

body.tib-page-how .tib-how .editorial-row h2 {
  font-size: clamp(30px,3.4vw,44px);
}

body.tib-page-how .tib-how .prose {
  display: grid;
  max-width: 690px;
  gap: 19px;
  color: #504B44;
}

body.tib-page-how .tib-how .mini-list {
  display: grid;
  margin-top: 8px;
  border-block: 1px solid var(--tib-how-line);
}

body.tib-page-how .tib-how .mini-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--tib-how-line);
}

body.tib-page-how .tib-how .mini-list div:first-child { border-top: 0; }

body.tib-page-how .tib-how .mini-list svg {
  width: 20px;
  min-width: 20px;
  height: 26px;
  color: var(--tib-how-sage);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

@media (max-width: 980px) {
  body.tib-page-how .tib-how { --tib-how-container: min(100% - 36px,760px); }
  body.tib-page-how .tib-how .page-hero-grid,
  body.tib-page-how .tib-how .editorial-row { grid-template-columns: 1fr; }
  body.tib-page-how .tib-how .editorial-row { gap: 28px; }
}

@media (max-width: 680px) {
  body.tib-page-how .tib-how {
    --tib-how-container: min(100% - 28px,620px);
    font-size: 15.5px;
  }
  body.tib-page-how .tib-how .organic-square {
    width: 100%;
    max-width: 420px;
    margin: auto;
  }
  body.tib-page-how .tib-how .content-section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.tib-page-how .tib-how .organic-square::after { animation: none !important; }
}
