/* ==========================================================================
   Power & Sun — public website
   Plain CSS, scoped with the ps- prefix so it never collides with the app's
   Tailwind utilities or app.css components. Fluid, full-width on laptops and
   desktops: content spans the viewport with proportional gutters, and only
   running text is held to a readable measure.
   ========================================================================== */

:root {
    --ps-ink: #0B1626;
    --ps-ink-2: #2A3646;
    --ps-muted: #5A6678;
    --ps-paper: #FBF8F3;          /* warm ivory canvas */
    --ps-paper-2: #F3EEE6;
    --ps-surface: #FFFFFF;
    --ps-line: rgba(11, 22, 38, .10);
    --ps-night: #071223;          /* deep midnight for dark bands */
    --ps-night-2: #0E1E36;
    --ps-orange: #EF5423;
    --ps-orange-deep: #C9401A;
    --ps-amber: #F5A93C;
    --ps-blue: #134C97;
    --ps-gold-grad: linear-gradient(135deg, #F5A93C 0%, #EF5423 100%);

    --ps-gutter: clamp(20px, 5vw, 96px);
    --ps-section-y: clamp(48px, 5.2vw, 96px);
    --ps-radius: 22px;
    --ps-radius-lg: 32px;
    --ps-ease: cubic-bezier(.16, 1, .3, 1);

    --ps-serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --ps-display: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
    --ps-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --ps-ink: #EEF2F8; --ps-ink-2: #C9D2DF; --ps-muted: #9AA8BD;
        --ps-paper: #0A1220; --ps-paper-2: #0F1A2C; --ps-surface: #132036;
        --ps-line: rgba(238, 242, 248, .10);
    }
}
:root[data-theme="dark"] {
    --ps-ink: #EEF2F8; --ps-ink-2: #C9D2DF; --ps-muted: #9AA8BD;
    --ps-paper: #0A1220; --ps-paper-2: #0F1A2C; --ps-surface: #132036;
    --ps-line: rgba(238, 242, 248, .10);
}

html.ps-site-html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.ps-site {
    margin: 0;
    background: var(--ps-paper);
    color: var(--ps-ink);
    font-family: var(--ps-sans);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}
.ps-site img { display: block; max-width: 100%; }
.ps-site a { color: inherit; }

.ps-skip {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--ps-ink); color: #fff; padding: 10px 16px; border-radius: 10px;
    text-decoration: none; font-weight: 600; transition: top .2s;
}
.ps-skip:focus { top: 16px; }

.ps-wrap { width: 100%; padding-inline: var(--ps-gutter); box-sizing: border-box; margin-inline: auto; max-width: 2200px; }

/* ---------------------------------------------------------------- type */
.ps-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 14px; font: 600 12.5px/1 var(--ps-sans);
    letter-spacing: .16em; text-transform: uppercase; color: var(--ps-orange-deep);
}
.ps-eyebrow-light { color: #FFD3B8; }
.ps-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ps-amber); box-shadow: 0 0 0 4px rgba(245,169,60,.25); }

