/* Virgo Visuals — shared styles
   Warm palette taken from the photographs: sodium tram light, autumn leaves, lamplit stone. */
:root {
  --night-rgb: 27, 18, 12;
  --deep-rgb: 14, 9, 6;
  --night: #1b120c;
  --dusk: #261a12;
  --rise: #35251a;
  --line: #4d392a;
  --paper: #f6ead8;
  --ash: #bfa992;
  --sodium: #f4a63b;
  --wheel: #ffd27a;
  --alarm: #ff8f7a;
  --display: "Syne", "Trebuchet MS", sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sodium); text-underline-offset: 0.2em; }
a:hover { color: var(--paper); }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wheel); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--night); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: background-color .25s ease, backdrop-filter .25s ease;
}
.bar.is-solid { background: rgba(var(--night-rgb), .86); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 26px; flex: none; }
.bar nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.bar nav a { color: var(--paper); text-decoration: none; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.bar nav a:hover, .bar nav a[aria-current="page"] { border-bottom-color: var(--sodium); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-frames { position: absolute; inset: 0; z-index: -2; background: var(--dusk); }
.hero-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-frames img.is-on { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--night-rgb), .72) 0%, rgba(var(--night-rgb), 0) 26%),
    linear-gradient(0deg, rgba(var(--night-rgb), .96) 0%, rgba(var(--night-rgb), .55) 34%, rgba(var(--night-rgb), 0) 66%);
}
.sky { position: absolute; top: clamp(70px, 12vh, 130px); right: var(--gutter); width: min(46vw, 520px); z-index: -1; overflow: visible; }
.sky path { fill: none; stroke: var(--paper); stroke-width: 1; stroke-linecap: round; opacity: .7; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s .5s ease-out forwards; }
.sky circle { fill: var(--paper); opacity: 0; animation: star .6s ease-out forwards; }
.sky .spica { fill: var(--sodium); filter: drop-shadow(0 0 6px var(--sodium)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes star { to { opacity: 1; } }

.hero-copy { padding: 0 var(--gutter) clamp(34px, 7vh, 72px); display: grid; gap: 18px; }
.hero h1 { font-weight: 800; font-size: clamp(3.4rem, min(15.5vw, 30vh), 15rem); line-height: .82; letter-spacing: -0.055em; margin-left: -0.04em; text-wrap: balance; }
.hero h1 span { display: block; }
.hero h1 span + span { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.hero-foot p { max-width: 34ch; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.4; }
.now-showing { color: var(--ash); font-size: .95rem; margin: 0; text-align: right; }
.now-showing b { display: block; color: var(--paper); font-weight: 600; }

/* ---------- sections ---------- */
.band { padding: clamp(64px, 10vw, 140px) var(--gutter); }
.band > h2 { font-weight: 700; font-size: clamp(2.2rem, 6vw, 4.6rem); }
.lede { color: var(--ash); max-width: var(--measure); margin-top: 14px; }

/* ---------- work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 22px; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--paper);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: .97rem; line-height: 1.2;
}
.chip small { color: var(--ash); font-size: .82em; margin-left: 6px; }
.chip:hover { border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--sodium); border-color: var(--sodium); color: var(--night); font-weight: 600; }
.chip[aria-pressed="true"] small { color: rgba(var(--night-rgb), .7); }

.wall { display: flex; flex-direction: column; gap: 8px; }
.wall-row { display: flex; gap: 8px; }
.shot { position: relative; flex: none; padding: 0; border: 0; background: var(--dusk); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.035); }
.shot figcaption, .shot .cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; text-align: left; font-size: .9rem; line-height: 1.25;
  background: linear-gradient(0deg, rgba(var(--night-rgb), .88), rgba(var(--night-rgb), 0)); color: var(--paper);
  opacity: 0; transition: opacity .25s ease;
}
.shot .cap small { display: block; color: var(--sodium); }
.shot:hover .cap, .shot:focus-visible .cap { opacity: 1; }
@media (hover: none) { .shot .cap { display: none; } }
.empty { border: 1px dashed var(--line); padding: 40px 20px; text-align: center; color: var(--ash); }

/* ---------- lightbox ---------- */
dialog.viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(var(--deep-rgb), .97); color: var(--paper); }
dialog.viewer::backdrop { background: rgba(var(--deep-rgb), .9); }
.viewer-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.viewer-top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); }
.viewer-stage { position: relative; min-height: 0; touch-action: pan-y; }
.viewer-stage img { position: absolute; top: 0; bottom: 0; left: clamp(8px, 5vw, 72px); right: clamp(8px, 5vw, 72px); width: calc(100% - 2 * clamp(8px, 5vw, 72px)); height: 100%; max-width: none; object-fit: contain; }
.viewer-cap { padding: 14px var(--gutter) 20px; text-align: center; }
.viewer-cap b { font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.viewer-cap span { display: block; color: var(--ash); font-size: .92rem; }
.ghost { background: transparent; border: 1px solid var(--line); color: var(--paper); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.ghost:hover { border-color: var(--paper); }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding: 0; background: rgba(var(--night-rgb), .8); }
.viewer-nav.prev { left: 10px; } .viewer-nav.next { right: 10px; }
.viewer-nav svg { width: 20px; height: 20px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 90px); align-items: start; background: var(--dusk); }
.about-pics { position: relative; padding-bottom: 18%; }
.about-pics img:first-child { width: 78%; aspect-ratio: 2 / 3; object-fit: cover; }
.about-pics img:last-child { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border: 8px solid var(--dusk); }
.about-text h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 26px; }
.about-text p { max-width: var(--measure); }
.about-text p:first-of-type { font-size: 1.28rem; line-height: 1.45; }
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px 28px; max-width: 720px; }
.facts li { border-top: 1px solid var(--line); padding-top: 12px; color: var(--ash); font-size: .95rem; line-height: 1.35; }
.facts b { display: block; font-family: var(--display); color: var(--paper); font-size: 1.9rem; font-weight: 700; line-height: 1.1; }

