/*
Theme Name: Craft Photography
Theme URI: https://craftphotography.in/
Author: Craft Photography
Description: Custom photography website theme based on the Craft Photography Studio design.
Version: 1.9.10
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: craft-photography
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');
  :root {
    /* Classic ivory / warm cream palette */
    --ink: #3A3027;
    --ink-soft: #75685A;
    --parchment: #F5EFE4;
    --parchment-dim: #EDE4D5;
    --brass: #B28A4A;
    --brass-deep: #8E6C3B;
    --rose: #A87863;
    --line: rgba(58,48,39,0.14);
    --radius: 2px;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
  }
  :root:not([data-theme="light"]) {
    /* keep the classic light brand palette regardless of system dark mode */
  }

  body::selection { background: rgba(178,138,74,0.24); }
  .section, section.view { background: var(--parchment); }
  .view-topbar { background: transparent; }
  .section-head h2, .about-page-open, .q-title, .touch-title { color: var(--ink); }
  .section-head p, .about-body p, .q-sub, .touch-copy, .field label, .pf-s { color: var(--ink-soft); }
  input, select, textarea { background: rgba(255,252,246,0.78); color: var(--ink); border-color: var(--line); }
  input::placeholder, textarea::placeholder { color: #9A8D7E; }
  .portfolio-lightbox, .video-lightbox { background: rgba(37,29,22,0.94); }

  * { box-sizing: border-box; }
  html { scroll-padding-top: calc(62px + env(safe-area-inset-top, 0px)); }
  html, body { height: 100%; }
  body {
    margin: 0;
    background: var(--parchment);
    color: var(--ink);
    font-family: var(--sans);
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-top: 62px;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  button { font-family: inherit; cursor: pointer; }

  /* ---------- notice bar ---------- */
  .preview-notice {
    background: var(--parchment-dim);
    color: var(--ink-soft);
    font-size: 12.5px;
    text-align: center;
    padding: 7px 12px;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--line);
  }

  /* ---------- nav ---------- */
  nav {
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(245,239,228,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    padding: 0;
  }
  .nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
  }
  .logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    line-height: 1;
    text-decoration: none;
  }
  .logo img {
    display: block;
    width: 92px;
    height: auto;
    max-height: 30px;
    object-fit: contain;
  }
  .logo-name {
    display: inline-block;
    text-transform: uppercase;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  .nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0; padding: 0;
    align-items: center;
    font-size: 14.5px;
  }
  .nav-links button {
    background: none; border: none; color: var(--ink-soft);
    padding: 6px 0; font-size: 14.5px; position: relative;
    transition: color 0.18s ease;
  }
  .nav-links button:hover { color: var(--ink); }
  .nav-links button.active { color: var(--ink); }
  .nav-links button.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
    height: 1px; background: var(--brass);
  }
  .nav-links .quote-btn {
    background: var(--brass); color: #FFF9EF;
    padding: 9px 18px; border-radius: var(--radius);
    transition: background-color 0.18s ease, transform 0.18s ease;
  }
  .nav-links .quote-btn:hover { background: #C19A5A; transform: translateY(-1px); }
  .nav-links .quote-btn.active { color: #FFF9EF; }
  .nav-links .quote-btn.active::after { display: none; }
  .burger { display: none; position: relative; z-index: 1002; background: transparent; border: 0; color: var(--ink); font-size: 24px; line-height: 1; padding: 8px 4px 8px 12px; margin: -8px -4px -8px 0; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }

  @media (max-width: 780px) {
    html { scroll-padding-top: calc(62px + env(safe-area-inset-top, 0px)); }
    body { padding-top: 62px; }
    nav { top: var(--wp-admin--admin-bar--height, 0px); }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
      background: rgba(245,239,228,.98); flex-direction: column; align-items: stretch;
      padding: 10px 18px 20px; gap: 4px; border-bottom: 1px solid var(--line);
      box-shadow: 0 14px 30px rgba(58,48,39,.12); }
    .nav-links.open { display: flex; z-index: 1001; }
    .nav-links li { width: 100%; }
    .nav-links button { width: 100%; text-align: left; padding: 12px 4px; font-size: 14px; }
    .nav-links button.active::after { display: none; }
    .nav-links .quote-btn { text-align: center; margin-top: 6px; padding: 11px 16px; }
    .burger { display: block; color: var(--ink); }
    .view-topbar { padding: 14px 18px 0; }
  }

  section.view { display: none; }
  section.view.active { display: block; }
  .view-topbar {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1160px; margin: 0 auto; padding: 22px 28px 0;
  }
  .view-back {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
    padding: 8px 13px; border-radius: var(--radius); font-size: 13px;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
  }
  .view-back:hover { border-color: var(--brass); color: var(--ink); background: rgba(178,138,74,.08); }
  .view-back:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
  @media (max-width: 480px) {
    .wrap { padding: 0 18px; }
    .nav-inner { padding: 14px 18px; }
    .section { padding: 56px 0; }
    .hero { padding-top: 28px; gap: 28px; }
    .cta-band { padding: 56px 0; }
    .quote-shell { padding: 40px 0 70px; }
    .touch-grid { padding: 40px 0 60px; gap: 40px; }
    .opt-grid { grid-template-columns: 1fr; }
  }

  /* ---------- photo placeholder blocks ---------- */
  .ph {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(155deg, var(--g1, #cbb99a), var(--g2, #8c6a4a));
  }
  .ph::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(255,255,255,0.10), transparent 55%),
      radial-gradient(circle at 80% 75%, rgba(0,0,0,0.18), transparent 60%);
    mix-blend-mode: overlay;
  }
  .ph-mark {
    position: absolute; bottom: 10px; left: 12px;
    color: rgba(255,255,255,0.85); font-size: 11px; letter-spacing: 0.06em;
    font-family: var(--sans);
  }

  /* ---------- hero slideshow ---------- */
  .hero-slideshow {
    position: relative;
    height: min(86vh, 720px);
    min-height: 480px;
    overflow: hidden;
  }
  .hero-slideshow .slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
  }
  .hero-slideshow .slide.active { opacity: 1; }
  .hero-slideshow .slide::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(to top, rgba(15,11,6,0.82) 0%, rgba(15,11,6,0.35) 45%, rgba(15,11,6,0.15) 100%),
      radial-gradient(circle at 25% 25%, rgba(255,255,255,0.08), transparent 55%);
  }
  .hero-content {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 0 28px 74px;
    max-width: 1160px; margin: 0 auto;
    z-index: 2;
  }
  .hero-eyebrow {
    margin: 0 0 18px;
    color: rgba(255,249,239,0.92);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .hero-eyebrow span { color: var(--brass); margin: 0 6px; }
  .hero-content h1 {
    font-family: var(--serif); font-weight: 500; color: #FFF9EF;
    font-size: clamp(34px, 5.6vw, 60px); line-height: 1.06;
    margin: 0 0 18px; max-width: 13ch;
    text-shadow: 0 2px 14px rgba(15,11,6,0.48);
  }
  .hero-content p.lede {
    font-size: 16px; color: rgba(255,249,239,0.90); max-width: 42ch; line-height: 1.6;
    margin: 0 0 26px;
    text-shadow: 0 1px 9px rgba(15,11,6,0.42);
  }
  .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
  .estimate-download-row { justify-content: center; margin-top: 22px; }
  .btn {
    display: inline-block; padding: 13px 24px; border-radius: var(--radius);
    font-size: 14.5px; text-decoration: none; border: 1px solid var(--ink);
    background: none; color: var(--ink);
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary { background: var(--brass); color: #FFF9EF; border-color: var(--brass); }
  .btn-primary:hover { background: #C19A5A; border-color: #C19A5A; }
  .btn-ghost { background: transparent; color: var(--ink); }
  .hero-content .btn-ghost {
    color: #FFF9EF;
    border-color: rgba(255,249,239,0.72);
    text-shadow: 0 1px 6px rgba(15,11,6,0.35);
  }
  .hero-content .btn-ghost:hover {
    background: rgba(255,249,239,0.10);
    border-color: #FFF9EF;
  }
  .btn-ghost:hover { background: rgba(58,48,39,0.06); border-color: var(--ink-soft); }

  .hero-bottom-bar {
    position: absolute; left: 0; right: 0; bottom: 26px;
    max-width: 1160px; margin: 0 auto; padding: 0 28px;
    z-index: 3; display: flex; align-items: center; justify-content: space-between;
    pointer-events: none;
  }
  .hero-scroll, .hero-counter {
    color: rgba(255,249,239,0.86);
    font-family: var(--sans); font-size: 10px; letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .hero-scroll { display: flex; align-items: center; gap: 9px; }
  .hero-scroll span { display: inline-block; width: 24px; height: 1px; background: var(--brass); }
  .hero-counter { margin-left: auto; margin-right: 18px; }
  .hero-dots {
    position: static;
    display: flex; gap: 8px;
    pointer-events: auto;
  }
  .hero-dots button {
    width: 22px; height: 3px; border: none; background: rgba(255,249,239,0.50);
    padding: 0; transition: background-color 0.18s ease;
  }
  .hero-dots button:hover { background: rgba(255,249,239,0.78); }
  .hero-dots button.active { background: var(--brass); }

  @media (max-width: 780px) {
    .hero-slideshow { height: 78svh; min-height: 500px; }
    .hero-content { padding: 0 18px 108px; }
    .hero-eyebrow { font-size: 8px; letter-spacing: 0.10em; line-height: 1.5; margin-bottom: 12px; }
    .hero-eyebrow span { margin: 0 3px; }
    .hero-content h1 { font-size: clamp(31px, 9vw, 40px); line-height: 1.08; max-width: 16ch; margin-bottom: 12px; }
    .hero-content p.lede { font-size: 13px; line-height: 1.5; max-width: 34ch; margin-bottom: 18px; }
    .btn-row { gap: 9px; }
    .btn { padding: 11px 17px; font-size: 13px; }
    .hero-bottom-bar { padding: 0 18px; bottom: 16px; }
    .hero-scroll { display: none; }
    .hero-counter { margin-right: 10px; font-size: 9px; }
    .hero-dots { gap: 6px; }
    .hero-dots button { width: 18px; height: 2px; }
  }

  @media (max-width: 380px) {
    .hero-slideshow { min-height: 470px; }
    .hero-content { padding-left: 16px; padding-right: 16px; padding-bottom: 102px; }
    .hero-content h1 { font-size: 29px; max-width: 15ch; }
    .hero-content p.lede { font-size: 12px; max-width: 31ch; }
    .btn { padding: 10px 14px; font-size: 12.5px; }
    .hero-bottom-bar { padding-left: 16px; padding-right: 16px; }
  }

  /* ---------- generic section ---------- */
  .section { padding: 88px 0; }
  .section.alt { background: var(--parchment-dim); }
  .section-head { max-width: 52ch; margin-bottom: 44px; }
  .section-head h2 {
    font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 38px);
    margin: 0 0 12px; line-height: 1.15;
  }
  .section-head p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin: 0; }

  .about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
  .about-grid .ph { aspect-ratio: 3/4; --g1:#e3c9a0; --g2:#9c6e46; }
  @media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }

  .capture-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
  .capture-card { text-align: left; background: none; border: none; padding: 0; }
  .capture-card .ph { aspect-ratio: 3/4; margin-bottom: 12px; transition: transform 0.4s ease; }
  .capture-card:hover .ph { transform: scale(1.03); }
  .capture-card .cap-t { font-family: var(--serif); color: var(--ink); font-size: 18px; font-weight: 500; margin: 0; line-height: 1.3; transition: color 0.18s ease; }
  .capture-card:hover .cap-t { color: var(--brass); }
  @media (max-width: 780px) { .capture-grid { grid-template-columns: repeat(2,1fr); } }

  .testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
  .testi-card {
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--parchment-dim); padding: 16px 18px 20px;
    transition: border-color 0.18s ease;
  }
  .testi-card:hover { border-color: var(--brass); }
  .video-thumb { position: relative; overflow: hidden; border-radius: var(--radius); }
  .video-thumb .play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
  .play-circle {
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(23,19,12,0.5); border: 1px solid rgba(241,230,203,0.55);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }
  .play-circle::after {
    content: ""; margin-left: 3px;
    border-style: solid; border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent var(--ink);
  }
  .video-thumb:hover .play-circle { transform: scale(1.08); background: var(--brass); border-color: var(--brass); }
  .video-thumb:hover .play-circle::after { border-color: transparent transparent transparent #1c1712; }
  .video-duration {
    position: absolute; bottom: 8px; right: 10px;
    font-size: 11px; background: rgba(23,19,12,0.65); color: var(--ink);
    padding: 2px 7px; border-radius: 3px; letter-spacing: 0.02em;
  }
  .testi-card .video-thumb { aspect-ratio: 16/9; margin-bottom: 14px; }
  .testi-quote { font-family: var(--serif); font-size: 15.5px; line-height: 1.5; margin: 0 0 16px; color: var(--ink); }
  .testi-name { font-size: 14px; font-weight: 600; margin: 0; }
  .testi-role { font-size: 12.5px; color: var(--ink-soft); margin: 2px 0 0; }
  @media (max-width: 780px) { .testi-grid { grid-template-columns: 1fr; } }

  .film-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
  .film-card .video-thumb { aspect-ratio: 16/9; margin-bottom: 12px; transition: transform 0.4s ease; }
  .film-card:hover .video-thumb { transform: scale(1.02); }
  .film-t { font-family: var(--serif); font-size: 16px; margin: 0 0 2px; }
  .film-s { font-size: 12.5px; color: var(--ink-soft); }
  @media (max-width: 780px) { .film-grid { grid-template-columns: 1fr; } }

  .why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
  .why-item .num { font-family: var(--serif); font-size: 26px; color: var(--brass-deep); margin-bottom: 10px; }
  .why-item h3 { font-size: 16px; margin: 0 0 6px; font-weight: 600; }
  .why-item p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
  @media (max-width: 780px) { .why-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; } }

  .cta-band {
    background: var(--parchment-dim); color: var(--ink);
    padding: 76px 0; text-align: center;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px,3.6vw,38px); margin: 0 0 26px; }
  .cta-band .btn-primary { background: var(--brass); border-color: var(--brass); color: #FFF9EF; }

  footer { padding: 40px 0 60px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); }
  .footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  .footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
  .footer-links a { color: var(--ink-soft); text-decoration: none; transition: color .18s ease; }
  .footer-links a:hover { color: var(--ink); }
  .footer-links .footer-sep { opacity: .45; }

  /* ---------- portfolio ---------- */
  .filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
  .filter-row button {
    background: none; border: 1px solid var(--line); padding: 8px 16px;
    border-radius: 999px; font-size: 13.5px; color: var(--ink-soft);
    transition: border-color 0.18s ease, color 0.18s ease;
  }
  .filter-row button:hover { border-color: var(--brass); color: var(--ink); }
  .filter-row button.active { background: var(--brass); color: #FFF9EF; border-color: var(--brass); }
  .filter-row button.active:hover { color: #FFF9EF; }
  .portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
  .pf-card .ph { aspect-ratio: 4/5; margin-bottom: 12px; transition: transform 0.4s ease; overflow: hidden; }
  .pf-card:hover .ph { transform: scale(1.02); }
  .pf-open { position: relative; display: block; width: 100%; padding: 0; margin: 0 0 12px; border: 0; background: none; color: inherit; cursor: zoom-in; overflow: hidden; }
  .pf-open .ph { display:block; width:100%; margin-bottom: 0; }
  .pf-zoom { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; border: 1px solid rgba(241,230,203,.45); background: rgba(23,19,12,.72); color: var(--ink); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }
  .pf-open:hover .pf-zoom, .pf-open:focus-visible .pf-zoom { opacity: 1; transform: translateY(0); }
  .pf-open:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
  .pf-card .pf-t { font-family: var(--serif); font-size: 18px; margin: 0 0 2px; }

  body.lightbox-open { overflow: hidden; }
  .portfolio-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 48px 72px; background: rgba(10,8,5,.96); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
  .portfolio-lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .lightbox-stage { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: min(1100px, 88vw); height: min(88vh, 900px); }
  .lightbox-stage img { display: block; max-width: 100%; max-height: calc(100% - 64px); width: auto; height: auto; object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,.48); }
  .lightbox-meta { display: flex; align-items: end; justify-content: space-between; gap: 24px; width: 100%; max-width: 1000px; padding-top: 14px; }
  .lightbox-title { margin: 0; font-family: var(--serif); font-size: 21px; color: var(--ink); }
  .lightbox-category { margin: 3px 0 0; font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; }
  .lightbox-counter { flex: 0 0 auto; color: var(--ink-soft); font-size: 12px; letter-spacing: .08em; }
  .lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(241,230,203,.24); background: rgba(23,19,12,.62); color: var(--ink); cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
  .lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--brass); background: rgba(217,170,67,.12); color: var(--brass); }
  .lightbox-close:focus-visible, .lightbox-prev:focus-visible, .lightbox-next:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
  .lightbox-close { top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1; }
  .lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 64px; font-size: 25px; }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
  @media (max-width: 780px) {
    .portfolio-lightbox { padding: 50px 16px 28px; }
    .lightbox-stage { width: 100%; height: 86vh; }
    .lightbox-stage img { max-height: calc(100% - 78px); }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 72px; transform: none; width: 44px; height: 44px; border-radius: 50%; }
    .lightbox-prev { left: 16px; }
    .lightbox-next { right: 16px; }
    .lightbox-meta { padding: 12px 54px 0; }
    .lightbox-title { font-size: 18px; }
  }
  .pf-card .pf-s { font-size: 13px; color: var(--ink-soft); }
  @media (max-width: 780px) { .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

  /* ---------- about page ---------- */
  .about-page-open { font-family: var(--serif); font-size: clamp(24px,3vw,32px); max-width: 16ch; margin: 60px 0 40px; line-height: 1.25; }
  .about-body { max-width: 62ch; font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; }
  .about-body p { margin: 0 0 18px; }
  .bts-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 46px 0 56px; }
  .bts-strip .ph { aspect-ratio: 3/4; }
  @media (max-width: 780px) { .bts-strip { grid-template-columns: repeat(2,1fr); } }

  /* ---------- get a quote ---------- */
  .quote-shell { max-width: 640px; margin: 0 auto; padding: 60px 0 90px; }
  .step-track { display: flex; gap: 6px; margin-bottom: 40px; }
  .step-track div { flex: 1; height: 2px; background: var(--line); }
  .step-track div.done { background: var(--brass); }
  .q-step { display: none; }
  .q-step.active { display: block; }
  .q-title { font-family: var(--serif); font-size: 24px; margin: 0 0 6px; }
  .q-sub { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 26px; }
  .opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .opt {
    color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px; font-size: 14.5px; background: var(--parchment-dim); text-align: left;
    position: relative;
    transition: border-color 0.18s ease, transform 0.18s ease;
  }
  .opt:hover { border-color: var(--brass); transform: translateY(-1px); }
  .opt.sel { border-color: var(--brass); background: rgba(217,170,67,0.14); }
  .opt.sel::after {
    content: "✓"; position: absolute; top: 12px; right: 14px;
    color: var(--brass-deep); font-size: 13px;
  }
  #step1Next[disabled] { opacity: 0.4; cursor: default; }

  .svc-group { margin-bottom: 30px; }
  .svc-group-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  }
  .svc-group-head h4 { font-family: var(--serif); font-size: 17px; margin: 0; font-weight: 500; }
  .svc-group-head span { font-size: 12.5px; color: var(--ink-soft); }
  .svc-row {
    display: flex; align-items: center; justify-content: space-between;
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px 14px; margin-bottom: 8px; font-size: 14px;
    background: var(--parchment-dim);
    transition: border-color 0.18s ease;
  }
  .svc-row:hover { border-color: var(--ink-soft); }
  .svc-row.sel { border-color: var(--brass); background: rgba(217,170,67,0.14); }
  .required-field-error {
    border-color: #b23a3a !important;
    background-color: rgba(178,58,58,0.07) !important;
    box-shadow: 0 0 0 2px rgba(178,58,58,0.10) !important;
  }
  label:has(+ .required-field-error),
  .required-field-error + label { color: #a52f2f !important; }
  #eventOpts.required-field-error { border: 1px solid #b23a3a; border-radius: 12px; padding: 8px; background: rgba(178,58,58,0.06); }
  #otherEventChooser.required-field-error { border: 1px solid #b23a3a; border-radius: 10px; padding: 8px; background: rgba(178,58,58,0.06); }
  #svcGroups.required-field-error { border: 1px solid #b23a3a; border-radius: 12px; padding: 8px; background: rgba(178,58,58,0.05); }
  #contactEventPicker.required-field-error { border: 1px solid #b23a3a; border-radius: 10px; padding: 4px; background: rgba(178,58,58,0.06); }

  .svc-row.album-required-error {
    border-color: #b23a3a;
    background: rgba(178,58,58,0.10);
    box-shadow: 0 0 0 2px rgba(178,58,58,0.10);
  }
  .svc-row.album-required-error .svc-row-left > span:first-child {
    color: #a52f2f;
    font-weight: 700;
  }
  .svc-row-left { display: flex; flex-direction: column; }
  .svc-price { color: var(--ink-soft); font-size: 12.5px; margin-top: 2px; }
  .qty-stepper { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .qty-btn {
    border: 1px solid var(--ink); border-radius: 999px;
    width: 26px; height: 26px; font-size: 15px; line-height: 1;
    background: var(--parchment); color: var(--ink);
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
  }
  .qty-btn:hover:not(:disabled) { border-color: var(--brass); color: var(--brass); }
  .qty-btn:disabled { opacity: 0.3; }
  .qty-val { min-width: 16px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
  .total-row {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
    font-family: var(--serif); font-size: 20px;
  }
  .field { margin-bottom: 16px; }
  .event-date-row { margin-bottom: 12px; }
  .event-date-label { display:block; font-size:13px; color:var(--ink-soft); margin-bottom:6px; }
  .event-date-input { width:100%; box-sizing:border-box; }
  .field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
  .field input, .field select, .field textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
    font-family: var(--sans); font-size: 14.5px; background: var(--parchment-dim); color: var(--ink);
  }
  .q-nav { display: flex; justify-content: space-between; margin-top: 34px; }
  .q-nav button { padding: 12px 22px; color: var(--ink); }
  .result-box {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    background: var(--parchment-dim);
  }
  .result-box h3 { font-family: var(--serif); font-size: 21px; margin: 0 0 4px; }
  .result-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
  .result-logo {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--brass);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 15px; color: var(--brass);
    flex-shrink: 0;
  }
  .result-brand-name { font-family: var(--serif); font-size: 14px; letter-spacing: 0.02em; color: var(--ink-soft); }
  .result-meta { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; }
  .result-line { display: flex; justify-content: space-between; font-size: 14.5px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .result-total { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 20px; padding-top: 14px; }
  .result-note { font-size: 13px; color: var(--ink-soft); margin: 18px 0 22px; line-height: 1.6; }

  /* ---------- get in touch ---------- */
  .touch-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding: 60px 0 90px; }
  .touch-links { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
  .touch-links li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
  .touch-links .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
  @media (max-width: 780px) { .touch-grid { grid-template-columns: 1fr; } }

/* Quote form: international contact number */
.phone-row{display:grid;grid-template-columns:minmax(190px,0.8fr) minmax(0,1.2fr);gap:10px}
.phone-row select,.phone-row input{width:100%;box-sizing:border-box}
@media (max-width:640px){.phone-row{grid-template-columns:1fr}.phone-row select{min-height:48px}}

@media (max-width: 520px){
  .view-topbar { padding-top: 12px; }
  .view-back { font-size: 12.5px; padding: 8px 11px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 22px; }
  .filter-row { gap: 7px; margin-bottom: 28px; }
  .filter-row button { padding: 7px 12px; font-size: 12.5px; }
  .quote-shell { width: 100%; padding-top: 34px; }
  .q-title { font-size: 23px; line-height: 1.18; }
  .q-sub { font-size: 13px; line-height: 1.5; }
  .opt-grid { grid-template-columns: 1fr; gap: 9px; }
  .opt { width: 100%; padding: 14px; }
  .q-nav { flex-direction: column; gap: 10px; }
  .q-nav > .btn, .q-nav > button { width: 100%; text-align: center; }
  .svc-row { gap: 12px; align-items: flex-start; }
  .svc-row-left { min-width: 0; }
  .svc-row-left > span:first-child { line-height: 1.35; }
  .qty-stepper { padding-top: 2px; }
  .result-box { padding: 20px 16px; }
  .result-line, .result-total { gap: 14px; }
  .result-line span:first-child, .result-total span:first-child { min-width: 0; }
  .touch-grid { padding-top: 34px; }
}

/* ---------- extra-compact About / Contact / Quote mobile presentation ---------- */
@media (max-width: 780px) {
  .about-page-open { font-size: 21px; margin: 26px 0 18px; line-height: 1.2; }
  .about-body { font-size: 12px; line-height: 1.55; }
  .about-body p { margin-bottom: 12px; }
  .touch-grid { padding: 28px 0 42px; gap: 22px; }
  .touch-links { margin-top: 14px; gap: 8px; }
  .touch-links li { font-size: 12px; gap: 9px; }
  .touch-links .dot { width: 6px; height: 6px; }
  .quote-shell { max-width: 520px; padding: 28px 14px 46px; }
  .step-track { margin-bottom: 22px; }
  .q-title { font-size: 19px; line-height: 1.18; }
  .q-sub { font-size: 11.5px; line-height: 1.4; margin-bottom: 15px; }
  .opt-grid { gap: 6px; }
  .opt { padding: 10px 11px; font-size: 12px; }
  .svc-group { margin-bottom: 18px; }
  .svc-row { padding: 8px 9px; margin-bottom: 5px; font-size: 12px; }
  .field { margin-bottom: 10px; }
  .field label { font-size: 11px; margin-bottom: 4px; }
  .field input, .field select, .field textarea { padding: 8px 9px; font-size: 12px; }
  .q-nav { margin-top: 18px; gap: 7px; }
  .q-nav button { padding: 8px 13px; font-size: 11.5px; }
  .result-box { padding: 14px 12px; }
  .result-box h3 { font-size: 17px; }
  .result-line { font-size: 12px; padding: 6px 0; }
  .result-total { font-size: 16px; padding-top: 10px; }
}

/* ---------- compact mobile presentation ---------- */
@media (max-width: 780px) {
  .nav-inner { padding: 12px 16px; }
  .logo img { width: 82px; max-height: 27px; }
  .logo-name { font-size: 19px; }
  .burger { font-size: 21px; padding: 7px 2px 7px 10px; }

  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 27px; line-height: 1.15; }
  .section-head p { font-size: 13px; line-height: 1.5; }

  .view-topbar { padding: 12px 16px 0; }
  .view-back { font-size: 12px; padding: 7px 10px; }

  .filter-row { gap: 6px; margin-bottom: 24px; }
  .filter-row button { padding: 6px 10px; font-size: 11.5px; }
  .portfolio-grid { gap: 12px; }
  .pf-card .pf-t { font-size: 16px; }
  .pf-card .pf-s { font-size: 11.5px; }

  .about-page-open { font-size: 25px; margin: 38px 0 28px; }
  .about-body { font-size: 13.5px; line-height: 1.65; }
  .bts-strip { gap: 8px; margin: 32px 0 40px; }

  .quote-shell { max-width: 560px; padding: 42px 16px 64px; }
  .step-track { gap: 4px; margin-bottom: 30px; }
  .q-title { font-size: 21px; line-height: 1.2; }
  .q-sub { font-size: 12.5px; line-height: 1.45; margin-bottom: 20px; }
  .opt-grid { gap: 8px; }
  .opt { padding: 12px 13px; font-size: 13px; }
  .svc-group { margin-bottom: 24px; }
  .svc-group-head { margin-bottom: 9px; padding-bottom: 6px; }
  .svc-group-head h4 { font-size: 15px; }
  .svc-group-head span { font-size: 11px; }
  .svc-row { padding: 10px 11px; margin-bottom: 6px; font-size: 13px; }
  .svc-price { font-size: 11.5px; }
  .qty-stepper { gap: 7px; }
  .qty-btn { width: 24px; height: 24px; font-size: 14px; }
  .qty-val { font-size: 13px; }
  .total-row { margin-top: 18px; padding-top: 14px; font-size: 18px; }
  .field { margin-bottom: 13px; }
  .field label { font-size: 12px; margin-bottom: 5px; }
  .field input, .field select, .field textarea { padding: 10px 11px; font-size: 13px; }
  .q-nav { margin-top: 26px; }
  .q-nav button { padding: 10px 17px; font-size: 12.5px; }
  .result-box { padding: 18px 14px; }
  .result-box h3 { font-size: 19px; }
  .result-meta { font-size: 12px; margin-bottom: 16px; }
  .result-line { font-size: 13px; padding: 7px 0; }
  .result-total { font-size: 18px; padding-top: 12px; }
  .result-note { font-size: 12px; margin: 15px 0 18px; }

  .touch-grid { padding: 42px 0 64px; gap: 30px; }
  .touch-links { margin-top: 20px; gap: 11px; }
  .touch-links li { font-size: 13.5px; }
  footer { padding: 30px 0 44px; font-size: 11.5px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .logo img { width: 72px; max-height: 24px; }
  .logo-name { font-size: 17px; }
  .nav-inner { padding-left: 14px; padding-right: 14px; }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 25px; }
  .section-head p { font-size: 12.5px; }
  .filter-row button { padding: 5px 9px; font-size: 11px; }
  .quote-shell { padding-left: 14px; padding-right: 14px; }
  .q-title { font-size: 20px; }
  .q-sub { font-size: 12px; }
  .opt { padding: 11px 12px; font-size: 12.5px; }
  .btn { padding: 10px 14px; font-size: 12px; }
}

/* ---------- v1.7.7 refined mobile page proportions ---------- */
@media (max-width: 780px) {
  /* Keep inner pages visually calm and centered instead of filling the phone edge-to-edge. */
  .view-topbar {
    max-width: 340px;
    margin: 0 auto;
    padding: 10px 0 0;
  }

  .view-back {
    font-size: 11px;
    padding: 6px 9px;
  }

  /* About */
  #about > .wrap {
    max-width: 320px;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
  }
  .about-page-open {
    font-size: 22px;
    line-height: 1.22;
    margin: 26px 0 18px;
  }
  .about-body {
    font-size: 12px;
    line-height: 1.55;
  }
  .about-body p { margin-bottom: 10px; }
  .bts-strip { margin: 24px 0 28px; }
  #about .btn { font-size: 11.5px; padding: 9px 13px; }
  #about .wrap > div:last-child { padding-bottom: 46px !important; }
  #about .wrap > div:last-child p {
    font-size: 16px !important;
    margin-bottom: 16px !important;
  }

  /* Quote */
  #quote > .quote-shell {
    max-width: 320px;
    padding: 24px 0 42px;
    margin-left: auto;
    margin-right: auto;
  }
  #quote .step-track { margin-bottom: 18px; }
  #quote .q-title { font-size: 18px; }
  #quote .q-sub { font-size: 11px; line-height: 1.45; margin-bottom: 13px; }
  #quote .opt { padding: 9px 10px; font-size: 11.5px; }
  #quote .svc-group { margin-bottom: 15px; }
  #quote .svc-group-head h4 { font-size: 13px; }
  #quote .svc-group-head span { font-size: 10px; }
  #quote .svc-row { padding: 7px 8px; font-size: 11.5px; }
  #quote .svc-price { font-size: 10.5px; }
  #quote .field label { font-size: 10.5px; }
  #quote .field input,
  #quote .field select,
  #quote .field textarea { padding: 8px 9px; font-size: 11.5px; }
  #quote .q-nav { margin-top: 16px; }
  #quote .q-nav button { padding: 8px 12px; font-size: 11px; }

  /* Get in touch */
  #touch > .touch-grid {
    max-width: 320px;
    padding: 24px 0 42px;
    margin: 0 auto;
    gap: 26px;
  }
  #touch .section-head { margin-bottom: 18px !important; }
  #touch .section-head h2 { font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
  #touch .section-head p { font-size: 11.5px; line-height: 1.5; }
  #touch .field { margin-bottom: 9px; }
  #touch .field label { font-size: 10.5px; margin-bottom: 4px; }
  #touch .field input,
  #touch .field textarea { padding: 8px 9px; font-size: 11.5px; }
  #touch .field textarea { min-height: 78px; }
  #touch #sendContact { padding: 9px 13px; font-size: 11.5px; }
  #touch > .touch-grid > div:last-child > p {
    font-size: 16px !important;
    margin: 0 0 12px !important;
  }
  #touch .touch-links { margin-top: 0; gap: 7px; }
  #touch .touch-links li { font-size: 11.5px; gap: 8px; }
}