.ps-display {
    margin: 0; font-family: var(--ps-display); font-weight: 700;
    font-size: clamp(42px, 6.4vw, 112px); line-height: .98; letter-spacing: -.035em; color: #fff;
}
.ps-display em, .ps-h2 em {
    font-family: var(--ps-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
}
.ps-display em { background: linear-gradient(100deg, #FFE1B8 0%, #F5A93C 45%, #FF8A5B 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.ps-display-sm { font-size: clamp(38px, 5vw, 84px); }

.ps-h2 {
    margin: 0; font-family: var(--ps-display); font-weight: 700;
    font-size: clamp(32px, 3.8vw, 64px); line-height: 1.04; letter-spacing: -.03em; color: var(--ps-ink);
    max-width: 22ch;
}
.ps-h2 em { color: var(--ps-orange); }
.ps-h2-light { color: #fff; }
.ps-h2-light em { color: var(--ps-amber); }

.ps-lede { margin: 20px 0 0; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.6; max-width: 46ch; }
.ps-lede-light { color: rgba(255,255,255,.84); }
.ps-section-lede { margin: 14px 0 0; font-size: clamp(16px, 1.2vw, 19px); color: var(--ps-muted); max-width: 56ch; }
.ps-section-lede a { color: var(--ps-orange-deep); font-weight: 600; text-underline-offset: 3px; }

/* ------------------------------------------------------------- buttons */
.ps-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
    font: 600 15px/1 var(--ps-sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
    transition: transform .3s var(--ps-ease), box-shadow .3s var(--ps-ease), background-color .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.ps-btn svg { width: 18px; height: 18px; transition: transform .3s var(--ps-ease); }
.ps-btn:hover svg { transform: translateX(3px); }
.ps-btn:focus-visible { outline: 3px solid var(--ps-amber); outline-offset: 3px; }
.ps-btn-lg { min-height: 58px; padding: 0 32px; font-size: 16px; }
.ps-btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.ps-btn-block { width: 100%; }
.ps-btn-primary { background: var(--ps-gold-grad); color: #fff !important; box-shadow: 0 10px 30px -10px rgba(239,84,35,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.ps-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(239,84,35,.75), inset 0 1px 0 rgba(255,255,255,.3); }
.ps-btn-glass { background: rgba(255,255,255,.10); color: #fff !important; border-color: rgba(255,255,255,.32); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ps-btn-glass:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.ps-btn-dark { background: var(--ps-ink); color: var(--ps-paper) !important; margin-top: 26px; }
.ps-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(11,22,38,.6); }
.ps-btn-ghost { background: transparent; color: var(--ps-ink) !important; border-color: var(--ps-line); }

.ps-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.ps-actions-center { justify-content: center; }

.ps-arrow-link {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
    color: var(--ps-orange-deep); text-decoration: none;
}
.ps-arrow-link svg { width: 18px; height: 18px; transition: transform .3s var(--ps-ease); }
.ps-arrow-link:hover svg { transform: translateX(4px); }

/* -------------------------------------------------------------- header */
/* ---- utility strip above the main bar ---- */
.ps-topbar { background: var(--ps-night); color: rgba(255,255,255,.72); font-size: 13px; display: none; }
.ps-topbar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    max-width: 2200px; margin: 0 auto; padding: 8px var(--ps-gutter); box-sizing: border-box;
}
.ps-topbar-note { margin: 0; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-topbar-links { display: flex; align-items: center; gap: 4px; flex: none; }
.ps-topbar-links a { padding: 4px 10px; border-radius: 999px; color: rgba(255,255,255,.82); text-decoration: none; }
.ps-topbar-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.ps-topbar-links a:first-child { color: #FFD3B8; }
@media (min-width: 900px) { .ps-topbar { display: block; } }

/* ---- main bar: solid, pinned, and above the hero rather than over it ---- */
.ps-header {
    position: sticky; top: 0; z-index: 60;
    background: color-mix(in srgb, var(--ps-paper) 94%, transparent);
    backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 1px 0 var(--ps-line);
    transition: background-color .35s var(--ps-ease), box-shadow .35s var(--ps-ease), backdrop-filter .35s;
}
.ps-header-inner {
    display: flex; align-items: center; gap: 28px;
    padding: 18px var(--ps-gutter); max-width: 2200px; margin: 0 auto; box-sizing: border-box;
    transition: padding .35s var(--ps-ease);
}
/* The logo always shows in its own colours. Over a photo or a dark band
   it sits on a white chip, so the navy strapline keeps its contrast;
   on the solid light header the chip dissolves into the bar. */
.ps-logo {
    display: inline-flex; align-items: center; flex: none;
    padding: 0; border-radius: 12px; background: transparent;
    transition: padding .35s var(--ps-ease), background-color .35s, box-shadow .35s;
}
.ps-logo img { height: 50px; width: auto; transition: height .35s var(--ps-ease); }
.ps-logo:focus-visible { outline: 3px solid var(--ps-amber); outline-offset: 3px; }
.ps-nav { display: none; gap: 4px; margin-left: auto; }
.ps-nav a, .ps-link {
    position: relative; padding: 10px 14px; border-radius: 999px; color: var(--ps-ink-2); text-decoration: none;
    font: 500 15px/1 var(--ps-sans); transition: background-color .2s, color .2s;
}
.ps-nav a:hover, .ps-link:hover { background: var(--ps-paper-2); color: var(--ps-ink); }
.ps-nav a.is-active { color: var(--ps-ink); }
.ps-nav a.is-active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
    background: var(--ps-gold-grad);
}
.ps-header-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ps-header-cta .ps-link { display: none; }

.ps-header.is-solid { box-shadow: 0 1px 0 var(--ps-line), 0 10px 30px -20px rgba(11,22,38,.35); }
.ps-header.is-solid .ps-header-inner { padding-block: 10px; }
.ps-header.is-solid .ps-logo img { height: 46px; }
.ps-header.is-solid .ps-nav a, .ps-header.is-solid .ps-link { color: var(--ps-ink-2); }
.ps-header.is-solid .ps-nav a:hover, .ps-header.is-solid .ps-link:hover { background: var(--ps-paper-2); color: var(--ps-ink); }
.ps-header.is-solid .ps-burger span { background: var(--ps-ink); }
/* Dark theme: the bar is dark, so the chip stays. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ps-header .ps-logo { background: #fff; padding: 5px 10px; } }
:root[data-theme="dark"] .ps-header .ps-logo { background: #fff; padding: 5px 10px; }

.ps-burger {
    position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--ps-paper-2); display: inline-grid; place-content: center; gap: 6px;
}
.ps-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ps-ink); transition: transform .3s var(--ps-ease), background-color .3s; }
.ps-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.ps-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.ps-header.is-solid .ps-burger { background: var(--ps-paper-2); }

.ps-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ps-paper); border-top: 1px solid var(--ps-line);
    padding: 12px var(--ps-gutter) 24px; max-height: calc(100dvh - 72px); overflow-y: auto;
    box-shadow: 0 30px 40px -30px rgba(11,22,38,.45);
}
.ps-menu nav a {
    display: flex; flex-direction: column; gap: 3px; padding: 15px 4px; border-bottom: 1px solid var(--ps-line);
    text-decoration: none; color: var(--ps-ink);
}
.ps-menu nav a span { font: 600 19px/1.2 var(--ps-display); letter-spacing: -.01em; }
.ps-menu nav a small { color: var(--ps-muted); font-size: 13.5px; }
.ps-menu-foot { display: grid; gap: 10px; margin-top: 20px; }
.ps-header.menu-open { background: var(--ps-paper); }
.ps-header.menu-open .ps-logo { box-shadow: none; }
.ps-header.menu-open .ps-burger { background: var(--ps-paper-2); }
.ps-header.menu-open .ps-burger span { background: var(--ps-ink); }

@media (min-width: 640px) { .ps-header-cta .ps-link { display: inline-flex; } }
@media (min-width: 1100px) {
    .ps-nav { display: flex; }
    .ps-header-cta { margin-left: 12px; }
    .ps-burger, .ps-menu { display: none !important; }
}

/* ---------------------------------------------------------------- hero */
.ps-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--ps-night); }
.ps-hero-media, .ps-cta-media { position: absolute; inset: 0; z-index: -2; }
.ps-hero-media img, .ps-cta-media img {
    width: 100%; height: 100%; object-fit: cover; transform: scale(1.06);
    animation: ps-zoom 18s var(--ps-ease) forwards;
}
@keyframes ps-zoom { to { transform: scale(1); } }
.ps-hero-veil {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(120% 80% at 0% 100%, rgba(7,18,35,.92) 0%, rgba(7,18,35,.55) 45%, rgba(7,18,35,0) 75%),
        linear-gradient(180deg, rgba(7,18,35,.55) 0%, rgba(7,18,35,.05) 30%, rgba(7,18,35,.35) 70%, rgba(7,18,35,.9) 100%);
}
.ps-hero-home { min-height: clamp(540px, calc(88svh - 110px), 820px); display: flex; align-items: flex-end; }
.ps-hero-grid {
    display: grid; gap: 40px; align-items: end;
    padding-top: 56px; padding-bottom: clamp(44px, 6vh, 80px);
}
.ps-hero-copy { max-width: 1100px; }
.ps-hero-copy .ps-lede { max-width: 54ch; }

.ps-glass-card {
    width: 100%; max-width: 420px; box-sizing: border-box; justify-self: start;
    padding: 24px; border-radius: var(--ps-radius);
    background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.2);
    animation: ps-rise 1.1s .25s var(--ps-ease) both;
}
.ps-glass-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); letter-spacing: .02em; }
.ps-chip { padding: 6px 10px; border-radius: 999px; background: rgba(245,169,60,.22); color: #FFD9A6; font-size: 12px; }
.ps-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 18px; }
.ps-metrics div { padding: 14px 12px; border-radius: 14px; background: rgba(7,18,35,.35); border: 1px solid rgba(255,255,255,.08); }
.ps-metrics dt { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.ps-metrics dd { margin: 8px 0 0; font: 700 30px/1 var(--ps-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ps-metrics small { margin-left: 4px; font: 500 13px var(--ps-sans); color: rgba(255,255,255,.7); }
.ps-glass-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; }
.ps-glass-bar span { display: block; height: 100%; background: var(--ps-gold-grad); border-radius: inherit; animation: ps-fill 1.8s .6s var(--ps-ease) both; }
@keyframes ps-fill { from { width: 0 !important; } }
.ps-glass-note { margin: 14px 0 0; font-size: 12.5px; color: rgba(255,255,255,.62); }

.ps-hero-copy > * { animation: ps-rise 1s var(--ps-ease) both; }
.ps-hero-copy > *:nth-child(2) { animation-delay: .08s; }
.ps-hero-copy > *:nth-child(3) { animation-delay: .16s; }
.ps-hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes ps-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.ps-scroll-cue {
    position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px;
    border: 1.5px solid rgba(255,255,255,.45); border-radius: 20px; display: none;
}
.ps-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: ps-cue 2s infinite; }
@keyframes ps-cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

@media (min-width: 1024px) {
    .ps-hero-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; }
    .ps-glass-card { justify-self: end; }
    .ps-scroll-cue { display: block; }
}
@media (min-width: 1600px) { .ps-hero-grid { grid-template-columns: minmax(0, 1fr) 460px; } .ps-glass-card { max-width: 460px; } }

.ps-hero-page { min-height: clamp(420px, calc(64svh - 80px), 620px); display: flex; align-items: flex-end; }
.ps-hero-page .ps-hero-veil { background:
        linear-gradient(90deg, rgba(7,18,35,.78) 0%, rgba(7,18,35,.45) 55%, rgba(7,18,35,.15) 100%),
        linear-gradient(180deg, rgba(7,18,35,.5) 0%, rgba(7,18,35,.1) 30%, rgba(7,18,35,.6) 75%, rgba(7,18,35,.92) 100%); }
@media (max-width: 760px) { .ps-hero-page .ps-hero-veil, .ps-hero-home .ps-hero-veil { background: linear-gradient(180deg, rgba(7,18,35,.55) 0%, rgba(7,18,35,.55) 40%, rgba(7,18,35,.92) 100%); } }
.ps-hero .ps-eyebrow-light, .ps-crumbs { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.ps-hero-home .ps-hero-media img { object-position: 50% 30%; }
@media (min-width: 761px) {
    .ps-hero-home .ps-hero-veil { background:
        linear-gradient(90deg, rgba(7,18,35,.72) 0%, rgba(7,18,35,.38) 42%, rgba(7,18,35,0) 70%),
        linear-gradient(180deg, rgba(7,18,35,.5) 0%, rgba(7,18,35,0) 28%, rgba(7,18,35,.25) 70%, rgba(7,18,35,.88) 100%); }
}

/* ------------------------------------------------------ hero carousel */
.ps-carousel .ps-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ps-ease); }
.ps-carousel .ps-slide.is-active { opacity: 1; }
.ps-carousel .ps-slide img { animation: none; transform: scale(1.08); transition: transform 7.5s linear; }
.ps-carousel .ps-slide.is-active img { transform: scale(1); }
.ps-carousel-nav {
    position: absolute; z-index: 2; right: var(--ps-gutter); top: 28px;
    display: flex; align-items: center; gap: 14px;
}
.ps-carousel-dot {
    display: grid; gap: 8px; min-width: 64px; padding: 6px 0; border: 0; background: none; cursor: pointer;
    color: rgba(255,255,255,.6); font: 600 11.5px/1 var(--ps-sans); letter-spacing: .14em; text-transform: uppercase; text-align: left;
    text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.ps-carousel-dot.is-active, .ps-carousel-dot:hover { color: #fff; }
.ps-carousel-track { display: block; height: 2px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.ps-carousel-progress { display: block; height: 100%; width: 0; background: var(--ps-gold-grad); }
.ps-carousel-dot.is-active .ps-carousel-progress { animation: ps-progress var(--ps-slide-ms, 7000ms) linear forwards; }
.ps-carousel-dot.is-done .ps-carousel-progress { width: 100%; }
.ps-carousel-nav.is-paused .ps-carousel-progress { animation-play-state: paused; }
@keyframes ps-progress { from { width: 0; } to { width: 100%; } }
.ps-carousel-dot:focus-visible, .ps-carousel-pause:focus-visible { outline: 2px solid var(--ps-amber); outline-offset: 4px; border-radius: 4px; }
.ps-carousel-pause {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); cursor: pointer;
    background: rgba(255,255,255,.1); color: #fff; display: grid; place-content: center;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ps-carousel-pause svg { width: 14px; height: 14px; }
.ps-carousel-pause .i-play { display: none; }
.ps-carousel-pause[aria-pressed="true"] .i-play { display: block; }
.ps-carousel-pause[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 760px) {
    .ps-carousel-nav { top: auto; bottom: 18px; right: auto; left: var(--ps-gutter); gap: 10px; }
    .ps-carousel-dot { min-width: 52px; }
    .ps-hero-home .ps-hero-grid { padding-bottom: 76px; }
}
.ps-hero-page-inner { padding-top: 48px; padding-bottom: clamp(40px, 6vh, 80px); }
.ps-hero-page .ps-display { font-size: clamp(40px, 5.6vw, 96px); max-width: 18ch; }
.ps-crumbs { display: flex; gap: 10px; margin-bottom: 26px; font-size: 14px; color: rgba(255,255,255,.7); }
.ps-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.ps-crumbs a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------- strip */
.ps-strip { background: var(--ps-night); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.ps-strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.ps-strip-grid > div { padding: 22px 0 22px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ps-strip-grid > div:nth-child(odd) { padding-right: 16px; }
.ps-strip-grid strong { display: block; font: 700 clamp(22px, 2.2vw, 36px)/1.1 var(--ps-display); letter-spacing: -.025em; background: linear-gradient(100deg, #fff 30%, #FFD3A0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ps-strip-grid span { display: block; margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.62); letter-spacing: .02em; }
@media (min-width: 900px) {
    .ps-strip-grid { grid-template-columns: repeat(4, 1fr); }
    .ps-strip-grid > div { padding: 28px 32px; border-bottom: 0; border-left: 1px solid rgba(255,255,255,.08); }
    .ps-strip-grid > div:first-child { border-left: 0; padding-left: 0; }
}
.ps-strip > .ps-wrap:not(.ps-strip-grid) { padding-block: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.ps-strip-label { margin: 0; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #FFD3B8; font-weight: 600; }
.ps-load-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ps-load-tags li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 14px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.04); }

/* ------------------------------------------------------------- sections */
.ps-section { padding-block: var(--ps-section-y); position: relative; }
.ps-section-tint { background: var(--ps-paper-2); }
.ps-section-dark { background: radial-gradient(90% 70% at 100% 0%, #13305A 0%, var(--ps-night) 60%); color: #fff; }
.ps-section-head { margin-bottom: clamp(26px, 2.6vw, 44px); }
.ps-section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* ------------------------------------------------------------- sectors */
.ps-sector-grid { display: grid; gap: clamp(16px, 1.6vw, 28px); }
@media (min-width: 760px) { .ps-sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ps-sector-grid { grid-template-columns: repeat(3, 1fr); } .ps-sector-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.ps-sector-card {
    position: relative; isolation: isolate; display: flex; align-items: flex-end;
    min-height: clamp(360px, 32vw, 560px); border-radius: var(--ps-radius-lg); overflow: hidden;
    color: #fff; text-decoration: none; background: var(--ps-night);
    box-shadow: 0 30px 60px -40px rgba(11,22,38,.6);
}
.ps-sector-grid-2 .ps-sector-card { min-height: clamp(320px, 26vw, 460px); }
.ps-sector-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ps-ease); }
.ps-sector-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,18,35,0) 30%, rgba(7,18,35,.88) 100%); transition: background .6s; }
.ps-sector-card:hover img { transform: scale(1.06); }
.ps-sector-body { padding: clamp(24px, 2.4vw, 40px); }
.ps-sector-eyebrow { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #FFD3B8; font-weight: 600; }
.ps-sector-card h3 { margin: 0; font: 700 clamp(30px, 2.8vw, 48px)/1 var(--ps-display); letter-spacing: -.03em; }
.ps-sector-card p:not(.ps-sector-eyebrow) { margin: 14px 0 0; font-size: 16.5px; color: rgba(255,255,255,.82); max-width: 34ch; }
.ps-sector-card .ps-arrow-link { margin-top: 22px; color: #fff; }

/* --------------------------------------------------------------- split */
.ps-split { display: grid; gap: clamp(32px, 4vw, 80px); align-items: center; }
@media (min-width: 1024px) {
    .ps-split { grid-template-columns: 1.05fr 1fr; }
    .ps-split-rev .ps-split-media { order: 2; }
}
.ps-split-media { position: relative; }
.ps-split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ps-radius-lg); box-shadow: 0 40px 80px -50px rgba(11,22,38,.7); }
.ps-split-media-tall img { aspect-ratio: 4 / 3.6; }
.ps-float-badge {
    position: absolute; right: clamp(-10px, -1vw, 0px); bottom: -20px; display: flex; align-items: center; gap: 16px;
    padding: 18px 22px; border-radius: 20px; background: var(--ps-surface); color: var(--ps-ink);
    box-shadow: 0 30px 50px -24px rgba(11,22,38,.45); font-size: 14px; line-height: 1.35; font-weight: 500;
}
.ps-float-num { font: 700 28px/1 var(--ps-display); background: var(--ps-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Two overlapping photos: a large frame and a smaller one set into its corner. */
.ps-duo { position: relative; padding-bottom: 12%; padding-right: 8%; }
.ps-duo figure { margin: 0; overflow: hidden; border-radius: var(--ps-radius-lg); }
.ps-duo img { width: 100%; height: 100%; object-fit: cover; }
.ps-duo-main img { aspect-ratio: 4 / 3.2; }
.ps-duo-inset {
    position: absolute; right: 0; bottom: 0; width: 52%;
    border: 8px solid var(--ps-paper-2); box-shadow: 0 30px 60px -30px rgba(11,22,38,.55);
}
.ps-duo-inset img { aspect-ratio: 16 / 10; }
.ps-feature-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
.ps-feature-list li { display: grid; gap: 2px; padding: 13px 0 13px 40px; border-top: 1px solid var(--ps-line); position: relative; }
.ps-feature-list li::before {
    content: ""; position: absolute; left: 0; top: 16px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--ps-gold-grad); box-shadow: inset 0 0 0 7px var(--ps-paper-2);
}
.ps-feature-list b { font: 600 17.5px/1.3 var(--ps-display); letter-spacing: -.01em; }
.ps-feature-list span { color: var(--ps-muted); font-size: 15.5px; }

.ps-principles { display: grid; gap: 22px 36px; margin-top: 28px; }
@media (min-width: 640px) { .ps-principles { grid-template-columns: 1fr 1fr; } }
.ps-principles h3, .ps-point h3, .ps-steps h3, .ps-method h3 { margin: 0; font: 650 19px/1.3 var(--ps-display); letter-spacing: -.012em; font-weight: 700; }
.ps-principles p, .ps-point p, .ps-steps p, .ps-method p { margin: 8px 0 0; color: var(--ps-muted); font-size: 15.5px; }
.ps-principles > div { padding-top: 16px; border-top: 2px solid var(--ps-ink); }

.ps-points { display: grid; gap: 0; margin-top: 26px; }
.ps-point { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--ps-line); }
.ps-point-num { font: 400 30px/1 var(--ps-serif); font-style: italic; color: var(--ps-orange); }

/* --------------------------------------------------------------- steps */
.ps-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 700px) { .ps-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ps-steps { grid-template-columns: repeat(4, 1fr); } }
.ps-steps li {
    position: relative; padding: clamp(22px, 1.8vw, 32px); border-radius: var(--ps-radius);
    background: var(--ps-surface); border: 1px solid var(--ps-line);
    transition: transform .5s var(--ps-ease), box-shadow .5s var(--ps-ease);
}
.ps-steps li:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(11,22,38,.45); }
.ps-step-num { display: block; margin-bottom: 24px; font: 400 54px/1 var(--ps-serif); font-style: italic; background: var(--ps-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ps-section-dark .ps-steps li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.ps-section-dark .ps-steps h3 { color: #fff; }
.ps-section-dark .ps-steps p { color: rgba(255,255,255,.66); }

/* -------------------------------------------------------------- mosaic */
.ps-mosaic { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.ps-mosaic figure { margin: 0; overflow: hidden; border-radius: var(--ps-radius); }
.ps-mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform 1.2s var(--ps-ease); }
.ps-mosaic figure:hover img { transform: scale(1.05); }
.ps-mosaic .m1 { grid-column: span 2; }
.ps-mosaic .m1 img { aspect-ratio: 16 / 10; }
@media (min-width: 1024px) {
    .ps-mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; height: clamp(440px, 36vw, 680px); }
    .ps-mosaic .m1 { grid-column: 1; grid-row: 1 / span 2; }
    .ps-mosaic img, .ps-mosaic .m1 img { aspect-ratio: auto; }
}

/* ------------------------------------------------------------- gallery */
.ps-gallery-section { padding-block: 0; }
.ps-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.ps-gallery figure { margin: 0; overflow: hidden; }
.ps-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ps-ease); }
.ps-gallery figure:hover img { transform: scale(1.05); }
@media (min-width: 900px) { .ps-gallery { grid-template-columns: repeat(4, 1fr); } .ps-gallery img { aspect-ratio: 1; } }

/* -------------------------------------------------------------- method */
.ps-method { display: grid; gap: 18px; }
@media (min-width: 760px) { .ps-method { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1400px) { .ps-method { grid-template-columns: repeat(4, 1fr); } }
.ps-method article { padding: clamp(22px, 1.8vw, 32px); background: var(--ps-surface); border-radius: var(--ps-radius); border: 1px solid var(--ps-line); }
.ps-method-tag { display: inline-flex; margin-bottom: 20px; padding: 8px 14px; border-radius: 999px; font: 700 14px/1 var(--ps-display); color: #fff; background: var(--ps-gold-grad); }

/* ----------------------------------------------------------------- FAQ */
.ps-faq-wrap { display: grid; gap: 24px; }
@media (min-width: 1024px) { .ps-faq-wrap { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; } .ps-faq-wrap .ps-section-head { position: sticky; top: 120px; } }
.ps-faq { border-top: 1px solid var(--ps-line); }
.ps-faq details { border-bottom: 1px solid var(--ps-line); }
.ps-faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; list-style: none;
    padding: 18px 0; font: 600 clamp(17px, 1.3vw, 20px)/1.35 var(--ps-display); letter-spacing: -.012em;
}
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary svg { flex: none; width: 22px; height: 22px; padding: 9px; border-radius: 50%; background: var(--ps-surface); border: 1px solid var(--ps-line); transition: transform .4s var(--ps-ease), background-color .3s; }
.ps-faq details[open] summary svg { transform: rotate(45deg); background: var(--ps-orange); color: #fff; border-color: transparent; }
.ps-faq summary:focus-visible { outline: 3px solid var(--ps-amber); outline-offset: 4px; border-radius: 6px; }
.ps-faq details p { margin: -4px 0 20px; color: var(--ps-muted); max-width: 68ch; font-size: 16px; }

/* ----------------------------------------------------------------- CTA */
.ps-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; background: var(--ps-night); }
.ps-cta-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,18,35,.55), rgba(7,18,35,.82)); }
.ps-cta-media img { animation: none; transform: none; }
.ps-cta-inner { padding-block: clamp(72px, 8vw, 140px); display: flex; flex-direction: column; align-items: center; }
.ps-cta .ps-display { max-width: 18ch; }

/* -------------------------------------------------------------- footer
   The shared footer (partials/footer) is restyled here to sit full-width
   on the site without touching how it looks inside the app. */
.ps-site .site-foot { margin-top: 0; background: var(--ps-night); border-top: 0; color: rgba(255,255,255,.75); }
.ps-site .site-foot-inner { max-width: 2200px; padding-inline: var(--ps-gutter) !important; padding-top: 52px; }
.ps-site .site-foot-logo { height: 52px; background: #fff; padding: 10px 14px; border-radius: 14px; box-sizing: content-box; }
.ps-site .site-foot-blurb, .ps-site .site-foot-base, .ps-site .site-foot-version { color: rgba(255,255,255,.6) !important; }
.ps-site .site-foot-title { color: #fff !important; }
.ps-site .site-foot-list a { color: rgba(255,255,255,.72) !important; }
.ps-site .site-foot-list a:hover { color: #fff !important; }
.ps-site .site-foot-controls, .ps-site .site-foot-base { border-color: rgba(255,255,255,.1) !important; }
.ps-site .site-foot-logos img { background: #fff; border-radius: 10px; padding: 8px; box-sizing: border-box; }

/* -------------------------------------------------------------- reveal */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ps-ease), transform 1s var(--ps-ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- small phones */
@media (max-width: 480px) {
    body.ps-site { font-size: 16px; }
    .ps-header-inner { gap: 12px; padding-block: 14px; }
    .ps-logo { padding: 6px 10px; }
    .ps-logo img { height: 34px; }
    .ps-header-cta .ps-btn-sm { display: none; }
    .ps-actions .ps-btn { width: 100%; }
    .ps-metrics dd { font-size: 24px; }
    .ps-metrics dt { font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
    .ps-metrics div { padding: 12px 10px; }
    .ps-float-badge { right: 12px; bottom: -22px; padding: 14px 16px; }
    .ps-point { grid-template-columns: 44px 1fr; }
}

@media print { .ps-header, .ps-cta, .ps-scroll-cue { display: none; } [data-reveal] { opacity: 1; transform: none; } }

/* Group websites row, on the dark site footer. */
.ps-site .site-foot-network { border-color: rgba(255,255,255,.1); }
.ps-site .site-foot-network a { border-color: rgba(255,255,255,.12); }
.ps-site .site-foot-network a:hover { border-color: var(--ps-amber); background: rgba(255,255,255,.04); }
.ps-site .site-foot-network-name { color: #fff; }
.ps-site .site-foot-network-host { color: rgba(255,255,255,.55); }
