/* ---------------------------------------------------------------------------
   /photo-video/ cluster.
   Built entirely on the dv8.css custom properties, so light and dark come for
   free and nothing here needs a second definition under [data-theme].
   The one rule this section adds to the house style: photographs sit on a
   neutral ground with no tint and no overlay, because a colour cast over a
   photographer's work is the fastest way to make it look worse than it is.
--------------------------------------------------------------------------- */

/* ---- breadcrumb ---- */
.ph-crumb{padding:26px 0 0;}
.ph-crumb ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;
  font-size:13px;color:var(--muted);}
.ph-crumb li+li:before{content:"/";margin-right:8px;color:var(--faint);}
.ph-crumb a{color:var(--muted);text-decoration:none;}
.ph-crumb a:hover{color:var(--orange-ink);}

/* ---- hero ---- */
.ph-hero{padding:34px 0 10px;}
.ph-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:56px;align-items:center;}
.ph-hero h1{margin:0 0 16px;}
.ph-hero .lead{font-size:19px;line-height:1.62;color:var(--text);margin:0 0 26px;}
.ph-hero .lead strong{color:var(--head);}
.ph-cta-row{display:flex;flex-wrap:wrap;gap:12px;}
.ph-hero-media{position:relative;border-radius:20px;overflow:hidden;box-shadow:var(--shadow);
  background:var(--bg3);}
.ph-hero-media img{display:block;width:100%;height:auto;}

