/* Change these to restyle the whole site. */
/* Light theme (cream + teal) */
:root {
  --bg: #faf7f2;
  --bg-gradient: linear-gradient(135deg, #faf7f2 0%, #f3ede3 100%);
  --ink: #2a2622;
  --muted: #6b625a;
  --line: #e2d9cc;
  --accent: #b4532a;;
  --accent-hover: #8f4120;;
  --on-accent: #ffffff;
  --panel: #f0e9de;
  --note: #f3e0d3;;
  --field: #ffffff;
  --err: #b3261e;
  --sale: #ff3b3b;
}

/* Dark theme (deep teal + amber) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #261d16;
  --bg-gradient: linear-gradient(135deg, #221a14 0%, #31251c 100%);
  --ink: #f4ece1;
  --muted: #bcab97;
  --line: #4d3d30;
  --accent: #d9a94f;
  --accent-hover: #f5c05d;
  --on-accent: #261d16;
  --panel: #35291f;
  --note: #48382b;
  --field: #1d1610;
  --err: #ff8f84;
  --sale: #c53129;
}

/* Alternative Dark Mode */
/* :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #20241b;
  --bg-gradient: linear-gradient(135deg, #1b1f16 0%, #2a3121 100%);
  --ink: #f2eddf;
  --muted: #b0b79e;
  --line: #474f38;
  --accent: #d6a847;
  --accent-hover: #e6bb5f;
  --on-accent: #20241b;
  --panel: #2d3424;
  --note: #3c4431;
  --field: #171a12;
  --err: #ff8f84;
  --sale: #e0574b;
} */

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-gradient);
  color: var(--ink);
  font: 17px/1.6 "Instrument Sans", system-ui, sans-serif;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3,
.h2 {
  font-family: "Arial", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

footer {
  padding: 28px clamp(16px, 4vw, 48px);
  color: var(--ink);
}

code {
  background: var(--line);
  padding: 1px 5px;
  border-radius: 3px;
}


/* Header and Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px clamp(16px, 4vw, 48px);
}

.logo {
  font: 700 20px "Bricolage Grotesque", sans-serif;
  text-decoration: none;
}

nav a {
  margin-left: 22px;
  text-decoration: none;
  padding-bottom: 2px;
}

nav a:hover {
  text-decoration: underline;
}

nav a[aria-current] {
  border-bottom: 2px solid var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 7px 16px;
  border-radius: 4px;
  border-bottom: 0 !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.theme-toggle {
  margin-left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--panel);
}


/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 13px 24px;
  font: 500 17px "Instrument Sans", sans-serif;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

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


/* Home Banner */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 55vh, 620px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px clamp(16px, 4vw, 48px);
  color: #fff;
  background: #5b6770; /* shown if the banner folder is empty */
}

/* dark overlay so the text stays readable; change .35 to adjust */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 22, 0.35);
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.8);
  color: #18222c;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.hero-nav:hover {
  background: #fff;
}

#heroPrev {
  left: 16px;
}

#heroNext {
  right: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero h1 {
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-big {
  display: block;
  font: 700 clamp(64px, 16vw, 200px) / 0.9 "Bricolage Grotesque", sans-serif;
  letter-spacing: 0.04em;
}

.hero-small {
  display: block;
  margin-top: 14px;
  font: 500 clamp(16px, 3.4vw, 40px) "Instrument Sans", sans-serif;
  letter-spacing: 0.5em;
  padding-left: 0.5em;
}


/* About Page */
.intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  max-width: 1300px;
  margin: auto;
  padding:
    clamp(24px, 6vw, 72px)
    clamp(16px, 4vw, 48px)
    clamp(40px, 6vw, 80px);
}

.intro h1 {
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.intro p {
  font-size: 19px;
  color: var(--ink);
  max-width: 52ch;
  margin: 0 0 14px;
}

.portrait {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}

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

  .portrait {
    max-width: 360px;
  }
}


/* Generic Sections and Page Headers */
.section {
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 48px);
}

