/* Founder profile page (/author/preeti-chhipa.aspx)
   Colours come from Blockart brand (aubergine + salmon) and from natural block-printing dyes (indigo, harda yellow). */
:root {
    --aub: #513A47;
    --aub-deep: #3D2B36;
    --indigo: #2B3A67;
    --salmon: #EE825E;
    --harda: #E0A83A;
    --paper: #FFFDFA;
    --ink: #2A2127;
    --muted: #6E5F68;
    --line: #EADFE3;
    --display: "Young Serif", Georgia, serif;
    --body: "Hind", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--salmon); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; border-radius: 4px; }
.skip:focus { top: 12px; }

/* Top bar */
.bar { background: #fff; border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.bar-logo img { height: 34px; width: auto; }
.bar nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.bar nav a { text-decoration: none; color: var(--aub); }
.bar nav a:hover { color: var(--salmon); }
.bar .bar-shop { background: var(--aub); color: #fff; padding: 8px 16px; border-radius: 999px; }
.bar .bar-shop:hover { background: var(--salmon); color: #fff; }

/* Hero: the printing table */
.hero { position: relative; overflow: hidden; background: var(--aub); color: #fff; padding: 72px 0 84px; isolation: isolate; }
.press { position: absolute; inset: 0; z-index: -1; color: var(--salmon); }
.press::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(61, 43, 54, .92) 0%, rgba(61, 43, 54, .55) 45%, rgba(61, 43, 54, .25) 100%); }
.imp { position: absolute; width: 40px; height: 40px; opacity: 0; transform: rotate(var(--rot)); }
.press.is-still .imp { opacity: calc(var(--ink) * .32); }
.press.is-printing .imp { animation: stamp .32s cubic-bezier(.3, 1.4, .5, 1) forwards; }
@keyframes stamp {
    0% { opacity: 0; transform: rotate(var(--rot)) scale(1.35); }
    60% { opacity: calc(var(--ink) * .5); }
    100% { opacity: calc(var(--ink) * .32); transform: rotate(var(--rot)) scale(1); }
}
.hero-in { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 64px; align-items: center; }

/* Photo in a jharokha arch */
.arch { margin: 0; position: relative; }
.arch::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--harda); border-radius: 999px 999px 10px 10px; }
.arch img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 10px 10px; background: var(--aub-deep); }