/* A stacked pair reads more like a photographer's portfolio than one big slab. */
.ph-hero-stack{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.ph-hero-stack figure{margin:0;border-radius:16px;overflow:hidden;background:var(--bg3);
  box-shadow:var(--shadow-sm);}
.ph-hero-stack figure:first-child{grid-row:span 2;}
.ph-hero-stack img{display:block;width:100%;height:100%;object-fit:cover;}

/* ---- sections + prose ---- */
.ph-sec{padding:66px 0;}
.ph-sec--tint{background:var(--bg2);border-top:1px solid var(--line2);
  border-bottom:1px solid var(--line2);}
.ph-sec--deep{background:var(--navy);color:#dbe4f7;}
.ph-sec--deep .h2,.ph-sec--deep h2,.ph-sec--deep h3{color:#fff;}
.ph-sec--deep .eyebrow{color:rgba(255,255,255,.62);}
.ph-sec--deep p{color:#c3d0ea;}
.ph-sec-head{margin:0 0 38px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:18px 56px;align-items:end;}
.ph-sec-head .eyebrow{grid-column:1;grid-row:1;margin:0;}
.ph-sec-head h2,.ph-sec-head .h2{grid-column:1;grid-row:2;margin:0;}
.ph-sec-head p:not(.eyebrow){grid-column:2;grid-row:2;font-size:17.5px;line-height:1.66;
  color:var(--muted);margin:0 0 6px;}
/* A head with no intro paragraph has nothing to sit in column two, so it should not
   reserve the space and squash its own headline. */
.ph-sec-head:not(:has(p)){display:block;max-width:820px;}
.ph-sec-head.center{display:block;max-width:760px;margin-left:auto;margin-right:auto;
  text-align:center;}
.ph-sec-head.center p{margin:12px 0 0;}

.ph-prose{max-width:880px;}
.ph-prose p{font-size:17.5px;line-height:1.75;color:var(--text);margin:0 0 21px;}
.ph-prose h3{font-family:var(--disp);font-size:23px;color:var(--head);
  margin:38px 0 14px;line-height:1.25;}
.ph-prose ul{margin:0 0 22px;padding-left:22px;}
.ph-prose li{font-size:17px;line-height:1.66;color:var(--text);margin:0 0 10px;}
.ph-prose strong{color:var(--head);}
.ph-prose a{color:var(--orange-ink);}

/* A pulled line, used once or twice a page to break a long read. */
.ph-pull{border-left:3px solid var(--orange);padding:8px 0 8px 26px;margin:34px 0;
  font-family:var(--disp);font-size:23px;line-height:1.42;color:var(--head);}

/* ---- the gallery ---- */
.ph-gallery{columns:3;column-gap:16px;}
.ph-gallery figure{break-inside:avoid;margin:0 0 16px;border-radius:14px;overflow:hidden;
  background:var(--bg3);position:relative;box-shadow:var(--shadow-sm);}
.ph-gallery img{display:block;width:100%;height:auto;transition:transform .5s var(--ease);}
.ph-gallery figure:hover img{transform:scale(1.035);}
.ph-gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:26px 14px 11px;
  font-size:12px;letter-spacing:.02em;color:#fff;opacity:0;transition:opacity .25s var(--ease);
  background:linear-gradient(transparent,rgba(8,14,28,.82));}
.ph-gallery figure:hover figcaption,
.ph-gallery figure:focus-within figcaption{opacity:1;}
.ph-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.ph-grid-2 figure,.ph-grid-3 figure{margin:0;border-radius:14px;overflow:hidden;
  background:var(--bg3);box-shadow:var(--shadow-sm);}
.ph-grid-2 img,.ph-grid-3 img{display:block;width:100%;height:auto;}
.ph-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}

/* ---- credit line. Appears under every image block on every page. ---- */
.ph-credit{display:flex;align-items:center;gap:9px;margin:16px 0 0;font-size:13px;
  color:var(--muted);}
.ph-credit svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.75;}
.ph-credit a{color:var(--orange-ink);text-decoration:none;font-weight:600;}
.ph-credit a:hover{text-decoration:underline;}

/* ---- cards ---- */
.ph-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.ph-cards--2{grid-template-columns:repeat(2,1fr);}
.ph-card{display:block;background:var(--panel);border:1px solid var(--line);
  border-radius:16px;padding:24px;text-decoration:none;transition:.22s var(--ease);}
a.ph-card:hover{border-color:var(--orange);transform:translateY(-3px);box-shadow:var(--shadow-sm);}
.ph-card h3{font-family:var(--disp);font-size:18px;color:var(--head);margin:0 0 8px;}
.ph-card p{font-size:14.5px;line-height:1.6;color:var(--muted);margin:0;}
.ph-card .ph-card-more{display:inline-block;margin-top:13px;font-size:13.5px;font-weight:700;
  color:var(--orange-ink);}
.ph-card-img{aspect-ratio:4/3;border-radius:12px;overflow:hidden;margin:-4px 0 16px;
  background:var(--bg3);}
.ph-card-img img{display:block;width:100%;height:100%;object-fit:cover;}

/* ---- numbered steps ---- */
.ph-steps{counter-reset:s;display:grid;gap:18px;}
.ph-step{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;
  padding:22px 24px;background:var(--panel);border:1px solid var(--line);border-radius:16px;}
.ph-step:before{counter-increment:s;content:counter(s);font-family:var(--disp);font-weight:700;
  font-size:15px;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;
  background:var(--orange-soft);color:var(--orange-on-soft);}
.ph-step h3{font-family:var(--disp);font-size:17.5px;color:var(--head);margin:5px 0 7px;}
.ph-step p{font-size:15.5px;line-height:1.62;color:var(--muted);margin:0;}

/* ---- spec / what you get list ---- */
.ph-list{list-style:none;margin:0;padding:0;display:grid;gap:13px;}
.ph-list li{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;
  font-size:16px;line-height:1.6;color:var(--text);}
.ph-list svg{width:19px;height:19px;margin-top:2px;flex:none;fill:none;stroke:var(--orange);
  stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.ph-sec--deep .ph-list li{color:#c8d4ec;}

/* ---- a plain comparison table ---- */
.ph-table{width:100%;border-collapse:collapse;font-size:15.5px;}
.ph-table th,.ph-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line2);
  vertical-align:top;}
.ph-table th{font-family:var(--disp);font-size:13px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--muted);font-weight:700;}
.ph-table td:first-child{color:var(--head);font-weight:600;}
.ph-table td{color:var(--text);line-height:1.58;}
.ph-tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;
  background:var(--panel);}

