:root {
  --ink: #0b1118; --ink-soft: #111a24; --paper: #f2f0eb; --paper-bright: #fbfaf7;
  --muted-dark: #59626b; --line: rgba(11,17,24,.14); --line-light: rgba(255,255,255,.14);
  --accent: #d7aa3f; --accent-warm: #e8dfcf; --container: min(1200px, calc(100% - 56px));
  --radius: 10px; --sans: Inter, "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 170px; }
body { margin: 0; color: var(--ink); background: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; color: var(--ink); background: var(--accent); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; color: var(--paper-bright); border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.site-header.scrolled { background: rgba(11,17,24,.9); border-color: var(--line-light); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: .82rem; }
.brand > span:last-child { display: grid; gap: 1px; line-height: 1.2; }
.brand strong { color: var(--paper-bright); font-size: .82rem; font-weight: 650; letter-spacing: .02em; }
.brand small { color: #808a94; font: .52rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 46px; aspect-ratio: 1; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .82rem; font-weight: 600; }
.site-nav > a:not(.nav-cta) { color: #c8cecb; transition: color .2s ease; }
.site-nav > a:hover { color: var(--accent); }
.nav-cta { padding: 10px 15px; border: 1px solid rgba(215,170,63,.55); border-radius: 4px; }
.nav-cta span { margin-left: 5px; color: var(--accent); }
.menu-toggle { display: none; color: inherit; background: transparent; border: 0; }
.hero { position: relative; overflow: hidden; padding-top: 90px; color: var(--paper-bright); background: radial-gradient(circle at 72% 25%,#1c2a36 0,transparent 34%),linear-gradient(135deg,#0b1118 0%,#0d1620 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom,#000,transparent 80%); }
.hero-grid { position: relative; min-height: 660px; display: grid; grid-template-columns: 104px minmax(0,920px); justify-content: center; align-items: center; gap: clamp(28px,4vw,54px); padding-block: clamp(80px,10vw,130px); }
.hero-copy { min-width: 0; }
.hero-avatar { align-self: start; position: relative; width: 104px; aspect-ratio: 1; margin-top: 19px; padding: 4px; background: #fff; border: 1px solid rgba(215,170,63,.32); border-radius: 6px; box-shadow: 0 16px 36px rgba(0,0,0,.24); }
.hero-avatar::after { content: ""; position: absolute; right: -7px; bottom: -7px; width: 34px; height: 34px; border-right: 1px solid rgba(215,170,63,.48); border-bottom: 1px solid rgba(215,170,63,.48); pointer-events: none; }
.hero-avatar img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #fff; border-radius: 3px; filter: saturate(.76) contrast(1.025); }
.eyebrow,.section-index,.project-type,.role-type { margin: 0; font: 600 .7rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #b4bcb8; }
.status-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(215,170,63,.1); }
.hero h1 { max-width: 950px; margin: 0 0 26px; font-family: var(--serif); font-size: clamp(3.5rem,6.2vw,6.7rem); line-height: .96; letter-spacing: -.055em; font-weight: 400; }
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-intro { max-width: 780px; margin: 0 0 22px; color: #aeb6bd; font-size: clamp(1rem,1.5vw,1.22rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: .78rem; font-weight: 700; letter-spacing: .02em; transition: transform .2s ease,background .2s ease,color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:hover { background: #edcc78; }
.button-secondary { color: var(--paper-bright); border-color: rgba(255,255,255,.28); }
.button-secondary:hover { color: var(--ink); background: var(--paper-bright); }
.hero-marquee { position: relative; width: 100%; overflow: hidden; color: #b8c0c7; background: #0e1720; border-block: 1px solid var(--line-light); }
.hero-marquee div { width: var(--container); margin-inline: auto; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; gap: 28px; padding: 21px 0; font: 600 .68rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.hero-marquee i { display: none; }
.section { padding-block: clamp(90px,11vw,150px); }
.section-light { background: var(--paper); }
.section-dark { color: var(--paper-bright); background: var(--ink-soft); }
.section-grid { display: grid; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); gap: clamp(50px,8vw,130px); }
.section-index { margin-bottom: 26px; color: var(--muted-dark); }
.section-dark .section-index,.contact .section-index { color: #7f8984; }
.section-heading h2,.projects-heading h2,.contact h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem,4.6vw,5.25rem); line-height: 1.03; letter-spacing: -.045em; font-weight: 400; }
.lead { max-width: 770px; margin: 0 0 40px; font-size: clamp(1.55rem,2.5vw,2.45rem); line-height: 1.35; letter-spacing: -.035em; }
.two-column-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; color: var(--muted-dark); font-size: .95rem; }
.two-column-copy p { margin: 0; }
.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 65px; }
.principles article { min-height: 230px; padding: 25px; background: rgba(255,255,255,.28); border: 1px solid var(--line); }
.principles span { font: .65rem/1 var(--mono); color: var(--muted-dark); }
.principles h3 { margin: 55px 0 10px; font-size: 1.05rem; }
.principles p { margin: 0; color: var(--muted-dark); font-size: .78rem; }
.timeline { border-top: 1px solid var(--line-light); }
.timeline-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line-light); }
.timeline-date,.timeline-place { color: #7f8984; font: .64rem/1.5 var(--mono); text-transform: uppercase; }
.timeline-place { max-width: 130px; text-align: right; }
.role-type { color: var(--accent); }
.timeline h3 { margin: 7px 0 10px; font-size: 1.32rem; font-weight: 520; }
.timeline p:not(.role-type) { max-width: 620px; margin: 0; color: #9ca5a1; font-size: .85rem; }
.credentials { display: grid; grid-template-columns: 1.25fr repeat(2,1fr); gap: 1px; margin-top: 100px; background: var(--line-light); border: 1px solid var(--line-light); }
.credentials > * { min-height: 190px; padding: 25px; background: var(--ink-soft); }
.credentials .credential-intro { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; color: #9ca5a1; }
.credential-intro p:last-child { max-width: 220px; margin: 0; }
.credentials article span { color: var(--accent); font: .62rem/1 var(--mono); text-transform: uppercase; }
.credentials h3 { margin: 50px 0 4px; font-size: .95rem; }
.credentials article p { margin: 0; color: #7f8984; font-size: .72rem; }
.section-projects { color: var(--ink); background: var(--paper-bright); border-top: 1px solid var(--line); }
.projects-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 60px; }
.projects-heading .section-index { color: rgba(11,15,14,.62); }
.projects-heading > p { max-width: 430px; margin: 0; font-size: .92rem; }
.project-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.project-card { min-height: 370px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(183,132,20,.45); box-shadow: 0 22px 45px rgba(11,17,24,.09); }
.project-featured { position: relative; min-height: 570px; grid-column: span 2; display: grid; grid-template-columns: .82fr 1.18fr; gap: 50px; padding: 38px; color: var(--paper-bright); background: var(--ink-soft); }
.project-number { font: .7rem/1 var(--mono); color: var(--muted-dark); }
.project-featured .project-number { position: absolute; top: 38px; left: 38px; z-index: 2; color: var(--accent); }
.project-copy { align-self: end; position: relative; z-index: 2; }
.project-type { color: var(--muted-dark); }
.project-featured .project-type { color: var(--accent); }
.project-card h3 { max-width: 530px; margin: 13px 0 14px; font-family: var(--serif); font-size: clamp(1.75rem,3vw,2.8rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 400; }
.project-card > .project-copy > p:not(.project-type) { max-width: 520px; margin: 0; color: var(--muted-dark); font-size: .88rem; }
.project-featured > .project-copy > p:not(.project-type) { color: #aab2ae; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 7px 11px; color: var(--muted-dark); border: 1px solid var(--line); border-radius: 99px; font: .58rem/1 var(--mono); text-transform: uppercase; }
.project-featured .tag-list li { color: #aab2ae; border-color: var(--line-light); }
.project-art { position: relative; grid-column: 2; grid-row: 1; min-height: 490px; overflow: hidden; border-radius: 14px; background: #1b2421; }
.data-art::before { content: "2013————2023"; position: absolute; top: 25px; right: 25px; color: var(--accent); font: .65rem/1 var(--mono); }
.globe { position: absolute; width: 390px; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-45%,-45%); border: 1px solid rgba(201,255,98,.6); border-radius: 50%; background: repeating-radial-gradient(ellipse at center,transparent 0 18px,rgba(201,255,98,.11) 19px 20px),linear-gradient(90deg,transparent 49.8%,rgba(201,255,98,.4) 50%,transparent 50.2%); }
.globe::before,.globe::after { content: ""; position: absolute; inset: 0 28%; border: 1px solid rgba(201,255,98,.4); border-radius: 50%; }
.globe::after { inset: 28% 0; }
.data-line { position: absolute; height: 2px; background: var(--accent); transform-origin: left; }
.data-line::after { content: ""; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 7px rgba(201,255,98,.1); }
.line-one { width: 100px; left: 13%; top: 35%; transform: rotate(12deg); }
.line-two { width: 120px; left: 54%; top: 63%; transform: rotate(-34deg); }
.line-three { width: 82px; left: 32%; top: 77%; transform: rotate(28deg); }
.skills-list { border-top: 1px solid var(--line); }
.skills-list article { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.skills-list article > div { display: flex; align-items: baseline; gap: 17px; }
.skills-list span { color: var(--muted-dark); font: .62rem/1 var(--mono); }
.skills-list h3 { margin: 0; font-size: 1.05rem; }
.skills-list ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.skills-list li { padding: 8px 12px; color: var(--muted-dark); background: rgba(11,15,14,.045); border-radius: 99px; font-size: .72rem; }
.contact { color: var(--paper-bright); background: radial-gradient(circle at 5% 15%,#1a2a38 0,transparent 30%),#0b1118; }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(60px,10vw,150px); }
.contact-copy > p:not(.section-index) { max-width: 610px; margin: 30px 0 50px; color: #9ca5a1; font-size: 1.05rem; }
.contact-links { border-top: 1px solid var(--line-light); }
.contact-links a { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.contact-links span { color: #717b76; font: .6rem/1 var(--mono); text-transform: uppercase; }
.contact-links strong { font-size: .88rem; font-weight: 520; }
.contact-links i { color: var(--accent); font-style: normal; transition: transform .2s ease; }
.contact-links a:hover i { transform: translate(3px,-3px); }
.contact-form { align-self: start; padding: 36px; background: #121d27; border: 1px solid rgba(215,170,63,.2); border-radius: var(--radius); }
.field-row { display: grid; gap: 8px; margin-bottom: 22px; }
.field-row label { color: #aeb6b2; font: .64rem/1.4 var(--mono); text-transform: uppercase; }
.field-row input,.field-row select,.field-row textarea { width: 100%; padding: 12px 0; color: var(--paper-bright); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); border-radius: 0; outline: 0; transition: border-color .2s ease; }
.field-row textarea { resize: vertical; }
.field-row input::placeholder,.field-row textarea::placeholder { color: #616a66; }
.field-row input:focus,.field-row select:focus,.field-row textarea:focus { border-color: var(--accent); }
.field-row select { color-scheme: dark; }
.form-submit { width: 100%; margin-top: 10px; border: 0; }
.form-note { margin: 13px 0 0; color: #6f7874; font-size: .67rem; text-align: center; }
.form-note.success { color: #9bd39b; }
.form-note.error { color: #ffaaa2; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit:disabled { cursor: wait; opacity: .68; transform: none; }
.site-footer { padding-block: 30px; color: #8d9691; background: #080b0a; border-top: 1px solid var(--line-light); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; font-size: .67rem; }
.footer-grid p { margin: 0; }
.footer-grid p:last-child { text-align: right; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease,transform .75s cubic-bezier(.2,.65,.25,1); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }
@media (max-width: 960px) {
  :root { --container: min(100% - 36px,780px); }
  .menu-toggle { position: relative; z-index: 2; width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line-light); border-radius: 50%; }
  .menu-toggle span:not(.sr-only) { width: 17px; height: 1px; display: block; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 25px; color: var(--paper-bright); background: rgba(11,15,14,.98); opacity: 0; visibility: hidden; transition: opacity .2s ease,visibility .2s ease; font-size: 1.4rem; }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav > a:not(.nav-cta) { color: var(--paper-bright); }
  .nav-cta { margin-top: 15px; }
  .hero-grid { grid-template-columns: 88px minmax(0,1fr); min-height: auto; gap: 26px; padding-block: 90px 100px; }
  .hero-avatar { width: 88px; margin-top: 14px; }
  .section-grid { grid-template-columns: 1fr; }
  .section-heading h2 br { display: none; }
  .credentials { grid-template-columns: repeat(2,1fr); }
  .credentials .credential-intro { grid-row: auto; grid-column: span 2; min-height: 160px; }
  .credential-intro p:last-child { max-width: 420px; }
  .project-featured { grid-template-columns: 1fr; }
  .project-art { grid-column: 1; min-height: 390px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid p:first-of-type { display: none; }
}
@media (max-width: 650px) {
  :root { --container: calc(100% - 28px); }
  .nav-wrap { min-height: 72px; }
  .brand > span:last-child { display: none; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 58px 76px; }
  .hero-avatar { width: 72px; margin: 0; padding: 3px; }
  .hero h1 { font-size: clamp(2.85rem,14vw,4.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-marquee div { grid-template-columns: repeat(2,1fr); gap: 16px 24px; }
  .eyebrow { align-items: flex-start; line-height: 1.6; }
  .section { padding-block: 85px; }
  .section-heading h2,.projects-heading h2,.contact h2 { font-size: 2.8rem; }
  .two-column-copy,.principles { grid-template-columns: 1fr; }
  .principles article { min-height: 190px; }
  .principles h3 { margin-top: 32px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .timeline-place { max-width: none; text-align: left; }
  .credentials { grid-template-columns: 1fr; }
  .credentials .credential-intro { grid-column: auto; }
  .credentials > * { min-height: 155px; }
  .credentials h3 { margin-top: 32px; }
  .projects-heading { align-items: start; flex-direction: column; gap: 25px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-featured { grid-column: auto; min-height: 650px; padding: 25px; }
  .project-featured .project-number { top: 25px; left: 25px; }
  .project-art { min-height: 320px; }
  .globe { width: 290px; }
  .project-card { min-height: 340px; }
  .skills-list article { grid-template-columns: 1fr; }
  .contact-form { padding: 25px; }
  .contact-links a { grid-template-columns: 72px 1fr auto; }
  .contact-links strong { font-size: .76rem; }
  .footer-grid { display: flex; justify-content: space-between; }
}
@media (max-width: 380px) {
  :root { --container: calc(100% - 22px); }
  .hero h1 { font-size: 2.55rem; }
  .hero-intro { font-size: .95rem; }
  .section-heading h2,.projects-heading h2,.contact h2 { font-size: 2.35rem; }
  .contact-form { padding: 20px 16px; }
  .contact-links a { grid-template-columns: 1fr auto; gap: 5px 12px; }
  .contact-links span { grid-column: 1; }
  .contact-links strong { grid-column: 1; }
  .contact-links i { grid-column: 2; grid-row: 1 / span 2; }
}

/* Perform-inspired editorial system: immersive framing, warm canvas, and bold type. */
body { overflow-x: hidden; background: #d9d4ca; }
.site-header {
  inset: 16px auto auto max(28px,calc((100vw - 1200px)/2));
  width: min(1200px,calc(100% - 56px));
  transform: none;
  color: #fff;
  background: rgba(15,18,17,.42);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}
.site-header.scrolled { background: rgba(15,18,17,.82); border-color: rgba(255,255,255,.16); }
.nav-wrap { width: 100%; min-height: 66px; padding-inline: 16px 12px; }
.brand-mark { width: 38px; }
.brand small { color: rgba(255,255,255,.6); }
.site-nav { gap: 28px; font-size: .74rem; }
.site-nav > a:not(.nav-cta) { color: rgba(255,255,255,.76); }
.nav-cta { padding: 10px 14px 10px 17px; color: var(--ink); background: #fff; border-color: #fff; border-radius: 999px; }
.nav-cta span { width: 22px; height: 22px; display: inline-grid; place-items: center; margin-left: 7px; color: #fff; background: var(--ink); border-radius: 50%; }
.nav-cta:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); }

.hero {
  min-height: min(900px,calc(100vh - 28px));
  margin: 14px;
  padding-top: 0;
  isolation: isolate;
  border-radius: 28px;
  background:
    linear-gradient(90deg,rgba(8,13,17,.95) 0%,rgba(8,13,17,.78) 48%,rgba(8,13,17,.38) 100%),
    radial-gradient(circle at 82% 50%,rgba(217,177,74,.52) 0 6%,transparent 7%),
    radial-gradient(circle at 77% 45%,rgba(52,104,118,.62) 0 18%,transparent 38%),
    linear-gradient(125deg,#0a1117 0%,#1c3138 56%,#735f37 100%);
  box-shadow: 0 28px 80px rgba(35,29,19,.22);
}
.hero::before {
  opacity: .32;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg,#000 0%,rgba(0,0,0,.4) 74%,transparent 100%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 15%; right: 5%;
  width: min(41vw,560px);
  aspect-ratio: 1;
  background: url("assets/mohammed-roqa-logo.svg") center/contain no-repeat;
  opacity: .16;
  filter: saturate(.7) drop-shadow(0 35px 70px rgba(0,0,0,.35));
  transform: rotate(6deg);
}
.hero-grid {
  min-height: 720px;
  grid-template-columns: 92px minmax(0,960px);
  justify-content: start;
  gap: 32px;
  padding: 170px 0 150px;
}
.hero-avatar { width: 92px; margin-top: 11px; padding: 3px; background: #fff; border-color: rgba(255,255,255,.58); border-radius: 8px; box-shadow: 0 16px 36px rgba(0,0,0,.25); }
.hero-avatar::after { display: none; }
.hero-avatar img { border-radius: 5px; filter: saturate(.82) contrast(1.025); }
.hero h1 { max-width: 1030px; margin-bottom: 25px; font-family: var(--sans); font-size: clamp(4rem,7.1vw,7.8rem); font-weight: 450; line-height: .9; letter-spacing: -.075em; text-wrap: balance; }
.hero h1 em { color: #edca70; font-family: inherit; font-style: normal; }
.hero-intro { max-width: 650px; margin-bottom: 20px; color: rgba(255,255,255,.78); font-size: clamp(.98rem,1.3vw,1.14rem); line-height: 1.65; }
.eyebrow { color: rgba(255,255,255,.7); font-size: .62rem; }
.hero-actions { margin-top: 30px; }
.button { min-height: 50px; padding-inline: 20px 11px; gap: 16px; border-radius: 999px; }
.button span { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; }
.button-primary { color: var(--ink); background: #fff; }
.button-primary span { color: #fff; background: var(--ink); }
.button-primary:hover { background: #edca70; }
.button-secondary { background: rgba(10,15,17,.18); backdrop-filter: blur(8px); }
.button-secondary span { color: var(--ink); background: #fff; }
.hero-marquee { margin: 0 26px 26px; color: rgba(255,255,255,.78); background: rgba(8,12,13,.38); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; backdrop-filter: blur(14px); }
.hero-marquee div { width: 100%; padding: 18px 24px; }
.hero-marquee span { position: relative; padding-left: 18px; }
.hero-marquee span::before { content: ""; position: absolute; left: 0; top: .25em; width: 7px; height: 7px; border: 1px solid #edca70; border-radius: 50%; }
.news-bar { position: fixed; z-index: 29; top: 90px; left: max(28px,calc((100vw - 1200px)/2)); width: min(1200px,calc(100% - 56px)); display: grid; grid-template-columns: 170px minmax(0,1fr) auto; align-items: center; gap: 20px; margin: 0; padding: 11px 13px 11px 18px; color: rgba(255,255,255,.86); background: rgba(13,17,17,.84); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.16); backdrop-filter: blur(18px); }
.news-meta { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 9px; border-right: 1px solid rgba(255,255,255,.16); }
.news-meta strong { font-size: .68rem; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.news-meta small { grid-column: 2; color: rgba(255,255,255,.48); font: .52rem/1.5 var(--mono); }
.news-pulse { grid-row: 1 / span 2; width: 8px; height: 8px; background: #edca70; border-radius: 50%; box-shadow: 0 0 0 5px rgba(237,202,112,.1); }
.news-story { min-width: 0; display: grid; grid-template-columns: minmax(80px,120px) minmax(0,1fr) 24px; align-items: center; gap: 18px; outline: 0; }
.news-source { overflow: hidden; color: #edca70; font: .57rem/1.4 var(--mono); text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.news-title { overflow: hidden; font-size: .78rem; font-weight: 570; text-overflow: ellipsis; white-space: nowrap; }
.news-arrow { display: grid; place-items: center; transition: transform .2s ease; }
.news-story:hover .news-arrow,.news-story:focus-visible .news-arrow { transform: translate(3px,-3px); }
.news-story:focus-visible { border-radius: 4px; box-shadow: 0 0 0 2px #edca70; }
.news-controls { display: flex; align-items: center; gap: 8px; }
.news-controls button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; cursor: pointer; transition: background .2s ease,color .2s ease; }
.news-controls button:hover,.news-controls button:focus-visible { color: var(--ink); background: #edca70; outline: 0; }
.news-controls button:disabled { cursor: default; opacity: .35; }
.news-controls span { min-width: 36px; color: rgba(255,255,255,.45); font: .52rem/1 var(--mono); text-align: center; }

.section { margin: 14px; border-radius: 28px; }
.section-light { background: #f7f6f2; }
.section-dark { background: #141817; box-shadow: inset 0 1px rgba(255,255,255,.05); }
.section-projects { background: #e9e4da; }
.section-heading h2,.projects-heading h2,.contact h2 { font-family: var(--sans); font-weight: 480; line-height: .97; letter-spacing: -.06em; }
.section-index { display: flex; align-items: center; gap: 12px; }
.section-index::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.7rem,3vw,3rem); line-height: 1.22; letter-spacing: -.045em; }
.principles { gap: 12px; }
.principles article { min-height: 250px; padding: 28px; background: #fff; border: 0; border-radius: 18px; box-shadow: 0 16px 40px rgba(30,27,20,.06); }
.principles h3 { margin-top: 70px; }
.timeline-item { grid-template-columns: 130px 1fr auto; padding: 38px 0; }
.credentials { overflow: hidden; border-radius: 20px; }
.project-grid { gap: 18px; }
.project-card { min-height: 400px; padding: 32px; border: 0; border-radius: 22px; box-shadow: 0 18px 46px rgba(41,34,24,.06); }
.project-featured { min-height: 620px; padding: 40px; border-radius: 24px; background: #151a19; }
.project-card h3 { font-family: var(--sans); font-weight: 500; letter-spacing: -.055em; }
.project-art { border-radius: 18px; }
.skills-list article { padding: 38px 0; }
.skills-list li { background: #fff; border: 1px solid var(--line); }
.contact { overflow: hidden; background: linear-gradient(120deg,#0c1112 0%,#172625 65%,#594a2e 140%); }
.contact-form { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); border-radius: 20px; backdrop-filter: blur(12px); }
.site-footer { margin: 14px 14px 0; padding: 36px 0; border-radius: 24px 24px 0 0; }

@media (max-width: 960px) {
  .site-header { left: 22px; width: calc(100% - 44px); }
  .site-nav { top: -16px; left: -22px; right: auto; bottom: auto; width: 100vw; height: 100dvh; }
  .hero-grid { min-height: 680px; grid-template-columns: 82px minmax(0,1fr); gap: 24px; padding-top: 150px; }
  .hero-avatar { width: 82px; }
  .hero h1 { font-size: clamp(4rem,9vw,6.4rem); }
  .hero::after { right: -4%; width: 52vw; }
  .news-bar { left: 22px; width: calc(100% - 44px); grid-template-columns: 145px minmax(0,1fr) auto; gap: 14px; }
  .news-story { grid-template-columns: 90px minmax(0,1fr) 20px; gap: 12px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 190px; }
  .site-header { inset: 10px auto auto 18px; width: calc(100% - 36px); border-radius: 13px; }
  .site-nav { top: -10px; left: -18px; }
  .nav-wrap { min-height: 58px; padding-inline: 11px 8px; }
  .brand-mark { width: 34px; }
  .hero { min-height: auto; margin: 7px; border-radius: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding: 190px 0 72px; }
  .hero-avatar { width: 68px; }
  .hero h1 { font-size: clamp(2.7rem,13vw,4.7rem); line-height: .92; }
  .hero::after { top: 25%; right: -22%; width: 88vw; opacity: .1; }
  .hero-marquee { margin: 0 10px 10px; border-radius: 13px; }
  .hero-marquee div { padding: 14px; }
  .hero-marquee span { padding-left: 14px; font-size: .58rem; }
  .news-bar { top: 76px; left: 18px; width: calc(100% - 36px); grid-template-columns: 1fr auto; gap: 10px; margin: 0; padding: 11px 12px; border-radius: 12px; }
  .news-meta { border-right: 0; }
  .news-story { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 1fr 22px; gap: 8px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.14); }
  .news-source { grid-column: 1; margin-bottom: -4px; }
  .news-title { grid-column: 1; overflow: visible; display: -webkit-box; font-size: .74rem; line-height: 1.45; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .news-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .news-controls { grid-column: 2; grid-row: 1; }
  .news-controls span { display: none; }
  .section { margin: 7px; border-radius: 20px; }
  .project-card { min-height: 340px; padding: 24px; border-radius: 16px; }
  .project-featured { min-height: 580px; gap: 26px; padding: 24px; }
  .contact-form { padding: 24px; }
  .site-footer { margin: 7px 7px 0; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2.55rem; }
  .hero-marquee div { grid-template-columns: 1fr; }
  .hero-marquee span { padding-block: 3px; }
  .news-meta small { display: none; }
  .contact-form { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
