* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f1ec;
  color: #4d3b33;
  font-family: "Inter", sans-serif;
}

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

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

p {
  color: #6b5a52;
  line-height: 1.8;
}

h1,
h2,
h3 {
  font-family: "DM Serif Display", serif;
  color: #4d3b33;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Header */
.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: #fffaf6;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 12px 30px rgba(90, 68, 59, 0.09);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: #4d3b33;
}

.nav-links a:hover {
  color: #a76655;
}

/* Hero */
.hero {
  max-width: 1220px;
  margin: 0 auto;
  min-height: 86vh;
  padding: 5rem 2rem 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-illustration {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.blob {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 48% 52% 45% 55%;
  background: linear-gradient(135deg, #f0dfd4, #d8b8a7);
  box-shadow: 0 28px 80px rgba(90, 68, 59, 0.12);
}

.profile-wrapper {
  position: relative;
  z-index: 2;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.6);
  display: grid;
  place-items: center;
}

.profile-circle {
  position: relative;
  width: 275px;
  height: 275px;
  border-radius: 50%;
  background: #fffaf6;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(90, 68, 59, 0.14);
}

.profile-circle span {
  font-family: "DM Serif Display", serif;
  font-size: 4.5rem;
  color: #7b5b4d;
}

.profile-circle img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 1.4rem;
  background: rgba(255, 250, 246, 0.9);
  box-shadow: 0 14px 30px rgba(90, 68, 59, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  opacity: 0.85;
  animation: float 5s ease-in-out infinite;
}

.card-one {
  top: 4.2rem;
  right: 5.5rem;
}

.card-two {
  bottom: 6rem;
  left: 5rem;
  animation-delay: 0.6s;
}

.card-three {
  top: 8rem;
  left: 3.5rem;
  animation-delay: 1s;
}

.card-four {
  bottom: 5rem;
  right: 5rem;
  animation-delay: 1.4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-text {
  max-width: 650px;
}

.small-label {
  color: #a76655;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(3.6rem, 5.6vw, 6.2rem);
  line-height: 0.92;
  margin: 0 0 1.1rem;
}

.hero h2 {
  max-width: 620px;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.7rem, 2.5vw, 2.65rem);
  line-height: 1.28;
  font-weight: 400;
  color: #4d3b33;
  margin: 0 0 1.3rem;
  letter-spacing: -0.03em;
}

.hero h2 span {
  color: #a76655;
  font-weight: 600;
}

.hero-text p {
  max-width: 610px;
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn.primary {
  background: #5a443b;
  color: white;
  box-shadow: 0 14px 28px rgba(90, 68, 59, 0.18);
}

.btn.primary:hover {
  background: #3f302a;
  transform: translateY(-2px);
}

.btn.secondary {
  border: 1px solid rgba(90, 68, 59, 0.35);
  color: #4d3b33;
  background: rgba(255, 250, 246, 0.5);
}

.btn.secondary:hover {
  background: #fffaf6;
  transform: translateY(-2px);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: #a76655;
  font-weight: 800;
}

/* Shared sections */
.section-block {
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 5rem 2rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 4rem;
}

.section-heading h2,
.section-title h2,
.page-hero h1,
.contact h2 {
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.95;
  margin: 0;
}

.section-heading p,
.page-hero p {
  font-size: 1.05rem;
}

/* Home previews */
.home-about-preview {
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  background: #fffaf6;
}

.home-about-preview h2 {
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.95;
  margin: 0;
}

.home-work-preview {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.preview-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  background: #fffaf6;
  border-radius: 2.5rem;
  box-shadow: 0 24px 70px rgba(90, 68, 59, 0.08);
}

.preview-image {
  min-height: 320px;
  overflow: hidden;
  border-radius: 2rem;
  background: #eadbd0;
}

.preview-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.preview-content h3 {
  font-size: clamp(2.3rem, 3.5vw, 4rem);
  line-height: 0.95;
  margin: 0 0 1.2rem;
}

/* Page hero */
.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
}

.page-hero p {
  max-width: 760px;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
}

/* About page */
.about-story {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 5rem;
  align-items: start;
  background: #fffaf6;
}

.about-content p {
  font-size: 1.05rem;
}

.skill-pills {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-pills span {
  background: #f7f1ec;
  color: #5a443b;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Profile summary */
.profile-summary {
  background: #fffaf6;
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 5rem 2rem;
}

.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 5rem;
}

.profile-detail h3 {
  margin: 0 0 1rem;
  font-family: "Inter", sans-serif;
  color: #a76655;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-detail p {
  margin: 0 0 0.9rem;
  color: #4d3b33;
  font-size: 1rem;
  line-height: 1.55;
}

.profile-detail p span {
  display: block;
  color: #8a6658;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.fun-detail {
  grid-column: 1 / -1;
}

.fun-detail p {
  display: inline-block;
  margin: 0 0.6rem 0.8rem 0;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #f7f1ec;
  box-shadow: 0 10px 24px rgba(90, 68, 59, 0.06);
}

/* Work page */
.work {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.project-list {
  display: grid;
  gap: 3rem;
}

.project-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  background: #fffaf6;
  border-radius: 2.5rem;
  box-shadow: 0 24px 70px rgba(90, 68, 59, 0.08);
  overflow: hidden;
}

.project-card.reverse .project-image {
  order: 2;
}

.project-card.reverse .project-info {
  order: 1;
}

.project-image {
  width: 100%;
  min-width: 0;
  min-height: 320px;
  overflow: hidden;
  border-radius: 2rem;
  background: #eadbd0;
}

.project-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  transition: 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-info {
  min-width: 0;
}

.project-category {
  color: #a76655;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.project-info h3 {
  font-size: clamp(2.3rem, 3.5vw, 4rem);
  line-height: 0.95;
  margin: 0 0 1.2rem;
}

.project-info > p {
  margin-bottom: 1rem;
}

.project-problem,
.project-takeaway {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #f7f1ec;
  color: #5a443b;
  font-size: 0.95rem;
  line-height: 1.7;
}

.project-problem strong,
.project-takeaway strong {
  color: #4d3b33;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.project-meta span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(167, 102, 85, 0.1);
  color: #7b4d40;
  font-size: 0.76rem;
  font-weight: 700;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}

.project-links a {
  background: #5a443b;
  color: white;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.project-links a:hover {
  background: #3f302a;
}

/* Contact */
.contact {
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 4rem;
  align-items: center;
  background: #ece2dc;
}

.contact-visual {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.75);
  display: grid;
  place-items: center;
  font-size: 5.5rem;
  box-shadow: 0 20px 55px rgba(90, 68, 59, 0.12);
  margin: 0 auto;
}

.contact-text p {
  max-width: 620px;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  color: #5a443b;
}

.footer h3 {
  margin: 0;
  font-size: 2rem;
}

.footer-nav,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a,
.socials a {
  color: #5a443b;
  font-size: 0.9rem;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(90, 68, 59, 0.15);
  color: #9a705f;
  font-size: 0.85rem;
}

/* Responsive */
@media screen and (max-width: 1100px) {
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card.reverse .project-image,
  .project-card.reverse .project-info {
    order: initial;
  }

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

@media screen and (max-width: 980px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }

  .hero,
  .home-about-preview,
  .preview-card,
  .about-story,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-illustration {
    order: 2;
  }

  .hero-text {
    order: 1;
    text-align: center;
    margin: 0 auto;
  }

  .hero h1,
  .hero h2,
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .profile-summary-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .site-header {
    padding: 1.2rem;
  }

  .nav-links {
    gap: 0.9rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero h2 {
    font-size: 1.45rem;
  }

  .hero-illustration {
    min-height: 380px;
  }

  .blob {
    width: 320px;
    height: 320px;
  }

  .profile-wrapper {
    width: 230px;
    height: 230px;
  }

  .profile-circle {
    width: 190px;
    height: 190px;
  }

  .floating-card {
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.3rem;
  }

  .home-about-preview,
  .home-work-preview,
  .about-story,
  .work,
  .profile-summary,
  .contact,
  .page-hero {
    padding: 3rem 1.2rem;
  }

  .section-heading h2,
  .section-title h2,
  .page-hero h1,
  .home-about-preview h2,
  .contact h2 {
    font-size: 3rem;
  }

  .preview-card,
  .project-card {
    padding: 1.2rem;
    border-radius: 1.8rem;
  }

  .preview-image,
  .preview-image img,
  .project-image,
  .project-image img {
    min-height: 240px;
  }

  .contact-visual {
    width: 160px;
    height: 160px;
    font-size: 4rem;
  }
}
/* ================================
   Homepage work invitation section
================================ */

.work-invite {
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 5rem 2rem;
  min-height: 540px;
  border-radius: 0;
  background: #8a6658;
  color: #fffaf6;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.work-invite::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.08);
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
}

.work-invite-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.work-invite .small-label {
  color: #f3ded2;
}

.work-invite h2 {
  color: #fffaf6;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.98;
  margin: 0 0 1rem;
}

.work-invite p {
  max-width: 850px;
  margin: 0 auto 2rem;
  color: #fffaf6;
  font-size: 1.05rem;
}

.work-invite .btn.secondary {
  color: #fffaf6;
  border-color: rgba(255, 250, 246, 0.8);
  background: transparent;
}

.work-invite .btn.secondary:hover {
  background: rgba(255, 250, 246, 0.12);
}

.work-invite-illustration {
  position: relative;
  z-index: 2;
  width: min(520px, 90%);
  min-height: 260px;
  margin-top: 2rem;
  display: grid;
  place-items: center;
}

.laptop-card {
  position: relative;
  width: 300px;
}

.laptop-screen {
  width: 260px;
  height: 160px;
  margin: 0 auto;
  border-radius: 1.2rem;
  background: #4d3b33;
  border: 8px solid #fffaf6;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 45px rgba(40, 25, 20, 0.22);
}

.search-bar {
  width: 155px;
  height: 44px;
  border-radius: 0.65rem;
  background: #fffaf6;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.8rem;
}

.search-bar span {
  font-size: 1rem;
}

.search-bar div {
  height: 10px;
  flex: 1;
  border-radius: 999px;
  background: #eadbd0;
}

.laptop-base {
  width: 320px;
  height: 28px;
  margin: -2px auto 0;
  border-radius: 0 0 1.2rem 1.2rem;
  background: #d8ecec;
  box-shadow: 0 14px 25px rgba(40, 25, 20, 0.15);
}

.desk-lamp,
.plant {
  position: absolute;
  font-size: 4.5rem;
  filter: drop-shadow(0 15px 18px rgba(40, 25, 20, 0.15));
}

.desk-lamp {
  left: 0;
  top: 70px;
  transform: rotate(-8deg);
}

.plant {
  right: 5px;
  top: 80px;
}

@media screen and (max-width: 640px) {
  .work-invite {
    min-height: auto;
    padding: 4rem 1.2rem;
  }

  .work-invite h2 {
    font-size: 3rem;
  }

  .work-invite-illustration {
    min-height: 220px;
  }

  .laptop-card {
    width: 240px;
  }

  .laptop-screen {
    width: 220px;
    height: 135px;
  }

  .laptop-base {
    width: 250px;
  }

  .desk-lamp,
  .plant {
    font-size: 3.2rem;
  }
}
/* ================================
   Mobile hero refinement
================================ */

@media screen and (max-width: 640px) {
  .site-header {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }

  .logo {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.1rem;
  }

  .nav-links {
    gap: 0.8rem;
    row-gap: 0.5rem;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 2.85rem;
    line-height: 0.95;
  }

  .hero h2 {
    font-size: 1.3rem;
    line-height: 1.35;
  }

  .hero-text p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .small-label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }

  .hero-illustration {
    min-height: 320px;
  }

  .blob {
    width: 270px;
    height: 270px;
  }

  .profile-wrapper {
    width: 200px;
    height: 200px;
  }

  .profile-circle {
    width: 165px;
    height: 165px;
  }

  .floating-card {
    width: 3rem;
    height: 3rem;
    font-size: 1.1rem;
  }
}
/* ================================
   Extra-small mobile project card polish
================================ */

@media screen and (max-width: 430px) {
  .work {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .project-list {
    gap: 2rem;
  }

  .project-card {
    padding: 1.4rem;
    border-radius: 1.6rem;
  }

  .project-image {
    min-height: 210px;
    border-radius: 1.3rem;
  }

  .project-image img {
    min-height: 210px;
  }

  .project-category {
    font-size: 0.68rem;
    line-height: 1.5;
    letter-spacing: 0.14em;
  }

  .project-info h3 {
    font-size: 2.35rem;
    line-height: 0.98;
  }

  .project-problem,
  .project-takeaway {
    padding: 0.9rem;
    font-size: 0.9rem;
  }

  .project-info > p {
    font-size: 0.94rem;
  }

  .project-meta span {
    font-size: 0.7rem;
  }

  .project-links a {
    width: 100%;
    text-align: center;
  }
}
/* ================================
   About page mobile polish
================================ */

@media screen and (max-width: 430px) {
  .about-hero {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .about-hero h1 {
    font-size: 2.75rem;
    line-height: 0.98;
  }

  .about-hero p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .about-story {
    gap: 1.8rem;
  }

  .about-story .section-title h2 {
    font-size: 2.8rem;
  }

  .profile-summary-grid {
    gap: 2.4rem;
  }

  .profile-detail h3 {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
  }

  .profile-detail p {
    font-size: 0.94rem;
  }

  .fun-detail p {
    font-size: 0.88rem;
  }
}
/* ================================
   Polliana-inspired page CTA sections - improved
================================ */

.page-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 2rem;
  min-height: 430px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* About page CTA: soft beige band */
.about-cta {
  background: #e8ddd5;
}

/* Work page CTA: warm brown band */
.work-cta {
  background: #8a6658;
  color: #fffaf6;
}

.cta-emoji {
  width: 210px;
  height: 210px;
  margin: 0 auto;
  border-radius: 44% 56% 52% 48%;
  background: rgba(255, 250, 246, 0.62);
  display: grid;
  place-items: center;
  font-size: 5.2rem;
  box-shadow: 0 24px 60px rgba(90, 68, 59, 0.12);
}

.cta-content {
  max-width: 720px;
}

.cta-content .small-label {
  margin-bottom: 1.1rem;
}

.cta-content h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.cta-content p {
  max-width: 720px;
  margin-bottom: 2rem;
  font-size: 1.08rem;
  line-height: 1.8;
}

.work-cta h2,
.work-cta p {
  color: #fffaf6;
}

.work-cta .small-label {
  color: #f3ded2;
}

.work-cta .btn.secondary {
  color: #fffaf6;
  border-color: rgba(255, 250, 246, 0.8);
  background: transparent;
}

.work-cta .btn.secondary:hover {
  background: rgba(255, 250, 246, 0.12);
}

.about-cta .btn.secondary {
  color: #4d3b33;
  border-color: rgba(77, 59, 51, 0.45);
  background: transparent;
}

.about-cta .btn.secondary:hover {
  background: rgba(255, 250, 246, 0.45);
}

/* Footer spacing after CTA */
.page-cta + .footer {
  margin-top: 0;
  padding-top: 4rem;
  background: #f7f1ec;
}

/* Mobile */
@media screen and (max-width: 800px) {
  .page-cta {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 1.5rem;
    text-align: center;
  }

  .cta-content {
    margin: 0 auto;
  }

  .cta-emoji {
    width: 160px;
    height: 160px;
    font-size: 4rem;
  }
}

@media screen and (max-width: 430px) {
  .page-cta {
    padding: 3.5rem 1.2rem;
  }

  .cta-content h2 {
    font-size: 2.8rem;
  }

  .cta-content p {
    font-size: 0.95rem;
  }
}
/* ================================
   Desktop readability polish
================================ */

@media screen and (min-width: 981px) {
  p {
    font-size: 1.08rem;
    line-height: 1.9;
  }

  .hero-text p {
    font-size: 1.12rem;
    line-height: 1.85;
  }

  .home-about-preview p,
  .about-content p,
  .section-heading p,
  .page-hero p,
  .project-info > p,
  .contact-text p,
  .cta-content p {
    font-size: 1.08rem;
    line-height: 1.85;
  }

  .nav-links a {
    font-size: 1.03rem;
  }

  .btn {
    font-size: 0.95rem;
  }

  .project-problem,
  .project-takeaway {
    font-size: 1rem;
    line-height: 1.75;
  }

  .profile-detail p {
    font-size: 1.04rem;
  }

  .footer p,
  .footer-nav a,
  .socials a {
    font-size: 1rem;
  }
}
/* ================================
   Stronger desktop readability polish
================================ */

@media screen and (min-width: 981px) {
  body {
    font-size: 20px;
  }

  p {
    font-size: 1.12rem;
    line-height: 1.9;
  }

  .project-info > p {
    font-size: 1.12rem;
    line-height: 1.9;
  }

  .project-problem,
  .project-takeaway {
    font-size: 1.08rem;
    line-height: 1.85;
    padding: 1.15rem 1.25rem;
  }

  .project-category {
    font-size: 0.88rem;
  }

  .project-meta span {
    font-size: 0.82rem;
    padding: 0.65rem 0.95rem;
  }

  .project-links a,
  .btn {
    font-size: 0.95rem;
    padding: 0.95rem 1.45rem;
  }

  .page-hero p,
  .section-heading p,
  .home-about-preview p,
  .about-content p,
  .cta-content p,
  .contact-text p {
    font-size: 1.12rem;
    line-height: 1.9;
  }
}/* ================================
   Big My Story visual icon
================================ */

.story-title-block {
  position: relative;
}

.big-story-icon {
  margin-top: 2.5rem;
  width: 220px;
  height: 220px;
  border-radius: 48% 52% 45% 55%;
  background: linear-gradient(135deg, #f0dfd4, #d8b8a7);
  display: grid;
  place-items: center;
  font-size: 6rem;
  box-shadow: 0 28px 70px rgba(90, 68, 59, 0.12);
}

@media screen and (max-width: 900px) {
  .big-story-icon {
    width: 160px;
    height: 160px;
    font-size: 4.5rem;
  }
}
/* =========================
   ABOUT PAGE POLLIANA-STYLE FIX
========================= */

.about-story-section {
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 4.5rem 3.2rem;
  background: #fbf7f3;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.about-story-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-story-left h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #4d3b33;
  margin: 0;
  max-width: 440px;
}

.about-story-right p {
  font-size: 1.14rem;
  line-height: 1.9;
  color: #5d4b43;
  margin: 0 0 1.5rem;
  max-width: 650px;
}

.story-illustration-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  margin-top: 1rem;
}

.story-illustration-bg {
  position: absolute;
  width: 260px;
  height: 260px;
  left: 18px;
  bottom: 10px;
  background: #ead8cb;
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(90, 68, 59, 0.1);
}

.story-illustration {
  position: absolute;
  left: -5px;
  bottom: 0;
  width: 310px;
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 22px 30px rgba(80, 55, 40, 0.16));
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.about-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #f3ede8;
  color: #5a463d;
  font-size: 0.95rem;
  font-weight: 600;
}

.section-eyebrow {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #a06e5d;
  margin: 0 0 0.8rem;
}

/* About CTA with girly illustration */
.about-cta-section {
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 4.5rem 3.2rem;
  background: #f2ece7;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.about-cta-text h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #4d3b33;
  margin: 0 0 1rem;
  max-width: 640px;
}

.about-cta-text p:not(.section-eyebrow) {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #5d4b43;
  max-width: 620px;
  margin-bottom: 1.8rem;
}

.about-cta-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-cta-image {
  width: min(100%, 430px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(80, 55, 40, 0.16));
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.45rem;
  border: 1px solid #c8b6aa;
  border-radius: 999px;
  text-decoration: none;
  color: #4d3b33;
  font-weight: 700;
  background: transparent;
  transition: all 0.2s ease;
}

.secondary-button:hover {
  background: #4d3b33;
  color: #fff;
  border-color: #4d3b33;
}

/* Hide older illustration wrappers if they still exist in CSS */
.big-story-icon,
.big-story-illustration,
.cta-image {
  display: none;
}

/* Responsive */
@media screen and (max-width: 980px) {
  .about-story-section,
  .about-cta-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 2rem;
  }

  .about-story-left h2,
  .about-cta-text h2 {
    max-width: 100%;
  }

  .story-illustration-wrap {
    width: 290px;
    height: 290px;
  }

  .story-illustration-bg {
    width: 220px;
    height: 220px;
  }

  .story-illustration {
    width: 245px;
  }

  .about-cta-visual {
    justify-content: flex-start;
  }

  .about-cta-image {
    width: min(100%, 330px);
  }
}

@media screen and (max-width: 640px) {
  .about-story-section,
  .about-cta-section {
    padding: 2.2rem 1.2rem;
    border-radius: 22px;
  }

  .about-story-left h2,
  .about-cta-text h2 {
    font-size: 2.7rem;
  }

  .about-story-right p,
  .about-cta-text p:not(.section-eyebrow) {
    font-size: 1rem;
    line-height: 1.75;
  }

  .story-illustration-wrap {
    width: 230px;
    height: 230px;
  }

  .story-illustration-bg {
    width: 175px;
    height: 175px;
  }

  .story-illustration {
    width: 205px;
  }

  .about-cta-image {
    width: min(100%, 280px);
  }
}
/* =========================
   WORK PAGE CTA POLISH
========================= */

.work-cta-section {
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 4.5rem 3.2rem;
  background: #8a6658;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
}

.work-cta-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.work-cta-image {
  width: min(100%, 330px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(40, 25, 20, 0.2));
}

.work-cta-text h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fffaf6;
  margin: 0 0 1rem;
  max-width: 680px;
}

.work-cta-text p:not(.section-eyebrow) {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #fffaf6;
  max-width: 620px;
  margin-bottom: 1.8rem;
}

.work-cta-text .section-eyebrow {
  color: #f3ded2;
}

.light-button {
  color: #fffaf6;
  border-color: rgba(255, 250, 246, 0.85);
}

.light-button:hover {
  background: #fffaf6;
  color: #5a443b;
  border-color: #fffaf6;
}

@media screen and (max-width: 980px) {
  .work-cta-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 2rem;
  }

  .work-cta-image {
    width: min(100%, 260px);
  }
}

@media screen and (max-width: 640px) {
  .work-cta-section {
    padding: 2.2rem 1.2rem;
    border-radius: 22px;
  }

  .work-cta-text h2 {
    font-size: 2.7rem;
  }

  .work-cta-text p:not(.section-eyebrow) {
    font-size: 1rem;
    line-height: 1.75;
  }

  .work-cta-image {
    width: min(100%, 230px);
  }
}
/* ================================
   Cleaner homepage about preview
================================ */

.about-preview-clean {
  align-items: start;
}

.about-preview-left h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  line-height: 1;
  max-width: 520px;
}