/* ---------- questions ---------- */
.qa { max-width: 860px; margin-top: 30px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--sodium); font-size: 1.6rem; font-weight: 400; transition: transform .2s ease; }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa details p { max-width: var(--measure); color: var(--ash); padding-bottom: 20px; margin: 0; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(2.6rem, 8vw, 6.4rem); font-weight: 800; letter-spacing: -0.04em; }
.contact-side p { color: var(--ash); max-width: 40ch; margin-top: 18px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .95rem; color: var(--ash); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--dusk); border: 1px solid var(--line); color: var(--paper);
  padding: 12px 14px; border-radius: 6px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--wheel); outline-offset: 1px; border-color: transparent; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.solid {
  background: var(--sodium); color: var(--night); border: 0; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; cursor: pointer; justify-self: start;
}
.solid:hover { background: var(--paper); }
.solid:disabled { opacity: .55; cursor: progress; }
.note { margin: 0; font-size: .97rem; min-height: 1.5em; }
.note.ok { color: var(--wheel); } .note.bad { color: var(--alarm); }

/* ---------- services page ---------- */
.page-head { padding: clamp(120px, 18vh, 190px) var(--gutter) clamp(28px, 5vw, 56px); }
.page-head h1 { font-weight: 800; font-size: clamp(3rem, 11vw, 8.5rem); line-height: .9; letter-spacing: -0.05em; margin-left: -0.03em; }
.page-head p { max-width: 52ch; margin: 22px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.45; color: var(--ash); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gutter) clamp(28px, 5vw, 56px); }
.jump a { text-decoration: none; }
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(18px, 5vw, 80px); padding: clamp(36px, 6vw, 80px) var(--gutter); border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.svc:nth-of-type(even) { background: var(--dusk); }
.svc h2 { font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
.svc-intro { color: var(--ash); margin: 14px 0 0; max-width: 34ch; }
.svc-pic { margin-top: 26px; width: 100%; max-width: 420px; aspect-ratio: 3 / 2; object-fit: cover; }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px 28px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.svc li:first-child { padding-top: 4px; }
.svc li b { font-weight: 600; }
.svc li span { color: var(--ash); font-size: .97rem; line-height: 1.45; }
.cta { padding: clamp(56px, 9vw, 120px) var(--gutter); border-top: 1px solid var(--line); display: grid; gap: 22px; justify-items: start; }
.cta h2 { font-weight: 800; font-size: clamp(2.2rem, 7vw, 5.4rem); letter-spacing: -0.04em; max-width: 14ch; }
.cta p { color: var(--ash); max-width: 46ch; margin: 0; }
a.solid { text-decoration: none; display: inline-block; }
a.solid:hover { color: var(--night); }

/* ---------- a client's private gallery ---------- */
.g-main { padding: clamp(110px, 16vh, 170px) var(--gutter) 70px; min-height: 80svh; }
.g-main .loading { color: var(--ash); }
.g-head { margin-bottom: 30px; }
.g-hello { color: var(--sodium); margin: 0 0 8px; font-weight: 600; }
.g-head h1, .g-gone h1 { font-weight: 800; font-size: clamp(2.4rem, 8vw, 6rem); line-height: .95; letter-spacing: -0.045em; text-wrap: balance; }
.g-message { max-width: var(--measure); margin: 20px 0 0; font-size: 1.15rem; white-space: pre-wrap; }
.g-meta, .g-hint { color: var(--ash); margin: 12px 0 0; font-size: .97rem; }
.g-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.g-actions .ghost { padding: 12px 20px; }
.ghost[aria-pressed="true"] { border-color: var(--sodium); color: var(--sodium); }
.g-gone { max-width: 560px; display: grid; gap: 18px; justify-items: start; }
.g-gone p { color: var(--ash); margin: 0; }
.g-shot { cursor: default; }
.g-open { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-open img { width: 100%; height: 100%; object-fit: cover; }
.g-heart { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(var(--night-rgb), .62); }
.g-heart svg { width: 22px; height: 22px; fill: none; stroke: var(--paper); stroke-width: 1.8; }
.g-heart[aria-pressed="true"] { background: var(--sodium); }
.g-heart[aria-pressed="true"] svg { fill: var(--night); stroke: var(--night); }
.g-shot.is-picked { outline: 3px solid var(--sodium); outline-offset: -3px; }
.viewer-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.viewer-tools a.ghost { text-decoration: none; font-size: inherit; line-height: inherit; }
.viewer-cap span#viewerTitle { color: var(--ash); font-size: .92rem; }

footer.site { padding: 26px var(--gutter) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; color: var(--ash); font-size: .92rem; border-top: 1px solid var(--line); }
footer.site a { color: var(--ash); }
footer.site a:hover { color: var(--paper); }

@media (max-width: 820px) {
  .about, .contact, .svc { grid-template-columns: minmax(0, 1fr); }
  .svc-pic { max-width: 100%; }
  .about-pics { max-width: 440px; }
  .sky { width: 62vw; opacity: .8; }
  .now-showing { text-align: left; }
}
@media (max-width: 520px) {
  .svc li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .brand span { display: none; }
  .bar nav { gap: 14px; }
  .bar nav a.wide-only { display: none; }
  .bar nav a { font-size: .93rem; }
  .hero h1 span + span { -webkit-text-stroke-width: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky path { animation: none; stroke-dashoffset: 0; }
  .sky circle { animation: none; opacity: 1; }
  .hero-frames img, .shot img { transition: none; }
}