/* ---------- v1.7.8: airy, comfortable mobile inner pages ---------- */
@media (max-width: 780px) {
  /* Give inner pages breathing room; do not squeeze content into a narrow column. */
  .view-topbar {
    width: 92%;
    max-width: none;
    padding: 14px 0 0;
  }
  .view-back { font-size: 12px; padding: 8px 11px; }

  /* ABOUT */
  #about > .wrap {
    width: 92%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .about-page-open {
    font-size: 24px;
    line-height: 1.3;
    margin: 34px 0 22px;
  }
  .about-body {
    font-size: 13px;
    line-height: 1.78;
  }
  .about-body p { margin-bottom: 18px; }
  .bts-strip { margin: 30px 0 36px; gap: 10px; }
  #about .wrap > div:last-child { padding-bottom: 58px !important; }
  #about .wrap > div:last-child p {
    font-size: 17px !important;
    line-height: 1.5;
    margin-bottom: 20px !important;
  }

  /* GET IN TOUCH */
  #touch > .touch-grid {
    width: 92%;
    max-width: none;
    padding: 34px 0 58px;
    margin: 0 auto;
    gap: 38px;
  }
  #touch .section-head { margin-bottom: 28px !important; }
  #touch .section-head h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 11px;
  }
  #touch .section-head p { font-size: 13px; line-height: 1.65; }
  #touch .field { margin-bottom: 16px; }
  #touch .field label { font-size: 11.5px; margin-bottom: 6px; }
  #touch .field input,
  #touch .field textarea {
    padding: 11px 12px;
    font-size: 13px;
  }
  #touch .field textarea { min-height: 105px; }
  #touch #sendContact { padding: 11px 16px; font-size: 12.5px; }
  #touch > .touch-grid > div:last-child > p {
    font-size: 17px !important;
    line-height: 1.5;
    margin: 0 0 18px !important;
  }
  #touch .touch-links { gap: 12px; }
  #touch .touch-links li { font-size: 12.5px; gap: 9px; }

  /* GET A QUOTE */
  #quote > .quote-shell {
    width: 92%;
    max-width: none;
    padding: 32px 0 58px;
  }
  #quote .step-track { margin-bottom: 28px; }
  #quote .q-title { font-size: 22px; line-height: 1.3; }
  #quote .q-sub { font-size: 12.5px; line-height: 1.6; margin-bottom: 20px; }
  #quote .opt-grid { gap: 11px; }
  #quote .opt { padding: 13px 14px; font-size: 12.5px; }
  #quote .svc-group { margin-bottom: 22px; }
  #quote .svc-group-head { margin-bottom: 11px; padding-bottom: 8px; }
  #quote .svc-group-head h4 { font-size: 14.5px; }
  #quote .svc-group-head span { font-size: 11px; }
  #quote .svc-row { padding: 11px 12px; margin-bottom: 8px; font-size: 12.5px; }
  #quote .svc-price { font-size: 11.5px; }
  #quote .field { margin-bottom: 15px; }
  #quote .field label { font-size: 11.5px; margin-bottom: 6px; }
  #quote .field input,
  #quote .field select,
  #quote .field textarea { padding: 10px 11px; font-size: 12.5px; }
  #quote .q-nav { margin-top: 24px; gap: 10px; }
  #quote .q-nav button { padding: 10px 14px; font-size: 12px; }
  #quote .result-box { padding: 20px 16px; }
}

