/* =========================================================================
   Laiba Rizvi Portfolio
   Aesthetic: Warm & personable — soft tones, friendly feel
   ========================================================================= */

:root {
  /* Warm palette */
  --cream:      #FAF4EC;
  --cream-deep: #F3E9D9;
  --peach:      #F9D9C3;
  --blush:      #F4BDAC;
  --terracotta: #C96F4A;
  --terra-deep: #A8552F;
  --rust:       #8C4A2F;
  --sage:       #7A9E7E;
  --mustard:    #D4A24C;

  --ink:        #2A1F18;
  --ink-soft:   #4B3A2F;
  --ink-dim:    #7A6B5F;
  --ink-muted:  #A59384;

  --line:       rgba(42, 31, 24, 0.10);
  --line-strong:rgba(42, 31, 24, 0.22);

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Instrument Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1240px;
  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 40px;
}

/* ========== Reset ========== */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--terracotta); color: var(--cream); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ========== Nav ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(250, 244, 236, 0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-mark {
  width: 28px;
  height: 28px;
  color: var(--terracotta);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav__logo:hover .nav__logo-mark { transform: rotate(12deg); }

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 0.95rem;
}
.nav__links a {
  position: relative;
  color: var(--ink-soft);
  padding: 4px 2px;
  transition: color 0.25s ease;
}
.nav__links a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--terracotta);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav__links a:hover { color: var(--terracotta); }
.nav__links a:hover::before { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 99px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
.nav__cta-arrow { transition: transform 0.25s ease; }
.nav__cta:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
}
.nav__cta:hover .nav__cta-arrow { transform: translate(3px, -3px); }

.nav__menu {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--cream);
}
.nav__menu span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.nav__menu.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__menu.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 20px 28px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.nav__mobile a {
  padding: 14px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.nav__mobile .nav__cta {
  margin-top: 12px;
  justify-content: center;
  border-bottom: 0;
}
.nav__mobile.is-open { display: flex; }

@media (max-width: 820px) {
  .nav__links, .nav__inner > .nav__cta { display: none; }
  .nav__menu { display: flex; }
  .nav__mobile .nav__cta { display: inline-flex; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero__blob--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(244, 189, 172, 0.8) 0%, transparent 70%);
  top: -120px;
  right: -100px;
  animation: floatBlob 20s ease-in-out infinite;
}
.hero__blob--2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.35) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation: floatBlob 24s ease-in-out infinite reverse;
}
.hero__blob--3 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(122, 158, 126, 0.25) 0%, transparent 70%);
  top: 40%;
  left: 55%;
  animation: floatBlob 28s ease-in-out infinite;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__greeting {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 48px;
  box-shadow: 0 4px 20px rgba(42, 31, 24, 0.06);
  animation: fadeInUp 0.7s ease both;
}
.wave {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: wave 2.5s ease-in-out infinite;
}
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(14deg); }
  50% { transform: rotate(-4deg); }
}

.hero__title {
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 72px;
  max-width: 14ch;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero__line:nth-child(1) { animation-delay: 0.08s; }
.hero__line:nth-child(2) { animation-delay: 0.20s; }
.hero__line:nth-child(3) { animation-delay: 0.32s; }
.hero__line:nth-child(4) { animation-delay: 0.44s; }

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__meta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.hero__bio {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.6;
}
.hero__bio em { font-style: italic; color: var(--terracotta); }

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--cream-deep);
  border-radius: 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  justify-self: end;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(122, 158, 126, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(122, 158, 126, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(122, 158, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 158, 126, 0); }
}

.hero__scroll {
  margin-top: 72px;
}
.hero__scroll a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.25s ease, gap 0.25s ease;
}
.hero__scroll-arrow {
  display: inline-block;
  animation: bob 2s ease-in-out infinite;
  font-size: 1.1em;
}
.hero__scroll a:hover { color: var(--terracotta); gap: 16px; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 820px) {
  .hero { padding: 60px 0 80px; }
  .hero__meta { grid-template-columns: 1fr; gap: 28px; }
  .hero__status { justify-self: start; }
}

