@import url('https://fonts.googleapis.com/css2?family=Lacquer&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --yellow: #840001;
  --yellow-hover: #a50002;
  --yellow-light: #f8e8e8;
  --cream: #f7ead0;
  --cream-soft: #fff7e6;
  --contrast: #153f3c;
  --contrast-dark: #0d2927;
  --ink: #27170f;
  --black: var(--cream);
  --dark: var(--contrast);
  --dark-hover: #1f5753;
  --white: var(--cream-soft);
  --text-dark: var(--ink);
  --text-light: var(--cream-soft);
  --text-muted: rgba(255, 247, 230, 0.78);
  --border-light: rgba(132, 0, 1, 0.42);
  --border-dark: rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.25);
  --shadow-material: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-material-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --font-big: 'Outfit', sans-serif;
  --font-ui: 'Plus Jakarta Sans', sans-serif;
  --font-portfolio: 'Lacquer', 'Chiller', 'Brush Script MT', cursive;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background: var(--yellow);
  color: var(--text-dark);
  font-family: var(--font-ui);
  font-style: italic;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Header & Navigation: Centered Nav and Brand Background */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 80px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: var(--yellow);
  border-bottom: 2px solid var(--yellow);
  box-shadow: var(--shadow-material);
}

/* Animated bottom line */
.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  animation: slideInLine 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes slideInLine {
  to {
    transform: scaleX(1);
  }
}

.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: min(190px, 42vw);
  min-height: 48px;
  line-height: 1;
}

.brand img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  grid-column: 2;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--white);
  color: var(--yellow);
  outline: none;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 99px;
  background: currentColor;
  transition: var(--transition-smooth);
}

.nav-toggle-line {
  position: relative;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-line::before {
  top: -7px;
}

.nav-toggle-line::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
}

.site-nav > a, 
.dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 8px;
  color: var(--white);
  font-family: var(--font-big);
  font-style: italic;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.site-nav > a::before,
.dropdown-trigger::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  margin-right: 7px;
  font-size: 0.82em;
  line-height: 1;
  opacity: 0.95;
  transform: translateY(-1px);
}

.site-nav > a:nth-of-type(1)::before {
  content: "\2302";
}

.site-nav > a:nth-of-type(2)::before {
  content: "\25C9";
}

.site-nav > a:nth-of-type(3)::before {
  content: "\2699";
}

.dropdown-trigger::before {
  content: "\25A6";
}

.site-nav > a:nth-of-type(4)::before {
  content: "\2709";
}

.site-nav > a:nth-of-type(5)::before {
  content: "\2605";
}

.site-nav > a::after, 
.dropdown-trigger::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 2px;
  left: 8px;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  animation: navLineGlow 2.4s ease-in-out infinite;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.dropdown:hover .dropdown-trigger::after {
  transform: scaleX(1);
}

.site-nav a:hover, 
.dropdown:hover .dropdown-trigger {
  color: var(--white);
}

.site-nav > .nav-book-now {
  margin-left: clamp(4px, 1.2vw, 18px);
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 247, 230, 0.55);
  border-radius: 8px;
  background: var(--cream-soft);
  color: var(--yellow);
  box-shadow: 0 10px 22px rgba(39, 23, 15, 0.18);
}

.site-nav > .nav-book-now::after {
  display: none;
}

.site-nav > .nav-book-now:hover,
.site-nav > .nav-book-now:focus-visible {
  background: var(--contrast);
  color: var(--cream-soft);
  outline: none;
  transform: translateY(-1px);
}

@keyframes navLineGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 247, 230, 0);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 247, 230, 0.82);
  }
}

/* CSS Nested Dropdowns */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--black);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  z-index: 1001;
  padding: 8px 0;
  margin-top: 8px;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 12px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
  position: relative;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: var(--white);
  font-family: var(--font-ui);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.dropdown-menu a:hover {
  background-color: var(--yellow);
  color: var(--white) !important;
}

