/*
 * Sadikur Portfolio — Founder layout
 * Standalone stylesheet: loading this file prevents an older cached theme
 * from accidentally displaying the unstyled, full-size portrait.
 */

/* Full profile: editorial portrait left, readable introduction right. */
.founder-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 50px);
  margin: 0;
  padding: clamp(135px, 12vw, 190px) var(--gutter) 115px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 3% 46%, rgba(55, 63, 64, .18), transparent 54%),
    radial-gradient(ellipse at 96% 10%, rgba(57, 57, 55, .1), transparent 43%),
    #080909;
}
.founder-page::before {
  content: '';
  position: absolute;
  top: 110px;
  left: 50%;
  height: 1px;
  width: min(1160px, calc(100% - 2 * var(--gutter)));
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #ffffff24 35%, #ffffff17 70%, transparent);
  pointer-events: none;
}
.founder-page-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  column-gap: clamp(55px, 8vw, 135px);
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}
.founder-page-photo {
  position: relative;
  top: auto;
  width: 100%;
  max-width: 470px;
  min-width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 3px;
  aspect-ratio: 4 / 5;
  background: #181b1b;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .45);
}
.founder-page-photo::after {
  content: '';
  position: absolute;
  inset: 62% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
  pointer-events: none;
}
.founder-page-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(.9) contrast(1.02);
  border: 0;
  border-radius: 0;
}
.founder-page-photo .eyebrow {
  position: absolute;
  bottom: 23px;
  left: 26px;
  z-index: 2;
  margin: 0;
  color: #f2f1ec;
  font-size: 10px;
  letter-spacing: .16em;
  text-shadow: 0 1px 8px #000;
}
.founder-page-copy {
  min-width: 0;
  max-width: 570px;
  padding: 15px 0;
}
.founder-page-copy .back-link {
  display: inline-block;
  margin-bottom: clamp(44px, 5vw, 76px);
  color: #b4b4b0;
  font-size: 11px;
  letter-spacing: .025em;
  transition: color .2s;
}
.founder-page-copy .back-link:hover { color: #fff; }
.founder-page-copy .founder-kicker {
  display: block;
  margin: 0 0 17px;
  color: #aaa9a4;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.founder-page-copy h1 {
  margin: 0 0 17px;
  font-family: Instrument, Georgia, serif;
  font-weight: 400;
  font-size: clamp(72px, 7.9vw, 123px);
  line-height: .92;
  letter-spacing: -.055em;
  color: #f3f1ed;
  overflow-wrap: anywhere;
}
.founder-page-copy h1 em {
  color: #b8b6ae;
  font-style: italic;
}
.founder-page-copy .founder-job {
  margin: 0 0 31px;
  padding-bottom: 27px;
  border-bottom: 1px solid #ffffff28;
  color: #d7d5ce;
  font-size: 12px;
  letter-spacing: .015em;
}
.founder-page-copy .founder-biography {
  max-width: 520px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.9;
  color: #bdbdb7;
}
.founder-page-copy .founder-biography p {
  margin: 0 0 19px;
  white-space: normal;
}
.founder-page-copy .founder-biography :is(h2, h3, h4) {
  margin: 26px 0 12px;
}
.founder-page-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 35px;
}
.founder-page-actions .button { white-space: nowrap; }
.founder-page-actions .founder-project-link {
  display: inline-block;
  border-bottom: 1px solid #ffffff58;
  padding-bottom: 7px;
  font-size: 12px;
  color: #eae8e1;
  transition: border-color .2s;
}
.founder-page-actions .founder-project-link:hover { border-color: #fff; }

/* Founder teaser on the homepage: consistent sizing and clear two-column grid. */
.founder-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .90fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(45px, 7vw, 110px);
  padding-top: 105px;
  padding-bottom: 110px;
  background: linear-gradient(120deg, #0b0c0c, #121313 58%, #090a0a);
}
.founder-feature-photo {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 445px;
  min-height: 0;
  aspect-ratio: 4 / 4.85;
  overflow: hidden;
  border: 1px solid #ffffff22;
  border-radius: 3px;
  background: #171919;
}
.founder-feature-photo img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.founder-feature-copy { min-width: 0; max-width: 620px; }
.founder-feature-copy h2 {
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.founder-feature-copy > p:not(.founder-role) {
  max-width: 480px;
  line-height: 1.85;
}

/* The procedural animation is for the homepage; the profile needs a quiet backdrop. */
body:has(.founder-page) .scene { opacity: .08; }
body:has(.founder-page) .motion-toggle { display: none; }

@media (max-width: 850px) {
  .founder-page { padding-top: 133px; padding-bottom: 85px; }
  .founder-page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    max-width: 650px;
  }
  .founder-page-photo { max-width: 480px; aspect-ratio: 4 / 4.8; }
  .founder-page-copy { max-width: 620px; padding: 0; }
  .founder-page-copy .back-link { margin-bottom: 34px; }
  .founder-page-copy h1 { font-size: clamp(74px, 13vw, 112px); }
  .founder-feature { gap: 42px; }
}
@media (max-width: 620px) {
  .founder-page { padding: 110px 24px 78px; }
  .founder-page::before { top: 88px; width: calc(100% - 48px); }
  .founder-page-layout { gap: 29px; }
  .founder-page-photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 4.7;
  }
  .founder-page-photo .eyebrow { left: 18px; bottom: 17px; font-size: 9px; }
  .founder-page-copy h1 { font-size: clamp(66px, 16.5vw, 89px); }
  .founder-page-copy .founder-kicker { margin-bottom: 14px; }
  .founder-page-copy .founder-job { margin-bottom: 21px; padding-bottom: 22px; }
  .founder-page-copy .founder-biography { font-size: 14px; line-height: 1.8; }
  .founder-page-actions { gap: 22px; }
  .founder-feature {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 75px;
    padding-bottom: 82px;
  }
  .founder-feature-photo { width: 100%; max-width: 470px; aspect-ratio: 4 / 4.6; }
  .founder-feature-copy h2 { font-size: clamp(50px, 13vw, 76px); }
}
