@charset "UTF-8";
/* =========================================================================
   Primasia 犇亞集團 — Design System  (implements design.md v1.0)
   Source of truth: 犇亞證券_品牌 CI 規範_v1.pdf (P2-P6) + about-max.html
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root{
  /* CI core three */
  --navy:#002349;
  --gold:#BD9A1B;
  --white:#ffffff;
  /* CI secondary row */
  --black:#000000;
  --text:#464646;
  --blue-bright:#1664BF;
  --blue-mid:#4574A4;
  --blue-mid-rgb:69,116,164;   /* same colour, for translucent fills */
  --blue-deep:#073A6F;
  /* derived for web usability */
  --gold-dark:#8F7414;
  --muted:#5c6570;
  --bg:#ffffff;
  --soft:#f3f7fb;
  --line:rgba(0,35,73,.10);
  --container:1280px;
  --radius:20px;
  --shadow:0 10px 30px rgba(0,35,73,.07);
  --shadow-lift:0 18px 40px rgba(0,35,73,.12);
  --font-sans:Carlito,"Noto Sans TC",Arial,sans-serif;
  --font-num:Carlito,"Noto Sans TC",Arial,sans-serif;
  --ease:.25s ease;
}

/* ---------- 2. Reset / base --------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font-num);color:var(--text);background:var(--bg);
     line-height:1.8;font-size:16px;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{margin:0;color:var(--navy);line-height:1.3;font-weight:600;font-family:var(--font-sans)}
p{margin:0 0 1em}
table{border-collapse:collapse}

.container{width:min(var(--container),100% - 80px);margin-inline:auto}

/* numeric contexts -> Carlito, tabular */
.stat-n,.tl-year,.decade-label,.card--year h3,.exp li span:last-child{
  font-family:var(--font-num);font-variant-numeric:tabular-nums}

/* ---------- 3. Accessibility -------------------------------------------- */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;
           padding:10px 18px;z-index:2000}
.skip-link:focus{left:8px;top:8px}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* ---------- 4. Header ---------------------------------------------------- */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.95);
             backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
/* Geometry mirrors .header-container in index.html / style4.css:
   space-between across logo | nav | actions, 15px of vertical padding on the
   bar itself (not the logo), 15px either side of each nav item, and a 5px
   gap under the link text for the underline. */
.header-inner{display:flex;justify-content:space-between;align-items:center;
              gap:24px;padding:15px 0}
/* Height parity with index.html's .header-container.
   There the tallest child is .logo-text — 28px type in the inherited
   line-height:1.6, so a 44.8px line box — giving 44.8 + 15 + 15 = 74.8px.
   Here the global img{display:block} reset collapses the logo to a bare 28px,
   which made the bar ~59px. min-height restores the same 44.8px box, so the
   two headers measure the same. It also clears the 44px mobile toggle, so the
   bar keeps one height at every width. */
.brand{display:flex;align-items:center;padding:0;min-height:calc(28px * 1.6)}
.brand img{height:auto}
.nav ul{display:flex;align-items:center}
.nav li{margin:0 15px}
.nav a{font-size:16px;font-weight:500;color:var(--navy);padding-bottom:5px;
       position:relative;white-space:nowrap}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
              background:var(--gold);transform:scaleX(0);transform-origin:left;
              transition:transform var(--ease)}
.nav a:hover::after,.nav a.is-active::after{transform:scaleX(1)}
.nav a.is-active{color:var(--gold-dark)}
.header-actions{display:flex;align-items:center;gap:14px;margin-left:20px}
.lang{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--navy);font-weight:500}
.lang a{padding:4px 8px;border-radius:4px}
.lang a.is-active{background:var(--navy);color:#fff}
.menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--line);background:#fff;
             border-radius:8px;color:var(--navy);font-size:18px;cursor:pointer;
             align-items:center;justify-content:center}