@media (max-width: 420px) {
  .view-topbar { width: 92%; }
  #about > .wrap,
  #touch > .touch-grid,
  #quote > .quote-shell { width: 92%; }
  .about-page-open { font-size: 23px; margin-top: 30px; }
  .about-body { font-size: 12.8px; line-height: 1.76; }
  #touch .section-head h2 { font-size: 23px; }
  #touch .section-head p { font-size: 12.5px; }
  #quote .q-title { font-size: 21px; }
}

/* Client story video preview: poster on Home, original video aspect in the lightbox. */
.client-story-open { width:100%; padding:0; border:0; background:none; cursor:pointer; display:block; }
.client-story-card .video-thumb { min-height:0; }
.client-story-poster { display:block; width:100%; height:100%; object-fit:cover; }
.client-story-no-poster { display:block; width:100%; height:100%; background:linear-gradient(155deg,#5a4526,#241a0d); }
.client-story-open:focus-visible { outline:2px solid var(--brass); outline-offset:3px; }
.video-lightbox { position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center; padding:36px; background:rgba(8,6,4,.96); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .22s ease, visibility .22s ease; }
.video-lightbox.is-open { opacity:1; visibility:visible; pointer-events:auto; }
.video-lightbox-stage { width:min(1200px,92vw); height:90vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; }
.video-lightbox-stage video { display:block; max-width:100%; max-height:calc(100% - 42px); width:auto; height:auto; object-fit:contain; box-shadow:0 24px 70px rgba(0,0,0,.55); background:#000; }
.video-lightbox-title { margin:0; color:var(--ink); font-family:var(--serif); font-size:18px; text-align:center; }
.video-lightbox-close { position:absolute; top:20px; right:24px; width:44px; height:44px; border-radius:50%; border:1px solid rgba(241,230,203,.28); background:rgba(23,19,12,.72); color:var(--ink); font-size:28px; line-height:1; cursor:pointer; z-index:2; }
.video-lightbox-close:hover { border-color:var(--brass); color:var(--brass); }
@media (max-width:780px){
  .video-lightbox { padding:48px 14px 22px; }
  .video-lightbox-stage { width:100%; height:88vh; }
  .video-lightbox-stage video { max-width:100%; max-height:calc(100% - 42px); }
  .video-lightbox-close { top:12px; right:14px; }
}

/* ---------- v1.8.6: improved Get in Touch form ---------- */
.contact-event-picker { position: relative; }
.contact-event-trigger {
  width: 100%; min-height: 44px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--parchment-dim); color: var(--ink);
  font-family: var(--sans); font-size: 14.5px; text-align: left;
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.contact-event-trigger:hover, .contact-event-trigger[aria-expanded="true"] { border-color: var(--brass); }
.contact-event-menu {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 5px);
  max-height: 250px; overflow-y: auto; padding: 7px;
  border: 1px solid var(--line); background: var(--parchment); box-shadow: 0 14px 35px rgba(0,0,0,.28);
}
.contact-event-option {
  display: flex; align-items: center; gap: 10px; padding: 10px 9px;
  color: var(--ink-soft); cursor: pointer; font-size: 14px;
}
.contact-event-option:hover { background: rgba(217,170,67,.07); color: var(--ink); }
.contact-event-option input { accent-color: var(--brass); width: 16px; height: 16px; flex: 0 0 auto; }
.contact-event-selected { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.contact-event-chip {
  display: inline-flex; align-items: center; padding: 5px 9px;
  border: 1px solid rgba(217,170,67,.45); color: var(--ink-soft);
  background: rgba(178,138,74,.08); font-size: 12px; border-radius: 999px;
}
#touch .contact-event-picker + .contact-event-selected:empty { display:none; }
#touch .field input:focus, #touch .field textarea:focus, #touch .contact-event-trigger:focus-visible {
  outline: 1px solid var(--brass); outline-offset: 1px; border-color: var(--brass);
}
#touch #sendContact:disabled { opacity: .55; cursor: wait; }
#contactStatus { color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 640px) {
  .contact-event-trigger { min-height: 42px; padding: 9px 10px; font-size: 13px; }
  .contact-event-option { font-size: 13px; padding: 9px 8px; }
  .contact-event-menu { max-height: 220px; }
}


/* ---------- v1.8.7: centered Get in Touch layout ---------- */
#touch > .touch-grid {
  display: block;
  width: min(760px, 92%);
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 0 80px;
}
#touch .section-head {
  text-align: center;
  max-width: 680px;
  margin-left: auto !important;
  margin-right: auto !important;
}
#touch .field {
  margin-bottom: 18px;
}
#touch #sendContact {
  display: block;
  margin: 8px auto 0;
}
#touch #contactStatus {
  text-align: center;
}
@media (max-width: 780px) {
  #touch > .touch-grid {
    width: 92%;
    max-width: 680px;
    padding: 34px 0 58px;
  }
}


