:root {
  --bg: #f7f4ef;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #67615b;
  --line: #e7e1d8;
  --soft: #efe8dd;
  --gold: #c8963e;
  --gold-light: #f2c96b;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.09);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

img, video, iframe {
  max-width: 100%;
}

img, video {
  display: block;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.02;
}

.section-heading p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,244,239,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: fit-content;
}

.brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.brand-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.brand-text span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-links a {
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: var(--ink);
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #2b2b2b;
  border-color: #2b2b2b;
}

.btn.secondary,
button.btn.secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.74);
  border-color: var(--line);
}

.btn.secondary:hover,
button.btn.secondary:hover {
  background: white;
  border-color: var(--ink);
}

.mobile-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 0 18px;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 58px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.72;
  pointer-events: none;
}

.hero::before {
  background: white;
  left: -120px;
  top: -80px;
}

.hero::after {
  background: #e2d3bd;
  right: -140px;
  bottom: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.96;
}

.highlight {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 260% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to { background-position: 260% center; }
}

.hero-copy p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.85;
  max-width: 650px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.stat {
  padding: 18px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(17,17,17,0.04);
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
}

.video-frame {
  border-radius: 34px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow);
}

.video-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #222;
  min-height: 480px;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-hero-video {
  display: none;
}

.floating-note {
  position: absolute;
  left: -16px;
  bottom: -20px;
  max-width: 300px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.floating-note span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.floating-note strong {
  display: block;
  margin-top: 7px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.section {
  padding: 78px 0;
}

.section.dark {
  background: var(--ink);
  color: white;
}

.dark .section-heading p,
.dark .eyebrow {
  color: rgba(255,255,255,0.67);
}

.dark .eyebrow {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(17,17,17,0.05);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  color: white;
  font-size: 1.45rem;
  margin-bottom: 22px;
}

.card-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon svg circle,
.card-icon svg rect,
.card-icon svg path {
  vector-effect: non-scaling-stroke;
}


.card h3 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
}

.package-card.light {
  background: white;
  color: var(--ink);
}

.package-card .tag {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.package-card.light .tag {
  color: var(--muted);
}

.package-card h3 {
  margin-top: 14px;
  font-size: 2.4rem;
}

.package-card p {
  margin-top: 13px;
  color: rgba(255,255,255,0.66);
  line-height: 1.7;
  font-size: 0.94rem;
}

.package-card.light p {
  color: var(--muted);
}

.package-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  display: flex;
  gap: 8px;
  margin: 11px 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.package-card .best-for {
  margin-top: auto;
  padding: 15px;
  border-radius: 18px;
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.73);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.55;
}

.package-card.light .best-for {
  background: var(--bg);
  color: var(--muted);
}

.popular-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 7px 10px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.portfolio-card {
  overflow: hidden;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(17,17,17,0.06);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-card div {
  padding: 18px;
}

.portfolio-card h3 {
  font-size: 1.22rem;
}

.portfolio-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.step .number {
  color: #d8cec0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
}

.step h3 {
  margin-top: 8px;
  font-size: 1.7rem;
}

.step p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.cta-panel {
  background: white;
  border-radius: 38px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.cta-panel .copy {
  padding: 48px;
}

.cta-panel h2 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.cta-panel p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
}

.cta-art {
  min-height: 380px;
  background: linear-gradient(135deg, #151515, #6e665d, #020202);
  color: white;
  padding: 34px;
  display: flex;
  align-items: flex-end;
}

.cta-art-inner {
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 26px;
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(10px);
}

.cta-art-inner strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  line-height: 1.05;
}

.cta-art-inner span {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
}

.order-hero {
  padding: 58px 0 34px;
}

.order-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  align-items: start;
}

.order-panel {
  position: sticky;
  top: 96px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.order-panel h2 {
  font-size: 2.3rem;
  line-height: 1.05;
}

.order-panel p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.option-group {
  margin-top: 22px;
}

.option-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 0.74rem;
}

.option-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.option-button {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 20px;
  padding: 15px;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: 0.2s ease;
}

.option-button strong {
  display: block;
  font-size: 0.95rem;
}

.option-button span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.option-button:hover,
.option-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.option-button:hover span,
.option-button.active span {
  color: rgba(255,255,255,0.72);
}

.notice {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: #fff7e6;
  border: 1px solid #efd49a;
  color: #71501b;
  line-height: 1.5;
  font-size: 0.9rem;
}

.form-frame-wrap {
  display: none;
  margin-top: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.form-frame-wrap.visible {
  display: block;
}

.form-frame-header {
  padding: 10px 8px 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.form-frame-header h2 {
  font-size: 1.75rem;
}

.form-frame-header p {
  margin-top: 5px;
  color: var(--muted);
}

.form-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  border-radius: 24px;
  background: var(--bg);
}

.order-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.addon {
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
  padding: 14px;
  font-weight: 800;
  font-size: 0.92rem;
}

.disabled-card {
  opacity: 0.68;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: white;
}

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--ink);
}

