:root {
  --paper:#f3f0e9;
  --ink:#262824;
  --muted:#676960;
  --rust:#a44830;
  --line:#d4d2c9;
  --serif:'Newsreader',Georgia,serif;
  --sans:'DM Sans',Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:100px;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

body.modal-open {
  overflow:hidden;
}

::selection {
  background:var(--rust);
  color:var(--paper);
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
  color:inherit;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

img {
  display:block;
  max-width:100%;
}

figure,p,h1,h2,h3,dl,dd {
  margin:0;
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:2px solid var(--rust);
  outline-offset:6px;
}

button {
  border-radius:0;
}

em {
  font-family:var(--serif);
  font-weight:400;
}

strong {
  font-weight:550;
}

.wrap {
  width:calc(100% - 112px);
  max-width:1328px;
  margin-inline:auto;
}

.eyebrow {
  font-size:10px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.rust {
  color:var(--rust);
}

.section {
  padding-block:108px;
}

.section-index {
  color:var(--muted);
  margin-bottom:26px;
}

.section-heading {
  margin-bottom:52px;
}

.section-heading h2,.expertise h2 {
  font-size:clamp(34px,3.8vw,52px);
  line-height:1.12;
  font-weight:450;
  letter-spacing:-.045em;
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:30px;
  font-size:13px;
  font-weight:550;
  padding-bottom:9px;
  border:0;
  border-bottom:1px solid var(--ink);
  background:transparent;
  transition:color .2s,gap .2s;
}

.text-link:hover {
  color:var(--rust);
  gap:39px;
}

.text-link span {
  font-size:20px;
  line-height:1;
}

.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  z-index:100;
  background:var(--ink);
  color:var(--paper);
  padding:12px 20px;
}

.skip-link:focus {
  top:10px;
}


/* A quiet masthead, with the navigation always within reach. */
.site-header {
  position:sticky;
  top:0;
  z-index:20;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}

.header-inner {
  height:90px;
  display:flex;
  align-items:center;
  gap:38px;
}

.wordmark {
  font-size:43px;
  letter-spacing:-5px;
  font-weight:700;
  line-height:1;
}

.wordmark span {
  color:var(--rust);
}

.header-note {
  font-size:11px;
  color:var(--muted);
  letter-spacing:.015em;
  padding-left:30px;
  border-left:1px solid var(--line);
}

.site-nav {
  display:flex;
  align-items:center;
  gap:32px;
  margin-left:auto;
  font-size:14px;
  font-weight:500;
}

.site-nav>a {
  padding:8px 0;
  position:relative;
}

.site-nav>a::after {
  content:'';
  position:absolute;
  bottom:3px;
  left:0;
  right:0;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s;
}

.site-nav>a:hover::after {
  transform:scaleX(1);
}

.site-nav .nav-contact {
  color:var(--rust);
  margin-left:0;
}

.site-nav span {
  margin-left:8px;
}

.menu-toggle {
  display:none;
}


/* Portrait and type, rather than a stock illustration. */
.hero {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  column-gap:7%;
  padding-top:62px;
}

.hero-copy {
  padding-top:22px;
  align-self:center;
}

.hero .eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:32px;
}

.small-mark {
  height:7px;
  width:7px;
  background:var(--rust);
  display:inline-block;
}

.hero h1 {
  font-weight:500;
  font-size:clamp(62px,7.4vw,106px);
  letter-spacing:-.075em;
  line-height:.99;
}

.hero-script {
  font-family:var(--serif);
  font-style:italic;
  font-size:clamp(28px,3.1vw,43px);
  letter-spacing:-.025em;
  color:var(--rust);
  margin-top:20px;
}

.hero-intro {
  max-width:440px;
  font-size:14px;
  line-height:1.9;
  margin-top:23px;
  color:var(--muted);
}

.hero-intro a {
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:#aaa99e;
  text-underline-offset:3px;
}

.hero-intro a:hover {
  color:var(--rust);
}

.hero-link {
  margin-top:27px;
}

.portrait {
  position:relative;
  min-height:540px;
  overflow:hidden;
  background:#30352f;
  isolation:isolate;
}

.portrait::before {
  content:'YK';
  position:absolute;
  left:4%;
  top:18%;
  font-size:clamp(150px,22vw,310px);
  line-height:1;
  font-weight:500;
  letter-spacing:-.13em;
  color:#454a41;
  z-index:-1;
}

.portrait-topline {
  position:absolute;
  top:24px;
  left:26px;
  right:26px;
  color:#d9dbd2;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.12em;
  z-index:2;
}

.portrait-topline>span:last-child {
  font-size:20px;
  line-height:1;
}

.portrait>img {
  position:absolute;
  bottom:-4%;
  left:-7%;
  width:114%;
  max-width:none;
  height:96%;
  object-fit:cover;
  object-position:50% 0;
  filter:grayscale(1);
}

.portrait figcaption {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  display:flex;
  justify-content:space-between;
  align-items:end;
  padding:54px 26px 24px;
  background:linear-gradient(transparent,rgba(19,23,20,.85));
  color:#eaece4;
  font-size:10px;
  line-height:1.65;
}

.portrait-signature {
  font-family:var(--serif);
  font-style:italic;
  font-size:24px;
  transform:rotate(-8deg);
}

.hero-bottom {
  grid-column:1/-1;
  margin-top:44px;
  padding-block:20px;
  border-block:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  font-size:10px;
  color:var(--muted);
}

.hero-bottom>a {
  display:flex;
  gap:25px;
}

.hero-bottom>a:hover {
  color:var(--rust);
}


/* Two businesses; two clear, typographic identities. */
.venture {
  display:grid;
  grid-template-columns:230px 1fr 50px;
  align-items:center;
  gap:44px;
  padding-block:32px;
  border-top:1px solid var(--line);
  scroll-margin-top:115px;
}

.venture:last-child {
  border-bottom:1px solid var(--line);
}

.venture-emblem {
  aspect-ratio:1.3;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.weberhood-emblem {
  background:#e5e3db;
  color:#303e36;
}

.hrique-emblem {
  background:#e0e5dc;
  color:#344339;
}

.venture-emblem img {
  width:80%;
  max-width:230px;
  height:auto;
  object-fit:contain;
}

.venture-content .eyebrow {
  font-size:9px;
  color:var(--muted);
}

.venture-content h3 {
  font-size:27px;
  letter-spacing:-.045em;
  font-weight:500;
  margin-block:9px 13px;
}

.venture-content>p:not(.eyebrow) {
  font-size:13px;
  color:var(--muted);
  max-width:670px;
  line-height:1.85;
}

.venture-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-top:21px;
  font-size:9px;
  color:var(--muted);
}

.venture-tags span {
  padding-bottom:3px;
  border-bottom:1px solid var(--line);
}

.round-link {
  width:46px;
  height:46px;
  border:1px solid #b6b9ad;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:23px;
  transition:color .2s,background .2s,border .2s;
}

.round-link:hover {
  background:var(--ink);
  color:var(--paper);
  border-color:var(--ink);
}


/* A change of pace for the personal story. */
.about-section {
  background:var(--ink);
  color:var(--paper);
  padding-block:100px;
}

.about-grid {
  display:grid;
  grid-template-columns:1fr 2fr;
  column-gap:90px;
}

.about-label .section-index {
  color:#b3b6a8;
}

.asterisk {
  display:block;
  color:#bd7356;
  font-size:100px;
  line-height:1;
  margin-top:57px;
}

.side-note {
  font-family:var(--serif);
  font-style:italic;
  font-size:22px;
  color:#bfc1b5;
  line-height:1.25;
  margin-top:24px;
}

.about-copy h2 {
  font-size:clamp(32px,3.5vw,47px);
  font-weight:450;
  line-height:1.2;
  letter-spacing:-.035em;
  margin-bottom:29px;
}

.about-copy h2 em {
  color:#d0ae92;
}

.about-copy>p {
  font-size:14px;
  color:#c0c2b7;
  line-height:1.9;
  max-width:650px;
  margin-top:15px;
}

.about-copy .text-link {
  margin-top:28px;
  border-color:#73766b;
  color:var(--paper);
}


.expertise {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:9%;
}

.expertise-intro>p:not(.eyebrow) {
  font-size:13px;
  color:var(--muted);
  max-width:340px;
  margin-block:25px;
}

.expertise-intro .text-link {
  margin-top:5px;
}

.expertise-list {
  border-top:1px solid var(--line);
}

.expertise-list details {
  border-bottom:1px solid var(--line);
  padding-block:25px;
}

.expertise-list summary {
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:20px;
  list-style:none;
}

.expertise-list summary::-webkit-details-marker {
  display:none;
}

.service-number {
  font-size:10px;
  color:var(--rust);
}

.expertise-list h3 {
  font-size:20px;
  line-height:1.4;
  font-weight:450;
  letter-spacing:-.03em;
}

.details-icon {
  font-size:24px;
  font-weight:400;
  margin-left:auto;
  line-height:1;
}

.expertise-list details[open] .details-icon {
  transform:rotate(45deg);
}

.expertise-list details p {
  font-size:13px;
  color:var(--muted);
  padding-left:34px;
  padding-right:25px;
  margin-top:15px;
  line-height:1.85;
}

.expertise-list summary:hover h3 {
  color:var(--rust);
}


/* Photographs retain their colour; the surrounding layout stays quiet. */
.moments-section {
  background:#e8e7df;
}

.moments-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
}