/* ========== Ribbon ========== */
.ribbon {
  background: var(--terracotta);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid var(--rust);
  border-bottom: 1px solid var(--rust);
  padding: 20px 0;
}
.ribbon__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 400;
  align-items: center;
}
.ribbon__dot {
  font-style: normal;
  color: var(--peach);
  font-size: 0.9em;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== Section heads ========== */
.section-label {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--font-display);
}

.section-head {
  max-width: 720px;
  margin-bottom: 80px;
}
.section-title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }

.section-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.55;
}

/* ========== Work / Projects ========== */
.work { padding: 100px 0 120px; }

.projects {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 52px;
  background: var(--cream-deep);
  border-radius: var(--r-xl);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  overflow: hidden;
}
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px at var(--mx, 50%) var(--my, 50%), rgba(201, 111, 74, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(42, 31, 24, 0.12);
}
.project:hover::before { opacity: 1; }

.project--noor {
  background: linear-gradient(135deg, #F3E5D3 0%, #ECD4BD 100%);
}
.project--halton {
  background: linear-gradient(135deg, #E9EDE6 0%, #D8E0D4 100%);
}

.project__visual {
  position: relative;
  border-radius: var(--r-lg);
  padding: 32px;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 31, 24, 0.06);
}
.project--noor .project__visual {
  background: linear-gradient(135deg, rgba(201, 111, 74, 0.15) 0%, rgba(140, 74, 47, 0.25) 100%);
}
.project--halton .project__visual {
  background: linear-gradient(135deg, rgba(122, 158, 126, 0.2) 0%, rgba(30, 58, 95, 0.15) 100%);
}

.project__mock {
  width: 100%;
  perspective: 1200px;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project:hover .project__mock { transform: translateY(-8px); }

/* Mock browser */
.mock-window {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(42, 31, 24, 0.2);
  transform: rotateX(4deg) rotateY(-6deg) rotateZ(1deg);
  transform-style: preserve-3d;
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #F6F3EE;
  border-bottom: 1px solid #EAE4DA;
}
.mock-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #DCD5CA;
}
.mock-bar span:first-child { background: #F07F70; }
.mock-bar span:nth-child(2) { background: #F4C26A; }
.mock-bar span:nth-child(3) { background: #8FC991; }

.mock-content {
  padding: 16px;
  min-height: 280px;
  color: #2A1F18;
  font-family: var(--font-body);
}

.mock-content--noor {
  background: #1F4A3D;
  font-family: 'Georgia', serif;
}
.mock-content--noor .mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 100, 0.25);
  margin-bottom: 18px;
}
.mock-logo {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #E8DCC1;
}
.mock-links { display: flex; gap: 6px; }
.mock-links span {
  width: 22px; height: 2px;
  background: #D4AF64;
  border-radius: 1px;
  opacity: 0.6;
}
.mock-hero { padding: 20px 0 22px; text-align: center; }
.mock-hero-tag {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: #D4AF64;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mock-hero-title {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  line-height: 1.05;
  font-weight: 400;
  color: #FAF4EC;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.mock-hero-title em { font-style: italic; color: #D4AF64; }
.mock-hero-btn {
  display: inline-block;
  padding: 7px 18px;
  background: #D4AF64;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1F4A3D;
  font-weight: 600;
}
.mock-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.mock-product {
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  background: linear-gradient(160deg, #6B2D4A 0%, #4A1E33 100%);
}
.mock-product:nth-child(2) {
  background: linear-gradient(160deg, #D4AF64 0%, #8B6E2A 100%);
}
.mock-product:nth-child(3) {
  background: linear-gradient(160deg, #2D6B5A 0%, #1F4A3D 100%);
}

.mock-content--halton { background: #F6F8F6; font-family: 'Poppins', sans-serif; }
.mock-nav--halton {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #E4E8EE;
  margin-bottom: 16px;
}
.mock-logo--halton {
  font-size: 0.68rem;
  color: #1E3A5F;
  font-weight: 700;
  letter-spacing: 0;
}
.mock-cta {
  background: #38B26D;
  color: #fff;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.6rem;
  font-weight: 600;
}
.mock-hero--halton { padding: 16px 0 16px; }
.mock-pill {
  display: inline-block;
  background: #fff;
  border: 1px solid #E4E8EE;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.54rem;
  color: #1E3A5F;
  margin-bottom: 12px;
}
.mock-hero--halton .mock-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0F1B2D;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  text-align: left;
}
.mock-accent { color: #38B26D; }
.mock-hero-actions { display: flex; gap: 6px; }
.mock-btn {
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.6rem;
  font-weight: 600;
}
.mock-btn--green { background: #38B26D; color: #fff; }
.mock-btn--ghost { border: 1px solid #1E3A5F; color: #1E3A5F; }
.mock-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid #E4E8EE;
  margin-top: 8px;
}
.mock-trust-item {
  text-align: center;
  font-size: 0.56rem;
  color: #1E3A5F;
  font-weight: 600;
  padding: 4px 2px;
  background: #fff;
  border-radius: 4px;
}

.project__meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 0;
  position: relative;
  z-index: 2;
}
.project__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-dim);
  font-family: var(--font-display);
  font-style: italic;
}
.project__num {
  font-size: 1.3rem;
  color: var(--terracotta);
  font-weight: 500;
}

.project__meta h3 {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.project__meta p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 360px;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project__tags span {
  font-size: 0.78rem;
  padding: 6px 14px;
  background: rgba(42, 31, 24, 0.08);
  border-radius: 99px;
  color: var(--ink-soft);
  font-weight: 500;
}

.project__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 99px;
  font-size: 0.92rem;
  font-weight: 500;
  width: fit-content;
  transition: transform 0.25s ease, background 0.25s ease;
}
.project__link-arrow { transition: transform 0.25s ease; }
.project:hover .project__link {
  background: var(--terracotta);
}
.project:hover .project__link-arrow { transform: translateX(4px); }

@media (max-width: 980px) {
  .project {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
  .project__visual { min-height: 320px; padding: 20px; }
  .project__meta h3 { font-size: 1.9rem; }
}
@media (max-width: 500px) {
  .project { padding: 22px; border-radius: var(--r-lg); }
  .project__visual { min-height: 260px; padding: 16px; }
}

/* ========== About ========== */
.about {
  padding: 120px 0;
  background: var(--cream-deep);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.about__image {
  position: relative;
  padding-top: 32px;
}
.about__photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--peach) 0%, var(--blush) 60%, var(--terracotta) 100%);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(201, 111, 74, 0.25);
  transform: rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.about__photo::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(250, 244, 236, 0.5);
  border-radius: calc(var(--r-lg) - 6px);
}
.about__photo:hover { transform: rotate(0deg); }

.about__photo-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.about__initial {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 10rem;
  color: var(--cream);
  line-height: 1;
  font-weight: 300;
  text-shadow: 0 4px 30px rgba(42, 31, 24, 0.2);
}
.about__photo-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream);
  opacity: 0.9;
}

.about__sticky-note {
  position: absolute;
  padding: 10px 16px;
  background: var(--cream);
  border-radius: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  box-shadow: 0 8px 24px rgba(42, 31, 24, 0.15);
  font-weight: 500;
  white-space: nowrap;
}
.about__sticky-note--1 {
  top: 10%;
  right: -20px;
  transform: rotate(6deg);
}
.about__sticky-note--2 {
  top: 50%;
  left: -28px;
  transform: rotate(-4deg);
}
.about__sticky-note--3 {
  bottom: 12%;
  right: -12px;
  transform: rotate(3deg);
}

.about__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}
.about__title em { font-style: italic; color: var(--terracotta); font-weight: 400; }

.about__body p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 560px;
  line-height: 1.7;
}
.about__body em { font-style: italic; color: var(--terracotta); }

