* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #050505;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  mix-blend-mode: difference;
  color: white;
}

.logo {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: 28px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;

  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 48px 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.72);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 95%;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  max-width: 1200px;
}

.intro {
  margin-top: 32px;
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.work {
  padding: 120px 0;
  background: #050505;
  color: #ffffff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 64px;
  padding: 0 48px;
}

.section-heading h2 {
  font-size: clamp(3rem, 8vw, 8rem);
  letter-spacing: -0.06em;
}

.oasis-project,
.oasis-mockups,
.paniolo-project {
  overflow-x: hidden;
}

.project-grid {
  display: grid;
  gap: 48px;
}

.project-card {
  display: grid;
  grid-template-columns: 1.2fr 0.2fr 0.8fr;
  align-items: end;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.project-image {
  min-height: 420px;
  background: #e8e8e8;
}

.project-number {
  font-size: 0.8rem;
  opacity: 0.7;
}

.project-card h3 {
  font-size: clamp(2rem, 5vw, 5rem);
  letter-spacing: -0.05em;
}

.project-card p {
  line-height: 1.5;
}

.about {
  padding: 140px 48px;
}

.about h2 {
  max-width: 1000px;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 40px;
}

.about p:last-child {
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.footer {
  padding: 64px 48px;
  background: #050505;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer p,
.footer a {
  font-size: clamp(1.5rem, 4vw, 4rem);
  letter-spacing: -0.04em;
}

@media (max-width: 800px) {
  .site-header {
    padding: 24px;
  }

  nav {
    gap: 16px;
  }

  .hero,
  .work,
  .about,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 280px;
  }

  .footer {
    flex-direction: column;
  }
}

.featured-project {
  padding: 120px 0 0;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.project-intro {
  padding: 0 48px 80px;
  max-width: 1000px;
  position: relative;
  z-index: 5;
}

.project-intro h3 {
  font-size: clamp(4rem, 10vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.08em;
  margin-bottom: 32px;
}

.project-intro p:last-child {
  max-width: 620px;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.8;
}

.oasis-project {
  background: #1f1d1d;
  color: #ffffff;
}

.oasis-logo-img {
  display: block;
  width: min(85vw, 1500px);
  margin: 0 auto 120px;
}

.full-bleed-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  position: relative;
  z-index: 2;
}

.wide-img {
  display: block;
  width: 100%;
  margin: 0 auto 120px;
}

.oasis-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 ;
}

.oasis-grid-two img {
  width: 100%;
  display: block;
}

@media (max-width: 800px) {
  .project-intro {
    padding: 0 24px 56px;
  }

  .oasis-grid-two {
    grid-template-columns: 1fr;
    padding: 0 24px 80px;
    gap: 24px;
  }

  .wide-img {
    width: calc(100% - 48px);
    margin-bottom: 80px;
  }

  .oasis-logo-img {
    margin-bottom: 80px;
  }

  .full-bleed-img {
    margin-bottom: 80px;
  }
}

.oasis-mockups {
  position: relative;
  height: 900px;
  overflow: visible;
  padding-bottom: 120px;
  margin-top: 0;
  margin-bottom: 0;
  background: #221f20;
}

.mockup-background {
  position: absolute;
  inset: 0;
  background-image: url("images/oasis-brandsys-pattern3.png");
  background-size: 1350px;
  background-position: center;
  background-repeat: repeat;
  opacity: 1;
  z-index: 1;
}

.top-tear {
  position: absolute;
  top: -120px;
  left: -3%;
  width: 106%;
  z-index: 4;
  opacity: 1;
}

.oasis-girl {
  position: absolute;
  left: 5%;
  bottom: -2%;
  width: 48%;
  z-index: 5;
  transform: rotate(-12deg);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.18));
}

.polaroids {
  position: absolute;
  right: 10%;
  bottom: -1%;
  width: 44%;
  z-index: 10;
  transform: rotate(12deg);
  filter: drop-shadow(0 22px 40px rgba(0,0,0,0.24));
}

.bottom-tear {
  position: absolute;
  bottom: -16%;
  left: -3%;
  width: 106%;
  z-index: 6;
  opacity: 1;
}

@media (max-width: 800px) {
  .oasis-mockups {
    height: 700px;
  }

  .oasis-girl {
    width: 64%;
    left: -8%;
    bottom: 1%;
  }

  .polaroids {
    width: 56%;
    right: 2%;
    bottom: 15%;
  }
}

.paniolo-project {
  background: #f3eadb;
  color: #3b2517;
}

.paniolo-intro {
  color: #3b2517;
}

.paniolo-hero-img {
  display: block;
  width: 100%;
  height: 120vh;
  object-fit: cover;
  margin: 0;
}

.paniolo-logo-full {
  width: 100%;
  display: block;
}

.paniolo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  padding: 50px 48px;
  align-items: center;
  min-height: 100vh;
}

