@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');
/* 
  Style Variation 2: Calm Luxury
  Drop-in replacement for styles.css.
  Visual direction: spacious, elegant, editorial-luxury, soft shadows, rounded cards.
*/

:root {
  --bg: #f8f4ed;
  --bg-soft: #ebe3d5;
  --surface: rgba(255, 252, 245, 0.82);
  --surface-strong: #fffdf8;
  --surface-solid: #fffdf8;
  --text: #1f2a24;
  --muted: #68746b;
  --line: rgba(31, 42, 36, 0.12);
  --brand: #9b6a3f;
  --brand-2: #657a60;
  --accent: #b88a44;
  --warning: #c07a32;
  --danger: #9b4156;
  --shadow: 0 28px 80px rgba(56, 44, 31, 0.13);
  --radius: 12px;
  --max: 1160px;
}

html[data-theme="dark"] {
  --bg: #101512;
  --bg-soft: #18211c;
  --surface: rgba(29, 38, 33, 0.82);
  --surface-strong: #233028;
  --surface-solid: #1d2621;
  --text: #f8f1e5;
  --muted: #bdb2a1;
  --line: rgba(248, 241, 229, 0.13);
  --brand: #d0a470;
  --brand-2: #a8bd9a;
  --accent: #dfba72;
  --warning: #d79854;
  --danger: #e08499;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

html[data-theme="light"] {
  --bg: #f8f4ed;
  --bg-soft: #ebe3d5;
  --surface: rgba(255, 252, 245, 0.82);
  --surface-strong: #fffdf8;
  --surface-solid: #fffdf8;
  --text: #1f2a24;
  --muted: #68746b;
  --line: rgba(31, 42, 36, 0.12);
  --brand: #9b6a3f;
  --brand-2: #657a60;
  --accent: #b88a44;
  --warning: #c07a32;
  --danger: #9b4156;
  --shadow: 0 28px 80px rgba(56, 44, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 34rem),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 36rem),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: var(--brand);
  color: white;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.bordered {
  border-color: lightgray ;
  border-radius: 16px;
  border-width: 0px;
  border-style: solid;
  background-color: rgb(245, 252, 201);
   ;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  
  font-weight: 600;
  letter-spacing: -0.05em;
  font-size: 1.55rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 32%, #fff 0 7%, transparent 8%),
    linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, white 34%, transparent), 0 14px 30px color-mix(in srgb, var(--brand) 22%, transparent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  border-radius: 12px;
  font-size: 0.94rem;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.icon-button,
.menu-toggle {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  border-radius: 12px;
  padding: 0.65rem 0.82rem;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.menu-toggle {
  display: none;
}

.hero {
  padding: clamp(4.5rem, 9vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
}

.hero h1 {
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
  line-height: 0.91;
  letter-spacing: -0.075em;
  margin: 1.25rem 0 1.2rem;
  text-wrap: balance;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.65vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.4rem 0.4rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.05);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 0.8rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent), color-mix(in srgb, var(--brand-2) 16%, transparent));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid color-mix(in srgb, white 45%, transparent);
  border-radius: 15px;
  pointer-events: none;
  z-index: 2;
}

.mockup {
  position: relative;
  z-index: 1;
  min-height: 445px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.42)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  padding: 1.15rem;
  display: grid;
  align-content: end;
  gap: 0.8rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.stat {
  background: rgba(255, 252, 245, 0.82);
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 22px;
  padding: 1rem;
  color: #1f2a24;
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat span {
  color: #5b665e;
  font-size: 0.82rem;
}

section {
  /* padding: clamp(3.5rem, 7vw, 6.5rem) 0; */
  padding: clamp(1.5rem, 1vw, 6.5rem) 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin: 0;
  font-weight: 600;
  max-width: 760px;
}

.section-head p {
  max-width: 52ch;
  color: var(--muted);
  margin: 0;
}

.feature-grid,
.pricing-grid,
.project-grid,
.metrics-grid,
.timeline {
  display: grid;
  gap: 1rem;
}

.feature-grid,
.pricing-grid,
.project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metrics-grid,
.timeline {
  grid-template-columns: repeat(4, 1fr);
}

.feature,
.price-card,
.testimonial,
.timeline-item,
.metric-card,
.project-card,
.accordion-item,
.tabs,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.045);
  backdrop-filter: blur(16px);
}

.feature,
.metric-card,
.testimonial,
.timeline-item,
.project-card {
  padding: 1.35rem;
}

.feature,
.project-card,
.price-card {
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.feature:hover,
.project-card:hover,
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  background: var(--surface-strong);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-2) 12%, transparent);
  color: var(--brand-2);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature h3,
.project-card h3,
.testimonial h3,
.timeline-item h3 {
  margin: 0 0 0.4rem;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.feature p,
.project-card p,
.testimonial p,
.metric-card p,
.timeline-item p,
.price-card p {
  color: var(--muted);
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery button {
  grid-column: span 4;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  min-height: 270px;
  background: var(--surface);
  position: relative;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.gallery button:nth-child(1),
.gallery button:nth-child(6) {
  grid-column: span 6;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
  filter: saturate(0.88) contrast(0.98);
}

.gallery button::after {
  content: attr(aria-label);
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: white;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  text-shadow: 0 8px 28px rgba(0,0,0,0.5);
}

.gallery button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(25,22,18,0.58), transparent 62%);
}

.gallery button:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
}

.tab-list {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.tab-button {
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease;
}

.tab-button[aria-selected="true"] {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--text);
}

