/* Licensed Path portfolio module
   All selectors are scoped to .lp-case-study so this can be dropped into travisgorji.com
   without taking over the host site's header, footer, typography, or global layout. */

.lp-case-study {
  --lp-cream: #f4eee4;
  --lp-paper: #fffdf8;
  --lp-green: #123f33;
  --lp-green-2: #0d3027;
  --lp-orange: #ec5f22;
  --lp-line: #d8cdbd;
  --lp-line-dark: #c8baa7;
  --lp-muted: #5d6d65;
  --lp-shadow: 10px 12px 0 rgba(18,63,51,.05);
  color: var(--lp-green);
  background: var(--lp-cream);
  font-family: inherit;
  line-height: 1.5;
  overflow: clip;
}

.lp-case-study *, .lp-case-study *::before, .lp-case-study *::after { box-sizing: border-box; }
.lp-case-study img { max-width: 100%; display: block; }
.lp-case-study a { color: inherit; text-decoration: none; }
.lp-case-study button { font: inherit; }
.lp-case-study .lp-shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.lp-case-study .lp-section { padding: 112px 0; }
.lp-case-study h1,
.lp-case-study h2,
.lp-case-study h3,
.lp-case-study p { margin-top: 0; }
.lp-case-study h1 { font-size: clamp(65px,7.3vw,112px); line-height: .9; letter-spacing: -.075em; margin: 0 0 30px; color: var(--lp-green); font-weight: 900; }
.lp-case-study h2 { font-size: clamp(40px,5vw,67px); line-height: .98; letter-spacing: -.055em; color: var(--lp-green); margin-bottom: 24px; font-weight: 900; }
.lp-case-study h3 { font-size: 20px; letter-spacing: -.025em; color: var(--lp-green); margin-bottom: 10px; font-weight: 850; }

