/* maryamimran.bd — Maryam Imran & Co. company site: dark full-screen banner, light airy sections, big thin headings */
:root {
  --night: #0b1220;
  --navy: #14223b;
  --gold: #c39a5b;
  --gold-d: #a47c40;
  --text: #1d2230;
  --muted: #5b6272;
  --line: #e2e4ea;
  --soft: #f4f5f8;
  --font: "Inter", system-ui, sans-serif;
  --hd: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hd); }
body { margin: 0; font: 400 17px/1.7 var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
.wrap { width: min(1240px, 100% - 48px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* header: see-through over the banner, white once the page scrolls */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--hd); color: #fff; transition: background .25s, color .25s, box-shadow .25s; }
.hd.solid, body.no-hero .hd { background: #fff; color: var(--text); box-shadow: 0 1px 0 var(--line); }
.hd-in { height: 100%; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.logo img { height: 40px; width: auto; }
.logo small { display: block; font-weight: 400; font-size: 12px; opacity: .7; letter-spacing: .02em; }
.nav { display: flex; gap: 30px; margin-right: auto; }
.nav a { text-decoration: none; font-size: 15px; opacity: .85; padding: 6px 0; border-bottom: 2px solid transparent; transition: opacity .15s, border-color .15s; }
.nav a:hover { opacity: 1; border-bottom-color: var(--gold); }
.hd-r { display: flex; align-items: center; gap: 14px; }
.cta { text-decoration: none; background: var(--gold); color: var(--night); font-weight: 600; font-size: 14.5px; padding: 9px 20px; border-radius: 999px; white-space: nowrap; transition: background .15s; }
.cta:hover { background: #d4ad70; }
.burger { display: none; background: none; border: 0; color: inherit; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px; }
.burger span { display: block; height: 2px; background: currentColor; }

/* banner */
.hero { position: relative; min-height: max(620px, 94vh); background: var(--night); color: #fff; overflow: hidden; display: flex; }
.hero::before { /* slow drifting points of light when there is no picture */
  content: ""; position: absolute; inset: -50%; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.6px 1.6px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 70% 60%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 40% 80%, #c9d4ea 50%, transparent 51%), radial-gradient(1.4px 1.4px at 85% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 45%, #fff 50%, transparent 51%), radial-gradient(1.8px 1.8px at 10% 70%, #dfe6f5 50%, transparent 51%);
  background-size: 380px 380px, 520px 520px, 640px 640px, 300px 300px, 260px 260px, 720px 720px;
  animation: drift 90s linear infinite;
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 80% 30%, rgba(195,154,91,.16), transparent 55%), radial-gradient(ellipse at 15% 90%, rgba(60,90,150,.25), transparent 50%); }
@keyframes drift { to { transform: translate3d(-12%, -8%, 0); } }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; z-index: 1; }
.slide.on { opacity: 1; visibility: visible; }
.slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 8s ease-out; }
.slide.on .bg { transform: scale(1); }
.slide .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,13,24,.9) 0%, rgba(8,13,24,.55) 55%, rgba(8,13,24,.2) 100%), linear-gradient(0deg, rgba(8,13,24,.7), transparent 50%); }
.slide-in { position: relative; padding: 0 0 clamp(90px, 14vh, 150px); max-width: 820px; }
.kick { display: inline-block; color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-weight: 300; font-size: clamp(40px, 6.2vw, 80px); letter-spacing: -.02em; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.82); margin: 24px 0 0; max-width: 640px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 15px var(--font); padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: all .15s; }
.btn.gold { background: var(--gold); color: var(--night); }
.btn.gold:hover { background: #d4ad70; }
.btn.ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn.ghost:hover { background: #fff; color: var(--night); }
.btn.dark { background: var(--night); color: #fff; }
.btn.dark:hover { background: var(--navy); }
.btn.line { border-color: var(--text); color: var(--text); background: transparent; }
.btn.line:hover { background: var(--text); color: #fff; }
.dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 40px; }
.dots .wrap { display: flex; gap: 10px; }
.dots button { width: 38px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; border-radius: 2px; }
.dots button.on { background: var(--gold); }

/* sections */
.sec { padding: clamp(80px, 10vw, 130px) 0; }
.sec.soft { background: var(--soft); }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--gold-d); font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold); }
.big { font-weight: 300; font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.02em; color: var(--night); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 54px; }
.arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--night); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: gap .15s; }
.arrow::after { content: "→"; }
.arrow:hover { gap: 14px; }

/* intro */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.intro p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.intro .links { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; align-items: flex-start; }

