@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Didact+Gothic&display=swap');

:root {
  --brown: #8B6E5F;
  --brown-deep: #6f584b;
  --cocoa: #2C2220;
  --cream: #FDF8F0;
  --white: #FFFFFF;
  --line: rgba(44, 34, 32, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: 'Didact Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--cocoa);
}

p { margin: 0 0 1em; }

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: 'Didact Gothic', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brown);
  margin-bottom: 14px;
  display: inline-block;
}

/* ---------- corner-bracket signature motif ---------- */
.bracket {
  position: relative;
  display: inline-block;
  padding: 14px 28px;
}
.bracket::before,
.bracket::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--brown);
}
.bracket::before { left: 0; border-left: 1px solid var(--brown); }
.bracket::after { right: 0; border-right: 1px solid var(--brown); }

.bracket-frame {
  position: relative;
  padding: 40px;
}
.bracket-frame::before,
.bracket-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
}
.bracket-frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.bracket-frame::after { bottom: 0; right: 0; border-left: none; border-top: none; }

/* ---------- header / nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo img { height: 42px; width: auto; }
nav.links {
  display: flex;
  gap: 34px;
  font-size: 14px;
  letter-spacing: 0.04em;
}
nav.links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
nav.links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brown);
  transition: right 0.25s ease;
}
nav.links a:hover::after,
nav.links a.active::after { right: 0; }
nav.links a.active { color: var(--brown); }

.nav-cta {
  border: 1px solid var(--cocoa);
  padding: 9px 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--cocoa); color: var(--cream); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 22px; height: 1px; background: var(--cocoa);
  position: relative; transition: 0.2s ease;
}
.menu-toggle span::before { position: absolute; top: -7px; width: 22px; }
.menu-toggle span::after { position: absolute; top: 7px; width: 22px; }

/* ---------- hero ---------- */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(139,110,95,0.08), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(139,110,95,0.06), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.35  0 0 0 0 0.28  0 0 0 0 0.24  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, auto, 140px 140px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  max-width: 880px;
  margin: 0 auto 26px;
}
.hero .lede {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: var(--brown-deep);
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  border: 1px solid var(--cocoa);
}
.btn-solid { background: var(--cocoa); color: var(--cream); }
.btn-solid:hover { background: var(--brown); border-color: var(--brown); }
.btn-outline { background: transparent; color: var(--cocoa); }
.btn-outline:hover { background: var(--cocoa); color: var(--cream); }

/* ---------- sections ---------- */
section { padding: 90px 0; }
section.alt { background: var(--white); }
section.dark {
  background-color: var(--cocoa);
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(139,110,95,0.18), transparent 55%),
    radial-gradient(ellipse at 90% 85%, rgba(139,110,95,0.14), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 0.94  0 0 0 0 0.87  0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, auto, 140px 140px;
  color: var(--cream);
}
section.dark h2, section.dark h3 { color: var(--cream); }
section.dark .eyebrow { color: #c9a894; }

.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }

/* ---------- grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 36px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--brown); }
.card .num { font-family: 'Fraunces', serif; font-size: 13px; color: var(--brown); letter-spacing: 0.1em; }
.card h3 { font-size: 19px; margin: 14px 0 10px; }
.card p { font-size: 14.5px; color: var(--brown-deep); margin: 0; }

/* service list */
.service-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row h3 { font-size: 21px; margin: 0; }
.service-row .tag { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); white-space: nowrap; }

/* stat / value strip */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-strip div {
  padding: 30px 24px;
  border-left: 1px solid var(--line);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.value-strip div:first-child { border-left: none; }
.value-strip strong { display: block; font-family: 'Fraunces', serif; font-size: 15px; margin-bottom: 6px; color: var(--brown); }

/* quote / review */
.review {
  border-left: 2px solid var(--brown);
  padding-left: 26px;
  margin-bottom: 40px;
}
.review p.quote { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; font-style: italic; color: var(--cocoa); }
.review .who { font-size: 13px; color: var(--brown-deep); letter-spacing: 0.03em; }

/* work / project media cards — image shows in full, no cropping */
.media-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.media-card .shot-wrap {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-card img {
  width: 100%;
  height: auto;
  display: block;
}
.media-card.pad .shot-wrap { padding: 36px; }
.media-card .cap {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}
.media-card .cap .tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brown); display: block; margin-bottom: 4px; }
.media-card .cap .label { font-size: 15px; }
a.media-card { text-decoration: none; color: inherit; transition: border-color 0.2s ease, transform 0.2s ease; }
a.media-card:hover { border-color: var(--brown); transform: translateY(-3px); }

.work-note {
  font-size: 14px;
  color: var(--brown-deep);
  text-align: center;
  margin-top: 28px;
}

/* ---------- package carousel ---------- */
.package-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 6px 20px;
  -webkit-overflow-scrolling: touch;
}
.package-carousel::-webkit-scrollbar { height: 6px; }
.package-carousel::-webkit-scrollbar-thumb { background: var(--line); }
.package-card {
  min-width: 280px;
  max-width: 320px;
  flex: 1 0 280px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
  position: relative;
}
.package-card.featured { border-color: var(--brown); border-width: 2px; }
.package-card .badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--brown);
  color: var(--cream);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.package-card .plan-name { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); }