.moments-heading>p {
  font-size:12px;
  color:var(--muted);
  padding-bottom:5px;
}

.moments-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:28px;
}

.moment {
  min-width:0;
}

.photo-button {
  display:block;
  position:relative;
  width:100%;
  border:0;
  padding:0;
  overflow:hidden;
  background:#d8d8cf;
  text-align:left;
  aspect-ratio:4 / 3;
}

.photo-button img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.moment-featured .photo-button img { object-position:center 75%; }

.photo-expand {
  position:absolute;
  right:15px;
  bottom:15px;
  border-radius:50%;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  background:var(--paper);
  font-size:20px;
}

.moment figcaption {
  padding-top:20px;
}

.moment figcaption .eyebrow {
  font-size:9px;
  color:var(--muted);
}

.moment h3 {
  font-size:18px;
  font-weight:450;
  letter-spacing:-.025em;
  margin-top:6px;
}

.more-moments {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px 28px;
  margin-top:48px;
}

.more-moments[hidden] {
  display:none;
}

.more-moments h3 {
  font-size:15px;
}

.gallery-toggle {
  display:flex;
  margin:48px auto 0;
}

.gallery-toggle[aria-expanded=true] span {
  transform:rotate(45deg);
}


.contact {
  background:var(--rust);
  color:var(--paper);
}

.contact-inner {
  padding-block:73px 46px;
}

.contact .eyebrow {
  color:#ebd4c9;
  margin-bottom:28px;
}

.contact-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.contact h2 {
  min-width:0;
  overflow-wrap:anywhere;
  font-size:clamp(55px,7.6vw,108px);
  font-weight:450;
  line-height:1.04;
  letter-spacing:-.06em;
}

.contact h2 em {
  letter-spacing:-.04em;
}

.contact-arrow {
  width:104px;
  height:104px;
  border:1px solid #cc8c75;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:63px;
  line-height:1;
  transition:background .2s,color .2s;
  flex-shrink:0;
}

.contact-arrow:hover {
  background:var(--paper);
  color:var(--rust);
}

