/* Areas of Support page 317 — page-scoped implementation of the Signature reference. */
body.tib-page-areas {
  --tib-areas-bg: #FAF7F2;
  --tib-areas-dark: #2E2B26;
  --tib-areas-olive: #4B5540;
  --tib-areas-sage: #6F7B5E;
  --tib-areas-terracotta: #C17F5A;
  --tib-areas-ink: #2E2B26;
  --tib-areas-serif: "IBM Plex Serif", Georgia, serif;
  --tib-areas-sans: "Schibsted Grotesk", system-ui, sans-serif;
  --tib-areas-container: min(1180px, calc(100vw - 48px));
  background: var(--tib-areas-bg);
}

body.tib-page-areas .content,
body.tib-page-areas .content_inner,
body.tib-page-areas .full_width,
body.tib-page-areas .full_width_inner { background: transparent; }
body.tib-page-areas .content { margin-top: 0 !important; }
body.tib-page-areas .full_width_inner { padding: 0 !important; }
body.tib-page-areas .tib-areas * { box-sizing: border-box; }

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

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

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

body.tib-page-areas .tib-areas p {
  margin: 0;
  font-family: inherit !important;
  font-weight: 400 !important;
}

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

body.tib-page-areas .tib-areas .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-areas .tib-areas .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-areas .tib-areas .page-hero h1 {
  max-width: 9em;
  font-size: clamp(55px,7vw,96px);
  line-height: 1.04;
  letter-spacing: -.05em;
}
body.tib-page-areas .tib-areas .page-hero .lead {
  max-width: 38em;
  margin-top: 24px;
  color: #49453F !important;
  font-size: clamp(18px,1.7vw,21px) !important;
  line-height: 1.65 !important;
}

body.tib-page-areas .tib-areas .content-section {
  padding: 95px 0;
}
body.tib-page-areas .tib-areas .content-section.alt {
  background: linear-gradient(145deg,#f1eadf,#eae1d3);
}
body.tib-page-areas .tib-areas .areas-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
body.tib-page-areas .tib-areas .area-card {
  position: relative;
  display: flex;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(75,85,64,.13);
  border-radius: 28px;
  background: rgba(255,253,249,.7);
  box-shadow: 0 20px 45px rgba(70,59,47,.04);
  backdrop-filter: blur(10px);
  transition: transform .35s, border-color .35s, box-shadow .35s, background .35s;
}
body.tib-page-areas .tib-areas .area-card:hover {
  transform: translateY(-3px);
  border-color: rgba(193,127,90,.24);
  box-shadow: 0 28px 65px rgba(70,59,47,.09);
}
body.tib-page-areas .tib-areas .area-card:nth-child(3n+2) { background: #F6F0E6; }
body.tib-page-areas .tib-areas .area-card:nth-child(3n) { background: #EEF0E8; }
body.tib-page-areas .tib-areas .icon-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  border-radius: 50%;
  place-items: center;
  background: rgba(111,123,94,.10);
  color: var(--tib-areas-sage);
  transition: transform .4s;
}
body.tib-page-areas .tib-areas .area-card:hover .icon-wrap { transform: translateY(-3px) rotate(8deg); }
body.tib-page-areas .tib-areas .icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.tib-page-areas .tib-areas .area-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 11px;
  font-size: 24px;
  line-height: 1.04;
}
body.tib-page-areas .tib-areas .area-card p {
  position: relative;
  z-index: 1;
  color: #645E55 !important;
  font-size: 14.5px !important;
  line-height: 1.72 !important;
}

body.tib-page-areas .tib-areas .cta {
  position: relative;
  display: grid;
  min-height: 70svh;
  padding: 128px 0;
  overflow: hidden;
  place-items: center;
  background: linear-gradient(135deg,#25221f 0%,#2e2b27 46%,#33382e 100%);
  color: #F7F3EC;
}
body.tib-page-areas .tib-areas .cta::before {
  position: absolute;
  top: -32%;
  right: -13%;
  width: min(52vw,760px);
  aspect-ratio: 1;
  border-radius: 57% 43% 61% 39% / 44% 56% 44% 56%;
  background: linear-gradient(145deg,rgba(75,85,64,.82),rgba(111,123,94,.24));
  content: "";
  animation: tib-areas-cta-morph 14s ease-in-out infinite;
}
body.tib-page-areas .tib-areas .cta::after {
  position: absolute;
  bottom: -46%;
  left: -12%;
  width: min(43vw,620px);
  aspect-ratio: 1;
  border: 1px solid rgba(193,127,90,.14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 50px rgba(193,127,90,.025), inset 0 0 0 110px rgba(227,217,200,.02);
  content: "";
}
body.tib-page-areas .tib-areas .cta-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
body.tib-page-areas .tib-areas .cta h2 {
  color: #F7F3EC;
  font-size: clamp(48px,6vw,86px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
body.tib-page-areas .tib-areas .cta p {
  max-width: 590px;
  margin: 22px auto 34px;
  color: #D4CEC3 !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}
body.tib-page-areas .tib-areas .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--tib-areas-terracotta);
  box-shadow: 0 12px 28px rgba(193,127,90,.18);
  color: #fff;
  font-family: var(--tib-areas-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.72;
  text-decoration: none;
  text-transform: none;
  transition: transform .2s,background .2s;
}
body.tib-page-areas .tib-areas .btn::after {
  position: absolute;
  inset: -100% auto -100% -35%;
  width: 28%;
  transform: rotate(18deg);
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);
  content: "";
  transition: left .65s ease;
}
body.tib-page-areas .tib-areas .btn:hover { transform: translateY(-1px); background: #A76544; color: #fff; }
body.tib-page-areas .tib-areas .btn:hover::after { left: 115%; }

body.tib-page-areas .tib-areas-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s ease, transform .95s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s, background .35s;
}
body.tib-page-areas .tib-areas-reveal.is-visible { opacity: 1; transform: none; }
@keyframes tib-areas-cta-morph {
  50% { border-radius: 42% 58% 61% 39% / 58% 42% 58% 42%; transform: rotate(-8deg) scale(1.06); }
}

@media (max-width: 980px) {
  body.tib-page-areas { --tib-areas-container: min(760px, calc(100vw - 36px)); }
  body.tib-page-areas .tib-areas .areas-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  body.tib-page-areas { --tib-areas-container: min(620px, calc(100vw - 28px)); }
  body.tib-page-areas .tib-areas { font-size: 15.5px; }
  body.tib-page-areas .tib-areas .content-section { padding: 72px 0; }
  body.tib-page-areas .tib-areas .areas-grid { grid-template-columns: 1fr; gap: 12px; }
  body.tib-page-areas .tib-areas .cta { min-height: auto; padding: 105px 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.tib-page-areas .tib-areas .cta::before { animation: none !important; }
  body.tib-page-areas .tib-areas-reveal { opacity: 1; transform: none; transition: none; }
}