.package-card .price { font-family: 'Fraunces', serif; font-size: 32px; margin: 10px 0 4px; }
.package-card .price .cur { font-size: 16px; vertical-align: top; }
.package-card .desc { font-size: 13.5px; color: var(--brown-deep); margin-bottom: 18px; }
.package-card ul { list-style: none; padding: 0; margin: 0 0 26px; }
.package-card ul li {
  font-size: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.package-card ul li:first-child { border-top: none; }
.package-card .btn { width: 100%; text-align: center; box-sizing: border-box; }

/* ---------- multi-select checkbox group ---------- */
.check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.check-item:hover { border-color: var(--brown); }
.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brown);
  flex-shrink: 0;
}
.check-item span { font-size: 14.5px; }

/* ---------- consultation vs brand-brief path toggle ---------- */
.path-toggle {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.path-btn {
  padding: 13px 22px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: 'Didact Gothic', sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: var(--cocoa);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.path-btn.active {
  background: var(--cocoa);
  color: var(--cream);
  border-color: var(--cocoa);
}
.path-desc {
  font-size: 14.5px;
  color: var(--brown-deep);
  max-width: 560px;
  margin-bottom: 30px;
}

/* ---------- color palette picker ---------- */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}
.palette-swatch {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.2s ease;
}
.palette-swatch:hover { border-color: var(--brown); }
.palette-swatch.selected { border-color: var(--brown); border-width: 2px; }
.palette-swatch .dots { display: flex; flex-shrink: 0; }
.palette-swatch .dots span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  margin-left: -6px;
}
.palette-swatch .dots span:first-child { margin-left: 0; }
.palette-swatch .pname { font-size: 13.5px; }

/* ---------- file upload field ---------- */
.file-drop {
  border: 1px dashed var(--line);
  padding: 20px;
  text-align: center;
  background: var(--white);
  cursor: pointer;
}
.file-drop input[type="file"] {
  border: none;
  padding: 0;
  font-size: 13px;
}
.file-hint { font-size: 12px; color: var(--brown-deep); margin-top: 8px; }

/* ---------- primary / secondary / accent color pickers ---------- */
.color-role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}
.color-role {
  border: 1px solid var(--line);
  padding: 14px;
  text-align: center;
}
.color-role label {
  margin-bottom: 10px;
}
.color-role input[type="color"] {
  width: 100%;
  height: 44px;
  padding: 3px;
  cursor: pointer;
  border: 1px solid var(--line);
}
.color-role .hex {
  font-size: 12px;
  color: var(--brown-deep);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .color-role-grid { grid-template-columns: 1fr; }
}


