@font-face { font-family: "Alexandria"; src: url("./fonts/alexandria-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Alexandria"; src: url("./fonts/alexandria-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Readex Pro"; src: url("./fonts/readex-arabic.woff2") format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex Pro"; src: url("./fonts/readex-latin.woff2") format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #141414;
  --ink-2: #1c1c1b;
  --line-d: #2e2d29;
  --gold: #cdbf99;
  --gold-ink: #6f6136;
  --forest: #1f3d2b;
  --stone: #ecebe7;
  --line-l: #d3d1ca;
  --text: #1a1a19;
  --text-2: #57554e;
  --on-ink: #efede6;
  --on-ink-2: #a9a59a;
  --display: "Alexandria", "Readex Pro", system-ui, sans-serif;
  --body: "Readex Pro", system-ui, sans-serif;
  --g: clamp(16px, 3.2vw, 48px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--on-ink); font-family: var(--body); font-weight: 350; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.num { unicode-bidi: isolate; direction: ltr; font-variant-numeric: tabular-nums; }
.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 50; }
.skip:focus { inset-block-start: 12px; }
.pad { padding-inline: var(--g); }

/* small technical type: the meta columns, section index, labels */
.meta { font-size: .78rem; line-height: 1.5; color: var(--on-ink-2); }
.meta b { display: block; color: var(--on-ink); font-weight: 450; }
.light .meta { color: var(--text-2); }
.light .meta b { color: var(--text); }

/* links with a quiet underline that grows from the start side */
.ul { background: linear-gradient(currentColor, currentColor) no-repeat; background-size: 0% 1px; background-position: 100% 100%; transition: background-size 220ms var(--ease-out); }
[dir="ltr"] .ul { background-position: 0% 100%; }
@media (hover: hover) and (pointer: fine) { .ul:hover { background-size: 100% 1px; } }

.btn { display: inline-flex; align-items: center; gap: 10px; min-block-size: 44px; padding: 0 20px; font-size: .92rem; font-weight: 500; border: 1px solid currentColor; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn.solid { background: var(--gold); border-color: var(--gold); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn.solid:hover { background: #ddd1b0; border-color: #ddd1b0; }
  .btn.line:hover { background: rgba(205, 191, 153, .12); }
}
.arw { display: inline-block; }
[dir="rtl"] .arw { transform: scaleX(-1); }

/* ---------- hero ---------- */
.hero { min-block-size: 100svh; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.bar { display: grid; grid-template-columns: auto 1.3fr 1fr 1fr auto; gap: 24px; align-items: start; padding-block: 22px; border-block-end: 1px solid var(--line-d); }
.bar .mark { inline-size: 44px; color: var(--on-ink); }
.bar nav { display: grid; gap: 2px; }
.bar nav a { color: var(--on-ink-2); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .bar nav a:hover { color: var(--on-ink); } }
.bar .end { display: flex; gap: 10px; align-items: center; }
.bar .lang { font-size: .78rem; color: var(--gold); border: 1px solid var(--line-d); padding: 6px 12px; transition: border-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .bar .lang:hover { border-color: var(--gold); } }
.bar .btn { min-block-size: 34px; padding: 0 14px; font-size: .8rem; }

.lead { align-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); padding-block: clamp(40px, 7vh, 88px); }
.lead h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 500; max-inline-size: 15em; }
.lead .txt { align-self: end; max-inline-size: 34em; }
.lead .txt p { color: var(--on-ink-2); font-size: 1.02rem; }
.lead .txt .tag { color: var(--gold); margin-block-start: 12px; font-size: .95rem; }
.lead .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-block-start: 26px; }

.word { font-family: var(--display); font-weight: 600; color: var(--gold); font-size: clamp(3.6rem, 13.4vw, 15rem); line-height: .78; white-space: nowrap; margin-block-end: -.06em; padding-block-start: .08em; }
.word:lang(en) { letter-spacing: -0.045em; }
.word span { display: inline-block; }

/* ---------- light sections ---------- */
.light { background: var(--stone); color: var(--text); }
.sec { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: var(--g); padding-block: clamp(64px, 10vw, 128px); border-block-start: 1px solid var(--line-l); }
.light .sec:first-child { border-block-start: 0; }
.dark .sec { border-color: var(--line-d); }
.idx { font-size: .78rem; color: var(--text-2); display: flex; gap: 10px; align-items: baseline; }
.dark .idx { color: var(--on-ink-2); }
.idx .n { font-family: var(--display); color: var(--gold-ink); font-weight: 600; }
.dark .idx .n { color: var(--gold); }
.statement { font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 2.6vw, 2.25rem); line-height: 1.35; max-inline-size: 26em; }
.statement + p { margin-block-start: 22px; color: var(--text-2); max-inline-size: 38em; font-size: 1.05rem; }

.acts4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block-start: 1px solid var(--text); }
.acts4 li { list-style: none; padding: 22px 0 8px; padding-inline-end: 22px; }
.acts4 li + li { border-inline-start: 1px solid var(--line-l); padding-inline-start: 22px; }
.acts4 .n { font-family: var(--display); font-weight: 600; color: var(--gold-ink); font-size: .9rem; }
.acts4 h3 { font-size: 1.2rem; margin-block-start: 26px; }
.acts4 small { display: block; color: var(--text-2); font-size: .74rem; margin-block-start: 4px; }
.acts4 p { margin-block-start: 14px; color: var(--text-2); font-size: .95rem; }
.acts4 { padding: 0; margin: 0; }
.sec-h { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-block-end: 36px; }

