/* ---- BELOW HERO CARDS ---- */
.below-hero-cards {
  background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
  padding: 3.5rem 0 3rem 0;
  margin-top: 0;
}
.below-hero-cards .wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 1rem;
}
.below-hero-cards .card {
  background: var(--color-dark);
  color: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  width: 46%;
  min-width: 280px;
  min-height: 380px; /* deadspace to simulate more text */
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* align contents to top area */
  align-items: center; /* keep horizontal centering */
  text-align: center;
}
.below-hero-cards .card h2 {
  margin: 0 0 0.8rem 0;
  font-size: 1.8rem;
  color: #fff;
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.12); /* subtle darker banner behind title */
}
.below-hero-cards .card-text {
  font-size: 1.08rem;
  color: #e7e5e0;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .below-hero-cards .wrapper { flex-direction: column; gap: 1rem; }
  .below-hero-cards .card { width: 100%; min-height: auto; align-items: center; }
}

/* Work card dropdown sections */
/* Work card dropdown sections */
.card-work .work-section {
  margin: 0.9rem 0;
  padding: 0.25rem 0;
  width: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
  border-radius: 8px;
}

.card-work .work-section summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  outline: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  background: transparent;
  transition: background 180ms ease, transform 180ms ease, color 160ms ease;
}

/* hover / focus lift for each section */
.card-work .work-section:hover,
.card-work .work-section:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.card-work .work-section:hover summary,
.card-work .work-section:focus-within summary {
  background: rgba(255,255,255,0.03);
}

.card-work .work-section summary::after {
  content: '\25B8'; /* small right-pointing triangle */
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 180ms ease, opacity 160ms ease, color 180ms ease;
  color: var(--color-beige);
  font-size: 0.95rem;
  opacity: 0.95;
}

.card-work .work-section[open] summary::after {
  transform: rotate(90deg);
}

.card-work .work-section summary::-webkit-details-marker { display: default; }

.card-work .work-section ul {
  margin: 0.6rem auto 0 auto;
  padding-left: 1.15rem;
  display: inline-block;
  text-align: left;
}

.card-work .work-section li {
  margin: 0.45rem 0;
  color: #e7e5e0;
  line-height: 1.7;
}

/* Work grid boxes inside the Work card */
.card-work .work-grid {
  display: flex;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
  justify-content: space-between;
}

.card-work .work-box {
  flex: 1 1 48%;
  background: rgba(255,255,255,0.02);
  padding: 1.25rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  border: 1px solid rgba(255,255,255,0.03);
}

.card-work .work-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .card-work .work-grid { flex-direction: column; }
  .card-work .work-box { width: 100%; }
}

/* work list styling inside boxes */
.card-work .work-box .work-list {
  list-style: disc;
  margin: 0.35rem 0 0 0;
  padding-left: 1.1rem;
  text-align: left;
  color: #e7e5e0;
}

.card-work .work-box .work-list li { margin: 0.35rem 0; }

/* Service dropdowns (replace old cards) */
.service-dropdowns {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 1rem;
  width: 100%;
}