.about-preview-right p {
  font-size: 1.12rem;
  line-height: 1.85;
}

.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 0.8rem;
}

.mini-points span {
  display: inline-flex;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #f7f1ec;
  color: #5a443b;
  font-size: 0.9rem;
  font-weight: 700;
}

@media screen and (max-width: 640px) {
  .about-preview-left h2 {
    font-size: 2.6rem;
  }

  .about-preview-right p {
    font-size: 1rem;
  }
}
/* ================================
   Wider desktop hero layout
================================ */

@media screen and (min-width: 981px) {
  .site-header {
    max-width: 1320px;
  }

  .hero {
    max-width: 1360px;
    min-height: 88vh;
    padding-left: 3rem;
    padding-right: 3rem;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }

  .hero-illustration {
    justify-content: center;
  }

  .hero-text {
    max-width: 680px;
  }

  .home-about-preview,
  .home-work-preview,
  .work-invite,
  .section-block,
  .page-hero,
  .work,
  .profile-summary,
  .about-story-section,
  .about-cta-section,
  .work-cta-section,
  .contact,
  .footer {
    max-width: 1280px;
  }
}
/* ================================
   Wider desktop hero layout
================================ */

@media screen and (min-width: 981px) {
  .site-header {
    max-width: 1320px;
  }

  .hero {
    max-width: 1360px;
    min-height: 88vh;
    padding-left: 3rem;
    padding-right: 3rem;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }

  .hero-illustration {
    justify-content: center;
  }

  .hero-text {
    max-width: 680px;
  }

  .home-about-preview,
  .home-work-preview,
  .work-invite,
  .section-block,
  .page-hero,
  .work,
  .profile-summary,
  .about-story-section,
  .about-cta-section,
  .work-cta-section,
  .contact,
  .footer {
    max-width: 1280px;
  }
}
/* ================================
   Polliana-inspired homepage about section
================================ */