.contact-socials {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.contact-socials a {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid #cc8c75;
  border-radius:50%;
  transition:background .2s,color .2s,transform .2s;
}

.contact-socials a:hover {
  background:var(--paper);
  color:var(--rust);
  transform:translateY(-2px);
}

.contact-socials a:focus-visible {
  outline-color:var(--paper);
}

.contact-socials svg {
  display:block;
}

.contact-bottom {
  display:flex;
  justify-content:space-between;
  align-items:end;
  border-top:1px solid #bf7760;
  padding-top:28px;
  margin-top:45px;
}

.email-link {
  font-size:clamp(16px,2.4vw,29px);
  letter-spacing:-.035em;
  border-bottom:1px solid #cc8c75;
}

.email-link:hover {
  border-color:var(--paper);
}

.contact-bottom p {
  font-size:11px;
  line-height:1.7;
  color:#ebd4c9;
}

.site-footer {
  padding-block:35px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  font-size:9px;
  color:var(--muted);
}

.site-footer>div {
  display:flex;
  gap:25px;
  align-items:center;
}

.site-footer .wordmark {
  font-size:32px;
  color:var(--ink);
}

.site-footer nav {
  display:flex;
  gap:21px;
}

.site-footer nav a:hover,.back-top:hover {
  color:var(--rust);
}

.lightbox {border:1px solid rgb(255 255 255 / .12);padding:0;background:#20231f;color:var(--paper);width:min(1040px,calc(100vw - 48px));height:min(820px,calc(100dvh - 48px));max-width:none;max-height:none;border-radius:14px;overflow:hidden;box-shadow:0 24px 90px rgb(0 0 0 / .35);}
.lightbox[open] {display:grid;grid-template-rows:56px minmax(0,1fr) 64px;}
.lightbox::backdrop {background:rgb(18 20 17 / .88);backdrop-filter:blur(5px);}
.lightbox-toolbar {display:flex;align-items:center;justify-content:space-between;padding:6px 12px 6px 22px;border-bottom:1px solid rgb(255 255 255 / .08);}
.lightbox-toolbar>span {font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:rgb(243 240 233 / .55);}
.lightbox-close {display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgb(255 255 255 / .06);color:var(--paper);cursor:pointer;}
.lightbox-close:hover {background:rgb(255 255 255 / .14);}
.lightbox-close:focus-visible {outline:2px solid var(--paper);outline-offset:-4px;}
.lightbox-stage {position:relative;min-height:0;display:grid;place-items:center;background:#171a16;overflow:hidden;}
.lightbox-nav {position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgb(255 255 255 / .3);border-radius:50%;background:rgb(23 26 22 / .8);color:var(--paper);cursor:pointer;transition:background .2s;}
.lightbox-nav[hidden] {display:none;}
.lightbox-nav:hover {background:rgb(255 255 255 / .18);}
.lightbox-nav:focus-visible {outline:2px solid var(--paper);outline-offset:3px;}
.lightbox-prev {left:clamp(8px,2vw,24px);}
.lightbox-next {right:clamp(8px,2vw,24px);}
.lightbox-stage img {width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;object-fit:contain;margin:0;}
.lightbox-stage img[hidden] {display:none;}
.lightbox-status {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;font-size:13px;color:rgb(243 240 233 / .7);}
.lightbox-status[hidden],.lightbox-status [hidden] {display:none;}
.lightbox-spinner {width:30px;height:30px;border:2px solid rgb(255 255 255 / .12);border-top-color:var(--paper);border-radius:50%;animation:lightbox-spin .8s linear infinite;}
@keyframes lightbox-spin {to {transform:rotate(360deg);}}
.lightbox-original {text-decoration:underline;}
.lightbox-caption {margin:0;padding:12px 24px;display:grid;place-items:center;border-top:1px solid rgb(255 255 255 / .08);font-size:12px;line-height:1.5;text-align:center;overflow:auto;}

@media(min-width:1500px) {
  .hero h1 {
    font-size:116px;
  }
  .portrait {
    min-height:610px;
  }
  .hero {
    column-gap:9%;
  }
  .hero-intro {
    font-size:15px;
  }
  .hero-copy {
    padding-block:36px;
  }
}

@media(max-width:1100px) {
  .wrap {
    width:calc(100% - 72px);
  }
  .header-note {
    display:none;
  }
  .hero {
    column-gap:5%;
    grid-template-columns:1.2fr 1fr;
  }
  .hero h1 {
    font-size:clamp(62px,7.6vw,86px);
  }
  .portrait {
    min-height:510px;
  }
  .hero-intro {
    font-size:13px;
  }
  .hero .eyebrow {
    font-size:9px;
  }
  .venture {
    grid-template-columns:190px 1fr 42px;
    gap:28px;
  }
  .venture-content h3 {
    font-size:24px;
  }
  .about-grid {
    column-gap:50px;
    grid-template-columns:1fr 2fr;
  }
  .about-copy h2 {
    font-size:35px;
  }
  .desktop-break {
    display:none;
  }
  .site-footer {
    flex-wrap:wrap;
  }
  .site-footer .back-top {
    margin-left:auto;
  }
}

@media(max-width:760px) {
  html {
    scroll-padding-top:88px;
  }
  .wrap {
    width:calc(100% - 40px);
  }
  .section {
    padding-block:68px;
  }
  .header-inner {
    height:72px;
  }
  .wordmark {
    font-size:37px;
  }
  .menu-toggle {
    display:flex;
    align-items:center;
    gap:14px;
    border:0;
    background:transparent;
    padding:10px 0 10px 16px;
    font-size:12px;
    margin-left:auto;
  }
  .menu-toggle span {
    font-size:24px;
    line-height:1;
    transition:transform .2s;
  }
  .menu-toggle[aria-expanded=true] span {
    transform:rotate(45deg);
  }
  .site-nav {
    display:none;
    position:absolute;
    top:72px;
    left:0;
    right:0;
    background:var(--paper);
    border-bottom:1px solid var(--line);
    padding:18px 20px 26px;
    box-shadow:0 20px 25px #2628240b;
  }
  .site-nav.is-open {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:5px;
  }
  .site-nav>a {
    padding:13px 0;
    font-size:16px;
  }
  .site-nav .nav-contact {
    margin-left:0;
  }
  .site-nav>a::after {
    display:none;
  }
  .hero {
    grid-template-columns:1fr;
    gap:0;
    padding-top:40px;
  }
  .hero-copy {
    padding:0;
  }
  .hero .eyebrow {
    font-size:9px;
    margin-bottom:27px;
  }
  .hero h1 {
    font-size:clamp(58px,11.8vw,88px);
    letter-spacing:-.065em;
  }
  .hero-script {
    font-size:33px;
    margin-top:15px;
  }
  .hero-intro {
    font-size:13px;
    max-width:440px;
    margin-top:19px;
  }
  .hero-link {
    margin-top:24px;
  }
  .portrait {
    margin-top:37px;
    min-height:0;
    aspect-ratio:1.04;
    width:100%;
  }
  .portrait>img {
    left:4%;
    width:92%;
    height:110%;
    bottom:-13%;
    object-fit:contain;
  }
  .portrait::before {
    font-size:70vw;
    left:9%;
    top:9%;
  }
  .portrait-topline {
    top:20px;
    left:20px;
    right:20px;
  }
  .portrait figcaption {
    padding:40px 20px 20px;
  }
  .hero-bottom {
    margin-top:25px;
    font-size:8px;
    padding-block:17px;
    gap:15px;
  }
  .hero-bottom>a {
    gap:12px;
    white-space:nowrap;
  }
  .section-heading {
    margin-bottom:32px;
  }
  .section-index {
    font-size:9px;
    margin-bottom:19px;
  }
  .section-heading h2,.expertise h2 {
    font-size:37px;
  }
  .venture {
    grid-template-columns:1fr 40px;
    gap:20px;
    padding-block:25px;
  }
  .venture-emblem {
    grid-column:1/-1;
    aspect-ratio:2.4;
  }
  .venture-content {
    grid-column:1;
  }
  .venture .round-link {
    align-self:start;
    width:38px;
    height:38px;
    margin-top:30px;
    font-size:21px;
  }
  .venture-content h3 {
    font-size:25px;
  }
  .venture-content .eyebrow {
    font-size:8px;
  }
  .venture-content>p:not(.eyebrow) {
    font-size:12px;
  }
  .venture-tags {
    font-size:8px;
    gap:8px 15px;
    margin-top:15px;
  }
  .about-section {
    padding-block:62px;
  }
  .about-grid {
    grid-template-columns:1fr;
    gap:0;
  }
  .about-label {
    display:flex;
    align-items:start;
    justify-content:space-between;
    margin-bottom:15px;
  }
  .about-label .section-index {
    max-width:210px;
  }
  .asterisk {
    font-size:48px;
    margin:0;
    line-height:.75;
  }
  .side-note {
    display:none;
  }
  .about-copy h2 {
    font-size:36px;
    line-height:1.15;
  }
  .about-copy>p {
    font-size:13px;
  }
  .expertise {
    grid-template-columns:1fr;
    gap:35px;
  }
  .expertise-intro>p:not(.eyebrow) {
    max-width:450px;
  }
  .expertise-list details {
    padding-block:23px;
  }
  .expertise-list h3 {
    font-size:19px;
  }
  .moments-heading {
    display:block;
  }
  .moments-heading>p {
    margin-top:22px;
    font-size:12px;
  }
  .moments-grid {
    grid-template-columns:1fr;
    gap:33px;
  }
  .moment figcaption {
    padding-top:15px;
  }
  .moment h3 {
    font-size:17px;
  }
  .more-moments {
    grid-template-columns:1fr 1fr;
    gap:25px 18px;
    margin-top:33px;
  }
  .more-moments h3 {
    font-size:13px;
  }
  .more-moments figcaption .eyebrow {
    font-size:8px;
  }
  .gallery-toggle {
    margin-top:34px;
  }
  .contact-inner {
    padding-block:51px 32px;
  }
  .contact .eyebrow {
    font-size:9px;
    margin-bottom:25px;
  }
  .contact h2 {
    font-size:clamp(45px,8.8vw,67px);
  }
  .contact-heading {
    align-items:start;
    gap:10px;
  }
  .contact-arrow {
    width:48px;
    height:48px;
    font-size:32px;
    margin-top:7px;
  }
  .contact-bottom {
    display:block;
    padding-top:23px;
    margin-top:30px;
  }
  .email-link {
    font-size:21px;
  }
  .contact-bottom p {
    font-size:10px;
    margin-top:17px;
  }
  .site-footer {
    padding-block:28px;
    gap:24px;
  }
  .site-footer>div {
    width:100%;
    justify-content:space-between;
    gap:15px;
  }
  .site-footer nav {
    gap:18px;
    font-size:8px;
  }
  .back-top {
    font-size:8px;
  }
  .lightbox {width:calc(100vw - 24px);height:calc(100dvh - 32px);padding:0;max-width:none;}
  .lightbox-caption {font-size:11px;}

}

@media(max-width:380px) {
  .wrap {
    width:calc(100% - 32px);
  }
  .hero h1 {
    font-size:55px;
  }
  .hero .eyebrow {
    font-size:8px;
  }
  .hero-bottom>span {
    max-width:150px;
  }
  .section-heading h2,.expertise h2 {
    font-size:33px;
  }
  .site-footer nav {
    gap:12px;
  }
  .contact h2 {
    font-size:41px;
  }
  .contact-arrow {
    width:40px;
    height:40px;
    font-size:27px;
  }
  .email-link {
    font-size:19px;
  }
  .more-moments {
    grid-template-columns:1fr;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}

/* Business research shares the portfolio's editorial language. */
.research-feature {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:9%;
  padding-bottom:108px;
}
.research-feature h2,
.research-method h2 {
  font-size:clamp(37px,4vw,55px);
  font-weight:450;
  letter-spacing:-.045em;
  line-height:1.1;
}
.research-feature-intro>p:not(.eyebrow) {
  max-width:420px;
  margin-block:24px;
  font-size:14px;
  color:var(--muted);
}
.research-feature-note {
  padding:38px;
  background:#e5e7de;
}
.publication-status {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:9px;
  font-weight:550;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#52614b;
}
.publication-status::before {
  content:'';
  width:6px;
  height:6px;
  background:currentColor;
}
.research-feature-note h3 {
  font-size:33px;
  font-weight:450;
  letter-spacing:-.035em;
  line-height:1.2;
  margin-top:28px;
}
.research-feature-note>p {
  font-size:13px;
  color:var(--muted);
  margin-top:20px;
}
.research-formats {
  display:flex;
  flex-wrap:wrap;
  gap:9px 20px;
  padding-block:20px;
  margin-top:20px;
  border-block:1px solid #c8cfc1;
  font-size:10px;
}
.research-feature-note .release-note {
  font-size:11px;
}
.research-hero {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:10%;
  padding-block:80px 90px;
  align-items:center;
}
.research-hero h1 {
  font-size:clamp(64px,7.4vw,108px);
  font-weight:450;
  letter-spacing:-.06em;
  line-height:.98;
}
.research-hero h1 em {
  color:var(--rust);
}
.research-deck {
  font-size:25px;
  line-height:1.3;
  letter-spacing:-.035em;
  margin-top:30px;
}
.research-description {
  font-size:14px;
  color:var(--muted);
  max-width:440px;
  margin-top:20px;
}
.research-hero-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:22px 30px;
  margin-top:28px;
}
.research-lens {
  background:var(--ink);
  padding:35px;
  color:var(--paper);
}
.research-lens>.eyebrow {
  font-size:9px;
  color:#bdc4b6;
}
.research-lens ol {
  list-style:none;
  padding:0;
  margin-block:30px;
}
.research-lens li {
  display:flex;
  gap:23px;
  border-top:1px solid #50574b;
  padding-block:20px;
}
.research-lens li>span {
  color:#d0ae92;
  font-size:10px;
  padding-top:9px;
}
.research-lens h2 {
  font-family:var(--serif);
  font-size:30px;
  font-weight:400;
  line-height:1.3;
}
.research-lens li p {
  font-size:11px;
  color:#c0c7ba;
  margin-top:5px;
}
.lens-footer {
  border-top:1px solid #50574b;
  padding-top:20px;
  font-size:8px;
  color:#bdc4b6;
  letter-spacing:.04em;
}
.research-method {
  background:#e5e7de;
  padding-block:65px;
}
.research-method-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10%;
}
.research-method p:not(.eyebrow) {
  font-size:14px;
  color:var(--muted);
  margin-bottom:18px;
}
.research-method .method-principle {
  color:var(--ink);
  padding-left:18px;
  border-left:2px solid var(--rust);
  margin-top:25px;
}
.format-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:35px;
}
.format-grid article {
  border-top:1px solid var(--line);
  padding-top:23px;
}
.format-grid .eyebrow {
  color:var(--rust);
}
.format-grid h3 {
  font-size:23px;
  font-weight:450;
  letter-spacing:-.035em;
  margin-block:20px 12px;
}
.format-grid p {
  font-size:13px;
  color:var(--muted);
}
.research-library {
  padding-bottom:100px;
}
.library-empty {
  border-block:1px solid var(--line);
  padding-block:38px;
}
.library-empty h3 {
  font-family:var(--serif);
  font-size:32px;
  font-weight:400;
  letter-spacing:-.025em;
  margin-top:17px;
}
.library-empty p {
  max-width:610px;
  font-size:14px;
  color:var(--muted);
  margin-block:12px 25px;
}
.library-noscript {
  color:var(--muted);
  font-size:13px;
  margin-top:20px;
}
.library-filters {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:30px;
}
.library-filters button {
  background:transparent;
  border:1px solid var(--line);
  font-size:12px;
  padding:9px 16px;
}
.library-filters button[aria-pressed=true] {
  background:var(--ink);
  border-color:var(--ink);
  color:var(--paper);
}
.library-items {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px;
}
.research-entry {
  display:flex;
  flex-direction:column;
  align-items:start;
  padding:28px;
  border:1px solid var(--line);
}
.research-entry h3 {
  font-family:var(--serif);
  font-size:30px;
  font-weight:400;
  line-height:1.2;
  margin-block:20px 15px;
}
.research-entry p {
  color:var(--muted);
  font-size:13px;
  margin-bottom:25px;
}
.research-entry-action {
  margin-top:auto;
  font-size:12px;
  border-bottom:1px solid var(--line);
}
.research-entry:hover {
  border-color:var(--rust);
}
.library-filters[hidden],.library-items[hidden],.library-empty[hidden] {
  display:none;
}
.site-nav [aria-current=page] {
  color:var(--rust);
}
@media(max-width:1100px) {
  .research-hero { gap:6%; }
  .research-lens { padding:25px; }
  .research-feature-note { padding:28px; }
}
@media(max-width:760px) {
  .research-feature { grid-template-columns:1fr; gap:32px; padding-bottom:68px; }
  .research-feature-note { padding:25px; }
  .research-feature-note h3 { font-size:30px; }
  .research-hero { grid-template-columns:1fr; gap:40px; padding-block:43px 60px; }
  .research-hero h1 { font-size:clamp(54px,14vw,82px); }
  .research-hero .section-index { max-width:270px; }
  .research-deck { font-size:23px; }
  .research-lens { padding:26px; }
  .research-method { padding-block:52px; }
  .research-method-grid { grid-template-columns:1fr; gap:28px; }
  .research-method h2 { font-size:35px; }
  .format-grid { grid-template-columns:1fr; gap:28px; }
  .format-grid h3 { margin-top:12px; }
  .research-library { padding-bottom:65px; }
  .library-empty h3 { font-size:28px; }
  .library-items { grid-template-columns:1fr; }
  .research-entry { padding:23px; }
}

/* Profile and venture pages extend the existing layout. */
.breadcrumbs{display:flex;flex-wrap:wrap;gap:13px;padding-top:24px;font-size:10px;color:var(--muted)}
.breadcrumbs a:hover{color:var(--rust)}
.profile-hero,.venture-page-hero{display:grid;grid-template-columns:1.4fr 1fr;gap:9%;align-items:center;padding-block:55px 85px}
.profile-hero h1,.venture-page-hero h1{font-size:clamp(50px,6.3vw,91px);font-weight:450;line-height:1.02;letter-spacing:-.06em;overflow-wrap:anywhere}
.profile-deck{font-size:clamp(23px,2.6vw,34px);line-height:1.3;letter-spacing:-.035em;margin-top:24px}
.profile-hero p:not(.eyebrow):not(.profile-deck),.venture-page-hero p:not(.eyebrow):not(.profile-deck){max-width:600px;font-size:14px;color:var(--muted);margin-top:24px}
.profile-hero .text-link,.venture-page-hero .text-link{margin-top:26px}
.profile-photo{margin-top:0;}
.profile-section{padding-block:55px;border-top:1px solid var(--line)}
.profile-section h2,.profile-connect h2{font-size:clamp(31px,3.2vw,43px);font-weight:450;line-height:1.15;letter-spacing:-.035em}
.profile-columns{display:grid;grid-template-columns:1fr 1.2fr;gap:9%}
.profile-columns p{font-size:14px;color:var(--muted);margin-bottom:18px}
.profile-columns p a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.profile-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:35px}
.profile-link-grid>a{padding-top:20px;border-top:1px solid var(--line)}
.profile-link-grid .eyebrow{color:var(--rust);font-size:8px}
.profile-link-grid h3{font-size:22px;font-weight:450;letter-spacing:-.035em;line-height:1.25;margin-block:16px 13px}
.profile-link-grid p{font-size:13px;color:var(--muted)}
.profile-link-grid a:hover h3{color:var(--rust)}
.profile-answers{display:grid;grid-template-columns:1fr 1fr;gap:30px 50px;margin-top:35px}
.profile-answers h3{font-size:17px;font-weight:550;margin-bottom:11px}
.profile-answers p{font-size:14px;color:var(--muted)}
.profile-connect{border-top:1px solid var(--line);padding-block:60px 75px}
.profile-connect>p{font-size:14px;color:var(--muted);max-width:600px;margin-block:23px}
.profile-channels{display:flex;flex-wrap:wrap;gap:25px;font-size:13px}
.profile-channels a{border-bottom:1px solid var(--line)}
.venture-page-logo{aspect-ratio:1.3;display:grid;place-items:center;padding:35px}
.venture-page-logo img{width:100%;max-width:330px;height:auto}
.bio-link{display:inline-block;margin-top:22px;font-size:12px;text-decoration:underline;text-underline-offset:5px}
html[lang=ml] body{font-family:'Noto Sans Malayalam',var(--sans);line-height:1.9}
html[lang=ml] .profile-section h2,html[lang=ml] .profile-connect h2{font-size:clamp(25px,2.7vw,35px);line-height:1.55;letter-spacing:0}
html[lang=ml] .profile-deck{font-size:23px;line-height:1.7;letter-spacing:0}
html[lang=ml] .eyebrow{letter-spacing:0;line-height:1.8}
html[lang=ml] .profile-link-grid .eyebrow{font-size:10px}
html[lang=ml] .profile-answers h3{line-height:1.7}
@media(max-width:760px){.profile-hero,.venture-page-hero{grid-template-columns:1fr;gap:32px;padding-block:35px 55px}.profile-hero h1,.venture-page-hero h1{font-size:clamp(48px,10vw,73px)}.profile-columns,.profile-link-grid,.profile-answers{grid-template-columns:1fr;gap:25px}.profile-section{padding-block:42px}.venture-page-logo{aspect-ratio:2}.profile-hero .text-link,.venture-page-hero .text-link{font-size:13px;gap:10px}.profile-connect{padding-block:45px 55px}}
.research-entry[hidden]{display:none}
.research-article{max-width:880px;padding-bottom:80px}
.research-article-heading{padding-block:55px 28px}
.research-article-heading h1{font-size:clamp(36px,5vw,65px);font-weight:450;letter-spacing:-.045em;line-height:1.1;margin-top:20px}
.research-article-heading>p:last-child{font-size:12px;color:var(--muted);margin-top:24px}
.research-article-heading a,.research-body-section a{text-decoration:underline;text-underline-offset:4px}
.research-summary{font-size:18px;line-height:1.8;margin-bottom:30px}
.research-body-section{padding-block:30px;border-top:1px solid var(--line)}
.research-body-section h2{font-size:30px;font-weight:450;line-height:1.25;letter-spacing:-.03em;margin-bottom:22px}
.research-body-section p{font-size:16px;line-height:1.9;margin-bottom:20px}
.research-body-section figure{margin-block:25px}
.research-body-section figcaption,.research-body-section .research-source-links{font-size:12px;color:var(--muted)}
.research-video{aspect-ratio:16/9;margin-block:30px}
.research-video iframe{width:100%;height:100%;border:0}