/* ---------- digital: faux product UI (stageshow rules: real chrome, few real words, runs off an edge) ---------- */
.digital { padding-block: clamp(64px, 10vw, 128px) 0; overflow: hidden; }
.digital .sec { padding-block: 0 48px; border: 0; }
.digital .statement { color: var(--on-ink); }
.digital .statement + p { color: var(--on-ink-2); }
.stage { position: relative; padding-inline-start: var(--g); }
.win { inline-size: min(1080px, 100%); margin-inline-start: auto; margin-inline-end: calc(-1 * var(--g) - 2px); background: #1e1e1d; border: 1px solid #34332f; border-block-end: 0; border-start-start-radius: 10px; border-start-end-radius: 10px; overflow: hidden; box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .8); }
[dir="rtl"] .win { border-start-start-radius: 10px; border-start-end-radius: 10px; }
.win-top { display: flex; align-items: center; gap: 16px; block-size: 40px; padding-inline: 14px; border-block-end: 1px solid #2f2e2b; }
.dots { display: flex; gap: 7px; direction: ltr; }
.dots i { inline-size: 11px; block-size: 11px; border-radius: 50%; background: #3a3936; }
.win-top .t { font-size: .74rem; color: var(--on-ink-2); }
.win-body { display: grid; grid-template-columns: 190px 1fr; min-block-size: 330px; }
.side { border-inline-end: 1px solid #2f2e2b; padding: 16px 12px; display: grid; align-content: start; gap: 6px; }
.side .it { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: .78rem; color: var(--on-ink-2); }
.side .it.on { background: #2a2927; color: var(--on-ink); }
.side .it i { inline-size: 12px; block-size: 12px; border-radius: 3px; background: #3a3936; flex: none; }
.side .it.on i { background: var(--gold); }
.sk { display: block; block-size: 7px; border-radius: 4px; background: #343330; }
.main { padding: 18px 22px 0; padding-inline-end: calc(var(--g) + 28px); }
.main-h { display: flex; justify-content: space-between; align-items: baseline; padding-block-end: 14px; border-block-end: 1px solid #2f2e2b; }
.main-h b { font-family: var(--display); font-weight: 500; font-size: 1rem; }
.main-h .total { font-family: var(--display); font-size: 1.35rem; color: var(--gold); }
.main-h .total small { font-size: .7rem; color: var(--on-ink-2); margin-inline-start: 6px; }
.rows { display: grid; }
.r { display: grid; grid-template-columns: 1.6fr 1fr .7fr .6fr; gap: 16px; align-items: center; padding-block: 13px; border-block-end: 1px solid #292826; font-size: .82rem; }
.r .sk:nth-child(1) { inline-size: 70%; } .r .sk:nth-child(2) { inline-size: 55%; } .r .sk:nth-child(3) { inline-size: 60%; }
.r.focus { background: rgba(205, 191, 153, .07); margin-inline: -22px; padding-inline: 22px; border-block-end-color: transparent; box-shadow: inset 2px 0 0 var(--gold); }
[dir="rtl"] .r.focus { box-shadow: inset -2px 0 0 var(--gold); }
.r.focus .w { color: var(--gold); font-family: var(--display); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: #9fc1a8; }
.st::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: #6fa37f; }
.r .sk.dim { opacity: .55; }
.note { font-size: .72rem; color: var(--on-ink-2); padding: 14px var(--g) 0; }

/* ---------- markets: the words are the design ---------- */
.mk { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--line-d); }
.mk li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 10px; border-block-end: 1px solid var(--line-d); }
.mk .w { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 7.6vw, 7rem); line-height: 1.02; color: var(--on-ink); transition: color 220ms ease; }
.mk .w:lang(en) { letter-spacing: -0.03em; }
.mk .ar { color: var(--on-ink-2); font-size: .95rem; text-align: end; }
@media (hover: hover) and (pointer: fine) { .mk li:hover .w { color: var(--gold); } }
.mk-intro { color: var(--on-ink-2); max-inline-size: 36em; margin-block-end: 36px; }

/* ---------- coming soon ---------- */
.soon-w { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 9vw, 8.5rem); line-height: .9; color: var(--forest); }
.soon-w:lang(en) { letter-spacing: -0.04em; }
.pill { display: inline-block; font-size: .74rem; border: 1px solid var(--text); padding: 3px 12px; margin-block-end: 22px; }
.soon-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--g); align-items: end; }
.soon-grid h3 { font-size: 1.35rem; }
.soon-grid p { margin-block-start: 10px; color: var(--text-2); }

/* ---------- contact + footer ---------- */
.end-sec { padding-block: clamp(64px, 10vw, 128px) 28px; }
.big-link { display: inline; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: 1; color: var(--on-ink); transition: color 220ms ease; }
.big-link .arw { font-size: .55em; color: var(--gold); transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .big-link:hover { color: var(--gold); }
  [dir="ltr"] .big-link:hover .arw { transform: translateX(6px); }
  [dir="rtl"] .big-link:hover .arw { transform: scaleX(-1) translateX(6px); }
}
.end-sec > p { margin-block-start: 18px; color: var(--on-ink-2); max-inline-size: 36em; }
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-block-start: clamp(56px, 8vw, 96px); padding-block-start: 22px; border-block-start: 1px solid var(--line-d); }
.cols a { color: var(--on-ink); }
.fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-block-start: 48px; font-size: .72rem; color: #7d796f; }
.pending { font-size: .66rem; color: var(--gold); border: 1px dashed rgba(205, 191, 153, .6); padding: 0 5px; margin-inline-start: 6px; }

/* ---------- contact page ---------- */
.c-hero { padding-block: clamp(56px, 10vw, 120px) clamp(40px, 6vw, 72px); }
.c-hero h1 { font-size: clamp(3rem, 10vw, 9rem); font-weight: 600; line-height: .9; color: var(--gold); }
.c-hero h1:lang(en) { letter-spacing: -0.04em; }
.c-hero p { margin-block-start: 24px; color: var(--on-ink-2); max-inline-size: 34em; }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); border-block-start: 1px solid var(--text); }
.fields div { padding: 22px 0; padding-inline-end: 22px; }
.fields div + div { border-inline-start: 1px solid var(--line-l); padding-inline-start: 22px; }
.fields .k { font-size: .76rem; color: var(--text-2); }
.fields .v { display: block; font-family: var(--display); font-size: 1.25rem; margin-block-start: 10px; color: var(--text); }
.fields .pending { color: var(--gold-ink); border-color: var(--gold-ink); }

/* ---------- motion (Emil: once, short, strong ease-out, transform + opacity only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .word span { opacity: 0; transform: translateY(18%); animation: rise 700ms var(--ease-out) forwards; animation-delay: calc(120ms + var(--i) * 45ms); }
  .lead h1, .lead .txt { opacity: 0; animation: fade 600ms var(--ease-out) 60ms forwards; }
  .lead .txt { animation-delay: 140ms; }
  .js .rv { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
  .js .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .word span { animation: fade 300ms ease both; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .bar { grid-template-columns: auto 1fr auto; }
  .bar .c2, .bar nav { display: none; }
  .lead, .sec, .soon-grid { grid-template-columns: 1fr; }
  .acts4 { grid-template-columns: 1fr 1fr; }
  .acts4 li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .acts4 li:nth-child(n+3) { border-block-start: 1px solid var(--line-l); }
  .cols { grid-template-columns: 1fr 1fr; }
  .win-body { grid-template-columns: 1fr; }
  .side { display: none; }
}
@media (max-width: 600px) {
  .acts4, .fields { grid-template-columns: 1fr; }
  .acts4 li, .acts4 li + li, .fields div, .fields div + div { border-inline-start: 0; padding-inline: 0; border-block-start: 1px solid var(--line-l); }
  .acts4 li:first-child, .fields div:first-child { border-block-start: 0; }
  .r { grid-template-columns: 1.4fr .8fr .7fr; }
  .r > :nth-child(2) { display: none; }
  .mk li { flex-direction: column; gap: 2px; }
  .mk .ar { text-align: start; }
  .bar .btn { display: none; }
  .hero { min-block-size: 92svh; }
}
.word:lang(en) { font-size: clamp(3.2rem, 12.8vw, 14rem); }
.word:lang(ar) { line-height: normal; margin-block-end: 0; padding-block: 0 .22em; }
.hero:lang(ar) { overflow: visible; padding-block-end: clamp(16px, 2.5vw, 40px); }


/* ---------- phones ---------- */
@media (max-width: 600px) {
  .hero { grid-template-rows: auto auto 1fr; }
  .hero .bar { order: 0; }
  .hero .word { order: 1; padding-block-start: 28px; }
  .hero .lead { order: 2; align-self: start; padding-block: 28px 40px; }
  .statement { font-size: 1.25rem; line-height: 1.55; }
  .statement + p { font-size: .95rem; margin-block-start: 16px; }
  .sec { padding-block: 44px; gap: 18px; }
  .sec-h { font-size: 1.35rem; margin-block-end: 22px; }
  .digital { padding-block-start: 44px; }
  .end-sec { padding-block-start: 48px; }
  .big-link { font-size: 2.2rem; }
}

/* ---------- background, as in v1: monogram-angle hairlines on the hero, paper grain on light ---------- */
.hero { position: relative; isolation: isolate; }
.light { position: relative; isolation: isolate; }
.light::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }


/* ---------- one heading size everywhere (reviewer: consistency; 22px on phones) ---------- */
:root { --h: clamp(1.375rem, 2.5vw, 2.25rem); }
.lead h1, .statement, .sec-h, .mk .w, .soon-w, .soon-grid h3, .big-link, .c-hero h1 { font-size: var(--h); line-height: 1.35; letter-spacing: 0; }
.mk .w { font-weight: 400; line-height: 1.3; }
.mk li { padding-block: 16px; }
.soon-w { color: var(--forest); font-weight: 600; }
.c-hero h1 { color: var(--on-ink); }
.big-link .arw { font-size: .8em; }
.statement + p { font-size: 1rem; }
/* the system mock now sits on the light ground under the activities */
.light .digital { padding-block: 0 clamp(56px, 8vw, 104px); }
.light .digital .note { color: var(--text-2); }
.light .digital .stage { padding-inline-start: var(--g); }
@media (max-width: 600px) {
  .lead h1, .statement, .sec-h, .mk .w, .soon-w, .soon-grid h3, .big-link, .c-hero h1 { font-size: 22px; }
}

/* ---------- judges round: ribbon kept out of the text, contained mock, hero, labels, grid, forest band ---------- */
body { position: relative; }
.ribbon { position: absolute; inset-inline: 0; inset-block-start: 100svh; block-size: 400vh; inline-size: 100%; z-index: 1; pointer-events: none; view-timeline: --rb block; }
.ribbon path { fill: none; stroke: var(--gold); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: .5; }
.ribbon path.thin { stroke-width: 1; opacity: .28; }
[dir="rtl"] .ribbon { transform: scaleX(-1); }
.ribbon.narrow { display: none; }
@media (max-width: 980px) { .ribbon.wide { display: none; } .ribbon.narrow { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .ribbon path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw linear both; animation-timeline: --rb; animation-range: entry 0% exit 0%; }
  }
}
@keyframes draw { from { stroke-dashoffset: .96; } to { stroke-dashoffset: 0; } }