.tab-panel {
  display: none;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1.5rem;
  align-items: center;
}

.tab-panel h3 {
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 0 0 0.8rem;
  font-weight: 600;
}

.tab-panel p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.mini-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  padding: 0.9rem;
  background: color-mix(in srgb, var(--brand-2) 7%, transparent);
  border-radius: 18px;
  color: var(--muted);
}

.price-card {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 12%, transparent), color-mix(in srgb, var(--brand-2) 10%, transparent)),
    var(--surface);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  padding: 0.34rem 0.68rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.price-card h3 {
  margin: 1.1rem 0 0.35rem;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: 2rem;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 1rem 0;
}

.price strong {
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  letter-spacing: -0.08em;
  line-height: 1;
  color: var(--brand);
  font-weight: 600;
}

.price span {
  color: var(--muted);
}

.price-list {
  display: grid;
  gap: 0.72rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.price-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  margin-right: 0.5rem;
}

.controls {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
}

.control,
.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
}

.control:focus,
.form input:focus,
.form textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}

.project-card {
  display: grid;
  gap: 0.9rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  border-radius: 8px;
  padding: 0.28rem 0.6rem;
  background: color-mix(in srgb, var(--brand-2) 8%, transparent);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.score {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.score span {
  display: block;
  height: 100%;
  width: var(--score);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: inherit;
}

.metric-card strong {
  display: block;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  margin-bottom: 0.5rem;
  color: var(--brand);
  font-weight: 600;
}

.timeline {
  counter-reset: step;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 13%, transparent);
  color: var(--brand);
  font-weight: 850;
  margin-bottom: 1rem;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.testimonial {
  min-height: 220px;
  display: grid;
  align-content: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.testimonial .person {
  color: var(--muted);
  font-weight: 750;
}

.round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  transition: transform 180ms ease, background 180ms ease;
}

.round:hover {
  transform: translateY(-2px);
  background: var(--surface-strong);
}

.accordion {
  display: grid;
  gap: 0.8rem;
}

.accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 1.15rem 1.25rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 750;
  font-size: 1rem;
}

.accordion-trigger span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
  transition: transform 180ms ease;
  flex: 0 0 auto;
}

.accordion-trigger[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.accordion-content-inner {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  align-items: start;
}

.contact-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, transparent), color-mix(in srgb, var(--brand-2) 10%, transparent)),
    var(--surface);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  margin: 0 0 0.9rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.form {
  display: grid;
  gap: 0.8rem;
}

.footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 18, 16, 0.82);
  backdrop-filter: blur(16px);
}

.lightbox.open {
  display: grid;
}

.lightbox-inner {
  width: min(100%, 1080px);
  background: #151914;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 30px;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  color: white;
}

.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  gap: 1rem;
}

.lightbox-title {
  font-weight: 800;
}

.lightbox-count {
  color: #cfc7b8;
  font-size: 0.92rem;
  margin-left: 0.45rem;
  font-weight: 650;
}

.close-lightbox {
  border: 0;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: white;
  background: rgba(255,255,255,0.12);
  font-size: 1.2rem;
}

.lightbox-stage {
  position: relative;
  background: #090b09;
  min-height: min(72vh, 720px);
  display: grid;
  place-items: center;
}

.lightbox-stage img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #090b09;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  background: rgba(255,255,255,0.10);
  cursor: pointer;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}

.lightbox-nav:hover,
.close-lightbox:hover {
  background: rgba(255,255,255,0.18);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-thumbs {
  display: flex;
  gap: 0.55rem;
  padding: 0.8rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.lightbox-thumb {
  flex: 0 0 74px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: 0.65;
}

.lightbox-thumb[aria-current="true"] {
  border-color: var(--accent);
  opacity: 1;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1000px) {
  .metrics-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .tab-panel.active {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .mockup {
    min-height: 350px;
  }

  .feature-grid,
  .pricing-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery button,
  .gallery button:nth-child(1),
  .gallery button:nth-child(6) {
    grid-column: span 6;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .controls {
    grid-template-columns: 1fr 1fr;
  }

  .controls input {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    flex-wrap: wrap;
    padding: 0.7rem 0;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 16px;
  }

  .stat-row,
  .feature-grid,
  .pricing-grid,
  .project-grid,
  .metrics-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .gallery {
    gap: 0.75rem;
  }

  .gallery button,
  .gallery button:nth-child(1),
  .gallery button:nth-child(6) {
    grid-column: span 12;
    min-height: 220px;
  }

  .actions .btn,
  .price-card .btn {
    width: 100%;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .testimonial-wrap {
    grid-template-columns: 1fr;
  }

  .testimonial-wrap .round {
    width: 100%;
    border-radius: 8px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 1.2rem, var(--max));
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .mockup {
    min-height: 300px;
    padding: 0.85rem;
  }

  .lightbox {
    padding: 0.45rem;
  }
}


/* --------------------------------------------------------------------------
   Calm Luxury data table component
   Works with the table markup added in the "split with tables" template.
   -------------------------------------------------------------------------- */

.table-panel {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 6%, transparent), color-mix(in srgb, var(--brand-2) 5%, transparent)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.4vw, 1.45rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.table-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 0.8fr)) minmax(95px, 0.35fr) auto;
  gap: 0.8rem;
  align-items: end;
  margin-bottom: 1rem;
}

.table-control {
  display: grid;
  gap: 0.38rem;
}

.table-control span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table-control input,
.table-control select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.035);
}

