/* =========================================================
   Portfolio – Landing page
   Design base: 1920px wide Figma frame, content width 1520px
   ========================================================= */

:root {
  --green: #39eea0;
  --ink: #000;
  --text: #373737;
  --muted: #888;
  --line: #d4d4d4;
  --container: 1520px;
  --gutter: clamp(20px, 4vw, 40px);

  --f-body: "Lexend", system-ui, sans-serif;
  --f-text: "Afacad", system-ui, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- shared bits ---------- */

/* three overlapping green dots (30px circles offset by 8px) */
.bullet {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  margin-right: 16px;          /* reserves room for the two offset dots */
  border-radius: 50%;
  background: var(--green);
}
.bullet::before,
.bullet::after {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
}
.bullet::before { left: 8px;  opacity: .5; }
.bullet::after  { left: 16px; opacity: .4; }

.section-label {
  display: flex;
  align-items: center;
  gap: 13px;
}
.section-label h2 {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(12px, 1.2vw + 2px, 18px);
  line-height: 1.6;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  font-size: 12px;
  line-height: 46.8px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: #000;
}
.link-arrow img { width: 81px; height: auto; flex: none; }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  color: #fff;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.chip--black { background: #000; font-size: clamp(16px, 1.1vw, 21px); padding: 14px 28px; }
.chip--solid { height: 50px; padding: 10px 20px; font-size: clamp(16px, 1.1vw, 21px); }

/* ---------- header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: clamp(16px, 2.2vw, 42px) var(--gutter) 0;
}
.site-header__inner {
  max-width: 1525px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 60px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 23px;
  text-transform: lowercase;
  color: #404a69;
  background: linear-gradient(-59.5deg, rgba(255,255,255,.04), rgba(255,255,255,.08));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 4px -2px rgba(0,0,0,.1), 0 4px 6px -1px rgba(0,0,0,.1), inset 0 0 8px rgba(255,255,255,.25);
}
.menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 65px);
  height: 50px;
  padding: 10px clamp(24px, 2.6vw, 50px);
  border-radius: 60px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #383838;
  white-space: nowrap;
}
.menu a { transition: opacity .2s; }
.menu a:hover { opacity: .6; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 49.8vw, 956px);
  padding: 140px 0 clamp(40px, 7.6vw, 146px);
  overflow: hidden;
  background: #eef0f2;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__content {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 6.5vw, 125px);
}
.hero__title {
  flex: 0 1 809px;
  font-family: var(--f-serif);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: .95;
}
.hero__title > span { display: block; }
.hero__title-top { font-size: clamp(44px, 6.8vw, 130px); }
.hero__title-bottom {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 8.85vw, 170px);
}
.hero__lead {
  flex: 0 1 576px;
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 2;
  padding-bottom: .4em;
}
.hero__sparkle {
  position: absolute;
  right: clamp(8px, 3vw, 60px);
  bottom: clamp(-60px, -2vw, -10px);
  width: clamp(120px, 12.6vw, 242px);
  height: auto;
  opacity: .9;
  pointer-events: none;
}

/* ---------- intro ---------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 359px 336px;
  column-gap: 50px;
  padding-block: clamp(48px, 6.25vw, 120px) 0;
}
.intro__col--main {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding-right: 32px;
  border-right: 1px solid var(--line);
}
.intro__hello {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 3px;
}
.intro__name {
  font-weight: 400;
  font-size: clamp(30px, 2.35vw, 45px);
  line-height: 1.4;
  letter-spacing: -.02em;
}
.intro__hello-word {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
}
.intro__comma {
  font-family: var(--f-serif);
  font-weight: 300;
}
.avatar {
  position: relative;
  flex: none;
  width: 122px; height: 122px;
  overflow: hidden;
  -webkit-mask: url("assets/avatar-mask.svg") center / 100% 100% no-repeat;
          mask: url("assets/avatar-mask.svg") center / 100% 100% no-repeat;
}
.avatar img {
  position: absolute;
  left: -37px; top: -35px;
  width: 178px; height: 238px;
  max-width: none;
  object-fit: cover;
}
.intro__text {
  max-width: 693px;
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.84;
  color: var(--text);
}

.intro__col--stats {
  height: 420px;
  padding-inline: 30px;
  border-right: 1px solid var(--line);
}
.stat { padding-bottom: 32px; }
.stat:not(.stat--last) { border-bottom: 1px solid var(--line); }
.stat--last { padding-top: 0; }
.stat__value {
  line-height: 133px;
  height: 111px;
}
.stat__value--lg { font-size: 90px; letter-spacing: -.04em; }
.stat__value--md { font-size: 70px; letter-spacing: -.04em; }
.stat__label { font-size: 22px; line-height: 46.8px; }

.ai-block {
  height: 190px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.ai-block__title {
  height: 90px;
  font-size: clamp(24px, 1.56vw, 30px);
  letter-spacing: -.04em;
  line-height: 1.2;
  display: flex;
  align-items: center;
}
.ai-block__title strong { font-weight: 500; margin-left: .3em; }
.domain-block { padding-top: 24px; }
.domain-block__title { font-size: 22px; line-height: 46.8px; margin-bottom: 19px; }
.domain-block__chips { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- skills ---------- */

.skills { padding-top: clamp(56px, 6.25vw, 120px); }
.pill-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  overflow: hidden;            /* rows are clipped at the edge, like the Figma frame */
}
.pill-row {
  display: flex;
  flex-wrap: nowrap;           /* exactly two lines, no wrapping */
  gap: 26px;
  width: max-content;          /* ready for a marquee animation later */
  min-width: 100%;
}
.pill {
  flex: none;
  padding: 8px 28px;
  border: 1px solid rgba(0,0,0,.8);
  border-radius: 60px;
  font-weight: 400;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 46.8px;
  white-space: nowrap;
}