/* ---------- 5. Sections -------------------------------------------------- */
.section{padding:72px 0}
.section--soft{background:var(--soft)}
/* Full-bleed spacer band, one 1.8 line tall (16px base -> 28.8px).
   Used on about / about-en between the leadership and governance sections. */
.section-band{height:1.8em;background:#F3F6FB}

/* ---- invest / invest-en: financial report archive -------------------------
   Ported from the supplied mockup and scoped to .page-invest so the shared
   card styles elsewhere are untouched. The mockup's .brand rule is deliberately
   NOT carried over — that name already belongs to the site header, and its
   "latest report" hero block is unused here.
   -------------------------------------------------------------------------- */
.page-invest{background:#f5f2eb}
.page-invest .page{width:min(1180px,calc(100% - 64px));margin:auto;padding:90px 0 120px;
                   color:#20252b}
.page-invest .archive-head{display:flex;justify-content:space-between;align-items:end;
                           margin-bottom:20px}
.page-invest .archive-head h3{margin:0;color:var(--navy);text-align: center;
                              font:600 34px/1.3  var(--font-num)}
.page-invest .archive-head p{margin:7px 0 0;color:#838a90;font:16px var(--font-num)}
.page-invest .note{font-size:16px;color:#8a9095}
.page-invest .list{background:#fff;border-top:1px solid var(--navy)}
.page-invest .report{display:grid;grid-template-columns:130px 1fr 150px;align-items:center;
                     min-height:78px;padding:0 26px;border-bottom:1px solid #d9d6cf;
                     transition:background .2s ease}
.page-invest .report:hover{background:#f0ece3}
.page-invest .year{color:var(--navy);font:24px Georgia,serif}
.page-invest .title{font-size:16px}
.page-invest .action{justify-self:end;display:flex;align-items:center;gap:18px;
                     color:var(--navy);font-size:10px;letter-spacing:.1em;white-space:nowrap}
.page-invest .tag{border:1px solid #c8c5bd;padding:5px 7px;color:#737b82;font-size:8px;
                  font-style:normal}
.page-invest .arrow{font-size:16px;transition:transform .2s ease,color .2s ease}
.page-invest .report:hover .arrow{transform:translateX(4px);color:var(--gold)}
@media (max-width:720px){
  .page-invest .page{width:calc(100% - 36px);padding:60px 0 80px}
  .page-invest .report{grid-template-columns:80px 1fr;padding:14px 16px;row-gap:6px}
  .page-invest .action{grid-column:2;justify-self:start}
  .page-invest .archive-head{display:block}
  .page-invest .note{margin-top:10px}
}

/* ---- about / about-en: match about-max.html's own inline layout -----------
   These pages must render exactly like their -max source. The rules below are
   the deltas between that source's <style> block and this stylesheet, scoped to
   .page-about so the other 42 pages are untouched. The site-header is
   deliberately excluded — it stays on the shared design.
   -------------------------------------------------------------------------- */
.page-about .section{padding:0}
.page-about section[id]{margin-top:0px}
.page-about .section-head h2{padding-top:0px}
.page-about .section-head p{margin-top:16px}
/* the source shows the milestone underline; the shared sheet hides it */
.page-about #milestones .section-head h2::after{width:100%;left:50%;
                                                transform:translateX(-50%)}
/* .team-grid is absent from the shared sheet entirely, so the three director /
   management grids were falling back to stacked blocks */
.page-about .team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.page-about .member-body{padding:0}
/* about-en-max.html carries two extra offsets the Chinese source does not */
[lang="en"] .page-about .section-head{margin-top:20px}
[lang="en"] .page-about .section-head p{margin-top:20px}
@media (max-width:1024px){
  .page-about .team-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  .page-about .section{padding:64px 0}
  .page-about .team-grid{grid-template-columns:1fr}
}
.section--tight{padding-top:0}
section[id]{scroll-margin-top:130px}

.section-head{max-width:820px;margin:0 auto 48px;text-align:center}
.section-head h2{font-size:34px;position:relative;display:inline-block}
.section-head h2::after{content:"";position:absolute;width:100%;height:3px;
                        background:var(--gold);bottom:-10px;left:50%;transform:translateX(-50%)}
.section-head p{margin:26px auto 0;color:var(--navy)}
.eyebrow{font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-dark);
         font-weight:600;margin-bottom:12px}

/* group sub-heading inside a section (台灣 / 香港 …) —
   any bare h3 sitting directly in a section container is a group label */
.group-label,
.section > .container > h3{font-size:21px;margin:30px 0 15px 0;padding-left:14px;
                           border-left:3px solid var(--gold);scroll-margin-top:130px}
.group-label + .card-grid,
.section > .container > h3 + .card-grid{margin-bottom:56px}
.section > .container > .card-grid + h3{margin-top:56px}

.lede{max-width:900px;margin-inline:auto}
.lede p{font-size:16px;color:var(--muted);margin-bottom:1.2em}

/* ---------- 6. Hero ------------------------------------------------------ */
.hero{background:radial-gradient(120% 140% at 15% 0%,var(--blue-deep) 0%,var(--navy) 60%);
      color:#fff;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;right:-160px;top:-160px;width:520px;height:520px;
             border-radius:50%;background:rgba(189,154,27,.14)}
.hero-inner{position:relative;z-index:1;padding:96px 0 72px;max-width:760px}
.hero .eyebrow{color:var(--gold)}
.hero h1{color:#fff;font-size:52px;letter-spacing:-.01em;line-height:1.2;margin-bottom:20px}
.hero p{font-size:18px;color:rgba(255,255,255,.86);max-width:640px}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.hero-radius{border-radius:var(--radius);box-shadow:var(--shadow)}

/* ---- Home hero gallery: restored to the original site ------------------
   Ported verbatim from style4.css (tokens expanded to literals) at the
   client's request. Centred overlay, navy 85% panel with a gold left bar,
   1.5s cross-fade, round indicators. Deliberately NOT on the design-system
   hero treatment — this block is an exception like the footer.
   The one deviation: style4.css carried `margin-top:80px` to clear the old
   fixed header. The opus header is sticky and already in flow, so that value
   would open an 80px gap; it is dropped here.
   ---------------------------------------------------------------------- */
.hero-gallery{height:90vh;position:relative;overflow:hidden}
.gallery-slide{display:none;position:absolute;top:0;left:0;width:100%;height:100%;
               background-size:cover;background-position:center;opacity:0;
               transition:opacity 1.5s ease-in-out}
.gallery-slide.active{display:block;opacity:1}
.hero-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
              text-align:center;color:#fff;width:90%;max-width:900px;z-index:10}
.tagline-box{background:rgba(0,51,102,.85);padding:30px 40px;border-left:5px solid #D4AF37;
             max-width:800px;margin:0 auto;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.tagline-box h1{font-size:3.2rem;color:#fff;margin-bottom:20px;line-height:1.2}
.tagline-box p{font-size:1.4rem;margin-bottom:30px;max-width:700px;
               margin-left:auto;margin-right:auto}
.gallery-indicators{position:absolute;bottom:30px;left:0;right:0;display:flex;
                    justify-content:center;z-index:10}
.indicator{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.5);
           margin:0 8px;cursor:pointer;transition:all .3s ease}
.indicator.active{background:#fff;transform:scale(1.2)}
@media (max-width:992px){
  .tagline-box h1{font-size:2.8rem}
  .tagline-box p{font-size:1.2rem}
}
@media (max-width:768px){
  .tagline-box h1{font-size:2.2rem}
  .tagline-box p{font-size:1.1rem}
}

/* page banner (interior pages, no photo) */
.page-hero{background:radial-gradient(120% 160% at 12% 0%,var(--blue-deep) 0%,var(--navy) 65%);
           color:#fff;position:relative;overflow:hidden}
.page-hero::after{content:"";position:absolute;right:-140px;top:-180px;width:440px;height:440px;
                  border-radius:50%;background:rgba(189,154,27,.13)}
.page-hero-inner{position:relative;z-index:1;padding:76px 0 64px;max-width:820px}
.page-hero h1{color:#fff;font-size:42px;margin-bottom:16px;position:relative;padding-bottom:20px}
.page-hero h1::after{content:"";position:absolute;left:0;bottom:0;width:64px;height:3px;
                     background:var(--gold)}
.page-hero p{font-size:17px;color:rgba(255,255,255,.86);margin:0;max-width:680px}

/* ---------- 7. Stats ----------------------------------------------------- */
.stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
       border-top:1px solid rgba(255,255,255,.18);padding:28px 0 40px}
.stat-n{font-size:34px;font-weight:700;color:var(--gold);line-height:1.2}
.stat-l{font-size:16px;color:rgba(255,255,255,.78)}

/* ---------- 8. Buttons --------------------------------------------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;
     padding:0 26px;border-radius:999px;font-size:15px;font-weight:600;
     transition:transform var(--ease),background-color var(--ease),color var(--ease),
                box-shadow var(--ease),border-color var(--ease)}
.btn-primary{background:var(--gold);color:#fff}
.btn-primary:hover{background:#a9871a;transform:translateY(-2px)}
/* A card CTA repeats 9x on services and 20+ on research. Solid gold that many
   times turns the accent into a background — against the 3% rule in design.md
   §1. Outline at rest, filling gold only on the card you are pointing at. */
.card .btn{background:transparent;color:var(--gold-dark);
           border:1px solid rgba(189,154,27,.55);min-height:42px;padding:0 22px;
           font-size:14.5px;letter-spacing:.02em}
.card .btn::after{content:"\f054";font-family:"Font Awesome 6 Free";font-weight:900;
                  font-size:10px;transition:transform var(--ease)}
.card .btn:hover{background:var(--gold);border-color:var(--gold);color:#fff}
.card .btn:hover::after{transform:translateX(3px)}
.btn-ghost{border:1px solid rgba(255,255,255,.6);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.12);transform:translateY(-2px)}
.btn-outline{border:1px solid var(--gold);color:var(--gold-dark);background:transparent}
.btn-outline:hover{background:var(--gold);color:#fff;transform:translateY(-2px)}

/* ---------- 9. Cards ----------------------------------------------------- */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.card-grid--2{grid-template-columns:repeat(2,1fr)}
.card-grid--3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.card-grid--4{grid-template-columns:repeat(4,1fr)}

/* Count-driven row: the cards in a group divide the row evenly between them and
   stay centred, instead of leaving a hole where a fixed grid runs out of items.
   Track width is the container minus the gaps; card padding is interior so it
   does not enter the division. Capped at a third so a lone card doesn't stretch
   across the full row — every group on the page keeps the same card size. */
.card-grid--fit{display:flex;flex-wrap:wrap;justify-content:center;gap:28px;--fit-cols:3}
/* Basis is the exact track width, so the line breaks after precisely
   --fit-cols cards and every card is the same width. A grow-from-260px basis
   let 4 narrow cards share a row instead of 3. */
.card-grid--fit > .card{
  flex:0 0 calc((100% - (var(--fit-cols) - 1) * 28px) / var(--fit-cols));
  max-width:calc((100% - (var(--fit-cols) - 1) * 28px) / var(--fit-cols))}
/* left-aligned variant: same equal-width tracks, short final row stays left */
.card-grid--fit.is-left{justify-content:flex-start}
/* Count-aware row: thirds by default (so never more than three per row), but a
   group of exactly two splits the row in half instead of leaving a third empty.
   Quantity query rather than :has(), so it works in older browsers too.
   Confined to >=769px: it overrides the --fit-cols track width, so leaving it
   unscoped would keep two cards side by side on a phone, where the breakpoints
   below set --fit-cols to 1. */
@media (min-width:769px){
  .card-grid--fit.is-auto > .card:first-child:nth-last-child(2),
  .card-grid--fit.is-auto > .card:first-child:nth-last-child(2) ~ .card{
    flex:0 0 calc((100% - 28px) / 2);max-width:calc((100% - 28px) / 2)}
}
/* wider cards (photo tiles) cap at half a row rather than a third */
.card-grid--fit.is-2up{--fit-cols:2}
/* One frame at the group's own photo ratio (565x300 = 1.88), filled edge to
   edge. The three landscape shots are exactly this ratio, so they sit
   uncropped; the two portrait concert posters (0.70) are trimmed off the top
   AND bottom equally, keeping their middle — rather than being letterboxed or
   cut only from one side. Centre-anchored here, so it overrides the site-wide
   top pin deliberately. */
.card-grid--fit.is-2up .card-image{background:var(--soft);overflow:hidden;line-height:0}
.card-grid--fit.is-2up .card-image img{width:100%;height:auto;aspect-ratio:565/300;
                                       object-fit:cover;object-position:center center;
                                       transform-origin:center center}

.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
      box-shadow:var(--shadow);display:flex;flex-direction:column;
      transition:transform var(--ease),box-shadow var(--ease)}
@media (hover:hover){.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lift)}}
.card-image{overflow:hidden}
/* Pin the crop to the top edge everywhere: when a photo is taller than its
   frame, lose the floor rather than the subject's head. */
.card-image img{width:100%;aspect-ratio:565/240;object-fit:cover;
                object-position:center top;transform-origin:center top;
                transition:transform .4s ease}
@media (hover:hover){.card:hover .card-image img{transform:scale(1.04)}}
.card-content{padding:26px 26px 28px;display:flex;flex-direction:column;flex:1 1 auto}
/* fit-content shrinks the h3 to its own text so the rule below matches the
   title's length; max-width:100% keeps a long title wrapping inside the card,
   in which case the rule spans the card and still tracks the text. */
.card:not(.card--news) .card-content h3{font-size:20px;line-height:1.45;margin-bottom:12px;
                 position:relative;padding-bottom:14px;
                 width:-webkit-fit-content;width:fit-content;max-width:100%}
/* hairline under each card title — the "line, not block" language from the CI */
.card:not(.card--news) .card-content h3::after{content:"";position:absolute;left:0;bottom:0;
                        width:100%;height:2px;background:var(--gold)}
.card-content p{font-size:16px;color:var(--muted);margin-bottom:22px}
.card-content .btn{margin-top:auto;align-self:flex-start}

/* Two-line title clamp.
   The clamp lives on an inner span, not on the h3 itself: the h3 is a flex item
   carrying width:fit-content (so the gold rule can hug a short title), and
   -webkit-line-clamp is unreliable in that combination — a 3-line title slipped
   through. The span is a plain block, where the clamp behaves. max-height is a
   hard stop, so even if line-clamp is ignored the third line is still clipped;
   the ellipsis comes from line-clamp where it is honoured. */
.card-content h3 > .t{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;
                      -webkit-box-orient:vertical;overflow:hidden;
                      max-height:calc(2 * 1.45em)}
/* Research grid: reserve both lines so every title block is the same height
   and the gold rules line up across the row. */
.card-grid--fit.is-fixed-title > .card .card-content h3 > .t{
  min-height:calc(2 * 1.45em)}
/* …and let the gold rule run the full width of the content column instead of
   hugging the title text. The ::after is already 100% of the h3, so widening
   the h3 from fit-content to the full column is all that is needed. */
.card-grid--fit.is-fixed-title > .card .card-content h3{width:100%;max-width:100%}
.card-grid > .card:not(.card--news) .card-content p,
.card-grid--fit:not(.is-2up) > .card .card-content p{
  font-size:16px;
  min-height:calc(4 * 1.8em);
  display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
@media (hover:hover){
  .card-grid > .card:not(.card--news):hover,
  .card-grid--fit > .card:hover{border-color:rgba(189,154,27,.45)}
}

/* card variants */
/* News thumbs: one uniform 4:3 frame at every breakpoint, cropped from the sides
   and the bottom only. Pinning object-position to the top means a portrait photo
   loses its floor rather than the subject's head, while a panorama still trims
   evenly left and right. 4:3 matches the original site's 406x300 box. */
/* The 4:3 frame lives on the img, not the wrapper. A percentage height on the
   img cannot resolve when its parent is sized only by aspect-ratio, so the
   picture fell back to its natural height and left a gap beneath it. Sizing the
   img directly means the box it occupies IS the frame — no gap is possible. */
.card--news .card-image{overflow:hidden;background:var(--soft);line-height:0}
.card--news .card-image a{display:block}
.card--news .card-image .imghome{width:100%;height:auto;aspect-ratio:800/700;
                            object-fit:cover;object-position:center center;
                            transform-origin:center center}
.card--news .card-image .img2{width:100%;height:auto;aspect-ratio:565/540;
                            object-fit:cover;object-position:center bottom;
                            transform-origin:center center}
.card--news .card-image img{width:100%;height:auto;aspect-ratio:565/540;
                            object-fit:cover;object-position:center top;
                            transform-origin:center top}
.card--news .card-date{font-family:var(--font-num);font-size:20px;font-weight:600;
                       color:var(--gold-dark);letter-spacing:.06em;margin-bottom:8px;display:block}
.card--news .card-content{padding:24px}
.card--news .card-content a{display:block}
/* Every news card is the same height: a 4:3 image plus a text block sized to a
   fixed three lines. Headlines here run from 30 to 130 characters, so without a
   clamp the cards in one grid end up wildly different heights. */
.card--news h3{font-size:19px;margin:0;line-height:1.3;min-height:1.5em;
               display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;
               overflow:hidden}

/* Compact icon tile (ESG reports, financial statements, job links).
   The source icons are 80x80 — render them at native size like the original
   site did. Scaling them to card width upsamples ~4x and looks ragged. */
.card--tile{text-align:center;align-items:center;padding:40px 30px}
.card--tile .card-image{width:80px;height:80px;flex:0 0 auto;margin:0 auto 25px;
                        border-radius:50%;overflow:hidden;display:flex;
                        align-items:center;justify-content:center}
.card--tile .card-image img{width:80px;height:80px;max-width:80px;aspect-ratio:1/1;
                            object-fit:contain}
.card--tile .card-content{padding:0;align-items:center}
/* legacy tiles put the heading straight inside the card, with no .card-content */
.card--tile > h3,
.card--tile h3{margin:0;font-size:21px;padding:0}
.card--tile a{transition:color var(--ease)}
.card--tile a:hover{color:var(--gold-dark)}
/* no hover zoom on icons — it would upscale them past their native 80px */
@media (hover:hover){.card--tile:hover .card-image img{transform:none}}

/* portrait card (leadership) */
.member-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;
             text-align:center;box-shadow:var(--shadow);
             transition:transform var(--ease),box-shadow var(--ease)}
@media (hover:hover){.member-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(0,35,73,.13)}}
.member-card .member-photo img{width:150px;height:150px;border-radius:50%;object-fit:cover;
             object-position:top center;margin:0 auto 18px;aspect-ratio:1/1;border:4px solid #fff;
             box-shadow:0 6px 18px rgba(0,35,73,.14)}
.member-name{font-size:20px;margin-bottom:4px}
.member-position{font-size:18px;color:var(--gold-dark);font-weight:600;margin-bottom:14px}
.exp-label{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
           color:var(--navy);margin-bottom:8px;text-align:center}
.exp{text-align:left;margin-top:6px}
.exp li{display:flex;gap:12px;justify-content:space-between;font-size:14.5px;color:var(--muted);
        padding:7px 0;border-bottom:1px dashed var(--line)}
.exp li:last-child{border-bottom:0}
.exp li span:first-child{flex:1 1 auto}
.exp li span:last-child{flex:0 1 auto;text-align:right;color:var(--navy)}

/* ---------- 10. Split (image + text) ------------------------------------- */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.split-media img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow)}
/* inline-block already shrinks the h2 to its own text, so the rule can be a
   plain 100% and match the heading's length instead of a fixed 64px */
.split-body h2{font-size:34px;position:relative;display:inline-block;margin-bottom:28px;
               max-width:100%}
.split-body h2::after{content:"";position:absolute;left:0;bottom:-10px;width:100%;height:3px;
                      background:var(--gold)}
.split-body p{font-size:16px;color:var(--muted)}
.split--reverse .split-media{order:2}

/* ---------- 11. Leadership profile --------------------------------------- */
.profile{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:56px;align-items:center}
.profile + .profile{margin-top:72px;padding-top:72px;border-top:1px solid var(--line)}
.profile-media img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow)}
.profile-role{font-size:24px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-dark);
              font-weight:600;margin-bottom:10px}
.profile-name{font-size:30px;margin-bottom:24px}
.profile-group + .profile-group{margin-top:28px}
.profile-group h4{font-size:17px;margin-bottom:12px;padding-left:14px;border-left:3px solid var(--gold)}
.profile-group li{font-size:16px;color:var(--muted);padding:5px 0 5px 18px;position:relative}
.profile-group li::before{content:"";position:absolute;left:0;top:16px;width:6px;height:1px;
                          background:var(--gold)}

/* ---------- 12. Values --------------------------------------------------- */
.values{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:56px}
.value{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 26px;
       text-align:center;box-shadow:var(--shadow);
       transition:transform var(--ease),box-shadow var(--ease)}
@media (hover:hover){.value:hover{transform:translateY(-4px);box-shadow:var(--shadow-lift)}}
.value h3{font-size:19px;margin-bottom:10px}
.value h3::after{content:"";display:block;width:28px;height:2px;background:var(--gold);margin:10px auto 0}
.value p{font-size:15px;color:var(--muted);margin:0}

/* ---------- 13. Timeline ------------------------------------------------- */
#milestones{border-block:1px solid var(--line)}
#milestones .section-head{text-align:left;margin-inline:0;border-left:3px solid var(--gold);
                          padding-left:24px}
