:root {
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --ink: #16181d;
  --ink-soft: #4a4f59;
  --muted: #8b909a;
  --line: #e7e5df;
  --accent: #b08545;        /* warm gold echoing fixtures */
  --accent-ink: #7c5a26;
  --accent-glow: rgba(176, 133, 69, .18);
  --shadow: 0 10px 30px rgba(20, 22, 28, 0.08);
  --card-shadow-hover: 0 18px 40px rgba(20,22,28,.14);
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1180px;

  /* Chrome surfaces that aren't plain --bg (header glass, dropdown menus, branded chips, form inputs). */
  --header-bg: rgba(255, 255, 255, .92);
  --menu-bg: #ffffff;
  --brand-mark-bg: var(--ink);
  --brand-mark-ink: #ffffff;
  --input-bg: #ffffff;

  /* Surfaces that sit over photography. These stay tuned for legibility-over-image
     and intentionally do not flip between light and dark. */
  --on-image: #ffffff;
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 100%);
  --hero-eyebrow: #f0d8a8;
  --btn-ghost-border: rgba(255,255,255,.5);
  --btn-ghost-hover-bg: rgba(255,255,255,.12);
  --card-figure-overlay: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%);
  --slide-btn-bg: rgba(0,0,0,0.28);
  --slide-btn-hover-bg: rgba(0,0,0,0.5);
  --modal-backdrop: rgba(20, 22, 28, .85);
  --modal-shadow: 0 30px 80px rgba(0,0,0,.4);
  --lightbox-bg: rgba(0, 0, 0, .92);
  --lightbox-shadow: 0 20px 60px rgba(0,0,0,.6);
  --lightbox-btn-bg: rgba(255,255,255,.15);
  --lightbox-btn-hover-bg: rgba(255,255,255,.28);

  /* Status colours used in the contact form. */
  --danger: #b3261e;
  --success: #1e7b3a;
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1115;
  --bg-alt: #161922;
  --ink: #ececeb;
  --ink-soft: #b8bcc4;
  --muted: #8b909a;
  --line: #2a2d33;
  --accent: #d4a25f;
  --accent-ink: #e3b576;
  --accent-glow: rgba(212, 162, 95, .22);
  --shadow: 0 10px 30px rgba(0,0,0,.5);
  --card-shadow-hover: 0 18px 40px rgba(0,0,0,.55);

  --header-bg: rgba(15, 17, 21, .85);
  --menu-bg: #1a1d23;
  --brand-mark-bg: var(--accent);
  --brand-mark-ink: #0f1115;
  --input-bg: #1a1d23;

  --danger: #e57373;
  --success: #6abf6a;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #0f1115;
    --bg-alt: #161922;
    --ink: #ececeb;
    --ink-soft: #b8bcc4;
    --muted: #8b909a;
    --line: #2a2d33;
    --accent: #d4a25f;
    --accent-ink: #e3b576;
    --accent-glow: rgba(212, 162, 95, .22);
    --shadow: 0 10px 30px rgba(0,0,0,.5);
    --card-shadow-hover: 0 18px 40px rgba(0,0,0,.55);

    --header-bg: rgba(15, 17, 21, .85);
    --menu-bg: #1a1d23;
    --brand-mark-bg: var(--accent);
    --brand-mark-ink: #0f1115;
    --input-bg: #1a1d23;

    --danger: #e57373;
    --success: #6abf6a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-soft); }
a  { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 .8em;
}

