/* ==========================================================================
   TripodLink website — layout and components (uses tokens from theme.css)
   ========================================================================== */

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--tl-border);
}
.site-header { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); transition: box-shadow .2s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(26, 50, 99, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; transition: height .2s var(--ease); }
.site-header.is-scrolled .header-inner { height: calc(var(--header-h) - 12px); }
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; transition: height .2s var(--ease); }
.site-header.is-scrolled .brand img { height: 46px; }

.primary-nav { display: flex; align-items: center; gap: .35rem; }
.primary-nav a:not(.btn) {
    position: relative; padding: .55rem .9rem; border-radius: 999px;
    font-weight: 600; font-size: var(--fs-sm); color: var(--tl-navy); text-decoration: none;
    transition: color .2s, background-color .2s;
}
.primary-nav a:not(.btn):hover { background: var(--tl-slate-tint); color: var(--tl-navy); }
.primary-nav a.active { color: var(--tl-orange-dark); }
.primary-nav a.active::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem;
    height: 2px; border-radius: 2px; background: var(--tl-orange);
}
.nav-cta { margin-left: .75rem; }

.nav-toggle {
    display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
    background: none; border: 0; padding: 0; margin-right: -.5rem;
    color: var(--tl-navy); cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline-flex; }
.nav-toggle-open, .nav-toggle-close { line-height: 0; }

@media (max-width: 900px) {
    /* backdrop-filter would make the header the containing block of the fixed menu, so use a solid header on small screens */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
        flex-direction: column; align-items: stretch; gap: .25rem;
        padding: 1.25rem calc(var(--gutter) + env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) calc(var(--gutter) + env(safe-area-inset-left));
        background: #fff; overflow-y: auto; overscroll-behavior: contain;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    }
    .site-header.is-scrolled .primary-nav { inset: calc(var(--header-h) - 12px) 0 0 0; }
    .nav-open, .nav-open body { overflow: hidden; }
    .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
    .primary-nav a:not(.btn) { padding: 1rem; border-radius: var(--radius-sm); font-size: 1.125rem; min-height: 48px; display: flex; align-items: center; }
    .primary-nav a.active { background: var(--tl-peach-tint); }
    .primary-nav a.active::after { display: none; }
    .nav-cta { margin: .5rem 0 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--tl-slate-tint); }
.section-navy {
    background:
        radial-gradient(circle at 85% 0%, rgba(255, 102, 0, .18), transparent 40%),
        linear-gradient(160deg, var(--tl-navy) 0%, var(--tl-navy-deep) 100%);
    color: rgba(255, 255, 255, .86);
}

.section-header { max-width: 720px; margin-bottom: 2.5rem; }
.section-header.is-center { margin-inline: auto; text-align: center; }
.section-header .lead { font-size: var(--fs-lg); color: var(--tl-muted); }
.section-header .lead p:last-child { margin-bottom: 0; }
.section-header.is-light h2 { color: #fff; }
.section-header.is-light .lead { color: rgba(255, 255, 255, .8); }
.section-header.is-light .eyebrow { color: var(--tl-peach); }

.rounded-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Home hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(88vh, 760px); display: flex; align-items: center;
    color: #fff;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(95deg, rgba(18, 36, 74, .96) 0%, rgba(26, 50, 99, .88) 42%, rgba(26, 50, 99, .35) 75%, rgba(26, 50, 99, .15) 100%);
}
/* Brand accents (as on the TripodLink banner): orange bar under the header, faint logo-mark watermark behind the text,
   low-poly facets with an orange triangle on the right. All decorative and absolutely positioned (no layout shift). */
