/* Jonathan Richards Photography — site styles (Flatiron-inspired layout) */
:root {
  --font: "Mulish", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: #454545;
  --heading: #1f1f1f;
  --muted: #8a8a8a;
  --rule: #ccc;
  --bg: #fff;
  --accent: #0085bd;
  --line: #eee;
  --bg-alt: #fafafa;
  --placeholder: #f2f2f2;
  --hover: #444;
  --faint: #bbb;
  --logo-filter: none;
  --header-h: 85px;
  --max: 1200px;
  color-scheme: light;
}
/* dark theme: follows the browser/OS setting unless the visitor picks one */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #c9c9c9; --heading: #f2f2f2; --muted: #8f8f8f; --rule: #3a3a3a; --bg: #121212;
    --accent: #4db3e6; --line: #262626; --bg-alt: #1a1a1a; --placeholder: #1e1e1e; --hover: #ddd; --faint: #555;
    --logo-filter: invert(1); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --text: #c9c9c9; --heading: #f2f2f2; --muted: #8f8f8f; --rule: #3a3a3a; --bg: #121212;
  --accent: #4db3e6; --line: #262626; --bg-alt: #1a1a1a; --placeholder: #1e1e1e; --hover: #ddd; --faint: #555;
  --logo-filter: invert(1); color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); transition: background-color .25s ease, color .25s ease;
  font-family: var(--font); font-size: 15px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--heading); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s ease-out, color .3s ease-out; }
a:hover { border-bottom-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { font: inherit; }
h1, h2, h3, h4 { color: var(--heading); font-weight: 300; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 42px; }
h2 { font-size: 36.75px; }
h3 { font-size: 31.5px; }
h4 { font-size: 22px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--bg); padding: 8px 12px; z-index: 2000; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------- header ---------------- */
#topBar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--line); height: var(--header-h);
}
.bar-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-logo { display: block; border: 0; }
.site-logo img { display: block; height: 56px; width: auto; filter: var(--logo-filter); }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.main-nav li { position: relative; }
.main-nav a, .folder-toggle {
  display: block; padding: 8px 6px; border: 0; background: none; cursor: pointer;
  font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--heading); white-space: nowrap;
}
.main-nav a:hover, .folder-toggle:hover, .main-nav a.active, .folder.has-active > .folder-toggle { color: var(--muted); }
.main-nav a.active { text-decoration: underline; text-underline-offset: 4px; }
.folder-toggle::after { content: " \25BE"; font-size: 9px; }
.main-nav .subnav {
  position: absolute; top: 100%; left: 0; min-width: 210px; z-index: 110;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.12);
  list-style: none; margin: 0; padding: 6px 0; display: none; flex-direction: column;
}
.subnav a { padding: 7px 16px; text-transform: none; letter-spacing: .04em; font-size: 13px; }
.folder:hover > .subnav, .folder:focus-within > .subnav, .folder.open > .subnav { display: flex; }
.menu-toggle { display: none; }