/* Submenu layout: Opens LEFT to prevent right off-screen clipping */
.nested-dropdown .dropdown-submenu {
  display: none;
  position: absolute;
  top: -8px;
  right: 100%;
  left: auto;
  background-color: var(--black);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 0;
  margin-right: 0;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
  .nested-dropdown:hover .dropdown-submenu,
  .nested-dropdown:focus-within .dropdown-submenu,
  .nested-dropdown.is-open .dropdown-submenu,
  .site-nav.is-open .dropdown.is-open .dropdown-submenu {
  display: block;
}

.chevron {
  display: inline-block;
  font-size: 0.75rem;
  margin-left: 6px;
  transition: transform 0.2s;
}

.dropdown:hover .dropdown-trigger .chevron {
  transform: rotate(180deg);
}

.chevron-right {
  font-size: 0.75rem;
  margin-left: 12px;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section: Restored Original Layout, Fonts & Sizes */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(42px, 8vw, 108px) clamp(18px, 7vw, 96px) clamp(56px, 9vw, 120px);
  background: var(--yellow);
}

.hero-copy {
  align-self: center;
  width: min(100%, 920px);
  padding: clamp(20px, 4vw, 48px) 0;
  color: var(--white);
  animation: fadeInUp 0.8s ease-out;
}

.hero-copy h1 {
  max-width: 920px;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  color: var(--white);
  font-family: var(--font-big);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-style: normal;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: none;
}
.hero-copy h1 span {
  display: block;
  color: var(--cream-soft);
  font-weight: 300;
  letter-spacing: -0.065em;
}

.hero-copy .hero-eyebrow {
  margin: 0 0 clamp(18px, 3vw, 32px);
  color: var(--cream-soft);
  font-family: var(--font-ui);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero-copy .hero-tagline {
  max-width: 740px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-big);
  font-size: clamp(1.15rem, 1.7vw, 1.7rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}
.hero-copy .hero-intro {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(255, 247, 230, 0.78);
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 42px);
}
.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: var(--transition-smooth);
}
.hero-action span {
  font-size: 1.15rem;
  line-height: 1;
}
.hero-action-primary {
  background: var(--cream-soft);
  color: var(--yellow);
}
.hero-action-secondary {
  border-color: rgba(255, 247, 230, 0.65);
  color: var(--cream-soft);
}
.hero-action:hover,
.hero-action:focus-visible {
  transform: translateY(-2px);
  outline: none;
}
.hero-action-primary:hover,
.hero-action-primary:focus-visible {
  background: var(--contrast);
  color: var(--cream-soft);
}
.hero-action-secondary:hover,
.hero-action-secondary:focus-visible {
  border-color: var(--cream-soft);
  background: rgba(255, 247, 230, 0.1);
}

.hero-media {
  justify-self: end;
  width: min(100%, 800px);
  max-height: 76vh;
  overflow: hidden;
  border-radius: 28px;
  transform: translateX(-28px);
  animation: scaleIn 0.8s ease-out;
}

.hero-media img {
  width: 100%;
  height: min(76vh, 720px);
  object-fit: contain;
  object-position: right top;
}

/* Page Section General */
.page-section {
  padding: clamp(60px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background: var(--yellow);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 48px;
}

.section-heading span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--black);
  font-family: var(--font-big);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-heading h2 {
  margin: 0;
  color: var(--black);
  font-family: var(--font-big);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
}

.section-heading p,
.section-copy {
  max-width: 820px;
  margin: 20px 0 0;
  color: rgba(255, 247, 230, 0.86);
  font-family: var(--font-ui);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
}

/* Category Quick Links (CTA) Section under Hero */
.cta-section {
  padding: 60px clamp(18px, 5vw, 72px);
  background: var(--black);
  color: var(--white);
  text-align: center;
  border-bottom: 2px solid var(--white);
}

.cta-container h2 {
  font-family: var(--font-big);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  margin: 0 0 12px 0;
  color: var(--yellow);
  text-transform: uppercase;
}

.cta-container p {
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  margin: 0 0 32px 0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 36px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 999px;
  font-family: var(--font-big);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.btn-cta-yellow {
  background-color: var(--yellow);
  color: var(--white);
  border: 2px solid var(--yellow);
}

.btn-cta-yellow:hover {
  background-color: transparent;
  color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(132, 0, 1, 0.28);
}

.btn-cta-black {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-cta-black:hover {
  background-color: var(--white);
  color: var(--black);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* Google Material Cards Section */
.services {
  background: var(--white);
  border-bottom: 2px solid var(--black);
}

.services-grid, 
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

/* Service Card & Project Card: Uniform Google Material Design 3 */
.service-card, 
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--dark);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-material);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  height: auto;
  min-height: 650px;
}

.service-card:hover, 
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-material-hover);
  border-color: rgba(132, 0, 1, 0.55);
}

.service-image, 
.project-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: clamp(280px, 28vw, 430px);
  overflow: hidden;
  background: var(--black);
}