.home-about-polliana {
  width: min(100%, 1320px);
  margin: 0 auto 5rem;
  padding: 5.5rem 4rem;
  background: #fffaf6;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.home-about-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 420px;
}

.home-about-visual img {
  width: min(100%, 430px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(90, 68, 59, 0.16));
}

.home-about-copy h2 {
  font-size: clamp(4rem, 6vw, 6.6rem);
  line-height: 0.95;
  margin: 0 0 1.5rem;
  max-width: 760px;
}

.home-about-copy p {
  max-width: 720px;
  font-size: 1.35rem;
  line-height: 1.75;
  color: #6b5a52;
  margin: 0 0 1.2rem;
}

.home-about-copy .btn {
  margin-top: 1.2rem;
}

/* Make homepage feel wider on desktop */
@media screen and (min-width: 981px) {
  .site-header {
    max-width: 1320px;
  }

  .hero {
    max-width: 1320px;
    padding-left: 4rem;
    padding-right: 4rem;
    gap: 5.5rem;
  }

  .hero-text {
    max-width: 720px;
  }

  .hero-text p {
    font-size: 1.16rem;
  }

  .hero-buttons .btn,
  .home-about-copy .btn,
  .work-invite .btn,
  .contact .btn {
    cursor: pointer;
  }

  .btn:hover {
    transform: translateY(-2px);
  }

  .btn:active {
    transform: translateY(0);
  }
}