.hero { border-top: 5px solid var(--tl-orange); border-image: linear-gradient(90deg, #FF6600, #E97F4A) 1; }
.hero::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: 0; top: 50%; height: 125%; aspect-ratio: 1792 / 1775;
    transform: translate(-38%, -44%);
    background-color: rgba(255, 255, 255, .065);
    -webkit-mask: url(../images/brand/icon.svg) center / contain no-repeat;
    mask: url(../images/brand/icon.svg) center / contain no-repeat;
}
.hero-facets {
    position: absolute; z-index: -1; pointer-events: none; top: 0; right: 0;
    height: 100%; width: auto; max-width: none;
    animation: hero-facets-in .6s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes hero-facets-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) {
    .hero::after { height: 100%; transform: translate(-40%, -40%); }
    .hero-facets { height: 80%; top: 0; }
}
@media (max-width: 599px) {
    .hero::after { top: auto; bottom: -12%; height: 70%; transform: translateX(-35%); background-color: rgba(255, 255, 255, .05); }
    .hero-facets { height: 40%; top: -17%; opacity: .9; }
}
@media (prefers-reduced-motion: reduce) { .hero-facets { animation: none; } }
.hero-inner { padding-block: 5rem; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .eyebrow { color: var(--tl-peach); }
.hero-lead { max-width: 560px; font-size: var(--fs-lg); color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-actions.is-center { justify-content: center; }
.hero-tagline { margin: 2.5rem 0 0; font-style: italic; color: var(--tl-peach); font-size: var(--fs-lg); }

/* ---------- Pillars ---------- */
.pillars { position: relative; z-index: 2; margin-top: -3.5rem; }
.pillars-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
    padding-inline: 0;
}
.pillar { display: flex; gap: .85rem; align-items: flex-start; padding: 1.6rem 1.4rem; border-right: 1px solid var(--tl-border); }
.pillar:last-child { border-right: 0; }
.pillar h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.pillar p { font-size: var(--fs-xs); color: var(--tl-muted); margin: 0; line-height: 1.5; }
.pillar-icon {
    flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    background: var(--tl-peach-tint); color: var(--tl-orange);
}
@media (max-width: 1100px) {
    .pillars-grid { grid-template-columns: repeat(3, 1fr); }
    .pillar { border-bottom: 1px solid var(--tl-border); }
}
@media (max-width: 700px) {
    .pillars { margin-top: -2rem; }
    .pillars-grid { grid-template-columns: 1fr; margin-inline: var(--gutter); width: auto; }
    .pillar { border-right: 0; padding: 1.1rem 1.25rem; }
}

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { position: relative; aspect-ratio: 5 / 4; }
.media-stat {
    position: absolute; left: -1.25rem; bottom: -1.25rem;
    display: grid; gap: .1rem; padding: 1.1rem 1.4rem; border-radius: var(--radius);
    background: var(--tl-orange-strong); color: #fff; box-shadow: var(--shadow);
}
.media-stat strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.media-stat span { font-size: var(--fs-xs); max-width: 16ch; line-height: 1.35; order: -1; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split-reverse .split-media { order: 0; }
    .media-stat { left: 1rem; bottom: -1rem; }
}

.check-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list .icon { flex: none; color: var(--tl-orange); margin-top: .2rem; }

/* ---------- Product cards ---------- */
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.product-grid > * { flex: 1 1 calc((100% - 3rem) / 3); max-width: calc((100% - 3rem) / 3); }
@media (max-width: 1000px) { .product-grid > * { flex-basis: calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); } }
@media (max-width: 640px) { .product-grid > * { flex-basis: 100%; max-width: 100%; } }

.product-card {
    container-type: inline-size;
    display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
    border: 1px solid var(--tl-border); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card-inner { display: flex; flex-direction: column; flex: 1; }
.product-card-top { position: relative; }
/* Wide cards (e.g. a single column on tablets) switch to image-left layout */
@container (min-width: 560px) {
    .product-card-inner { flex-direction: row; }
    .product-card-top { flex: 0 0 42%; }
    .product-card-media { height: 100%; aspect-ratio: auto; }
    .product-card-badge { bottom: auto; top: 1rem; }
    .product-card-body { padding: 1.5rem 1.6rem; }
}
.product-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-badge {
    position: absolute; left: 1rem; bottom: -1.25rem; display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 12px; background: var(--tl-orange); color: #fff;
    box-shadow: 0 6px 16px rgba(255, 102, 0, .35); border: 3px solid #fff;
}
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 2rem 1.35rem 1.4rem; }
.product-card-category { font-size: var(--fs-xs); font-weight: 700; color: var(--tl-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem; }
.product-card h3 { margin-bottom: .5rem; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card-body > p:not(.product-card-category) {
    font-size: var(--fs-sm); color: var(--tl-muted);
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .link-arrow { margin-top: auto; }


/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 1.25rem; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .feature-grid.cols-3, .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid.cols-3, .feature-grid.cols-4 { grid-template-columns: 1fr; } }

.feature-card {
    padding: 1.6rem; border-radius: var(--radius); background: #fff;
    border: 1px solid var(--tl-border); box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tl-peach); }
.feature-card h3 { margin: 1rem 0 .4rem; }
.feature-card p { margin: 0; font-size: var(--fs-sm); color: var(--tl-muted); }
.feature-icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--tl-navy), var(--tl-indigo)); color: #fff;
}
.feature-card.is-plain { box-shadow: none; background: var(--tl-slate-tint); border-color: transparent; }
.feature-card.is-plain .feature-icon { background: #fff; color: var(--tl-orange); box-shadow: var(--shadow-sm); }
.feature-card.is-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.feature-card.is-dark:hover { border-color: rgba(255, 102, 0, .6); background: rgba(255, 255, 255, .09); }
.feature-card.is-dark h3 { color: #fff; }
.feature-card.is-dark p { color: rgba(255, 255, 255, .75); }
.feature-card.is-dark .feature-icon { background: var(--tl-orange); }
.feature-card.is-module { background: #fff; border-top: 4px solid var(--tl-orange); }
.feature-card.is-module .feature-icon { background: var(--tl-peach-tint); color: var(--tl-orange); }

.spotlight-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.5rem; }
.spotlight-head .section-header { margin-bottom: 0; }
@media (max-width: 900px) { .spotlight-head { flex-direction: column; align-items: flex-start; } }

.value-added { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.value-added-title { margin: 0 .5rem 0 0; font-weight: 700; color: #fff; }
.chip {
    display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px;
    background: rgba(255, 255, 255, .1); color: #fff; font-size: var(--fs-sm); font-weight: 600;
}
.chip .icon { color: var(--tl-peach); }

/* Benefits */
.benefit-list { display: grid; gap: 1.25rem; }
.benefit { display: flex; gap: 1rem; }
.benefit h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.benefit p { margin: 0; font-size: var(--fs-sm); color: var(--tl-muted); }
.benefit-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tl-peach-tint); color: var(--tl-orange); }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(circle at 10% 120%, rgba(255, 255, 255, .18), transparent 40%),
        linear-gradient(120deg, var(--tl-orange-strong) 0%, #B84A00 100%);
    color: #fff; padding-block: clamp(2.75rem, 5vw, 4rem);
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, .92); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 900px) { .cta-band-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(4rem, 9vw, 6.5rem); color: #fff; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(18, 36, 74, .95) 0%, rgba(26, 50, 99, .85) 55%, rgba(67, 78, 120, .55) 100%);
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .eyebrow { color: var(--tl-peach); }
.page-hero-lead { max-width: 600px; font-size: var(--fs-lg); color: rgba(255, 255, 255, .88); }
.page-hero-lead p:last-child { margin: 0; }

/* ---------- Products list ---------- */
.product-rows { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.product-row.is-reverse .product-row-media { order: 2; }
.product-row-media { display: block; aspect-ratio: 4 / 3; }
.product-row h2 a { color: inherit; text-decoration: none; }
.product-row-headline { font-size: var(--fs-lg); font-weight: 600; color: var(--tl-indigo); }
.product-row .btn { margin-top: 1.25rem; }
@media (max-width: 900px) {
    .product-row { grid-template-columns: 1fr; }
    .product-row.is-reverse .product-row-media { order: 0; }
}

.tag-list { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tag { padding: .3rem .8rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; background: var(--tl-peach-tint); color: var(--tl-orange-dark); }
.tag-label { font-size: var(--fs-sm); font-weight: 600; margin-right: .25rem; }
.tag-list.is-light .tag { background: rgba(255, 255, 255, .12); color: #fff; }
.tag-list.is-light .tag-label { color: rgba(255, 255, 255, .8); }

/* ---------- Product detail hero ---------- */
.product-hero {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 102, 0, .22), transparent 45%),
        linear-gradient(160deg, var(--tl-navy) 0%, var(--tl-navy-deep) 100%);
    color: #fff; padding-block: clamp(3rem, 7vw, 5rem);
}
.product-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.product-hero h1 { color: #fff; margin-bottom: .25rem; }
.product-hero .eyebrow { color: var(--tl-peach); }
.product-hero-headline { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); color: var(--tl-peach); font-weight: 600; }
.product-hero-lead { color: rgba(255, 255, 255, .85); font-size: var(--fs-lg); }
.product-hero-media { aspect-ratio: 4 / 3; }
.product-hero .hero-actions { margin-top: 1.75rem; }
@media (max-width: 900px) { .product-hero-grid { grid-template-columns: 1fr; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--fs-xs); margin-bottom: 1.5rem; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--tl-peach); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; }
.step { position: relative; padding: 2.4rem 1.4rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--tl-border); counter-increment: step; }
.step::before {
    content: counter(step); position: absolute; top: -1.25rem; left: 1.4rem;
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: var(--tl-orange-strong); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(255, 102, 0, .35);
}
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; font-size: var(--fs-sm); color: var(--tl-muted); }
@media (max-width: 1000px) { .steps, .steps.cols-3 { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; } }
@media (max-width: 600px) { .steps, .steps.cols-3 { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.callout {
    padding: 1.1rem 1.35rem; border-left: 4px solid var(--tl-orange); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--tl-peach-tint); color: var(--tl-navy); font-weight: 600;
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.75rem 0 0; }
.facts div { padding: 1rem; border-radius: var(--radius-sm); background: var(--tl-slate-tint); }
.facts dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--tl-muted); font-weight: 700; }
.facts dd { margin: .2rem 0 0; font-weight: 600; color: var(--tl-navy); line-height: 1.35; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv-card { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); border-top: 5px solid var(--tl-orange); }
.mv-card p { margin: 0; font-size: var(--fs-lg); }
.mv-card.is-navy { background: var(--tl-navy); color: rgba(255, 255, 255, .88); border-top-color: var(--tl-peach); }
.mv-card.is-navy h2 { color: #fff; }
.mv-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--tl-peach-tint); color: var(--tl-orange); margin-bottom: 1rem; }
.mv-card.is-navy .mv-icon { background: rgba(255, 255, 255, .1); color: var(--tl-peach); }
@media (max-width: 800px) { .mv-grid { grid-template-columns: 1fr; } }