/* hero: headline, copy and actions as one block; wordmarks never cut */
.lead { grid-template-columns: 1fr; max-inline-size: 46em; }
.lead .txt { align-self: start; }
.lead h1 { font-size: clamp(1.5rem, 3.1vw, 2.75rem); line-height: 1.25; }
.hero { padding-block-end: clamp(20px, 3.5vw, 52px); }
.word:lang(en) { margin-block-end: 0; line-height: .95; padding-block-end: .05em; }
.word:lang(ar) { padding-block: 0 .3em; }

/* labels readable */
.idx { font-size: .8125rem; color: #4a4842; }
.dark .idx, .forest .idx, .end-sec .idx { color: #c9c5b9; }
.meta { font-size: .8125rem; }
.acts4 small { font-size: .8rem; }

/* tighter use of the width on desktop */
@media (min-width: 981px) { .sec { grid-template-columns: minmax(170px, 1fr) 4fr; } }
.statement { max-inline-size: 34em; }

/* the system mock sits inside the column, whole */
.digital { padding: 0; margin-block-start: 56px; }
.digital .note { font-size: .8rem; color: var(--text-2); padding: 0; margin-block-end: 12px; }
.digital .stage { padding: 0; }
.digital .win { inline-size: 100%; margin: 0; border: 1px solid #34332f; border-radius: 10px; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .45); }
.digital .main { padding-inline-end: 22px; }

/* markets band in forest */
.forest { background: var(--forest); color: var(--on-ink); position: relative; }
.forest .mk, .forest .mk li { border-color: rgba(239, 237, 230, .16); }
.forest .mk .ar, .forest .mk-intro { color: #c3cec6; }
@media (max-width: 600px) {
  .lead h1 { font-size: 24px; }
  .digital { margin-block-start: 36px; }
}

/* ---------- judges round 2 ---------- */
/* header as one row */
.bar { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.bar .brand { display: flex; align-items: center; gap: 12px; color: var(--on-ink); font-family: var(--display); font-size: 1rem; }
.bar .brand b { font-weight: 600; }
.bar nav { display: flex; gap: 26px; margin-inline-start: auto; font-size: .875rem; }
.bar .end { margin-inline-start: 0; }
.bar .lang { font-size: .85rem; padding: 7px 14px; }
.bar .btn { min-block-size: 38px; font-size: .875rem; }
@media (max-width: 980px) { .bar nav { display: none; } .bar .end { margin-inline-start: auto; } }
@media (max-width: 600px) { .bar .btn { display: inline-flex; padding: 0 12px; } .bar { gap: 12px; } .bar .brand b { font-size: .95rem; } }

/* hero headline carries more weight next to the wordmark */
.lead h1 { font-size: clamp(1.5rem, 3.4vw, 3rem); }

/* section label sits right above its heading; the start column stays empty for the ribbon */
@media (min-width: 981px) {
  .sec { row-gap: 14px; align-items: start; }
  .sec > .idx { grid-column: 2; grid-row: 1; }
  .sec > :not(.idx) { grid-column: 2; grid-row: 2; }
}
.idx { font-size: .8125rem; }

/* phones: no dead black under the hero, wordmark given air */
@media (max-width: 600px) {
  .hero { min-block-size: auto; padding-block-end: 36px; }
  .hero .word { padding-block-start: 36px; }
  .hero .lead { padding-block: 22px 0; }
}

/* markets as an even two-column list everywhere */
.mk li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; }
.mk .ar { text-align: end; }
@media (max-width: 600px) { .mk li { flex-direction: unset; } .mk .ar { text-align: end; font-size: .85rem; } }

/* contact link: last word and arrow stay together */
.big-link .nw { white-space: nowrap; }

/* system mock rows readable */
.sk { background: #4b4a45; }
.r .sk.dim { opacity: .8; }
.side .it { color: #c2beb2; }
.win-top .t { color: #c2beb2; }

/* Flexitank given a frame */
.soon-grid > div:first-child { border-inline-start: 3px solid var(--forest); padding-inline-start: 18px; }

/* contact page: less empty space */
.c-hero { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 48px); }
.fields .k { font-size: .8125rem; }
.win { color: var(--on-ink); }

/* ---------- judges round 3: one type system, full-width two-column sections ---------- */
:root { --h2: clamp(1.375rem, 2.8vw, 2.5rem); }
.h2 { font-family: var(--display); font-weight: 500; font-size: var(--h2); line-height: 1.3; }
.h2.narrow { max-inline-size: 22em; }
.body-l { font-size: clamp(1.125rem, 1.7vw, 1.5rem); line-height: 1.55; max-inline-size: 32em; }
.body { font-size: 1rem; line-height: 1.7; color: var(--text-2); max-inline-size: 38em; margin-block-start: 14px; }
.dark .body, .forest .body, .end-sec .body, .c-hero .body { color: var(--on-ink-2); }
.forest .body { color: #c3cec6; }
.lbl { font-size: .875rem; font-weight: 500; color: var(--gold-ink); margin-block-end: 12px; }
.lbl:lang(en) { letter-spacing: .04em; }
.end-sec .lbl, .forest .lbl { color: var(--gold); }

.sec2 { display: grid; grid-template-columns: 5fr 7fr; gap: 32px var(--g); padding-block: clamp(64px, 9vw, 120px); border-block-start: 1px solid var(--line-l); align-items: start; }
.light .sec2:first-child { border-block-start: 0; }
.forest .sec2 { border: 0; }
.sec2 .full { grid-column: 1 / -1; }
.sec2.flat { padding-block: 0; border: 0; }
.acts4 { margin-block-start: 8px; }
.digital { margin-block-start: 24px; }

/* hero: quieter headline so the wordmark leads; facts strip underneath */
.lead h1 { font-size: clamp(1.375rem, 2.2vw, 2rem); line-height: 1.35; }
.lead .txt p { font-size: 1rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-block-start: 1px solid var(--line-d); position: relative; z-index: 2; }
.facts div { padding-block: 16px 20px; padding-inline-end: 16px; }
.facts div + div { border-inline-start: 1px solid var(--line-d); padding-inline-start: 16px; }
.facts dt { font-size: .8125rem; color: var(--gold); font-weight: 500; }
.facts dd { margin: 4px 0 0; font-size: .95rem; color: var(--on-ink); }
.hero .word:lang(ar) { padding-block-end: .38em; }
.hero .word:lang(en) { padding-block-end: .24em; }

/* markets: Latin name and Arabic name in proportion */
.mk .w { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 400; }
.mk .ar { font-size: 1rem; color: #c3cec6; }

/* coming soon: the word framed, aligned to the heading's row */
.flexi { border-inline-start: 3px solid var(--forest); padding-inline-start: 22px; align-self: center; }
.flexi-w { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; color: var(--forest); margin-block-start: 12px; }
.flexi-w:lang(en) { letter-spacing: -0.02em; }

/* contact band with a real button */
.end-sec .h2 a { color: var(--on-ink); }
.end-sec .cta { margin-block-start: 26px; }
.end-sec .reach { align-self: end; }
.end-sec .nw { white-space: nowrap; }
.fine { color: #a29e93; }
.cols { margin-block-start: clamp(48px, 7vw, 80px); }

/* small type */
.acts4 small { font-size: .8125rem; color: var(--text-2); }
.idx { display: none; }

@media (max-width: 600px) { .bar .end .btn { display: none; } }

/* contact page */
.cdata { display: grid; grid-template-columns: auto 1fr; margin: 22px 0 0; border-block-start: 1px solid var(--text); }
.cdata dt, .cdata dd { margin: 0; padding-block: 14px; border-block-end: 1px solid var(--line-l); }
.cdata dt { font-size: .875rem; color: var(--text-2); padding-inline-end: 24px; }
.cdata dd { font-family: var(--display); font-size: 1.1rem; }
.cdata .pending { color: var(--gold-ink); border-color: var(--gold-ink); }
.rfq { display: grid; gap: 14px; }
.rfq .h2 { margin-block-end: 6px; }
.rfq label { display: grid; gap: 6px; }
.rfq label span { font-size: .875rem; color: var(--text-2); font-weight: 500; }
.rfq input, .rfq textarea { font: inherit; color: var(--text); background: #f7f6f3; border: 1px solid #bfbcb3; padding: 11px 12px; border-radius: 0; }
.rfq input:focus-visible, .rfq textarea:focus-visible { outline: 2px solid var(--forest); outline-offset: 0; border-color: var(--forest); }
.rfq .btn { justify-self: start; margin-block-start: 6px; }
.rfq .hint { font-size: .8rem; color: var(--text-2); }
.c-hero .h2 { color: var(--on-ink); }

@media (max-width: 980px) {
  .sec2 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts div:nth-child(n+3) { border-block-start: 1px solid var(--line-d); }
}
@media (max-width: 600px) {
  .sec2 { padding-block: 48px; gap: 18px; }
  .h2 { font-size: 22px; }
  .lead h1 { font-size: 22px; }
  .body-l { font-size: 1.125rem; }
  .flexi-w { font-size: 2rem; }
}
@media (max-width: 600px) { .hero .facts { order: 3; margin-block-start: 28px; } }

/* ---------- judges round 4 ---------- */
/* 1. hero sized to its content: no empty band between the copy and the wordmark */
.hero { min-block-size: auto; }
.lead { padding-block: clamp(56px, 9vh, 104px) clamp(20px, 3vh, 36px); align-self: start; }
/* 2. mock rows with real (illustrative) entries */
.r { grid-template-columns: 1.6fr .6fr .8fr .7fr; }
.r .tm { color: var(--on-ink-2); font-size: .78rem; }
.r .w { font-family: var(--display); }
.side .it { color: #a9a59a; }
.side .it.on { color: var(--on-ink); }
@media (max-width: 600px) { .r { grid-template-columns: 1.5fr .8fr .8fr; } .r > .tm { display: none; } .r > :nth-child(2) { display: none; } }
/* 3. ribbon a little in from the edge, slightly stronger, ends on a dot */
.ribbon path { opacity: .55; stroke-width: 1.5; }
.rb-dot { position: absolute; inset-inline-start: calc(2.3% - 3px); inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--gold); opacity: .8; z-index: 1; pointer-events: none; }
/* 6. form fields with a clear edge; contact footer without the gap */
.rfq input, .rfq textarea { background: #fbfaf8; border: 1px solid #57554e; }
.end-sec.slim { padding-block-start: 36px; }
.end-sec.slim .cols { margin-block-start: 0; }

/* home contact list: same rows as the contact page (was unstyled) */
.reach { display: grid; grid-template-columns: auto 1fr; margin: 0; border-block-start: 1px solid var(--gold); }
.reach dt, .reach dd { margin: 0; padding-block: 14px; border-block-end: 1px solid var(--line-d); }
.reach dt { font-size: .875rem; color: var(--on-ink-2); padding-inline-end: 24px; }
.reach dd { color: var(--on-ink); }

/* ---------- wide screens: content in a centered 1280px area, both halves used ---------- */
.pad { padding-inline: max(var(--g), calc((100% - 1280px) / 2)); }
@media (min-width: 981px) {
  .lead { grid-template-columns: 1fr 1fr; max-inline-size: none; gap: var(--g); align-items: end; }
  .lead h1 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
  .lead .txt { align-self: end; }
  #about.sec2 { grid-template-columns: 7fr 5fr; align-items: end; }
  .about-body .body-l { font-size: 1.125rem; color: var(--text-2); }
}

/* ribbon 3x thicker; about body in regular weight next to a short heading */
.ribbon path { stroke-width: 4.5; }
.rb-dot { inline-size: 12px; block-size: 12px; inset-inline-start: calc(2.3% - 6px); }
.about-body .body-l { font-weight: 350; color: var(--text); font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.75; }
@media (min-width: 981px) { #about.sec2 { grid-template-columns: 5fr 7fr; align-items: start; } }

/* ---------- hero background video (stock: Pexels 30524233, free licence; swap for client footage) ---------- */
.hero.has-video { position: relative; isolation: isolate; background: #141414; }
.hero-bg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; z-index: -2; }
.hero.has-video::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 20, 20, .78) 0%, rgba(20, 20, 20, .55) 38%, rgba(20, 20, 20, .7) 72%, rgba(20, 20, 20, .92) 100%); }
.hero.has-video .bar { border-color: rgba(239, 237, 230, .14); background: transparent; }
.hero.has-video .facts { border-color: rgba(239, 237, 230, .18); }
.hero.has-video .facts div + div { border-color: rgba(239, 237, 230, .14); }
.hero.has-video .lead .txt p { color: #d6d2c8; }

/* ---------- pinned header, full-screen video hero, smooth anchors ---------- */
html { scroll-padding-block-start: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.bar { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 40; background: transparent; border-block-end: 1px solid rgba(239, 237, 230, .12); transition: background-color 250ms ease, border-color 250ms ease; }
.bar.solid { background: #141414; border-color: var(--line-d); }
.hero.has-video .bar.solid { background: #141414; }
.c-hero { padding-block-start: calc(76px + clamp(40px, 6vw, 72px)); }

.hero.has-video { min-block-size: 100svh; grid-template-rows: 1fr auto auto auto; padding-block-start: 76px; padding-block-end: 0; }
.hero.has-video .lead { align-self: end; }


@media (max-width: 600px) {
  .hero.has-video { grid-template-rows: auto auto auto auto; align-content: end; }
  .hero .facts { order: 4; }
}
.hero.has-video { z-index: 5; }

/* ---------- photo bands (stock stills: Pexels 33682118 tank farm, 28801896 tanker; swap for client photos) ---------- */
.photo-band { position: relative; isolation: isolate; background-color: #141414; background-image: var(--img); background-size: cover; background-position: center; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ink.photo-band { color: var(--on-ink); }
.ink.photo-band::before { background: linear-gradient(180deg, rgba(20, 20, 20, .82) 0%, rgba(20, 20, 20, .55) 50%, rgba(20, 20, 20, .82) 100%); }
.ink.photo-band .h2 { color: var(--on-ink); }
.ink.photo-band .lbl { color: var(--gold); }
.ink.photo-band .about-body .body-l { color: #e4e0d6; }
.ink.photo-band .body { color: #b9b5aa; }
.ink.photo-band .sec2 { border: 0; }
.forest.photo-band::before { background: linear-gradient(180deg, rgba(31, 61, 43, .9) 0%, rgba(31, 61, 43, .7) 50%, rgba(31, 61, 43, .9) 100%); }

/* markets: lead name in the page language, secondary name in the other */
.mk .ar:lang(en) { font-family: var(--display); letter-spacing: .02em; }

/* page-to-page fade (Chrome, Edge, Safari 18.2+; others just navigate) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: 220ms ease-in both vt-out; }
  ::view-transition-new(root) { animation: 320ms cubic-bezier(.23, 1, .32, 1) both vt-in; }
  .btn, .bar nav a, .bar .lang { transition: transform 160ms ease-out, color 200ms ease, border-color 200ms ease, background-color 200ms ease; }
  .btn:active, .bar nav a:active, .bar .lang:active { transform: scale(.97); }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* tablet + phone: the laptop's section links become a second row you can swipe sideways */
@media (max-width: 980px) {
  .bar { flex-wrap: wrap; row-gap: 0; padding-block-end: 0; }
  .bar nav { display: flex; order: 3; flex-basis: 100%; margin-inline: calc(var(--g) * -1); padding-inline: var(--g); gap: 22px;
    overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; font-size: .85rem; border-block-start: 1px solid rgba(239, 237, 230, .1); margin-block-start: 14px; }
  .bar nav::-webkit-scrollbar { display: none; }
  .bar nav a { flex: none; padding-block: 12px; white-space: nowrap; }
  html { scroll-padding-block-start: 118px; }
  .hero.has-video { padding-block-start: 118px; }
  .c-hero { padding-block-start: calc(118px + clamp(32px, 6vw, 72px)); }
}