/* ---------- v1.8.8: quote estimate loading state ---------- */
#step4 { position: relative; }
.quote-busy-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.quote-busy-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.quote-busy-card {
  width: min(430px, 100%);
  box-sizing: border-box;
  padding: 30px 28px 27px;
  text-align: center;
  border: 1px solid rgba(184,150,83,.45);
  border-radius: 3px;
  background: rgba(255,254,251,.98);
  box-shadow: 0 18px 55px rgba(63, 50, 31, .16);
}
.quote-busy-logo {
  display: block;
  width: min(170px, 72%);
  height: auto;
  max-height: 44px;
  object-fit: contain;
  margin: 0 auto 22px;
}
.quote-busy-card strong { display:block; font-family:var(--serif); color:#30291f; font-size:21px; font-weight:600; margin-bottom:8px; }
.quote-busy-card span:not(.quote-busy-spinner):not(.quote-busy-progress) { display:block; color:#7d705d; font-size:13px; line-height:1.55; }
.quote-busy-spinner {
  display:block;
  width:25px;
  height:25px;
  margin:0 auto 16px;
  border:2px solid rgba(184,150,83,.22);
  border-top-color:#b89653;
  border-radius:50%;
  animation:cpQuoteSpin .8s linear infinite;
}
.quote-busy-progress {
  display:block;
  width:100%;
  height:2px;
  margin-top:20px;
  overflow:hidden;
  background:#eee7da;
}
.quote-busy-progress i {
  display:block;
  width:38%;
  height:100%;
  background:#b89653;
  animation:cpQuoteProgress 1.25s ease-in-out infinite;
}
@keyframes cpQuoteSpin { to { transform:rotate(360deg); } }
@keyframes cpQuoteProgress { 0% { transform:translateX(-110%); } 100% { transform:translateX(285%); } }
@media (max-width: 640px) {
  .quote-busy-overlay { padding:14px; }
  .quote-busy-card { padding:24px 18px 22px; }
  .quote-busy-logo { width:150px; margin-bottom:18px; }
  .quote-busy-card strong { font-size:18px; }
  .quote-busy-card span:not(.quote-busy-spinner):not(.quote-busy-progress) { font-size:12px; }
}


/* ---------- portfolio page refinement v1.8.12 ---------- */
#portfolio .portfolio-head {
  max-width: 760px;
  margin: 18px auto 34px;
  text-align: center;
}
#portfolio .portfolio-head h2 { margin-bottom: 12px; }
#portfolio .portfolio-head p { margin: 0 auto; }
#portfolio .filter-row {
  justify-content: center;
  margin-bottom: 44px;
}
#portfolio .portfolio-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
}
#portfolio .portfolio-grid.is-two {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#portfolio .pf-card .pf-t { margin-top: 0; }