.muted { color: var(--muted); font-size: .92rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  min-width: 32px; height: 32px;
  padding: 0 7px;
  align-items: center; justify-content: center;
  background: var(--brand-mark-bg);
  color: var(--brand-mark-ink);
  border-radius: 8px;
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  letter-spacing: -0.02em;
}
.brand-name { font-size: 1.05rem; letter-spacing: -0.01em; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav a.nav-cta {
  background: var(--brand-mark-bg);
  color: var(--brand-mark-ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.nav a.nav-cta:hover { background: var(--accent); text-decoration: none; }
.nav-toggle { display: none; }

/* Language + theme switchers (same dropdown UX) */
.lang-switcher,
.theme-switcher { position: relative; margin-left: 16px; }
.theme-switcher { margin-left: 8px; }
.lang-toggle,
.theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: border-color .2s ease, color .2s ease;
}
.lang-toggle:hover,
.theme-toggle:hover { border-color: var(--ink); color: var(--accent); }
.lang-caret,
.theme-caret { font-size: .7rem; transition: transform .2s ease; }
.lang-toggle[aria-expanded="true"] .lang-caret,
.theme-toggle[aria-expanded="true"] .theme-caret { transform: rotate(180deg); }
.theme-icon { font-size: 1rem; line-height: 1; }

.lang-menu,
.theme-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--menu-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px;
  margin: 0;
  list-style: none;
  min-width: 130px;
  display: none;
  z-index: 60;
}
.lang-menu.is-open,
.theme-menu.is-open { display: block; }
.lang-menu li,
.theme-menu li { margin: 0; }
.lang-menu button,
.theme-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .92rem;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.lang-menu button:hover,
.theme-menu button:hover { background: var(--bg-alt); color: var(--accent); }
.lang-menu button.is-active,
.theme-menu button.is-active { color: var(--accent); font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 0 60px;
  background: var(--hero-overlay);
}
.hero h1 { color: var(--on-image); max-width: 16ch; }
.hero .lede { color: rgba(255,255,255,.92); max-width: 56ch; font-size: 1.1rem; }
.hero .eyebrow { color: var(--hero-eyebrow); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--on-image); border-color: var(--btn-ghost-border); }
.btn-ghost:hover { background: var(--btn-ghost-hover-bg); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { max-width: 60ch; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bullets { padding: 0; list-style: none; margin: 1.2em 0 0; }
.bullets li {
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
}
.bullets li:first-child { border-top: 0; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 14px; height: 14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

/* Project grid (replaces the old project-tabs) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 36px 0 0;
}
.project-card {
  position: relative;
  display: block;
  background: var(--bg);
  border: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  outline: none;
}
.project-card-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
}
.project-card-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-card-figure img,
.project-card:focus-visible .project-card-figure img { transform: scale(1.05); }
.project-card-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-figure-overlay);
  pointer-events: none;
}
.project-card-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--on-image);
  z-index: 1;
}
.project-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.project-card-meta {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  white-space: nowrap;
}

/* Slideshow (inside the project modal) */
.slideshow {
  position: relative;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
}

/* BEFORE / AFTER stage tabs (only rendered when both sets exist) */
.stage-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 16px 0;
  background: var(--bg);
}
.stage-tab {
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.stage-tab:hover { color: var(--ink); }
.stage-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.slideshow-viewport {
  position: relative;
  overflow: hidden;
  margin: 12px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  touch-action: pan-y;
}
.slideshow-track {
  display: flex;
  transition: transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide img {
  max-width: calc(100% - 24px);
  max-height: 65vh;
  display: block;
  cursor: zoom-in;
  border-radius: var(--radius);
  margin: 12px auto;
  transition: transform 6s ease;
}
.slide img.ken-burns { transform: scale(1.06); }

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--slide-btn-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  color: rgba(255,255,255,0.92);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  font-weight: 300;
  line-height: 1;
  transition: background .25s ease, color .25s ease;
  z-index: 10;
  user-select: none;
  border-radius: var(--radius);
}
.slide-btn:hover { background: var(--slide-btn-hover-bg); color: var(--on-image); }
.slide-prev { left: 1rem; }
.slide-next { right: 1rem; }

.slide-footer {
  padding: 14px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin: 0 12px;
  flex-wrap: wrap;
}
.slide-counter {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .05em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.slide-dots {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, transform .25s ease;
}
.slide-dot:hover { background: var(--ink-soft); }
.slide-dot.is-active {
  background: var(--accent);
  transform: scale(1.4);
}

.autoplay-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: color .2s ease, border-color .2s ease;
}
.autoplay-btn:hover { color: var(--accent); border-color: var(--accent); }
.autoplay-btn.is-playing { color: var(--accent); border-color: var(--accent); }

/* Thumbnail strip */
.thumb-strip {
  display: flex;
  gap: 8px;
  margin: 14px 12px 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}
.thumb-strip::-webkit-scrollbar { height: 6px; }
.thumb-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.thumb {
  flex: 0 0 84px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--bg-alt);
  transition: border-color .2s ease, transform .2s ease;
  padding: 0;
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.thumb.is-active { border-color: var(--accent); }
.thumb:hover { transform: translateY(-2px); }

/* Slideshow modal (opens when a project card is clicked) */
.slideshow-modal {
  position: fixed;
  inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 90;
  padding: 56px 24px 24px;
  overflow-y: auto;
}
.slideshow-modal.is-open { display: flex; }
.modal-inner {
  width: 100%;
  max-width: 1100px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--modal-shadow);
  overflow: hidden;
  animation: modal-rise .35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modal-rise {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-header {
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line);
}
.modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.modal-description {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 64ch;
}
.modal-close {
  position: fixed;
  top: 14px;
  right: 18px;
  background: var(--lightbox-btn-bg);
  color: var(--on-image);
  border: 0;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background .2s ease;
  z-index: 95;
}
.modal-close:hover { background: var(--lightbox-btn-hover-bg); }

.slideshow-modal .slideshow {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.slideshow-modal .slideshow-viewport {
  background: var(--bg-alt);
  margin: 18px;
}
.slideshow-modal .slide img { max-height: 70vh; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: var(--lightbox-bg);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox-image {
  max-width: 95vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--lightbox-shadow);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--lightbox-btn-bg);
  color: var(--on-image);
  border: 0;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: var(--radius);
  transition: background .2s ease;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--lightbox-btn-hover-bg); }
.lightbox-close { top: 18px; right: 18px; font-size: 1.4rem; padding: 6px 14px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  letter-spacing: .05em;
  margin: 0;
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
  margin-top: 28px;
}
.review {
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 0;
  display: flex;
  flex-direction: column;
}
.review blockquote { flex: 1 0 auto; }
.review blockquote {
  margin: 0 0 14px;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.55;
}
.review figcaption { color: var(--ink-soft); font-weight: 600; font-size: .92rem; }
.stars { color: var(--accent); margin-top: 6px; letter-spacing: 2px; }

/* Contact */
.contact-container { max-width: 720px; }
.contact-block { width: 100%; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 0; }
.contact-label {
  flex: 0 0 auto;
  min-width: 110px;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--muted);
  font-weight: 700;
}
.contact-list a { color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.contact-actions { margin-left: auto; display: flex; gap: 14px; }
.contact-actions a { font-size: .9rem; color: var(--accent-ink); }

.contact-form {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { justify-self: start; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }

/* Small-jobs teaser (between Reviews and Contact on /) */
.small-jobs-container { max-width: 720px; }
.small-jobs-bullets { margin-top: .8em; }
.small-jobs-examples-intro {
  margin-top: 1.6em;
  font-weight: 600;
  color: var(--ink);
}
.small-jobs-cta-wrap { margin-top: 1.8em; }
.contact-cta-wrap { margin-top: 1.8em; }

/* ===========================================================
   /book.html — job-request form
   =========================================================== */
.book-section { padding-top: 64px; padding-bottom: 80px; }
.book-container { max-width: 760px; }
.book-intro { max-width: 60ch; margin-bottom: 2em; }

.job-form {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 26px;
  position: relative;
}

.field { display: grid; gap: 8px; }
.field-label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.field-sub  { font-size: .82rem; color: var(--muted); }
.field-help { font-size: .82rem; color: var(--muted); }

.job-form input[type="text"],
.job-form input[type="email"],
.job-form input[type="tel"],
.job-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.job-form input:focus,
.job-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.job-form textarea { resize: vertical; min-height: 120px; }

/* Three-up row for name/email/phone on desktop; stacks on mobile. */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* Chip strip — grouped suggestions under the service-type input. */
.chip-suggestions { gap: 12px; }
.chip-strip { display: grid; gap: 12px; }
.chip-group { display: grid; gap: 6px; }
.chip-group-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font: inherit;
  font-size: .86rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chip:hover { border-color: var(--ink-soft); color: var(--ink); }
.chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.chip.is-active {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent-ink);
  font-weight: 600;
}

/* Photo upload field. */
.photo-field { gap: 8px; }
.photo-picker { display: grid; gap: 12px; margin-top: 4px; }
.photo-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px dashed var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.photo-add-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.photo-add-btn::before {
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 400;
}

.photo-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.photo-thumbs:empty { display: none; }
.photo-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-thumb-meta {
  position: absolute;
  left: 6px; bottom: 6px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.photo-thumb-remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 24px; height: 24px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-thumb-remove:hover { background: rgba(0,0,0,.85); }

/* Urgency radios. */
.urgency-field { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.urgency-field > .field-label { margin: 0; padding: 0; }   /* legend reset */
.urgency-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.urgency-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .9rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.urgency-option:hover { border-color: var(--ink-soft); color: var(--ink); }
.urgency-option input[type="radio"] {
  accent-color: var(--accent);
  width: 16px; height: 16px;
  margin: 0;
}
.urgency-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent-ink);
  font-weight: 600;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-back {
  color: var(--ink-soft);
  font-size: .9rem;
}
.form-back:hover { color: var(--accent-ink); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
}
.footer-row a { color: var(--ink-soft); }

/* Mobile */
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 60px 0; }
  .hero { min-height: 70vh; }

  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--menu-bg); flex-direction: column; gap: 0; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); width: 100%; }
  .nav a:first-child { border-top: 0; }
  .nav a.nav-cta { margin-top: 8px; text-align: center; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: transparent; border: 0; padding: 8px; cursor: pointer;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }

  .contact-list li { flex-direction: column; align-items: flex-start; }
  .contact-actions { margin-left: 0; }

  .lang-switcher { margin-left: auto; margin-right: 4px; }
  .theme-switcher { margin-left: 4px; margin-right: 8px; }
  .lang-toggle,
  .theme-toggle { padding: 5px 9px; font-size: .78rem; }
  .lang-menu,
  .theme-menu { min-width: 110px; }

  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
  .project-card-figure { aspect-ratio: 3 / 4; }
  .project-card-name { font-size: .95rem; }
  .project-card-meta { display: none; } /* save space on narrow cards */
  .project-card-caption { padding: 12px 14px 14px; }

  .slideshow-modal { padding: 48px 12px 16px; align-items: flex-start; }
  .modal-inner { border-radius: var(--radius); }
  .modal-header { padding: 18px 20px 14px; }
  .modal-title { font-size: 1.25rem; }
  .modal-description { font-size: .88rem; }
  .modal-close { top: 10px; right: 12px; padding: 6px 12px; font-size: 1.3rem; }
  .slideshow-modal .slideshow-viewport { margin: 12px; }
  .slideshow-modal .slide img { max-height: 50vh; }

  .slide img { max-height: 50vh; }
  .slide-btn { font-size: 1.4rem; padding: 0.5rem 0.7rem; }
  .slide-prev { left: 0.5rem; }
  .slide-next { right: 0.5rem; }
  .slide-footer { flex-direction: column; gap: 12px; padding: 12px 14px 14px; }
  .thumb { flex: 0 0 64px; height: 48px; }
  .lightbox-image { max-width: 96vw; max-height: 82vh; }
  .lightbox-prev, .lightbox-next { font-size: 1.3rem; padding: 8px 12px; }

  /* /book.html form */
  .job-form { padding: 22px; gap: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 16px; }
  .photo-thumbs { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
  .urgency-option { padding: 9px 12px; font-size: .88rem; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .form-actions .btn { width: 100%; }
  .form-back { text-align: center; }
  .book-section { padding-top: 40px; padding-bottom: 56px; }
}

@media (max-width: 540px) {
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card-figure { aspect-ratio: 4 / 3; }
  .project-card-meta { display: inline; }
}