/* scrolling client-logo marquee */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: logo-scroll 26s linear infinite;
}
.logo-card {
  background: var(--white);
  border: 1px solid var(--line);
  height: 110px;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.logo-card.on-dark { background: var(--cocoa); border-color: var(--cocoa); }
.logo-card img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.logo-card:hover img { filter: grayscale(0%); opacity: 1; }
.logo-card .visit {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.logo-card.on-dark .visit { color: #c9a894; }
.logo-card:hover .visit { opacity: 1; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}


/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 100px 0;
  background-color: var(--cocoa);
  background-image:
    radial-gradient(ellipse at 80% 10%, rgba(139,110,95,0.18), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 0.94  0 0 0 0 0.87  0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, 140px 140px;
  color: var(--cream);
}
.cta-banner h2 { color: var(--cream); font-size: clamp(30px, 5vw, 46px); max-width: 760px; margin: 0 auto 20px; }
.cta-banner p { color: #d8c6b8; max-width: 520px; margin: 0 auto 34px; }

/* ---------- footer ---------- */
footer.site {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); margin-bottom: 16px; }
.footer-grid a, .footer-grid p { font-size: 14px; color: var(--brown-deep); display: block; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--brown-deep);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- forms ---------- */
form.booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
form.booking .full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: 'Didact Gothic', sans-serif;
  font-size: 15px;
  color: var(--cocoa);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brown);
}
textarea { resize: vertical; min-height: 130px; }

/* ---------- page header (interior pages) ---------- */
.page-head {
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(32px, 5vw, 54px); max-width: 700px; }
.page-head p { max-width: 560px; color: var(--brown-deep); font-size: 16.5px; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .value-strip { grid-template-columns: 1fr 1fr; }
  .value-strip div:nth-child(2n+1) { border-left: none; }
  .value-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  form.booking { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  header.site.open nav.links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 24px 32px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  header.site.open .nav-cta {
    display: inline-block;
    margin: 0 32px 20px;
  }
  .grid-3 { grid-template-columns: 1fr; }
  .service-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Our Work: case studies ---------- */
.case-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.case-index a {
  border: 1px solid var(--line); padding: 8px 16px; font-size: 13px;
  letter-spacing: 0.03em; background: var(--white);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.case-index a em { font-style: normal; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); margin-left: 4px; }
.case-index a:hover { border-color: var(--brown); color: var(--brown); }

.case { padding: 100px 0; scroll-margin-top: 80px; }
.case-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.case-grid.flip { grid-template-columns: 1fr 1.15fr; }
.case-grid.flip .case-media { order: 2; }

.case-media figure { margin: 0; }
.case-media img, .lumora-grid img { cursor: zoom-in; }

/* browser-frame website screenshots */
.browser {
  border: 1px solid var(--line); background: var(--white);
  box-shadow: 0 30px 60px -30px rgba(44,34,32,0.35);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: #f1ebe2; border-bottom: 1px solid var(--line);
}
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d6c9bc; }
.browser-bar em {
  font-style: normal; font-size: 11.5px; color: var(--brown-deep);
  margin-left: 12px; background: var(--white); padding: 3px 12px; border-radius: 20px;
}
.browser img { width: 100%; }

.feature img { width: 100%; box-shadow: 0 30px 60px -30px rgba(44,34,32,0.35); }

.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumb {
  aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.thumb img[src$=".png"] { object-fit: contain; padding: 10px; }
.thumb:hover img { transform: scale(1.06); }

.logo-panel {
  aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center;
  padding: 60px; border: 1px solid var(--line); position: relative;
}
.logo-panel img { max-width: 78%; max-height: 80%; object-fit: contain; }
.logo-panel::before, .logo-panel::after {
  content: ""; position: absolute; width: 30px; height: 30px; border: 1px solid var(--line);
}
.logo-panel::before { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.logo-panel::after { bottom: 16px; right: 16px; border-left: none; border-top: none; }

.case-body h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; margin-bottom: 6px; }
.handle {
  display: inline-block; font-size: 13.5px; color: var(--brown);
  letter-spacing: 0.03em; margin-bottom: 20px; border-bottom: 1px solid transparent;
}
.handle:hover { border-bottom-color: var(--brown); }
.case-lede { font-family: 'Fraunces', serif; font-size: 20px; line-height: 1.5; color: var(--cocoa); }
.case-body > p { color: var(--brown-deep); }

.deliverables { list-style: none; padding: 0; margin: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.deliverables::before {
  content: "What we delivered"; flex-basis: 100%; font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); margin-bottom: 4px;
}
.deliverables li { font-size: 13.5px; padding: 7px 13px; border: 1px solid var(--brown); color: var(--cocoa); }
.deliverables li.upcoming { border-style: dashed; }
.deliverables li em {
  font-style: normal; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--brown); color: var(--cream); padding: 2px 7px; margin-left: 6px;
}

.result { border-left: 2px solid var(--brown); padding: 4px 0 4px 24px; margin: 0 0 32px; }
.result-label {
  display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 8px;
}
.result p { font-family: 'Fraunces', serif; font-size: 18px; font-style: italic; margin-bottom: 8px; }
.result p.who { font-family: 'Didact Gothic', sans-serif; font-style: normal; font-size: 13px; color: var(--brown-deep); }

/* Lumora full-width feature */
.case-feature { background: #f5efe6; padding: 110px 0; scroll-margin-top: 80px; }
.case-feature .eyebrow { color: #8B4A2B; }
.feature-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; margin-bottom: 56px; }
.feature-head h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1; }
.feature-head > div > p { color: var(--brown-deep); }
.concept-tag {
  display: block; width: max-content; margin-top: 16px;
  font-family: 'Didact Gothic', sans-serif; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #8B4A2B; border: 1px solid #8B4A2B; padding: 5px 12px;
}
.deliverables.light li { border-color: #8B4A2B; }
.deliverables.light::before { color: #8B4A2B; }

.lumora-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px;
}
.lumora-grid figure { margin: 0; overflow: hidden; }
.lumora-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.lumora-grid figure:hover img { transform: scale(1.04); }
.g-a { grid-column: 1; grid-row: 1 / span 3; }
.g-b { grid-column: 2 / span 2; grid-row: 1 / span 2; }
.g-c { grid-column: 4; grid-row: 1 / span 3; }
.g-d { grid-column: 2; grid-row: 3 / span 2; }
.g-e { grid-column: 3; grid-row: 3 / span 2; }
.g-f { grid-column: 1; grid-row: 4 / span 2; }
.g-g { grid-column: 4; grid-row: 4 / span 2; }
.g-h { grid-column: 2; grid-row: 5; }
.g-i { grid-column: 3; grid-row: 5; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(28,22,20,0.92);
  display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lb-close {
  position: absolute; top: 14px; right: 20px; background: none; border: none;
  color: var(--cream); font-size: 38px; line-height: 1; cursor: pointer;
}

@media (max-width: 900px) {
  .case { padding: 70px 0; }
  .case-grid, .case-grid.flip { grid-template-columns: 1fr; gap: 36px; }
  .case-grid.flip .case-media { order: 0; }
  .feature-head { grid-template-columns: 1fr; gap: 20px; }
  .lumora-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .lumora-grid figure { grid-column: auto; grid-row: span 2; }
  .lumora-grid .g-b { grid-column: span 2; grid-row: span 2; }
  .lumora-grid .g-i { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .case-lede { font-size: 18px; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .logo-panel { padding: 36px; }
}
.thumb.page img { object-position: 85% center; }