@media (max-width: 780px) {
  #portfolio .portfolio-head {
    max-width: 620px;
    margin-top: 10px;
    margin-bottom: 28px;
  }
  #portfolio .filter-row { margin-bottom: 28px; }
  #portfolio .portfolio-grid,
  #portfolio .portfolio-grid.is-two {
    max-width: none;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
  }
  #portfolio .portfolio-grid.is-one {
    max-width: 390px;
    grid-template-columns: minmax(0, 390px);
  }
}

@media (max-width: 520px) {
  #portfolio .portfolio-grid,
  #portfolio .portfolio-grid.is-two { grid-template-columns: 1fr; gap: 22px; }
  #portfolio .portfolio-grid.is-one { grid-template-columns: minmax(0, 1fr); }
  #portfolio .portfolio-head { text-align: center; }
}

/* ---------- responsive image-first layouts v1.8.15 ---------- */
/* Photography is the hero of the site: preserve the complete frame instead of cropping it. */
.capture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 24px;
}
.capture-card .capture-image {
  display: block;
  width: 100%;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--parchment-dim);
}
.capture-card .capture-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  transition: transform .45s ease;
}
.capture-card:hover .capture-image img { transform: scale(1.025); }
.capture-card .cap-t { font-size: 20px; }

#portfolio .portfolio-grid {
  width: 100%;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 28px;
}
#portfolio .portfolio-grid.is-two {
  max-width: 760px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#portfolio .portfolio-grid.is-one {
  max-width: 390px;
  grid-template-columns: minmax(0, 390px);
  justify-content: center;
}
#portfolio .portfolio-image {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--parchment-dim);
}
#portfolio .portfolio-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  transition: transform .5s ease;
}
#portfolio .pf-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
#portfolio .pf-open:hover .portfolio-image img { transform: scale(1.018); }
#portfolio .pf-card .pf-t { font-size: 21px; margin-top: 14px; }
#portfolio .pf-card .pf-s { font-size: 13px; }