.table-control input:focus,
.table-control select:focus {
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}

.table-reset {
  min-height: 50px;
  white-space: nowrap;
}

.table-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.table-meta p {
  margin: 0;
}

.table-hint {
  font-size: 0.9rem;
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 38%, transparent);
}

.data-table {
  width: 100%;
  min-width: 850px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.data-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.data-table th,
.data-table td {
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table th {
  background: color-mix(in srgb, var(--brand-2) 7%, transparent);
  color: var(--text);
  font-size: 0.88rem;
}

.data-table th:first-child {
  border-top-left-radius: 18px;
}

.data-table th:last-child {
  border-top-right-radius: 18px;
}

.data-table tbody tr {
  transition: background 160ms ease;
}

.data-table tbody tr:hover {
  background: color-mix(in srgb, var(--brand) 5%, transparent);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.sort-button {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  font-weight: 850;
  text-align: left;
}

.sort-button span {
  color: var(--brand);
  font-size: 0.82rem;
}

.numeric-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  color: var(--brand);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 0.34rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 850;
  border: 1px solid transparent;
}

.status-active {
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

.status-pending {
  background: color-mix(in srgb, var(--warning) 14%, transparent);
  color: var(--warning);
  border-color: color-mix(in srgb, var(--warning) 24%, transparent);
}

.status-paused {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 22%, transparent);
}

.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 2.2rem 1rem;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.page-info {
  color: var(--muted);
  min-width: 110px;
  text-align: center;
}

.table-pagination .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .table-toolbar {
    grid-template-columns: repeat(3, 1fr);
  }

  .table-reset {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .table-toolbar {
    grid-template-columns: 1fr;
  }

  .table-meta,
  .table-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .table-pagination .btn {
    width: 100%;
  }

  .page-info {
    min-width: 0;
  }
}


/* ==========================================================================
   Olive Grove Harmony
   Drop-in stylesheet skin for the table-enabled template.
   Mood: nature, harmony, sun, olive groves, warmth, positive Mediterranean calm.
   ========================================================================== */

:root {
  --bg: #fbf4df;
  --bg-soft: #efe1bd;
  --surface: rgba(255, 250, 235, 0.84);
  --surface-strong: #fffaf0;
  --surface-solid: #fffaf0;
  --text: #28321d;
  --muted: #6e765c;
  --line: rgba(88, 103, 55, 0.18);
  --brand: #73882f;
  --brand-2: #d79a2b;
  --accent: #4f7f3a;
  --warning: #c27a22;
  --danger: #b85f4d;
  --shadow: 0 28px 90px rgba(92, 76, 35, 0.16);
  --radius: 18px;
  --olive-dark: #28321d;
  --olive: #667c35;
  --olive-light: #a8b96d;
  --sun: #e3a83f;
  --sun-soft: #f7d987;
  --cream: #fff8e8;
  --earth: #9b6a3f;
  --terracotta: #c96f3f;
}

html[data-theme="light"] {
  --bg: #fbf4df;
  --bg-soft: #efe1bd;
  --surface: rgba(255, 250, 235, 0.84);
  --surface-strong: #fffaf0;
  --surface-solid: #fffaf0;
  --text: #28321d;
  --muted: #6e765c;
  --line: rgba(88, 103, 55, 0.18);
  --brand: #73882f;
  --brand-2: #d79a2b;
  --accent: #4f7f3a;
  --warning: #c27a22;
  --danger: #b85f4d;
  --shadow: 0 28px 90px rgba(92, 76, 35, 0.16);
}

html[data-theme="dark"] {
  --bg: #12190f;
  --bg-soft: #1f2a18;
  --surface: rgba(37, 49, 28, 0.84);
  --surface-strong: #2d3a22;
  --surface-solid: #25311c;
  --text: #fff2cb;
  --muted: #c9c69c;
  --line: rgba(235, 219, 151, 0.18);
  --brand: #b8c56d;
  --brand-2: #f1b84c;
  --accent: #91c070;
  --warning: #e2a644;
  --danger: #e08870;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --olive-dark: #fff2cb;
  --olive: #b8c56d;
  --olive-light: #d5df92;
  --sun: #f1b84c;
  --sun-soft: #f8d98b;
  --cream: #25311c;
  --earth: #cba26c;
  --terracotta: #e08870;
}

body {
  background:
    radial-gradient(circle at 12% 5%, color-mix(in srgb, var(--sun) 34%, transparent), transparent 24rem),
    radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--olive-light) 30%, transparent), transparent 30rem),
    radial-gradient(circle at 55% 100%, color-mix(in srgb, var(--olive) 16%, transparent), transparent 34rem),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at 15% 20%, color-mix(in srgb, var(--olive) 8%, transparent), transparent 16rem),
    radial-gradient(ellipse at 80% 72%, color-mix(in srgb, var(--sun) 10%, transparent), transparent 18rem),
    repeating-linear-gradient(120deg, color-mix(in srgb, var(--olive) 4%, transparent) 0 1px, transparent 1px 34px);
  opacity: 0.9;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.logo,
.hero h1,
.section-head h2,
.contact-card h2,
.tab-panel h3,
.price-card h3,
.testimonial blockquote {
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.section-head h2,
.contact-card h2,
.section-head h2,
.contact-card h2 {  font-weight: 600;
}

.logo-mark {
  border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
  background:
    radial-gradient(circle at 34% 28%, color-mix(in srgb, white 45%, transparent) 0 8%, transparent 9%),
    linear-gradient(135deg, var(--olive), var(--sun));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, white 35%, transparent),
              0 16px 30px color-mix(in srgb, var(--olive) 20%, transparent);
}