.header-inner.has-language-switch{gap:32px}
.language-switch {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  min-width:32px;
  height:44px;
  font-size:18px;
  font-weight:700;
  line-height:1;
  color:var(--ink);
  transition:color .2s;
}
.language-switch:hover{color:var(--rust)}
@media(max-width:760px) {
  .header-inner.has-language-switch{gap:14px}
  .language-switch{min-width:44px}
}

/* Malayalam keeps the same composition with room for its script. */
html[lang=ml] h1,html[lang=ml] h2,html[lang=ml] h3 { letter-spacing:0; line-height:1.55; }
html[lang=ml] [lang=en],html[lang=ml] #hero-title,html[lang=ml] #profile-title,html[lang=ml] #research-title,html[lang=ml] .wordmark { font-family:var(--sans); line-height:1.05; }
html[lang=ml] .hero-script { font-size:clamp(21px,2.5vw,34px); line-height:1.7; }
html[lang=ml] .section-heading h2,html[lang=ml] .about-copy h2,html[lang=ml] .expertise-intro h2 { font-size:clamp(30px,3.5vw,48px); }
html[lang=ml] .contact-heading h2 { font-size:clamp(38px,6vw,76px); }
html[lang=ml] .text-link { letter-spacing:0; }
html[lang=ml] .site-nav { gap:24px; }
@media(min-width:761px) and (max-width:1200px) { .header-note {display:none;} .header-inner.has-language-switch {gap:24px;} }
@media(max-width:760px) { .menu-toggle {font-size:14px;} html[lang=ml] .site-nav {gap:5px;} }