.about-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 72px;
  align-items: start;
  padding-bottom: 20px;
}
.about-page-copy { padding-top: 28px; }
.about-page-layout .about-page-open { margin: 0 0 34px; font-size: clamp(32px, 4vw, 52px); max-width: 13ch; }
.about-page-layout .about-body { max-width: 66ch; font-size: 16px; line-height: 1.8; }
.about-page-feature { position: sticky; top: 100px; }
.about-page-feature img,
.about-page-feature .ph {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: var(--parchment-dim);
}
.about-page-layout .bts-strip {
  grid-column: 1 / -1;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 36px;
}
.about-page-layout .bts-strip .ph {
  aspect-ratio: 4 / 5;
}

@media (max-width: 780px) {
  .capture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .capture-card .cap-t { font-size: 17px; }
  #portfolio .portfolio-grid,
  #portfolio .portfolio-grid.is-two { grid-template-columns: 1fr; gap: 30px; }
  #portfolio .portfolio-image img { max-height: none; }
  .about-page-layout { grid-template-columns: 1fr; gap: 34px; }
  .about-page-copy { padding-top: 8px; }
  .about-page-layout .about-page-open { font-size: clamp(29px, 8vw, 40px); margin-bottom: 24px; }
  .about-page-layout .about-body { font-size: 14px; line-height: 1.7; }
  .about-page-feature { position: static; order: -1; }
  .about-page-layout .bts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
}