#milestones .section-head p{margin-inline:0}
#milestones .section-head h2::after{left:0;transform:none;width:0}
.timeline{position:relative}
.timeline-decade{padding:36px 0;border-top:1px solid var(--line);display:grid;
                 grid-template-columns:200px minmax(0,1fr);gap:40px}
.decade-label{font-size:28px;line-height:1.3;font-weight:600;color:var(--gold)}
.decade-label span{display:block;font-size:12px;letter-spacing:.2em;color:var(--gold-dark);margin-top:6px}
.decade-items{border-left:1px solid var(--line);padding-left:28px;display:grid;gap:22px}
.tl-item{position:relative}
.tl-item::before{content:"";position:absolute;left:-33px;top:11px;width:9px;height:9px;
                 background:var(--gold);border-radius:50%}
.tl-year{font-size:20px;color:var(--navy);font-weight:600;margin-bottom:2px}
.tl-text{font-size:16px;color:var(--muted)}

/* ---------- 14. Article (news detail) ------------------------------------ */
.article{max-width:900px;margin-inline:auto}
.article-media img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:36px}
.article h2{font-size:30px;position:relative;display:inline-block;margin-bottom:34px}
.article h2::after{content:"";position:absolute;left:0;bottom:-10px;width:64px;height:3px;
                   background:var(--gold)}