.service-dropdowns .service {
  background: var(--color-dark);
  color: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  width: 32%;
  min-width: 230px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.service-dropdowns .service {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-dropdowns .service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
}


.service-dropdowns .service summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.2rem;
  outline: none;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.service-dropdowns .service summary::-webkit-details-marker { display: none; }

.service-dropdowns .service summary::after {
  content: '\25BE';
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  transition: transform 220ms ease;
}

.service-dropdowns .service[open] summary::after {
  transform: rotate(180deg);
}

.service-dropdowns .service ul {
  margin: 0.75rem 0 0 0;
  padding-left: 1.15rem;
  list-style-position: inside;
  display: inline-block;
  text-align: left;
}

.service-dropdowns .service li {
  margin: 0.4rem 0;
  color: #e7e5e0;
}

@media (max-width: 900px) {
  .service-dropdowns { flex-direction: column; gap: 0.75rem; padding: 0 0.5rem; }
  .service-dropdowns .service { width: 100%; min-width: 0; }
  .service-dropdowns .service ul { text-align: left; }
}
/* ---- RESET ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111;
  background: #fff;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Montserrat:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Montserrat:wght@400;600&family=Paalalabas+Condensed:wght@700&display=swap');

/* ---- COLOR PALETTE ---- */
:root {
  --color-dark: #33312D;
  --color-charcoal: #444746;
  --color-taupe: #534E44;
  --color-beige: #B7B0A4;
  --color-gray: #BFC2C3;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
  line-height: 1.2;
  margin-bottom: 0.5em;
}

p {
  max-width: 65ch;
}


/* ---- Header ---- */
.site-header {
  background: var(--color-dark);
  color: #fff;
  padding: 0 0 0.7rem 0;
  /* hidden by default; will slide down when scrolled */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  transform: translateY(-120%);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.site-header.scrolled {
  transform: translateY(0);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* when header becomes fixed, add top padding to avoid layout jump */
body.has-fixed-header .wrapper {
  padding-top: var(--header-height, 90px);
}

/* compact header when revealed */
.site-header.scrolled {
  padding: 0.25rem 0;
}

.site-header.scrolled .logo-img {
  max-height: 56px;
}

.site-header.scrolled .nav a {
  font-size: 1.05rem;
}

/* ---- LANDING HERO ---- */
.landing-hero {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.25)), url('/images/work-2.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 6rem 0;
  display: flex;
  align-items: center;
}

/* Split hero: when body has .split-active the hero becomes top-half */
body.split-active .landing-hero {
  min-height: 50vh;
  padding: 3.5rem 0;
  display: flex;
  align-items: center;
}

/* smooth visual for autoscroll (keeps items inline) */
.hero-autoscroll { scroll-behavior: auto; }

/* Initial hero gallery (large images filling bottom half on first load) */
.hero-gallery {
  width: 100%;
  /* make gallery fill remaining viewport below the landing hero */
  height: calc(100vh - 60vh);
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  background: #000;
}

body.initial-split .landing-hero {
  height: 60vh;
}


.hero-gallery-track {
  display: flex;
  gap: 0.5rem;
  height: 100%;
  align-items: center;
}

.hero-gallery-item {
  flex: 0 0 50%;
  max-width: 560px;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
}

.hero-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 260ms ease;
}

/* ---- GALLERY GRID ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.gallery-grid img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
  z-index: 3000;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lb-viewport { display:flex; align-items:center; justify-content:center; max-width:100%; max-height:100%; }
.lb-image { max-width: 100%; max-height: 86vh; border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,0.6); }
.lb-prev, .lb-next, .lb-close {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: none;
  padding: 0.6rem 0.9rem;
  font-size: 1.6rem;
  border-radius: 6px;
  cursor: pointer;
}
.lb-prev, .lb-next { height: 48px; width: 48px; display:flex; align-items:center; justify-content:center; }
.lb-close { position: absolute; top: -12px; right: -12px; font-size: 1.25rem; height:36px; width:36px; }
.lb-prev { margin-left: 0.5rem; }
.lb-next { margin-right: 0.5rem; }

@media (max-width: 600px) {
  .lb-prev, .lb-next { display: none; }
  .lb-close { top: 6px; right: 6px; }
}

/* ---- TITLE BANNER ---- */
.title-banner {
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
  padding: 0.75rem 0;
}
.title-banner .title-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
.title-banner h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}
.btn.small { padding: 0.5rem 0.9rem; font-size: 0.9rem; border-radius: 6px; }

/* hide on very small screens if desired */
@media (max-width: 480px) {
  .hero-gallery-item { flex: 0 0 92%; }
}

/* SVG wave divider between hero and gallery (hidden when using overlap mask) */
.hero-divider { line-height: 0; display: none; }
.hero-divider svg { display: block; width: 100%; height: 96px; }
.hero-divider svg path { fill: #000; }

@media (max-width: 768px) {
  .hero-divider svg { height: 64px; }
}

/* Overlap mask: tuck the gallery under the hero with rounded top and gradient seam */
.landing-hero { position: relative; }

/* Subtle dark overlay to improve text contrast on the hero image */
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  pointer-events: none;
  z-index: 2;
}

body.initial-split .landing-hero,
body.split-active .landing-hero {
  z-index: 3;
}

/* removed gradient pseudo-element per user request */

.body-hero-gallery-no-overlap .hero-gallery,
.body-hero-gallery-no-overlap .hero-gallery {
  margin-top: 0;
  padding-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
  background: #000;
  overflow: visible;
}

.hero-gallery-track { padding-left: 1.5rem; padding-right: 1.5rem; will-change: transform; transform: translate3d(0,0,0); backface-visibility: hidden; }