@media (max-width: 520px) {
  .capture-grid { grid-template-columns: 1fr; gap: 28px; }
  .capture-card .cap-t { font-size: 18px; }
  #portfolio .portfolio-grid,
  #portfolio .portfolio-grid.is-two { grid-template-columns: 1fr; }
  .about-page-layout .bts-strip { grid-template-columns: 1fr 1fr; }
}

/* ---------- balanced home capture + about layout fix v1.8.16 ---------- */
/* Keep the original clean four-card composition on Home while retaining the lighter theme. */
.capture-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.capture-card .capture-image {
  aspect-ratio: 3 / 4;
  margin-bottom: 12px;
}
.capture-card .capture-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.capture-card .cap-t { font-size: 18px; }

/* About: large photograph on the left, organized story copy on the right. */
.about-page-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: start;
}
.about-page-feature {
  grid-column: 1;
  grid-row: 1;
  position: static;
}
.about-page-copy {
  grid-column: 2;
  grid-row: 1;
  padding-top: 18px;
}
.about-page-feature img,
.about-page-feature .ph {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
}
.about-page-layout .bts-strip {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 18px;
}
.about-page-layout > div:last-child {
  grid-column: 1 / -1;
  grid-row: 3;
}

@media (max-width: 900px) {
  .capture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .about-page-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 30px; }
}