/* ---- FAQ ---- */
.ph-faq{max-width:940px;}
.ph-faq details{border-bottom:1px solid var(--line2);padding:4px 0;}
.ph-faq summary{cursor:pointer;list-style:none;padding:17px 34px 17px 0;position:relative;
  font-family:var(--disp);font-size:17px;font-weight:600;color:var(--head);}
.ph-faq summary::-webkit-details-marker{display:none;}
.ph-faq summary:after{content:"";position:absolute;right:6px;top:50%;width:9px;height:9px;
  border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:translateY(-70%) rotate(45deg);transition:transform .2s var(--ease);}
.ph-faq details[open] summary:after{transform:translateY(-30%) rotate(-135deg);}
.ph-faq .ph-faq-a{padding:0 0 20px;font-size:16px;line-height:1.7;color:var(--text);}
.ph-faq .ph-faq-a p{margin:0 0 13px;}
.ph-faq .ph-faq-a a{color:var(--orange-ink);}

/* ---- Allen callout. The referral block, repeated across the cluster. ---- */
.ph-allen{display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:center;
  background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--orange);
  border-radius:18px;padding:28px 32px;}
.ph-allen-ph{width:104px;height:104px;border-radius:50%;overflow:hidden;flex:none;
  background:var(--bg3);}
.ph-allen-ph img{width:100%;height:100%;object-fit:cover;display:block;}
.ph-allen h3{font-family:var(--disp);font-size:20px;color:var(--head);margin:0 0 9px;}
.ph-allen p{font-size:15.5px;line-height:1.64;color:var(--text);margin:0 0 13px;}
.ph-allen .ph-allen-links{display:flex;flex-wrap:wrap;gap:16px;align-items:center;
  font-size:14.5px;}
.ph-allen .ph-allen-links a{color:var(--orange-ink);font-weight:700;text-decoration:none;}
.ph-allen .ph-allen-links a:hover{text-decoration:underline;}

/* ---- client marquee ---- */
.ph-clients{display:flex;flex-wrap:wrap;gap:10px;}
.ph-clients span{font-family:var(--disp);font-size:14px;font-weight:600;color:var(--muted);
  border:1px solid var(--line);border-radius:999px;padding:7px 15px;background:var(--panel);}

/* ---- next steps strip ---- */
.ph-next{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.ph-next a{display:block;padding:20px 22px;border:1px solid var(--line);border-radius:14px;
  background:var(--panel);text-decoration:none;transition:.2s var(--ease);}
.ph-next a:hover{border-color:var(--orange);transform:translateY(-2px);}
.ph-next .k{display:block;font-size:12px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--muted);font-weight:700;margin-bottom:6px;}
.ph-next .t{display:block;font-family:var(--disp);font-size:16.5px;color:var(--head);
  font-weight:600;line-height:1.35;}

/* ---- closing CTA ---- */
.ph-end{text-align:center;max-width:760px;margin:0 auto;}
.ph-end h2{margin:0 0 14px;}
.ph-end p{font-size:17.5px;line-height:1.65;color:#c3d0ea;margin:0 0 26px;}
.ph-end .ph-cta-row{justify-content:center;}

/* ---- lightbox ---- */
.ph-lb{position:fixed;inset:0;z-index:2000;background:rgba(6,10,20,.94);display:none;
  align-items:center;justify-content:center;padding:34px;}
.ph-lb.open{display:flex;}
.ph-lb img{max-width:100%;max-height:88vh;border-radius:8px;display:block;}
.ph-lb-cap{position:absolute;left:0;right:0;bottom:16px;text-align:center;font-size:13px;
  color:rgba(255,255,255,.72);padding:0 20px;}
.ph-lb-cap a{color:#ff9a55;}
.ph-lb-x{position:absolute;top:18px;right:20px;width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;
  font-size:22px;line-height:1;cursor:pointer;}
.ph-lb-x:hover{background:rgba(255,255,255,.18);}
.ph-lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;
  border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);
  color:#fff;cursor:pointer;display:grid;place-items:center;}
.ph-lb-nav:hover{background:rgba(255,255,255,.18);}
.ph-lb-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round;}
.ph-lb-prev{left:18px;} .ph-lb-next{right:18px;}

