/* Tiffany Rivera portfolio — Round 2 targeted layout refinements. */
/* Shared header, matching the approved Learning Experience page. */
.site-header .nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:clamp(18px,2.1vw,34px)}
.site-header .brand-mark{display:grid;place-items:center;flex-shrink:0}
.site-header .brand-monogram{display:inline-flex;align-items:center;justify-content:center;line-height:1!important;vertical-align:middle;transform:none!important}
.site-header .main-nav,.site-header .nav-row{align-items:center!important;flex-wrap:nowrap!important}
.site-header .main-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:37px;line-height:1.2;vertical-align:middle}
.site-header .main-nav a.nav-cta{min-height:42px}
/* Homepage: fully-contained navy graphic and equal-baseline CTA pair. */
.hero .stage-main-card{box-sizing:border-box;min-width:0;max-width:100%;padding:clamp(24px,2.3vw,36px);overflow:hidden}
.hero .stage-card-top,.hero .stage-title,.hero .stage-flow{position:relative;max-width:100%;min-width:0;overflow-wrap:break-word}
.hero .stage-title{font-size:clamp(26px,2.85vw,39px);letter-spacing:-.045em;line-height:1.16;margin:clamp(28px,3vw,44px) 0 28px}
.hero .stage-flow>div{grid-template-columns:28px minmax(0,1fr);min-width:0;gap:8px}
.hero .stage-flow strong,.hero .stage-flow small{min-width:0;overflow-wrap:anywhere;line-height:1.35}
.hero .hero-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:14px}
.hero .hero-actions>.btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:49px;padding:12px 19px;line-height:1.3;align-self:stretch;text-align:center}
/* Case Studies: optically centered content for circular indicators and badges. */
.case-hero :is(.case-aside-dot,.tip-spark,.round,.circle,.bubble),
.case-browse :is(.case-aside-dot,.tip-spark,.round,.circle,.bubble),
.case-tile :is(.tip-spark,.round,.circle,.bubble),
.case-tile .incident-head i{box-sizing:border-box;display:inline-grid!important;place-items:center!important;align-items:center;justify-items:center;text-align:center;line-height:1!important;vertical-align:middle;flex-shrink:0}
.case-tile .tip-spark{width:29px;height:29px;padding:0!important;border-radius:50%;font-size:15px}
.case-filters .filter{display:inline-flex;align-items:center;justify-content:center;line-height:1.2}
/* Learning modules: meaningful, solid-color informational panels. No static screenshots. */
.learning-collection .module-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:23px;align-items:stretch}
.learning-collection .module-grid .module-card{display:flex!important;flex-direction:column!important;grid-column:auto!important;min-width:0;min-height:490px}
.learning-collection .module-grid .module-card:first-child{grid-column:auto!important;grid-template-columns:none!important}
.round2-module-surface{--panel:#0f2d4a;--ink:#fffaf6;--muted:#d9e4e8;--highlight:#f5b39b;--button:#f5b39b;--button-ink:#0f2d4a;box-sizing:border-box;background:var(--panel);color:var(--ink);padding:clamp(24px,2.2vw,32px);display:flex;flex:1;flex-direction:column;min-height:385px}
.module-tone-1{--panel:#0f2d4a;--highlight:#f5b39b;--muted:#dce7ec;--button:#f5b39b;--button-ink:#0f2d4a}
.module-tone-2{--panel:#a34f3d;--highlight:#fff2e9;--muted:#fff1ea;--button:#fffaf6;--button-ink:#8b3b2b}
.module-tone-3{--panel:#4a6864;--highlight:#fce1d4;--muted:#f0f4ec;--button:#fffaf6;--button-ink:#244f48}
.module-tone-4{--panel:#f3d8cc;--ink:#0f2d4a;--muted:#365367;--highlight:#a34f3d;--button:#0f2d4a;--button-ink:#fffaf6}
.module-tone-5{--panel:#244b65;--highlight:#ffccbb;--muted:#e1edf0;--button:#fff1e9;--button-ink:#0f2d4a}
.round2-module-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;min-height:62px}
.round2-module-kicker{font:700 10px/1.4 var(--sans);letter-spacing:.15em;color:var(--highlight);max-width:175px}
.round2-module-icon{width:54px;height:54px;box-sizing:border-box;border-radius:15px;border:1px solid currentColor;display:grid;place-items:center;flex:0 0 54px;opacity:.92}
.round2-module-icon svg{display:block;width:29px;height:29px}
.round2-module-organization{display:block;font:700 11px/1.5 var(--sans);letter-spacing:.095em;text-transform:uppercase;color:var(--highlight);margin-top:18px}
.round2-module-surface h3{color:var(--ink);font:400 clamp(27px,2.3vw,35px)/1.07 var(--serif);letter-spacing:-.02em;margin:13px 0 15px;overflow-wrap:break-word}
.round2-module-description{color:var(--muted);font:400 14px/1.65 var(--sans);margin:0 0 23px}
.round2-module-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.round2-module-tech{font:700 11px/1.5 var(--sans);color:var(--ink);background:#ffffff16;border:1px solid currentColor;border-radius:30px;padding:7px 11px;max-width:100%}
.module-tone-4 .round2-module-tech{background:#fff9f5a6}
.round2-module-launch{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;border-radius:8px;padding:13px 15px;color:var(--button-ink)!important;background:var(--button);font:700 12.5px/1.35 var(--sans);text-decoration:none!important;transition:filter .15s ease,transform .15s ease}
.round2-module-launch:hover,.round2-module-launch:focus-visible{filter:brightness(.94);transform:translateY(-1px)}
.round2-module-footer{display:flex;flex-direction:column;gap:15px;padding:18px 23px 20px;background:#fffaf6}
.round2-module-authenticity{font:600 10px/1.3 var(--sans);letter-spacing:.05em;color:#6e777a}
.round2-module-links{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.round2-module-links a{font:700 12px/1.3 var(--sans);color:#a34f3d;text-decoration:none}
.round2-module-links a:hover,.round2-module-links a:focus-visible{text-decoration:underline}
@media(max-width:1150px){.learning-collection .module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.site-header .main-nav.is-open,.site-header .main-nav.open,.site-header .main-nav[data-open=true]{align-items:stretch!important}.site-header .main-nav a{display:flex;justify-content:flex-start}.site-header .main-nav a.nav-cta{justify-content:center}}
@media(max-width:620px){.hero .hero-actions{flex-direction:column;align-items:stretch}.hero .hero-actions>.btn{width:100%;min-height:48px}.hero .stage-main-card{padding:25px 22px}.hero .stage-title{font-size:clamp(25px,7vw,34px);margin:31px 0 25px}.learning-collection .module-grid{grid-template-columns:1fr}.learning-collection .module-grid .module-card{min-height:0}.round2-module-surface{min-height:375px;padding:27px 25px}.round2-module-footer{padding:19px 25px 21px}}
@media(prefers-reduced-motion:reduce){.round2-module-launch{transition:none}}