@media (max-width: 780px) {
  .capture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .capture-card .cap-t { font-size: 17px; }
  .about-page-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-page-feature { grid-column: 1; grid-row: 1; }
  .about-page-copy { grid-column: 1; grid-row: 2; padding-top: 0; }
  .about-page-layout .bts-strip { grid-column: 1; grid-row: 3; }
  .about-page-layout > div:last-child { grid-column: 1; grid-row: 4; }
}

@media (max-width: 520px) {
  .capture-grid { grid-template-columns: 1fr; gap: 28px; }
  .capture-card .cap-t { font-size: 18px; }
}


/* ---------- portfolio gallery refinement v1.9.10 ---------- */
/* Medium gallery cards with edge-to-edge thumbnails. The lightbox still opens the original image. */
#portfolio .portfolio-grid {
  max-width: 980px;
  gap: 30px 24px;
}
#portfolio .portfolio-grid.is-two {
  max-width: 690px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}
#portfolio .portfolio-grid.is-one {
  max-width: 340px;
  grid-template-columns: minmax(0, 340px);
}
#portfolio .portfolio-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}
#portfolio .portfolio-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
}
#portfolio .pf-open {
  margin: 0 0 12px;
  padding: 0;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
}
#portfolio .pf-card .pf-t,
#portfolio .pf-card .pf-s { line-height: normal; }

@media (max-width: 780px) {
  #portfolio .portfolio-grid,
  #portfolio .portfolio-grid.is-two {
    max-width: 680px;
    grid-template-columns: 1fr 1fr;
    gap: 20px 14px;
  }
  #portfolio .portfolio-grid.is-one {
    max-width: 340px;
    grid-template-columns: minmax(0, 340px);
  }
}

@media (max-width: 520px) {
  #portfolio .portfolio-grid,
  #portfolio .portfolio-grid.is-two {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  #portfolio .portfolio-grid.is-one {
    max-width: 100%;
    grid-template-columns: 1fr;
  }
}


/* ---------- portfolio caption removal v1.9.11 ---------- */
/* Category filters already identify the portfolio type, so no duplicate captions appear below images. */
#portfolio .pf-card .pf-t,
#portfolio .pf-card .pf-s {
  display: none;
}


/* v1.9.12 quote catalog controls */
.quote-extra-panel{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.35)}
.quote-extra-panel label{display:block;margin-bottom:8px}
.quote-extra-panel select,.quote-extra-panel input,.quote-extra-panel textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.72);font:inherit;color:inherit;margin-top:6px}
.quote-extra-panel input{margin-top:10px}