/* ---------------- content ---------------- */
main { padding-top: var(--header-h); }
.content, main.blog { max-width: var(--max); margin: 0 auto; padding: 45px 35px 75px; }
.block { margin: 17px 0; }
.block.text { max-width: 100%; }
hr.block { display: block; height: 1px; border: 0; border-top: 1px solid var(--rule); margin: 17px 0; }
.block.spacer { margin: 0; }
figure { margin: 0; }
figure.image { margin: 17px auto; }
figure.image img, .stacked img { display: block; width: 100%; height: auto; }
figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
figcaption p { margin: 0; }
.block.video { position: relative; padding-bottom: var(--ratio, 56.25%); height: 0; overflow: hidden; background: #000; }
.block.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
a.lb-item { border: 0; display: block; cursor: zoom-in; }

/* ---------------- grid gallery ---------------- */
.gallery.grid { display: grid; grid-template-columns: repeat(var(--per-row, 4), 1fr); gap: var(--gap, 20px); }
.grid-item { position: relative; padding-bottom: var(--ratio, 100%); overflow: hidden; background: var(--placeholder); }
.grid-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.grid-item:hover img { transform: scale(1.04); opacity: .92; }

/* ---------------- stacked gallery ---------------- */
.gallery.stacked figure { margin: 0 0 22px; }
.gallery.stacked figure:last-child { margin-bottom: 0; }

/* ---------------- slideshow gallery ---------------- */
.slideshow .stage { position: relative; padding-bottom: var(--ratio, 66.667%); background: rgba(175,175,175,.1); overflow: hidden; outline: none; }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.slideshow .slide.active { opacity: 1; pointer-events: auto; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.slideshow[data-fit="cover"] .slide img { object-fit: cover; }
.slideshow .ss-prev, .slideshow .ss-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.35); color: #fff; font-size: 16px; line-height: 44px; padding: 0;
  opacity: 0; transition: opacity .3s, background .3s;
}
.slideshow .ss-prev { left: 14px; } .slideshow .ss-next { right: 14px; }
.slideshow .stage:hover .ss-prev, .slideshow .stage:hover .ss-next, .slideshow .ss-prev:focus-visible, .slideshow .ss-next:focus-visible { opacity: 1; }
.slideshow .ss-prev:hover, .slideshow .ss-next:hover { background: rgba(0,0,0,.6); }
.slideshow .caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 12px 25px; background: rgba(0,0,0,.3); color: rgba(255,255,255,.95); font-size: 14px; line-height: 1.5; }
.slideshow .caption:empty { display: none; }
.slideshow .counter { position: absolute; top: 10px; right: 14px; z-index: 4; font-size: 11px; letter-spacing: .1em; color: #fff; background: rgba(0,0,0,.35); padding: 3px 8px; border-radius: 10px; }
.slideshow .thumbs { display: flex; gap: 6px; margin-top: 20px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.slideshow .thumbs button { flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: pointer; opacity: .5; transition: opacity .3s; height: 80px; }
.slideshow .thumbs button img { display: block; height: 80px; width: auto; }
.slideshow .thumbs button.active, .slideshow .thumbs button:hover { opacity: 1; }

/* ---------------- lightbox ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; text-align: center; }
.lightbox img { display: block; max-width: 94vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; margin: 0 auto; }
.lightbox figcaption { color: #ccc; font-size: 14px; margin-top: 12px; min-height: 1em; padding: 0 60px; }
.lightbox button { position: absolute; z-index: 2; background: none; border: 0; color: #fff; cursor: pointer; padding: 10px 16px; font-size: 28px; line-height: 1; opacity: .8; transition: opacity .2s; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 14px; font-size: 40px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------------- blog ---------------- */
article.post { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 40px; padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
article.post:last-of-type { border-bottom: 0; margin-bottom: 0; }
.entry-title { font-size: 42px; margin-bottom: 20px; }
.entry-title a { border: 0; }
.entry-title a:hover { color: var(--muted); }
.entry-meta, .post-side { font-size: 13px; color: var(--muted); }
.entry-meta { margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--line); }
.entry-meta p { margin: 0 0 4px; }
.post-side { text-align: right; padding-top: 14px; }
.post-side time { display: block; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; margin-bottom: 8px; }
.pagination { margin: 10px 0 30px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pagination span { color: var(--faint); }

/* ---------------- footer ---------------- */
#bottomBar { border-top: 1px solid var(--line); }
#bottomBar .bar-inner { height: auto; padding: 22px 35px; justify-content: flex-end; }
.social { display: inline-block; width: 22px; height: 22px; border: 0; margin-left: 6px; }
.social svg { width: 100%; height: 100%; display: block; fill: var(--heading); transition: fill .2s; }
.social:hover svg { fill: var(--muted); }

/* ---------------- home hero (slides reused by the hero section) ---------------- */
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social.knockout { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75); padding: 4px; margin: 0 4px; transition: background .3s; }
.social.knockout svg { fill: #fff; }
.social.knockout:hover { background: rgba(255,255,255,.2); }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .bar-inner { padding: 0 20px; flex-wrap: wrap; }
  .site-logo { order: 1; }
  .site-logo img { height: 48px; }
  .menu-toggle {
    order: 2; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 8px; border: 0; background: none; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--heading); transition: transform .3s, opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { order: 3; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .main-nav.open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 0; }
  .main-nav a, .folder-toggle { padding: 12px 24px; width: 100%; text-align: left; font-size: 13px; }
  .main-nav .subnav { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 6px; background: var(--bg-alt); }
  .folder:hover > .subnav, .folder:focus-within > .subnav { display: none; }
  .folder.open > .subnav { display: flex; }
  .subnav a { padding-left: 40px; }
  .content, main.blog { padding: 30px 20px 60px; }
  h1, .entry-title { font-size: 32px; }
  h2 { font-size: 27px; }
  h3 { font-size: 23px; }
  article.post { grid-template-columns: 1fr; gap: 10px; }
  .post-side { text-align: left; order: -1; padding: 0; }
  .lightbox figcaption { padding: 0 16px; }
  #bottomBar .bar-inner { padding: 18px 20px; }
}
@media (max-width: 640px) {
  .gallery.grid[data-per-row="3"], .gallery.grid[data-per-row="4"], .gallery.grid[data-per-row="5"], .gallery.grid[data-per-row="6"] { grid-template-columns: repeat(2, 1fr); gap: min(var(--gap, 20px), 8px); }
  .slideshow .thumbs button, .slideshow .thumbs button img { height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------- search ---------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nav-search a { display: inline-flex; align-items: center; gap: 6px; }
.nav-search svg { width: 15px; height: 15px; }
.search-form { display: flex; gap: 0; max-width: 640px; margin: 24px 0 12px; }
.search-form input { flex: 1; font: inherit; font-size: 17px; padding: 12px 16px; border: 1px solid var(--rule); border-right: 0; background: var(--bg); color: var(--text); min-width: 0; }
.search-form input:focus { outline: none; border-color: var(--heading); }
.search-form button { display: inline-flex; align-items: center; justify-content: center; width: 52px; border: 1px solid var(--heading); background: var(--heading); color: var(--bg); cursor: pointer; }
.search-form button svg { width: 18px; height: 18px; }
.search-form button:hover { background: var(--hover); border-color: var(--hover); }
.search-hint { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.search-hint a { color: var(--heading); }
.search-status { font-size: 14px; color: var(--muted); margin: 6px 0 20px; min-height: 1.4em; }
.search-results { min-height: 40px; }
.search-card .grid-item { display: block; }
.search-card-page { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: .03em; line-height: 1.4; }
.search-card-page span { color: var(--faint); }
.search-card-page:hover { color: var(--heading); }
[id^="img-"] { scroll-margin-top: calc(var(--header-h) + 24px); }
[id^="img-"]:target { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------------- footer text ---------------- */
#bottomBar .bar-inner { justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-text { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: .03em; }
@media (max-width: 900px) {
  #bottomBar .bar-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------------- theme toggle ---------------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-left: 8px;
  border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--heading); cursor: pointer; padding: 0;
  transition: border-color .2s, color .2s;
}
.theme-toggle:hover { border-color: var(--heading); }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun, .theme-toggle .i-moon, .theme-toggle .i-auto { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
:root:not([data-theme]) .theme-toggle .i-auto { display: block; }
.header-tools { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { margin-left: 8px; }
.tool-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-left: 8px; border: 1px solid var(--line); border-radius: 50%; color: var(--heading); transition: border-color .2s; }
.tool-link:hover { border-color: var(--heading); }
.tool-link svg { width: 16px; height: 16px; }
.nav-search { display: none; }
@media (max-width: 900px) {
  .header-tools { order: 1; }
  .menu-toggle { order: 2; }
  .main-nav { order: 3; }
  .theme-toggle, .tool-link { margin-left: 0; margin-right: 6px; }
  .tool-link { display: none; }
  .nav-search { display: block; }
}

/* ---------------- contact page ---------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.contact-details { font-size: 15px; }
.contact-details h2 { font-size: 24px; margin-top: 0; }
.contact-details ul { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-details li { margin: 0 0 10px; }
.contact-details li strong { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-email { font-size: 20px; font-weight: 600; color: var(--heading); word-break: break-all; }
.contact-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.contact-services li { border: 1px solid var(--line); padding: 5px 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--rule); background: var(--bg); color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--heading); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.button, .contact-form button {
  display: inline-block; padding: 13px 34px; border: 2px solid var(--heading); background: var(--heading); color: var(--bg);
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s;
}
.button:hover, .contact-form button:hover { background: transparent; color: var(--heading); }
.button.outline { background: transparent; color: var(--heading); }
.button.outline:hover { background: var(--heading); color: var(--bg); }
.contact-note { font-size: 13px; color: var(--muted); margin: 0; }
.cta-banner { margin: 40px 0 0; padding: 32px; border: 1px solid var(--line); background: var(--bg-alt); text-align: center; }
.cta-banner h2 { font-size: 26px; margin: 0 0 8px; }
.cta-banner p { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-form .row { grid-template-columns: 1fr; }
}

/* ---------------- service pages ---------------- */
.service-hero { max-width: 820px; margin: 0 0 30px; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.service-hero h1 { font-size: 44px; margin-bottom: 16px; }
.service-hero .lead { font-size: 18px; line-height: 1.6; color: var(--text); margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.service-hero-image { margin: 0 0 40px; }
.service-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 40px; margin: 0 0 50px; }
.highlight h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.highlight p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.section-title { font-size: 30px; margin: 50px 0 14px; }
.section-intro { color: var(--muted); max-width: 720px; margin: 0 0 22px; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 20px; }
.package { border: 1px solid var(--line); padding: 26px 24px; display: flex; flex-direction: column; background: var(--bg); }
.package.featured { border-color: var(--heading); }
.package h3 { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.package-summary { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.package ul { padding-left: 18px; margin: 0 0 18px; font-size: 14px; line-height: 1.7; flex: 1; }
.package-price { font-weight: 600; color: var(--heading); margin: 0 0 14px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--heading); font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--text); max-width: 760px; }
.cta-links { margin: 16px 0 0 !important; font-size: 13px; }
.cta-links a { margin: 0 4px; }
@media (max-width: 900px) {
  .service-hero h1 { font-size: 32px; }
  .service-hero .lead { font-size: 16px; }
  .service-highlights, .packages { grid-template-columns: 1fr; gap: 20px; }
  .section-title { font-size: 26px; margin-top: 36px; }
}

/* ---------------- testimonials ---------------- */
.testimonials { margin: 40px 0 10px; }
.testimonial-list { display: grid; gap: 24px; }
.testimonial { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 26px; align-items: start; border: 1px solid var(--line); padding: 26px; background: var(--bg-alt); }
.testimonial-photo { display: block; border: 0; aspect-ratio: 1; overflow: hidden; }
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial blockquote { margin: 0 0 12px; font-size: 18px; line-height: 1.6; color: var(--heading); font-weight: 300; }
.testimonial blockquote p { margin: 0; }
.testimonial blockquote p::before { content: "\201C"; color: var(--muted); margin-right: 2px; }
.testimonial blockquote p::after { content: "\201D"; color: var(--muted); margin-left: 2px; }
.testimonial figcaption { font-size: 13px; color: var(--muted); margin: 0; }
.testimonial figcaption strong { color: var(--heading); font-weight: 600; margin-right: 8px; }
.testimonial figcaption span { }
@media (max-width: 900px) {
  .testimonial { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .testimonial-photo { width: 120px; }
  .testimonial blockquote { font-size: 16px; }
}

/* ---------------- booking calendar ---------------- */
.nav-cta a { color: var(--accent); font-weight: 700; }
.nav-cta a:hover { color: var(--heading); }
.booking { margin: 0 0 14px; }
.booking-frame { position: relative; min-height: 640px; border: 1px solid var(--line); background: var(--bg-alt); }
.booking-embed { width: 100%; min-height: 640px; }
.booking-embed iframe { display: block; width: 100%; border: 0; }
/* The status card sits over the empty frame until the provider's iframe appears. */
.booking-status {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center; padding: 30px; pointer-events: none;
}
.booking-status p { margin: 0 0 10px; pointer-events: auto; }
.booking-status-text { color: var(--muted); font-size: 14px; }
.booking-status[data-state="ready"] { display: none; }
.booking-status[data-state="error"] .booking-status-text { color: var(--heading); max-width: 30em; }
.booking-note, .booking-noscript { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.booking-page .service-highlights { margin-top: 44px; }
.booking-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 0 0 34px; padding: 24px 28px; border: 1px solid var(--line); background: var(--bg-alt);
}
.booking-promo h2 { font-size: 22px; margin: 0 0 6px; }
.booking-promo p { margin: 0; color: var(--muted); max-width: 46em; }
.booking-promo .button { flex: none; }
.cta-banner .button + .button { margin-left: 10px; }
@media (max-width: 700px) {
  .booking-frame, .booking-embed { min-height: 560px; }
  .booking-promo { padding: 20px; }
  .cta-banner .button + .button { margin: 12px 0 0; }
}

/* ---------------- home page: hero + sections ---------------- */
main.home { padding-top: 0; }
.hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 100vh; min-height: 100svh; overflow: hidden; background: #000;
}
/* Two layers do the work: a gradient over the whole photo (darker top and bottom,
   so the header and the scroll cue stay legible) plus a pool of shade behind the
   text itself. Measured to clear 4.5:1 on every slide. */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 32%, rgba(0,0,0,.3) 68%, rgba(0,0,0,.6) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: calc(var(--header-h) + 30px) 24px 110px; width: 100%;
}
.hero-content::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 150%; height: 130%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.66) 0%, rgba(0,0,0,.56) 48%, rgba(0,0,0,0) 80%);
}
.hero-title { margin: 0; line-height: 0; }
.hero-logo { width: min(340px, 70vw); height: auto; filter: drop-shadow(0 2px 14px rgba(0,0,0,.5)); }
.hero-tagline {
  margin: 22px auto 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; max-width: 34em; line-height: 1.7; text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.hero-actions { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 13px 34px; border: 2px solid #fff; background: #fff; color: #111;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.hero-button:hover, .hero-button:focus-visible { background: transparent; color: #fff; }
.hero-button.ghost { background: transparent; color: #fff; }
.hero-button.ghost:hover, .hero-button.ghost:focus-visible { background: #fff; color: #111; }
.hero-social { margin-top: 30px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  color: #fff; border: 0; opacity: .85; animation: hero-bob 2.4s ease-in-out infinite;
}
.hero-scroll:hover, .hero-scroll:focus-visible { opacity: 1; }
@keyframes hero-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } }

/* header sits transparently over the hero until the page is scrolled */
body.home-body #topBar { transition: background-color .3s ease, border-color .3s ease; }
body.home-body:not(.scrolled) #topBar { background: transparent; border-bottom-color: transparent; }
body.home-body:not(.scrolled) .main-nav > ul > li > a,
body.home-body:not(.scrolled) .folder-toggle,
body.home-body:not(.scrolled) .tool-link { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
body.home-body:not(.scrolled) .theme-toggle { color: #fff; border-color: rgba(255,255,255,.6); }
body.home-body:not(.scrolled) .theme-toggle:hover { background: rgba(255,255,255,.18); border-color: #fff; }
body.home-body:not(.scrolled) .site-logo img { filter: invert(1) drop-shadow(0 1px 8px rgba(0,0,0,.6)); }
body.home-body:not(.scrolled) .menu-toggle span { background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.5); }
/* dropdowns and the open mobile panel keep their own solid background, so their
   links must keep the normal text colour even while the bar is transparent */
body.home-body:not(.scrolled) .subnav a,
body.home-body:not(.scrolled) .main-nav.open a,
body.home-body:not(.scrolled) .main-nav.open .folder-toggle { color: var(--heading); text-shadow: none; }

/* sections below the hero */
.home-content { padding-top: 60px; }
/* the header is fixed, so in-page anchors must stop clear of it */
.home-intro, .home-services, .home-work { scroll-margin-top: calc(var(--header-h) + 24px); }
.home-intro { max-width: 820px; margin: 0 0 10px; }
.home-intro h1 { font-size: 40px; margin-bottom: 20px; }
.home-lead { font-size: 18px; line-height: 1.7; }
.home-lead p { margin-bottom: 1em; }
.home-intro .button { margin-top: 20px; }
/* editorial work grid: a wide frame, a row of squares, a wide frame */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 55px 0 22px; }
.section-head .section-title { margin: 0; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.section-aside { margin: 0; font-size: 13px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 38px 22px; }
.card { display: block; border: 0; color: inherit; }
.card.span-2 { grid-column: 1 / -1; }
.card-media { display: block; position: relative; overflow: hidden; background: var(--placeholder); }
.card-media.wide { padding-bottom: 46%; }
.card-media.square { padding-bottom: 100%; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img, .card:focus-visible .card-media img { transform: scale(1.03); }
.card-body { display: block; padding: 14px 0 0; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.card-title { color: var(--heading); font-size: 19px; font-weight: 600; letter-spacing: .01em; }
.card:hover .card-title { text-decoration: underline; text-underline-offset: 3px; }
.card-count { font-size: 12px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-text { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 8px; max-width: 46em; }
.more-links { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.more-links span { font-weight: 600; color: var(--heading); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.more-links a { color: var(--text); border-bottom: 1px solid var(--line); }
.more-links a:hover { color: var(--heading); border-bottom-color: var(--heading); }

/* the quote promise: a full-bleed dark band, so it reads as the ask */
.quote-cta {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 50px 60px;
  background: #0f0f0f; color: #fff; margin: 70px 0 0;
  padding: 70px max(24px, calc((100% - var(--max)) / 2 + 35px));
}
.quote-cta h2 { color: #fff; font-size: 40px; line-height: 1.12; margin: 0 0 16px; max-width: 14em; }
.quote-cta p { color: rgba(255,255,255,.72); margin: 0 0 26px; max-width: 34em; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.button.light { background: #fff; border-color: #fff; color: #111; }
.button.light:hover { background: transparent; color: #fff; }
.button.ghost-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.button.ghost-light:hover { background: #fff; border-color: #fff; color: #111; }
.quote-prices { padding-top: 6px; }
.quote-prices .kicker { color: rgba(255,255,255,.6); margin-bottom: 4px; }
.price-list { border-top: 1px solid rgba(255,255,255,.22); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.price-row a { color: #fff; font-size: 18px; font-weight: 600; border: 0; }
.price-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.price-row span { color: rgba(255,255,255,.75); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-note { font-size: 13px; color: rgba(255,255,255,.55); margin: 16px 0 0; }
.home-content-lower { padding-top: 10px; }
.home-content .testimonials { margin-top: 45px; }
@media (max-width: 900px) {
  .home-intro h1 { font-size: 30px; }
  .home-lead { font-size: 16px; }
  .quote-cta { grid-template-columns: 1fr; gap: 40px; padding: 50px 20px; margin-top: 50px; }
  .quote-cta h2 { font-size: 30px; }
  .card-title { font-size: 17px; }
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; gap: 30px; }
  .card-media.square, .card-media.wide { padding-bottom: 72%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-tagline { font-size: 11px; letter-spacing: .12em; padding: 0 10px; }
  .quote-actions { flex-direction: column; align-items: stretch; }
  .section-head { margin-top: 40px; }
}

/* ---------------- image protection ---------------- */
/* stops drag-to-save and the iOS long-press "Save Image" sheet */
img { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }
.img-notice {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 10px); z-index: 1500;
  max-width: min(92vw, 30em); padding: 13px 20px; text-align: center;
  background: rgba(15,15,15,.94); color: #fff; font-size: 13.5px; line-height: 1.5;
  box-shadow: 0 6px 24px rgba(0,0,0,.3); opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.img-notice.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.img-notice a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.img-notice a:hover { color: #fff; }
@media (max-width: 640px) { .img-notice { bottom: 16px; font-size: 13px; padding: 12px 16px; } }