.service-image img, 
.project-card img,
.project-image img {
  position: static;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: none;
}

.service-card:hover .service-image img, 
.project-card:hover img,
.project-card:hover .project-image img {
  transform: none;
}

.service-number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--yellow);
  color: var(--white);
  font-family: var(--font-big);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.service-content, 
.project-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 26px;
  color: var(--white);
}

/* Common Card Tag styles */
.card-tag, 
.project-body span {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(132, 0, 1, 0.16);
  border: 1px solid rgba(132, 0, 1, 0.34);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
}

.service-content h3, 
.project-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-big);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.service-content p, 
.project-body p {
  font-family: var(--font-ui);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.arrow-button, 
.project-body a,
.project-view-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 99px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-big);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  margin-top: auto;
}

.arrow-button span {
  font-size: 1.2rem;
  line-height: 1;
}

.arrow-button:hover, 
.arrow-button:focus-visible, 
.project-body a:hover, 
.project-body a:focus-visible {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--white);
  outline: none;
  transform: translateX(4px);
}

/* About Page Specific Styles */
.about-view {
  background: var(--white);
  padding: clamp(60px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-details h3 {
  font-family: var(--font-big);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--black);
}

.about-details p {
  margin-bottom: 24px;
  font-size: 1.1rem;
  color: rgba(255, 247, 230, 0.82);
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.skill-badge {
  background: var(--black);
  color: var(--yellow);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-big);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Contact Page Specific Styles */
.contact-view {
  background: var(--yellow);
  padding: clamp(60px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel {
  background: linear-gradient(145deg, var(--cream-soft), var(--cream));
  color: var(--ink);
  padding: clamp(28px, 4vw, 42px);
  border-radius: 8px;
  border: 1px solid rgba(132, 0, 1, 0.2);
  box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
  font-family: var(--font-big);
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 24px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item h4 {
  font-family: var(--font-big);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.contact-item p {
  color: black;
}

.contact-form-container {
  background: var(--cream-soft);
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  border: 1px solid rgba(39, 23, 15, 0.16);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-big);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--black);
}

.form-group input, 
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-submit {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-family: var(--font-big);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-submit:hover {
  background: var(--yellow);
  color: var(--white);
  transform: translateY(-2px);
}

/* Portfolio Page View */
.portfolio-view {
  min-height: 100vh;
  background: var(--white);
  padding: clamp(40px, 6vw, 70px) clamp(18px, 5vw, 72px) clamp(60px, 8vw, 100px);
}

.category-hero {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: clamp(30px, 6vw, 60px);
  border-radius: 24px;
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.category-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(132, 0, 1, 0.16);
}

.category-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  font-family: var(--font-big);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.category-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0;
  font-family: var(--font-big);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.95;
  font-weight: 900;
  color: var(--white);
}

.category-hero p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  line-height: 1.5;
}

.category-count {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.category-count strong {
  color: var(--yellow);
  font-size: 1.4rem;
  font-family: var(--font-big);
}

.category-count span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.projects-section {
  padding-top: 20px;
}

.projects-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.projects-topline h2 {
  margin: 0;
  color: var(--black);
  font-family: var(--font-big);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
}

.projects-topline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-big);
  font-weight: 800;
  text-transform: uppercase;
}

.projects-topline a:hover {
  background-color: var(--yellow);
  color: var(--white);
}

/* Floating Scroll action bar */
.scroll-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.scroll-floating-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.floating-bar-label {
  color: var(--white);
  font-family: var(--font-big);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-left: 12px;
}

.floating-bar-buttons {
  display: flex;
  gap: 8px;
}

.btn-floating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-big);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.btn-floating.btn-web {
  background-color: var(--yellow);
  color: var(--white);
}

.btn-floating.btn-web:hover {
  background-color: var(--white);
  transform: translateY(-2px);
}

.btn-floating.btn-graphic {
  background-color: var(--white);
  color: var(--black);
}

.btn-floating.btn-graphic:hover {
  background-color: var(--yellow);
  transform: translateY(-2px);
}

/* Site Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: clamp(40px, 8vw, 80px) clamp(18px, 5vw, 72px);
  background: var(--black);
  color: var(--white);
  border-top: 3px solid var(--white);
}

.footer-brand h2 {
  margin: 0 0 12px;
  font-family: var(--font-big);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.footer-brand h2 span {
  color: var(--yellow);
}

.footer-brand p {
  margin-bottom: 20px;
  color: var(--text-muted);
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-brand .footer-contact-info {
  font-size: 0.9rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand .footer-contact-info a {
  color: var(--yellow);
}

.footer-brand .footer-contact-info a:hover {
  color: var(--white);
}

.footer-nav-col h3 {
  font-family: var(--font-big);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col ul a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-nav-col ul a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
  font-family: var(--font-big);
}

.footer-bottom a:hover {
  background-color: var(--yellow);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
  .services-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1.2fr 1fr;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: auto;
    padding: 16px 24px;
    align-items: center;
    grid-template-columns: auto auto;
    gap: 16px;
  }
  
  .brand {
    grid-column: 1;
  }
  
  .site-nav {
    grid-column: 2;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
    padding-top: 40px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-media {
    order: 1;
    max-height: none;
    width: 100%;
  }

  .about-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 16px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.18);
    box-shadow: var(--shadow-material);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .site-nav > a,
  .dropdown-trigger {
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .site-nav > a:hover,
  .dropdown:hover .dropdown-trigger {
    background: rgba(255, 255, 255, 0.14);
  }

  .dropdown {
    width: 100%;
  }

  .dropdown::after {
    display: none;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    min-width: unset;
    width: 100%;
    margin-top: 4px;
    padding: 6px;
    border: 1px solid rgba(132, 0, 1, 0.34);
    border-radius: 8px;
    background: var(--white);
    box-shadow: none;
    text-align: left;
    transform: none;
  }
  
  .site-nav.is-open .dropdown:hover .dropdown-menu,
  .site-nav.is-open .dropdown:focus-within .dropdown-menu,
  .site-nav.is-open .dropdown.is-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--black);
    font-size: 0.9rem;
  }
  
  .nested-dropdown .dropdown-submenu {
    position: static;
    display: none;
    width: 100%;
    margin: 4px 0 0;
    padding: 6px;
    border: 1px solid rgba(132, 0, 1, 0.24);
    border-radius: 8px;
    background: var(--yellow-light);
    box-shadow: none;
  }
  .nested-dropdown:hover .dropdown-submenu,
  .nested-dropdown:focus-within .dropdown-submenu,
  .nested-dropdown.is-open .dropdown-submenu,
  .site-nav.is-open .dropdown.is-open .dropdown-submenu {
    display: block;
  }
  
  .chevron-right {
    display: none;
  }
  .services-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .scroll-floating-bar {
    width: 90%;
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
    gap: 10px;
  }

  .floating-bar-label {
    padding-left: 0;
  }

  .floating-bar-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .btn-floating {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}
/* Cream + contrast theme refinements */
.cta-section,
.contact-info-panel,
.category-hero,
.site-footer {
  color: var(--ink);
}

.cta-container p,
.contact-item p,
.category-hero p,
.footer-brand p,
.footer-nav-col ul a,
.footer-bottom {
  color: rgba(39, 23, 15, 0.76);
}

.btn-cta-black {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-cta-black:hover {
  background-color: var(--ink);
  color: var(--cream-soft);
}

.services,
.about-view,
.portfolio-view,
.contact-form-container {
  background: var(--contrast);
}

.services .section-heading span,
.services .section-heading h2,
.about-details h3,
.projects-topline h2,
.form-group label {
  color: var(--cream-soft);
}

.section-heading p,
.section-copy,
.about-details p {
  color: rgba(255, 247, 230, 0.84);
}

.skill-badge,
.projects-topline a,
.btn-submit,
.footer-bottom a {
  background: var(--black);
  color: var(--ink);
}

.contact-item h4,
.category-hero h1,
.category-count span,
.footer-brand h2,
.footer-brand .footer-contact-info,
.footer-brand .footer-contact-info a:hover {
  color: var(--ink);
}

.category-count {
  border-color: rgba(39, 23, 15, 0.22);
  background: rgba(39, 23, 15, 0.08);
}

.footer-nav-col ul a:hover,
.footer-bottom a:hover {
  color: var(--yellow);
}
button,
input,
textarea,
select {
  font-style: italic;
}

.dropdown-menu a,
.site-nav.is-open .dropdown-menu a {
  color: var(--ink);
}

.dropdown-menu a:hover,
.site-nav.is-open .dropdown-menu a:hover {
  color: var(--cream-soft) !important;
}

.scroll-floating-bar {
  background: rgba(247, 234, 208, 0.94);
  border-color: var(--contrast);
}

.floating-bar-label,
.btn-floating.btn-graphic {
  color: var(--ink);
}

.btn-floating.btn-web:hover,
.btn-floating.btn-graphic:hover {
  color: var(--ink);
}

.footer-bottom a {
  background: var(--contrast);
  color: var(--cream-soft);
}



.service-image::-webkit-scrollbar,
.project-image::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.service-image::-webkit-scrollbar-thumb,
.project-image::-webkit-scrollbar-thumb {
  background: rgba(132, 0, 1, 0.72);
  border-radius: 99px;
}

/* Booking page - Google Forms inspired */
.form-status,
.booking-status {
  min-height: 22px;
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 800;
}

.google-form-page {
  min-height: 100vh;
  background: #f5eaea;
  padding: clamp(18px, 4vw, 34px) 16px clamp(56px, 8vw, 92px);
}

.form-banner,
.google-form-wrap {
  width: min(640px, 100%);
  margin-inline: auto;
}

.form-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(120px, 0.75fr);
  align-items: center;
  min-height: 158px;
  overflow: hidden;
  margin-bottom: 14px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(132, 0, 1, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #f2eee8 0%, #ddd5cc 100%);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
}

.form-banner::before,
.form-banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--yellow);
}