.about__tools {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tool-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
}
.tool-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-dim);
}
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tools span {
  font-size: 0.84rem;
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: all 0.2s ease;
}
.tools span:hover {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}

@media (max-width: 960px) {
  .about { padding: 80px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 64px; }
  .about__image { max-width: 360px; margin: 0 auto; }
  .tool-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ========== Process ========== */
.process {
  padding: 120px 0;
  background: var(--cream);
}
.process__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 72px;
  max-width: 18ch;
}
.process__title em { font-style: italic; color: var(--terracotta); font-weight: 400; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process__steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 2%;
  right: 2%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}
.process-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(201, 111, 74, 0.3);
}
.process-step h4 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .process__steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process__steps::before { display: none; }
}
@media (max-width: 520px) {
  .process__steps { grid-template-columns: 1fr; }
}

/* ========== Contact ========== */
.contact {
  padding: 100px 0 120px;
  background: var(--cream);
}
.contact__card {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 80px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact__card::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 111, 74, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.contact__card::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(244, 189, 172, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.contact__card .section-label {
  color: var(--peach);
  position: relative;
  z-index: 1;
}

.contact__title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--cream);
  position: relative;
  z-index: 1;
}
.contact__title em { font-style: italic; color: var(--terracotta); font-weight: 400; }