.simple-page {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 60px 20px;
  text-align: center;
}

.simple-page-card {
  max-width: 680px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.simple-page-card h1 {
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1.02;
}

.simple-page-card p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.simple-page-card .hero-actions {
  justify-content: center;
}

@media (max-width: 1000px) {
  .hero-grid,
  .order-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .package-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 68px;
  }

  .brand img {
    height: 34px;
  }

  .brand-text {
    display: none;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
    place-items: center;
  }

  .mobile-menu.open {
    display: block;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 13vw, 5rem);
  }

  .hero-actions,
  .stats {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .video-stack {
    display: none;
  }

  .mobile-hero-video {
    display: block;
    overflow: hidden;
    border-radius: 26px;
    background: #222;
  }

  .mobile-hero-video video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .floating-note {
    position: static;
    margin-top: 14px;
  }

  .section {
    padding: 58px 0;
  }

  .cards-grid,
  .package-grid,
  .portfolio-grid,
  .steps-grid,
  .order-card-grid,
  .addon-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel .copy,
  .cta-art {
    padding: 28px;
  }

  .form-frame-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-frame-wrap iframe {
    min-height: 780px;
  }
}

/* Focused Place an Order page */
.compact-order-hero {
  padding: 52px 0 12px;
}

.compact-heading {
  max-width: 820px;
  margin-bottom: 0;
}

.compact-heading h2 {
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.order-only-section {
  padding-top: 22px;
  padding-bottom: 64px;
}

.order-only-container {
  max-width: 940px;
}

.order-only-panel {
  position: static;
}

.order-only-panel h2 {
  text-align: center;
}

.first-option-group {
  margin-top: 0;
}

.second-question-group {
  display: none;
}

.second-question-group.visible {
  display: block;
}

.option-buttons-two {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.option-buttons-two .option-button {
  min-height: 82px;
  text-align: center;
  display: grid;
  place-items: center;
}

.option-buttons-two .option-button strong {
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reset-order-btn {
  margin-top: 14px;
  width: 100%;
}

.order-form-only {
  margin-top: 26px;
}

.compact-footer {
  margin-top: 0;
}

@media (max-width: 760px) {
  .option-buttons-two {
    grid-template-columns: 1fr;
  }

  .option-buttons-two .option-button {
    min-height: 72px;
  }

  .compact-order-hero {
    padding-top: 36px;
  }
}


/* Emphasize the package choice only inside the order form */
.second-question-group .option-button[data-value="package"] {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(#fbfaf7, #fbfaf7) padding-box,
    linear-gradient(135deg, var(--gold), var(--gold-light), #9c671c) border-box;
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(242, 201, 107, 0.18),
    0 18px 44px rgba(200, 150, 62, 0.26),
    0 0 34px rgba(242, 201, 107, 0.22);
}

.second-question-group .option-button[data-value="package"] strong {
  color: var(--ink);
}

.second-question-group .option-button[data-value="package"]:hover,
.second-question-group .option-button[data-value="package"].active {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff8e5, #fffdf6) padding-box,
    linear-gradient(135deg, #b97821, var(--gold-light), var(--gold)) border-box;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(242, 201, 107, 0.24),
    0 24px 58px rgba(200, 150, 62, 0.34),
    0 0 46px rgba(242, 201, 107, 0.28);
}


/* Homepage portfolio preview */
.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: end;
}

.split-heading > p,
.split-heading > div p {
  color: var(--muted);
  line-height: 1.8;
}

.split-heading .btn {
  margin-top: 18px;
}

.work-preview {
  padding-top: 20px;
}

.work-preview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.7fr;
  gap: 18px;
  align-items: stretch;
}

.work-preview-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 30px;
  background: #111;
  color: #fff;
  box-shadow: var(--shadow);
  display: block;
}

.work-preview-card.large {
  min-height: 440px;
}

.work-preview-card.vertical {
  min-height: 440px;
}

.work-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}

.work-preview-card:hover img {
  transform: scale(1.04);
}

.work-preview-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.8));
}