.eyebrow {
  color: var(--accent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--olive-light) 18%, transparent),
                                     color-mix(in srgb, var(--sun) 15%, transparent));
  border-color: color-mix(in srgb, var(--olive) 20%, transparent);
}

.eyebrow::before {
  content: "☀";
  margin-right: 0.15rem;
  color: var(--sun);
}

.gradient-text {
  background: linear-gradient(110deg, var(--olive), var(--accent) 42%, var(--sun) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--olive), var(--sun));
  color: #fffdf2;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--olive) 17%, transparent),
              0 2px 0 color-mix(in srgb, white 28%, transparent) inset;
}

.hero-card {
  border-radius: 18px; /* 42px 42px 90px 42px;*/
  background: linear-gradient(135deg, color-mix(in srgb, var(--olive) 18%, transparent),
                                     color-mix(in srgb, var(--sun) 18%, transparent));
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sun) 28%, transparent);
  filter: blur(4px);
  pointer-events: none;
}

.mockup {
  border-radius: 18px;
   /* 34px 34px 82px 34px; */
  background:
    linear-gradient(180deg, rgba(65, 86, 39, 0.08), rgba(48, 55, 30, 0.42)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(0.98) sepia(0.07);
}

.stat {
  border-radius: 12px;
  background: rgba(255, 250, 235, 0.82);
  color: #28321d;
}

html[data-theme="dark"] .stat {
  background: rgba(37, 49, 28, 0.82);
  color: var(--text);
}

.stat strong,
.metric-card strong,
.price strong,
.numeric-cell {
  color: var(--earth);
}

.feature,
.price-card,
.testimonial,
.timeline-item,
.metric-card,
.project-card,
.accordion-item,
.tabs,
.contact-card,
.table-panel {
  border-color: color-mix(in srgb, var(--olive) 18%, transparent);
}

.feature,
.project-card,
.price-card,
.metric-card,
.timeline-item,
.testimonial,
.tabs,
.accordion-item {
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 74%, transparent),
                                     color-mix(in srgb, var(--olive-light) 6%, transparent));
}

.feature:hover,
.project-card:hover,
.price-card:hover {
  box-shadow: 0 34px 90px rgba(92, 76, 35, 0.18),
              0 0 0 1px color-mix(in srgb, var(--olive) 18%, transparent);
}

.feature-icon {
  /* border-radius: 45% 55% 48% 52% / 52% 42% 58% 48%; */
  border-radius: 12px;
  background: color-mix(in srgb, var(--olive) 13%, transparent);
  color: var(--olive);
}

.gallery button {
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(92, 76, 35, 0.16);
}

.gallery button:nth-child(1) {
  border-radius: 18px;
}

.gallery button:nth-child(6) {
  border-radius: 18px;
}

.gallery img {
  filter: saturate(0.95) contrast(0.96) sepia(0.10);
}

.gallery button::before {
  background:
    linear-gradient(to top, rgba(41, 51, 29, 0.62), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, var(--olive) 12%, transparent),
                           color-mix(in srgb, var(--sun) 10%, transparent));
}

.gallery button::after {
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  text-shadow: 0 8px 28px rgba(30, 40, 22, 0.5);
}

.price-card.featured {
  background: linear-gradient(145deg, color-mix(in srgb, var(--sun) 13%, transparent),
                                     color-mix(in srgb, var(--olive) 10%, transparent)),
              var(--surface);
  border-color: color-mix(in srgb, var(--sun) 34%, transparent);
}

.badge,
.chip {
  background: color-mix(in srgb, var(--olive-light) 14%, transparent);
  color: var(--accent);
}

.price-list li::before {
  color: var(--accent);
  content: "•";
}

.score span {
  background: linear-gradient(135deg, var(--olive), var(--sun));
}

.timeline-item::before {
  background: color-mix(in srgb, var(--sun) 16%, transparent);
  color: var(--earth);
}

.testimonial {
  background: linear-gradient(135deg, color-mix(in srgb, var(--sun) 12%, transparent),
                                     color-mix(in srgb, var(--olive-light) 10%, transparent)),
              var(--surface);
}

.contact-card {
  background:
    radial-gradient(circle at 90% 15%, color-mix(in srgb, var(--sun) 24%, transparent), transparent 13rem),
    linear-gradient(135deg, color-mix(in srgb, var(--olive-light) 14%, transparent),
                           color-mix(in srgb, var(--sun) 10%, transparent)),
    var(--surface);
  border-radius: 18px;
}

/* Table mood extension */

.table-panel {
  background:
    radial-gradient(circle at 96% 0%, color-mix(in srgb, var(--sun) 18%, transparent), transparent 13rem),
    linear-gradient(135deg, color-mix(in srgb, var(--olive-light) 10%, transparent),
                           color-mix(in srgb, var(--sun) 8%, transparent)),
    var(--surface);
}

.table-control input,
.table-control select {
  background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
  border-color: color-mix(in srgb, var(--olive) 18%, transparent);
}

.table-control input:focus,
.table-control select:focus {
  border-color: color-mix(in srgb, var(--olive) 48%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--olive) 12%, transparent);
}