/* ---------- works ---------- */

.works { padding-top: clamp(56px, 7.5vw, 143px); padding-bottom: clamp(64px, 8.3vw, 160px); }
.works__stack { display: flex; flex-direction: column; gap: 40px; margin-top: 32px; }
.works__row {
  display: grid;
  grid-template-columns: 745fr 748fr;
  gap: 27px;
}
.works__side { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }

.case {
  position: relative;
  container-type: inline-size;
  display: flex;
  overflow: hidden;
  --pp: clamp(24px, 9.7cqw, 72px);   /* panel padding */
}
.case--wide { aspect-ratio: 1520 / 835; align-items: center; padding: 9.9% 10.9% 13% 8.2%; --pp: clamp(24px, 4.7cqw, 72px); }
.case--intertek { aspect-ratio: 745 / 835; padding: 20.1% 22.1% 26.6% 16.6%; }
.case--rockwell { aspect-ratio: 748 / 713; padding: 20.1% 22.1% 10.2% 16.6%; width: 100%; }

.case--wide, .case--intertek, .case--rockwell { align-items: flex-start; }
.case--wide { align-items: center; }

.case__bg { position: absolute; inset: 0; pointer-events: none; }
.case__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }

.case__panel {
  /* one compact, near-square description card for every case */
  position: relative;
  width: min(100%, clamp(300px, 24vw, 360px));
  aspect-ratio: 1 / 1;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(24px, 2.4vw, 40px);
  background: #fff;
}
/* the whole card is the link; the text link stays for keyboards and screen readers only */
.case .link-arrow {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.case--wide .case__panel { align-self: center; }
.case:has(a:focus-visible) { outline: 2px solid var(--green); outline-offset: -4px; }
.case__text { display: flex; flex-direction: column; gap: 10px; }
.case__client {
  font-weight: 600;
  font-size: clamp(13px, 1vw, 18px);
  line-height: 40px;
  letter-spacing: .3em;
  color: var(--muted);
}
.case__title {
  font-weight: 400;
  font-size: clamp(22px, 1.46vw, 28px);
  line-height: 1.67;
}
.case__desc {
  font-family: var(--f-text);
  font-weight: 400;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 28px;
  color: var(--text);
}

/* ---------- client logos ---------- */

.logos {
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.logos__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 60px;
  border-block: 1px solid var(--line);
}
.section-label--logos { gap: 35px; }
.logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  opacity: .7;
  mix-blend-mode: luminosity;
}
.logo-item {
  position: relative;
  flex: none;
  width: var(--w);
  height: var(--h);
  overflow: hidden;
}
.logo-item img { position: absolute; max-width: none; }
.logo-item img.fill { inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- summary ---------- */

.summary { padding-block: 80px; }
.summary__inner {
  max-width: 1141px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.summary__text {
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 48px);
  line-height: 1.77;
  color: #9a9a9a;
}
.summary__em { color: #000; }

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 80px 10px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 23px;
  text-align: center;
}

/* =========================================================
   Shared inner-page pieces (Work + About)
   ========================================================= */

.menu a[aria-current="page"] { font-weight: 500; }

.page-main { padding-top: clamp(112px, 12.6vw, 242px); }

.page-title,
.cta__title {
  font-family: var(--f-serif);
  font-weight: 300;
  letter-spacing: -.04em;
  color: #000;
}
.page-title span,
.cta__title span { display: block; line-height: clamp(46px, 5.2vw, 99.75px); }
.page-title__top,
.cta__title-top { font-size: clamp(44px, 5.08vw, 97.5px); }
.page-title__bottom,
.cta__title-bottom {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(52px, 6.64vw, 127.5px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 28px;
  border: 1px solid rgba(0,0,0,.8);
  border-radius: 60px;
  font-weight: 400;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 46.8px;
  white-space: nowrap;
  color: #000;
}
.btn--solid { background: #000; color: #fff; }

/* ---------- Work page ---------- */

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 6.5vw, 125px);
}
.page-head .page-title { flex: 0 1 820px; }
.page-head__lead {
  text-wrap: pretty;
  flex: 0 1 576px;
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 2;
  padding-bottom: .4em;
}

.works--page { padding-top: clamp(56px, 8.5vw, 163px); }
.works__cols {
  display: grid;
  grid-template-columns: 745fr 748fr;
  column-gap: 30px;
  align-items: start;
}
.works__col { display: flex; flex-direction: column; gap: 28px; }

.case--tall { aspect-ratio: 745 / 1055; padding: 20.1% 22.1% 10% 16.6%; }
.case__text--auto { min-height: 0; }
.case__desc--alt { }  /* JPMC now uses the exact same description style as every other card */

.shots { padding-bottom: clamp(64px, 7.9vw, 151px); }
.shots__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.shots__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.shot { margin: 0; overflow: hidden; aspect-ratio: 491 / 368.25; grid-column: span 2; }
.shot--2 { grid-column: span 4; aspect-ratio: 1005 / 368; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.blog { padding-bottom: clamp(64px, 10vw, 197px); }
.blog__inner { max-width: 1440px; display: flex; flex-direction: column; gap: 55px; }
.blog__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.8vw, 92px); }
.post { display: flex; flex-direction: column; gap: 10px; }
.post__title {
  font-weight: 400;
  font-size: clamp(22px, 1.46vw, 28px);
  line-height: 1.67;
}
.post__excerpt {
  font-family: var(--f-text);
  font-weight: 400;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 28px;
  color: var(--text);
}