.form-banner::before {
  width: 44px;
  height: 44px;
  left: 32px;
  bottom: 36px;
  box-shadow: -18px 12px 0 #6d7376, 18px 20px 0 rgba(132, 0, 1, 0.88);
}

.form-banner::after {
  width: 38px;
  height: 38px;
  right: 28px;
  top: 24px;
  box-shadow: -18px -8px 0 #8a8f92;
}

.form-banner-copy {
  position: relative;
  z-index: 1;
}

.form-banner-copy span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--cream-soft);
  font-family: var(--font-big);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-banner-copy h1 {
  max-width: 340px;
  color: var(--yellow);
  font-family: var(--font-big);
  font-size: clamp(1.7rem, 4.8vw, 2.45rem);
  font-weight: 900;
  line-height: 0.92;
}

.form-banner-copy p {
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-banner img {
  position: relative;
  z-index: 1;
  justify-self: end;
  max-height: 136px;
  object-fit: contain;
  filter: grayscale(0.15);
}

.google-form-wrap {
  display: grid;
  gap: 12px;
}

.google-form-intro,
.google-question-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
}

.google-form-intro {
  border-top: 10px solid var(--yellow);
  padding: 24px 24px 0;
}

.google-form-intro h2 {
  margin-bottom: 12px;
  color: #202124;
  font-family: var(--font-ui);
  font-size: clamp(1.9rem, 5vw, 2.55rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

.google-form-intro p,
.google-form-intro li {
  color: #3c4043;
  font-size: 0.96rem;
  font-style: normal;
  line-height: 1.55;
}

.google-form-intro p,
.google-form-intro ul {
  margin-bottom: 14px;
}

.google-form-intro ul {
  padding-left: 26px;
}

.google-form-note {
  padding-top: 8px;
}

.required-note {
  margin: 20px -24px 0;
  padding: 14px 24px;
  border-top: 1px solid #dadce0;
  color: var(--yellow) !important;
}

.google-form {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.google-question-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.google-question-card > * {
  max-width: 100%;
  min-width: 0;
}

.google-question-card label,
.google-question-card legend {
  color: #202124;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.google-question-card label > span,
.google-question-card legend > span {
  color: var(--yellow);
}

.google-question-card input[type="text"],
.google-question-card input[type="email"],
.google-question-card input[type="tel"],
.google-question-card textarea {
  width: min(360px, 100%);
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #dadce0;
  border-radius: 0;
  background: transparent;
  color: #202124;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-style: normal;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.google-question-card textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
}

.google-question-card input[type="text"]:focus,
.google-question-card input[type="email"]:focus,
.google-question-card input[type="tel"]:focus,
.google-question-card textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 1px 0 var(--yellow);
  outline: none;
}

.google-question-card input::placeholder,
.google-question-card textarea::placeholder {
  color: #70757a;
}

.google-options-card {
  display: block;
  border: 1px solid #dadce0;
}

.google-options-card legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 18px;
}

.google-options-card legend + * {
  clear: both;
}

.google-options-card > .google-option + .google-option {
  margin-top: 14px;
}

.google-service-options {
  display: grid;
  gap: 12px;
}

.google-option,
.booking-check-option {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 28px;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #202124;
  cursor: pointer;
  font-size: 0.96rem !important;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.google-option input[type="radio"],
.google-option input[type="checkbox"],
.booking-check-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--yellow);
  flex: 0 0 auto;
}

.google-option span,
.booking-check-option span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.google-question-card .google-option > span {
  color: inherit;
}

.google-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 0 0;
}