.site-nav>a[aria-current=page] { color:var(--rust); }
.site-nav>a[aria-current=page]::after { transform:scaleX(1); }
@media(max-width:760px) {
  .site-nav>a[aria-current=page] { background:#a4483008; }
}

.research-feature-note>.text-link { margin-top:20px; max-width:100%; gap:10px; }
.research-feature-note>.text-link span { flex-shrink:0; }

@media(max-width:760px) {
  .header-inner.has-language-switch {gap:8px;}
  .menu-toggle {width:44px;height:44px;padding:0;gap:0;justify-content:center;}
  .menu-toggle svg {transition:transform .2s;}
  .menu-toggle[aria-expanded=true] svg {transform:rotate(90deg);}
  .language-switch {font-size:18px;min-width:44px;}
}

/* The report library shares the portfolio's typography and quiet grid. */
.pdf-page {padding-block:26px 90px;min-height:70vh;}
.pdf-heading {padding-block:45px 30px;max-width:900px;}
.pdf-heading h1 {font-size:clamp(38px,5.5vw,72px);font-weight:450;line-height:1.15;letter-spacing:-.045em;overflow-wrap:anywhere;margin-block:20px;}
.pdf-heading h1 em {font-family:var(--serif);font-weight:400;}
.pdf-heading>p:not(.eyebrow) {max-width:650px;color:var(--muted);}
.pdf-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:36px;}
.pdf-card {border:1px solid var(--line);background:#fbfaf6;padding:28px;min-width:0;}
.research-library .section-heading {margin-bottom:24px;}
.research-library .section-heading h2 {font-size:clamp(27px,2.8vw,38px);}
.research-library .pdf-library-actions {margin-top:0;}
.research-library .pdf-grid {margin-top:24px;}
.pdf-type {display:inline-flex;align-items:center;align-self:flex-start;gap:8px;padding:7px 10px;background:#a4483010;color:var(--rust);line-height:1.4;}
.pdf-type svg {flex-shrink:0;}
.pdf-card h2 a:hover {color:var(--rust);}
.pdf-card h2 {font-size:26px;font-weight:500;line-height:1.4;margin-block:16px;overflow-wrap:anywhere;}
.pdf-filename {overflow-wrap:anywhere;font-size:13px;color:var(--muted);}
.pdf-actions {display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:24px;font-size:13px;}
.pdf-download {background:var(--ink);color:var(--paper);padding:12px 20px;}
.pdf-empty {padding:40px 0;border-top:1px solid var(--line);margin-top:35px;}
.pdf-empty h2 {font-size:26px;font-weight:450;margin-bottom:12px;}
.pdf-empty p {color:var(--muted);max-width:620px;margin-bottom:20px;}
.share-control {display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-block:22px;}
.share-control button {display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid var(--line);background:transparent;font-size:13px;line-height:1.4;transition:border-color .2s,color .2s;}
.share-control button:hover {border-color:var(--ink);color:var(--rust);}
.share-control button:focus-visible {outline:2px solid var(--rust);outline-offset:4px;}
.share-control button svg {flex-shrink:0;}
.share-status {font-size:12px;color:var(--muted);}
.pdf-collection-link {font-size:13px;color:var(--muted);margin-top:15px;}
.pdf-groups {display:flex;flex-wrap:wrap;gap:20px;margin-top:35px;font-size:14px;}
@media(max-width:760px) {.pdf-card{padding:20px;}.pdf-card h2{font-size:23px;}.pdf-grid{grid-template-columns:1fr;gap:12px;}.pdf-heading{padding-top:28px;}}

.language-switch [lang=ml] { font-family:'Noto Sans Malayalam',var(--sans);font-size:21px;line-height:1; }
.language-switch [lang=en] { font-family:var(--sans);font-size:18px;line-height:1; }

.moment-secondary .photo-button img {object-position:center top;}

/* Shared action buttons follow the Decoding Businesses button style. */
.pdf-actions,.research-hero-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
  max-width:520px;
  width:100%;
  margin-top:24px;
}
.pdf-detail-actions {grid-template-columns:repeat(3,minmax(0,1fr));max-width:650px;}
:is(.text-link,.bio-link,.profile-channels a,.email-link,.share-control>button,.pdf-actions>a,.library-filters button) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  height:auto;
  max-width:100%;
  padding:12px 16px;
  border:1px solid var(--action-border,var(--line));
  border-radius:0;
  background:transparent;
  color:var(--action-color,var(--ink));
  font-size:14px;
  font-weight:500;
  line-height:1.45;
  letter-spacing:0;
  text-align:center;
  text-decoration:none;
  transform:none;
  cursor:pointer;
  overflow-wrap:anywhere;
  transition:border-color .2s,color .2s;
}
:is(.text-link,.bio-link,.profile-channels a,.email-link,.share-control>button,.pdf-actions>a,.library-filters button):hover {gap:10px;border-color:var(--action-hover-border,var(--ink));background:var(--action-hover-background,transparent);color:var(--action-hover-color,var(--rust));transform:none;}