.work-preview-card div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.work-preview-card span,
.portfolio-label,
.recent-listing-card span,
.portfolio-placeholder-card span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.84);
  padding: 7px 10px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.work-preview-card strong {
  display: block;
  margin-top: 14px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.02;
}

.work-preview-card:not(.large) strong {
  font-size: clamp(1.5rem, 2.1vw, 2.15rem);
}

/* Full portfolio page */
.portfolio-hero {
  padding: 70px 0 50px;
  overflow: hidden;
}

.portfolio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 40px;
  align-items: center;
}

.portfolio-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.8rem, 8vw, 7.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  max-width: 980px;
}

.portfolio-hero p {
  margin-top: 24px;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.85;
  font-size: 1.06rem;
}

.portfolio-hero-media {
  position: relative;
  border: 0;
  padding: 0;
  overflow: hidden;
  min-height: 650px;
  border-radius: 36px;
  background: #111;
  color: white;
  box-shadow: 0 30px 90px rgba(17,17,17,0.22);
  cursor: pointer;
}

.portfolio-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.portfolio-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.68));
}

.play-pill {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 13px 18px;
  font-weight: 900;
  box-shadow: 0 16px 45px rgba(0,0,0,0.22);
}

.portfolio-gallery-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.portfolio-item,
.portfolio-placeholder-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #111;
  color: white;
  text-align: left;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.portfolio-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 680px;
}

.portfolio-item.vertical {
  min-height: 680px;
  grid-row: span 2;
}

.portfolio-item img,
.portfolio-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover img,
.portfolio-item:hover video {
  transform: scale(1.04);
}

.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.78));
}

.portfolio-label {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 20px;
}

.portfolio-item div,
.portfolio-placeholder-card div {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.portfolio-item strong,
.portfolio-placeholder-card strong {
  display: block;
  margin-top: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  line-height: 1.05;
}

.portfolio-item.featured strong {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.portfolio-item small,
.portfolio-placeholder-card p {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.portfolio-placeholder-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(242,201,107,0.22), transparent 34%),
    linear-gradient(135deg, #161616, #3a3328);
  padding: 24px;
  cursor: default;
}

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

.recent-listing-card {
  overflow: hidden;
  border-radius: 30px;
  background: white;
  color: var(--ink);
  min-height: 360px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.14);
  display: grid;
  grid-template-rows: 210px 1fr;
  border: 1px solid rgba(255,255,255,0.14);
}

.recent-listing-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-listing-card > div {
  padding: 24px;
}

.recent-listing-card span {
  background: #f5efe3;
  border-color: #eadcc8;
  color: #8b6a35;
}

.listing-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-card-tags span {
  display: inline-flex;
  width: fit-content;
}

.recent-listing-card strong {
  display: block;
  margin-top: 14px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.65rem, 2vw, 2rem);
  line-height: 1.05;
}

.recent-listing-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.placeholder-listing {
  display: flex;
  min-height: 360px;
  background: rgba(255,255,255,0.07);
  color: white;
  border: 1px solid rgba(255,255,255,0.14);
}

.placeholder-listing div {
  margin-top: auto;
}

.placeholder-listing strong {
  color: white;
}

.placeholder-listing p {
  color: rgba(255,255,255,0.62);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  width: min(1120px, 100%);
  max-height: 92vh;
  color: white;
}

.lightbox-content img,
.lightbox-content video {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 24px;
  background: #111;
}

.lightbox-caption {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.lightbox-caption h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
}