.lp-case-study .lp-hero { display: grid; grid-template-columns: 1.38fr .8fr; gap: 78px; align-items: center; min-height: 690px; padding-top: 92px; padding-bottom: 96px; }
.lp-case-study .lp-kicker,
.lp-case-study .lp-section-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 900; color: var(--lp-green); margin: 0 0 21px; }
.lp-case-study .lp-kicker { display: flex; align-items: center; gap: 9px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.lp-case-study .lp-kicker span { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-orange); box-shadow: 0 0 0 5px rgba(236,95,34,.12); flex: 0 0 auto; }
.lp-case-study .lp-hero-lede { font-size: 23px; line-height: 1.52; max-width: 760px; color: #3c544b; margin-bottom: 32px; }
.lp-case-study .lp-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.lp-case-study .lp-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 900; font-size: 14px; }
.lp-case-study .lp-primary { background: var(--lp-green); color: var(--lp-cream); }
.lp-case-study .lp-primary:hover { background: var(--lp-green-2); }
.lp-case-study .lp-text-link { font-weight: 850; font-size: 14px; }
.lp-case-study .lp-text-link span { color: var(--lp-orange); padding-left: 5px; }
.lp-case-study .lp-text-link:hover { color: var(--lp-orange); }
.lp-case-study .lp-hero-rule { height: 1px; background: var(--lp-line); margin: 36px 0 18px; }
.lp-case-study .lp-hero-note { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.lp-case-study .lp-hero-note strong { color: var(--lp-green); }
.lp-case-study .lp-hero-note span { color: #6f7a75; }
.lp-case-study .lp-hero-visual { display: flex; justify-content: flex-end; }
.lp-case-study .lp-paper-card { background: var(--lp-paper); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow); position: relative; }
.lp-case-study .lp-project-note { padding: 47px 42px 40px; transform: rotate(.7deg); max-width: 390px; }
.lp-case-study .lp-pin { position: absolute; width: 17px; height: 17px; border-radius: 50%; background: var(--lp-orange); left: 50%; top: 14px; transform: translateX(-50%); }
.lp-case-study .lp-note-label { font-size: 11px; letter-spacing: .12em; font-weight: 900; margin-bottom: 15px; color: #6a746f; }
.lp-case-study .lp-project-note h2 { font-size: 26px; line-height: 1.12; letter-spacing: -.04em; margin-bottom: 25px; }
.lp-case-study .lp-project-note ul { padding: 0; margin: 0; list-style: none; }
.lp-case-study .lp-project-note li { padding: 13px 0; border-top: 1px dashed var(--lp-line); font-size: 15px; }
.lp-case-study .lp-project-note li:last-child { border-bottom: 1px dashed var(--lp-line); }
.lp-case-study .lp-privacy { color: #758079; font-size: 12px; margin: 22px 0 0; }

.lp-case-study .lp-two-col-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.lp-case-study .lp-section-intro { margin-bottom: 52px; }
.lp-case-study .lp-section-intro h2 { max-width: 790px; }
.lp-case-study .lp-two-col-intro h2 { font-size: clamp(39px,4.7vw,62px); }
.lp-case-study .lp-two-col-intro > div:last-child { padding-top: 34px; }
.lp-case-study .lp-two-col-intro > div:last-child p,
.lp-case-study .lp-section-copy,
.lp-case-study .lp-gallery-intro > p { font-size: 19px; line-height: 1.65; color: #53665e; }
.lp-case-study .lp-two-col-intro > div:last-child p:last-child { margin-bottom: 0; }
.lp-case-study .lp-process-strip { border-top: 1px solid var(--lp-line-dark); border-bottom: 1px solid var(--lp-line-dark); display: flex; align-items: stretch; margin-top: 62px; overflow-x: auto; background: rgba(255,255,255,.12); }
.lp-case-study .lp-process-strip > div:not(.lp-process-arrow) { min-width: 170px; padding: 25px 18px; }
.lp-case-study .lp-process-strip span { display: block; font-size: 10px; font-weight: 900; color: var(--lp-orange); margin-bottom: 7px; }
.lp-case-study .lp-process-strip strong { display: block; font-size: 14px; }
.lp-case-study .lp-process-strip small { display: block; color: #7b827e; margin-top: 2px; }
.lp-case-study .lp-process-arrow { display: grid; place-items: center; color: var(--lp-orange); font-size: 18px; padding: 0 5px; }

.lp-case-study .lp-work-section { background: var(--lp-green); color: var(--lp-cream); border-block: 1px solid var(--lp-green-2); }
.lp-case-study .lp-work-section h2,
.lp-case-study .lp-work-section h3 { color: var(--lp-cream); }
.lp-case-study .lp-work-section .lp-section-label { color: #f08a5d; }
.lp-case-study .lp-work-section .lp-section-copy { color: #c9d4cf; max-width: 760px; }
.lp-case-study .lp-capability-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(244,238,228,.25); border-left: 1px solid rgba(244,238,228,.25); }
.lp-case-study .lp-capability-grid article { min-height: 245px; padding: 28px; border-right: 1px solid rgba(244,238,228,.25); border-bottom: 1px solid rgba(244,238,228,.25); }
.lp-case-study .lp-capability-grid article > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(244,238,228,.25); border-radius: 50%; font-size: 10px; font-weight: 900; color: #f08a5d; margin-bottom: 54px; }
.lp-case-study .lp-capability-grid h3 { font-size: 20px; }
.lp-case-study .lp-capability-grid p { color: #bdcbc5; font-size: 14px; margin-bottom: 0; }

.lp-case-study .lp-gallery-section { padding-bottom: 130px; }
.lp-case-study .lp-gallery-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.lp-case-study .lp-gallery-intro > p { margin: 0 0 12px; }
.lp-case-study .lp-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.lp-case-study .lp-shot { margin: 0; background: var(--lp-paper); border: 1px solid var(--lp-line); box-shadow: 5px 5px 0 rgba(18,63,51,.04); overflow: hidden; }
.lp-case-study .lp-shot.lp-wide { grid-column: 1/-1; }
.lp-case-study .lp-image-button { display: block; width: 100%; padding: 0; border: 0; background: #ddd3c4; cursor: zoom-in; overflow: hidden; }
.lp-case-study .lp-image-button img { width: 100%; height: 430px; object-fit: cover; object-position: top; transition: transform .32s ease; }
.lp-case-study .lp-wide .lp-image-button img { height: 650px; }
.lp-case-study .lp-shot:hover .lp-image-button img { transform: scale(1.012); }
.lp-case-study .lp-email-shot .lp-image-button { background: #173d33; padding: 30px; }
.lp-case-study .lp-email-shot .lp-image-button img { height: 580px; object-fit: contain; }
.lp-case-study figcaption { display: grid; grid-template-columns: 44px 1fr; gap: 17px; padding: 24px 26px 28px; border-top: 1px solid var(--lp-line); }
.lp-case-study figcaption > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--lp-line-dark); border-radius: 50%; font-size: 10px; font-weight: 900; color: var(--lp-orange); }
.lp-case-study figcaption h3 { margin: 1px 0 7px; }
.lp-case-study figcaption p { margin: 0; color: #67736d; font-size: 14px; line-height: 1.6; }

.lp-case-study .lp-role-section { background: var(--lp-green); color: var(--lp-cream); }
.lp-case-study .lp-role-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; }
.lp-case-study .lp-role-section h2 { color: var(--lp-cream); }
.lp-case-study .lp-role-section .lp-role-layout > div:first-child > p:last-child { color: #c5d1cc; font-size: 18px; max-width: 600px; }
.lp-case-study .lp-section-label.lp-light { color: #f08a5d; }
.lp-case-study .lp-role-list { border-top: 1px solid rgba(244,238,228,.25); }
.lp-case-study .lp-role-list div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(244,238,228,.25); }
.lp-case-study .lp-role-list span { color: #f08a5d; font-size: 10px; font-weight: 900; }
.lp-case-study .lp-role-list strong { font-size: 16px; }

.lp-case-study .lp-final-section { display: grid; grid-template-columns: 1.25fr .75fr; gap: 85px; align-items: center; padding-top: 120px; padding-bottom: 125px; }
.lp-case-study .lp-final-copy h2 { max-width: 820px; }
.lp-case-study .lp-final-copy > p:not(.lp-section-label) { font-size: 19px; line-height: 1.65; color: #52655d; max-width: 760px; margin-bottom: 0; }
.lp-case-study .lp-final-note { padding: 45px 34px 33px; transform: rotate(-.6deg); }
.lp-case-study .lp-final-note h3 { font-size: 22px; margin-top: 8px; }
.lp-case-study .lp-final-note p { color: #617069; margin-bottom: 0; }

.lp-case-study .lp-lightbox { width: min(96vw,1600px); height: min(94vh,1100px); border: 0; border-radius: 6px; padding: 46px 18px 18px; background: #10221c; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.lp-case-study .lp-lightbox::backdrop { background: rgba(12,25,21,.86); backdrop-filter: blur(5px); }
.lp-case-study .lp-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lp-case-study .lp-lightbox-close { position: absolute; right: 12px; top: 7px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }

@media (max-width: 980px) {
  .lp-case-study .lp-hero { grid-template-columns: 1fr; gap: 45px; min-height: auto; }
  .lp-case-study .lp-hero-visual { justify-content: flex-start; }
  .lp-case-study .lp-project-note { max-width: 520px; }
  .lp-case-study .lp-two-col-intro,
  .lp-case-study .lp-gallery-intro,
  .lp-case-study .lp-role-layout,
  .lp-case-study .lp-final-section { grid-template-columns: 1fr; gap: 40px; }
  .lp-case-study .lp-two-col-intro > div:last-child { padding-top: 0; }
  .lp-case-study .lp-capability-grid { grid-template-columns: repeat(2,1fr); }
  .lp-case-study .lp-gallery { grid-template-columns: 1fr; }
  .lp-case-study .lp-shot.lp-wide { grid-column: auto; }
  .lp-case-study .lp-wide .lp-image-button img,
  .lp-case-study .lp-image-button img { height: auto; max-height: 700px; object-fit: contain; background: #e5dbcd; }
  .lp-case-study .lp-email-shot .lp-image-button img { height: 560px; }
}

@media (max-width: 680px) {
  .lp-case-study .lp-shell { width: min(100% - 28px,1160px); }
  .lp-case-study .lp-hero { padding-top: 58px; padding-bottom: 70px; }
  .lp-case-study h1 { font-size: 60px; }
  .lp-case-study .lp-hero-lede { font-size: 19px; }
  .lp-case-study .lp-project-note { padding: 42px 28px 30px; transform: none; }
  .lp-case-study .lp-section { padding: 78px 0; }
  .lp-case-study .lp-process-strip { margin-top: 38px; }
  .lp-case-study .lp-capability-grid { grid-template-columns: 1fr; }
  .lp-case-study .lp-capability-grid article { min-height: 190px; }
  .lp-case-study .lp-capability-grid article > span { margin-bottom: 32px; }
  .lp-case-study .lp-gallery { gap: 20px; }
  .lp-case-study .lp-email-shot .lp-image-button { padding: 16px; }
  .lp-case-study .lp-email-shot .lp-image-button img { height: auto; max-height: 560px; }
  .lp-case-study .lp-final-section { padding-top: 80px; padding-bottom: 85px; }
}
