/* ============================================================
   Shumaila Yousafzai design system - site-wide rules for Tilda blocks
   Full system: tokens, components and guidelines in the
   "Shumaila Yousafzai" design system (Claude artifact).
   ============================================================ */
:root{
  --sy-ink:#1a1a1a; --sy-ink-2:#3d3d3d; --sy-muted:#6b6b6b; --sy-line:#e6e2da;
  --sy-accent:#c8553d; --sy-accent-text:#a8432e; --sy-accent-deep:#b0472f; --sy-accent-soft:#f3d9cf;
  --sy-font:'Google Sans','TildaSans',Arial,sans-serif;
}
/* One family everywhere (fixes the Times/serif fallbacks on Projects and Research Areas) */
.t-records [class*="t-title"], .t-records [class*="t-descr"], .t-records [class*="t-text"],
.t-records [class*="t-name"], .t-records [class*="t-uptitle"], .t-records [class*="t-heading"],
.t-records [class*="__title"], .t-records [class*="__descr"], .t-records [class*="__text"],
.t-records .t-btn, .t-records .t-submit, .t-records .t-menu__link-item,
.t-records .t-feed__post-title, .t-records .t-store__card__title{font-family:var(--sy-font)!important}
/* Headings never hyphenate or break inside a word ("Entrepreneursh-ip") */
.t-records [class*="t-title"], .t-records [class*="__title"], .t-records [class*="t-name"], .t-records [class*="t-heading"]{
  -webkit-hyphens:none!important; hyphens:none!important; word-break:normal!important; overflow-wrap:normal!important}
.t-records .t-section__title{color:var(--sy-ink); font-weight:500; letter-spacing:0}
/* Text links in running text use the accessible terracotta */
.t-records .t-descr a:not(.t-btn), .t-records .t-text a:not(.t-btn), .t-records [class*="__descr"] a:not(.t-btn),
.t-records [class*="__text"] a:not(.t-btn){color:var(--sy-accent-text)!important}
/* Readable line height (fixes squeezed hero subtitle on phones) */
.t-records .t-descr, .t-records .t-text{line-height:1.55}
/* Nothing hides text: switch off fade-in-on-scroll animations */
.t-records [data-animate-style], .t-records .t-animate{opacity:1!important; transform:none!important; transition:none!important}

/* Section titles: display style (52px desktop, 34px phones), sentence case */
.t-records .t-section__title{font-size:52px!important; line-height:1.08!important; font-weight:500!important}
@media (max-width:640px){.t-records .t-section__title{font-size:34px!important}}
/* Small labels above titles: eyebrow style */
.t-records .t-uptitle{font-size:14px!important; font-weight:600!important; letter-spacing:.14em!important; text-transform:uppercase!important; color:var(--sy-accent-text)!important}
/* Section intros in body ink */
.t-records .t-section__descr{color:var(--sy-ink-2)!important; opacity:1!important}
/* Photos in cards and feeds: radius-lg */
.t-records .t-feed__post-imgwrapper, .t-records .t-feed__post-bgimg, .t-records .t-card__bgimg, .t-records .t-card__imgwrapper{border-radius:20px; overflow:hidden}

/* Footer on dark background: white links, soft terracotta on hover (terracotta text is unreadable on black) */
#t-footer a:not(.t-btn){color:#fff!important; text-decoration:none}
#t-footer a:not(.t-btn):hover{color:var(--sy-accent-soft)!important; text-decoration:underline}
#t-footer .t-uptitle{color:#b8b8b8!important}

/* ============================================================
   Design system for standard Tilda blocks (any page, any block of these types)
   ============================================================ */