.contact {
  --action-border:#cc8c75;
  --action-color:var(--paper);
  --action-hover-border:var(--paper);
  --action-hover-background:var(--paper);
  --action-hover-color:var(--rust);
}

/* Text buttons need an inverse palette on the dark biography section. */
.about-section {
  --action-color:var(--paper);
  --action-border:#73766b;
  --action-hover-border:var(--paper);
  --action-hover-color:var(--paper);
  --action-hover-background:#ffffff0d;
}

:is(.text-link,.bio-link,.profile-channels a,.email-link,.share-control>button,.pdf-actions>a,.library-filters button):focus-visible {
  outline:2px solid var(--action-color,var(--rust));
  outline-offset:4px;
}


:is(.text-link,.bio-link,.profile-channels a,.email-link,.share-control>button) {
  width:fit-content;
}

.pdf-actions>a,.pdf-actions .share-control>button,.research-hero-actions>.text-link {
  width:100%;
  height:100%;
  margin:0;
}

.text-link span {
  font-size:18px;
  flex-shrink:0;
}

.profile-channels {gap:12px;}

.pdf-actions .text-link span,.research-hero-actions .text-link span {font-size:18px;flex-shrink:0;}
.pdf-actions .share-control {display:flex;align-items:stretch;position:relative;margin:0;min-width:0;}
.pdf-actions .share-status {position:absolute;top:calc(100% + 8px);left:0;z-index:1;}
.research-hero-actions>.publication-status {grid-column:1/-1;}
.share-control>button {min-height:48px;padding:12px 16px;font-size:14px;}
.pdf-file-heading h1 {font-size:clamp(28px,3.8vw,48px);line-height:1.25;letter-spacing:-.025em;}
.pdf-file-meta {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;padding-block:20px;margin-block:26px;border-block:1px solid var(--line);}
.pdf-file-meta>div {min-width:0;}
.pdf-file-meta dt {font-size:11px;color:var(--muted);margin-bottom:8px;}
.pdf-file-meta dd {margin:0;font-size:14px;line-height:1.7;text-align:left;}
.pdf-file-meta .pdf-filename {max-width:100%;overflow-wrap:anywhere;word-break:normal;}
.pdf-file-size {white-space:nowrap;font-variant-numeric:tabular-nums;}
@media(max-width:760px) {
  :is(.text-link,.bio-link,.profile-channels a,.email-link,.share-control>button,.pdf-actions>a,.library-filters button) {padding:12px 10px;font-size:13px;}
  .pdf-file-meta {grid-template-columns:1fr;gap:18px;}
  .pdf-file-meta>div:last-child {display:flex;align-items:baseline;gap:14px;}
  .pdf-file-meta>div:last-child dt {margin:0;}
}

.is-machine-filename h1 {word-break:break-all;font-size:clamp(26px,3.2vw,42px);}
.pdf-file-meta .pdf-filename {word-break:break-all;}
@media(max-width:480px) {
  .pdf-detail-actions,.research-hero-actions {grid-template-columns:1fr;}
  .pdf-detail-actions .share-control {flex-direction:column;}
  .pdf-detail-actions .share-status {position:static;margin-top:8px;}
  .share-status:empty {display:none;}
}