.lightbox-caption p {
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .recent-listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .split-heading,
  .portfolio-hero-grid,
  .recent-listings-grid {
    grid-template-columns: 1fr;
  }

  .work-preview-grid,
  .portfolio-gallery-full {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-hero-media,
  .portfolio-item.featured,
  .portfolio-item.vertical {
    min-height: 520px;
  }

  .portfolio-item.featured,
  .portfolio-item.vertical {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .work-preview-grid,
  .portfolio-gallery-full {
    grid-template-columns: 1fr;
  }

  .work-preview-card,
  .work-preview-card.large,
  .work-preview-card.vertical,
  .portfolio-hero-media,
  .portfolio-item,
  .portfolio-item.featured,
  .portfolio-item.vertical {
    min-height: 430px;
  }

  .portfolio-hero {
    padding-top: 46px;
  }

  .portfolio-hero h1 {
    font-size: clamp(3.1rem, 16vw, 5.4rem);
  }

  .lightbox {
    padding: 14px;
  }
}

/* Updated portfolio page - image first */
.portfolio-heading-minimal {
  align-items: end;
}

.portfolio-heading-minimal h1 {
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  line-height: 0.95;
  max-width: 820px;
}

.portfolio-heading-minimal p {
  max-width: 520px;
}

.portfolio-spotlight-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 16px;
  grid-auto-rows: 245px;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  padding: 0;
  background: #111;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.spotlight-card img,
.spotlight-card video,
.media-card img,
.media-card video,
.work-preview-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight-card::after,
.media-card::after,
.work-preview-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.64));
}

.spotlight-wide {
  grid-row: span 2;
  min-height: 506px;
}

.spotlight-tall {
  grid-row: span 2;
  min-height: 506px;
}

.gallery-toolbar {
  display: grid;
  gap: 18px;
  align-items: end;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin-bottom: 24px;
}

.gallery-toolbar h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.media-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.media-filter {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
  color: var(--muted);
}

.media-filter.active,
.media-filter:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

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

.media-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  min-height: 290px;
  padding: 0;
  background: #111;
  box-shadow: 0 15px 40px rgba(17,17,17,0.12);
  cursor: pointer;
}

.media-card .media-card-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.media-card .media-card-meta strong {
  display: inline-block;
  color: white;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.04;
}

.media-card.is-hidden {
  display: none;
}

.portfolio-label {
  background: rgba(17,17,17,0.72);
  backdrop-filter: blur(10px);
}

.recent-heading-minimal p {
  max-width: 380px;
}

.recent-listing-card.compact {
  min-height: auto;
  grid-template-rows: 220px auto;
}

.recent-listing-card.compact > div {
  padding: 18px 20px 22px;
}

.recent-listing-card.compact strong {
  margin-top: 12px;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.portfolio-preview-minimal p {
  display: none;
}

.visual-preview-grid .work-preview-card video {
  position: absolute;
  inset: 0;
}

@media (max-width: 1100px) {
  .portfolio-spotlight-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-toolbar {
    grid-template-columns: 1fr;
  }

  .media-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .portfolio-spotlight-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-wide,
  .spotlight-tall,
  .media-card {
    min-height: 420px;
  }

  .portfolio-heading-minimal h1 {
    font-size: clamp(2.8rem, 15vw, 4.7rem);
  }
}

/* Portfolio page grouped galleries update */
.compact-portfolio-hero {
  padding: 56px 0 26px;
}

.compact-portfolio-wrap {
  max-width: 760px;
}

.compact-portfolio-wrap h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.9rem, 5.2vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  max-width: 620px;
  margin-top: 14px;
}

.compact-hero-actions {
  margin-top: 22px;
}

.motion-showcase-section {
  padding-top: 10px;
}

.grouped-gallery-heading {
  margin-bottom: 18px;
}

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

.grouped-photo-card {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  padding: 0;
  background: #111;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(17,17,17,0.10);
  min-height: 265px;
}

.grouped-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.grouped-photo-card:hover img {
  transform: scale(1.035);
}

.portfolio-motion-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 16px;
  grid-auto-rows: 250px;
}

.motion-card {
  position: relative;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #111;
  box-shadow: 0 15px 40px rgba(17,17,17,0.12);
}

.motion-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.62));
}

.motion-wide {
  grid-row: span 2;
  min-height: 516px;
}

.motion-tall {
  grid-row: span 2;
  min-height: 516px;
}

.motion-meta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
}

.motion-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17,17,17,0.72);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grouped-gallery-section {
  padding-top: 10px;
}

.recent-listings-heading-only {
  margin-bottom: 18px;
}

@media (max-width: 1100px) {
  .grouped-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-motion-grid {
    grid-template-columns: 1fr 1fr;
  }

  .motion-wide,
  .motion-tall {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .grouped-gallery-grid,
  .portfolio-motion-grid {
    grid-template-columns: 1fr;
  }

  .grouped-photo-card,
  .motion-card,
  .motion-wide,
  .motion-tall {
    min-height: 390px;
  }

  .compact-portfolio-wrap h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }
}