/* Tablet */
@media screen and (max-width: 980px) {
  .home-about-polliana {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 2rem;
    text-align: left;
  }

  .home-about-visual {
    min-height: auto;
    justify-content: flex-start;
  }

  .home-about-visual img {
    width: min(100%, 330px);
  }

  .home-about-copy h2 {
    font-size: 4rem;
  }

  .home-about-copy p {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media screen and (max-width: 640px) {
  .home-about-polliana {
    padding: 3rem 1.2rem;
    margin-bottom: 3rem;
  }

  .home-about-visual img {
    width: min(100%, 270px);
  }

  .home-about-copy h2 {
    font-size: 3.2rem;
  }

  .home-about-copy p {
    font-size: 1rem;
    line-height: 1.75;
  }
}
/* ================================
   Full-width section layout polish
   Makes sections feel like Polliana's
================================ */

/* Remove boxed feeling from homepage sections */
.home-about-polliana,
.work-invite,
.contact {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
}

/* Keep content inside sections nicely aligned */
.home-about-polliana {
  padding-left: max(4rem, calc((100vw - 1320px) / 2 + 4rem));
  padding-right: max(4rem, calc((100vw - 1320px) / 2 + 4rem));
}

.work-invite {
  padding-left: max(4rem, calc((100vw - 1320px) / 2 + 4rem));
  padding-right: max(4rem, calc((100vw - 1320px) / 2 + 4rem));
}

.contact {
  padding-left: max(4rem, calc((100vw - 1320px) / 2 + 4rem));
  padding-right: max(4rem, calc((100vw - 1320px) / 2 + 4rem));
}

/* Make footer feel less boxed too */
.footer {
  max-width: none;
  width: 100%;
  padding-left: max(4rem, calc((100vw - 1320px) / 2 + 4rem));
  padding-right: max(4rem, calc((100vw - 1320px) / 2 + 4rem));
}

/* Optional: make hero feel wider too */
@media screen and (min-width: 981px) {
  .hero {
    max-width: 1320px;
  }
}

/* Tablet/mobile spacing */
@media screen and (max-width: 980px) {
  .home-about-polliana,
  .work-invite,
  .contact,
  .footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media screen and (max-width: 640px) {
  .home-about-polliana,
  .work-invite,
  .contact,
  .footer {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}
/* ================================
   Bigger homepage about section
================================ */

@media screen and (min-width: 981px) {
  .home-about-polliana {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
    gap: 6.5rem;
  }

  .home-about-visual img {
    width: min(100%, 520px);
  }

  .home-about-copy h2 {
    font-size: clamp(5rem, 7vw, 7.8rem);
    line-height: 0.92;
    margin-bottom: 1.8rem;
  }

  .home-about-copy p {
    font-size: 1.45rem;
    line-height: 1.75;
    max-width: 760px;
  }

  .home-about-copy .btn {
    font-size: 1rem;
    padding: 1rem 1.55rem;
    margin-top: 1.4rem;
  }
}
/* ================================
   FULL HOMEPAGE SCALE + WIDTH FIX
   Makes the page feel less boxed and closer to Polliana's flow
================================ */

/* Make major homepage sections cut across the page */
.hero,
.home-about-polliana,
.work-invite,
.contact {
  width: 100%;
  max-width: none;
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Keep the content aligned inside full-width sections */
@media screen and (min-width: 981px) {
  .hero {
    min-height: 88vh;
    padding: 6rem max(5rem, calc((100vw - 1400px) / 2 + 5rem));
    grid-template-columns: 1fr 1fr;
    gap: 6.5rem;
  }

  .home-about-polliana,
  .work-invite,
  .contact {
    padding-left: max(5rem, calc((100vw - 1400px) / 2 + 5rem));
    padding-right: max(5rem, calc((100vw - 1400px) / 2 + 5rem));
  }

  /* HERO: bigger image + bigger text */
  .blob {
    width: 430px;
    height: 430px;
  }

  .profile-wrapper {
    width: 335px;
    height: 335px;
  }

  .profile-circle {
    width: 255px;
    height: 255px;
  }

  .floating-card {
    width: 4.4rem;
    height: 4.4rem;
    font-size: 1.45rem;
  }

  .hero-text {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(5.4rem, 7vw, 8.2rem);
    line-height: 0.92;
  }

  .hero h2 {
    font-size: clamp(2.2rem, 2.8vw, 3.3rem);
    line-height: 1.18;
  }

  .hero-text p {
    font-size: 1.28rem;
    line-height: 1.85;
    max-width: 680px;
  }

  /* ABOUT SECTION: bigger + full flow */
  .home-about-polliana {
    padding-top: 7rem;
    padding-bottom: 7rem;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 7rem;
  }

  .home-about-visual {
    min-height: 520px;
  }

  .home-about-visual img {
    width: min(100%, 560px);
    border-radius: 2rem;
  }

  .home-about-copy h2 {
    font-size: clamp(5.8rem, 7.5vw, 8.8rem);
    line-height: 0.9;
  }

  .home-about-copy p {
    font-size: 1.45rem;
    line-height: 1.8;
    max-width: 760px;
  }

  /* WORK SECTION: bigger text + bigger visual */
  .work-invite {
    min-height: 680px;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .work-invite h2 {
    font-size: clamp(5rem, 7vw, 8rem);
    line-height: 0.92;
    max-width: 1050px;
  }

  .work-invite p {
    font-size: 1.32rem;
    line-height: 1.8;
    max-width: 920px;
  }

  .work-invite-illustration {
    min-height: 330px;
  }

  .laptop-card {
    transform: scale(1.18);
  }

  .desk-lamp,
  .plant {
    font-size: 5.5rem;
  }

  /* CONTACT SECTION: bigger + less tiny */
  .contact {
    padding-top: 7rem;
    padding-bottom: 7rem;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 6rem;
  }

  .contact-visual {
    width: 310px;
    height: 310px;
  }

  .contact-text h2 {
    font-size: clamp(5rem, 6.8vw, 8rem);
    line-height: 0.92;
    max-width: 900px;
  }

  .contact-text p {
    font-size: 1.32rem;
    line-height: 1.85;
    max-width: 760px;
  }

  .small-label {
    font-size: 0.95rem;
    letter-spacing: 0.24em;
  }

  .btn {
    font-size: 1.05rem;
    padding: 1.05rem 1.65rem;
  }
}

/* Tablet: still spacious but controlled */
@media screen and (max-width: 980px) {
  .hero,
  .home-about-polliana,
  .work-invite,
  .contact {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .home-about-polliana,
  .contact {
    grid-template-columns: 1fr;
  }

  .home-about-visual {
    justify-content: flex-start;
  }
}

/* Mobile: readable and not cramped */
@media screen and (max-width: 640px) {
  .hero,
  .home-about-polliana,
  .work-invite,
  .contact {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .hero h1,
  .home-about-copy h2,
  .work-invite h2,
  .contact-text h2 {
    font-size: 3.2rem;
  }

  .hero-text p,
  .home-about-copy p,
  .work-invite p,
  .contact-text p {
    font-size: 1rem;
  }
}
/* ================================
   FINAL HOMEPAGE SCALE FIX
   Softer Polliana-style sizing
================================ */

@media screen and (min-width: 981px) {
  /* Keep sections full width, but stop them from becoming huge */
  .hero,
  .home-about-polliana,
  .work-invite,
  .contact {
    width: 100%;
    max-width: none;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .hero {
    min-height: 760px;
    padding: 5rem max(4rem, calc((100vw - 1180px) / 2 + 4rem));
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
  }

  .home-about-polliana,
  .work-invite,
  .contact {
    padding-left: max(4rem, calc((100vw - 1180px) / 2 + 4rem));
    padding-right: max(4rem, calc((100vw - 1180px) / 2 + 4rem));
  }

  /* HERO scale */
  .blob {
    width: 340px;
    height: 340px;
  }

  .profile-wrapper {
    width: 270px;
    height: 270px;
  }

  .profile-circle {
    width: 210px;
    height: 210px;
  }

  .floating-card {
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.15rem;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 5.2vw, 6rem);
    line-height: 0.95;
  }

  .hero h2 {
    font-size: clamp(1.75rem, 2.2vw, 2.35rem);
    line-height: 1.25;
  }

  .hero-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 560px;
  }

  /* ABOUT section */
  .home-about-polliana {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
  }

  .home-about-visual {
    min-height: 390px;
  }

  .home-about-visual img {
    width: min(100%, 390px);
    border-radius: 1.6rem;
    box-shadow: 0 24px 60px rgba(90, 68, 59, 0.1);
  }

  .home-about-copy h2 {
    font-size: clamp(3.8rem, 5vw, 5.8rem);
    line-height: 0.96;
    margin-bottom: 1.3rem;
    max-width: 640px;
  }

  .home-about-copy p {
    font-size: 1.12rem;
    line-height: 1.75;
    max-width: 620px;
  }

  /* WORK invite */
  .work-invite {
    min-height: 580px;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .work-invite h2 {
    font-size: clamp(3.8rem, 5vw, 5.8rem);
    line-height: 0.96;
    max-width: 850px;
  }

  .work-invite p {
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 760px;
  }

  .work-invite-illustration {
    min-height: 260px;
  }

  .laptop-card {
    transform: scale(1);
  }

  .desk-lamp,
  .plant {
    font-size: 4.2rem;
  }

  /* CONTACT */
  .contact {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4.5rem;
  }

  .contact-visual {
    width: 240px;
    height: 240px;
  }

  .contact-text h2 {
    font-size: clamp(3.6rem, 4.8vw, 5.5rem);
    line-height: 0.98;
    max-width: 680px;
  }

  .contact-text p {
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 620px;
  }

  .small-label {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
  }

  .btn {
    font-size: 0.92rem;
    padding: 0.9rem 1.35rem;
  }
}
/* ================================
   Better full-width contact layout
   Wider text like Polliana's sections
================================ */

@media screen and (min-width: 981px) {
  .contact {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 5rem;
    padding-top: 5.8rem;
    padding-bottom: 5.8rem;
  }

  .contact-visual {
    justify-self: center;
    width: 340px;
    height: 340px;
  }

  .contact-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .contact-text {
    max-width: 780px;
  }

  .contact-text h2 {
    max-width: 780px;
    font-size: clamp(3.7rem, 4.8vw, 5.7rem);
    line-height: 1;
  }

  .contact-text p {
    max-width: 720px;
    font-size: 1.16rem;
    line-height: 1.8;
  }
}
/* ==========================================
   FORCE FULLER HOMEPAGE LAYOUT
   Put this at the VERY bottom of custom.css
========================================== */

@media screen and (min-width: 981px) {

  /* make homepage sections use the page properly */
  .hero,
  .home-about-polliana,
  .work-invite,
  .contact {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0 !important;
  }

  /* hero spacing */
  .hero {
    min-height: 760px !important;
    padding: 5rem 8rem !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5rem !important;
    align-items: center !important;
  }

  /* about section like Polliana: image left, text right, wide section */
  .home-about-polliana {
    padding: 6rem 8rem !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5.5rem !important;
    align-items: center !important;
    background: #fffaf6 !important;
  }

  .home-about-visual {
    min-height: 440px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .home-about-visual img {
    width: 470px !important;
    max-width: 100% !important;
  }

  .home-about-copy {
    max-width: 680px !important;
  }

  .home-about-copy h2 {
    font-size: 5.2rem !important;
    line-height: 0.95 !important;
    max-width: 650px !important;
    margin-bottom: 1.5rem !important;
  }

  .home-about-copy p {
    font-size: 1.25rem !important;
    line-height: 1.8 !important;
    max-width: 640px !important;
  }

  /* work section */
  .work-invite {
    padding: 6rem 8rem !important;
    min-height: 620px !important;
    background: #956f61 !important;
  }

  .work-invite h2 {
    font-size: 5rem !important;
    line-height: 0.96 !important;
    max-width: 900px !important;
  }

  .work-invite p {
    font-size: 1.2rem !important;
    max-width: 780px !important;
    line-height: 1.75 !important;
  }

  /* contact section */
  .contact {
    padding: 6rem 8rem !important;
    display: grid !important;
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 5rem !important;
    align-items: center !important;
  }

  .contact-visual {
    width: 330px !important;
    height: 330px !important;
    justify-self: center !important;
  }

  .contact-text {
    max-width: 760px !important;
  }

  .contact-text h2 {
    font-size: 4.8rem !important;
    line-height: 1 !important;
    max-width: 760px !important;
  }

  .contact-text p {
    font-size: 1.18rem !important;
    line-height: 1.8 !important;
    max-width: 700px !important;
  }
}
/* ==========================================
   FINAL COFFEE LOGO FIX
   Makes the coffee icon bigger and less boxed
========================================== */

.image-logo {
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  background: #fffaf6 !important;
  box-shadow: 0 12px 26px rgba(90, 68, 59, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.image-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.9) !important;
  border-radius: 50% !important;
  background: transparent !important;
}

/* Footer coffee icon beside Olamide Bankole */
.footer-brand {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
}

.footer-brand img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  transform: scale(1.65) !important;
  border-radius: 50% !important;
  background: #fffaf6 !important;
  box-shadow: 0 12px 26px rgba(90, 68, 59, 0.12) !important;
}

/* Make sure the header does not squeeze the logo */
.site-header .logo {
  flex-shrink: 0 !important;
}

/* Mobile */
@media screen and (max-width: 640px) {
  .image-logo {
    width: 50px !important;
    height: 50px !important;
  }

  .image-logo img {
    transform: scale(1.9) !important;
  }

  .footer-brand img {
    width: 52px !important;
    height: 52px !important;
  }
}
/* ==========================================
   Footer coffee icon spacing fix
========================================== */

.footer-brand {
  display: flex !important;
  align-items: center !important;
  gap: 1.35rem !important;
}

.footer-brand img {
  width: 54px !important;
  height: 54px !important;
  object-fit: cover !important;
  transform: scale(1.35) !important;
  border-radius: 50% !important;
  background: #fffaf6 !important;
  box-shadow: 0 10px 22px rgba(90, 68, 59, 0.1) !important;
  flex-shrink: 0 !important;
}

.footer-brand h3 {
  margin: 0 0 0.4rem !important;
  line-height: 1.1 !important;
}

.footer-brand p {
  margin: 0 !important;
  max-width: 360px !important;
}

/* Keep header logo bigger, but footer logo controlled */
.image-logo img {
  transform: scale(1.85) !important;
}
/* ==========================================
   FULL-WIDTH ABOUT + WORK PAGES
   Makes About and Work match homepage flow
========================================== */

@media screen and (min-width: 981px) {

  /* Make About/Work main sections cut across the full browser width */
  .page-hero,
  .about-story-section,
  .profile-summary,
  .about-cta-section,
  .work,
  .work-cta-section {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0 !important;
  }

  /* ABOUT PAGE HERO */
  .page-hero {
    padding: 7rem max(7rem, calc((100vw - 1240px) / 2 + 4rem)) 6rem !important;
    background: #f7f1ec !important;
  }

  .page-hero h1 {
    max-width: 900px !important;
    font-size: clamp(4.3rem, 5.8vw, 7rem) !important;
    line-height: 0.95 !important;
  }

  .page-hero p:not(.small-label) {
    max-width: 760px !important;
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
  }

  /* ABOUT STORY SECTION */
  .about-story-section {
    padding: 6.5rem max(7rem, calc((100vw - 1240px) / 2 + 4rem)) !important;
    background: #fffaf6 !important;
    display: grid !important;
    grid-template-columns: 0.95fr 1.05fr !important;
    gap: 5rem !important;
    align-items: center !important;
  }

  .about-story-left h2 {
    font-size: clamp(4.2rem, 5.6vw, 6.8rem) !important;
    line-height: 0.95 !important;
    max-width: 680px !important;
  }

  .story-illustration-wrap {
    width: 390px !important;
    height: 390px !important;
    margin-top: 2rem !important;
  }

  .story-illustration-bg {
    width: 285px !important;
    height: 285px !important;
  }

  .story-illustration {
    width: 330px !important;
  }

  .about-story-right {
    max-width: 760px !important;
  }

  .about-story-right p {
    font-size: 1.18rem !important;
    line-height: 1.85 !important;
    max-width: 720px !important;
  }

  /* ABOUT PROFILE SUMMARY */
  .profile-summary {
    padding: 6rem max(7rem, calc((100vw - 1240px) / 2 + 4rem)) !important;
    background: #f7f1ec !important;
  }

  .profile-summary-grid {
    max-width: 1240px !important;
    margin: 0 auto !important;
  }

  /* ABOUT CTA */
  .about-cta-section {
    padding: 6.5rem max(7rem, calc((100vw - 1240px) / 2 + 4rem)) !important;
    background: #e8ddd7 !important;
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 5rem !important;
    align-items: center !important;
  }

  .about-cta-text h2 {
    font-size: clamp(4rem, 5.5vw, 6.6rem) !important;
    line-height: 0.96 !important;
    max-width: 860px !important;
  }

  .about-cta-text p:not(.section-eyebrow) {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    max-width: 760px !important;
  }

  .about-cta-image {
    width: min(100%, 430px) !important;
  }

  /* WORK PAGE HERO */
  .work-hero {
    padding: 7rem max(7rem, calc((100vw - 1240px) / 2 + 4rem)) 6rem !important;
    background: #f7f1ec !important;
  }

  .work-hero h1 {
    max-width: 1000px !important;
    font-size: clamp(4.5rem, 6vw, 7.4rem) !important;
    line-height: 0.94 !important;
  }

  .work-hero p:not(.small-label) {
    max-width: 820px !important;
    font-size: 1.18rem !important;
    line-height: 1.8 !important;
  }

  /* WORK PROJECT LIST AREA */
  .work {
    padding: 6rem max(6rem, calc((100vw - 1240px) / 2 + 4rem)) !important;
    background: #f7f1ec !important;
  }

  .project-list {
    max-width: 1240px !important;
    margin: 0 auto !important;
    display: grid !important;
    gap: 4rem !important;
  }

  .project-card {
    width: 100% !important;
    max-width: none !important;
    padding: 3.8rem !important;
    border-radius: 2rem !important;
    grid-template-columns: 0.95fr 1.05fr !important;
    gap: 4rem !important;
  }

  .project-image img {
    width: 100% !important;
    min-height: 360px !important;
    object-fit: cover !important;
    border-radius: 1.5rem !important;
  }

  .project-info h3 {
    font-size: clamp(3rem, 4vw, 4.8rem) !important;
    line-height: 0.98 !important;
  }

  .project-info p {
    font-size: 1.08rem !important;
    line-height: 1.75 !important;
  }

  /* WORK CTA */
  .work-cta-section {
    padding: 6.5rem max(7rem, calc((100vw - 1240px) / 2 + 4rem)) !important;
    background: #8a6658 !important;
    border-radius: 0 !important;
    display: grid !important;
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 5rem !important;
    align-items: center !important;
  }

  .work-cta-image {
    width: min(100%, 390px) !important;
  }

  .work-cta-text h2 {
    font-size: clamp(4rem, 5.5vw, 6.6rem) !important;
    line-height: 0.96 !important;
    max-width: 860px !important;
  }

  .work-cta-text p:not(.section-eyebrow) {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    max-width: 760px !important;
  }
}

/* Tablet */
@media screen and (max-width: 980px) {
  .page-hero,
  .about-story-section,
  .profile-summary,
  .about-cta-section,
  .work,
  .work-cta-section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }

  .about-story-section,
  .about-cta-section,
  .work-cta-section,
  .project-card {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile */
@media screen and (max-width: 640px) {
  .page-hero,
  .about-story-section,
  .profile-summary,
  .about-cta-section,
  .work,
  .work-cta-section {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }

  .page-hero h1,
  .about-story-left h2,
  .about-cta-text h2,
  .work-hero h1,
  .work-cta-text h2 {
    font-size: 3rem !important;
  }

  .project-card {
    padding: 1.4rem !important;
  }

  .project-info h3 {
    font-size: 2.5rem !important;
  }
}
/* ==========================================
   BIGGER 3D ICONS / ILLUSTRATIONS
========================================== */

/* Header coffee logo */
.image-logo {
  width: 76px !important;
  height: 76px !important;
}

.image-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.75) !important;
}

/* Homepage hero floating icons */
.floating-card {
  width: 4.2rem !important;
  height: 4.2rem !important;
  font-size: 1.45rem !important;
}

/* Homepage about girly icon */
.home-about-visual img {
  width: min(100%, 520px) !important;
}

/* Contact coffee image */
.contact-polished .contact-visual {
  width: 420px !important;
  height: 420px !important;
}

.contact-polished .contact-visual img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* About page story girly icon */
.story-illustration-wrap {
  width: 430px !important;
  height: 430px !important;
}

.story-illustration-bg {
  width: 315px !important;
  height: 315px !important;
}

.story-illustration {
  width: 365px !important;
}

/* About CTA image */
.about-cta-image {
  width: min(100%, 500px) !important;
}

/* Work CTA envelope image */
.work-cta-image {
  width: min(100%, 460px) !important;
}

/* Footer coffee icon */
.footer-brand img {
  width: 62px !important;
  height: 62px !important;
  transform: scale(1.25) !important;
  flex-shrink: 0 !important;
}

/* Mobile: keep icons large but not overwhelming */
@media screen and (max-width: 640px) {
  .image-logo {
    width: 56px !important;
    height: 56px !important;
  }

  .floating-card {
    width: 3.3rem !important;
    height: 3.3rem !important;
    font-size: 1.15rem !important;
  }

  .home-about-visual img {
    width: min(100%, 300px) !important;
  }

  .contact-polished .contact-visual {
    width: 250px !important;
    height: 250px !important;
  }

  .story-illustration-wrap {
    width: 260px !important;
    height: 260px !important;
  }

  .story-illustration-bg {
    width: 190px !important;
    height: 190px !important;
  }

  .story-illustration {
    width: 220px !important;
  }

  .about-cta-image,
  .work-cta-image {
    width: min(100%, 280px) !important;
  }

  .footer-brand img {
    width: 48px !important;
    height: 48px !important;
    transform: scale(1.15) !important;
  }
}
/* ==========================================
   WORK PAGE FULL-WIDTH PROJECT LAYOUT FIX
   Makes project sections cut across like Polliana
========================================== */

@media screen and (min-width: 981px) {
  .work {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    background: #f7f1ec !important;
  }

  .project-list {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
  }

  .project-card {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 6.5rem max(7rem, calc((100vw - 1240px) / 2 + 4rem)) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: grid !important;
    grid-template-columns: 0.95fr 1.05fr !important;
    gap: 5rem !important;
    align-items: center !important;
    background: #fffaf6 !important;
  }

  .project-card:nth-child(even) {
    background: #f2ece7 !important;
  }

  .project-card.reverse {
    grid-template-columns: 1.05fr 0.95fr !important;
  }

  .project-card.reverse .project-image {
    order: 2 !important;
  }

  .project-card.reverse .project-info {
    order: 1 !important;
  }

  .project-image {
    width: 100% !important;
  }

  .project-image img {
    width: 100% !important;
    height: 430px !important;
    object-fit: cover !important;
    border-radius: 2rem !important;
    box-shadow: 0 28px 70px rgba(90, 68, 59, 0.12) !important;
  }

  .project-info {
    max-width: 680px !important;
  }

  .project-category {
    font-size: 0.95rem !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 1.2rem !important;
  }

  .project-info h3 {
    font-size: clamp(4rem, 5vw, 6rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 1.5rem !important;
  }

  .project-info p {
    font-size: 1.18rem !important;
    line-height: 1.8 !important;
  }

  .project-problem,
  .project-takeaway {
    padding: 1.2rem 1.4rem !important;
    border-radius: 1.2rem !important;
  }

  .project-meta {
    gap: 0.8rem !important;
    margin-top: 1.5rem !important;
  }

  .project-meta span {
    font-size: 0.92rem !important;
    padding: 0.65rem 0.95rem !important;
  }

  .project-links a {
    font-size: 0.95rem !important;
    padding: 0.95rem 1.35rem !important;
  }
}

/* Tablet */
@media screen and (max-width: 980px) {
  .work {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .project-list {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .project-card,
  .project-card.reverse {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    grid-template-columns: 1fr !important;
    padding: 4rem 2rem !important;
  }

  .project-card.reverse .project-image,
  .project-card.reverse .project-info {
    order: initial !important;
  }

  .project-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 1.5rem !important;
  }
}

/* Mobile */
@media screen and (max-width: 640px) {
  .project-card,
  .project-card.reverse {
    padding: 3rem 1.2rem !important;
  }

  .project-info h3 {
    font-size: 2.8rem !important;
  }

  .project-info p {
    font-size: 1rem !important;
  }
}
/* ==========================================
   HERO TEXT WIDTH FIX
   Lets the homepage text use more space
========================================== */

@media screen and (min-width: 981px) {
  .hero {
    grid-template-columns: 0.85fr 1.15fr !important;
    gap: 5rem !important;
  }

  .hero-text {
    max-width: 850px !important;
    width: 100% !important;
  }

  .hero h1 {
    max-width: 780px !important;
  }

  .hero h2 {
    max-width: 780px !important;
  }

  .hero-text p {
    max-width: 820px !important;
    width: 100% !important;
    font-size: 1.12rem !important;
    line-height: 1.75 !important;
  }
}
/* ==========================================
   GLOBAL TEXT WIDTH FIX
   Lets text breathe across Home, About, Work
========================================== */

@media screen and (min-width: 981px) {

  /* General section text should not be tiny narrow columns */
  .hero-text,
  .home-about-copy,
  .work-invite-content,
  .contact-text,
  .about-story-right,
  .about-cta-text,
  .work-cta-text,
  .project-info,
  .page-hero {
    max-width: 860px !important;
    width: 100% !important;
  }

  /* Wider paragraph reading width */
  .hero-text p,
  .home-about-copy p,
  .work-invite-content p,
  .contact-text p,
  .about-story-right p,
  .about-cta-text p,
  .work-cta-text p,
  .project-info p,
  .page-hero p:not(.small-label) {
    max-width: 820px !important;
    width: 100% !important;
    font-size: 1.12rem !important;
    line-height: 1.78 !important;
  }

  /* Keep big headings wide enough too */
  .hero h1,
  .hero h2,
  .home-about-copy h2,
  .work-invite-content h2,
  .contact-text h2,
  .about-story-left h2,
  .about-cta-text h2,
  .work-cta-text h2,
  .project-info h3,
  .page-hero h1 {
    max-width: 900px !important;
  }

  /* Work project cards: let text side breathe more */
  .project-card {
    grid-template-columns: 0.9fr 1.1fr !important;
  }

  .project-card.reverse {
    grid-template-columns: 1.1fr 0.9fr !important;
  }

  /* About page story text */
  .about-story-section {
    grid-template-columns: 0.9fr 1.1fr !important;
  }

  /* Contact page/section text */
  .contact-polished .contact-text {
    max-width: 860px !important;
  }

  .contact-polished .contact-text p {
    max-width: 820px !important;
  }

  /* Prevent side scrolling */
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}
/* =====================================================
   FIX ABOUT + WORK PAGES AFTER GLOBAL TEXT WIDTH ISSUE
   Put this at the VERY BOTTOM of custom.css
===================================================== */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ---------- ABOUT + WORK HERO SECTIONS ---------- */

@media screen and (min-width: 981px) {
  .page-hero,
  .about-hero,
  .work-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 7rem 12vw 6rem !important;
    border-radius: 0 !important;
    background: #f7f1ec !important;
    text-align: left !important;
    display: block !important;
  }

  .page-hero .small-label,
  .about-hero .small-label,
  .work-hero .small-label {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-hero h1,
  .about-hero h1,
  .work-hero h1 {
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(4.2rem, 5.6vw, 6.7rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.035em !important;
  }

  .page-hero p:not(.small-label),
  .about-hero p:not(.small-label),
  .work-hero p:not(.small-label) {
    max-width: 980px !important;
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 1.18rem !important;
    line-height: 1.8 !important;
    white-space: normal !important;
    word-break: normal !important;
  }
}

/* ---------- ABOUT PAGE STORY SECTION ---------- */

@media screen and (min-width: 981px) {
  .about-story-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 7rem 12vw !important;
    border-radius: 0 !important;
    background: #fffaf6 !important;
    display: grid !important;
    grid-template-columns: 0.95fr 1.05fr !important;
    gap: 6rem !important;
    align-items: center !important;
  }

  .about-story-left,
  .about-story-right {
    max-width: none !important;
    width: 100% !important;
  }

  .about-story-left h2 {
    max-width: 640px !important;
    font-size: clamp(4rem, 5vw, 6rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.035em !important;
  }

  .about-story-right p {
    max-width: 760px !important;
    width: auto !important;
    font-size: 1.18rem !important;
    line-height: 1.85 !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .about-tags {
    max-width: 760px !important;
  }

  .story-illustration-wrap {
    width: 380px !important;
    height: 380px !important;
  }

  .story-illustration {
    width: 330px !important;
  }
}

/* ---------- ABOUT PAGE SUMMARY + CTA ---------- */

@media screen and (min-width: 981px) {
  .profile-summary,
  .about-cta-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .profile-summary {
    padding: 6rem 12vw !important;
    background: #f7f1ec !important;
  }

  .profile-summary-grid {
    max-width: 1180px !important;
    margin: 0 auto !important;
  }

  .about-cta-section {
    padding: 7rem 12vw !important;
    background: #e8ddd7 !important;
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 5rem !important;
    align-items: center !important;
  }

  .about-cta-text {
    max-width: 820px !important;
    width: 100% !important;
  }

  .about-cta-text h2 {
    max-width: 820px !important;
    font-size: clamp(3.8rem, 5vw, 6rem) !important;
    line-height: 0.98 !important;
  }

  .about-cta-text p:not(.section-eyebrow) {
    max-width: 760px !important;
    font-size: 1.18rem !important;
    line-height: 1.8 !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .about-cta-image {
    width: min(100%, 430px) !important;
  }
}

/* ---------- WORK PAGE PROJECT SECTIONS ---------- */

@media screen and (min-width: 981px) {
  .work {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f7f1ec !important;
  }

  .project-list {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
  }

  .project-card,
  .project-card.reverse {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 7rem 12vw !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: grid !important;
    grid-template-columns: 0.95fr 1.05fr !important;
    gap: 5.5rem !important;
    align-items: center !important;
    background: #fffaf6 !important;
  }

  .project-card:nth-child(even) {
    background: #f2ece7 !important;
  }

  .project-card.reverse .project-image {
    order: 2 !important;
  }

  .project-card.reverse .project-info {
    order: 1 !important;
  }

  .project-image {
    width: 100% !important;
    max-width: none !important;
  }

  .project-image img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
    border-radius: 2rem !important;
    box-shadow: 0 28px 70px rgba(90, 68, 59, 0.12) !important;
  }

  .project-info {
    max-width: 760px !important;
    width: 100% !important;
  }

  .project-info h3 {
    max-width: 760px !important;
    font-size: clamp(3.6rem, 4.7vw, 5.8rem) !important;
    line-height: 0.97 !important;
    letter-spacing: -0.035em !important;
    margin-bottom: 1.4rem !important;
  }

  .project-info p,
  .project-problem,
  .project-takeaway {
    max-width: 760px !important;
    width: auto !important;
    font-size: 1.12rem !important;
    line-height: 1.78 !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .project-problem,
  .project-takeaway {
    padding: 1.1rem 1.3rem !important;
    border-radius: 1.2rem !important;
  }
}

/* ---------- WORK CTA ---------- */

@media screen and (min-width: 981px) {
  .work-cta-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 7rem 12vw !important;
    border-radius: 0 !important;
    background: #8a6658 !important;
    display: grid !important;
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 5rem !important;
    align-items: center !important;
  }

  .work-cta-text {
    max-width: 820px !important;
    width: 100% !important;
  }

  .work-cta-text h2 {
    max-width: 820px !important;
    font-size: clamp(3.8rem, 5vw, 6rem) !important;
    line-height: 0.98 !important;
  }

  .work-cta-text p:not(.section-eyebrow) {
    max-width: 760px !important;
    font-size: 1.18rem !important;
    line-height: 1.8 !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .work-cta-image {
    width: min(100%, 430px) !important;
  }
}

/* ---------- TABLET + MOBILE SAFETY FIX ---------- */

@media screen and (max-width: 980px) {
  .page-hero,
  .about-hero,
  .work-hero,
  .about-story-section,
  .profile-summary,
  .about-cta-section,
  .work,
  .project-card,
  .work-cta-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .page-hero,
  .about-hero,
  .work-hero,
  .about-story-section,
  .profile-summary,
  .about-cta-section,
  .project-card,
  .work-cta-section {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .about-story-section,
  .about-cta-section,
  .project-card,
  .project-card.reverse,
  .work-cta-section {
    grid-template-columns: 1fr !important;
  }

  .project-card.reverse .project-image,
  .project-card.reverse .project-info {
    order: initial !important;
  }

  .work-hero p:not(.small-label),
  .page-hero p:not(.small-label),
  .project-info p {
    white-space: normal !important;
    word-break: normal !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 640px) {
  .page-hero,
  .about-hero,
  .work-hero,
  .about-story-section,
  .profile-summary,
  .about-cta-section,
  .project-card,
  .work-cta-section {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }

  .page-hero h1,
  .about-hero h1,
  .work-hero h1,
  .about-story-left h2,
  .about-cta-text h2,
  .work-cta-text h2,
  .project-info h3 {
    font-size: 2.8rem !important;
  }

  .project-image img {
    height: auto !important;
  }
}