/* services */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.svc li { list-style: none; padding: 34px 0 38px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.svc { padding: 0; margin: 0; }
.svc .n { font-size: 13px; color: var(--gold-d); font-weight: 600; letter-spacing: .1em; margin-bottom: 14px; }
.svc h3 { font-size: 22px; font-weight: 600; color: var(--night); margin-bottom: 12px; }
.svc p { margin: 0 0 18px; color: var(--muted); font-size: 16px; flex: 1; }
.svc .arrow { align-self: flex-start; font-size: 15px; }

/* insights */
.ins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.ins a.it { text-decoration: none; display: flex; flex-direction: column; }
.ins .pic { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); position: relative; margin-bottom: 22px; }
.ins .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ins a.it:hover .pic img { transform: scale(1.05); }
.ins .pic.blank { display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(135deg, var(--navy), var(--night)); }
.ins .pic.blank span { color: var(--gold); font-size: 30px; font-weight: 300; line-height: 1.1; }
.ins .k { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 10px; }
.ins h3 { font-size: 21px; font-weight: 600; color: var(--night); margin-bottom: 10px; transition: color .15s; }
.ins a.it:hover h3 { color: var(--gold-d); }
.ins p { margin: 0; color: var(--muted); font-size: 15.5px; }
/* the first one (when there are 3 or more) runs the full width: picture left, words right */
.ins .it.first { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 0 48px; align-items: center; }
.ins .it.first .pic { aspect-ratio: 16 / 9; margin: 0; grid-row: span 4; }
.ins .it.first h3 { font-size: 30px; font-weight: 500; }
.ins .it.first p { font-size: 17px; }
.ins .it.first > :not(.pic) { grid-column: 2; }

/* our work: a list */
.work { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work li { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 40px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.work h3 { font-size: 24px; font-weight: 500; color: var(--night); }
.work .s { display: block; color: var(--gold-d); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.work p { margin: 0; color: var(--muted); }

/* publications: a row of covers */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; }
.shelf a { scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.shelf .cv { aspect-ratio: 3 / 4; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .2s, box-shadow .2s; }
.shelf a:hover .cv { transform: translateY(-5px); box-shadow: 0 16px 34px -20px rgba(11,18,32,.5); }
.shelf .cv img { width: 100%; height: 100%; object-fit: contain; }
.shelf b { font-weight: 500; font-size: 15px; line-height: 1.45; color: var(--night); }

/* people */
.ppl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 32px; }
.ppl .pp { display: flex; flex-direction: column; }
.ppl .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); margin-bottom: 20px; }
.ppl .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85); transition: filter .4s, transform .6s; }
.ppl .pp:hover .ph img { filter: none; transform: scale(1.03); }
.ppl h3 { font-size: 22px; font-weight: 600; color: var(--night); }
.ppl .r { color: var(--gold-d); font-weight: 500; margin: 4px 0 10px; }
.ppl p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.ppl .arrow { align-self: flex-start; }

/* careers band */
.band { background: var(--night); color: #fff; }
.band .big { color: #fff; }
.band .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.band p { color: rgba(255,255,255,.75); font-size: 18px; margin: 0 0 28px; }

/* connect */
.conn { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.conn > div > p { color: var(--muted); font-size: 18px; margin: 22px 0 30px; }
.cl { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.cl li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.cl small { color: var(--muted); font-size: 14px; }
.cl a { text-decoration: none; font-weight: 500; color: var(--night); }
.cl a:hover { color: var(--gold-d); }
.soc { display: flex; gap: 10px; flex-wrap: wrap; }
.soc a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--night); transition: all .15s; }
.soc a:hover { background: var(--night); color: #fff; border-color: var(--night); }
.soc svg { width: 18px; height: 18px; fill: currentColor; }
.form { background: var(--soft); padding: 40px; display: grid; gap: 16px; }
.form h3 { font-size: 22px; font-weight: 600; color: var(--night); margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form textarea { width: 100%; border: 0; border-bottom: 1.5px solid #c9cdd6; background: transparent; padding: 10px 0; font: 16px var(--font); color: var(--text); outline: none; border-radius: 0; transition: border-color .15s; }
.form input:focus, .form textarea:focus { border-bottom-color: var(--gold); }
.form textarea { min-height: 110px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .note { margin: 0; font-size: 15px; min-height: 1.4em; }
.form .note.ok { color: #2f7a4d; }
.form .note.err { color: #b3402f; }

/* footer */
.ft { background: #070c16; color: rgba(255,255,255,.7); padding: 80px 0 34px; font-size: 15px; }
.ft-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ft .nm { color: #fff; font-size: 22px; font-weight: 700; }
.ft .tg { color: var(--gold); margin: 4px 0 16px; }
.ft h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 18px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft a { text-decoration: none; transition: color .15s; }
.ft a:hover { color: #fff; }
.ft .soc a { border-color: rgba(255,255,255,.2); color: #fff; }
.ft .soc a:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
.ft-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; }
.ft-bot span a { margin-left: 22px; }

/* appear on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero::before { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .svc, .ins { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --hd: 64px; }
  .nav { position: fixed; inset: var(--hd) 0 auto 0; background: #fff; color: var(--text); flex-direction: column; gap: 0; padding: 6px 24px 20px; box-shadow: 0 12px 24px -16px rgba(0,0,0,.3); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; opacity: 1; }
  .burger { display: flex; }
  .cta { display: none; }
  .intro, .band .grid, .conn { grid-template-columns: 1fr; gap: 40px; }
  .work li { grid-template-columns: 1fr; gap: 12px; }
  .head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .logo { font-size: 17px; }
  .svc, .ins { grid-template-columns: 1fr; }
  .ins .it.first { display: flex; }
  .ins .it.first .pic { aspect-ratio: 3 / 2; margin-bottom: 22px; }
  .ins .it.first h3 { font-size: 22px; }
  .shelf { grid-auto-columns: 150px; gap: 18px; }
  .form { padding: 26px 20px; }
  .cl li { grid-template-columns: 1fr; gap: 2px; }
  .ft-top { grid-template-columns: 1fr; gap: 36px; }
  .ft-bot span a { margin: 0 18px 0 0; }
}