.data-table-wrap {
  border-color: color-mix(in srgb, var(--olive) 18%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--cream) 68%, transparent),
                                     color-mix(in srgb, var(--olive-light) 6%, transparent));
}

.data-table th {
  background: color-mix(in srgb, var(--olive-light) 14%, transparent);
}

.data-table tbody tr:hover {
  background: color-mix(in srgb, var(--olive-light) 13%, transparent);
}

.sort-button span {
  color: var(--olive);
}

.status-active {
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 24%, transparent);
}

.status-pending {
  background: color-mix(in srgb, var(--sun) 16%, transparent);
  color: var(--earth);
  border-color: color-mix(in srgb, var(--sun) 26%, transparent);
}

.status-paused {
  background: color-mix(in srgb, var(--terracotta) 13%, transparent);
  color: var(--terracotta);
  border-color: color-mix(in srgb, var(--terracotta) 22%, transparent);
}

.lightbox {
  background: rgba(28, 35, 20, 0.78);
}

.lightbox-inner {
  background: color-mix(in srgb, var(--olive-dark) 88%, #000);
  border-color: color-mix(in srgb, var(--sun) 20%, transparent);
}

.lightbox-thumb[aria-current="true"] {
  border-color: var(--sun);
}

@media (max-width: 700px) {
  .hero-card,
  .mockup,
  .contact-card,
  .gallery button,
  .gallery button:nth-child(1),
  .gallery button:nth-child(6) {
    border-radius: 18px;
  }
}



/* --------------------------------------------------------------------------
   Editorial two-column text flow block
   -------------------------------------------------------------------------- */

.editorial-flow-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 0%, color-mix(in srgb, var(--sun) 18%, transparent), transparent 14rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 78%, transparent), color-mix(in srgb, var(--olive-light) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--olive) 18%, transparent);
  border-radius: 18px;
  padding: clamp(1.35rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}

.editorial-flow-card::before {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 52% 48% 56% 44% / 42% 58% 42% 58%;
  background: color-mix(in srgb, var(--olive-light) 14%, transparent);
  pointer-events: none;
}

/* .editorial-flow p {
  font-weight: 700;
} */

.editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--olive-light) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--olive) 18%, transparent);
  border-radius: 18px;
  padding: 0.42rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.editorial-kicker::before {
  content: "✦";
  color: var(--sun);
}

.editorial-flow-card h3 {
  position: relative;
  max-width: 900px;
  margin: 0 0 clamp(1.2rem, 3vw, 2rem);
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 600;
  color: var(--olive-dark);
}

.editorial-columns {
  position: relative;
  column-count: 2;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  column-rule: 1px solid color-mix(in srgb, var(--olive) 14%, transparent);
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.78;
}

.editorial-columns p {
  margin: 0 0 1.05rem;

}

.editorial-columns code {
  font-size: 0.88em;
  color: var(--earth);
  background: color-mix(in srgb, var(--sun) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--sun) 18%, transparent);
  border-radius: 8px;
  padding: 0.1rem 0.32rem;
}

.editorial-inline-image {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0.25rem 0 1.15rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid color-mix(in srgb, var(--olive) 18%, transparent);
  box-shadow: 0 18px 45px rgba(92, 76, 35, 0.12);
}

.editorial-inline-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.98) contrast(0.98) sepia(0.08);
}

.editorial-inline-image figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.75rem 0.85rem 0.85rem;
}

/* Optional helpers for future use */
.editorial-inline-image.image-soft {
  border-radius: 12px ; /* 45% 55% 48% 52% / 52% 42% 58% 48%;*/
}

.editorial-inline-image.image-wide {
  column-span: all;
  display: block;
  max-width: 760px;
  margin: 1.2rem auto 1.4rem;
}

@media (max-width: 800px) {
  .editorial-columns {
    column-count: 1;
    column-gap: 0;
    column-rule: 0;
  }

  .editorial-flow-card {
    border-radius: 18px;
  }

  .editorial-inline-image {
    border-radius: 18px;
  }
}



/* --------------------------------------------------------------------------
   Configurable lightbox modes and autoplay-ready caption overlay
   -------------------------------------------------------------------------- */

.lightbox-caption {
  display: none;
}

/* Framed mode remains the designed gallery/lightbox version. */
.lightbox[data-mode="framed"] .lightbox-caption {
  display: none;
}

/*
  Simple mode:
  - full viewport width
  - no visual frame
  - no bottom thumbnails
  - caption overlay inside image area
*/
.lightbox[data-mode="simple"] {
  padding: 0;
  background: rgba(17, 22, 13, 0.94);
}

.lightbox[data-mode="simple"] .lightbox-inner {
  width: 100%;
  height: 100dvh;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #10150d;
}

.lightbox[data-mode="simple"] .lightbox-top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  border: 0;
  background: transparent;
  padding: clamp(0.75rem, 2vw, 1.2rem);
  justify-content: flex-end;
  pointer-events: none;
}

.lightbox[data-mode="simple"] .lightbox-top > div {
  display: none;
}

.lightbox[data-mode="simple"] .close-lightbox {
  pointer-events: auto;
  background: rgba(16, 21, 13, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: white;
  backdrop-filter: blur(10px);
}

.lightbox[data-mode="simple"] .lightbox-stage {
  min-height: 100dvh;
  height: 100dvh;
  background: #10150d;
}

.lightbox[data-mode="simple"] .lightbox-stage img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.lightbox[data-mode="simple"] .lightbox-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(16, 21, 13, 0.72), transparent);
  pointer-events: none;
}

