/* ==========================================================================
   POLICY PAGES — /cookies and /privacy
   (design: assets/html/teamian-cookies.html and teamian-privacy (2).html)

   One stylesheet for both: the two mocks ship byte-identical CSS, so shipping
   it twice would be 400 duplicated lines and a second cache entry for the same
   bytes. Both pages load this file and share the .tpol namespace.

   1. :root, html and body collapse onto .tpol — on :root the mock's tokens
      would redefine site-wide values and its body rules would restyle the
      shared header and footer.
   2. The `*` reset and html{scroll-behavior} are gone; Tailwind preflight and
      style.css already own both.
   3. overflow-x:hidden became clip on the wrapper (see the note inline).
   4. The hero clears the 76px fixed nav.
   5. No keyframe collisions with the site — charRise/fadeIn/scrollLine are
      unique to these pages, so they are left as-is.
   ========================================================================== */

/* ---------- Reset & base ---------- */
  
  .tpol{ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  .tpol{
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    color: #0a0a0a;
    background: #ffffff;
    line-height: 1.6;
    /* clip, not hidden: on a wrapper div, overflow-x:hidden forces overflow-y
       to compute to `auto`, making a scroll container that breaks
       position:sticky for every descendant. */
    overflow-x: clip;
  }
  .tpol ::selection{ background: #000; color: #fff; }
  .tpol a{ color: inherit; text-decoration: none; }
  .tpol ul{ list-style: none; }

  .tpol{
    --black: #000000;
    --near-black: #0a0a0a;
    --ink: #111111;
    --graphite: #1f1f1f;
    --smoke: #4b4b4b;
    --mid: #737373;
    --hair: #d4d4d4;
    --whisper: #ededed;
    --mist: #f5f5f5;
    --paper: #fafafa;
    --white: #ffffff;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --edge: clamp(20px, 5vw, 88px);
  }

  @media (prefers-reduced-motion: reduce) {
    .tpol *,.tpol *::before,.tpol *::after{ animation-duration: 0.001s !important; transition-duration: 0.001s !important; animation-iteration-count: 1 !important; }
  }

  /* ---------- Hero ---------- */
  .tpol .hero{
    position: relative;
    background: var(--black);
    color: var(--white);
    /* minus the fixed nav, so the panel fills what you can actually see
       rather than pushing its own content under the header. */
    min-height: calc(100vh - 76px);
    padding-top: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--edge);
    overflow: hidden;
  }

  .tpol .hero__title{
    font-family: var(--sans);
    font-weight: 900;
    font-style: normal;
    font-size: clamp(56px, 14vw, 232px);
    line-height: 0.92;
    letter-spacing: -0.045em;
    text-align: center;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: clamp(14px, 2.2vw, 40px);
  }

  .tpol .hero__word{
    display: inline-flex;
    overflow: hidden;
    padding-bottom: 0.08em; /* prevents descender clipping in reveal */
  }
  .tpol .hero__word .char{
    display: inline-block;
    transform: translateY(105%);
    animation: charRise 1.1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  }
  /* Filled + outlined contrast to carry rhythm without color */
  .tpol .hero__word--filled .char{ color: var(--white); }
  .tpol .hero__word--outlined .char{
    color: transparent;
    -webkit-text-stroke: 1.5px var(--white);
    text-stroke: 1.5px var(--white);
  }
  @media (min-width: 800px) {
    .tpol .hero__word--outlined .char{ -webkit-text-stroke: 2px var(--white); }
  }
  @media (min-width: 1400px) {
    .tpol .hero__word--outlined .char{ -webkit-text-stroke: 2.5px var(--white); }
  }

  @keyframes charRise {
    to { transform: translateY(0); }
  }

  .tpol .hero__subtitle{
    margin-top: clamp(28px, 4vw, 44px);
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    opacity: 0;
    animation: fadeIn 1.2s ease 1.4s forwards;
  }
  .tpol .hero__subtitle .divider{
    display: inline-block;
    margin: 0 0.75em;
    color: rgba(255,255,255,0.35);
  }

  .tpol .hero__scroll{
    position: absolute;
    bottom: clamp(24px, 4vw, 48px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    opacity: 0;
    animation: fadeIn 1.2s ease 1.8s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .tpol .hero__scroll::after{
    content: "";
    display: block;
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2.4s ease-in-out infinite;
  }

  @keyframes fadeIn { to { opacity: 1; } }
  @keyframes scrollLine {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
  }

  /* Ambient noise on hero for depth */
  .tpol .hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: 0.5;
    pointer-events: none;
    mix-blend-mode: overlay;
  }

  /* ---------- Section indicator (floating) ---------- */
  .tpol .indicator{
    position: fixed;
    right: clamp(16px, 2.5vw, 32px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }
  .tpol .indicator.visible{ opacity: 1; pointer-events: auto; }
  .tpol .indicator__dot{
    width: 22px;
    height: 1px;
    background: var(--hair);
    transition: all 0.35s ease;
    cursor: pointer;
    pointer-events: auto;
  }
  .tpol .indicator__dot.active{ width: 32px; background: var(--black); height: 2px; }
  .tpol .indicator__dot:hover{ background: var(--smoke); }
  @media (max-width: 900px) { .tpol .indicator{ display: none; } }

  /* ---------- Preamble section ---------- */
  .tpol .preamble{
    padding: clamp(80px, 12vw, 160px) var(--edge) clamp(64px, 10vw, 120px);
    max-width: 980px;
    margin: 0 auto;
  }

  .tpol .preamble__eyebrow{
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mid);
    font-weight: 500;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .tpol .preamble__eyebrow::before{
    content: "";
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--black);
  }

  .tpol .preamble__lede{
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 40px;
  }
  .tpol .preamble__lede em{
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.03em;
  }

  .tpol .preamble__body p{
    font-size: 17px;
    line-height: 1.7;
    color: var(--smoke);
    margin-bottom: 20px;
    max-width: 68ch;
  }

  .tpol .callout{
    margin-top: 48px;
    padding: 32px 36px;
    background: var(--paper);
    border-left: 2px solid var(--black);
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }
  .tpol .callout__label{
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--black);
    padding: 6px 10px;
    background: var(--black);
    color: var(--white);
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 4px;
  }
  .tpol .callout__text{
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
  }
  @media (max-width: 620px) {
    .tpol .callout{ flex-direction: column; gap: 16px; padding: 24px; }
  }

  /* ---------- Sections ---------- */
  .tpol .sections{
    max-width: 980px;
    margin: 0 auto;
    padding: 0 var(--edge) clamp(80px, 10vw, 140px);
  }

  .tpol .section{
    padding: clamp(56px, 7vw, 88px) 0;
    border-top: 1px solid var(--whisper);
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: clamp(32px, 5vw, 72px);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1), transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .tpol .section.in-view{ opacity: 1; transform: translateY(0); }
  @media (max-width: 780px) {
    .tpol .section{ grid-template-columns:minmax(0,1fr); gap: 20px; }
  }

  .tpol .section__number{
    font-family: var(--sans);
    font-weight: 200;
    font-size: clamp(60px, 7.5vw, 100px);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--ink);
    display: block;
    position: sticky;
    top: 40px;
    align-self: start;
  }
  @media (max-width: 780px) {
    .tpol .section__number{ position: static; font-size: 56px; }
  }

  .tpol .section__body h2{
    font-family: var(--sans);
    font-weight: 600;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--near-black);
    margin-bottom: 24px;
  }

  .tpol .section__body p{
    font-size: 16px;
    line-height: 1.72;
    color: var(--smoke);
    margin-bottom: 16px;
  }
  .tpol .section__body p strong{
    color: var(--ink);
    font-weight: 600;
  }

  .tpol .section__body h3{
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--whisper);
  }

  /* Bullet lists — hairline divider style */
  .tpol .list-hair{
    margin: 16px 0 24px;
    padding: 0;
  }
  .tpol .list-hair li{
    padding: 12px 0;
    border-bottom: 1px solid var(--whisper);
    font-size: 15px;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 14px;
  }
  .tpol .list-hair li::before{
    content: "";
    flex-shrink: 0;
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--black);
    border-radius: 50%;
    transform: translateY(-3px);
  }
  .tpol .list-hair li:first-child{ border-top: 1px solid var(--whisper); }

  /* Two-column list for dense enumerations */
  .tpol .list-cols{
    columns: 2;
    column-gap: 40px;
    margin: 16px 0 24px;
  }
  .tpol .list-cols li{
    break-inside: avoid;
    padding: 10px 0;
    border-bottom: 1px solid var(--whisper);
    font-size: 14.5px;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .tpol .list-cols li::before{
    content: "";
    flex-shrink: 0;
    display: inline-block;
    width: 3px;
    height: 3px;
    background: var(--black);
    border-radius: 50%;
    transform: translateY(-3px);
  }
  @media (max-width: 620px) { .tpol .list-cols{ columns: 1; } }

  .tpol .subhead{
    font-family: var(--sans);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-top: 32px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .tpol .subhead::before{
    content: "";
    display: inline-block;
    width: 18px;
    height: 1px;
    background: var(--black);
  }

  /* ---------- Contact block ---------- */
  /* removed */