/* ---------- About page ---------- */

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 749px) minmax(0, 616px);
  justify-content: space-between;
  align-items: start;
  column-gap: 40px;
}
.about-hero__text { display: flex; flex-direction: column; }
.about-hero__head { display: flex; align-items: flex-end; align-items: last baseline; justify-content: space-between; flex-wrap: wrap; gap: 20px 24px; margin-bottom: clamp(32px, 4.4vw, 85px); }
.about-hero__head .page-title { margin: 0; }
.about-hero__head .btn--download { margin-top: 0; }
.about-hero__bio {
  max-width: 693px;
  margin-bottom: clamp(32px, 3.1vw, 60px);
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.84;
  color: var(--text);
}
.btn--download { gap: 12px; }
.btn--download svg { flex: none; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.btn--download:hover svg, .btn--download:focus-visible svg { transform: translate3d(0, 3px, 0); }
.about-stats { display: flex; align-items: center; gap: 50px; }
.about-stats .intro__col--stats { flex: 0 0 359px; height: 420px; padding-left: 30px; }
.about-stats .intro__col--ai { flex: 0 0 336px; height: 420px; padding-left: 0; }
.about-hero__photo {
  margin: 0;
  background: #d9d9d9;
  aspect-ratio: 616 / 878;
  overflow: hidden;
}
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.career {
  display: grid;
  grid-template-columns: 836fr 616fr;
  column-gap: clamp(32px, 3.4vw, 65px);
  padding-top: clamp(56px, 5.9vw, 113px);
}
.timeline { display: flex; flex-direction: column; gap: 32px; margin-top: 32px; }
.timeline__row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 9.9vw, 190px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.timeline__row--last { border-bottom: 0; }
.timeline__role { flex: 1 1 0; min-width: 0; line-height: 46.8px; }
.timeline__company { font-weight: 300; font-size: clamp(20px, 1.46vw, 28px); color: #000; }
.timeline__title { font-weight: 400; font-size: 16px; color: #6b6b6b; }
.timeline__meta { flex: none; width: 170px; text-align: right; }
.timeline__years { font-weight: 300; font-size: clamp(18px, 1.46vw, 28px); line-height: 42px; color: #000; }
.timeline__toggle { font-weight: 400; font-size: 24px; line-height: 46.8px; color: #6b6b6b; }

.career__quote { display: flex; flex-direction: column; gap: 40px; }
.quote-head { display: flex; align-items: center; gap: 21px; }
.quote-head__line { width: 123px; height: auto; flex: none; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 22px; }
.quote__text {
  max-width: 573px;
  font-weight: 300;
  font-size: clamp(16px, 1.15vw, 22px);
  line-height: 2;
  color: #000;
}
.quote__name {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  line-height: 55px;
  color: #000;
}
.quote__role {
  max-width: 237px;
  font-weight: 300;
  font-size: 13px;
  line-height: 23px;
  white-space: pre-wrap;
  color: #686868;
}

.marquee { overflow: hidden; padding-top: clamp(48px, 5.2vw, 100px); }
.marquee__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 38px);
  width: max-content;
  min-width: 100%;
  font-weight: 300;
  font-size: clamp(20px, 1.9vw, 36px);
  letter-spacing: -.04em;
  white-space: nowrap;
}

.cta-wrap { padding-top: clamp(56px, 6.5vw, 124px); padding-bottom: clamp(64px, 7.8vw, 150px); }
.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(40px, 7.8vw, 150px) clamp(24px, 5.2vw, 100px) clamp(32px, 5.3vw, 102px);
  background: radial-gradient(ellipse 760px 334px at 50% 50%, #fff 0%, #eceff2 100%);
}
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta__swarm { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta::before {
  display: none; /* replaced by the animated jellyfish swarm (swarm.js) */
  content: "";
  position: absolute; z-index: -1;
  top: 0; right: 0; bottom: 0; width: min(54%, 760px);
  background: url("assets/hero-bg.webp") 50% 12% / auto 150% no-repeat;
  mix-blend-mode: multiply;
  opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 100%);
  pointer-events: none;
}
.cta__eyebrow { font-weight: 400; font-size: clamp(16px, 1.25vw, 24px); line-height: 2; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   Responsive
   ========================================================= */

/* Laptop / small desktop */
@media (max-width: 1280px) {
  .intro { grid-template-columns: minmax(0, 1fr) 1fr; row-gap: 48px; }
  .intro__col--main {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 40px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .intro__col--stats { height: auto; padding-left: 0; }
  .intro__col--ai { padding-left: 10px; }
}

/* Tablet: stack the works */
@media (max-width: 960px) {
  .works__row { grid-template-columns: 1fr; gap: 40px; }
  .case--wide, .case--intertek, .case--rockwell {
    aspect-ratio: auto;
    min-height: 520px;
    padding: 120px var(--gutter) 40px;
    --pp: clamp(24px, 5vw, 48px);
  }
  .case__panel, .case--wide .case__panel { width: min(100%, 420px); aspect-ratio: auto; }
  .works__side { gap: 40px; }
  .hero__content { flex-direction: column; align-items: flex-start; }
  .hero__title, .hero__lead { flex: none; max-width: 100%; }
  .hero__lead { line-height: 1.7; }
  .hero { padding-top: 160px; }
}

/* Mobile */
@media (max-width: 720px) {
  .menu { gap: 16px; padding-inline: 20px; font-size: 12px; height: 44px; }
  .logo { width: 48px; height: 48px; font-size: 19px; }

  .intro { grid-template-columns: 1fr; }
  .intro__col--stats { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--line); height: auto; padding-bottom: 8px; }
  .intro__col--ai { padding-left: 0; }
  .intro__hello { flex-direction: column-reverse; align-items: flex-start; }
  .stat__value { height: auto; line-height: 1.3; }
  .stat__value--lg { font-size: 72px; }
  .stat__value--md { font-size: 56px; }
  .stat__label { font-size: 18px; line-height: 1.8; }
  .ai-block { height: auto; }
  .ai-block__title { height: auto; margin-bottom: 16px; }
  .domain-block__title { font-size: 18px; line-height: 1.8; margin-bottom: 8px; }
  .domain-block__chips { gap: 12px; }

  .pill { padding: 4px 20px; line-height: 40px; }
  .pill-row { gap: 12px; }
  .pill-rows { gap: 12px; }

  .case--wide, .case--intertek, .case--rockwell { min-height: 460px; padding-top: 140px; padding-inline: 16px; }
  .case__panel, .case--wide .case__panel { width: 100%; aspect-ratio: auto; }

  .logos__row { justify-content: center; gap: 32px 36px; }
  .section-label { align-items: flex-start; }
  .section-label h2 { letter-spacing: .2em; }
  .summary { padding-block: 56px; }
  .site-footer { padding-block: 56px; }
}


/* ---------- Inner pages: responsive ---------- */

@media (max-width: 1100px) {
  .about-hero { grid-template-columns: 1fr; row-gap: 48px; }
  .about-hero__photo { max-width: 616px; }
  .career { grid-template-columns: 1fr; row-gap: 56px; }
}

@media (max-width: 960px) {
  .page-head { flex-direction: column; align-items: flex-start; }
  .page-head .page-title, .page-head__lead { flex: none; max-width: 100%; }
  .works__cols { grid-template-columns: 1fr; }
  .works__col { display: contents; }
  .works__cols { display: flex; flex-direction: column; gap: 40px; }
  .case--tall { aspect-ratio: auto; min-height: 520px; padding: 120px var(--gutter) 40px; }
  .blog__grid { grid-template-columns: 1fr; gap: 48px; }
  .shots__grid { grid-template-columns: 1fr 1fr; }
  .shot, .shot--2 { grid-column: span 1; aspect-ratio: 491 / 368.25; }
  .shot--2 { grid-column: 1 / -1; aspect-ratio: 1005 / 368; }
}

@media (max-width: 720px) {
  .about-stats { flex-direction: column; align-items: stretch; gap: 0; }
  .about-stats .intro__col--stats,
  .about-stats .intro__col--ai { flex: none; height: auto; padding-left: 0; }
  .about-stats .intro__col--stats { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline__row { gap: 16px; }
  .timeline__meta { width: auto; }
  .timeline__years { font-size: 18px; line-height: 1.6; }
  .shots__grid { grid-template-columns: 1fr; }
  .shot, .shot--2 { grid-column: 1 / -1; }
  .shots__head { flex-wrap: wrap; }
  .cta { padding-inline: 20px; }
  .cta__actions .btn { white-space: normal; text-align: center; }
  .case--tall { min-height: 460px; padding-top: 140px; padding-inline: 16px; }
}

@media (max-width: 700px) {
  .cta::before { width: 100%; opacity: .32; background-position: 50% 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60%); mask-image: linear-gradient(180deg, transparent 0, #000 60%); }
}


/* =========================================================
   CONSISTENCY LAYER (main pages)
   ========================================================= */
/* card + blog descriptions share one style */
.case__desc, .post__excerpt { font-family: var(--f-text); font-weight: 400; font-size: clamp(15px, 1vw, 18px); line-height: 28px; color: var(--text); }
/* body copy tokens: bio, intro, timeline, testimonials all read alike */
.timeline__body li { font-size: clamp(16px, 1vw, 19px); line-height: 1.84; color: var(--text); }
.quote__text { font-size: clamp(16px, 1vw, 19px); line-height: 2; color: var(--text); }


/* footer: two lines on phones */
.br-m{display:none}
@media (max-width:640px){
  .br-m{display:inline}
  .site-footer p{text-align:center}
}

/* Work cards: always fill the column on tablet/phone (container-type made them collapse to their padding) */
@media (max-width: 960px) {
  .works__cols, .works__col { align-items: stretch; }
  .case, .case--intertek, .case--tall, .case--wide, .case--rockwell { width: 100%; max-width: 100%; box-sizing: border-box; }
}