.lightbox[data-mode="simple"] .lightbox-caption {
  display: block;
  position: absolute;
  left: clamp(1rem, 5vw, 4rem);
  right: clamp(1rem, 5vw, 4rem);
  bottom: clamp(1.25rem, 5vw, 4rem);
  z-index: 4;
  max-width: 760px;
  color: white;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.lightbox[data-mode="simple"] .lightbox-thumbs {
  display: none;
}

.lightbox[data-mode="simple"] .lightbox-nav {
  background: rgba(16, 21, 13, 0.42);
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
  backdrop-filter: blur(10px);
}

@media (max-width: 700px) {
  .lightbox[data-mode="simple"] .lightbox-caption {
    max-width: none;
    font-size: clamp(1.2rem, 8vw, 2.2rem);
  }
}

/* --------------------------------------------------------------------------
   Compact static table
   A simpler table variant with no JavaScript behavior.
   -------------------------------------------------------------------------- */

.compact-table-section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.compact-table-card {
  background:
    radial-gradient(circle at 96% 0%, color-mix(in srgb, var(--sun) 16%, transparent), transparent 12rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 78%, transparent), color-mix(in srgb, var(--olive-light) 7%, transparent));
  border: 1px solid color-mix(in srgb, var(--olive) 18%, transparent);
  border-radius: 18px;
  padding: clamp(1rem, 2.6vw, 1.6rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compact-table-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.compact-table-header h2 {
  margin: 0;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 600;
  color: var(--olive-dark);
}

.compact-table-header p {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
  font-size: 0.95rem;
}

.compact-table-wrap {
  overflow-x: auto;
  border: 1px solid color-mix(in srgb, var(--olive) 16%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
}

.compact-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.compact-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.compact-table th,
.compact-table td {
  padding: 0.42rem 0.85rem;
  line-height: 1.25;
  border-bottom: 1px solid color-mix(in srgb, var(--olive) 14%, transparent);
  vertical-align: middle;
}

.compact-table th {
  background: color-mix(in srgb, var(--olive-light) 13%, transparent);
  color: var(--olive-dark);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 850;
}

.compact-table tbody tr:last-child td {
  border-bottom: 0;
}

.compact-table tbody tr:hover {
  background: color-mix(in srgb, var(--olive-light) 10%, transparent);
}

.compact-table .number {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--earth);
  white-space: nowrap;
}

.compact-table .muted {
  color: var(--muted);
}

.compact-table .positive {
  color: var(--accent);
  font-weight: 850;
}

.compact-table .warning {
  color: var(--warning);
  font-weight: 850;
}

.compact-table .tag {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 0.12rem 0.45rem;
  background: color-mix(in srgb, var(--olive-light) 14%, transparent);
  color: var(--accent);
  font-size: 0.72rem;
  line-height: 1.15;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .compact-table-header {
    display: grid;
  }

  .compact-table-card {
    border-radius: 18px;
  }

  .compact-table-wrap {
    border-radius: 10px;
  }
}


/* --------------------------------------------------------------------------
   Header slideshow
   Images, titles, and subtitles live in the hero HTML.
   Timing is configured with data-autoplay-delay on .hero-slideshow.
   -------------------------------------------------------------------------- */

.hero-with-slideshow {
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-slideshow {
  position: relative;
  min-height: clamp(420px, 56vw, 650px);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--olive) 18%, transparent);
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 900ms ease,
    transform 1600ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(0.98);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(16, 21, 13, 0.74), rgba(16, 21, 13, 0.18) 58%, rgba(16, 21, 13, 0.04)),
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 24rem);
  z-index: 1;
}

.hero-slide-content {
  position: absolute;
  left: clamp(1.2rem, 4vw, 3rem);
  right: clamp(1.2rem, 4vw, 3rem);
  bottom: clamp(1.2rem, 4vw, 3rem);
  z-index: 2;
  color: white;
  max-width: 620px;
}

.hero-slide-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.68rem;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.hero-slide-content h2 {
  margin: 0 0 0.55rem;
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 600;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.42);
}

.hero-slide-content p {
  margin: 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
}

.hero-slide-content code {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 0.35rem;
  padding: 0.08rem 0.28rem;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-slideshow {
    min-height: 460px;
  }
}

@media (max-width: 560px) {
  .hero-slideshow {
    min-height: 390px;
    border-radius: 14px;
  }
}


/* --------------------------------------------------------------------------
   Full-width olive header slideshow + Kalam title styling
   -------------------------------------------------------------------------- */

html[data-theme="light"] {
  --bg: #edf3dc;
  --bg-soft: #dce8bf;
  --surface: rgba(250, 250, 235, 0.78);
  --surface-strong: #fffdf0;
  --text: #25351d;
  --muted: #657050;
  --accent: #4f6d2a;
  --accent-strong: #314d20;
  --olive: #71883d;
  --olive-light: #c9d79a;
  --olive-dark: #243a1e;
  --earth: #695833;
  --sun: #d9bd63;
  --warning: #947f25;
  --shadow: 0 24px 70px rgba(40, 56, 24, 0.16);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 10% 8%, rgba(201, 215, 154, 0.42), transparent 24rem),
    radial-gradient(circle at 90% 14%, rgba(217, 189, 99, 0.22), transparent 22rem),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
  color: var(--text);
}

/* Use Kalam for major titles/subtitles while keeping body text readable. */
h1,
h2,
h3,
.logo,
.section-kicker,
.eyebrow,
.hero-slide-kicker,
.hero-slide-content h1,
.hero-slide-content h2,
.hero-slide-content p {
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", cursive;
}