.paniolo-grid img {
  width: 100%;
  display: block;
}

.paniolo-grid img:first-child {
  width: 100%;
  transform: scale(1.12);
  transform-origin: left center;
}

.paniolo-grid img:last-child {
  width: 100%;
  transform: scale(1.30) translateX(2%);
  transform-origin: right center;
}

.project-intro {
  width: 100%;
  position: relative;
  z-index: 20;
}

.project-intro-inner {
  margin: 0 auto;
  padding: 0 48px;
}

/* .project-intro-inner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -80px;
  width: 100%;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0, 0.22),
    rgba(0, 0, 0, 0,)
  );
  z-index: 30;
} */

.paniolo-orange-section {
  background: #f89621;
  padding: 140px 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.paniolo-badge {
  width: min(85vw, 1200px);
  display: block;

  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
}

.paniolo-lei {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 42%;
  z-index: 3;
}

.paniolo-bag {
  display: block;
  width: 100%;
  margin: 0 auto 140px;
  position: relative;
  z-index: 4;
}

@media (max-width: 800px) {
  .paniolo-hero-img {
    width: calc(100% - 48px);
    margin-bottom: 80px;
  }

  .paniolo-logo-row {
    padding: 80px 24px;
  }

  .paniolo-grid {
    grid-template-columns: 1fr;
    padding: 80px 24px;
  }

  .paniolo-pattern-section {
  position: relative;
  min-height: 760px;
  background: #efe2cf;
  overflow: hidden;
  }

  .paniolo-lei {
    width: 70%;
    right: -25%;
    bottom: -12%;
  }

  .paniolo-bag {
    width: 100%;
    height: auto;
    margin: 0 auto 100px;
  }
}

/* TEMPORARY FIX */
.paniolo-lei {
  display: none;
}

.mockup-background {
  pointer-events: none;
}

.oasis-project {
  position: relative;
  overflow: visible;
  z-index: 2;
}

.oasis-mockups {
  position: relative;
  height: 900px;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
}

.mockup-background {
  pointer-events: none;
}

.oasis-mockups {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.paniolo-project .mockup-background {
  display: none;
}

.paniolo-project {
  margin-top: -40px;
  background: #f3eadb;
  color: #3b2517;
  position: relative;
  z-index: 1;
}

.paniolo-intro {
  max-width: none;
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 20;
  overflow: visible;
}

.paniolo-intro .project-intro-inner {
  max-width: 1000px;
  padding: 0 48px 80px;
}

.paniolo-intro::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 12px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.22),
    rgba(0,0,0,0)
  );
  pointer-events: none;
  z-index: 30;
}

.paniolo-orange-section {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------
   TIPS & SIPS
-------------------------------------------------- */

.tips-project {
  background: #f8f1f4;
  color: #1b1b1b;
}

.tips-logo-wrap {
  padding: 100px 48px;
  display: flex;
  justify-content: center;
}

.tips-logo {
  width: min(82vw, 1200px);
}

.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 48px 80px;
}

.tips-grid img,
.tips-pattern,
.tips-mockups img {
  width: 100%;
  display: block;
}

.tips-pattern {
  margin-bottom: 80px;
}

.tips-mockups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}


/* --------------------------------------------------
   HAWK NEST
-------------------------------------------------- */

.hawk-project {
  background: #111111;
  color: #ffffff;
}

.hawk-main-logo {
  width: min(84vw, 1300px);
}

.hawk-full-img,
.hawk-bottom-img {
  width: 100%;
  display: block;
}

.hawk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 48px;
}

.hawk-grid img {
  width: 100%;
  display: block;
}


/* --------------------------------------------------
   BOTTOMLINE
-------------------------------------------------- */

.bottomline-project {
  background: #050505;
  color: #ffffff;
}

.bottomline-logo-wrap {
  padding: 120px 48px 80px;
  display: flex;
  justify-content: center;
}

.bottomline-logo-main {
  width: min(84vw, 1300px);
}

.bottomline-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 48px 80px;
}

.bottomline-grid-top img,
.bottomline-pattern-grid img,
.bottomline-mockup {
  width: 100%;
  display: block;
}

.bottomline-pattern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.bottomline-mockup {
  margin-top: 0;
}


/* --------------------------------------------------
   GLOBAL PROJECT IMAGE FIXES
-------------------------------------------------- */

img {
  max-width: 100%;
}

.featured-project {
  overflow: hidden;
}