.leader-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.leader-card { width: 280px; padding: 2rem 1.5rem; text-align: center; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.leader-card img { width: 160px; height: 160px; margin: 0 auto 1.25rem; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 0 0 3px var(--tl-orange); }
.leader-card h3 { margin-bottom: .2rem; }
.leader-card p { margin: 0; color: var(--tl-orange-dark); font-weight: 600; font-size: var(--fs-sm); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-cards li { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--tl-slate-tint); }
.contact-cards h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.contact-cards p { margin: 0; font-size: var(--fs-sm); }
.contact-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tl-orange); color: #fff; }

.contact-form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--tl-border); }
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: .25rem; }
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.contact-form label { display: grid; gap: .35rem; align-content: start; }
.contact-form label > span { font-size: var(--fs-sm); font-weight: 600; color: var(--tl-navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--tl-peach-tint); font-size: var(--fs-sm); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* Map facade: no third-party map script until the visitor asks for it */
.map-section { line-height: 0; }
.map-facade {
    line-height: 1.65; color: rgba(255, 255, 255, .86);
    background:
        radial-gradient(circle at 85% 30%, rgba(255, 102, 0, .25), transparent 40%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 40px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 40px),
        linear-gradient(160deg, var(--tl-navy) 0%, var(--tl-navy-deep) 100%);
    padding-block: clamp(2.5rem, 6vw, 4rem);
}
.map-facade-inner { display: flex; gap: 1.25rem; align-items: flex-start; }
.map-facade h2 { color: #fff; font-size: 1.5rem; margin-bottom: .35rem; }
.map-facade p { margin: 0; max-width: 60ch; }
.map-facade .hero-actions { margin-top: 1.25rem; }
.map-pin { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--tl-orange); color: #fff; box-shadow: 0 0 0 10px rgba(255, 102, 0, .18); }
.map-frame { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 600px) { .map-facade-inner { flex-direction: column; } .map-frame { height: 340px; } }

/* ---------- 404 ---------- */
.not-found-inner { max-width: 640px; text-align: center; }
.not-found-inner img { margin: 0 auto 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tl-navy-deep); color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 2.5rem; padding-block: 4rem 3rem; }
.footer-brand img { width: 240px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 34ch; }
.footer-title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--tl-orange); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { flex: none; color: var(--tl-orange); margin-top: .2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-block: 1.25rem; font-size: var(--fs-xs); }
.footer-tagline { font-style: italic; color: var(--tl-peach); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Product page extras (Iris SMS and others) ---------- */
.product-hero-logo { margin: .25rem 0 .75rem; line-height: 0; }
.product-hero-logo img { width: min(360px, 80%); height: auto; }
.product-hero-media.is-mockup { aspect-ratio: auto; display: flex; justify-content: center; }
.product-hero-media.is-mockup img { width: min(300px, 70%); height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
@media (max-width: 900px) { .product-hero-media.is-mockup img { width: min(240px, 60%); } }

.highlight-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; padding: 0; margin: 2rem 0 0; }
.highlight-list li { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--tl-peach-tint); color: var(--tl-navy); font-weight: 600; font-size: var(--fs-sm); }
.highlight-list .icon { color: var(--tl-orange); }

