/* generated by tools/port_cases.py from portfolio-mining/showcase/2026-gesco-group/index.html. Do not edit here. */
@font-face { font-family: "Tajawal"; src: url("/assets/fonts/Tajawal-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/assets/fonts/Tajawal-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/assets/fonts/Tajawal-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
    --gold:#BF9F5B;          /* fill of the official GESCO GROUP logo file */
    --gold-ink:#86692F;      /* the same gold, darkened for small text on light grounds */
    --night:#001834;
    --night-2: #1C1A15;
    --paper:#F6F2EA;
    --ink:#1E1C18;
    --ink-soft:#5F5A50;
    --line:rgba(30, 28, 24, .13);
    --navy:#0B455B;          /* GESCO trading */
    --cyan:#65C8CF;
    --green:#168241;         /* GESCO environmental */
    --blue:#0679A0;
    --gutter:clamp(16px, 4vw, 48px);
    --wrap:1240px;
    --r:6px;
  }
  * { box-sizing:border-box; }
  html { -webkit-text-size-adjust:100%; }
  body {
    margin:0; background:#FFFFFF; color:var(--ink);
    font-family: "Tajawal", "Poppins", Tahoma, sans-serif;
    font-size:17px; line-height:1.95; letter-spacing:0;
  }
  img { display:block; max-width:100%; height:auto; }
  a { color:inherit; }
  h1, h2, h3 { line-height:1.4; font-weight:700; margin:0; text-wrap:balance; letter-spacing:0; }
  p { margin:0; text-wrap:pretty; }
  figure { margin:0; }
  figcaption { text-wrap:balance; }
  .wrap { width:100%; max-width:calc(var(--wrap) + 2 * var(--gutter)); margin:0 auto; padding:0 var(--gutter); }
  .en { direction:ltr; unicode-bidi:isolate; }
  .nw { white-space:nowrap; }
  dd.num, .idx.num, .yr.num, .sub p.num { text-align:right; }
  .num { font-variant-numeric:tabular-nums; direction:ltr; unicode-bidi:isolate; white-space:nowrap; }

  /* ---------- hero ---------- */
  .hero { position:relative; background:var(--night); color:#fff; overflow:hidden; }
  .hero::before { content:""; position:absolute; inset:0; pointer-events:none;
    background:radial-gradient(60% 55% at 50% 42%, rgba(191,159,91,.13), rgba(191,159,91,0) 70%); }
  .hero__bar { position:relative; display:flex; justify-content:space-between; align-items:center; gap:16px;
    padding-block:26px; font-size:14px; color:rgba(255,255,255,.7); line-height:1.9; }
  .hero__bar strong { color:#fff; font-weight:500; }
  .hero__bar a { color:#fff; text-decoration:none; }
  .hero__stage { position:relative; display:grid; place-items:center; padding-block:clamp(64px, 12vw, 160px) clamp(44px, 7vw, 96px); }
  .hero__logo { width:min(760px, 78%); }
  .hero__copy { position:relative; text-align:center; max-width:780px; margin:0 auto; padding-bottom:clamp(44px, 6vw, 76px); }
  .hero__copy h1 { font-size:clamp(32px, 4.6vw, 54px); }
  .hero__copy h1 span { display:block; margin-top:4px; font-size:.52em; font-weight:500; color:var(--gold); line-height:1.6; }
  .hero__copy p { margin-top:14px; font-size:clamp(16px, 1.7vw, 19px); color:rgba(255,255,255,.78); }
  .meta { position:relative; display:grid; grid-template-columns:repeat(4, 1fr); border-top:1px solid rgba(191,159,91,.28); }
  .meta div { padding:22px 0 26px; padding-inline-end:20px; }
  .meta div + div { padding-inline-start:22px; border-inline-start:1px solid rgba(191,159,91,.28); }
  .meta dt { font-size:13px; color:var(--gold); line-height:1.9; }
  .meta dd { margin:2px 0 0; font-size:16px; font-weight:500; line-height: 1.9; }

  /* ---------- sections ---------- */
  section { padding-block:clamp(64px, 9vw, 128px); }
  .head { display:grid; grid-template-columns:1fr 1.25fr; gap:clamp(20px, 5vw, 72px); align-items:end; margin-bottom:clamp(32px, 5vw, 56px); }
  .head .idx { display:block; font-size:14px; font-weight:500; color:var(--gold-ink); line-height:1.9; margin-bottom:6px; text-align:right; }
  .head h2 { font-size:clamp(30px, 4vw, 48px); }
  .head p { color:var(--ink-soft); font-size:17px; max-width:580px; text-wrap:balance; }
  .head .brand { height:clamp(30px, 3.4vw, 40px); width:auto; margin-bottom:18px; }
  .more { display:inline-block; margin-top:16px; font-size:15px; font-weight:500; color:var(--navy);
    text-decoration:none; border-bottom:1px solid currentColor; line-height: 1.9; }
  .more:hover { color:#0F6E8C; }
  .dark { background:var(--night); color:#fff; }
  .dark .head .idx { color:var(--gold); }
  .dark .head p { color:rgba(255,255,255,.72); }
  .tint { background:var(--paper); }
  .sub { margin:clamp(48px, 7vw, 88px) 0 18px; display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap; }
  .sub h3 { font-size:clamp(20px, 2vw, 24px); }
  .sub p { font-size:15px; color:var(--ink-soft); }
  .head + .sub, .sub:first-child { margin-top:0; }

  /* frames + captions */
  .frame { background:var(--paper); border-radius:var(--r); overflow:hidden; }
  .tint .frame { background:#fff; }
  .frame--pad { padding:clamp(18px, 3.2vw, 40px); display:grid; place-items:center; }
  .frame--white { background:#fff; box-shadow:inset 0 0 0 1px var(--line); }
  .frame img { width:100%; }
  .cap { margin-top:10px; font-size:15px; line-height: 1.9; }
  .cap small { display:block; font-size:13px; color:var(--ink-soft); line-height: 1.9; }
  .tag { display:inline-block; font-size:12px; font-weight:700; line-height:1.9; padding:0 .7em; border-radius:3px; margin-inline-end:.5em; vertical-align:.08em; white-space:nowrap; }
  .tag--real { background:var(--ink); color:#fff; }
  .tag--file { background:#EFE6D2; color:#6E5524; }
  .tag--scene { background:rgba(255,255,255,.14); color:#fff; }
  .tag--light { background:#E9EEF0; color:#2C4650; }

  .g2 { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; }
  .g3 { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
  .g2 + .g2, .g2 + .g3, .g3 + .g3, .g3 + .g2, .wide + .g2, .wide + .g3 { margin-top:14px; }
  .span2 { grid-column:span 2; }
  .stretch { display:flex; flex-direction:column; }
  .stretch .frame { flex:1; }

  /* 01 brands */
  .brands { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
  .brands figure { display:flex; flex-direction:column; }
  .brands .mark { aspect-ratio:4 / 3; display:grid; place-items:center; border-radius:var(--r); padding:12%; }
  .brands .mark--night { background:var(--night); }
  .brands .mark--white { background:#fff; box-shadow:inset 0 0 0 1px var(--line); }
  .brands figcaption { padding-top:16px; }
  .brands h3 { font-size:19px; }
  .brands h3 small { display:block; font-size:14px; font-weight:500; color:var(--ink-soft); line-height:1.8; }
  .brands p { margin-top:6px; font-size:15px; color:var(--ink-soft); line-height:1.9; }

  /* 02 group logo */
  .gl { display:grid; grid-template-columns:1.35fr 1fr; gap:clamp(24px, 5vw, 72px); align-items:center; }
  .gl__panel { background:#fff; box-shadow:inset 0 0 0 1px var(--line); border-radius:var(--r); aspect-ratio:4 / 3; display:grid; place-items:center; }
  .gl__panel img { width:70%; }
  .lines { list-style:none; margin:0; padding:0; counter-reset:l; }
  .lines li { position:relative; padding:18px 0; padding-inline-start:44px; border-top:1px solid var(--line); font-size:17px; line-height:1.95; text-wrap:pretty; }
  .lines li:last-child { border-bottom:1px solid var(--line); }
  .lines li::before { counter-increment:l; content:"0" counter(l); position:absolute; inset-inline-start:0; top:20px;
    font-size:13px; font-weight:700; color:var(--gold-ink); line-height:1.9; }
  .swatch { display:grid; grid-template-columns:auto 1fr; gap:18px; align-items:center; margin-top:26px; }
  .swatch i { display:block; width:88px; height:88px; border-radius:var(--r); background:var(--gold); }
  .swatch b { display:block; font-size:17px; }
  .swatch span { display:block; font-size:14px; color:var(--ink-soft); line-height: 1.9; }

  /* scenes */
  .scenes { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; }
  .scenes .wide { grid-column:1 / -1; }
  .scenes img { width:100%; border-radius:var(--r); }
  .scenes figcaption { margin-top:10px; font-size:15px; line-height: 1.9; color:rgba(255,255,255,.76); }

  /* evolution strip */
  .evo { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
  .evo figure { display:flex; flex-direction:column; }
  .evo .frame { flex:1; aspect-ratio:16 / 9; display:grid; place-items:center; padding:9%; }
  .evo .yr { display:block; font-size:13px; font-weight:700; color:var(--gold-ink); line-height:1.9; }
  .evo .old { opacity:.82; }

  /* pages (profiles) */
  .apps .frame { aspect-ratio:4 / 5; flex:none; }
  .apps .frame img { width:100%; height:100%; object-fit:cover; }
  .apps .frame--pad img { width:auto !important; height:86%; object-fit:contain; }
  .pages .frame { background:transparent; box-shadow:0 1px 2px rgba(0, 24, 52, .08), 0 10px 26px rgba(0, 24, 52, .08); }

  /* products */
  .prod .frame { background:#F4F4F2; }
  .cats .frame { aspect-ratio:1400 / 990; background:#fff; display:grid; place-items:center; }
  .cats .frame img { width:100%; height:100%; object-fit:contain; }
  .uni .frame { aspect-ratio:3 / 2; }
  .uni .frame img { width:100%; height:100%; object-fit:cover; }
  .uni .frame.fit img { object-fit:contain; padding:12% 14%; }
  .uni43 .frame { aspect-ratio:4 / 3; display:grid; place-items:center; }
  .uni43 .frame img { width:100%; height:100%; object-fit:contain; padding:6%; }
  .ads .frame { aspect-ratio:4 / 5; }
  .ads .frame img { width:100%; height:100%; object-fit:cover; }
  .trucks .frame { aspect-ratio:1024 / 615; }
  .trucks .frame img { width:100%; height:100%; object-fit:cover; }
  .logo-frame { aspect-ratio:16 / 10; display:grid; place-items:center; padding:12%; }

  .case-foot { background:var(--night); color:rgba(255,255,255,.8); }
  .case-foot .wrap { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-block:38px; font-size:15px; line-height:1.9; }
  .case-foot img { width:150px; }

  @media (max-width: 900px) {
    .head, .gl { grid-template-columns:1fr; }
    .meta { grid-template-columns:repeat(2, 1fr); }
    .meta div:nth-child(3) { border-inline-start:0; padding-inline-start:0; }
    .meta div:nth-child(n+3) { border-top:1px solid rgba(191,159,91,.28); }
    .g3 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .g3 .span2 { grid-column:1 / -1; }
    .evo { grid-template-columns:1fr; }
    .evo .frame { aspect-ratio:16 / 7; padding:6% 18%; }
  }
  @media (max-width: 560px) {
    body { font-size:16px; }
    .hero__bar { font-size:13px; flex-wrap:wrap; row-gap:2px; }
    .hero__logo { width:88%; }
    .meta dd { font-size:15px; }
    .lines li { font-size:16px; padding-inline-start:36px; }
    .g2, .g3, .scenes { grid-template-columns:1fr; }
    .brands { grid-template-columns:1fr; gap:28px; }
    .brands .mark { aspect-ratio:16 / 9; padding:10% 16%; }
    .span2, .scenes .wide { grid-column:auto; }
    .g3.keep2, .g2.keep2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .apps .frame { aspect-ratio:1 / 1; }
    .case-foot .wrap { flex-direction:column; align-items:flex-start; }
  }
  @media (max-width: 420px) {
    .meta { grid-template-columns:1fr; }
    .meta div, .meta div + div { padding:14px 0 16px; border-inline-start:0; }
    .meta div + div { border-top:1px solid rgba(191,159,91,.28); }
  }

/* --- port additions --- */
.en, [lang="en"] { font-family: "Poppins", "Tajawal", sans-serif; }
.case-crumbs { justify-content: flex-start; }
dd, dt, figcaption, .cap, .hero p, .hero__copy p { text-wrap: balance; }
.st-02f5ea{height:100% !important;object-fit:cover !important}
.st-04cada{width:72% !important}
.st-07132a{border-radius:10px !important;box-shadow:0 10px 26px rgba(0, 24, 52, .14) !important}
.st-0ddd8d{background:#E7ECEA !important}
.st-12469b{background:#fff !important}
.st-138da0{padding:clamp(36px,7vw,96px) clamp(24px,8vw,140px) !important}
.st-4b0ab8{background:#fff !important;box-shadow:inset 0 0 0 1px var(--line) !important}
.st-a6311a{object-position:100% 50% !important}
.st-a6c48c{background:#EAE6DD !important}
.st-c65d61{width:78% !important;box-shadow:0 10px 28px rgba(0, 24, 52, .14) !important}
.st-d4b16a{background:#F3EFF7 !important}
/* port_config.json */
.hero__copy h1 span .num{display:inline;margin:0;font-size:1em;line-height:inherit}
.brands h3 small{line-height:1.9 !important}
.g3.cats{grid-template-columns:minmax(0,1fr) !important;max-width:min(100%,760px);margin-inline:auto}
@media (min-width:561px) and (max-width:900px){.g3:is(.apps,.pages,.uni,.ads){grid-template-columns:repeat(3,minmax(0,1fr))}}
/* the three sub-brand logos under the group plate (official exports, sized by visual area) */
.subs{--k:1;list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.subs li{margin:0;min-width:0}
.subs figure{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:clamp(14px,2.2vw,26px) clamp(8px,1.6vw,16px) clamp(10px,1.4vw,16px);background:#fff;border:1px solid var(--sc-line);border-radius:4px}
.subs__logo{display:grid;place-items:center;width:100%;height:calc(var(--k) * 100px)}
.subs img{display:block;max-width:100%;height:auto}
.subs__t img{width:calc(var(--k) * 152px)}
.subs__f img{width:calc(var(--k) * 172px)}
.subs__e img{width:calc(var(--k) * 104px)}
.subs figcaption{font-size:14px;line-height:1.9;color:var(--sc-ink-2);text-align:center;text-wrap:balance}
@media (max-width:600px){.subs{--k:.6;gap:8px;margin-top:8px}}
/* phones: one row per brand (logo, then its sector), so no caption breaks into one-word lines */
@media (max-width:480px){.subs{--k:.62;grid-template-columns:minmax(0,1fr)}.subs figure{flex-direction:row;align-items:center;gap:16px;padding:10px 16px}.subs__logo{flex:0 0 112px;width:112px;height:64px}.subs figcaption{text-align:start}}
