/* =========================================================================
   Hilal Space · v4
   Laid out like a members' association homepage: a welcome hero with a
   tilted picture collage, a logo strip, big statement lines, a message,
   three connection cards, the space, programs, news, a contact form and a
   full footer. Our own look: cream, warm black, the brand orange-red,
   Lora for headlines, Instrument Sans for everything you read.
   Sizes follow a 1440px desktop and scale down with clamp().
   ========================================================================= */
:root {
  --bg: #f5f1e8;
  --card: #fbf9f3;
  --sand: #e9e1d2;
  --ink: #141210;
  --soft: rgba(20, 18, 16, .38);
  --muted: #5d5850;
  --red: #d8452c;
  --red-dark: #b8381f;
  --line: rgba(20, 18, 16, .14);
  --serif: "Lora", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --wrap: 1214px;
  --gut: clamp(20px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
img, svg { display: block; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }
.narrow { max-width: 960px; margin-left: auto; margin-right: auto; }
.soft { color: var(--soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- type: the sizes of the reference layout -------------------------- */
h1, .h2-48, .h2-55, .h2-68, .h2-70, .what-line { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: clamp(44px, 6.67vw, 96px); line-height: 1.08; }
.h2-70 { font-size: clamp(38px, 4.86vw, 70px); line-height: 1.14; }
.h2-68, .what-line { font-size: clamp(36px, 4.72vw, 68px); line-height: 1.14; }
.h2-55 { font-size: clamp(34px, 3.82vw, 55px); line-height: 1.14; }
.h2-48 { font-size: clamp(30px, 3.33vw, 48px); line-height: 1.14; }
.lead { font-size: clamp(17px, 1.39vw, 20px); line-height: 1.6; color: var(--muted); }
.eyebrow { font-size: 16px; font-weight: 500; color: var(--red); margin-bottom: 12px; }
.pill-label { display: inline-block; font-size: 16px; font-weight: 500; line-height: 20px; color: var(--red); background: rgba(216, 69, 44, .1); border-radius: 999px; padding: 10px 24px; margin-bottom: 12px; }
.pill-label.center { display: table; margin-left: auto; margin-right: auto; }

/* ---- buttons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 999px; padding: 16px 30px; font: 600 18px/1 var(--sans); cursor: pointer; transition: background .25s, transform .25s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--red); }
.btn-icon { width: 18px; height: 18px; color: var(--red); }
.btn-primary:hover .btn-icon { color: var(--bg); }
.btn-icon svg { width: 100%; height: 100%; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.arrow-link span { transition: transform .25s; }
.arrow-link:hover span { transform: translateX(4px); }

/* ---- logos (masks, so they take any colour) ----------------------------- */
.logo-mark { display: block; width: 104px; height: 68px; background: var(--red); -webkit-mask: url("img/hilal-wordmark.png?v=7") center / contain no-repeat; mask: url("img/hilal-wordmark.png?v=7") center / contain no-repeat; }
.logo-mark-light { background: var(--bg); width: 92px; height: 60px; }
.ssb { display: block; width: 74px; height: 40px; background: currentColor; -webkit-mask: url("img/stearns-mask.png") center / contain no-repeat; mask: url("img/stearns-mask.png") center / contain no-repeat; }

/* ---- header ----------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 36px; height: 110px; padding: 0 var(--gut); transition: background .35s, box-shadow .35s, height .35s; }
.site-header.is-solid { background: rgba(245, 241, 232, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); height: 88px; }
.menu { display: flex; gap: 30px; margin-left: auto; font-size: 17px; font-weight: 500; }
.menu a { position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:hover::after { transform: scaleX(1); }
.join { display: inline-flex; align-items: center; gap: 14px; padding: 9px 9px 9px 22px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 15px; font-weight: 600; transition: background .25s, color .25s; }
.join:hover { background: var(--ink); color: var(--bg); }
.join-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.join:hover .join-icon { background: var(--red); }
.join-icon svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

/* ---- hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; background: radial-gradient(1100px 700px at 85% 30%, #efe4d2 0%, rgba(239, 228, 210, 0) 70%); }
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { margin: 0 0 22px; }
.hero .lead { max-width: 680px; }
.hero-actions { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; margin-top: 48px; }
.hero-collage { position: relative; height: clamp(420px, 46vw, 640px); transform: rotate(-12deg); }
.tile { position: absolute; overflow: hidden; isolation: isolate; border-radius: 22px; background: #9fb5cb; box-shadow: 0 24px 50px rgba(20, 18, 16, .18); }
.tile-a { width: 62%; height: 40%; left: 4%; top: 0; }
.tile-b { width: 62%; height: 40%; left: 30%; top: 30%; }
.tile-c { width: 62%; height: 40%; left: 8%; top: 62%; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; image-rendering: pixelated; image-rendering: crisp-edges; }

/* ---- logo strip -------------------------------------------------------------- */
.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 26px; padding-bottom: 26px; color: rgba(20, 18, 16, .55); flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; height: 48px; transition: color .25s; }
.strip-item:hover { color: var(--ink); }
.strip-item svg { height: 40px; width: auto; }
.strip-ssb .ssb { width: 86px; height: 46px; }

/* ---- what we do: big statement lines with small picture chips ------------------- */
.what { padding: clamp(90px, 10vw, 150px) 0; }
.what-line { text-align: center; margin: 0; }
.what .pill-label { margin-bottom: 20px; }
.what .lead { margin-top: 36px; }
.chip { display: inline-grid; place-items: center; vertical-align: middle; width: 1.05em; height: .8em; border-radius: .2em; margin: 0 .08em; transform: translateY(-.06em) rotate(-6deg); }
.chip svg { width: 60%; height: 80%; }
.chip-red { background: var(--red); color: var(--bg); }
.chip-ink { background: var(--ink); color: var(--bg); transform: translateY(-.06em) rotate(5deg); }
.chip-sand { background: var(--sand); color: var(--red); }

/* ---- message from the board -------------------------------------------------- */
.message { padding: clamp(40px, 6vw, 90px) 0 clamp(90px, 10vw, 150px); }
.message-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 535px); gap: clamp(32px, 7vw, 120px); align-items: center; }
.message-photo { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5; max-height: 640px; border-radius: 24px; background: #9fb5cb; }
.message-copy .h2-55 { margin-bottom: 26px; }
.message-copy .lead + .lead { margin-top: 18px; }
.signature { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 20px; }

/* ---- strong connections -------------------------------------------------------- */
.connections { padding: clamp(90px, 10vw, 140px) 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.connections .h2-68 { margin-bottom: clamp(48px, 6vw, 90px); }
.conn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: clamp(28px, 5vw, 70px); }
.conn { text-align: center; display: grid; justify-items: center; align-content: start; gap: 12px; }
.conn-icon { width: 60px; height: 60px; color: var(--red); margin-bottom: 14px; }
.conn-icon svg { width: 100%; height: 100%; }
.conn h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; line-height: 32px; }
.conn p { font-size: 16px; line-height: 28px; color: var(--muted); }
.conn-link { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; transition: color .25s; }
.conn-link:hover { color: var(--red); }

/* ---- our space -------------------------------------------------------------------- */
.space { padding: clamp(90px, 10vw, 150px) 0; }
.space-grid { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.space-copy .h2-48 { margin-bottom: 30px; }
.space-copy .arrow-link { margin-top: 36px; }
.space-visual { position: relative; justify-self: center; width: min(100%, 460px); }
.space-circle { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1; border-radius: 50%; background: #9fb5cb; box-shadow: 0 24px 60px rgba(20, 18, 16, .16); }
.space-badge { position: absolute; left: -4%; bottom: 8%; display: grid; place-items: center; align-content: center; width: 128px; height: 128px; border-radius: 50%; background: var(--red); color: var(--bg); transform: rotate(-10deg); text-align: center; line-height: 1.05; }
.space-badge b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.space-badge span { font-size: 15px; font-weight: 600; }

/* ---- programs ------------------------------------------------------------------------- */
.programs { padding: clamp(90px, 10vw, 150px) 0; background: var(--ink); color: var(--bg); }
.programs .pill-label { background: rgba(245, 241, 232, .1); color: #f1a48f; }
.programs .h2-70 { margin-bottom: 18px; }
.programs .lead { color: rgba(245, 241, 232, .72); }
.prog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: clamp(48px, 6vw, 80px); }
.prog { display: grid; justify-items: center; align-content: start; text-align: center; gap: 12px; padding: 34px 22px 30px; border-radius: 24px; background: rgba(245, 241, 232, .05); border: 1px solid rgba(245, 241, 232, .12); transition: background .3s, transform .3s; }
.prog:hover { background: rgba(245, 241, 232, .09); transform: translateY(-4px); }
.prog-logo { width: 132px; height: 132px; margin-bottom: 10px; }
.prog-logo svg { width: 100%; height: 100%; }
.prog h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; line-height: 32px; }
.prog p { font-size: 16px; line-height: 28px; color: rgba(245, 241, 232, .72); }
.explore { margin-top: 8px; font-size: 18px; font-weight: 600; color: #f1a48f; display: inline-flex; gap: 8px; }
.explore span { transition: transform .25s; }
.explore:hover span { transform: translateX(4px); }

/* ---- news ----------------------------------------------------------------------------------- */
.news { padding: clamp(90px, 10vw, 150px) 0; }
.news .h2-68 { margin-bottom: clamp(44px, 5vw, 70px); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.news-card { display: grid; gap: 14px; align-content: start; }
.news-img { position: relative; overflow: hidden; isolation: isolate; display: block; aspect-ratio: 16 / 11; border-radius: 20px; background: #9fb5cb; transition: transform .35s; }
.news-card:hover .news-img { transform: scale(.985); }
.news-img-red { display: grid; place-items: center; background: var(--red); color: var(--bg); }
.news-img-red .ssb { width: 160px; height: 86px; }
.news-date { font-size: 14px; font-weight: 600; color: var(--red); margin-top: 8px; }
.news-card h4 { font-family: var(--sans); font-size: clamp(20px, 1.67vw, 24px); font-weight: 700; line-height: 1.5; }
.news-card:hover h4 { color: var(--red); }

/* ---- contact form ------------------------------------------------------------------------------ */
.contact { padding: clamp(60px, 8vw, 110px) 0 clamp(90px, 10vw, 150px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 466px) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: stretch; }
.contact-copy .h2-55 { margin-bottom: 18px; }
.form { display: grid; gap: 16px; margin-top: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form input::placeholder, .form textarea::placeholder { color: rgba(20, 18, 16, .5); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 18, 16, .06); }
.form select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.form select:invalid { color: rgba(20, 18, 16, .5); }
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; margin-top: 8px; background: var(--red); color: #fff; }
.form .btn:hover { background: var(--red-dark); }
.contact-visual { position: relative; overflow: hidden; isolation: isolate; min-height: 520px; border-radius: 24px; background: #9fb5cb; border-left: 6px solid var(--red); }

/* ---- footer ------------------------------------------------------------------------------------- */
.site-footer { padding: 0 0 30px; }
.footer-panel { background: var(--ink); color: var(--bg); border-radius: 32px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: 30px; max-width: calc(var(--wrap) + 2 * var(--gut) + 80px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 580px) minmax(0, 416px); justify-content: space-between; gap: 40px; padding: 0 clamp(0px, 3vw, 40px); }
.footer-about { display: grid; gap: 22px; }
.footer-about p { font-size: 18px; line-height: 1.27; color: rgba(245, 241, 232, .85); }
.footer-tags { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; align-content: start; }
.footer-tags li { display: flex; align-items: center; gap: 14px; font-size: 19px; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: .03em; padding-bottom: 20px; border-bottom: 1px solid rgba(245, 241, 232, .14); }
.footer-tags li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg) translateY(-2px); flex: none; }
.footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 210px 210px; gap: 20px 40px; margin-top: clamp(48px, 6vw, 80px); padding: 0 clamp(0px, 3vw, 40px); }
.footer-mail { align-self: start; padding: 34px; border-radius: 20px; background: rgba(245, 241, 232, .06); max-width: 520px; }
.footer-mail h5 { font-size: 24px; font-weight: 700; margin-bottom: 18px; }
.footer-mail a { font-size: 20px; display: inline-flex; gap: 12px; align-items: center; }
.footer-mail a:hover { color: #f1a48f; }
.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col h6 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #f1a48f; margin-bottom: 8px; }
.footer-col a { font-size: 16px; color: rgba(245, 241, 232, .8); }
.footer-col a:hover { color: var(--bg); }
.copyright { margin-top: clamp(40px, 5vw, 70px); padding-top: 26px; border-top: 1px solid rgba(245, 241, 232, .12); text-align: center; font-size: 15px; color: rgba(245, 241, 232, .6); }

/* ---- smaller screens ------------------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .menu { gap: 22px; font-size: 16px; }
  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px var(--gut) 24px; background: var(--bg); box-shadow: 0 12px 30px rgba(20, 18, 16, .1); margin: 0; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .menu a::after { display: none; }
  .menu-open .menu { display: flex; }
  .menu-open { background: var(--bg); }
  .join { margin-left: auto; }
  .menu-toggle { display: grid; gap: 6px; place-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
  .menu-toggle span { display: block; width: 18px; height: 2px; background: var(--bg); transition: transform .25s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { height: 380px; max-width: 560px; margin: 30px auto 0; width: 100%; }
  .message-grid, .space-grid, .contact-grid { grid-template-columns: 1fr; }
  .message-photo { aspect-ratio: 16 / 11; }
  .conn-grid { grid-template-columns: minmax(0, 420px); }
  .news-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-visual { min-height: 320px; }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header { height: 84px; gap: 12px; }
  .site-header.is-solid { height: 74px; }
  .logo-mark { width: 78px; height: 52px; }
  .join { padding: 6px 6px 6px 16px; font-size: 14px; gap: 10px; }
  .join-icon { width: 30px; height: 30px; }
  .hero { padding-top: 120px; min-height: 0; }
  .hero-actions { gap: 22px; margin-top: 34px; }
  .btn, .arrow-link { font-size: 16px; }
  .hero-collage { height: 300px; }
  .strip-row { justify-content: center; gap: 18px 28px; }
  .strip-item svg { height: 30px; }
  .chip { display: none; }
  .prog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .space-badge { width: 104px; height: 104px; }
  .footer-panel { border-radius: 24px; margin: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---- inner pages: join us, thank you ------------------------------------------------------------- */
.page-hero { padding: 180px 0 clamp(50px, 6vw, 80px); background: radial-gradient(900px 500px at 80% 0%, #efe4d2 0%, rgba(239, 228, 210, 0) 70%); border-bottom: 1px solid var(--line); }
.page-thanks { min-height: 70vh; border-bottom: 0; }
.page-thanks .lead { max-width: 640px; margin-top: 22px; }
.page-body { padding: clamp(60px, 8vw, 110px) 0 clamp(90px, 10vw, 140px); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(40px, 7vw, 110px); align-items: start; }
.page-main .h2-48 { margin-bottom: 24px; }
.page-main .lead + .lead { margin-top: 16px; }
.page-h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); margin: 56px 0 22px; }
.req-list { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; font-size: 18px; line-height: 1.6; }
.req-list li::marker { color: var(--red); font-weight: 600; }
.process { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; }
.process li { counter-increment: p; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.process li::before { content: counter(p); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; }
.process b { font-size: 20px; font-weight: 700; }
.process span { color: var(--muted); font-size: 16px; line-height: 1.6; }
.page-form { position: sticky; top: 110px; padding: clamp(28px, 3vw, 40px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.page-form .h2-48 { font-size: clamp(28px, 2.5vw, 36px); margin-bottom: 10px; }
.page-form .lead { font-size: 16px; }
.page-form .form { margin-top: 22px; }
.form .check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.form .check input { width: 18px; height: 18px; padding: 0; margin: 2px 0 0; accent-color: var(--ink); }
@media (max-width: 1020px) { .page-grid { grid-template-columns: 1fr; } .page-form { position: static; } }

/* the hero headline: one phrase at a time */
.rotator { display: grid; }
.rot { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rot.is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rotator { display: block; } .rot { display: block; opacity: 1; transform: none; } }
/* the outgoing phrase leaves first, then the next one comes in; long phrases fit beside the collage */
.rot { transition: opacity .35s ease, transform .35s ease; }
.rot.is-on { transition: opacity .5s ease .4s, transform .5s ease .4s; }
.hero h1 { font-size: clamp(44px, 6.1vw, 88px); }

/* =========================================================================
   The landing as before: the pixel sky over the Golden Gate, pinned while
   you scroll and turning from day to sunset; the orange Hilal tab with the
   Stearns mark; the black partnership bar sliding in once the page moves
   ========================================================================= */
.topbar { position: fixed; z-index: 60; inset: 0 0 auto 0; height: 30px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 500; letter-spacing: .01em; transform: translateY(-100%); transition: transform .35s ease; }
.bar-on .topbar { transform: none; }
.topbar:hover .tb-text { text-decoration: underline; text-underline-offset: 3px; }
.tb-hilal { display: block; width: 30px; height: 20px; background: var(--bg); -webkit-mask: url("img/hilal-wordmark.png?v=7") center / contain no-repeat; mask: url("img/hilal-wordmark.png?v=7") center / contain no-repeat; }
.tb-x { opacity: .6; }
.topbar .ssb { width: 36px; height: 19px; color: var(--bg); }
.tb-text { margin-left: 8px; padding-left: 12px; border-left: 1px solid rgba(245, 241, 232, .35); }
.site-header { transition: background .35s, box-shadow .35s, height .35s, top .35s ease; }
.bar-on .site-header { top: 30px; }

/* the orange tab hanging from the top, the Hilal mark in cream inside it */
.brand { position: relative; z-index: 0; display: block; }
.brand::before { content: ""; position: absolute; z-index: -1; left: -15px; right: -15px; top: -40px; bottom: -12px; background: var(--red); border-radius: 0 0 10px 10px; transition: top .4s; }
.brand .logo-mark { background: #fbf9f3; width: 74px; height: 49px; }
/* the Stearns mark next to it, behind a thin orange stripe */
.partner { display: flex; align-items: center; margin-left: -12px; padding-left: 22px; height: 50px; border-left: 1.5px solid var(--red); color: var(--red); }
.partner .ssb { width: 90px; height: 48px; color: var(--red); }

/* the sky: pinned for a while, the scene drawn behind the words */
.hero-track { position: relative; height: 150vh; }
.hero-track > .hero { position: sticky; top: 0; height: 100vh; min-height: 560px; padding: 0; display: grid; align-items: start; justify-items: center; text-align: center; background: #9fb5cb; overflow: hidden; isolation: isolate; }
.hero .hero-copy { max-width: 980px; padding: clamp(150px, 24vh, 260px) var(--gut) 0; }
.hero .pill-label { background: rgba(245, 241, 232, .7); }
.hero h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.08; margin: 0 0 20px; }
.hero .rotator { justify-items: center; }
.hero .lead { color: var(--ink); max-width: 640px; margin: 0 auto; font-size: clamp(16px, 1.25vw, 19px); }
.hero .hero-actions { justify-content: center; margin-top: 34px; }
/* at dusk the words turn light */
.hero h1, .hero .lead, .hero .arrow-link { transition: color .6s ease, text-shadow .6s ease; }
.hero.is-night h1, .hero.is-night .lead, .hero.is-night .arrow-link { color: #fffaf1; text-shadow: 0 2px 24px rgba(10, 12, 24, .5); }
.hero.is-night .btn-primary { background: #fffaf1; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .hero-track { height: auto; } .hero-track > .hero { position: relative; } }
@media (max-width: 1020px) {
  .partner { display: none; }
}
@media (max-width: 640px) {
  .topbar { font-size: 11.5px; gap: 8px; }
  .brand::before { left: -11px; right: -11px; bottom: -9px; border-radius: 0 0 8px 8px; }
  .brand .logo-mark { width: 56px; height: 37px; }
  .hero .hero-copy { padding-top: 20vh; }
  .hero .hero-actions { flex-direction: column; gap: 18px; }
}
/* every phrase of the headline on one line on wider screens, so there is no gap under it */
@media (min-width: 1021px) {
  .hero .hero-copy { max-width: 1240px; }
  .hero .rot { white-space: nowrap; }
}
/* phone: a more compact landing, clear of the bridge */
@media (max-width: 640px) {
  .hero .hero-copy { padding-top: 16vh; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); margin-bottom: 14px; }
  .hero .lead { font-size: 15px; line-height: 1.55; max-width: 34ch; }
  .hero .hero-actions { gap: 14px; margin-top: 22px; }
  .hero .pill-label { font-size: 14px; padding: 8px 18px; }
}

/* message from the board: a letter, no picture */
.message { padding: clamp(90px, 10vw, 150px) 0; border-bottom: 1px solid var(--line); }
.letter { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(40px, 8vw, 130px); align-items: start; }
.letter-head { position: sticky; top: 130px; }
.letter-head .h2-55 { margin-top: 6px; }
.letter-body { position: relative; max-width: 700px; padding-top: 10px; }
.letter-quote { position: absolute; left: -.55em; top: -.32em; font-family: var(--serif); font-size: 140px; line-height: 1; color: var(--red); opacity: .9; }
.letter-open { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.38; letter-spacing: -.01em; margin-bottom: 28px; }
.letter-body .lead + .lead { margin-top: 18px; }
.letter-sign { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.letter-mark { width: 54px; height: 36px; background: var(--red); -webkit-mask: url("img/hilal-wordmark.png?v=7") center / contain no-repeat; mask: url("img/hilal-wordmark.png?v=7") center / contain no-repeat; flex: none; }
.letter-sign p { display: grid; gap: 2px; padding-left: 18px; border-left: 1.5px solid var(--red); }
.letter-sign b { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.letter-sign span { font-size: 14px; color: var(--muted); }
@media (max-width: 1020px) {
  .letter { grid-template-columns: 1fr; }
  .letter-head { position: static; }
  .letter-quote { position: static; display: block; height: .5em; font-size: 110px; }
}

/* =========================================================================
   Text style, everywhere: serif headlines at regular weight with one italic
   accent, sentence case, short sans lines, outline pill buttons with a
   serif label, a plain small line above a heading instead of a badge
   ========================================================================= */
h1, .h2-48, .h2-55, .h2-68, .h2-70, .what-line { font-weight: 400; letter-spacing: -.022em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
.kicker { font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 18px; letter-spacing: .01em; }
.kicker.center { text-align: center; }

.btn { background: transparent; color: var(--ink); border: 1.5px solid currentColor; border-radius: 999px; padding: 15px 38px 16px; font: 400 20px/1 var(--serif); gap: 0; }
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: none; }
.form .btn { background: transparent; color: var(--ink); }
.form .btn:hover { background: var(--ink); color: var(--bg); }
.join { padding: 13px 30px 14px; gap: 0; font: 400 19px/1 var(--serif); border-width: 1.5px; }
.join:hover { background: var(--ink); color: var(--bg); }

/* card titles and news in the same serif */
.conn h3, .prog h3, .news-card h4, .process b { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.conn h3, .prog h3 { font-size: 24px; line-height: 1.3; }
.news-card h4 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.3; }
.process b { font-size: 22px; }
.programs .btn, .programs .explore { color: #f1a48f; }

/* the landing, like the example: two lines, two short lines, one button */
.hero .hero-copy { max-width: 1000px; padding-top: clamp(170px, 27vh, 300px); }
.hero h1 { font-size: clamp(40px, 5vw, 76px); line-height: 1.08; margin-bottom: 26px; }
.hero .lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink); max-width: none; }
.hero .hero-actions { margin-top: 34px; }
.hero.is-night .btn { color: #fffaf1; border-color: #fffaf1; background: transparent; }
.hero.is-night .btn:hover { background: #fffaf1; color: var(--ink); }
@media (max-width: 640px) {
  .hero .hero-copy { padding-top: 19vh; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .hero h1 br, .hero .lead br { display: none; }
  .hero .lead { font-size: 15px; max-width: 32ch; margin: 0 auto; }
  .btn { font-size: 18px; padding: 13px 30px 14px; }
  .join { padding: 10px 20px 11px; font-size: 16px; }
}
/* the first line of the landing headline in one piece; the small line readable on dark */
@media (min-width: 1021px) { .hero .hero-copy { max-width: 1240px; } }
.programs .kicker { color: rgba(245, 241, 232, .62); }


/* =========================================================================
   The landing of the very first version: the orange Hilal logo straight on
   the sky (no box), the Golden Gate from Crissy Field without the skyline,
   small calm text
   ========================================================================= */
.brand::before { display: none; }
.brand .logo-mark { background: var(--red); width: 92px; height: 61px; }
.menu { font-size: 15.5px; gap: 30px; }
.join { padding: 11px 24px 12px; font-size: 17px; }
.hero .hero-copy { max-width: 900px; padding-top: clamp(150px, 26vh, 300px); }
.hero h1 { font-size: clamp(34px, 3.85vw, 64px); line-height: 1.08; margin-bottom: 20px; }
.hero .lead { font-size: clamp(14px, 1.04vw, 16px); line-height: 1.55; }
.hero .hero-actions { margin-top: 28px; }
.hero .btn { font-size: 17px; padding: 11px 28px 12px; }
@media (min-width: 1021px) { .hero .hero-copy { max-width: 1000px; } }
@media (max-width: 640px) {
  .brand .logo-mark { width: 64px; height: 42px; }
  .hero .hero-copy { padding-top: 20vh; }
  .hero h1 { font-size: clamp(28px, 7.8vw, 36px); }
  .hero .lead { font-size: 14.5px; }
}
/* the Stearns mark next to the Hilal logo, behind a thin orange stripe, also on phones */
.partner { margin-left: 4px; }
@media (max-width: 1020px) { .partner { display: flex; } }
@media (max-width: 640px) {
  .partner { height: 34px; padding-left: 12px; margin-left: 0; }
  .partner .ssb { width: 60px; height: 32px; }
  .menu-toggle { flex: none; }
}
/* the landing like the example: a short two-line headline, two small lines, one button */
.hero .hero-copy { max-width: 760px; padding-top: clamp(170px, 30vh, 320px); }
.hero h1 { font-size: clamp(38px, 4.6vw, 68px); line-height: 1.1; margin-bottom: 22px; }
.hero .lead { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; }
.hero .hero-actions { margin-top: 30px; }
.hero .btn { font-size: 18px; padding: 13px 34px 14px; }
@media (min-width: 1021px) { .hero .hero-copy { max-width: 760px; } }
@media (max-width: 640px) {
  .hero .hero-copy { padding-top: 22vh; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 42px); }
  .hero h1 br { display: inline; }
  .hero .lead { font-size: 15px; }
}
.hero .hero-copy { padding-top: clamp(150px, 26vh, 290px); }
/* the landing smaller, like the example */
.hero .hero-copy { max-width: 980px; padding-top: clamp(160px, 29vh, 300px); }
@media (min-width: 1021px) { .hero .hero-copy { max-width: 980px; } }
.hero h1 { font-size: clamp(30px, 3.5vw, 54px); line-height: 1.12; margin-bottom: 18px; }
.hero .lead { font-size: clamp(14px, 1vw, 16px); }
.hero .hero-actions { margin-top: 26px; }
.hero .btn { font-size: 17px; padding: 11px 30px 12px; }
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(27px, 7.4vw, 32px); }
  .hero h1 br { display: none; }
  .hero .lead { font-size: 14.5px; }
}
/* a lighter header and smaller words on the landing, like the example */
.menu { gap: 34px; font-size: 15px; }
.hero h1 { font-size: clamp(28px, 3vw, 46px); line-height: 1.14; margin-bottom: 16px; }
.hero .lead { font-size: clamp(13.5px, .95vw, 15px); line-height: 1.6; }
.hero .hero-actions { margin-top: 24px; }
.hero .btn { font-size: 16px; padding: 10px 26px 11px; }
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(25px, 6.8vw, 29px); }
  .hero .lead { font-size: 14px; }
}
/* a smaller header: logos, links and the button */
.brand .logo-mark { width: 72px; height: 48px; }
.partner { height: 40px; padding-left: 18px; }
.partner .ssb { width: 72px; height: 38px; }
.menu { font-size: 14px; gap: 28px; }
.join { padding: 9px 20px 10px; font-size: 15px; }
.site-header { height: 92px; }
.site-header.is-solid { height: 74px; }
@media (max-width: 640px) {
  .brand .logo-mark { width: 56px; height: 37px; }
  .partner { height: 30px; padding-left: 10px; }
  .partner .ssb { width: 52px; height: 28px; }
  .join { padding: 8px 16px 9px; font-size: 14px; }
  .menu-toggle { width: 40px; height: 40px; }
}

/* =========================================================================
   Under the landing, the YC way: plain statements, facts as numbers,
   simple text lists with a quiet arrow, no icons or decorative pictures
   ========================================================================= */
.statement { padding: clamp(90px, 10vw, 150px) 0 clamp(70px, 8vw, 110px); }
.statement-text { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1.25; letter-spacing: -.015em; max-width: 1080px; }
.statement-text .muted { color: rgba(20, 18, 16, .45); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: clamp(56px, 7vw, 90px) 0 0; padding-top: 34px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 52px); line-height: 1; letter-spacing: -.02em; color: var(--red); }
.facts dd { margin: 12px 0 0; font-size: 16px; color: var(--muted); max-width: 26ch; }

.message { border-top: 1px solid var(--line); border-bottom: 0; }

.block { padding: clamp(80px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.block-alt { background: var(--card); }
.block-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.block-title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.block-title em { font-style: italic; }
.block-intro { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 46ch; margin: 0; }
.block-intro + .block-intro { margin-top: 12px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.two-col .block-title { margin-bottom: 18px; }

.offer-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.offer-list article { padding: 26px 28px 8px 0; }
.offer-list article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.offer-list h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; letter-spacing: -.01em; margin: 0 0 10px; }
.offer-list p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }

.row-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.row-list a { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) 24px; gap: 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.row-list b { font-weight: 600; font-size: 18px; }
.row-list span { color: var(--muted); font-size: 16px; line-height: 1.55; }
.row-list i, .news-list i { font-style: normal; font-size: 22px; color: var(--red); justify-self: end; transition: transform .2s; }
.row-list a:hover b { color: var(--red); }
.row-list a:hover i, .news-list a:hover i { transform: translateX(4px); }

.detail-list { margin: 0; border-top: 1px solid var(--ink); }
.detail-list div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { font-weight: 600; font-size: 15px; }
.detail-list dd { margin: 0; color: var(--muted); font-size: 16px; }

.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.news-list a { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.news-list a:hover { color: var(--red); }

.plain-link { color: var(--ink); border-bottom: 1px solid currentColor; }
#contact .form { margin-top: 0; }

.cta { padding: clamp(90px, 10vw, 140px) 0; text-align: center; border-top: 1px solid var(--line); }
.cta .block-intro { margin: 18px auto 30px; }

.footer-plain { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; padding-top: 56px; padding-bottom: 40px; border-top: 1px solid var(--line); }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .logo-mark { width: 72px; height: 48px; }
.footer-brand p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); max-width: 28ch; }
.footer-plain .footer-col h6 { color: var(--ink); font-size: 13px; letter-spacing: .06em; }
.footer-plain .footer-col a { color: var(--muted); font-size: 15px; }
.footer-plain .footer-col a:hover { color: var(--red); }
.footer-copy { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer { padding: 0; }

@media (max-width: 1020px) {
  .facts, .block-head, .two-col { grid-template-columns: 1fr; }
  .offer-list { grid-template-columns: 1fr 1fr; }
  .offer-list article:nth-child(3) { border-left: 0; padding-left: 0; }
  .row-list a { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; }
  .row-list span { grid-column: 1; }
  .row-list i { grid-row: 1; grid-column: 2; }
  .footer-plain { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .offer-list { grid-template-columns: 1fr; }
  .offer-list article, .offer-list article + article { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .detail-list div { grid-template-columns: 1fr; gap: 4px; }
  .footer-plain { grid-template-columns: 1fr; }
}
.footer-plain { border-top: 0; position: relative; }
.footer-plain::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--line); }

/* one background colour for the whole page: sections are separated by thin lines only */
.block-alt, .page-form { background: transparent; }

/* no full-width lines between sections or under the header: whitespace does the separating */
.statement, .message, .block, .cta { border-top: 0; border-bottom: 0; }
.footer-plain::before { display: none; }
.site-header.is-solid { box-shadow: none; }
.statement { padding-bottom: clamp(40px, 5vw, 70px); }
.cta .block-title { margin-bottom: 30px; }

/* =========================================================================
   No lines anywhere: lists, the letter, the process, the footer.
   Space and type weight carry the structure instead.
   ========================================================================= */
.offer-list, .row-list, .news-list, .detail-list { border-top: 0; }
.offer-list { gap: clamp(28px, 4vw, 56px); }
.offer-list article, .offer-list article + article { padding: 0; border: 0; }
.offer-list h3 { margin-bottom: 8px; }

.row-list { display: grid; gap: 6px; }
.row-list a { padding: 18px 0; border: 0; }
.news-list { display: grid; gap: 4px; }
.news-list a { padding: 14px 0; border: 0; justify-content: flex-start; }
.news-list i { margin-left: 10px; }

.letter-sign { border-top: 0; padding-top: 0; margin-top: 44px; }
.process li { border: 0; padding: 14px 0; }
.page-form { border: 0; padding: 0; }
.page-hero { background: none; }
.footer-copy { border-top: 0; padding-top: 0; margin-top: 40px; }
.footer-plain { padding-top: 24px; }

@media (max-width: 640px) {
  .offer-list article, .offer-list article + article { padding: 0; border: 0; }
}
.block { padding: clamp(60px, 6.5vw, 100px) 0; }
.message { padding: clamp(70px, 8vw, 120px) 0; }

/* section heads without lines: title on its own, an intro (if any) right under it */
.block-head { display: block; margin-bottom: clamp(32px, 4vw, 48px); }
.block-head .block-intro { margin-top: 14px; }
/* News stacks like the other sections; the program arrows sit with their text */
#news .two-col { display: block; }
#news .block-title { margin-bottom: clamp(24px, 3vw, 36px); }
.row-list a { grid-template-columns: minmax(0, 300px) auto auto; justify-content: start; }
.row-list i { justify-self: start; }
.news-list i, .row-list i { position: relative; top: -1px; }
.message { padding-bottom: clamp(40px, 5vw, 70px); }
@media (max-width: 1020px) {
  .row-list a { grid-template-columns: minmax(0, 1fr) 24px; }
  .row-list i { justify-self: end; }
}

/* =========================================================================
   Become a member and Thank you: the same plain, text-led look as the home page
   ========================================================================= */
.page-top { padding: clamp(150px, 15vw, 200px) 0 0; }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 18px; }
.page-title em { font-style: italic; }
.page-apply { padding-top: clamp(48px, 5vw, 72px); }
.page-sub { font-family: var(--sans); font-weight: 600; font-size: 18px; letter-spacing: -.01em; margin: 0 0 14px; }
.page-sub ~ .page-sub { margin-top: 44px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plain-list li { font-size: 17px; line-height: 1.55; color: var(--muted); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s) "."; color: var(--ink); margin-right: 10px; font-variant-numeric: tabular-nums; }
.page-apply .form { margin: 0; }
.page-apply .check span { font-size: 14px; color: var(--muted); }
.page-thanks { padding-bottom: clamp(120px, 14vw, 200px); }
.page-thanks .block-intro { margin-bottom: 30px; }

/* =========================================================================
   Stearns Salaam Banking: our partner page. Centred, one animation, one quote
   ========================================================================= */
.partner-page { text-align: center; padding-bottom: clamp(90px, 10vw, 140px); }
.partner-page .block-intro { margin: 0 auto; }
.partner-anim { width: min(420px, 100%, 44svh); aspect-ratio: 1076 / 1350; margin: clamp(28px, 4vw, 48px) auto; opacity: 0; transition: opacity .45s ease; }
.partner-anim.is-on { opacity: 1; }
.partner-anim svg { display: block; width: 100% !important; height: 100% !important; }
.partner-quote { margin: 0 auto 36px; max-width: 720px; }
.partner-quote blockquote { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2vw, 27px); line-height: 1.4; letter-spacing: -.01em; text-wrap: pretty; }
.partner-quote figcaption { margin-top: 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* the animation's own cream (#f5f3eb) is a shade lighter than the page: darken lets the page colour win, so no box shows */
.partner-anim { mix-blend-mode: darken; }

/* Why founders join: one short line per point */
.offer-short { list-style: none; margin: 0; padding: 0; }
.offer-short li { font-weight: 600; font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -.01em; line-height: 1.35; }

/* the free space: one statement, the italic on what matters, and a button */
.space-free .statement-text { margin: 0 0 32px; }
.space-free .statement-text em { font-style: italic; color: var(--red); }

/* "Read more": italic serif with a quiet underline that fills in on hover */
.read-more { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(20, 18, 16, .35); transition: text-decoration-color .25s, color .25s; }
.read-more:hover { color: var(--red); text-decoration-color: currentColor; }

/* =========================================================================
   Hover: no colour change. A thin underline draws in from left to right
   under the words, and slides back out when you leave.
   ========================================================================= */
.news-list a span, .row-list b, .footer-plain .footer-col a, .read-more, .plain-link {
  text-decoration: none; border-bottom: 0;
  background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .4s cubic-bezier(.6, 0, .2, 1);
}
.news-list a:hover span, .row-list a:hover b, .footer-plain .footer-col a:hover, .read-more:hover, .plain-link:hover { background-size: 100% 1px; }
.row-list a:hover b, .news-list a:hover, .footer-plain .footer-col a:hover, .read-more:hover { color: inherit; }
.footer-plain .footer-col a:hover { color: var(--muted); }
.footer-plain .footer-col a { justify-self: start; width: fit-content; }
/* Read more and the email link keep a faint resting line, the full one draws over it */
.read-more, .plain-link { background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(20, 18, 16, .25), rgba(20, 18, 16, .25)); background-size: 0 1px, 100% 1px; background-position: left 100%, left 100%; background-repeat: no-repeat; }
.read-more:hover, .plain-link:hover { background-size: 100% 1px, 100% 1px; }

/* News: the Stearns line, same size as the others, in italic with a red underline */
.news-list .is-partner a span { font-style: italic; background-image: linear-gradient(var(--red), var(--red)); background-size: 100% 1px; }
.news-list .is-partner a:hover span { background-size: 100% 2px; }

/* no hover line animation: links stay as they are, the email keeps a plain underline, the Stearns line keeps its red one */
.news-list a span, .row-list b, .footer-plain .footer-col a, .plain-link { background: none; padding-bottom: 0; transition: none; }
.plain-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.news-list .is-partner a span, .news-list .is-partner a:hover span { background: linear-gradient(var(--red), var(--red)) left 100% / 100% 1px no-repeat; padding-bottom: 3px; }
/* "Learn more" after the Stearns line: quiet, italic, in place of the arrow */
.news-list .learn-more { margin-left: 18px; font-style: italic; font-weight: 400; font-size: 15px; color: var(--red); white-space: nowrap; }

/* button text: Lora italic, a touch more letter-spacing so the pill reads lighter */
.btn, .join { font-family: var(--serif); font-style: italic; letter-spacing: .01em; }
.news-list .learn-more span { display: inline-block; margin-left: 4px; font-style: normal; }

/* the Stearns line: the red underline only under the headline; "Learn more →" sits on the same baseline, smaller, in red */
.news-list .is-partner a { align-items: baseline; gap: 22px; }
.news-list .is-partner a span:not(.np-title), .news-list .is-partner .learn-more * { background: none; padding: 0; }
.news-list .learn-more { margin-left: 0; display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--red); }
.news-list .learn-more b { font-family: var(--sans); font-style: normal; font-weight: 400; font-size: 15px; }
@media (max-width: 640px) {
  .news-list .is-partner a { flex-wrap: wrap; row-gap: 8px; }
}

/* "Be part of Hilal Space" and the workspace line read as one block: less space between and inside */
#what { padding-bottom: clamp(24px, 3vw, 40px); }
#what .block-head { margin-bottom: clamp(18px, 2vw, 28px); }
#space { padding-top: clamp(24px, 3vw, 40px); }

/* =========================================================================
   Become a member, Genç MÜSİAD structure: a big greeting, one paragraph,
   the criteria, and the form folded into a "Membership pre-application" panel
   ========================================================================= */
.apply-top .page-title { font-size: clamp(44px, 6vw, 88px); line-height: 1; margin-bottom: 26px; }
.apply-intro { margin: 0; max-width: 34em; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); }
.apply-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); max-width: 980px; }
.apply-cols .page-sub ~ .page-sub { margin-top: 0; }
.apply-panel { margin-top: clamp(48px, 5vw, 72px); max-width: 720px; }
.apply-panel summary { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); padding: 14px 28px; border: 1px solid var(--ink); border-radius: 999px; transition: background .25s, color .25s; }
.apply-panel summary::-webkit-details-marker { display: none; }
.apply-panel summary:hover, .apply-panel[open] summary { background: var(--ink); color: var(--bg); }
.apply-chev { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s; }
.apply-panel[open] .apply-chev { transform: translateY(2px) rotate(-135deg); }
.apply-panel-body { padding-top: 32px; }
@media (max-width: 640px) {
  .apply-cols { grid-template-columns: 1fr; }
}
/* the four points are gone: the heading sits right above the workspace sentence */
#what .block-head { margin-bottom: 0; }
#what { padding-bottom: clamp(16px, 2vw, 28px); }
#space { padding-top: 0; }

/* Be part of Hilal Space: heading on the left like Contact, the sentence on the right
   at lead size (serif, one step under the section titles), then the button */
.member-block { padding: clamp(60px, 6.5vw, 100px) 0; }
.member-block .two-col { align-items: start; }
.member-block .block-title { margin: 0; }
.member-text { margin: 6px 0 28px; max-width: 30em; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.member-text em { font-style: italic; color: var(--red); }
.member-text span { color: var(--muted); }
#what.member-block { padding: clamp(60px, 6.5vw, 100px) 0; }
/* the heading above is gone: the workspace statement gets normal section spacing again */
#space.space-free { padding-top: clamp(60px, 6.5vw, 100px); }

/* phones: the landing is not pinned while scrolling; it stays a calm day scene and scrolls away like any section */
@media (max-width: 767px) {
  .hero-track { height: auto; }
  .hero-track > .hero { position: relative; height: 100svh; }
}


/* landing: the words a little lower than before */
.hero .hero-copy { padding-top: clamp(180px, 32vh, 330px); }
@media (max-width: 640px) { .hero .hero-copy { padding-top: 24vh; } }

/* the bay fades into the page, but only once you start scrolling: at the top the landing stays clear */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none; background: linear-gradient(rgba(245, 241, 232, 0), var(--bg)); opacity: var(--hero-fade, 0); }

/* header logos: the Golden Gate's red, and a little bigger */
.site-header { --bridge: #c8492b; }
.site-header .brand .logo-mark, .site-header .partner .ssb { background: var(--bridge); color: var(--bridge); }
.site-header .partner { border-left-color: var(--bridge); }
.brand .logo-mark { width: 86px; height: 57px; }
.partner .ssb { width: 86px; height: 45px; }
@media (max-width: 640px) {
  .brand .logo-mark { width: 62px; height: 41px; }
  .partner .ssb { width: 58px; height: 31px; }
}
.partner { height: 48px; display: flex; align-items: center; }
@media (max-width: 640px) { .partner { height: 34px; } }

/* =========================================================================
   Phones: completely still and clean. No sliding bar, no header transitions,
   no scroll fade; the headline sits in the middle of the screen.
   ========================================================================= */
@media (max-width: 767px) {
  .topbar { display: none; }
  .bar-on .site-header { top: 0; }
  .site-header, .site-header * { transition: none !important; }
  .hero::after { display: none; }
  .hero-track > .hero { align-items: center; align-content: center; }
  .hero .hero-copy { padding-top: 0; padding-bottom: 8vh; }
}
/* phones: the header sits at the top of the page and scrolls away with it. It never changes:
   no background appearing, no shrinking, no movement */
@media (max-width: 767px) {
  .site-header, .site-header.is-solid { position: absolute; top: 0; height: 84px; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.menu-open { background: var(--bg); }
}

/* the Hilal × Stearns bar: on phones it no longer slides in at the top, it sits still above the footer */
.topbar-static { display: none; }
@media (max-width: 767px) {
  .topbar-static { display: flex; position: static; transform: none; transition: none; height: auto; flex-wrap: wrap; padding: 14px var(--gut); gap: 10px; }
}

/* footer: both logos together in the bridge red on the beige, like the header lockup */
.footer-lockup { display: flex; align-items: center; gap: 18px; --bridge: #c8492b; }
.footer-lockup .logo-mark { width: 86px; height: 57px; background: var(--bridge); }
.footer-lockup .ssb { width: 86px; height: 45px; color: var(--bridge); background: var(--bridge); padding-left: 18px; border-left: 1.5px solid var(--bridge); box-sizing: content-box; -webkit-mask-origin: content-box; mask-origin: content-box; -webkit-mask-clip: content-box; mask-clip: content-box; }
/* the masked logo can't carry a border, so the divider is its own thin line */
.footer-lockup .ssb { padding-left: 0; border-left: 0; box-sizing: border-box; -webkit-mask-origin: border-box; mask-origin: border-box; -webkit-mask-clip: border-box; mask-clip: border-box; }
.footer-lockup .lockup-line { width: 1.5px; height: 44px; background: var(--bridge); }
@media (max-width: 767px) { .footer-plain { padding-top: 44px; } }

/* phones: the header is a still beige band at the top, so both red logos sit on the beige from the first second */
@media (max-width: 767px) {
  .site-header, .site-header.is-solid { background: var(--bg); }
  .hero-track > .hero { margin-top: 84px; height: calc(100svh - 84px); }
}
/* phones: the soft fade from the bay into the page is always there, it never builds up while scrolling */
@media (max-width: 767px) { .hero::after { display: block; opacity: 1; } }

/* Board signature: Hilal and Stearns side by side in the bridge red, then the divider and the name */
.letter-mark { background: #c8492b; }
.letter-sign .letter-ssb { width: 56px; height: 30px; color: #c8492b; font-size: 0; margin-left: -4px; }
.letter-sign p { border-left-color: #c8492b; }

/* phones: back to sky only, the header floats over the scene again (still, no animation) */
@media (max-width: 767px) {
  .site-header, .site-header.is-solid { background: transparent; }
  .site-header.menu-open { background: var(--bg); }
  .hero-track > .hero { margin-top: 0; height: 100svh; }
}

/* the fade lives just below the first screen: the scene is 70px taller than the window, the fade fills
   that hidden strip, so the landing is all sky and bay, and the fade only shows as the page scrolls on */
.hero-track > .hero { height: calc(100vh + 70px); }
.hero::after { opacity: 1; height: 70px; }
@media (max-width: 767px) {
  .hero-track > .hero { height: calc(100svh + 70px); }
  .hero .hero-copy { padding-bottom: calc(8vh + 70px); }
}

/* =========================================================================
   Phones: the header stays at the top and is uncovered by scrolling, not animated.
   The logos and buttons are fixed and transparent. Behind them sits a fixed beige
   strip; the landing scene lies on top of that strip, so at first you only see sky.
   As you scroll, the scene slides up and simply uncovers the beige behind the logos.
   ========================================================================= */
.head-bg { display: none; }
@media (max-width: 767px) {
  .site-header, .site-header.is-solid { position: fixed; top: 0; background: transparent; }
  .head-bg { display: block; position: fixed; z-index: 2; inset: 0 0 auto 0; height: 84px; background: var(--bg); pointer-events: none; }
  .hero-track { position: relative; z-index: 3; }
}


/* top bar with words only: no divider line needed in front of the text */
.topbar .tb-text { margin-left: 0; padding-left: 0; border-left: 0; }

/* the landing picture: drawn by hero-scene.js, crisp pixels, filling the landing */
.hero-pixels { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; image-rendering: pixelated; display: block; }

/* =========================================================================
   The big line under the picture: one sentence with small pictures set into it
   ========================================================================= */
.statement .bigline { font: 600 clamp(34px, 4.6vw, 72px)/1.22 var(--sans); letter-spacing: -.03em; color: #2b2a28; text-align: center; max-width: 1320px; margin: 0 auto; text-wrap: balance; }
.chip { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; height: 1.05em; margin: -.12em .06em 0; border-radius: .22em; overflow: hidden; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.chip:hover { transform: translateY(-4px) rotate(-2deg); }
.chip svg { display: block; width: 100%; height: 100%; }
.chip-gate { width: 1.75em; box-shadow: inset 0 0 0 .06em rgba(43, 42, 40, .15); }
.chip-led { padding: .14em .22em; background: #2b211c; box-shadow: inset 0 0 0 .07em #5a4334, 0 .06em .14em rgba(0, 0, 0, .25); }
.chip-led .led { display: block; height: 100%; }
.chip-led svg { width: auto; height: 100%; aspect-ratio: 30 / 11; }
.chip-led rect { fill: #ff4a32; }
.chip-led rect.off { fill: #3d2a22; }
.chip-led svg { filter: drop-shadow(0 0 .05em rgba(255, 74, 50, .7)); }
.chip-set { display: inline-flex; gap: .12em; vertical-align: middle; margin: -.12em .06em 0; }
.chip-icon { width: 1.05em; margin: 0; padding: .16em; background: #fbf9f3; border-radius: .24em; box-shadow: 0 .05em .14em rgba(0, 0, 0, .14), inset 0 -.05em 0 rgba(0, 0, 0, .06); }
.chip-plaque { width: auto; padding: 0 .32em; font: italic 500 .8em/1 var(--serif); letter-spacing: 0; color: #fff4dc; background: linear-gradient(#c79a4c, #a77a32); box-shadow: inset 0 0 0 .05em #8a6224, inset 0 .06em 0 rgba(255, 255, 255, .35); height: 1.3em; }
@media (max-width: 640px) {
  .statement .bigline { font-size: clamp(26px, 7.6vw, 34px); line-height: 1.32; }
}
.chip-led .led svg { width: 1.85em; height: .75em; aspect-ratio: auto; }
.chip-led { height: 1.05em; padding: 0 .2em; }
.chip-led { width: 2.3em; flex: none; }
.chip-led .led { flex: none; display: flex; align-items: center; }
/* the night landing: no glow behind the words, the header light over the dark */
.hero.is-night h1, .hero.is-night .lead { text-shadow: none; }
.hero-track > .hero { background: #0a1130; }
/* over the night picture the header reads light; it turns back once it goes solid */
.night-landing .site-header:not(.is-solid):not(.menu-open) .menu a,
.night-landing .site-header:not(.is-solid):not(.menu-open) .join { color: #fffaf1; border-color: #fffaf1; }
.night-landing .site-header:not(.is-solid):not(.menu-open) .join:hover { background: #fffaf1; color: var(--ink); }
.night-landing .site-header:not(.is-solid):not(.menu-open) .brand .logo-mark { background: #fffaf1; }
.night-landing .site-header:not(.is-solid):not(.menu-open) .partner { color: #fffaf1; border-left-color: rgba(255, 250, 241, .7); }
.night-landing .site-header:not(.is-solid):not(.menu-open) .partner .ssb { color: #fffaf1; background: #fffaf1; }

/* =========================================================================
   Landing: the first night picture of the bridge (img/hero-night-v2.jpg)
   ========================================================================= */
.hero-track > .hero.photo-landing { background: #15171c url("img/hero-night-v2.jpg") 50% 100% / cover no-repeat; }
@media (max-width: 640px) {
  /* phone: both towers in view at the bottom of the screen, the dark sky running on above */
  .hero-track > .hero.photo-landing {
    background:
      linear-gradient(#100f14 0%, rgba(16, 15, 20, .85) 25%, rgba(16, 15, 20, 0) 62%) center bottom 70px / 150% 84.375vw no-repeat,
      url("img/hero-night-v2.jpg") center bottom 70px / 150% 84.375vw no-repeat,
      #100f14;
  }
}

/* the landing words as on the first hilal.group: a big serif line, and under it
   one small line in a pixel face, upper case, widely spaced, in white */
.photo-landing h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: 1.06; }
.hero .pixel-sub { font-family: "Silkscreen", var(--sans), monospace; font-size: 15px; line-height: 1.9; letter-spacing: .1em; text-transform: uppercase; color: #fff; max-width: 34ch; margin-left: auto; margin-right: auto; text-wrap: balance; }
@media (max-width: 640px) { .hero .pixel-sub { font-size: 12px; letter-spacing: .06em; line-height: 1.8; max-width: 30ch; } }
.photo-landing h1 br { display: inline !important; }

/* sized to the picture: the words sit in the open sky between the header and the tower
   tops, clear of the cables. Measured at 1440 x 860: tower tops at 453px, the cable
   lowest at 621px in the middle. */
@media (min-width: 641px) {
  .photo-landing .hero-copy { padding-top: clamp(96px, 13vh, 150px); }
  .photo-landing h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.05; }
  .photo-landing .pixel-sub { max-width: 48ch; margin-top: 22px; font-size: 14px; }
  .photo-landing .hero-actions { margin-top: 26px; }
}


/* the landing headline in the voice of the about line: Instrument Sans, semi-bold,
   set tight; the italic words in Lora italic as the one warm accent */
.photo-landing h1 { font-family: var(--sans); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.photo-landing h1 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
/* a smaller headline, set a little lower, still clear of the tower tops */
@media (min-width: 641px) {
  .photo-landing .hero-copy { padding-top: clamp(130px, 19vh, 190px); }
  .photo-landing h1 { font-size: clamp(36px, 4.4vw, 64px); }
}
@media (max-width: 640px) {
  .photo-landing h1 { font-size: clamp(34px, 9.6vw, 42px); }
  .photo-landing .hero-copy { padding-top: 24vh; }
}
@media (min-width: 641px) { .photo-landing .hero-copy { padding-top: clamp(150px, 22vh, 215px); } }
@media (max-width: 640px) { .photo-landing .hero-copy { padding-top: 28vh; } }

/* a little lower again, and a pixel crescent moon in the sky top right */
@media (min-width: 641px) { .photo-landing .hero-copy { padding-top: clamp(190px, 29vh, 290px); } }
@media (max-width: 640px) { .photo-landing .hero-copy { padding-top: 32vh; } }
.pixel-moon { position: absolute; z-index: 0; top: clamp(110px, 17vh, 170px); right: clamp(40px, 13vw, 220px); width: clamp(40px, 4.4vw, 64px); aspect-ratio: 1; filter: drop-shadow(0 0 12px rgba(251, 238, 201, .45)) drop-shadow(0 0 32px rgba(251, 238, 201, .18)); animation: moon-in 1.4s ease .3s both; }
.pixel-moon svg { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
@keyframes moon-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.photo-landing .hero-copy { position: relative; z-index: 1; }
@media (max-width: 640px) { .pixel-moon { top: 15vh; right: 28px; width: 36px; } }
@media (prefers-reduced-motion: reduce) { .pixel-moon { animation: none; } }

/* the Hilal crescent in the headline, as on the first hilal.group: inline before the name,
   a little shorter than the capitals and set on the baseline */
.claim-mond { display: inline-block; height: .7em; width: auto; vertical-align: baseline; margin-right: .14em; transform: translateY(.015em); }
@media (max-width: 640px) { .claim-mond { height: .66em; margin-right: .12em; } }
/* the landing words a little higher again */
@media (min-width: 641px) { .photo-landing .hero-copy { padding-top: clamp(160px, 24vh, 240px); } }
@media (max-width: 640px) { .photo-landing .hero-copy { padding-top: 29vh; } }

/* =========================================================================
   Landing: the sentence with the small pictures, alone on the cream page
   ========================================================================= */
.statement.landing { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 130px 0 90px; }
.statement.landing .bigline { margin-top: 0; }
@media (max-width: 640px) { .statement.landing { padding: 110px 0 70px; } }

/* =========================================================================
   The night section: the first picture of the bridge, with our line on it
   ========================================================================= */
.night-band { position: relative; min-height: 100vh; min-height: 100svh; background: #15171c url("img/hero-night-v2.jpg") 50% 100% / cover no-repeat; color: #fffaf1; text-align: center; overflow: hidden; }
.night-copy { padding: clamp(150px, 22vh, 220px) var(--gut) 0; }
.night-title { font-family: var(--sans); font-weight: 600; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; color: #fffaf1; margin: 0; }
.night-title em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.night-band .pixel-sub { font-family: "Silkscreen", var(--sans), monospace; font-size: 14px; line-height: 1.9; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 22px auto 0; max-width: 48ch; }
.night-actions { margin-top: 26px; }
.night-band .btn { color: #fffaf1; border-color: #fffaf1; background: transparent; }
.night-band .btn:hover { background: #fffaf1; color: var(--ink); }
@media (max-width: 640px) {
  .night-band { background:
      linear-gradient(#100f14 0%, rgba(16, 15, 20, .85) 25%, rgba(16, 15, 20, 0) 62%) center bottom / 150% 84.375vw no-repeat,
      url("img/hero-night-v2.jpg") center bottom / 150% 84.375vw no-repeat, #100f14; }
  .night-copy { padding-top: 26vh; }
  .night-title { font-size: clamp(34px, 9.6vw, 42px); }
  .night-band .pixel-sub { font-size: 12px; letter-spacing: .06em; max-width: 26ch; }
}

/* while the header sits over the night section it turns light, on a dark glass */
.over-night .site-header:not(.menu-open) { background: rgba(16, 15, 20, .55) !important; box-shadow: none !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.over-night .site-header:not(.menu-open) .menu a, .over-night .site-header:not(.menu-open) .join { color: #fffaf1; border-color: #fffaf1; }
.over-night .site-header:not(.menu-open) .brand .logo-mark { background: #fffaf1; }
.over-night .site-header:not(.menu-open) .partner { color: #fffaf1; border-left-color: rgba(255, 250, 241, .7); }
.over-night .site-header:not(.menu-open) .partner .ssb { color: #fffaf1; background: #fffaf1; }
.over-night .site-header:not(.menu-open) .menu-toggle span { background: #fffaf1; }
.over-night .head-bg { opacity: 0; }


/* =========================================================================
   The night picture as a window: inset from the page edges, rounded corners,
   the cream page around it. The header stays as it is above it.
   ========================================================================= */
.night-wrap { padding: clamp(24px, 4vw, 56px) var(--gut); }
.night-band { max-width: 1400px; margin: 0 auto; min-height: 0; height: clamp(520px, 82vh, 820px); border-radius: clamp(20px, 2.4vw, 36px); box-shadow: 0 30px 60px -30px rgba(20, 18, 16, .45); }
.night-copy { padding-top: clamp(80px, 14vh, 150px); }
.night-title { font-size: clamp(34px, 4vw, 58px); }
@media (max-width: 640px) {
  .night-wrap { padding: 20px 12px; }
  .night-band { height: 78svh; border-radius: 22px; background:
      linear-gradient(#100f14 0%, rgba(16, 15, 20, .85) 25%, rgba(16, 15, 20, 0) 62%) center bottom / 150% auto no-repeat,
      url("img/hero-night-v2.jpg") center bottom / 150% auto no-repeat, #100f14; }
  .night-copy { padding-top: 15svh; }
}

/* =========================================================================
   Landing again: the pixel night panorama, with our line on it
   ========================================================================= */
.pixel-landing h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; color: #fffaf1; text-shadow: none; }
.pixel-landing h1 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.pixel-landing h1 br { display: inline !important; }
.pixel-landing .pixel-sub { font-family: "Silkscreen", var(--sans), monospace; font-size: 14px; line-height: 1.9; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: none; max-width: 48ch; margin: 22px auto 0; }
.pixel-landing .hero-actions { margin-top: 26px; }
@media (min-width: 641px) { .pixel-landing .hero-copy { padding-top: clamp(140px, 20vh, 200px); } }
@media (max-width: 640px) {
  .pixel-landing h1 { font-size: clamp(34px, 9.6vw, 42px); }
  .pixel-landing .pixel-sub { font-size: 12px; letter-spacing: .06em; max-width: 26ch; }
  .pixel-landing .hero-copy { padding-top: 24vh; }
}
/* the about section is no longer the first screen */
.statement:not(.landing) { min-height: 0; }

/* the night picture a touch brighter: the same picture drawn again on a layer above
   the original, lifted a little, so the words and the header stay untouched */
.hero-track > .hero.photo-landing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; filter: brightness(1.48) saturate(.9) hue-rotate(-12deg); pointer-events: none; }

/* only the sky brighter: the brightened layer fades out above the tower tops, so the
   bridge, the lamps and the water keep their original colours */
.hero-track > .hero.photo-landing::before {
  filter: brightness(1.48);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 44%, transparent 56%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 44%, transparent 56%);
}
@media (max-width: 640px) {
  .hero-track > .hero.photo-landing::before {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 72%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 72%);
  }
}


/* =========================================================================
   Phone landing: shorter than the screen so the next section peeks in, the words
   higher, the bridge sitting right on the bottom edge
   ========================================================================= */
@media (max-width: 640px) {
  .hero-track { height: auto; }
  .hero-track > .hero.photo-landing { position: relative; height: 86svh; min-height: 560px; margin-top: 0;
    background:
      linear-gradient(#100f14 0%, rgba(16, 15, 20, .85) 25%, rgba(16, 15, 20, 0) 62%) center bottom / 150% 84.375vw no-repeat,
      url("img/hero-night-v2.jpg") center bottom / 150% 84.375vw no-repeat,
      #100f14; }
  .photo-landing .hero-copy { padding-top: 19svh; }
  .hero-track > .hero.photo-landing::before {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 68%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 68%);
  }
}

/* less empty space around the closing line at the end of the page */
.cta { padding: clamp(56px, 7vw, 100px) 0 !important; }
#contact { padding-bottom: var(--section-y) !important; }
.hero-track > .hero.photo-landing::after { display: none !important; }

/* phone, portrait: only the left tower, close up. The picture is drawn at three
   quarters of the landing's height, shifted so the tower stands left of centre;
   the dark sky runs on above it */
@media (max-width: 640px) {
  .hero-track > .hero.photo-landing {
    background:
      linear-gradient(#100f14 0%, #100f14 24%, rgba(16, 15, 20, 0) 40%) center top / 100% 100% no-repeat,
      url("img/hero-night-v2.jpg") 12% bottom / auto 76% no-repeat,
      #100f14;
  }
  .photo-landing .hero-copy { padding-top: 14svh; }
  .hero-track > .hero.photo-landing::before {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, transparent 58%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 48%, transparent 58%);
  }
}
@media (max-width: 640px) {
  .hero-track > .hero.photo-landing { background-size: 100% 100%, auto 70%, auto; background-position: center top, 12% bottom, 0 0; }
  .photo-landing .hero-copy { padding-top: 10svh; }
}

/* the closing line: who we are, and that the door is open to everyone */
.cta .block-title { margin-bottom: 14px; }
.cta .cta-welcome { margin: 0 auto 28px; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink); }

/* the visit page: just the headline, one line and the form */
.page-apply .apply-form { max-width: 640px; }
.page-apply { padding-top: 0 !important; }
.page-apply .apply-form { margin-top: clamp(28px, 3vw, 44px); }

/* phone: the landing fills exactly the first screen, so the cut to the next section
   only comes when you scroll (svh = the screen with the browser bars showing) */
@media (max-width: 640px) {
  .hero-track > .hero.photo-landing { height: 100svh; min-height: 0; }
  .photo-landing .hero-copy { padding-top: 15svh; }
}

/* the header stays light (white logos, white menu, no cream bar) as long as it sits
   over the dark landing; it turns orange on cream only once the cream page is under it */
.over-dark .site-header:not(.menu-open) { background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.over-dark .site-header:not(.menu-open) .brand .logo-mark { background: #fffaf1 !important; }
.over-dark .site-header:not(.menu-open) .partner { color: #fffaf1 !important; border-left-color: rgba(255, 250, 241, .7) !important; }
.over-dark .site-header:not(.menu-open) .partner .ssb { color: #fffaf1 !important; background: #fffaf1 !important; }
.over-dark .site-header:not(.menu-open) .menu a, .over-dark .site-header:not(.menu-open) .join { color: #fffaf1 !important; border-color: #fffaf1 !important; }
.over-dark .head-bg { opacity: 0; }
.site-header .brand .logo-mark, .site-header .partner, .site-header .partner .ssb, .site-header .menu a, .site-header .join { transition: background-color .3s, color .3s, border-color .3s; }

/* the new landing picture (no stars, sky already lifted): no extra brightening layer,
   and on phones the dark above it in the picture's own top colour */
.hero-track > .hero.photo-landing::before { display: none !important; }
.hero-track > .hero.photo-landing { background-color: #17161c; }
@media (max-width: 640px) {
  .hero-track > .hero.photo-landing {
    background:
      linear-gradient(#17161c 0%, #17161c 24%, rgba(23, 22, 28, 0) 40%) center top / 100% 100% no-repeat,
      url("img/hero-night-v2.jpg") 12% bottom / auto 70% no-repeat,
      #17161c;
  }
}

/* =========================================================================
   Headings across the site in the voice of the first two screens: Instrument Sans,
   semi-bold, set tight; italic words in Lora italic. The letter ("Why we opened
   Hilal Space") keeps its Lora.
   ========================================================================= */
:is(.statement-text, .block-title, .page-title, .page-sub, .kn-t, .np-title, .row-list b, .news-card h4):not(.message *) {
  font-family: var(--sans) !important; font-weight: 600 !important; letter-spacing: -.03em !important;
}
:is(.statement-text, .block-title, .page-title) em:not(.message *) {
  font-family: var(--serif) !important; font-weight: 400 !important; font-style: italic; letter-spacing: -.02em !important;
}
.statement-text .muted { font-weight: 600; }
/* the signature under the letter in the same face as the other texts */
.letter-sign b, .letter-sign span { font-family: var(--sans) !important; }
.letter-sign b { font-weight: 600 !important; letter-spacing: -.01em !important; }

/* preview A: tagline as a clean, wide-spaced sans eyebrow instead of pixel font */
.hero .pixel-sub, .photo-landing .pixel-sub {
  font-family: var(--sans); font-weight: 500; font-size: 13px; line-height: 1.6;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 250, 241, .78);
  max-width: none; margin-top: 26px;
}
@media (max-width: 640px) { .hero .pixel-sub, .photo-landing .pixel-sub { font-size: 11px; letter-spacing: .22em; max-width: 30ch; } }

/* ===== preview B: cream page, the bridge in a rounded window ===== */
.hero-track { height: auto !important; }
.hero-track > .hero.layout-b {
  position: relative !important; height: auto !important; min-height: 0 !important;
  background: var(--bg) !important; display: block !important; text-align: center;
  padding: clamp(150px, 20vh, 200px) var(--gut) clamp(40px, 5vw, 72px) !important; margin-top: 0 !important;
}
.layout-b .pixel-moon { display: none; }
.layout-b .hero-copy { padding-top: 0 !important; margin: 0 auto; max-width: 980px; }
.layout-b h1 { color: var(--ink) !important; text-shadow: none !important; font-size: clamp(38px, 5vw, 76px) !important; }
.layout-b .pixel-sub { color: rgba(20, 18, 16, .62) !important; text-shadow: none !important; }
.layout-b .btn { background: var(--ink) !important; color: var(--bg) !important; border-color: var(--ink) !important; }
.layout-b .btn:hover { background: var(--red) !important; border-color: var(--red) !important; }
.hero-window {
  width: 100%; max-width: 1320px; margin: clamp(40px, 5vw, 64px) auto 0; aspect-ratio: 16 / 7.2;
  border-radius: clamp(18px, 2vw, 28px); overflow: hidden;
  background: #15171c url("img/hero-night-v2.jpg") 50% 100% / cover no-repeat;
}
@media (max-width: 640px) {
  .hero-track > .hero.layout-b { padding: 120px 16px 32px !important; }
  .hero-window { aspect-ratio: 4 / 3.4; background-size: 230% auto; background-position: 50% 100%; border-radius: 18px; }
}

/* preview B: everything fits in the first screen */
.hero-track > .hero.layout-b {
  height: 100vh !important; height: 100svh !important; min-height: 560px !important;
  display: flex !important; flex-direction: column; align-items: center;
  padding: clamp(104px, 13vh, 130px) var(--gut) clamp(20px, 3vh, 32px) !important;
}
.layout-b .hero-copy { flex: none; }
.layout-b h1 { font-size: clamp(34px, min(4.6vw, 7.2vh), 72px) !important; }
.layout-b .pixel-sub { margin-top: clamp(12px, 2vh, 20px) !important; }
.layout-b .hero-actions { margin-top: clamp(14px, 2.4vh, 24px) !important; }
.layout-b .hero-window { flex: 1 1 0; min-height: 160px; aspect-ratio: auto; margin-top: clamp(20px, 3.5vh, 40px); width: 100%; }
@media (max-width: 640px) {
  .hero-track > .hero.layout-b { padding: 104px 16px 16px !important; }
  .layout-b .hero-window { background-size: cover; }
}
.layout-b .hero-copy { padding-bottom: 0 !important; }
@media (max-width: 640px) { .layout-b .hero-window { background-size: auto 115%; background-position: 18% 100%; } }

/* preview B: small info chips sitting on the bridge photo */
.layout-b .hero-window { position: relative; }
.hw-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; background: rgba(245, 241, 232, .95); color: var(--ink);
  font: 500 14px/1 var(--sans); white-space: nowrap; box-shadow: 0 6px 24px rgba(10, 12, 24, .25);
  animation: hw-in .7s ease both;
}
.hw-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fa36b; box-shadow: 0 0 0 4px rgba(47, 163, 107, .18); }
.hw-1 { left: 4%; top: 12%; animation-delay: .4s; }
.hw-2 { right: 5%; top: 30%; animation-delay: .6s; }
.hw-3 { left: 9%; bottom: 13%; animation-delay: .8s; }
@keyframes hw-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hw-chip { animation: none; } }
@media (max-width: 640px) {
  .hw-chip { font-size: 12px; padding: 7px 12px; gap: 6px; }
  .hw-1 { left: 12px; top: 14px; } .hw-2 { right: 12px; top: 58px; } .hw-3 { display: none; }
}

/* preview B chips, v2: in the style of the pixel chips in the statement line */
.hw-chip {
  gap: 10px; padding: 7px 16px 7px 7px; border-radius: 14px; background: #fbf9f3; color: #2b2a28;
  font: 600 16px/1 var(--sans); letter-spacing: -.02em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28), inset 0 -3px 0 rgba(0, 0, 0, .06);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.hw-1 { transform: rotate(-3deg); } .hw-2 { transform: rotate(2.5deg); } .hw-3 { transform: rotate(-1.5deg); }
.hw-chip:hover { transform: translateY(-4px) rotate(-2deg); }
@keyframes hw-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.hw-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #f1ece0; }
.hw-ico svg { width: 24px; height: 24px; display: block; }
.hw-led { display: flex; align-items: center; height: 34px; padding: 0 8px; border-radius: 9px; background: #2b211c; box-shadow: inset 0 0 0 2px #5a4334; }
.hw-led .led svg { display: block; height: 15px; width: auto; filter: drop-shadow(0 0 2px rgba(255, 74, 50, .7)); }
.hw-led rect { fill: #ff4a32; } .hw-led rect.off { fill: #3d2a22; }
@media (max-width: 640px) {
  .hw-chip { font-size: 13px; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 11px; }
  .hw-ico, .hw-led { height: 28px; } .hw-ico { width: 28px; } .hw-ico svg { width: 20px; height: 20px; }
  .hw-led .led svg { height: 12px; }
  .hw-2 { top: 64px; }
}
@media (min-width: 900px) {
  .hw-chip { font-size: 19px; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 16px; }
  .hw-ico, .hw-led { height: 42px; } .hw-ico { width: 42px; border-radius: 11px; } .hw-ico svg { width: 30px; height: 30px; }
  .hw-led { padding: 0 10px; border-radius: 11px; } .hw-led .led svg { height: 18px; }
}

/* preview B chips, v3: calm and professional. No pixel icons (those live further down),
   no tilt. Cream glass pills, one quiet marker each. */
.layout-b .hw-chip {
  transform: none; gap: 10px; padding: 11px 18px; border-radius: 999px;
  background: rgba(251, 249, 243, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); font: 500 15px/1 var(--sans); letter-spacing: -.005em;
  box-shadow: 0 8px 28px rgba(8, 10, 20, .32), inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.layout-b .hw-chip:hover { transform: translateY(-2px); }
.layout-b .hw-chip em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: 0; }
.hw-live { width: 8px; height: 8px; border-radius: 50%; background: #2fa36b; position: relative; }
.hw-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(47, 163, 107, .45); animation: hw-pulse 2.2s ease-out infinite; }
@keyframes hw-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hw-faces { display: inline-flex; }
.hw-faces i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fbf9f3; margin-left: -7px; }
.hw-faces i:first-child { margin-left: 0; background: var(--red); }
.hw-faces i:nth-child(2) { background: #13213f; }
.hw-faces i:nth-child(3) { background: #c9a86a; }
.layout-b .hw-2 { padding-left: 8px; }
@media (min-width: 900px) { .layout-b .hw-chip { font-size: 16px; padding: 13px 20px; } .layout-b .hw-2 { padding-left: 10px; } .hw-faces i { width: 26px; height: 26px; } }
@media (max-width: 640px) { .layout-b .hw-chip { font-size: 13px; padding: 9px 14px; } .layout-b .hw-2 { padding-left: 7px; } .hw-faces i { width: 18px; height: 18px; margin-left: -6px; } }
@media (prefers-reduced-motion: reduce) { .hw-live::after { animation: none; } }
@media (max-width: 640px) { .layout-b .hw-3 { display: inline-flex; left: 12px; bottom: 14px; } }

/* preview B, v2: the words fill the first screen, bigger and centred; the bridge window
   starts just above the fold and the rest of it is revealed by scrolling */
.hero-track > .hero.layout-b {
  height: auto !important; min-height: 0 !important;
  padding: 92px var(--gut) clamp(40px, 6vw, 80px) !important;
}
.layout-b .hero-copy {
  min-height: calc(100vh - 92px - clamp(90px, 14vh, 150px));
  min-height: calc(100svh - 92px - clamp(90px, 14vh, 150px));
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  max-width: 1200px; padding: 24px 0 !important;
}
.layout-b h1 { font-size: clamp(44px, min(6.6vw, 11.5vh), 112px) !important; line-height: 1.02 !important; }
.layout-b .pixel-sub { font-size: clamp(12px, 1vw, 15px) !important; margin-top: clamp(18px, 3vh, 30px) !important; }
.layout-b .hero-actions { margin-top: clamp(22px, 4vh, 40px) !important; }
.layout-b .btn { font-size: 19px !important; padding: 14px 36px 15px !important; }
.layout-b .hero-window { flex: none; aspect-ratio: 16 / 7.4; min-height: 0; margin-top: 0; }
@media (max-width: 640px) {
  .hero-track > .hero.layout-b { padding: 84px 16px 32px !important; }
  .layout-b .hero-copy { min-height: calc(100svh - 84px - 110px); }
  .layout-b h1 { font-size: clamp(38px, 11.5vw, 52px) !important; }
  .layout-b .btn { font-size: 17px !important; padding: 12px 30px 13px !important; }
  .layout-b .hero-window { aspect-ratio: 4 / 4.6; }
}

/* ===== final landing (B): sizing, rhythm, scroll-grow window ===== */
.layout-b .hero-copy {
  min-height: calc(100vh - 92px - 140px); min-height: calc(100svh - 92px - 140px);
  padding: 0 0 5vh !important;
}
.layout-b h1 { font-size: clamp(42px, min(6vw, 10.5vh), 88px) !important; line-height: 1 !important; letter-spacing: -.035em !important; }
.layout-b .pixel-sub { font-size: 13px !important; letter-spacing: .28em !important; color: rgba(20, 18, 16, .6) !important; margin-top: 24px !important; }
.layout-b .hero-actions { margin-top: 36px !important; gap: 28px !important; flex-direction: row !important; align-items: center; }
.layout-b .btn { font-size: 18px !important; padding: 14px 34px 15px !important; }
.hero-link { font: 500 16px/1 var(--sans); color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.hero-link span { transition: transform .25s ease; }
.hero-link:hover span { transform: translateX(4px); }
.layout-b .hero-window {
  max-width: 1280px; border-radius: 24px; aspect-ratio: 16 / 7.4;
  transform: scale(var(--grow, 1)); transform-origin: 50% 0; will-change: transform;
}
@media (min-width: 641px) { .site-header .partner .ssb { width: 73px; height: 38px; } .site-header .partner { height: 42px; } }
@media (max-width: 640px) {
  .layout-b .hero-copy { min-height: calc(100svh - 84px - 120px); padding-bottom: 4vh !important; }
  .layout-b h1 { font-size: clamp(36px, 11vw, 44px) !important; }
  .layout-b .pixel-sub { font-size: 11px !important; letter-spacing: .22em !important; margin-top: 18px !important; }
  .layout-b .hero-actions { margin-top: 28px !important; gap: 20px !important; }
  .layout-b .btn { font-size: 17px !important; padding: 12px 28px 13px !important; }
  .hero-link { font-size: 15px; }
  .layout-b .hero-window { border-radius: 20px; aspect-ratio: 4 / 4.6; }
}

/* final landing (B): the banking partnership, shown openly under the actions */
.hero-partner {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 40px;
  padding: 10px 20px 10px 22px; border-radius: 999px; border: 1px solid rgba(20, 18, 16, .14);
  background: rgba(255, 255, 255, .35); color: var(--ink); font: 500 14px/1 var(--sans);
  transition: border-color .25s, background .25s;
}
.hero-partner:hover { border-color: var(--red); background: rgba(255, 255, 255, .7); }
.hero-partner .hp-text { color: rgba(20, 18, 16, .72); }
.hero-partner .ssb { width: 76px; height: 40px; color: var(--red); background: var(--red); }
.hero-partner .hp-arrow { color: var(--red); transition: transform .25s; }
.hero-partner:hover .hp-arrow { transform: translateX(3px); }
@media (min-width: 641px) { .site-header .partner .ssb { width: 86px; height: 45px; } .site-header .partner { height: 48px; } }
@media (max-width: 640px) {
  .hero-partner { margin-top: 28px; gap: 10px; padding: 8px 14px 8px 16px; font-size: 12.5px; }
  .hero-partner .ssb { width: 60px; height: 32px; }
}

/* ===== banking partner section (before Events): a sand card, words left, the Stearns animation right ===== */
.bank { padding-top: clamp(40px, 5vw, 72px); }
.bank-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center;
  gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 5.5vw, 88px);
  background: var(--sand); border-radius: 28px;
}
.bank-label { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(20, 18, 16, .6); }
.bank-label .ssb { width: 86px; height: 45px; background: var(--red); color: var(--red); }
.bank .block-title { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.04; margin: 0; max-width: 14ch; }
.bank .block-title em { color: var(--red); }
.bank-intro { margin: 22px 0 0; max-width: 46ch; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: rgba(20, 18, 16, .72); }
.bank-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(20, 18, 16, .14); }
.bank-points li { padding: 18px 18px 0 0; }
.bank-points li + li { padding-left: 18px; border-left: 1px solid rgba(20, 18, 16, .14); }
.bank-points b { display: block; font: 600 16px/1.3 var(--sans); letter-spacing: -.01em; margin-bottom: 6px; }
.bank-points span { display: block; font-size: 14px; line-height: 1.45; color: rgba(20, 18, 16, .62); }
.bank-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.bank-actions .btn { background: var(--ink); color: var(--bg); border-color: var(--ink); font-size: 18px; padding: 14px 34px 15px; }
.bank-actions .btn:hover { background: var(--red); border-color: var(--red); }
.bank-art { display: grid; place-items: center; }
.bank-anim { width: min(400px, 100%); margin: 0; }
@media (max-width: 900px) {
  .bank-card { grid-template-columns: 1fr; }
  .bank-art { order: -1; } .bank-anim { width: min(260px, 70%); }
}
@media (max-width: 640px) {
  .bank-card { padding: 32px 22px 36px; border-radius: 22px; margin: 0 -4px; }
  .bank-label { font-size: 11px; letter-spacing: .16em; gap: 10px; } .bank-label .ssb { width: 68px; height: 36px; }
  .bank-points { grid-template-columns: 1fr; }
  .bank-points li, .bank-points li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(20, 18, 16, .1); }
  .bank-actions { gap: 20px; }
  .bank-actions .btn { font-size: 17px; padding: 12px 28px 13px; }
}

/* ===== banking partner, minimal: the two logos and one line ===== */
.bank-min { padding: clamp(72px, 9vw, 140px) 0; text-align: center; }
.bank-min-in { display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 2.6vw, 32px); }
.bank-lockup { display: inline-flex; align-items: center; gap: clamp(18px, 2vw, 28px); }
.bank-lockup .logo-mark { width: clamp(84px, 8vw, 116px); height: clamp(55px, 5.3vw, 76px); background: var(--red); }
.bank-lockup .ssb { width: clamp(84px, 8vw, 116px); height: clamp(44px, 4.2vw, 61px); background: var(--red); color: var(--red); }
.bank-x { font: 300 clamp(22px, 2vw, 30px)/1 var(--sans); color: rgba(20, 18, 16, .35); }
.bank-line { font: 500 clamp(16px, 1.3vw, 19px)/1.4 var(--sans); color: rgba(20, 18, 16, .6); letter-spacing: -.005em; transition: color .25s; }
.bank-min-in:hover .bank-line { color: var(--ink); }

/* ===== landing E: the night bridge in one big rounded frame, words on the photo ===== */
.hf { padding: 92px var(--gut) 0; }
.hf-frame {
  position: relative; overflow: hidden; border-radius: clamp(20px, 2vw, 32px);
  height: calc(100vh - 92px - clamp(16px, 2.5vw, 32px)); height: calc(100svh - 92px - clamp(16px, 2.5vw, 32px));
  min-height: 560px; max-height: 1000px;
  background: #15171c url("img/hero-night-v2.jpg") 50% 100% / cover no-repeat;
  display: flex; justify-content: center; text-align: center; color: #fffaf1;
}
.hf-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 13, 20, .35) 0%, rgba(12, 13, 20, 0) 55%); pointer-events: none; }
.hf-copy { position: relative; z-index: 1; padding: clamp(80px, 15vh, 160px) 24px 0; max-width: 1100px; }
.hf-title { margin: 0; font: 600 clamp(42px, min(6vw, 10vh), 92px)/1 var(--sans); letter-spacing: -.035em; color: #fffaf1; text-shadow: 0 2px 30px rgba(8, 10, 20, .45); }
.hf-title em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.hf-sub { margin: 24px 0 0; font: 500 13px/1.6 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 250, 241, .75); }
.hf-actions { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
.hf-btn { display: inline-flex; align-items: center; padding: 14px 34px 15px; border-radius: 999px; background: #fffaf1; color: var(--ink); font: italic 400 18px/1 var(--serif); letter-spacing: .01em; transition: background .25s, color .25s; }
.hf-btn:hover { background: var(--red); color: #fffaf1; }
.hf-link { font: 500 16px/1 var(--sans); color: #fffaf1; display: inline-flex; gap: 8px; }
.hf-link span { transition: transform .25s; } .hf-link:hover span { transform: translateX(4px); }
.hf-chip {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: rgba(251, 249, 243, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); font: 500 15px/1 var(--sans); box-shadow: 0 8px 28px rgba(8, 10, 20, .32);
  animation: hw-in .7s ease both;
}
.hf-c1 { left: clamp(16px, 2.5vw, 36px); bottom: clamp(16px, 2.5vw, 36px); animation-delay: .5s; }
.hf-c2 { right: clamp(16px, 2.5vw, 36px); bottom: clamp(16px, 2.5vw, 36px); padding-left: 10px; animation-delay: .7s; }
@media (max-width: 640px) {
  .hf { padding: 84px 12px 0; }
  .hf-frame { height: calc(100svh - 84px - 12px); min-height: 520px; border-radius: 22px; background-size: auto 62%; background-position: 22% 100%; }
  .hf-copy { padding-top: 13vh; }
  .hf-title { font-size: clamp(36px, 11vw, 46px); }
  .hf-sub { font-size: 11px; letter-spacing: .22em; margin-top: 18px; }
  .hf-actions { margin-top: 28px; gap: 20px; }
  .hf-btn { font-size: 17px; padding: 12px 28px 13px; }
  .hf-chip { font-size: 12.5px; padding: 9px 13px; gap: 8px; }
  .hf-c2 { padding-left: 7px; } .hf-c2 .hw-faces i { width: 18px; height: 18px; margin-left: -6px; } .hf-c2 .hw-faces i:first-child { margin-left: 0; }
  .hf-c1 { left: 12px; bottom: 14px; } .hf-c2 { right: 12px; bottom: 14px; }
}
@media (min-width: 641px) { .hf-copy { padding-top: clamp(56px, 10vh, 120px); } }
.hf-sub { text-wrap: balance; } @media (max-width: 640px) { .hf-sub { max-width: 26ch; margin-left: auto; margin-right: auto; } }
@media (max-width: 640px) { .hf-sub { max-width: 34ch; } }

/* banking, merged into the big statement style: the two logos small above, the sentence, one button */
.bank-lockup-sm { gap: 16px; margin-bottom: clamp(26px, 3vw, 40px); }
.bank-lockup-sm .logo-mark { width: clamp(64px, 5.4vw, 84px); height: clamp(42px, 3.6vw, 55px); }
.bank-lockup-sm .ssb { width: clamp(64px, 5.4vw, 84px); height: clamp(34px, 2.8vw, 44px); }
.bank-lockup-sm .bank-x { font-size: clamp(18px, 1.5vw, 22px); }
.bank-st .statement-text { max-width: 22ch; }
.bank-st .statement-text { max-width: 26em; }
.bank-lockup-sm { gap: 20px; }
.bank-lockup-sm .logo-mark { width: clamp(74px, 6.6vw, 104px); height: clamp(48px, 4.4vw, 68px); }
.bank-lockup-sm .ssb { width: clamp(74px, 6.6vw, 104px); height: clamp(39px, 3.5vw, 55px); }

/* hero corners: plain captions. Left the place, right the banking partner */
.hf-cap { position: absolute; z-index: 1; bottom: clamp(18px, 2.6vw, 34px); display: inline-flex; align-items: center; gap: 12px;
  font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 250, 241, .72); }
.hf-cap-l { left: clamp(20px, 2.8vw, 40px); }
.hf-cap-r { right: clamp(20px, 2.8vw, 40px); transition: color .25s; }
.hf-cap-r .ssb { width: 72px; height: 38px; background: rgba(255, 250, 241, .9); color: rgba(255, 250, 241, .9); transition: background .25s; }
.hf-cap-r:hover { color: #fffaf1; } .hf-cap-r:hover .ssb { background: #fffaf1; }
@media (max-width: 640px) {
  .hf-cap { font-size: 10.5px; letter-spacing: .12em; bottom: 16px; gap: 8px; }
  .hf-cap-l { left: 16px; } .hf-cap-r { right: 14px; }
  .hf-cap-r .ssb { width: 54px; height: 29px; }
}
/* founding partners: centered at the bottom of the hero. A small label with hairlines,
   then both logos in the same cream tone inside one glass pill so they read as a pair */
.hf-partners { position: absolute; z-index: 1; left: 50%; bottom: clamp(18px, 2.6vw, 34px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hf-partners-t { display: flex; align-items: center; gap: 12px; white-space: nowrap;
  font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 250, 241, .62); }
.hf-partners-t::before, .hf-partners-t::after { content: ""; width: 36px; height: 1px; background: rgba(255, 250, 241, .3); }
.hf-logos { display: flex; align-items: center; gap: clamp(26px, 2.8vw, 40px); }
.hf-logo { display: flex; align-items: center; height: 58px; color: rgba(255, 250, 241, .9); transition: color .25s; }
a.hf-logo:hover { color: #fffaf1; }
.hf-logos .ssb { width: 106px; height: 57px; background: currentColor; }
.hf-sep { width: 1px; height: 42px; background: rgba(255, 250, 241, .28); }
/* Doomersion in its own colors (transparent png, black removed) */
.doom { display: block; height: 35px; aspect-ratio: 881 / 120; background: url("img/doomersion.png") center / contain no-repeat; }
@media (max-width: 640px) {
  .hf-partners { bottom: 18px; gap: 11px; }
  .hf-partners-t { font-size: 10.5px; gap: 9px; } .hf-partners-t::before, .hf-partners-t::after { width: 22px; }
  .hf-logos { gap: 18px; }
  .hf-logo { height: 40px; }
  .hf-logos .ssb { width: 74px; height: 40px; }
  .hf-sep { height: 28px; }
  .doom { height: 24px; }
}
@media (max-width: 640px) { .hf-title { font-size: clamp(30px, 9.2vw, 40px); } }


/* header: Hilal Space logo centered on its own. Desktop: links left, "Visit us" right.
   Below 1020px: "Visit us" left, menu button right */
.site-header .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
/* desktop: Hilal Space + Event calendar left of the logo, "Host with us" (outlined) + Partners right */
@media (min-width: 1021px) {
  .site-header .menu { display: contents; }
  .site-header .m-cowork { order: -2; }
  .site-header .m-events { order: -1; }
  .site-header .m-host { order: 1; margin-left: auto; }
  .site-header .m-partners { order: 2; }
  .site-header .join { order: 3; white-space: nowrap; }
  .site-header .menu a { white-space: nowrap; }
}
@media (max-width: 1020px) {
  .site-header .join { order: -1; margin-left: 0; }
  .site-header .menu-toggle { margin-left: auto; }
}

/* become a partner: title, intro and button left, what partners get on the right */
.partner-cta .block-intro { margin-bottom: 30px; }
.perk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.perk-list li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.perk-list b { font-weight: 600; font-size: 18px; }
.perk-list span { color: var(--muted); font-size: 16px; line-height: 1.55; }
@media (max-width: 860px) {
  .partner-cta .two-col { grid-template-columns: 1fr; gap: 40px; }
  .perk-list li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
}

/* phones: the longer "Become a partner" button needs room, so the logo goes back to the left */
@media (max-width: 640px) {
  .site-header .brand { position: static; transform: none; }
  .site-header .join { order: 0; margin-left: auto; white-space: nowrap; }
  .site-header .menu-toggle { margin-left: 0; }
}

/* "Why we opened Hilal Space": same bold sans as the hero and "Built in San Francisco", italic serif accent kept */
.letter-head .h2-55 { font-family: var(--sans); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
.letter-head .h2-55 em { font-family: var(--sans); font-weight: 600; font-style: normal; letter-spacing: inherit; }


.letter-head .nw { white-space: nowrap; }

/* Stearns Salaam Banking: full white */
.hf-logos a.hf-logo[href="stearns.html"] .ssb { background: #fffaf1; }
.hf-logos a.hf-logo[href="stearns.html"]:hover .ssb { background: #ffffff; }

/* hero "Become a partner": raised cream pill with a raised red arrow coin */
.hf-btn { gap: 14px; padding: 7px 7px 7px 26px; transform: translateY(0);
  background: linear-gradient(180deg, #fffdf8, #f3ead8); color: var(--ink); font: 600 16.5px/1 var(--sans); letter-spacing: -.005em;
  box-shadow: inset 0 1px 0 #fff, 0 4px 0 #cdbfa3, 0 12px 26px -8px rgba(0,0,0,.6);
  transition: transform .18s, box-shadow .18s; }
.hf-btn i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-style: normal; font-size: 18px; color: #fff;
  background: linear-gradient(180deg, #ea6447, #cf3f27); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 0 #8e2a17; transition: transform .2s; }
/* hover: the pill sinks in, almost as far as a click */
.hf-btn:hover { background: linear-gradient(180deg, #fffdf8, #f3ead8); color: var(--ink); transform: translateY(3px);
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 #cdbfa3, 0 7px 16px -6px rgba(0,0,0,.55); }
.hf-btn:hover i { transform: translateX(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 0 #8e2a17; }
.hf-btn:active { transform: translateY(4px); box-shadow: inset 0 1px 0 #fff, 0 0 0 #cdbfa3, 0 6px 14px -6px rgba(0,0,0,.5); }
@media (max-width: 640px) {
  .hf-btn { font-size: 15.5px; padding: 6px 6px 6px 22px; gap: 12px; }
  .hf-btn i { width: 36px; height: 36px; font-size: 16px; }
}

/* header logo: white wordmark in an orange square, same as the favicon / social image */
.site-header .brand { display: grid; place-items: center; width: 64px; height: 64px; background: var(--red); }
.site-header .brand .logo-mark,
.night-landing .site-header:not(.is-solid):not(.menu-open) .brand .logo-mark,
.over-night .site-header:not(.menu-open) .brand .logo-mark,
.over-dark .site-header:not(.menu-open) .brand .logo-mark { width: 46px; height: 29px; background: #fff !important; }
@media (max-width: 640px) {
  .site-header .brand { width: 52px; height: 52px; }
  .site-header .brand .logo-mark { width: 36px; height: 23px; }
}

/* landing like option A: the header sits inside the night picture, not on a cream bar above it */
.hf { padding-top: clamp(10px, 1.2vw, 16px); }
.hf-frame { height: calc(100vh - 2 * clamp(10px, 1.2vw, 16px)); height: calc(100svh - 2 * clamp(10px, 1.2vw, 16px)); }
.hf-frame::before { background: linear-gradient(180deg, rgba(12, 13, 20, .5) 0%, rgba(12, 13, 20, 0) 55%); }
.hf-copy { padding-top: calc(clamp(80px, 15vh, 160px) + 70px); }
.over-dark .site-header:not(.menu-open) { padding-left: calc(var(--gut) + clamp(14px, 2vw, 28px)); padding-right: calc(var(--gut) + clamp(14px, 2vw, 28px)); top: clamp(10px, 1.2vw, 16px); }
.over-dark .site-header:not(.menu-open) .menu-toggle span { background: #fffaf1; }
.over-dark .site-header:not(.menu-open) .join:hover { background: #fffaf1; color: var(--ink) !important; }
.site-header { transition: background .35s, box-shadow .35s, height .35s, top .35s, padding .35s; }
@media (max-width: 640px) {
  .hf { padding: 10px 10px 0; }
  .hf-frame { height: calc(100svh - 20px); }
  .hf-copy { padding-top: calc(13vh + 64px); }
  .over-dark .site-header:not(.menu-open) { padding-left: 22px; padding-right: 22px; }
}

/* cleaner hero: one font in the headline, no small caps line, quieter partners,
   and only one "Become a partner" on screen while you're on the picture */
.hf-title { text-shadow: 0 2px 24px rgba(8, 10, 20, .3); text-wrap: balance; }
.hf-actions { margin-top: clamp(30px, 4.5vh, 44px); }
.hf-partners { gap: 10px; }
.hf-partners-t { font-size: 11px; letter-spacing: .24em; color: rgba(255, 250, 241, .5); }
.hf-partners-t::before, .hf-partners-t::after { width: 24px; background: rgba(255, 250, 241, .22); }
.hf-logo { height: 46px; opacity: .85; transition: opacity .25s; }
.hf-logo:hover { opacity: 1; }
.hf-logos .ssb { width: 84px; height: 45px; }
.hf-logos .doom { height: 27px; }
.hf-sep { height: 30px; background: rgba(255, 250, 241, .2); }
.site-header .join { transition: opacity .3s, visibility .3s, background-color .3s, color .3s, border-color .3s; }
.over-dark .site-header:not(.menu-open) .join { opacity: 0; visibility: hidden; }
@media (max-width: 640px) {
  .hf-logos .ssb { width: 64px; height: 34px; }
  .hf-logos .doom { height: 21px; }
  .hf-sep { height: 24px; }
}

/* hero polish: balanced header, floating logo centered on the menu line, copy lifted into
   the sky above the bridge, a slightly smaller headline, both partner logos in cream */
@media (min-width: 641px) {
  .over-dark .site-header:not(.menu-open) .join { display: none; }
}
.hf-copy { padding-top: calc(clamp(64px, 12vh, 140px) + 70px); }
.hf-title { font-size: clamp(38px, min(5.2vw, 8.6vh), 80px); }
@media (max-width: 640px) {
  .hf-copy { padding-top: calc(11vh + 64px); }
  .hf-title { font-size: clamp(30px, 9vw, 40px); }
}

/* a short, soft line under the hero headline */
.hf-lede { margin: 22px auto 0; max-width: 34em; font: 400 clamp(16px, 1.35vw, 19px)/1.55 var(--sans); color: rgba(255, 250, 241, .78); text-wrap: balance; }
.hf-lede + .hf-actions { margin-top: clamp(26px, 3.6vh, 36px); }
@media (max-width: 640px) { .hf-lede { margin-top: 16px; font-size: 15.5px; max-width: 30ch; } }

/* the line under the headline reads as a saying: Lora italic in curly quotes */
.hf-quote { font: italic 400 clamp(18px, 1.6vw, 23px)/1.45 var(--serif); letter-spacing: .005em; color: rgba(255, 250, 241, .82); }
@media (max-width: 640px) { .hf-quote { font-size: 17px; } }
.hf-quote { max-width: 30em; }
.hf-quote-by { display: block; margin-top: 8px; font: 500 11px/1 var(--sans); font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 250, 241, .5); }

/* =========================================================================
   Design rules (Hilal Space)
   - One font family for everything you read: Instrument Sans. No italic serif accents.
   - Type scale: hero headline > statement line > section headings (all the same) > body.
   - The logo is always the orange square with the white "Hilal Space" wordmark,
     at three sizes: header 64px, footer 72px, small (signature) 48px; wordmark ~72% of the square.
   - Every section below the hero gets the same vertical spacing.
   ========================================================================= */
:root {
  --h-statement: clamp(28px, 3.6vw, 50px);
  --h-section: clamp(30px, 3vw, 42px);
  --body-lg: clamp(18px, 1.5vw, 21px);
  --section-y: clamp(64px, 7vw, 100px);
}

/* spacing */
#top > section.statement, #top > section.message, #top > section.block { padding-top: var(--section-y); padding-bottom: var(--section-y); }
#top > section.statement { padding-bottom: calc(var(--section-y) * .5); }

/* headings */
#top .statement .bigline { font: 600 var(--h-statement)/1.2 var(--sans); letter-spacing: -.03em; }
#top .letter-head .h2-55,
#top .block-title { font: 600 var(--h-section)/1.1 var(--sans); letter-spacing: -.03em; }
#top .letter-head .h2-55 em,
#top .block-title em { font: inherit; font-style: normal; letter-spacing: inherit; }

/* body copy */
#top .letter-open { font: 400 var(--body-lg)/1.55 var(--sans); letter-spacing: -.005em; }
.site-footer .footer-brand p { font-family: var(--sans); font-style: normal; font-size: 15px; }

/* buttons: same font as the hero button */
#top .btn, .site-header .join { font: 600 16px/1 var(--sans); font-style: normal; letter-spacing: -.005em; }
#top .btn { padding: 15px 30px 16px; }

/* logo: orange square everywhere */
.site-footer .footer-lockup { display: grid; place-items: center; width: 72px; height: 72px; background: var(--red); flex: none; }
.site-footer .footer-lockup .logo-mark { width: 52px; height: 33px; background: #fff; }
.letter-badge { display: grid; place-items: center; width: 48px; height: 48px; background: var(--red); flex: none; }
.letter-badge .letter-mark { width: 35px; height: 22px; background: #fff; }

/* logo square never shrinks; on phones it sits centered, the same size over the picture and in the cream bar.
   Phone header: "Get in touch" left, logo center, menu button right */
.site-header .brand { flex: none; }
@media (max-width: 640px) {
  .site-header .brand,
  .over-dark .site-header:not(.menu-open) .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; }
  .site-header .brand .logo-mark,
  .over-dark .site-header:not(.menu-open) .brand .logo-mark { width: 37px; height: 23px; }
  .site-header .join { order: -1; margin-left: 0; }
  .site-header .menu-toggle { margin-left: auto; }
}

/* No stripes beside the Partners label */
.hf-partners-t::before, .hf-partners-t::after { content: none; display: none; }

/* Hero button: arrow only sinks with the pill, no slide to the right */
.hf-btn:hover i, .hf-btn:active i { transform: none; }

/* Events removed: About + Partners left of the logo, Contact right */
@media (min-width: 1021px) {
  .site-header .m-host { order: -1; margin-left: 0; }
  .site-header .m-partners { order: 1; margin-left: auto; }
}

/* Legal pages: Privacy Policy, Terms of Use */
.legal { padding-bottom: var(--section-y); }
.legal-wrap { max-width: 760px; }
.legal .page-title { font: 600 var(--h-section)/1.1 var(--sans); letter-spacing: -.03em; margin-bottom: 8px; }
.legal-date { margin: 0 0 36px; font-size: 14px; color: rgba(20, 18, 16, .55); }
.legal h2 { margin: 40px 0 12px; font: 600 21px/1.3 var(--sans); letter-spacing: -.015em; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.65; color: rgba(20, 18, 16, .82); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--red); }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal b { color: var(--ink); font-weight: 600; }

/* Footer: brand + 4 link columns (Hilal Space, Visit, Contact, Legal) */
@media (min-width: 1021px) { .footer-plain { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); } }