/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 900px) {

  .tips-grid,
  .tips-mockups,
  .hawk-grid,
  .hawk-mockup-grid,
  .bottomline-grid-top,
  .bottomline-pattern-grid {
    grid-template-columns: 1fr;
  }

  .tips-grid,
  .hawk-grid,
  .hawk-mockup-grid,
  .bottomline-grid-top {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tips-logo-wrap,
  .hawk-logo-section,
  .bottomline-logo-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  .project-intro h3 {
    font-size: clamp(3rem, 14vw, 6rem);
  }

  h1 {
    font-size: clamp(3.4rem, 14vw, 7rem);
  }

  .hero {
    padding-bottom: 48px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer {
    align-items: flex-start;
  }
}

/* --------------------------------------------------
   FINAL POLISH / SCALE DOWN / RESUME / MOTION
-------------------------------------------------- */

:root {
  --page-gutter: clamp(24px, 5vw, 96px);
  --content-max: 1600px;
}

body {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("images/mylogo.png");
  background-repeat: repeat;
  background-position: 103% 50%;
  background-size: min(40vw, 400px);
  opacity: 0.045;
  filter: blur(1px);
  /* transform: rotate(8deg); */
  pointer-events: none;
  z-index: -1;
}

.site-header {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.hero {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.hero-content,
.section-heading,
.project-grid,
.about,
.resume-section,
.motion-feature,
.footer {
  width: min(100%, var(--content-max));
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-size: clamp(3.5rem, 8.5vw, 8rem);
  max-width: 1050px;
}

.section-heading h2,
.about h2,
.resume-heading h2,
.motion-copy h2 {
  font-size: clamp(3rem, 6.5vw, 6.75rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.project-intro h3 {
  font-size: clamp(3.5rem, 7.5vw, 8.25rem);
}

.work {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.section-heading,
.project-intro,
.paniolo-intro .project-intro-inner,
.tips-grid,
.hawk-grid,
.bottomline-grid-top {
  padding-left: 0;
  padding-right: 0;
}

.featured-project {
  border-radius: 28px;
  margin-bottom: 72px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.24);
}

.full-bleed-img,
.wide-img,
.paniolo-hero-img,
.paniolo-logo-full,
.paniolo-bag,
.tips-pattern,
.hawk-bottom-img,
.bottomline-mockup {
  width: 100%;
}

.hero-video {
  pointer-events: none;
}

.motion-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: 140px var(--page-gutter);
  background: #ffffff;
  color: #050505;
}

.motion-copy p:last-child {
  max-width: 520px;
  margin-top: 28px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.motion-video-frame {
  border-radius: 28px;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 28px 80px rgba(0,0,0,0.22);
}

.motion-video {
  width: 100%;
  display: block;
}

.about {
  position: relative;
  padding: 140px var(--page-gutter);
  background: #ffffff;
  color: #050505;
  overflow: hidden;
}

.about::after,
.resume-section::after {
  content: "";
  position: absolute;
  right: -12%;
  top: 8%;
  width: min(58vw, 680px);
  aspect-ratio: 1;
  /* background-image: url("images/mylogo.png"); */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  filter: blur(5px);
  transform: rotate(8deg);
  pointer-events: none;
}

.about > *,
.resume-section > * {
  position: relative;
  z-index: 1;
}

.resume-section {
  position: relative;
  padding: 140px var(--page-gutter);
  background: #f4f4f4;
  color: #050505;
  overflow: hidden;
}

.resume-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}

.resume-heading .eyebrow,
.resume-heading h2 {
  grid-column: 1;
}

.resume-button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 14px 22px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  transition: background 180ms ease, color 180ms ease;
}

.resume-button:hover {
  background: #050505;
  color: #ffffff;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.resume-card {
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 28px;
  min-height: 320px;
}

.resume-date {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 28px;
}

.resume-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}

.resume-card p {
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.skills-list li {
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
}

.footer {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

@media (max-width: 1100px) {
  .motion-feature,
  .resume-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  body::before {
    background-size: 92vw;
    background-position: 130% 10%;
  }

  .work {
    padding-left: 24px;
    padding-right: 24px;
  }

  .featured-project {
    border-radius: 18px;
    margin-bottom: 48px;
  }

  .motion-feature,
  .resume-grid,
  .resume-heading {
    grid-template-columns: 1fr;
  }

  .resume-button {
    grid-column: 1;
    grid-row: auto;
    width: fit-content;
  }

  .motion-feature,
  .about,
  .resume-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  nav {
    gap: 14px;
    font-size: 0.68rem;
  }
}


/* --------------------------------------------------
   REQUESTED LAYOUT ADJUSTMENTS
-------------------------------------------------- */

:root {
  --card-pad: clamp(28px, 4vw, 72px);
}

/* Gives project titles/descriptions breathing room inside each rounded card */
.featured-project > .project-intro {
  padding: 0 var(--card-pad) 80px;
  max-width: 1120px;
}

/* Keeps Paniolo's intro aligned with the other project intros instead of drifting inward */
.paniolo-intro {
  padding: 0 var(--card-pad) 80px;
}

.paniolo-intro .project-intro-inner {
  max-width: 1120px;
  margin: 0;
  padding: 0;
}

/* Extends the torn paper past both edges so it fully spans the card */
.top-tear,
.bottom-tear {
  left: -8%;
  width: 116%;
}

/* Adds the subtle lift behind Paniolo's type/color card */
.paniolo-grid img:first-child {
  filter: drop-shadow(0 -18px 22px rgba(59, 37, 23, 0.18))
          drop-shadow(0 18px 22px rgba(59, 37, 23, 0.20));
}

/* LPC Hawk Nest brand-color card with full-width rows */
.hawk-project {
  background: #981E32;
}

.hawk-grid {
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 0 var(--card-pad) 80px;
}

.hawk-grid img {
  width: 100%;
}

/* Footer email + phone stacked neatly under the contact prompt */
.footer {
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-links a {
  display: block;
}

@media (max-width: 800px) {
  .featured-project > .project-intro,
  .paniolo-intro {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 56px;
  }

  .hawk-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer-links {
    align-items: flex-start;
  }
}


/* --------------------------------------------------
   RESPONSIVE POLISH PASS - MERGED RESTORE
   Keeps all project sections intact while fixing Oasis + Paniolo scaling.
-------------------------------------------------- */

/* Replace the stubborn Oasis page-tear graphics with a clean, intentional seam. */
.top-tear,
.bottom-tear {
  display: none !important;
}

.oasis-mockups {
  position: relative;
  border-top: 18px solid #221f20;
  border-bottom: 18px solid #221f20;
  overflow: hidden;
}

.oasis-mockups::before,
.oasis-mockups::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 18px;
  pointer-events: none;
  z-index: 20;
}

.oasis-mockups::before {
  top: 0;
  box-shadow: 0 -16px 24px rgba(0, 0, 0, 0.24);
}

.oasis-mockups::after {
  bottom: 0;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.24);
}

/* Keeps the second Oasis pattern from feeling giant as the browser narrows. */
.mockup-background {
  background-size: clamp(320px, 42vw, 900px);
}

.wide-img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

/* Adds top and bottom shadow to the Paniolo typography/menu row. */
.paniolo-grid {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.paniolo-grid::before,
.paniolo-grid::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 22px;
  pointer-events: none;
  z-index: 5;
}

.paniolo-grid::before {
  top: 0;
  box-shadow: 0 -16px 24px rgba(59, 37, 23, 0.2);
}

.paniolo-grid::after {
  bottom: 0;
  box-shadow: 0 16px 24px rgba(59, 37, 23, 0.2);
}

@media (max-width: 800px) {
  .oasis-mockups {
    height: clamp(480px, 110vw, 700px);
    border-top-width: 12px;
    border-bottom-width: 12px;
  }

  .oasis-mockups::before,
  .oasis-mockups::after {
    height: 12px;
  }

  .mockup-background {
    background-size: clamp(220px, 62vw, 420px);
  }

  .wide-img {
    max-height: 420px;
    object-fit: cover;
    margin-bottom: 48px;
  }

  /* Lets the first Paniolo mockup scale down instead of cropping off the signage. */
  .paniolo-hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 0 48px;
  }

  /* Centers the menu/type cards when they stack. */
  .paniolo-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 32px;
    padding: 48px 24px 56px;
  }

  .paniolo-grid img:first-child,
  .paniolo-grid img:last-child {
    width: min(100%, 680px);
    max-width: 680px;
    transform: none;
    transform-origin: center center;
    justify-self: center;
  }

  /* Tightens the awkward vertical space before the last Paniolo mockup. */
  .paniolo-pattern-section {
    min-height: 0;
    padding-bottom: 0;
  }

  .paniolo-bag {
    margin: 0 auto 64px;
  }
}

@media (max-width: 520px) {
  .oasis-girl {
    width: 72%;
    left: -14%;
    bottom: 4%;
  }

  .polaroids {
    width: 62%;
    right: -2%;
    bottom: 20%;
  }

  .paniolo-grid {
    padding-top: 36px;
    padding-bottom: 44px;
    gap: 24px;
  }
}


/* --------------------------------------------------
   FOOTER VIDEO SIGNATURE FIX
   Uses the After Effects footer animation and plays it when footer enters view.
-------------------------------------------------- */
.footer {
  display: grid !important;
  grid-template-columns: minmax(240px, 420px) minmax(280px, 1fr);
  align-items: center !important;
  gap: clamp(32px, 7vw, 120px);
  min-height: 52vh;
}

.footer-brand {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo-video {
  display: block;
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  background: transparent;
  opacity: 1;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 24px;
}

.footer-contact p {
  margin: 0;
}

.footer-links {
  align-items: flex-end;
}

@media (max-width: 800px) {
  .footer {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .footer-logo-video {
    width: min(78vw, 360px);
  }

  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
  }
}