h1,
h2,
h3,
.hero-slide-content h1,
.hero-slide-content h2 {
  color: var(--olive-dark);
}

.nav,
.site-header {
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
  border-color: color-mix(in srgb, var(--olive) 16%, transparent);
}

.btn,
button,
.tab-button,
.filter-control,
select,
input {
  color: var(--olive-dark);
  border-color: color-mix(in srgb, var(--olive) 22%, transparent);
}

.btn.primary,
.primary,
.tab-button[aria-selected="true"] {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fffdf0;
  border-color: color-mix(in srgb, var(--accent-strong) 46%, transparent);
}

.hero-fullwidth-slideshow {
  padding: 0;
  margin: 0;
}

.fullwidth-hero-slideshow {
  width: 100vw;
  height: 560px;
  min-height: 480px;
  max-height: 560px;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: var(--olive-dark);
}

.fullwidth-hero-slideshow .hero-slide {
  inset: 0;
}

.fullwidth-hero-slideshow .hero-slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
/*  filter: saturate(0.9) contrast(0.96);*/
  filter: none;
}
/*
.fullwidth-hero-slideshow .hero-slide::before {
  background:
    linear-gradient(90deg, rgba(24, 44, 22, 0.78), rgba(24, 44, 22, 0.38) 42%, rgba(24, 44, 22, 0.12)),
    linear-gradient(to top, rgba(24, 44, 22, 0.46), transparent 58%),
    radial-gradient(circle at 16% 24%, rgba(227, 233, 198, 0.2), transparent 20rem);
}
*/
.fullwidth-hero-slideshow .hero-slide::before {
  background:
    linear-gradient(90deg, rgb(202, 233, 199), transparent 90%),
    linear-gradient(to top, rgb(218, 236, 216), transparent 90%);
}

.fullwidth-hero-slideshow .hero-slide-content {
  left: max(1.2rem, calc((100vw - 1180px) / 2 + 1rem));
  right: max(1.2rem, calc((100vw - 1180px) / 2 + 1rem));
  bottom: 50%;
  transform: translateY(50%);
  max-width: 760px;
}

.fullwidth-hero-slideshow .hero-slide-kicker {
  margin-bottom: 0.6rem;
  background: rgba(237, 243, 220, 0.18);
  border-color: rgba(237, 243, 220, 0.3);
  color: #fffdf0;
  font-size: clamp(0.92rem, 1.6vw, 1.15rem);
  letter-spacing: 0.015em;
  text-transform: none;
}

.fullwidth-hero-slideshow .hero-slide-content h1,
.fullwidth-hero-slideshow .hero-slide-content h2 {
  margin: 0 0 0.55rem;
  max-width: 12ch;
  color: #fffdf0;
  font-size: clamp(2.25rem, 5.3vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.44);
}

.fullwidth-hero-slideshow .hero-slide-content p {
  max-width: 56ch;
  color: rgba(255, 253, 240, 0.92);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.22;
  font-weight: 400;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
}

.fullwidth-hero-slideshow .hero-slide-content code {
  color: #fffdf0;
  background: rgba(237, 243, 220, 0.16);
}

/* Nudge the next section so the full-width hero breathes nicely. */
.hero-fullwidth-slideshow + section {
  padding-top: clamp(3.2rem, 6vw, 5rem);
}

@media (max-width: 720px) {
  .fullwidth-hero-slideshow,
  .fullwidth-hero-slideshow .hero-slide img {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
  }

  .fullwidth-hero-slideshow .hero-slide-content {
    left: 1.15rem;
    right: 1.15rem;
    bottom: 2rem;
    transform: none;
  }

  .fullwidth-hero-slideshow .hero-slide-content h1,
  .fullwidth-hero-slideshow .hero-slide-content h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .fullwidth-hero-slideshow .hero-slide-content p {
    font-size: 1.08rem;
  }
}


/* --------------------------------------------------------------------------
   Stronger olive palette + Kalam for all page titles and subtitles
   -------------------------------------------------------------------------- */

html[data-theme="light"] {
  --bg: #dbe8ae;
  --bg-soft: #bfd37a;
  --surface: rgba(250, 252, 231, 0.86);
  --surface-strong: #fbfde9;
  --text: #1d3218;
  --muted: #52643b;
  --accent: #476f1f;
  --accent-strong: #263f16;
  --olive: #6f8f2f;
  --olive-light: #b8cc62;
  --olive-dark: #172c14;
  --earth: #5f4d25;
  --sun: #d4b844;
  --warning: #8d741a;
  --shadow: 0 26px 78px rgba(31, 55, 20, 0.22);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 8% 6%, rgba(184, 204, 98, 0.58), transparent 25rem),
    radial-gradient(circle at 94% 12%, rgba(111, 143, 47, 0.28), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(212, 184, 68, 0.18), transparent 30rem),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
  color: var(--text);
}