.section .lead {
  color: var(--ink);
  max-width: 52ch;
  margin: 0 0 24px;
}

.page-head {
  padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px) 16px;
  max-width: 1200px;
}

.page-head h1 {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.page-head p {
  max-width: 54ch;
  color: var(--ink);
  margin: 0 0 16px;
}

.back {
  font-size: 15px;
}

.band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px);
}

.band p {
  color: var(--ink);
  max-width: 46ch;
}

.more {
  margin-top: 20px;
  font-size: 15px;
}


/* Category and Project Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 30px;
}

.cards.one {
  grid-template-columns: minmax(0, 320px);
}

.card {
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.card .cover {
  aspect-ratio: 4 / 5;
  background: var(--line) center / cover no-repeat;
  transition: transform 0.4s ease;
}

.card:hover .cover {
  transform: scale(1.03);
}

.card .cap {
  padding: 14px 16px;
  display: grid;
  gap: 2px;
}

.card .cap strong {
  font: 700 20px "Bricolage Grotesque", sans-serif;
}

.card .cap span {
  color: var(--ink);
  font-size: 15px;
}

.cat-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: #9b2e2e;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}

.card:hover .cap strong {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .card .cover {
    transition: none;
  }

  .card:hover .cover {
    transform: none;
  }
}

.promo {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: clamp(20px, 4vw, 40px);
  max-width: 720px;
}

.promo p {
  max-width: 52ch;
  margin: 0;
}


/* Packages */
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 20px;
  /* max-width: 1100px; */
}

/* .packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 320px));
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
} */

.pkg {
  position: relative;
  background: var(--panel);
  /* background: #d3d3d3; */
  /* border: 1px solid #c4cbcc; */
  border: 1px solid var(--line);
  /* color: #000000; */
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.pkg.popular {
  border: 2px solid var(--accent);
}

.badge {
  position: absolute;
  top: -13px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 2px 12px;
  border-radius: 4px;
}

.sale {
  position: absolute;
  top: -14px;
  right: 16px;
  background: var(--sale);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  /* transform: rotate(4deg); */
}

.was {
  display: block;
  margin-bottom: 4px;
  font: 500 22px/1 "Instrument Sans", sans-serif;
  color: var(--sale);
  text-decoration: line-through;
}

.pkg h3 {
  /* color: #000000; */
  font-size: 24px;
  margin-bottom: 4px;
}

.price {
  font: 700 44px / 1 "Bricolage Grotesque", sans-serif;
  margin: 0 0 16px;
}

.pkg dl {
  margin: 0 0 16px;
  /* color: #000000; */
  border-top: 1px solid var(--line);
}

.pkg dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

/* .pkg dt {
  color: #000000;
} */

.pkg dd {
  /* color: #000000; */
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.pkg ul {
  /* color: #000000; */
  margin: 0 0 24px;
  padding-left: 20px;
  flex: 1;
}

.pkg .btn {
  text-align: center;
}

.addons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  /* max-width: 1100px; */
}

.addon {
  /* background: #d3d3d3; */
  background: var(--panel);
  /* border: 1px solid #c4cbcc; */
  border: 1px solid var(--line);
  padding: 18px 20px;
}

.addon-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.addon h3 {
  font-size: 20px;
  /* color: #000000; */
  margin: 0;
}

.addon-price {
  font: 700 20px "Bricolage Grotesque", sans-serif;
  color: var(--accent);
  white-space: nowrap;
}

.addon p {
  margin: 8px 0 0;
  /* color: #000000; */
  font-size: 15px;
}


/* Photo Gallery Grid */
.grid {
  columns: 3 280px;
  column-gap: 14px;
  padding: 8px clamp(16px, 4vw, 48px) 56px;
}

.grid.flush {
  padding-left: 0;
  padding-right: 0;
}

.grid button {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: var(--line);
  cursor: zoom-in;
  break-inside: avoid;
}

.grid img {
  display: block;
  width: 100%;
  height: auto;
}

.empty {
  padding: 0 clamp(16px, 4vw, 48px) 24px;
  color: var(--ink);
}

.section .empty {
  padding-left: 0;
}


/* How it Works & Testimonials */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: s;
  max-width: 1100px;
}