.sample-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1.25rem; }
.sample { margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.sample figcaption { font-weight: 700; color: var(--tl-navy); font-size: var(--fs-sm); }
.sample-bubble { flex: 1; padding: .9rem 1rem; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--tl-border); }
.sample-sender { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; color: var(--tl-orange-dark); margin-bottom: .25rem; }
.sample-bubble p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; }

.showcase { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.showcase.is-reverse .showcase-media { order: 2; }
.showcase-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--tl-border); }
.showcase-text .section-header { margin-bottom: 1.5rem; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } .showcase.is-reverse .showcase-media { order: 0; } }

.api-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.api-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.code-sample {
    margin: 0; padding: 1.25rem 1.4rem; border-radius: var(--radius); overflow-x: auto; max-width: 100%;
    background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12);
    font: .875rem/1.6 ui-monospace, "Cascadia Code", Consolas, monospace; color: #E8EEF6; white-space: pre;
}
@media (max-width: 1000px) { .api-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .api-points { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius-lg); background: var(--tl-peach-tint); border: 1px solid var(--tl-peach); }
.pricing-label { margin: 0; font-weight: 600; color: var(--tl-indigo); }
.pricing-price { margin: .25rem 0 .75rem; color: var(--tl-navy); line-height: 1; }
.pricing-price strong { font-family: var(--font-display); font-size: clamp(2.75rem, 2rem + 3vw, 4rem); color: var(--tl-orange-dark); }
.pricing-price span { font-size: var(--fs-lg); color: var(--tl-muted); }
.pricing-amount > p:last-child { margin: 0; }
.pricing .check-list { margin-bottom: 1rem; }
.pricing-disclaimer { margin: 0; font-size: var(--fs-xs); color: var(--tl-muted); }
@media (max-width: 800px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Contact form states ---------- */
.field-hint { font-size: var(--fs-xs); color: var(--tl-muted); line-height: 1.4; }
.form-alert { margin: 1rem 0 0; padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); line-height: 1.5; }
.form-alert.is-error { background: #FDECEC; border: 1px solid #F3B4B4; color: #7A1F1F; }
.form-alert a { color: inherit; font-weight: 600; }
.form-privacy { margin: 0; font-size: var(--fs-xs); color: var(--tl-muted); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.btn.is-busy { opacity: .75; cursor: progress; }

/* ---------- Thank-you page ---------- */
.thank-you-inner { max-width: 720px; text-align: center; }
.thank-you-icon { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--tl-peach-tint); color: var(--tl-orange); margin-bottom: 1rem; }
.lead-text { font-size: var(--fs-lg); color: var(--tl-muted); }
.reference { display: inline-block; padding: .8rem 1.25rem; border-radius: var(--radius-sm); background: var(--tl-slate-tint); color: var(--tl-navy); }
.reference strong { font-size: 1.15rem; letter-spacing: .04em; }
.thank-you-next { text-align: left; margin: 2rem auto 0; padding: 1.5rem 1.75rem; border-radius: var(--radius); border: 1px solid var(--tl-border); max-width: 560px; }
.thank-you-next h2 { font-size: 1.15rem; }
.check-list.numbered { list-style: decimal; padding-left: 1.25rem; display: block; margin: 0; }
.check-list.numbered li { display: list-item; margin-bottom: .5rem; }

/* ---------- Footer safe area (notched phones) ---------- */
.site-footer { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.footer-bottom-inner { padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }

/* ---------- Large screens ---------- */
@media (min-width: 1600px) {
    :root { --container: 1320px; }
    .hero { min-height: 720px; }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .cta-band, .map-section, .nav-toggle, .hero-actions { display: none !important; }
    .hero, .page-hero, .product-hero, .section-navy { background: none !important; color: #000 !important; }
    .hero::before, .hero::after, .hero-facets, .page-hero::before, .hero-bg, .page-hero-bg { display: none !important; }
    .hero h1, .page-hero h1, .product-hero h1 { color: #000 !important; }
}

/* ---------- Comfortable tap targets on touch screens ---------- */
@media (pointer: coarse) {
    .footer-links a, .footer-contact a { display: inline-block; padding-block: .3rem; }
    .breadcrumb a { padding-block: .35rem; }
}

/* ---------- Grid children may shrink below their content width (long emails, code samples) ---------- */
.split > *, .showcase > *, .api-grid > *, .contact-grid > *, .product-row > *, .product-hero-grid > *, .mv-grid > *, .footer-grid > * { min-width: 0; }
.contact-cards p, .footer-contact span, .callout { overflow-wrap: anywhere; }

/* ==========================================================================
   News & Events (public pages)
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }

.news-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
    border: 1px solid var(--tl-border); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card:focus-within { outline: 3px solid var(--tl-orange); outline-offset: 2px; }
.news-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tl-slate-tint); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card-media img { transform: scale(1.04); }
.news-card-placeholder {
    display: grid; place-items: center; width: 100%; height: 100%;
    background: radial-gradient(circle at 80% 10%, rgba(255, 102, 0, .18), transparent 50%), linear-gradient(150deg, var(--tl-navy) 0%, var(--tl-indigo) 100%);
}
.news-card-placeholder img { width: 56px; height: 56px; object-fit: contain; opacity: .9; transform: none !important; }
.date-badge {
    position: absolute; left: 1rem; top: 1rem; display: grid; justify-items: center; min-width: 58px; padding: .4rem .6rem .45rem;
    border-radius: 12px; background: #fff; box-shadow: var(--shadow); line-height: 1; text-align: center;
}
.date-badge span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--tl-orange-dark); }
.date-badge strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--tl-navy); margin-top: .15rem; }
.news-card-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.25rem 1.35rem 1.4rem; }
.news-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; font-size: var(--fs-xs); color: var(--tl-muted); }
.news-card-meta .tag { padding: .2rem .65rem; }
.tag.is-event { background: var(--tl-slate-tint); color: var(--tl-navy); }
.news-card h3 { margin: 0; font-size: var(--fs-h3); line-height: 1.3; }
.news-card-link { color: var(--tl-navy); text-decoration: none; }
.news-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.news-card-link:focus-visible { outline: none; }
.news-card-link:hover { color: var(--tl-orange-dark); }
.news-card-when { display: flex; align-items: flex-start; gap: .45rem; margin: 0; font-size: var(--fs-sm); color: var(--tl-indigo); font-weight: 600; }
.news-card-when .icon { flex: none; margin-top: .15rem; color: var(--tl-orange-dark); }
.news-card-summary {
    margin: .15rem 0 0; color: var(--tl-muted); font-size: var(--fs-sm);
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card.is-featured { border-color: var(--tl-peach); }
.news-card.is-featured .news-card-media::after {
    content: "Featured"; position: absolute; right: .75rem; top: .75rem; padding: .25rem .65rem; border-radius: 999px;
    background: var(--tl-orange-strong); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}

.news-section { padding-top: clamp(2rem, 5vw, 3.5rem); }
.news-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.news-tabs { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: var(--tl-slate-tint); border: 1px solid var(--tl-border); }
.news-tabs a {
    display: inline-flex; align-items: center; min-height: 42px; padding: .4rem 1.15rem; border-radius: 999px;
    font-weight: 600; font-size: var(--fs-sm); color: var(--tl-navy); text-decoration: none;
}
.news-tabs a:hover { background: #fff; }
.news-tabs a.active { background: var(--tl-navy); color: #fff; }
.news-search { display: flex; gap: .5rem; flex: 0 1 380px; }
.news-search label { position: relative; flex: 1; display: block; }
.news-search .icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--tl-muted); pointer-events: none; }
.news-search input { padding-left: 2.4rem; min-height: 46px; }
.news-search .btn { min-height: 46px; }
.news-results { margin: -1rem 0 1.5rem; color: var(--tl-muted); }
.news-results a { font-weight: 600; margin-left: .35rem; }
.news-group + .news-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.news-group-title { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); margin-bottom: 1.25rem; }
.news-empty { max-width: 560px; margin: 1rem auto 0; text-align: center; padding: clamp(2rem, 5vw, 3rem) 1rem; }
.news-empty img { margin: 0 auto 1rem; }
.news-empty h2 { font-size: 1.6rem; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin-top: 2.5rem; }
.pagination a, .pagination-current, .pagination-gap {
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 44px; min-height: 44px; padding: .4rem .8rem;
    border-radius: var(--radius-sm); font-weight: 600; font-size: var(--fs-sm); text-decoration: none;
}
.pagination a { color: var(--tl-navy); border: 1px solid var(--tl-border); background: #fff; }
.pagination a:hover { border-color: var(--tl-navy); }
.pagination-current { background: var(--tl-navy); color: #fff; }
.pagination-gap { min-width: auto; padding: 0 .2rem; color: var(--tl-muted); }
.home-news .spotlight-head { margin-bottom: 2rem; }

/* ---------- Article page ---------- */
.preview-banner { background: #FFF4E5; border-bottom: 1px solid #F5C98B; color: #6B3A00; font-size: var(--fs-sm); }
.preview-banner .container { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding-block: .7rem; }
.preview-banner a { margin-left: auto; font-weight: 700; color: inherit; }
.article-hero {
    padding-block: clamp(2.5rem, 6vw, 4.5rem); color: #fff;
    background: radial-gradient(circle at 90% 0%, rgba(255, 102, 0, .2), transparent 45%), linear-gradient(120deg, var(--tl-navy-deep) 0%, var(--tl-navy) 60%, var(--tl-indigo) 100%);
}
.article-hero-inner.is-narrow { max-width: calc(860px + 2 * var(--gutter)); }
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); max-width: 26ch; margin-bottom: .75rem; overflow-wrap: anywhere; }
.article-hero .eyebrow { color: var(--tl-peach); }
.article-date { margin: 0; color: rgba(255, 255, 255, .8); }
.article-when { display: flex; align-items: flex-start; gap: .55rem; margin: .35rem 0 0; color: rgba(255, 255, 255, .92); font-size: var(--fs-lg); font-weight: 600; }
.article-when .icon { flex: none; margin-top: .2rem; color: var(--tl-peach); }
.article-layout { display: grid; grid-template-columns: minmax(0, 860px); justify-content: center; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(2rem, 5vw, 3.5rem) var(--section-y); }
.article-layout.has-aside { grid-template-columns: minmax(0, 760px) 320px; }
.article-main { min-width: 0; }
.article-cover { margin: 0 0 2rem; }
.article-cover img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--tl-border); font-size: var(--fs-sm); }
.article-share span { font-weight: 700; color: var(--tl-navy); }
.article-share a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.back-arrow { margin-top: 1rem; }
.event-panel {
    position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; padding: 1.5rem; border-radius: var(--radius-lg);
    background: #fff; border: 1px solid var(--tl-border); border-top: 5px solid var(--tl-orange); box-shadow: var(--shadow);
}
.event-panel h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.event-panel dl { display: grid; gap: 1rem; margin: 0; }
.event-panel dt { display: flex; align-items: center; gap: .45rem; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tl-muted); }
.event-panel dt .icon { color: var(--tl-orange-dark); }
.event-panel dd { margin: .25rem 0 0; font-weight: 600; color: var(--tl-navy); overflow-wrap: anywhere; }
.event-panel dd a { font-weight: 600; }
.event-ended { margin: 0 0 1rem; padding: .6rem .8rem; border-radius: var(--radius-sm); background: var(--tl-slate-tint); color: var(--tl-muted); font-weight: 600; font-size: var(--fs-sm); }
.event-actions { display: grid; gap: .6rem; margin-top: 1.5rem; }
.btn-block { width: 100%; justify-content: center; }
@media (max-width: 960px) {
    .article-layout.has-aside { grid-template-columns: minmax(0, 1fr); }
    .event-panel { position: static; order: -1; }
}