/* Kalam everywhere that behaves like a title, subtitle, intro, or label. */
h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.eyebrow,
.section-kicker,
.section-header p,
.hero-copy p,
.hero-slide-kicker,
.hero-slide-content h1,
.hero-slide-content h2,
.hero-slide-content p,
.card h3,
.card p,
.feature-card h3,
.feature-card p,
.project-card h3,
.project-card p,
.pricing-card h3,
.pricing-card p,
.compact-table-header h2,
.compact-table-header p,
.table-header h2,
.table-header p,
.editorial-flow-card h2,
.editorial-flow-card > p,
.accordion-button,
.testimonial-quote,
.stat-label,
.metric-label,
.timeline-content h3,
.timeline-content p,
.footer-brand p {
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", cursive;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.section-kicker,
.eyebrow,
.accordion-button,
.table-header h2,
.compact-table-header h2,
.editorial-flow-card h2,
.timeline-content h3,
.project-card h3,
.feature-card h3,
.pricing-card h3 {
  color: var(--olive-dark);
}

.section-header p,
.hero-copy p,
.card p,
.feature-card p,
.project-card p,
.pricing-card p,
.compact-table-header p,
.table-header p,
.timeline-content p,
.editorial-flow-card > p,
.footer-brand p {
  color: #3f512d;
  font-size-adjust: none;
}

a,
.nav-links a {
  color: var(--olive-dark);
}

.nav-links a:hover {
  color: var(--accent);
}

.btn,
button,
.tab-button,
.filter-control,
select,
input {
  color: var(--olive-dark);
  border-color: color-mix(in srgb, var(--olive) 34%, transparent);
}

.btn.primary,
.primary,
.tab-button[aria-selected="true"],
.cta-card,
.newsletter-card button {
  background: linear-gradient(135deg, #5f852a, #263f16);
  color: #fffde8;
  border-color: color-mix(in srgb, var(--accent-strong) 58%, transparent);
}

.btn.primary:hover,
.primary:hover {
  filter: saturate(1.08) brightness(1.02);
}

.chip,
.status-pill,
.compact-table .tag {
  background: color-mix(in srgb, var(--olive-light) 26%, transparent);
  color: var(--accent-strong);
  border-color: color-mix(in srgb, var(--olive) 24%, transparent);
}

.card,
.feature-card,
.project-card,
.pricing-card,
.compact-table-card,
.table-card,
.editorial-flow-card,
.accordion-item,
.metric-card,
.timeline-item {
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 204, 98, 0.18), transparent 12rem),
    color-mix(in srgb, var(--surface-strong) 88%, transparent);
  border-color: color-mix(in srgb, var(--olive) 24%, transparent);
  box-shadow: 0 22px 64px rgba(31, 55, 20, 0.15);
}

.fullwidth-hero-slideshow .hero-slide::before {
  background:
    linear-gradient(90deg, rgba(18, 41, 16, 0.82), rgba(49, 78, 24, 0.48) 44%, rgba(49, 78, 24, 0.16)),
    linear-gradient(to top, rgba(18, 41, 16, 0.5), transparent 58%),
    radial-gradient(circle at 16% 24%, rgba(219, 232, 174, 0.24), transparent 20rem);
}

.fullwidth-hero-slideshow .hero-slide-kicker {
  background: rgba(219, 232, 174, 0.24);
  border-color: rgba(219, 232, 174, 0.38);
}

.fullwidth-hero-slideshow .hero-slide-content h1,
.fullwidth-hero-slideshow .hero-slide-content h2 {
  color: #fffde8;
}

.fullwidth-hero-slideshow .hero-slide-content p {
  color: rgba(255, 253, 232, 0.94);
}


.red {
  color: rgba(173, 93, 78);

}
.bgred {
  background-color:  rgba(173, 93, 78) ;
  color: rgb(231, 241, 230) !important ;

}

.bold {
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   Clearly recognizable tab headers
   -------------------------------------------------------------------------- */

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: flex-end;
  padding: 0.65rem 0.75rem 0;
  margin-bottom: 0;
  border-bottom: 2px solid color-mix(in srgb, var(--olive) 36%, transparent);
}

.tab-button {
  position: relative;
  top: 0;
  padding: 0.72rem 1.05rem 0.64rem;
  border: 1px solid color-mix(in srgb, var(--olive) 30%, transparent);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--olive-light) 22%, var(--surface-strong));
  color: var(--olive-dark);
  font-family: "Kalam", "Comic Sans MS", "Segoe Print", cursive;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: inset 0 -10px 18px rgba(31, 55, 20, 0.05);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.tab-button:hover {
  background: color-mix(in srgb, var(--olive-light) 34%, var(--surface-strong));
  transform: translateY(-2px);
}

.tab-button[aria-selected="true"] {
  z-index: 2;
  transform: translateY(2px);
  background: var(--surface-strong);
  color: var(--accent-strong);
  border-color: color-mix(in srgb, var(--olive) 46%, transparent);
  box-shadow:
    0 -8px 22px rgba(31, 55, 20, 0.12),
    inset 0 4px 0 var(--olive);
}

.tab-button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--surface-strong);
}

.tab-panel {
  border: 1px solid color-mix(in srgb, var(--olive) 30%, transparent);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: var(--surface-strong);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 20px 52px rgba(31, 55, 20, 0.12);
}

.nav-link {
  display: block;
  white-space: nowrap;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  font-style: inherit;
  font-weight: inherit;
  text-decoration: none;
  border: 1px black solid;
  border-radius: 4px;
  padding: 0.1em;
  outline: none !important;
  background-color: rgba(128,128,128,0.5);
  margin: 0;
  -webkit-text-decoration-skip: objects;
}

.harvest-video-section {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.harvest-video {
  display: block;
  width: 100%;
  max-height: 75vh;
  aspect-ratio: 16 / 9;
  background: #172016;
  border-radius: 14px;
  object-fit: contain;
}