/* PDF pages belong to the document flow; the browser owns all scrolling. */
.pdf-document {margin:36px auto 0;max-width:980px;}
.pdf-document-status {font-size:12px;color:var(--muted);margin-bottom:16px;}
.pdf-document-pages {display:grid;gap:20px;min-width:0;}
.pdf-document-page {
  --scale-round-x:1px;
  --scale-round-y:1px;
  position:relative;
  width:100%;
  min-width:0;
  overflow:clip;
  background:#fff;
  direction:ltr;
}
.pdf-document-page canvas {display:block;width:100%;height:auto;}
.pdf-document-page .textLayer {z-index:1;}
.pdf-document-link {position:absolute;z-index:2;}
.pdf-document-link:hover {background:#a4483014;}
.pdf-document-link:focus-visible {outline:2px solid var(--rust);outline-offset:0;}
.pdf-document-page:not(.is-rendered)::before {content:'';position:absolute;inset:0;background:#ffffff80;}
.pdf-password-form {display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:24px;}
.pdf-password-form[hidden] {display:none;}
.pdf-password-form label {display:grid;gap:8px;font-size:13px;}
.pdf-password-form input {font:inherit;padding:12px;border:1px solid var(--line);background:var(--paper);min-height:48px;max-width:100%;}
@media(max-width:760px) {.pdf-document-pages {gap:12px;}}
@media print {
  .pdf-document-status,.pdf-password-form {display:none;}
  .pdf-document {max-width:none;margin:0;}
  .pdf-document-page {break-inside:avoid;}
}

/* About reuses the homepage's portrait, section rhythm, ventures and contact. */
.about-page .profile-hero h1 {font-size:clamp(62px,7.4vw,106px);letter-spacing:-.075em;line-height:.99;}
.about-page .profile-deck {font-family:var(--serif);font-style:italic;font-size:clamp(28px,3.1vw,43px);letter-spacing:-.025em;color:var(--rust);margin-top:20px;}
.about-page .profile-section {padding-block:108px;border-top:0;}
.about-page .profile-section h2,.profile-biography h2 {font-size:clamp(34px,3.8vw,52px);line-height:1.12;letter-spacing:-.045em;font-weight:450;}
.profile-biography {padding-block:0;--muted:#c0c2b7;}
.profile-biography h2 em {color:#d0ae92;}
.profile-biography .profile-columns p {line-height:1.9;}
.profile-biography .profile-columns p a {color:var(--paper);}
.profile-biography .profile-columns p:last-child {margin-bottom:0;}
.profile-ventures {margin-top:52px;}
.research-emblem {background:#e5e7de;color:#53634e;font-family:var(--serif);font-size:68px;font-style:italic;}
.profile-questions-layout {display:grid;grid-template-columns:1fr 1.2fr;gap:9%;align-items:start;}
.about-page .contact-bottom p {max-width:370px;}
html[lang=ml] .about-page .profile-section h2,html[lang=ml] .profile-biography h2 {font-size:clamp(30px,3.5vw,48px);line-height:1.55;letter-spacing:0;}
html[lang=ml] .about-page .profile-deck {font-family:var(--sans);font-size:clamp(21px,2.5vw,34px);line-height:1.7;letter-spacing:0;}
@media(max-width:760px) {
  .about-page .profile-hero h1 {font-size:clamp(58px,11.8vw,88px);letter-spacing:-.065em;}
  .about-page .profile-section,.profile-biography>.section {padding-block:68px;}
  .about-page .profile-deck {font-size:33px;}
  .profile-questions-layout {grid-template-columns:1fr;gap:30px;}
  .profile-ventures {margin-top:32px;}
}

/* The resource library is a compact horizontal editorial list, with real document covers. */
.pdf-grid {grid-template-columns:minmax(0,1fr);gap:10px;}
.pdf-card {
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:20px;
  align-items:center;
  padding:12px 18px;
  border:0;
  background:#fbfaf6;
  border-radius:2px;
}
.pdf-card-cover {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  width:84px;
  height:94px;
  min-height:94px;
  max-height:94px;
  align-self:center;
  padding:6px;
  background:#e5e7de;
  overflow:hidden;
  border-radius:2px;
}
.pdf-card-cover canvas {display:block;max-width:100%;max-height:82px;width:auto;height:auto;box-shadow:0 2px 8px #26282416;}
.pdf-cover-fallback {display:grid;justify-items:center;gap:4px;color:#6b7564;font-size:9px;letter-spacing:.1em;}
.pdf-cover-fallback svg {width:24px;height:24px;}
.pdf-card-body {min-width:0;padding-block:0;display:flex;flex-direction:column;justify-content:center;}
.pdf-resource-meta {display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;font-size:11px;color:var(--muted);line-height:1.4;}
.pdf-resource-type {color:var(--rust);font-weight:600;letter-spacing:.1em;}
.pdf-resource-meta span:empty {display:none;}
.pdf-resource-meta span+span:not(:empty)::before {content:'·';margin-right:10px;color:var(--line);}
.pdf-card h2,.pdf-card h3 {max-width:720px;font-size:clamp(17px,1.6vw,20px);font-weight:500;line-height:1.25;letter-spacing:-.02em;margin:3px 0 8px;overflow-wrap:anywhere;}
.pdf-card h2 a:hover,.pdf-card h3 a:hover {color:var(--rust);}
.pdf-card .pdf-resource-actions {display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;max-width:none;width:auto;}
.pdf-resource-actions>a {
  width:auto;
  min-width:0;
  min-height:30px;
  padding:4px 12px;
  font-size:12px;
  gap:6px;
}
.pdf-resource-actions>a span {font-size:13px;}
.research-library .section-heading {margin-bottom:8px;}
.research-library .section-heading h2 {font-size:clamp(28px,3.2vw,42px);line-height:1.15;margin-bottom:0;}
.research-library .section-index {margin-bottom:14px;}
.pdf-library-toolbar {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:20px;}
.pdf-library-toolbar>p {font-size:14px;line-height:1.5;color:var(--muted);max-width:540px;margin:0;}
.pdf-library-actions {display:flex;align-items:center;gap:10px;margin:0;flex-shrink:0;}
.pdf-library-actions>a,.pdf-library-actions .share-control>button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:36px;
  height:36px;
  padding:0 15px;
  font-size:13px;
  font-weight:500;
  line-height:1;
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  border-radius:0;
  box-sizing:border-box;
  transition:border-color .2s,color .2s;
  width:auto;
  min-width:0;
}
.pdf-library-actions>a:hover,.pdf-library-actions .share-control>button:hover {border-color:var(--ink);color:var(--rust);}
.pdf-library-actions .share-control {display:inline-flex;align-items:center;position:relative;margin:0;height:36px;}
.pdf-library-actions .share-control>button svg {width:15px;height:15px;flex-shrink:0;}
.pdf-library-actions .text-link span {font-size:14px;line-height:1;}
.research-library .pdf-grid {margin-top:0;}
@media(min-width:761px) {
  .research-library {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "heading actions"
      "desc actions"
      "grid grid";
    column-gap:32px;
    align-items:end;
  }
  .research-library .section-heading {grid-area:heading;margin-bottom:6px;}
  .research-library .pdf-library-toolbar {display:contents;}
  .research-library .pdf-library-toolbar>p {grid-area:desc;margin:0 0 20px 0;font-size:14px;line-height:1.5;color:var(--muted);max-width:560px;}
  .research-library .pdf-library-actions {grid-area:actions;margin-bottom:20px;align-self:end;}
  .research-library .pdf-grid {grid-area:grid;}
}
@media(max-width:760px) {
  .research-library .section-heading {margin-bottom:6px;}
  .pdf-library-toolbar {display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:18px;}
  .pdf-library-toolbar>p {font-size:13px;line-height:1.5;color:var(--muted);margin:0;}
  .pdf-library-actions {display:flex;flex-wrap:wrap;gap:8px;width:100%;}
  .pdf-library-actions>a,.pdf-library-actions .share-control>button {min-height:34px;height:34px;padding:0 12px;font-size:12px;}
  .pdf-card {grid-template-columns:72px minmax(0,1fr);grid-template-areas:'cover meta' 'cover title' 'actions actions';gap:10px 14px;padding:12px;align-items:start;}
  .pdf-card-cover {grid-area:cover;width:72px;height:84px;min-height:84px;max-height:84px;padding:4px;}
  .pdf-card-cover canvas {max-height:74px;}
  .pdf-card-body {display:contents;}
  .pdf-resource-meta {grid-area:meta;font-size:10px;gap:4px 8px;}
  .pdf-resource-meta span+span:not(:empty)::before {margin-right:8px;}
  .pdf-card h2,.pdf-card h3 {grid-area:title;font-size:16px;margin:0;align-self:start;}
  .pdf-card .pdf-resource-actions {grid-area:actions;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-top:6px;gap:6px;}
  .pdf-resource-actions>a {width:100%;min-width:0;min-height:30px;padding:4px 8px;font-size:12px;}
}
@media(max-width:380px) {
  .pdf-card {grid-template-columns:64px minmax(0,1fr);gap:10px;padding:10px;}
  .pdf-card-cover {width:64px;height:76px;min-height:76px;max-height:76px;padding:4px;}
  .pdf-card-cover canvas {max-height:68px;}
  .pdf-card h2,.pdf-card h3 {font-size:15px;}
  .pdf-card .pdf-resource-actions {grid-template-columns:1fr;}
}

/* Biography actions share equal columns and align as a single group. */
.about-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  max-width:650px;
  margin-top:28px;
}
.about-actions :is(.text-link,.bio-link) {
  width:100%;
  height:100%;
  margin:0;
}
@media(max-width:760px) {
  .about-actions {grid-template-columns:1fr;}
}

/* Library titles and sharing fit into one compact row. */
.pdf-page:not(.pdf-detail-page) {padding-top:0;}
.pdf-page:not(.pdf-detail-page) .breadcrumbs {padding-top:14px;}
.pdf-page .pdf-library-heading {max-width:none;padding-block:10px 12px;border-bottom:1px solid var(--line);}
.pdf-page .pdf-library-heading h1 {font-size:clamp(24px,2.6vw,32px);line-height:1.25;margin:0;min-width:0;}
.pdf-library-heading+.pdf-grid {margin-top:16px;}
.pdf-library-heading+.pdf-groups {margin-top:12px;}
.pdf-library-heading+.pdf-groups+.pdf-grid {margin-top:16px;}

/* Compact document headers leave the first PDF page visible sooner. */
.pdf-detail-page {max-width:980px;padding-top:0;}
.pdf-detail-page .breadcrumbs {padding-top:18px;}
.pdf-detail-page .pdf-file-heading {max-width:none;padding-block:10px 12px;border-bottom:1px solid var(--line);}
.pdf-title-row {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.pdf-detail-page .pdf-file-heading h1 {min-width:0;font-size:clamp(21px,2.4vw,28px);line-height:1.25;margin:0;}
.pdf-title-row .share-icon-control {position:relative;flex:0 0 auto;margin:0;}
.share-icon-control>button {width:44px;min-height:44px;padding:10px;}
.share-icon-control .share-status {position:absolute;right:0;top:calc(100% + 6px);width:max-content;max-width:220px;z-index:3;background:var(--paper);}
.pdf-file-summary {display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;font-size:12px;line-height:1.5;color:var(--muted);margin-top:4px;}
.pdf-file-summary>*+*::before {content:'·';margin-right:10px;color:var(--line);}
.pdf-file-summary a:hover {color:var(--rust);}
.pdf-detail-page .pdf-document {margin-top:12px;}
.pdf-detail-page .pdf-document-status {margin-bottom:8px;}
.pdf-resource-actions {grid-template-columns:1fr;}
@media(max-width:760px) {
  .pdf-detail-page .breadcrumbs {padding-top:12px;font-size:11px;gap:8px;}
  .pdf-title-row {gap:10px;}
  .pdf-detail-page .pdf-file-heading h1 {font-size:21px;}
}

/* Compact Instagram tiles, with a permanent route to each account's latest Reels. */
.instagram-section .section-heading {margin-bottom:28px;}
.instagram-section .section-heading h2 {font-size:clamp(30px,3.3vw,46px);}
.instagram-account {padding-block:24px;border-top:1px solid var(--line);}
.instagram-account-heading {display:flex;align-items:baseline;justify-content:space-between;gap:16px;}
.instagram-account-heading h3 {font-size:clamp(20px,2vw,26px);font-weight:500;margin:0;}
.instagram-profile-link,.instagram-post-link {color:var(--rust);font-size:14px;}
.instagram-profile-link:hover,.instagram-post-link:hover {text-decoration:underline;}
.instagram-grid {display:flex;gap:18px;margin-top:20px;align-items:stretch;overflow-x:auto;padding:0 0 12px;scroll-snap-type:x proximity;scrollbar-width:none;}
.instagram-grid::-webkit-scrollbar {display:none;}
.instagram-card,.instagram-latest {flex:0 0 246px;min-width:0;scroll-snap-align:start;border-radius:14px;overflow:hidden;border:1px solid var(--line);}
.instagram-card {position:relative;background:#fff;height:438px;align-self:flex-start;}
.instagram-embed-frame {position:absolute;top:0;left:0;width:326px;transform:scale(.748466);transform-origin:top left;}
.instagram-card blockquote {margin:0;padding:20px;min-height:560px;}
/* Scale the complete official player, retaining all Instagram controls. */
.instagram-card .instagram-media {width:326px !important;min-width:326px !important;max-width:326px !important;margin:0 !important;box-sizing:border-box;}
.instagram-card iframe {display:block;}
.youtube-card {height:202px;background:#000;}
.youtube-card.youtube-short {height:436px;}
.youtube-card>iframe {width:100%;height:100%;border:0;}
.youtube-controls {position:absolute;bottom:8px;left:8px;right:8px;height:44px;display:flex;align-items:center;justify-content:space-between;color:var(--paper);pointer-events:none;}
.youtube-controls[hidden] {display:none;}
.youtube-controls button {display:grid;place-items:center;width:44px;height:44px;min-width:0;padding:0;border:1px solid rgb(255 255 255 / .15);border-radius:50%;background:rgb(0 0 0 / .5);color:inherit;cursor:pointer;pointer-events:auto;}
.youtube-controls button:hover {background:rgb(0 0 0 / .75);}
.youtube-controls button:focus-visible {outline:2px solid var(--paper);outline-offset:-4px;}
.instagram-latest {position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:438px;padding:24px;background:var(--ink);color:var(--paper);text-align:center;}
.instagram-latest::before {content:'';position:absolute;inset:0;z-index:-1;background:url('/img/ahmad-yaseen-kotta.webp') center top / cover no-repeat;opacity:.1;filter:grayscale(1);transition:opacity .2s;}
.instagram-latest::after {content:'';position:absolute;inset:14px;border:1px solid rgb(243 240 233 / .12);border-radius:8px;pointer-events:none;background:linear-gradient(135deg,transparent 65%,rgb(243 240 233 / .035));}
.instagram-latest-title {font-size:24px;line-height:1.3;max-width:180px;}
.instagram-latest-kicker {position:absolute;top:34px;left:30px;display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:rgb(243 240 233 / .65);}
.instagram-latest-kicker::before {content:'';width:6px;height:6px;background:#c47b60;}
.instagram-latest-play {display:grid;place-items:center;width:68px;height:68px;border:1px solid rgb(243 240 233 / .35);border-radius:50%;background:rgb(243 240 233 / .04);box-shadow:0 0 0 10px rgb(243 240 233 / .025);}
.instagram-latest-handle {position:absolute;left:30px;bottom:32px;font-size:10px;color:rgb(243 240 233 / .55);}
.instagram-latest-arrow {position:absolute;right:30px;bottom:26px;font-size:24px;}
.instagram-latest:hover::before {opacity:.14;}
.instagram-latest:focus-visible {outline:2px solid var(--rust);outline-offset:3px;}
@media(max-width:760px) {
  .instagram-account-heading {align-items:start;flex-direction:column;gap:8px;}
}

/* Keep the gallery expansion action visible and centered. */
.moments-section .gallery-toggle {display:flex;width:fit-content;max-width:100%;margin:36px auto 0;background:var(--rust);color:var(--paper);border-color:var(--rust);padding:15px 24px;}
.moments-section .gallery-toggle:hover {background:#8d3b28;border-color:#8d3b28;color:var(--paper);}