/* ---- responsive ---- */
@media(max-width:1040px){
  /* ph-sec-head stacks: two columns of heading and intro need real width to work. */
  .ph-sec-head{display:block;max-width:760px;}
  .ph-sec-head .eyebrow{margin:0 0 10px;}
  .ph-sec-head p:not(.eyebrow){margin:12px 0 0;}
  .ph-hero-grid{grid-template-columns:1fr;gap:34px;}
  .ph-cards,.ph-next,.ph-grid-3{grid-template-columns:repeat(2,1fr);}
  .ph-gallery{columns:2;}
}
@media(max-width:720px){
  .ph-sec{padding:48px 0;}
  .ph-hero .lead{font-size:17.5px;}
  .ph-cards,.ph-cards--2,.ph-next,.ph-grid-2,.ph-grid-3{grid-template-columns:1fr;}
  .ph-gallery{columns:2;column-gap:11px;}
  .ph-gallery figure{margin-bottom:11px;}
  .ph-allen{grid-template-columns:1fr;text-align:left;gap:18px;padding:24px;}
  .ph-allen-ph{width:78px;height:78px;}
  .ph-pull{font-size:18.5px;}
  .ph-lb{padding:16px;}
  .ph-lb-nav{width:40px;height:40px;}
}

@media(prefers-reduced-motion:reduce){
  .ph-gallery img,.ph-card,.ph-next a{transition:none;}
  .ph-gallery figure:hover img{transform:none;}
}

/* ---- behind the scenes strip ----
   A horizontal rail on desktop, a swipeable one on mobile. Each clip keeps its own
   aspect ratio via --ar, so a vertical phone clip and a landscape one sit together
   without either being cropped or letterboxed. */
.ph-bts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:stretch;}
/* A two-clip strip, so it does not sit in a three-column grid with a hole in it. */
.ph-bts--2{grid-template-columns:repeat(2,1fr);max-width:820px;}
.ph-bts figure{margin:0;border-radius:14px;overflow:hidden;background:var(--bg3);
  box-shadow:var(--shadow-sm);position:relative;display:flex;flex-direction:column;}
.ph-bts video{display:block;width:100%;height:auto;aspect-ratio:4/5;
  object-fit:cover;object-position:var(--pos,center);background:var(--bg3);}
.ph-bts figcaption{padding:14px 16px 16px;font-size:13.5px;line-height:1.5;
  color:var(--muted);background:var(--panel);flex:1;}
/* A small "live" marker, so a paused poster does not read as a still photograph. */
.ph-bts figure:before{content:"";position:absolute;top:12px;left:12px;width:9px;height:9px;
  border-radius:50%;background:var(--orange);box-shadow:0 0 0 4px rgba(255,106,31,.25);
  z-index:2;animation:phPulse 2.4s var(--ease) infinite;}
@keyframes phPulse{0%,100%{opacity:1;}50%{opacity:.35;}}

@media(max-width:860px){
  /* Rail rather than a stack: three tall clips stacked is a very long scroll. */
  .ph-bts{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;
    padding-bottom:8px;-webkit-overflow-scrolling:touch;}
  .ph-bts figure{flex:0 0 76%;scroll-snap-align:start;}
}
@media(prefers-reduced-motion:reduce){
  .ph-bts figure:before{animation:none;}
}