.booking-submit {
  min-height: 36px;
  min-width: 92px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background: var(--yellow);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  text-transform: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.booking-submit:hover,
.booking-submit:focus-visible {
  background: var(--yellow-hover);
  box-shadow: 0 2px 5px rgba(132, 0, 1, 0.28);
  outline: none;
  transform: none;
}

.booking-submit:disabled,
.btn-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.google-clear {
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--yellow);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
}

.google-clear:hover,
.google-clear:focus-visible {
  background: rgba(132, 0, 1, 0.08);
  outline: none;
}

@media (max-width: 768px) {
  .site-nav > .nav-book-now {
    justify-content: center;
    width: 100%;
    margin-left: 0;
  }

  .google-form-page {
    padding-inline: 12px;
  }

  .form-banner {
    grid-template-columns: 1fr;
    min-height: 180px;
  }

  .form-banner img {
    position: absolute;
    right: 8px;
    bottom: 0;
    width: 42%;
    opacity: 0.8;
  }

  .google-form-intro,
  .google-question-card {
    padding: 20px;
  }

  .required-note {
    margin-inline: -20px;
    padding-inline: 20px;
  }
}

/* Mobile overflow and typography fixes */
.hero,
.portfolio-view,
.category-hero,
.projects-section,
.site-footer,
.footer-brand,
.footer-nav-col,
.footer-bottom {
  max-width: 100%;
}