/* Article text (sanitized HTML from the editor) */
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--tl-ink); overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.75em 0 .5em; }
.prose h4 { font-size: 1.1rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.5em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--tl-orange-dark); }
.prose a { color: var(--tl-orange-dark); font-weight: 600; text-underline-offset: 3px; }
.prose blockquote { margin: 1.75em 0; padding: 1rem 1.35rem; border-left: 4px solid var(--tl-orange); background: var(--tl-peach-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.15rem; color: var(--tl-navy); }
.prose blockquote p:last-child { margin: 0; }
.prose img { display: block; max-width: 100%; height: auto; margin: 1.75em auto; border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--tl-border); margin: 2.5em 0; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { margin-left: 1.5em; } .prose .ql-indent-2 { margin-left: 3em; } .prose .ql-indent-3 { margin-left: 4.5em; }
.prose .ql-indent-4 { margin-left: 6em; } .prose .ql-indent-5, .prose .ql-indent-6, .prose .ql-indent-7, .prose .ql-indent-8 { margin-left: 7.5em; }
@media (max-width: 640px) {
    .prose { font-size: 1.0625rem; }
    .news-toolbar { flex-direction: column; align-items: stretch; }
    .news-tabs { justify-content: center; }
    .news-tabs a { flex: 1; justify-content: center; padding-inline: .5rem; }
    .news-search { flex-basis: auto; }
    .home-news .spotlight-head { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
@media print {
    .preview-banner, .article-share, .event-actions, .news-toolbar, .pagination { display: none !important; }
    .article-hero { background: none !important; color: #000 !important; }
    .article-hero h1, .article-when, .article-date { color: #000 !important; }
}
.news-grid > *, .article-layout > * { min-width: 0; }

/* ---------- News & Events archive ---------- */
.news-toolbar-start { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.news-archive-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; font-size: var(--fs-sm); color: var(--tl-navy); text-decoration: none; }
.news-archive-link .icon { color: var(--tl-orange-dark); }
.news-archive-link:hover { color: var(--tl-orange-dark); text-decoration: underline; }
.news-years { display: flex; flex-wrap: wrap; gap: .5rem; margin: -1rem 0 2rem; }
.news-years a {
    display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .95rem; border-radius: 999px;
    border: 1px solid var(--tl-border); background: #fff; font-weight: 600; font-size: var(--fs-sm); color: var(--tl-navy); text-decoration: none;
}
.news-years a:hover { border-color: var(--tl-navy); }
.news-years a.active { background: var(--tl-orange-strong); border-color: var(--tl-orange-strong); color: #fff; }
.news-results a + a { margin-left: .75rem; }
.tag.is-archived { background: #EEF1F5; color: var(--tl-muted); }
.archive-note {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 1.75rem; padding: .85rem 1.1rem;
    border-radius: var(--radius-sm); background: var(--tl-slate-tint); border: 1px solid var(--tl-border); color: var(--tl-ink); font-size: var(--fs-sm);
}
.archive-note .icon { color: var(--tl-slate); flex: none; }
.archive-note span { flex: 1 1 260px; }
.archive-note strong { color: var(--tl-navy); }
.archive-note a { font-weight: 700; }
@media (max-width: 640px) {
    .news-toolbar-start { flex-direction: column; align-items: stretch; }
    .news-archive-link { justify-content: center; }
    .news-years { margin-top: -.5rem; }
}

/* ---------- Data privacy: consent, seal, Privacy Notice ---------- */
.consent-field { display: grid; gap: .6rem; }
.consent-statement { padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--tl-slate-tint); border: 1px solid var(--tl-border); font-size: var(--fs-xs); line-height: 1.55; color: var(--tl-muted); }
.consent-statement p { margin: 0; }
.consent-statement p + p { margin-top: .45rem; }
.consent-statement a { color: var(--tl-orange-dark); font-weight: 600; }
.consent-check { display: flex !important; align-items: flex-start; gap: .6rem; font-size: var(--fs-sm); line-height: 1.5; color: var(--tl-ink); cursor: pointer; }
.consent-check input[type=checkbox] { width: 1.2rem; height: 1.2rem; margin-top: .15rem; flex: none; accent-color: var(--tl-orange-strong); }
.consent-check a { font-weight: 600; color: var(--tl-orange-dark); }
.form-privacy { display: flex; align-items: center; gap: .75rem; }
.form-privacy p { margin: 0; flex: 1; min-width: 0; }
.form-privacy a { color: var(--tl-orange-dark); font-weight: 600; overflow-wrap: anywhere; }
.privacy-seal { display: inline-block; flex: none; line-height: 0; border-radius: 8px; }
.privacy-seal img { width: auto; max-width: none; object-fit: contain; }
/* The seal file has a transparent background: a thin light edge and a soft shadow follow its keyhole shape. */
.privacy-seal img { filter: drop-shadow(0 2px 6px rgba(18, 32, 71, .18)); }
.privacy-toc-extra { margin: .75rem 0 0; padding-top: .65rem; border-top: 1px solid var(--tl-border); }
.footer-seal { margin-top: 0; }
.footer-bottom-inner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.privacy-section { padding-top: clamp(2rem, 5vw, 3.5rem); }
.privacy-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(2rem, 5vw, 4rem); justify-content: center; align-items: start; }
.privacy-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--tl-slate-tint); border: 1px solid var(--tl-border); font-size: var(--fs-sm); }
.privacy-toc-title { margin: 0 0 .5rem; font-weight: 700; color: var(--tl-navy); }
.privacy-toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.privacy-toc a { color: var(--tl-navy); text-decoration: none; }
.privacy-toc a:hover { color: var(--tl-orange-dark); text-decoration: underline; }
.privacy-text h2 { scroll-margin-top: calc(var(--header-h) + 1rem); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.privacy-text h2:first-of-type { margin-top: 1rem; }
.privacy-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0 0 1rem; font-size: var(--fs-sm); color: var(--tl-muted); }
.dpo-card, .registration-card { padding: 1.1rem 1.35rem; border-radius: var(--radius); background: var(--tl-slate-tint); border: 1px solid var(--tl-border); }
.dpo-card p:last-child, .registration-card p { margin-bottom: 0; }
.registration-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.registration-card p { flex: 1 1 260px; }
@media (max-width: 900px) {
    .privacy-layout { grid-template-columns: minmax(0, 1fr); }
    .privacy-toc { position: static; }
}
.footer-brand .footer-seal { display: inline-block; transition: transform .2s ease; }
.footer-brand .footer-seal:hover { transform: translateY(-2px); }
.footer-brand .footer-seal img { width: auto; margin: 0; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .9)) drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
@media (prefers-reduced-motion: reduce) { .footer-brand .footer-seal { transition: none; } .footer-brand .footer-seal:hover { transform: none; } }
