
:root {
  --ink: #262326;
  --muted: #646064;
  --raspberry: #9a2f60;
  --raspberry-dark: #7a1f4d;
  --pink-soft: #fbf4f7;
  --line: #eadde3;
  --paper: #ffffff;
  --wash: #faf7f8;
  --shadow: 0 10px 30px rgba(43, 30, 38, .11);
  --header-h: 74px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 32px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Arial, sans-serif; line-height: 1.48; }
body.lightbox-open { overflow: hidden; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 50; min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px clamp(22px, 5vw, 58px); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 6px 22px rgba(50,25,38,.06); backdrop-filter: blur(10px); }
.brand img { display: block; width: 178px; max-width: 42vw; height: auto; }
.site-header nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.site-header nav a { text-decoration: none; color: var(--raspberry-dark); }
.site-header nav a:hover { text-decoration: underline; }
.hero { min-height: auto; padding: clamp(48px, 7vw, 82px) clamp(22px, 7vw, 78px) clamp(44px, 6vw, 70px); display: grid; align-content: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#fff 0%,#fff 55%,var(--wash) 100%); }
.hero-kicker, .eyebrow, .category { color: var(--raspberry); font-weight: 900; text-transform: uppercase; letter-spacing: .11em; font-size: .84rem; }
.hero h1 { width: max-content; max-width: 100%; margin: 12px auto 22px; text-align: left; font-size: clamp(3.25rem, 10vw, 8.2rem); line-height: .82; letter-spacing: -.075em; font-weight: 900; color: var(--ink); }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--raspberry); }
.hero-intro { margin: 0; max-width: 930px; font-size: clamp(1.28rem, 2.4vw, 2.35rem); line-height: 1.04; font-weight: 900; letter-spacing: -.04em; }
.hero-sub { max-width: 740px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.focus-strip { display: flex; flex-wrap: wrap; gap: 10px; max-width: 920px; margin-top: 34px; }
.focus-strip span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 13px; color: var(--raspberry-dark); font-weight: 800; font-size: .9rem; }
.intro-grid { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(320px,1.2fr); gap: clamp(26px, 6vw, 76px); padding: clamp(44px, 6vw, 72px) clamp(22px, 7vw, 78px); border-bottom: 1px solid var(--line); }
.intro-grid h2, .contact-section h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 3.7rem); line-height: .96; letter-spacing: -.055em; }
.intro-copy p { margin-top: 0; font-size: 1.08rem; color: var(--muted); }
.capabilities { display: grid; gap: 14px; margin-top: 24px; }
.capabilities div { padding: 18px; border: 1px solid var(--line); background: var(--pink-soft); border-radius: 18px; }
.portfolio-section { padding: clamp(42px, 6vw, 72px) clamp(22px, 7vw, 78px); border-bottom: 1px solid var(--line); }
.section-title { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(300px, .85fr); align-items: end; gap: 32px; margin-bottom: 34px; }
.section-title span { font-size: clamp(2.4rem, 6.2vw, 5.8rem); line-height: .82; letter-spacing: -.07em; font-weight: 900; color: var(--raspberry); }
.section-title p { margin: 0; max-width: 580px; color: var(--muted); font-size: 1.02rem; }
.section-title.compact span { font-size: clamp(2.4rem, 5.4vw, 5rem); }
.work-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 44px) clamp(22px, 3vw, 36px); align-items: start; }
.work-item { display: grid; gap: 16px; }
.work-item.feature { grid-column: 1 / -1; grid-template-columns: minmax(340px, 1.12fr) minmax(280px, .78fr); gap: clamp(22px, 3vw, 38px); align-items: center; padding-bottom: 14px; }
.image-link { display: block; text-decoration: none; cursor: zoom-in; border-radius: 18px; }
.work-item img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 18px; filter: drop-shadow(0 8px 14px rgba(37, 28, 34, .15)); }
.work-copy h3 { margin: 6px 0 8px; font-size: clamp(1.18rem, 1.8vw, 1.72rem); line-height: 1.03; letter-spacing: -.035em; }
.work-copy p { margin: 0 0 11px; color: var(--muted); }
.work-copy .note { color: var(--ink); font-weight: 700; }
.category { margin-bottom: 0 !important; font-size: .78rem; }
.testimonials-section { padding: clamp(44px, 6vw, 72px) clamp(22px, 7vw, 78px); background: var(--wash); border-bottom: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
blockquote { margin: 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 24px rgba(43, 30, 38, .06); font-size: 1rem; }
cite { display: block; margin-top: 20px; font-style: normal; font-weight: 900; color: var(--raspberry); }
.contact-section { padding: clamp(44px, 6vw, 72px) clamp(22px, 7vw, 78px); background: #fff; }
.contact-section a { color: var(--raspberry); font-weight: 900; font-size: clamp(1.2rem, 2.8vw, 2.6rem); text-decoration-thickness: .08em; text-underline-offset: .1em; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 72px 24px 30px; background: rgba(22, 18, 20, .86); }
.lightbox.is-open { display: flex; }
.lightbox img { display: block; border-radius: 16px; max-width: min(980px, 92vw); max-height: 84vh; object-fit: contain; box-shadow: 0 18px 58px rgba(0,0,0,.45); }
.lightbox-close { position: fixed; top: 20px; right: 24px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--raspberry); font-size: 2rem; line-height: 1; cursor: pointer; }
@media (max-width: 980px) {
  :root { --header-h: 108px; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-header nav { justify-content: flex-start; }
  .intro-grid, .section-title, .work-layout, .work-item.feature { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 138px; }
  .brand img { width: 158px; }
  .site-header nav { gap: 10px 14px; font-size: .72rem; }
  .hero h1 { font-size: 3.3rem; }
  .quote-grid { grid-template-columns: 1fr; }
}


/* Scale-down pass */
.hero > *, .intro-grid, .portfolio-section > *, .testimonials-section > *, .contact-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.work-item:not(.feature) .image-link {
  max-width: 520px;
}
.work-item.feature .image-link {
  max-width: 720px;
}
.work-copy p {
  font-size: .96rem;
}
@media (min-width: 1200px) {
  .work-layout { grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: space-between; }
  .work-item.feature { grid-template-columns: minmax(0, 680px) minmax(280px, 420px); justify-content: space-between; }
}

/* Refinement pass */
@media (max-width: 640px) { .hero h1 { width: auto; margin-left: 0; margin-right: 0; } }


/* Hugged section titles + centered hero column */
.hero {
  justify-items: center;
}
.hero-kicker,
.hero h1,
.hero-intro,
.hero-sub,
.focus-strip {
  width: min(100%, 760px);
  margin-left: auto;
  margin-right: auto;
}
.hero h1 {
  margin-top: 12px;
  margin-bottom: 22px;
}
.hero-intro,
.hero-sub {
  text-align: left;
}
.focus-strip {
  justify-content: flex-start;
}

.section-title {
  display: block;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
}
.section-title span {
  display: inline;
  vertical-align: baseline;
}
.section-title p {
  display: inline;
  margin: 0 0 0 clamp(12px, 1.8vw, 22px);
  max-width: none;
  vertical-align: baseline;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .hero-kicker,
  .hero h1,
  .hero-intro,
  .hero-sub,
  .focus-strip {
    width: 100%;
  }
  .section-title p {
    display: block;
    margin: 12px 0 0;
  }
}


/* Refined section title layout: two-line headers with descriptions hugging the second line */
.section-title {
  display: block;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
}
.section-title > span:not(.title-lines),
.section-title p {
  display: none;
}
.section-title .title-lines {
  display: inline-block;
  color: var(--raspberry);
  font-size: clamp(2.4rem, 6.2vw, 5.8rem);
  line-height: .82;
  letter-spacing: -.07em;
  font-weight: 900;
}
.section-title.compact .title-lines {
  font-size: clamp(2.4rem, 5.4vw, 5rem);
}
.section-title .section-desc {
  display: inline-block;
  margin-left: clamp(14px, 2vw, 26px);
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 400;
  vertical-align: baseline;
}

@media (max-width: 760px) {
  .section-title .section-desc {
    display: block;
    margin: 12px 0 0;
  }
}

/* Fix testimonial section description size */
.section-title.compact .section-desc,
.section-title .title-lines .section-desc {
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}


/* Refined hero alignment + balanced focus strip */
.hero {
  justify-items: center;
}
.hero-content {
  width: min(100%, 760px);
  margin: 0 auto;
}
.hero-content .hero-kicker,
.hero-content h1,
.hero-content .hero-intro,
.hero-content .hero-sub,
.hero-content .focus-strip {
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.hero-content h1 {
  margin-left: 0;
  margin-right: 0;
}
.hero-content .focus-strip {
  justify-content: flex-start;
}


/* Tiny visual nudge so Portfolio 2026 aligns with the hero text */
.hero-content .hero-kicker {
  padding-left: 5px;
}


/* Fixed back-to-top button */
.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: var(--raspberry-dark);
  box-shadow: 0 10px 24px rgba(43, 30, 38, .12);
  backdrop-filter: blur(8px);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.back-to-top:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
@media (max-width: 640px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    padding: 9px 12px;
    font-size: .74rem;
  }
}


/* Refined12: contact alignment */
.contact-section { text-align: left; }
.contact-section .eyebrow,
.contact-section h2,
.contact-section p { max-width: 1180px; margin-left: auto; margin-right: auto; }
.contact-section h2 { text-align: left; }