.crumbs { font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); letter-spacing: -.01em; }
.role { margin-top: 14px; font-size: 18px; color: var(--harda); font-weight: 500; }
.bio { margin-top: 22px; max-width: 62ch; color: rgba(255, 255, 255, .9); font-size: 17.5px; }
.bio a { color: #fff; }
.links { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.links a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); text-decoration: none; font-weight: 500; font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.links a:hover { background: #fff; color: var(--aub); border-color: #fff; }
.links svg { width: 18px; height: 18px; }

/* Ledger */
.ledger { background: #fff; border-bottom: 1px solid var(--line); }
.ledger-in { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; }
.ledger-in > div { padding: 28px 24px; border-left: 1px solid var(--line); }
.ledger-in > div:first-child { border-left: 0; padding-left: 0; }
.ledger dt { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--aub); }
.ledger dd { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.4; }

/* In her words */
.words { padding-top: 88px; padding-bottom: 24px; display: grid; grid-template-columns: 1fr 260px; grid-template-rows: auto 1fr; column-gap: 64px; align-items: start; }
.words .h-small, .words blockquote { grid-column: 1; }
.block-fig { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 32px 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-align: center; }
.block-big { width: 150px; height: 150px; color: var(--indigo); transform: rotate(-4deg); }
.block-fig figcaption { margin-top: 18px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.h-small { font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--salmon); }
.words blockquote { margin: 18px 0 0; max-width: 30em; }
.words blockquote p { font-family: var(--display); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; color: var(--aub); }
.words blockquote .hi { margin-top: 22px; font-family: var(--body); font-size: 22px; font-weight: 500; color: var(--indigo); }

/* Journey */
.journey { display: grid; grid-template-columns: 1.6fr 1fr; gap: 72px; padding-top: 72px; padding-bottom: 88px; }
.journey h2 { font-size: 34px; color: var(--aub); margin-bottom: 30px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 49px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 14px); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding-bottom: 40px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.t-year { font-family: var(--display); font-size: 26px; color: var(--paper); background: var(--indigo); border-radius: 999px; height: 44px; display: flex; align-items: center; justify-content: center; position: relative; }
.t-body h3 { font-size: 24px; color: var(--ink); }
.t-date { color: var(--muted); font-size: 15px; margin: 4px 0 10px; }
.t-body p:last-child { max-width: 60ch; }
.t-body a { color: var(--aub); text-decoration-color: var(--salmon); }

.edu { list-style: none; margin: 0; padding: 0; }
.edu li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.edu li:first-child { border-top: 0; padding-top: 0; }
.edu strong { font-weight: 600; }
.edu span { color: var(--muted); font-size: 15.5px; }
.edu em { font-style: normal; font-size: 14px; color: var(--indigo); }

/* Press */
.press-list { background: #F5EFF1; padding: 56px 0; }
.press-list ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.press-list a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 24px; color: var(--aub); text-decoration: none; border-bottom: 1px solid transparent; }
.press-list a:hover { border-bottom-color: var(--salmon); }
.press-list svg { width: 14px; height: 14px; color: var(--salmon); }

/* Articles */
.articles { padding-top: 88px; padding-bottom: 88px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.sec-head h2 { font-size: 34px; color: var(--aub); }
.more { color: var(--aub); font-weight: 600; text-decoration-color: var(--salmon); text-underline-offset: 4px; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.post a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.post-img { display: block; overflow: hidden; border-radius: 6px; background: var(--line); aspect-ratio: 400 / 260; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post a:hover img { transform: scale(1.04); }
.post-t { margin-top: 16px; font-weight: 600; font-size: 18px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post a:hover .post-t { color: var(--aub); text-decoration: underline; text-decoration-color: var(--salmon); }
.post time { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* Shop the craft */
.craft { background: var(--indigo); color: #fff; padding: 64px 0; }
.craft-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.craft h2 { font-size: 36px; }
.craft p { margin-top: 10px; color: rgba(255, 255, 255, .8); }
.craft-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.craft-links a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); text-decoration: none; font-weight: 500; }
.craft-links a:hover { background: var(--harda); border-color: var(--harda); color: var(--ink); }

/* Footer */
.foot { background: var(--aub-deep); color: rgba(255, 255, 255, .75); font-size: 14.5px; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 22px; }
.foot a { color: #fff; margin-left: 16px; }
.foot a:first-child { margin-left: 0; }

/* Responsive */
@media (max-width: 960px) {
    .hero-in { grid-template-columns: 1fr; gap: 40px; }
    .arch { max-width: 260px; }
    .ledger-in { grid-template-columns: repeat(2, 1fr); }
    .ledger-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
    .ledger-in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .journey { grid-template-columns: 1fr; gap: 56px; }
    .words { grid-template-columns: 1fr; }
    .block-fig { grid-column: 1; grid-row: auto; margin-top: 40px; display: flex; align-items: center; gap: 20px; text-align: left; padding: 20px; }
    .block-big { width: 80px; height: 80px; flex: 0 0 80px; }
    .block-fig figcaption { margin-top: 0; }
    .posts { grid-template-columns: repeat(2, 1fr); }
    .craft-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .bar nav a:not(.bar-shop) { display: none; }
    .hero { padding: 44px 0 56px; }
    .press::after { background: rgba(61, 43, 54, .78); }
    .arch { max-width: 210px; }
    .ledger-in > div { padding: 20px 14px; }
    .ledger dt { font-size: 32px; }
    .words { padding-top: 56px; }
    .journey { padding-top: 48px; padding-bottom: 56px; }
    .timeline::before { left: 34px; }
    .timeline li { grid-template-columns: 70px 1fr; gap: 16px; }
    .t-year { font-size: 20px; height: 36px; }
    .t-body h3 { font-size: 21px; }
    .press-list a { font-size: 20px; }
    .articles { padding-top: 56px; padding-bottom: 56px; }
    .posts { grid-template-columns: 1fr; }
    .sec-head h2, .journey h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .press .imp { opacity: calc(var(--ink) * .32); }
}