/* Page surface */
body, #allrecords{background-color:#fff!important}
/* Headings */
.t-records .t-title, .t-records .t-name{color:var(--sy-ink); font-weight:500!important; letter-spacing:0!important}
.t-records .t-title_xl{font-size:clamp(40px,5.4vw,64px)!important; line-height:1.06!important}
.t-records .t-title_lg{font-size:52px!important; line-height:1.08!important}
.t-records .t-title_md{font-size:36px!important; line-height:1.15!important}
.t-records .t-name_md, .t-records .t-name_lg{font-size:21px!important; line-height:1.3!important}
@media (max-width:640px){.t-records .t-title_lg{font-size:34px!important}.t-records .t-title_md{font-size:28px!important}.t-records .t-name_md,.t-records .t-name_lg{font-size:19px!important}}
/* Body text: readable sizes, body ink */
.t-records .t-descr, .t-records .t-text{color:var(--sy-ink-2)}
.t-records .t-descr_xxs, .t-records .t-descr_xs, .t-records .t-descr_sm{font-size:16px!important; line-height:1.6!important}
.t-records .t-text_xs, .t-records .t-text_sm, .t-records .t-text_md{font-size:18px!important; line-height:1.7!important}
.t-records .t-descr_xxxl, .t-records .t-descr_xxl{font-size:21px!important; line-height:1.55!important; color:var(--sy-ink)!important; opacity:1!important}
@media (max-width:640px){.t-records .t-text_xs,.t-records .t-text_sm,.t-records .t-text_md{font-size:17px!important}.t-records .t-descr_xxxl,.t-records .t-descr_xxl{font-size:19px!important}}
/* Buttons: pill, terracotta (outline style stays outline) */
.t-records .t-btn{border-radius:999px!important; font-weight:600!important; font-family:var(--sy-font)!important}
.t-records .t-btn:not(.t-btnflex_type_button2):not([class*="t-btn_outline"]){background:var(--sy-accent-deep)!important; color:#fff!important; border-color:var(--sy-accent-deep)!important}
.t-records .t-btn:not(.t-btnflex_type_button2):hover{background:#9e3f2b!important}
#t-footer .t-btn{border-radius:999px!important}
/* Cover blocks: eyebrow in white */
.t-records .t-cover .t-uptitle{color:#fff!important; opacity:.9}
/* Images: radius-lg */
.t-records .t-img:not([src$=".svg"]):not([data-original$=".svg"]), .t-records .t604__imgwrapper, .t-records .t772__imgwrapper, .t-records .t772__bgimg{border-radius:20px; overflow:hidden}
/* FR206-style feature columns (t503): quiet cards with icon circles */
.t-records .t503 .t-item{background:var(--sy-surface-2,#f6f5f2); border-radius:16px; padding:26px 24px; box-sizing:border-box}
.t-records .t503__img{width:48px!important; height:48px!important; padding:11px; border-radius:50%; background:var(--sy-accent-soft); box-sizing:border-box}
.t-records .t503 .t-card__title{font-size:18px!important; margin-top:16px}
.t-records .t503 .t-card__descr{font-size:16px!important; line-height:1.55!important}
/* Four columns with titles (t1033): hairline dividers */
.t-records .t1033__line{background-color:var(--sy-line)!important; height:1px!important}
.t-records .t1033__title{font-size:21px!important; line-height:1.3!important}
.t-records .t1033__text{font-size:16px!important; line-height:1.6!important}
/* Cards with image and button (t772) */
.t-records .t772 .t-card__uptitle{font-size:13px!important; font-weight:600!important; letter-spacing:.1em!important; text-transform:uppercase; color:var(--sy-accent-text)!important}
.t-records .t772 .t-card__descr{font-size:15px!important; color:var(--sy-muted)!important}
/* Section intros under titles */
.t-records .t-section__descr{font-size:19px!important}
@media (max-width:960px){.t-records .t503 .t-item{margin-left:20px!important; margin-right:20px!important; width:calc(100% - 40px)!important; margin-bottom:16px}}

/* ---- Design system: more standard blocks used on this site ---- */
/* Secondary button on photo covers: ghost white */
.t-records .t-cover .t-btnflex_type_button2, .t-records .t001 .t-btnflex_type_button2{background:rgba(255,255,255,.14)!important; color:#fff!important; border:1px solid rgba(255,255,255,.6)!important}
/* Slider arrows (book and newsletter sliders, feeds) */
.t-records .t-slds__arrow{background:var(--sy-accent-deep)!important; border-color:var(--sy-accent-deep)!important}
.t-records .t-slds__arrow_body polyline, .t-records .t-slds__arrow_body path{stroke:#fff!important}
.t-records .t-slds__bullet_active .t-slds__bullet_body{background-color:var(--sy-accent)!important}
/* Timeline (Academic positions, About me) */
.t-records .t547__circle, .t-records .t548__circle{background-color:var(--sy-accent)!important; border-color:#fff!important}
.t-records .t547__line, .t-records .t548__line{background-color:var(--sy-line)!important}
.t-records .t547__title, .t-records .t548__title{color:var(--sy-ink)!important; font-weight:500!important}
.t-records .t547__descr{display:inline-block; margin-top:6px; padding:2px 12px; border-radius:999px; background:var(--sy-accent-soft); color:#8a3523!important; font-size:14px!important; font-weight:600!important; line-height:1.6!important}
.t-records .t548__descr{color:var(--sy-ink-2)!important}
/* Columns with big icons (Research areas): icon in a soft circle, readable titles */
.t-records .t490__bgimg{background-color:var(--sy-accent-soft)!important; background-size:58%!important; background-position:center!important; border-radius:50%!important}
.t-records .t490 .t-card__title{font-size:22px!important; line-height:1.3!important}
.t-records .t490 .t-card__descr{font-size:16px!important}
/* Page grid (research themes): rounded photos, clean titles */
.t-records .t404__img, .t-records .t404__imgbox{border-radius:20px!important; overflow:hidden}
.t-records .t404__title{font-size:22px!important; line-height:1.3!important; font-weight:500!important}
.t-records .t404__link:hover .t404__title{color:var(--sy-accent-text)!important}
.t-records .t404__separator{border-color:var(--sy-line)!important; background-color:var(--sy-line)!important}
/* News feeds and blog cards: quiet panels */
.t-records .t-feed__slider-grid__post-wrapper, .t-records .t-feed__post-wrapper, .t-records .t-feed__col-grid__wrapper{background-color:var(--sy-surface-2,#f6f5f2)!important; box-shadow:none!important; border-radius:16px!important}
.t-records .t-feed__post-title, .t-records .js-feed-post-title{color:var(--sy-ink)!important; font-weight:500!important}
/* Book and newsletter slider cards */
.t-records .t923__imgwrapper, .t-records .t923__bgimg{border-radius:16px!important; overflow:hidden}
/* Cards with image (Publications, Blog) */
.t-records .t649 .t-card__bgimg, .t-records .t649 .t-card__img, .t-records .t649 img{border-radius:16px}
.t-records .t-card__link:hover .t-card__title{color:var(--sy-accent-text)!important}
/* Social icons and contacts in terracotta */
.t-records .t-sociallinks__svg, .t-records .t-sociallinks__svg path, #t-footer .t-sociallinks__svg path{fill:var(--sy-accent-text)!important}
.t-records .t572__text{font-size:18px!important; color:var(--sy-ink-2)!important}
/* Forms: pill submit, soft inputs */
.t-records .t-submit{border-radius:999px!important; background:var(--sy-accent-deep)!important; color:#fff!important}
.t-records .t-input{border-radius:10px!important; border-color:var(--sy-line)!important}
/* Hairlines and separators */
.t-records hr, .t-records .t-divider, .t-records [class*="__separator"]{border-color:var(--sy-line)!important}