.hero-copy h1,
.category-hero h1,
.projects-topline h2,
.footer-brand h2,
.footer-nav-col h3,
.site-nav a,
.dropdown-trigger,
.dropdown-menu a,
.footer-brand .footer-contact-info,
.footer-nav-col ul a {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .brand {
    width: min(172px, 58vw);
  }

  .hero {
    overflow: hidden;
    padding-inline: 16px;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
    padding: 34px 0 28px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13.5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }
  .hero-copy .hero-eyebrow {
    letter-spacing: 0.14em;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-action {
    flex: 1 1 180px;
    justify-content: center;
  }

  .hero-media {
    transform: none;
    max-width: 100%;
  }

  .cta-buttons,
  .floating-bar-buttons,
  .google-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-cta,
  .btn-floating {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .category-hero {
    border-radius: 8px;
    padding: 26px 18px;
  }

  .category-hero h1 {
    font-size: clamp(2.3rem, 13vw, 3.8rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .projects-topline {
    align-items: stretch;
    flex-direction: column;
  }

  .projects-topline a {
    width: 100%;
    min-height: 46px;
    padding-inline: 14px;
    text-align: center;
    white-space: normal;
  }

  .service-card,
  .project-card {
    height: auto;
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom a {
    width: 100%;
  }
}
/* Project card image and preview updates */
.card-tag, 
.project-body span {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(132, 0, 1, 0.16);
  border: 1px solid rgba(132, 0, 1, 0.34);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
}

.contact-form .form-status,
#contactStatus {
  color: var(--cream-soft);
}

body.preview-open {
  overflow: hidden;
}

.project-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 36px);
}

.project-preview-modal.is-open {
  display: flex;
}

.project-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.project-preview-card {
  position: relative;
  z-index: 1;
  width: min(980px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 230, 0.36);
  border-radius: 8px;
  background: var(--contrast);
  box-shadow: var(--shadow-lg);
}

.project-preview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 247, 230, 0.65);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--cream-soft);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-style: normal;
  line-height: 1;
}

.project-preview-image {
  width: 100%;
  max-height: calc(92vh - 70px);
  object-fit: contain;
  background: var(--cream-soft);
}

.project-preview-title {
  margin: 0;
  padding: 14px 18px;
  color: var(--cream-soft);
  font-family: var(--font-big);
  font-size: 1rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .service-image,
  .project-image {
    min-height: 340px;
  }

  .service-card,
  .project-card {
    min-height: 0;
  }

  .project-preview-card {
    width: 96vw;
    max-height: 88vh;
  }

  .project-preview-image {
    max-height: calc(88vh - 66px);
  }
}