/* Hover-expand: scale image slightly and lift card */
.hero-gallery-item:hover img {
  transform: scale(1.04);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* reduce hover effects on touch devices */
@media (hover: none) {
  .hero-gallery-item:hover img { transform: none; box-shadow: none; }
}

@media (min-width: 1200px) {
  .hero-gallery-item { flex: 0 0 33%; max-width: 720px; }
}

@media (max-width: 800px) {
  .hero-gallery-item { flex: 0 0 72%; }
}

.landing-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.landing-inner .hero-content { text-align: left; }

.hero-logo-small {
  width: 160px;
  height: auto;
  border-radius: 50%;
  background: transparent;
  padding: 0;
}

.hero-content {
  max-width: 720px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: 4.4rem;
  margin: 0 0 0.3rem 0;
  color: #fff;
  text-shadow: 0 8px 26px rgba(0,0,0,0.5);
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.hero-sub {
  font-family: 'Paalalabas Condensed', 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem 0;
  color: #f4f1ec;
  font-size: 1.4rem;
}

.hero-desc {
  margin: 0 0 1.25rem 0;
  color: #f7f6f4;
  font-size: 1.25rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 1.05rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.btn.primary { background: var(--color-beige); color: var(--color-dark); }
.btn.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.18); }

@media (max-width: 768px) {
  .landing-inner { flex-direction: column; text-align: center; }
  .hero-logo-small { width: 90px; }
  .hero-headline { font-size: 2rem; }
}


/* ---- NAV ---- */
.nav {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 2rem;
}



.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-img {
  height: 155px;
  width: auto;
  max-width: 175px;
  transition: opacity 0.3s ease;
}

.logo-img:hover {
  opacity: 0.8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin-left: auto;
  justify-content: center;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: inherit;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
  text-align: center;
}

.nav a:hover {
  color: var(--color-beige);
  transform: scale(1.12);
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .landing-inner { flex-direction: column; text-align: center; }
  .hero-logo-small { width: 110px; margin-bottom: 1rem; }
  .hero-headline { font-size: 2.6rem; }
  .hero-sub { font-size: 1.05rem; }
}

@media(max-width: 600px) {
  .hero-headline { font-size: 1.8rem; }
  .hero-sub { font-size: 1rem; }
  .hero-desc { font-size: 1rem; }
  .landing-inner { padding: 2rem 0; }
}

/* accessibility focus */

/* ---- CONTACT PAGE ---- */
.contact-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-header {
  margin-bottom: 1rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-weight: 600;
}

.field input,
.field textarea {
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.5);
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 4px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #333;
}

.contact-meta {
  padding: 1.5rem;
  background: #f5f5f5;
  border-radius: 4px;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .wrapper {
    padding: 0.75rem;
  }

  section {
    padding: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .field input,
  .field textarea {
    padding: 0.5rem;
  }

  .contact-form button {
    padding: 0.6rem 1.2rem;
  }
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--color-dark);
  color: #fff;
  padding: 3rem 0;
  margin-top: 3rem;
}


.footer-outer {
  width: 100%;
  background: var(--color-dark);
  padding: 0.5rem 0 0 0;
  margin-top: 0.5rem;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* enhanced contact cards */
.footer-outer {
  background: linear-gradient(180deg, #2f2d29 0%, #262523 100%);
  padding: 2.5rem 0 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  text-align: left;
}

.contact-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.04);
}

.contact-card h3 {
  margin: 0 0 0.5rem 0;
  color: #fff;
  font-size: 1.45rem;
  font-family: 'Paalalabas Condensed', 'Montserrat', sans-serif;
  letter-spacing: 0.04em;
}

.contact-card p {
  margin: 0.25rem 0 0.75rem 0;
  color: #e7e5e0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.footer-ctas { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.footer-meta { text-align: center; margin-top: 0.75rem; color: var(--color-gray); }

.btn.primary { background: var(--color-beige); color: var(--color-dark); padding: 0.9rem 1.4rem; border-radius: 8px; font-weight:700; }
.btn.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.12); padding: 0.86rem 1.3rem; border-radius: 8px; font-weight:700; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.btn.secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.08); }

.footer-content a { color: var(--color-beige); }

@media (max-width: 720px) {
  .contact-columns { grid-template-columns: 1fr; }
  .footer-content { text-align: center; }
  .footer-ctas { justify-content: center; }
}

.footer-title {
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
  margin-top: 0;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.contact-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 4rem;
}

.contact-left, .contact-right {
  flex: 1 1 200px;
  min-width: 200px;
  text-align: left;
  color: #fff;
}

.contact-right {
  text-align: right;
}

.footer-content a {
  color: var(--color-beige);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-content small {
  display: block;
  margin-top: 2rem;
  color: var(--color-gray);
  text-align: center;
}

.footer-content h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-content p {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 100%;
}

.footer-content a {
  color: var(--color-beige);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-content small {
  display: block;
  margin-top: 2rem;
  color: var(--color-gray);
}

/* Mobile-specific footer/contact adjustments */
@media (max-width: 720px) {
  .footer-outer { padding: 2rem 0.75rem; }
  .footer-content { padding: 0 0.5rem; }
  .contact-columns { display: flex; flex-direction: column; gap: 1rem; }
  .contact-left, .contact-right { text-align: center; min-width: auto; }
  .contact-right { text-align: center; }
  .contact-card { padding: 1rem; }
  .footer-ctas { justify-content: center; flex-direction: column; gap: 0.6rem; }
  .footer-ctas .btn { width: 100%; max-width: 320px; }
  .footer-title { margin-bottom: 1rem; }
}