.contact__sub {
  font-size: 1.1rem;
  color: rgba(250, 244, 236, 0.75);
  max-width: 520px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 99px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.contact__email-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 0.8em;
}
.contact__email:hover {
  background: var(--terracotta);
  color: var(--cream);
  transform: translateY(-3px);
}
.contact__email:hover .contact__email-arrow { transform: translate(3px, -3px); }

.contact__socials {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.contact__socials a {
  font-size: 0.95rem;
  color: rgba(250, 244, 236, 0.7);
  transition: color 0.25s ease;
}
.contact__socials a:hover { color: var(--peach); }
.contact__socials span {
  color: rgba(250, 244, 236, 0.3);
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .contact__card { padding: 60px 28px; }
}

/* ========== Footer ========== */
.footer {
  padding: 32px 0 40px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--ink-dim);
}
.footer__left {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer__dot {
  color: var(--terracotta);
  font-size: 0.7rem;
}

/* ============================================================
   CASE STUDY PAGES
   ============================================================ */

.case-hero {
  padding: 60px 0 80px;
  position: relative;
}

.case-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--ink-dim);
  margin-bottom: 60px;
}
.case-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease, gap 0.25s ease;
  color: var(--ink-soft);
}
.case-nav a:hover { color: var(--terracotta); gap: 12px; }

.case-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.case-meta span {
  font-size: 0.82rem;
  padding: 7px 16px;
  background: var(--cream-deep);
  border-radius: 99px;
  color: var(--ink-soft);
  font-weight: 500;
}

.case-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  max-width: 16ch;
}
.case-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }

.case-lede {
  max-width: 680px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.case-facts {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px;
  background: var(--cream-deep);
  border-radius: var(--r-lg);
}
.fact {
  display: flex;
  flex-direction: column;
}
.fact-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.fact-value {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.case-live-link {
  margin-top: 48px;
}
.case-live-link .nav__cta {
  padding: 14px 26px;
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .case-facts { grid-template-columns: 1fr 1fr; padding: 28px; gap: 24px; }
}
@media (max-width: 480px) {
  .case-facts { grid-template-columns: 1fr; }
}

/* Case banner */
.case-banner {
  padding: 40px 0 80px;
}
.case-banner__inner {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
}
.case-banner__inner--noor {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(212, 162, 76, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(244, 189, 172, 0.4) 0%, transparent 55%),
    linear-gradient(135deg, #F3E5D3 0%, #E8D1B5 100%);
}
.case-banner__inner--halton {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(122, 158, 126, 0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 111, 74, 0.15) 0%, transparent 55%),
    linear-gradient(135deg, #E9EDE6 0%, #D4DECB 100%);
}
.case-banner .mock-window {
  width: 100%;
  max-width: 1000px;
  transform: rotateX(2deg) rotateY(-3deg);
}
.case-banner .mock-content { min-height: 500px; padding: 28px; }
.case-banner .mock-hero-title { font-size: 2.4rem; }
.case-banner .mock-hero--halton .mock-hero-title { font-size: 2.2rem; }
.case-banner .mock-products { gap: 10px; margin-top: 16px; }
.case-banner .mock-trust-item { font-size: 0.78rem; padding: 7px 4px; }

@media (max-width: 760px) {
  .case-banner__inner { padding: 24px; aspect-ratio: 4 / 3; }
  .case-banner .mock-hero-title { font-size: 1.5rem; }
}

/* Case sections */
.case-section { padding: 90px 0; }
.case-section--alt { background: var(--cream-deep); }

.case-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.case-grid__label {
  position: sticky;
  top: 100px;
}
.case-section-label {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.case-section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.case-section-title em { font-style: italic; color: var(--terracotta); }

.case-copy p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 640px;
}
.case-copy p strong { color: var(--ink); font-weight: 600; }
.case-copy em {
  font-style: italic;
  color: var(--terracotta);
  font-family: var(--font-display);
}

.case-copy blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 40px 0;
  padding: 24px 0 24px 32px;
  border-left: 3px solid var(--terracotta);
  max-width: 620px;
  font-weight: 400;
}

.case-list {
  margin: 24px 0 32px;
}
.case-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.case-list li:last-child { border-bottom: 1px solid var(--line); }
.case-list li strong {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--terracotta);
  padding-top: 4px;
  font-weight: 500;
}
.case-list li span {
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.case-list li span em {
  font-style: italic;
  color: var(--ink-dim);
  font-size: 0.96rem;
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 400;
}

/* Results */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.result-card {
  padding: 36px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(42, 31, 24, 0.1);
}
.result-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.result-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.result-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* Gallery */
.case-gallery {
  padding: 80px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.gallery-grid--3 {
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 20px;
}
.gallery-grid--3 .gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: var(--cream-deep);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  border: 1px solid var(--line);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(42, 31, 24, 0.15);
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.03);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(42, 31, 24, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-label {
  position: relative;
  z-index: 2;
  font-size: 0.88rem;
  color: var(--cream);
  background: rgba(42, 31, 24, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 99px;
  width: fit-content;
  font-weight: 500;
}

.gallery-noor-1 { background: linear-gradient(135deg, #F2E6CF 0%, #D4A24C 100%); }
.gallery-noor-2 { background: linear-gradient(135deg, #F4BDAC 0%, #A8552F 100%); }
.gallery-noor-3 { background: linear-gradient(135deg, #E8D1B5 0%, #8C4A2F 100%); }
.gallery-noor-4 { background: linear-gradient(135deg, #F9D9C3 0%, #C96F4A 100%); }

.gallery-halton-1 { background: linear-gradient(135deg, #D8E0D4 0%, #1E3A5F 100%); }
.gallery-halton-2 { background: linear-gradient(135deg, #1E3A5F 0%, #0F1B2D 100%); }
.gallery-halton-3 { background: linear-gradient(135deg, #7A9E7E 0%, #38B26D 100%); }
.gallery-halton-4 { background: linear-gradient(135deg, #38B26D 0%, #1E3A5F 100%); }

@media (max-width: 760px) {
  .gallery-grid,
  .gallery-grid--3 { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-grid--3 .gallery-item--tall { grid-row: auto; }
}

/* Next project */
.case-next {
  padding: 120px 0;
  text-align: center;
}
.case-next__label {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-dim);
  margin-bottom: 24px;
}
.case-next__title {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  padding: 16px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.case-next__title em { font-style: italic; color: var(--terracotta); }
.case-next__title-arrow {
  font-size: 0.7em;
  transition: transform 0.3s ease;
}
.case-next__title:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}
.case-next__title:hover .case-next__title-arrow { transform: translate(8px, -8px); }

@media (max-width: 820px) {
  .case-section { padding: 60px 0; }
  .case-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-grid__label { position: static; }
  .case-copy blockquote { font-size: 1.3rem; padding-left: 20px; }
  .results-grid { grid-template-columns: 1fr; }
}

/* ========== Reveal animations ========== */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