.article p{font-size:16px;color:var(--muted);line-height:2}
.article-back{margin-top:48px;padding-top:28px;border-top:1px solid var(--line)}

/* ---------- 15. Footer ---------------------------------------------------
   Deliberate exception to this design system: the footer keeps the original
   site's appearance (ported verbatim from style4.css, tokens inlined) at the
   client's request. Markup therefore also stays legacy: footer >
   .footer-content > .footer-column, with inline-styled spans.
   ------------------------------------------------------------------------ */
footer{background:#1A1A1A;color:#fff;padding:70px 0 30px}
.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
                gap:40px;margin-bottom:50px}
.footer-column h3{color:#fff;font-size:1.5rem;margin-bottom:25px;position:relative}
.footer-column h3::after{content:'';position:absolute;width:50px;height:2px;background:#D4AF37;
                         bottom:-8px;left:0}
.footer-column ul{list-style:none}
.footer-column ul li{margin-bottom:12px}
.footer-column ul li a{color:#ccc;text-decoration:none;transition:all .3s ease}
.footer-column ul li a:hover{color:#fff;padding-left:5px}
.footer-column p{color:#ccc;margin-bottom:20px}
.social-links{display:flex;gap:15px;margin-top:20px}
.social-links a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;
                background:rgba(255,255,255,.1);border-radius:50%;color:#fff;transition:all .3s ease}
.social-links a:hover{background:#D4AF37;transform:translateY(-5px)}
.copyright{text-align:center;padding-top:30px;border-top:1px solid rgba(255,255,255,.1);
           color:#aaa;font-size:.9rem}
.copyright p{margin:0}

/* ---------- 16. Responsive ----------------------------------------------- */
@media (max-width:1180px){
  /* Anchored to the header rather than a hard-coded 64px: the bar's height now
     comes from its 15px padding plus its tallest child, so it is no longer a
     fixed number. .site-header is sticky, so it is the containing block. */
  .nav{position:absolute;top:100%;left:0;right:0;background:#fff;
       border-bottom:1px solid var(--line);box-shadow:0 18px 40px rgba(0,35,73,.12);
       display:none;max-height:80vh;overflow-y:auto}
  .nav.is-open{display:block}
  .nav ul{flex-direction:column;align-items:stretch;padding:8px 40px 20px}
  .nav li{margin:0}
  .nav a{display:block;padding:14px 0;border-bottom:1px solid var(--line);width:100%}
  .nav a::after{display:none}
  .menu-toggle{display:inline-flex}
  /* match the original's flex-start + 50px logo-to-nav gap at narrow widths */
  .header-inner{justify-content:flex-start;gap:50px}
  .header-actions{margin-left:auto}
}
@media (max-width:1024px){
  .card-grid,.card-grid--4{grid-template-columns:repeat(2,1fr)}
  .card-grid--fit{--fit-cols:2}
  .values{grid-template-columns:repeat(2,1fr)}
  .profile,.split{grid-template-columns:1fr;gap:32px}
  .split--reverse .split-media{order:0}
  .hero h1{font-size:38px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
}
@media (max-width:768px){
  .container{width:calc(100% - 40px)}
  .section{padding:64px 0}
  .hero-inner{padding:64px 0 48px}
  .page-hero-inner{padding:56px 0 48px}
  .hero h1{font-size:32px}
  .page-hero h1{font-size:30px}
  .hero p,.page-hero p{font-size:16px}
  .stats{grid-template-columns:repeat(2,1fr);gap:18px}
  .section-head h2,.split-body h2{font-size:26px}
  .article h2{font-size:24px}
  .card-grid,.card-grid--2,.card-grid--4{grid-template-columns:1fr}
  .card-grid--fit,.card-grid--fit.is-2up{--fit-cols:1}
  .values{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .brand{padding-right:12px}
  .brand img{width:180px}
  .group-label{font-size:19px}
  .timeline-decade{grid-template-columns:1fr;gap:20px}
  .decade-items{padding-left:22px}
  .tl-item::before{left:-27px}
  .member-card .member-photo img{width:128px;height:128px}
}

/* ---------- 17. Motion preference ---------------------------------------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important;
                       scroll-behavior:auto !important}
}