.steps li {
  counter-increment: s;
  border-top: 2px solid var(--ink);
  padding-top: 12px;
}

.steps li::before {
  content: counter(s);
  display: block;
  font: 700 28px "Bricolage Grotesque", sans-serif;
  color: var(--accent);
}

.steps strong {
  display: block;
}

.quotes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: none;
}

.quotes figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px;
  flex: 0 1 calc(25% - 18px);
  display: flex;
  flex-direction: column;
}

.quotes blockquote {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.45;
}

.quotes figcaption {
  color: var(--ink);
  font-size: 15px;
}

@media (max-width: 1000px) {
  .quotes figure {
    flex-basis: calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .quotes figure {
    flex-basis: 100%;
  }
}


/* Centered Home Sections */
.centered {
  text-align: center;
}

.centered .lead {
  margin-left: auto;
  margin-right: auto;
}

.centered .cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-content: center;
}

.centered .steps {
  margin-left: auto;
  margin-right: auto;
}

.centered .quotes {
  margin-left: auto;
  margin-right: auto;
}

.quotes .btn.small {
  align-self: center;
  margin-top: 16px;
  padding: 8px 16px;
  font-size: 15px;
}

.quotes figure {
  display: flex;
  flex-direction: column;
}

.quotes figcaption {
  flex: 1;
}


/* Contact/Booking Form */
.book {
  padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px);
}

.book-inner {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.book .h2 {
  font-size: clamp(32px, 5vw, 56px);
}

.book-inner p {
  color: var(--ink);
  max-width: 40ch;
}

form {
  display: grid;
  gap: 16px;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack[hidden] {
  display: none;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 500;
}

input,
select,
textarea {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--ink);
  background: var(--field);
  border-radius: 4px;
  width: 100%;
  color: var(--muted);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.pkg-note {
  margin: 0;
  padding: 10px 12px;
  background: var(--note);
  border-left: 4px solid var(--accent);
  color: var(--ink);
}

#msg {
  min-height: 1.6em;
  margin: 0;
  font-weight: 500;
  color: var(--muted);
}

#msg.err {
  color: var(--err);
}

@media (max-width: 760px) {
  .book-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  nav a {
    margin: 0 14px 0 0;
  }
}

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


/* Lightbox */
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 96vw;
  max-height: 96vh;
  overflow: visible;
  color: #fff;
}

dialog::backdrop {
  background: rgba(10, 16, 22, 0.92);
}

dialog .btn {
  background: #fff;
  color: #18222c;
  padding: 8px 16px;
}

.lb-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.lb-bar form {
  margin: 0;
  display: block;
}

.lb-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.lb-stage img {
  max-width: 96vw;
  max-height: 84vh;
  display: block;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  color: #18222c;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.lb-nav:hover {
  background: #fff;
}

#lbPrev {
  left: 8px;
}

#lbNext {
  right: 8px;
}


/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Header layout (desktop): logo left, nav + theme toggle right */
header nav {
  margin-left: auto;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 760px) {
  header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .theme-toggle {
    margin-left: 0;
    width: 44px;
    height: 44px;
  }

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

  .header-tools {
    margin-left: auto;
  }

  header nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    flex-direction: column;
    border-top: 1px solid var(--line);
  }

  header nav.open {
    display: flex;
  }

  header nav a {
    margin: 0;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  header nav a[aria-current] {
    border-bottom: 1px solid var(--line);
    color: var(--accent);
    font-weight: 500;
  }

  header nav a.nav-cta {
    margin: 14px 0 6px;
    padding: 14px;
    text-align: center;
    color: var(--on-accent);
  }

  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  #heroPrev { left: 8px; }
  #heroNext { right: 8px; }

  .cat-tag {
    font-size: 18px;
    top: 12px;
    left: 12px;
  }

  .actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .price {
    font-size: 38px;
  }
}