/* ==========================================================================
   DotCom Media — inner pages (About, Services, Contact)
   1. Shared split layout   2. About   3. Services details   4. Contact
   ========================================================================== */


/* ==========================================================================
   1. Shared
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.split-media { padding: 10px; }

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.split-text h2 { margin-bottom: 1.4rem; }

.split-text p + p { margin-top: 1rem; }

.split-text p { color: var(--muted); }

/* Orange tick list */
.check-list { display: grid; gap: 0.6rem; margin-block: 1.4rem 2rem; }

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 62% no-repeat,
    var(--orange);
}


/* ==========================================================================
   2. About page
   ========================================================================== */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.mv-card {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.mv-card h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.3;
}

.mv-card-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.mv-card-dark .eyebrow { color: var(--orange); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.value {
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, translate 0.3s, box-shadow 0.3s;
}

.value:hover { translate: 0 -6px; border-color: var(--orange); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }

.value .svc-icon { margin: 0 0 1.4rem; border: 0; }

.value:hover .svc-icon { background: var(--orange); }

.value h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }

.value p { font-size: 0.95rem; color: var(--muted); }

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.numbers strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--orange);
}

.numbers li > span { color: rgba(255, 255, 255, 0.7); }


/* ==========================================================================
   3. Services page — one detail block per service
   ========================================================================== */
.details { display: grid; gap: clamp(4rem, 9vw, 7rem); }

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

/* every second block puts the photo on the right */
.detail.is-flipped .detail-media { order: 2; }

.detail-media { padding: 10px; }

.detail-media img,
.detail-empty {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.detail-empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 127, 0, 0.4), transparent 60%),
    var(--dark);
}

.detail-empty .svc-icon {
  width: 84px;
  height: 84px;
  margin: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

.detail-empty .svc-icon svg { width: 40px; height: 40px; }

.detail-num {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  background: var(--alt);
  border-radius: 6px;
}

.detail h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

.detail-tag {
  margin-block: 0.5rem 1.1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--orange-text);
}

.detail-text > p:not(.detail-tag) { color: var(--muted); }


/* ==========================================================================
   4. Contact page
   ========================================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.contact-card {
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.4);
}

.contact-card .svc-icon { margin: 0 0 1.3rem; border: 0; }

.contact-card:hover .svc-icon { background: var(--orange); }

.contact-card h3 { margin-bottom: 0.3rem; font-size: 1.1rem; }

.contact-card p { color: var(--muted); overflow-wrap: anywhere; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-intro .lead { margin-top: 1.2rem; }

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.45);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field { display: grid; gap: 0.4rem; }

.field span { font-size: 0.9rem; font-weight: 700; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--alt);
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
}

.form-note { min-height: 1.5em; font-weight: 600; color: var(--orange-text); }

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

/* plus sign that turns into a minus */
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  background: var(--alt);
  border-radius: 50%;
  transition: background 0.2s;
}

.faq details[open] summary::after { content: "−"; background: var(--orange); }

.faq details p { padding-bottom: 1.2rem; color: var(--muted); }


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .values-grid,
  .contact-cards { grid-template-columns: 1fr 1fr; }

  .numbers { grid-template-columns: 1fr 1fr; }

  .contact-grid,
  .faq-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .split,
  .detail,
  .mv-grid { grid-template-columns: 1fr; }

  /* photo always on top on phones */
  .detail.is-flipped .detail-media { order: 0; }

  .split-media img { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  .values-grid,
  .contact-cards,
  .field-row { grid-template-columns: 1fr; }
}


/* ==========================================================================
   5. Single service pages
   ========================================================================== */
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.service-hero h1 { max-width: 14ch; }

.service-tag {
  margin-bottom: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--orange);
}

.service-hero-media { padding: 10px; }

.service-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-overview {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.service-overview .lead { margin-top: 1.3rem; }

.included-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--alt);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
}

.included-card h3 { font-size: 1.2rem; }

.included-card .check-list { margin-block: 1.2rem 1.8rem; }

/* ---- Photo gallery: masonry with CSS columns ---- */
.gallery {
  columns: 4 240px;
  column-gap: 1rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0;
  overflow: hidden;
  background: #ddd;
  border: 0;
  border-radius: 12px;
  cursor: zoom-in;
  break-inside: avoid;          /* keeps each photo in one column */
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--orange);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; }

.gallery-soon {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 127, 0, 0.35), transparent 60%),
    var(--dark);
  border-radius: 20px;
}

.gallery-soon h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }

.gallery-soon p { max-width: 48ch; margin-bottom: 0.5rem; color: rgba(255, 255, 255, 0.72); }

/* ---- Previous / next service ---- */
.service-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.service-pager a {
  display: grid;
  gap: 0.2rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 0.2s;
}

.service-pager a:last-child { text-align: right; }

.service-pager a:hover { color: var(--orange-text); }

.service-pager span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 4rem 4.5rem;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox[hidden] { display: none; }

.lb-img {
  /* always fits inside the window, whatever the photo shape */
  max-width: min(100%, calc(100vw - 9rem));
  max-height: calc(100vh - 8rem);
  max-height: calc(100dvh - 8rem);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lightbox button:hover { color: var(--ink); background: var(--orange); }

.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

.lb-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

body.lightbox-open { overflow: hidden; }

@media (max-width: 1020px) {
  .service-hero-grid,
  .service-overview { grid-template-columns: 1fr; }

  .service-hero-media { max-width: 620px; }
}

@media (max-width: 560px) {
  .gallery { columns: 2; column-gap: 0.6rem; }

  .gallery-item { margin-bottom: 0.6rem; }

  .lightbox { padding: 4rem 0.5rem; }

  .lb-img { max-width: 100%; max-height: calc(100dvh - 10rem); }

  .lb-prev,
  .lb-next { top: auto; bottom: 10px; transform: none; }

  .service-pager a { font-size: 0.92rem; }
}

/* Project title above each group of photos (e.g. "Nurai Group: construction site photo shoot") */
.gallery-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.8rem;
  margin: 2.5rem 0 1.2rem;
  padding-left: 0.9rem;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  border-left: 4px solid var(--orange);
}

.gallery-title:first-of-type { margin-top: 0; }

.gallery-title span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

/* local photos carry width/height to avoid layout jumps */
.gallery-item img[width] { height: auto; }


/* ==========================================================================
   6. Reels (vertical videos, Social Media page)
   ========================================================================== */
/* one sideways row: 5 visible on desktop, swipe/scroll for more */
.reels {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 1.25rem) / 4.6);   /* the 5th reel peeks in: "swipe for more" */
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) rgba(255, 255, 255, 0.1);
}

.reels + .reel-group { margin-top: 3.5rem; }

.reel { margin: 0; }

/* phone-shaped frame, 9:16 like Instagram */
.reel-phone {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
  border: 6px solid #1c1c1c;
  border-radius: 26px;
  box-shadow: 0 25px 50px -25px rgba(0, 0, 0, 0.8);
  transition: border-color 0.3s, transform 0.3s;
}

.reel:hover .reel-phone { transform: translateY(-4px); }

.reel.is-playing .reel-phone { border-color: var(--orange); }

.reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* big round play button in the middle */
.reel-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
  border: 0;
  cursor: pointer;
  transition: opacity 0.25s;
}

.reel-play svg {
  width: 62px;
  height: 62px;
  padding: 16px 14px 16px 18px;
  fill: var(--ink);
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s;
}

.reel-play:hover svg { transform: scale(1.1); }

/* while playing: hide the button (still clickable to pause) */
.reel.is-playing .reel-play { opacity: 0; background: none; }

.reel-time {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  pointer-events: none;
}

.reel.is-playing .reel-time { opacity: 0; }

.reel figcaption {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.9rem;
  padding-inline: 0.2rem;
}

.reel figcaption strong { font-size: 0.98rem; }

.reel figcaption span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* Phone in the page hero, with a reel playing silently */
.hero-phone {
  width: min(100%, 300px);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
  border: 8px solid #1c1c1c;
  border-radius: 34px;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9);
}

.hero-phone video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1020px) {
  .reels { grid-auto-columns: minmax(200px, 30%); }

  .reel { scroll-snap-align: start; }
}

@media (max-width: 560px) {
  .reels { grid-auto-columns: 62%; }

  .hero-phone { width: 230px; }
}


/* Client group title above each row of reels */
.reel-group { margin-bottom: 1.4rem; }

.reel-group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.8rem;
  padding-left: 0.9rem;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  border-left: 4px solid var(--orange);
}

.reel-group-title > span:last-child {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.reel-group-intro {
  max-width: 62ch;
  margin-top: 0.6rem;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

/* small orange "VIP client" label */
.vip-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--orange);
  border-radius: 999px;
}


/* ==========================================================================
   7. Films (landscape videos, Media Production page)
   ========================================================================== */
.films {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 2rem;
  align-items: start;
}

.films-side { display: grid; gap: 1.8rem; }

.film { margin: 0; }

.film-frame { padding: 0; }

.film video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
}

/* the side films get smaller viewfinder corners */
.films-side .film-frame::before,
.films-side .film-frame::after,
.films-side .film-frame > .vf-c::before,
.films-side .film-frame > .vf-c::after { width: 18px; height: 18px; border-width: 2px; }

.film figcaption { margin-top: 1rem; }

.film strong {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.film-main strong { font-size: 1.3rem; }

.film strong span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--orange);
}

.film p {
  margin-top: 0.3rem;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 900px) {
  .films { grid-template-columns: 1fr; }

  .films-side { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 560px) {
  .films-side { grid-template-columns: 1fr; }
}


/* ==========================================================================
   8. Instagram section (service pages)
   ========================================================================== */
.ig-section { background: #fff; }

.ig-follow svg { width: 18px; height: 18px; fill: currentColor; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.ig-grid .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.ig-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  padding: 2rem 2.2rem;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 127, 0, 0.35), transparent 55%),
    var(--dark);
  border-radius: 20px;
}

.ig-card-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  border-radius: 20px;
}

.ig-card-icon svg { width: 38px; height: 38px; fill: #fff; }

.ig-card > span:nth-child(2) { flex: 1 1 260px; color: rgba(255, 255, 255, 0.72); }

.ig-card strong { display: block; font-family: var(--font-heading); font-size: 1.4rem; color: var(--white); }

/* rows of numbers adapt to however many there are */
.numbers { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }


/* ==========================================================================
   9. Portfolio page
   ========================================================================== */
.pf-block + .pf-block { margin-top: 4rem; }

.pf-block[hidden] { display: none; }

.pf-title {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding-left: 0.9rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  border-left: 4px solid var(--orange);
}

.pf-title span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.pf-films {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem 1.5rem;
}

.pf-films .film figcaption p { color: var(--muted); }

/* reels sit on a dark band inside the light section */
.pf-reels-block {
  padding: 2.5rem;
  color: var(--white);
  background: var(--dark);
  border-radius: 24px;
}

.pf-reels-block .pf-title span { color: rgba(255, 255, 255, 0.6); }

@media (max-width: 560px) {
  .pf-reels-block { padding: 1.5rem 1rem; }
  .pf-films { grid-template-columns: 1fr; }
}

.gallery-item.is-extra { display: none; }
.pf-more { display: flex; justify-content: center; margin-top: 1.5rem; }
.pf-more span { font-weight: 500; opacity: 0.7; }


/* ==========================================================================
   Gallery: one tab per service
   ========================================================================== */
.gl-tabs { margin-bottom: 2rem; }

.gl-panel[hidden] { display: none; }

.gl-panel { animation: gl-in 0.45s ease; }

@keyframes gl-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.gl-intro {
  max-width: 60ch;
  margin: 0 0 2rem;
  padding-left: 0.9rem;
  font-size: 1.1rem;
  border-left: 4px solid var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  .gl-panel { animation: none; }
}
.gl-tabs { scroll-margin-top: calc(var(--header-h) + 20px); }


/* ==========================================================================
   Service page: hero video + up to 50 videos of our work
   ========================================================================== */
.service-lead { max-width: 46ch; margin-bottom: 1.8rem; }

.service-hero-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;   /* films are 16:9 */
  object-fit: cover;
  background: #000;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.work-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #111;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.work-item img,
.work-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-item:hover img { transform: scale(1.06); }

/* video tiles: title on a dark strip, hidden while playing */
.work-video { cursor: default; }

.work-video figcaption {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.9rem 1.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
  transition: opacity 0.3s;
}

.work-video figcaption span { font-weight: 400; font-size: 0.8rem; opacity: 0.75; }

.work-video.is-playing figcaption { opacity: 0; }

@media (max-width: 1020px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .work-grid { gap: 0.6rem; }
}


/* ==========================================================================
   About page hero: movie clapperboard on the left, text on the right
   With JavaScript the board pops in and claps (flash + small shake),
   then the text appears. The board stays. Without JavaScript, or with
   "reduce motion" on, everything simply shows.
   ========================================================================== */
.clap-layout {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.clap { padding-top: 40px; }             /* room for the stick when it is open */

.clap-board {
  position: relative;
  width: 100%;
  max-width: 330px;
  transform: rotate(-3deg);              /* rests slightly tilted, like it was put down */
}

/* the two striped sticks on top of the slate */
.clap-head {
  position: relative;
  height: 58px;
}

.clap-stick {
  position: absolute;
  left: 0;
  right: 0;
  height: 26px;
  border-radius: 3px;
  background: repeating-linear-gradient(120deg, #f5f5f5 0 20px, #111 20px 40px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

.clap-bottom { bottom: 0; }

/* the top stick is hinged on the left; at rest it lies shut on the bottom one */
.clap-top {
  bottom: 27px;
  transform-origin: 0 100%;
}

.clap-body {
  margin-top: 3px;
  padding: 12px 14px 14px;
  background: #151515;
  border: 2px solid #2a2a2a;
  border-radius: 6px;
  color: #f2f2f2;
  font-family: var(--font-heading);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.clap-title {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.clap-title span { color: var(--orange); }

.clap-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 700;
}

.clap-grid span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  min-width: 0;
  grid-column: span 2;          /* scene, take, roll: 3 per row */
}

.clap-grid .clap-wide { grid-column: span 6; }
.clap-grid .clap-dir-cell,
.clap-grid .clap-date-cell { grid-column: span 3; }

.clap-grid small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.clap-grid b { font-weight: 700; }

/* white camera flash over the whole hero at the moment of the clap */
.clap-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

/* ---- the animation (js/main.js adds "clap-run") ---- */
.has-clap.clap-run .clap-board {
  animation:
    clap-board-in 0.45s cubic-bezier(0.2, 0.8, 0.25, 1.2) both,
    clap-shake 0.3s ease 0.62s;
}

.has-clap.clap-run .clap-top {
  animation: clap-snap 0.62s cubic-bezier(0.7, 0, 0.9, 0.5) both;
}

.has-clap.clap-run .clap-flash { animation: clap-flash 0.4s ease-out 0.62s; }

@keyframes clap-board-in {
  from { opacity: 0; transform: translateX(-40px) scale(0.85) rotate(-8deg); }
  to { opacity: 1; transform: rotate(-3deg); }
}

@keyframes clap-snap {
  0%, 45% { transform: rotate(-20deg); }
  100% { transform: rotate(0deg); }
}

@keyframes clap-shake {
  0%, 100% { translate: 0 0; }
  25% { translate: -5px 2px; }
  50% { translate: 4px -2px; }
  75% { translate: -2px 1px; }
}

@keyframes clap-flash {
  0% { opacity: 0.35; }
  100% { opacity: 0; }
}

/* the text waits for the clap, then comes in */
.has-clap.clap-run .page-hero-inner > :not(h1) {
  opacity: 0;
  transform: translateX(24px);
}

.has-clap.clap-done .page-hero-inner > :not(h1) {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.has-clap.clap-done .page-hero-inner > .eyebrow { transition-delay: 0.1s; }
.has-clap.clap-done .page-hero-inner > .lead { transition-delay: 0.65s; }

/* phones and small tablets: board on top (smaller), text below */
@media (max-width: 820px) {
  .clap-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .clap { padding-top: 24px; }
  .clap-board { max-width: 240px; }
}

/* title: word by word (same effect as the Home page headings) */
.words-anim.is-split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.words-anim.is-split .w-in {
  display: inline-block;
  transform: translateY(108%) rotate(4deg);
  transform-origin: 0 100%;
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1), opacity 0.5s ease;
  transition-delay: calc(0.15s + var(--i, 0) * 75ms);
}

.words-anim.is-in .w-in { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .has-clap .clap-board, .has-clap .clap-top, .has-clap .clap-flash { animation: none !important; }
  .has-clap .page-hero-inner > * { opacity: 1 !important; transform: none !important; }
  .words-anim.is-split .w-in { transform: none; opacity: 1; transition: none; }
}


/* ==========================================================================
   About page: Mission, Vision and Values animations
   They play once, when each part scrolls into view (".reveal" -> ".is-visible").
   ========================================================================== */

/* ---- Mission & Vision: the two boxes come in from each side ---- */
.mv-section { overflow: hidden; overflow: clip; }   /* the boxes never widen the page while sliding in */

.mv-card { position: relative; overflow: hidden; }

.mv-card.reveal {
  opacity: 0;
  transform: translateX(-70px) rotate(-1.5deg) scale(0.97);
  transition:
    opacity 0.9s ease,
    transform 1.1s cubic-bezier(0.2, 0.75, 0.2, 1),
    translate 0.35s ease,
    box-shadow 0.35s ease;
}

.mv-card-dark.reveal {
  transform: translateX(70px) rotate(1.5deg) scale(0.97);
  transition-delay: 0.2s, 0.2s, 0s, 0s;
}

.mv-card.reveal.is-visible { opacity: 1; transform: none; }

.mv-card:hover { translate: 0 -6px; box-shadow: 0 26px 50px rgba(0, 0, 0, 0.14); }

/* an orange bar draws across the top */
.mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.6, 0, 0.2, 1) 0.7s;
}

.mv-card-dark::before { transform-origin: right; transition-delay: 0.9s; }

.mv-card.is-visible::before { transform: scaleX(1); }

/* a camera viewfinder corner appears bottom right */
.mv-card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 34px;
  height: 34px;
  border-right: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  opacity: 0;
  transform: translate(12px, 12px);
  transition: opacity 0.5s ease 1.2s, transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1) 1.2s;
}

.mv-card.is-visible::after { opacity: 1; transform: none; }

/* the dark Vision box: a slow orange glow drifts across it */
.mv-card-dark {
  background:
    radial-gradient(closest-side, rgba(255, 127, 0, 0.28), transparent) no-repeat,
    var(--ink);
  background-size: 60% 120%, auto;
  background-position: 130% -40%, 0 0;
  animation: mv-glow 9s ease-in-out infinite alternate;
}

@keyframes mv-glow {
  to { background-position: -30% 140%, 0 0; }
}

/* the eyebrows (Our mission / Our vision) slide in first */
.mv-card.reveal .eyebrow {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.45s, transform 0.6s ease 0.45s;
}

.mv-card.reveal.is-visible .eyebrow { opacity: 1; transform: none; }

/* ---- Values: the cards rise one after another ---- */
.values-grid .value { --d: 0s; }
.values-grid .value:nth-child(2) { --d: 0.15s; }
.values-grid .value:nth-child(3) { --d: 0.3s; }
.values-grid .value:nth-child(4) { --d: 0.45s; }
.values-grid .value:nth-child(5) { --d: 0.6s; }
.values-grid .value:nth-child(6) { --d: 0.75s; }

.value.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.94);
  transition:
    opacity 0.8s ease var(--d),
    transform 1s cubic-bezier(0.2, 0.75, 0.2, 1) var(--d),
    border-color 0.3s,
    translate 0.3s,
    box-shadow 0.3s;
}

.value.reveal.is-visible { opacity: 1; transform: none; }

/* each icon pops in with a spin, just after its card */
.value.reveal .svc-icon { transform: scale(0) rotate(-120deg); transition: background 0.3s, scale 0.3s, rotate 0.3s; }

.value.reveal.is-visible .svc-icon {
  animation: value-icon-pop 0.8s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--d) + 0.35s) both;
}

.value:hover .svc-icon { scale: 1.1; rotate: -8deg; }

@keyframes value-icon-pop {
  from { transform: scale(0) rotate(-120deg); }
  to { transform: none; }
}

/* an orange line draws under each value title */
.value h3 {
  display: inline-block;
  padding-bottom: 4px;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 0 2px;
}

.value.reveal.is-visible h3 {
  background-size: 100% 2px;
  transition: background-size 0.6s ease calc(var(--d) + 0.7s);
}

/* tablets: 2 cards per row, phones: 1 per row */
@media (max-width: 1020px) {
  .values-grid .value:nth-child(odd) { --d: 0s; }
  .values-grid .value:nth-child(even) { --d: 0.15s; }
}

@media (max-width: 560px) {
  .values-grid .value:nth-child(n) { --d: 0s; }
}

@media (max-width: 820px) {
  /* boxes stacked: a shorter slide */
  .mv-card.reveal { transform: translateX(-30px) scale(0.97); }
  .mv-card-dark.reveal { transform: translateX(30px) scale(0.97); transition-delay: 0s; }
  .mv-card.reveal.is-visible { transform: none; }

  /* room under the text for the corner */
  .mv-card { padding-bottom: 3.4rem; }
  .mv-card::after { right: 16px; bottom: 16px; width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .mv-card.reveal, .mv-card.reveal .eyebrow, .value.reveal, .value.reveal .svc-icon { opacity: 1; transform: none; animation: none; }
  .mv-card::before { transform: none; transition: none; }
  .mv-card::after { opacity: 1; transform: none; transition: none; }
  .mv-card-dark { animation: none; }
  .value h3 { background-size: 100% 2px; }
}


/* ==========================================================================
   Service page: "Our work" video cards (3 per row)
   ========================================================================== */
.wk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem 1.6rem;
}
.wk-grid + .wk-grid { margin-top: 3rem; }
.wk-grid.wk-reels { max-width: 900px; margin-inline: auto; }

.wk-card { min-width: 0; }
.wk-grid .wk-card:nth-child(3n+2) { transition-delay: 0.08s; }
.wk-grid .wk-card:nth-child(3n+3) { transition-delay: 0.16s; }

.wk-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0d0d0d;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 14px 30px -18px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}
.wk-reels .wk-media { aspect-ratio: 9 / 16; }

.wk-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  scale: 1;
  transition: scale 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wk-card.is-on .wk-media video { object-fit: contain; }

/* dark shade + big play button over the cover */
.wk-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.45) 100%);
  transition: background-color 0.3s;
}
.wk-play-btn {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(255, 127, 0, 0.25);
  scale: 1;
  transition: scale 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.35s;
}
.wk-play-btn svg { width: 26px; height: 26px; margin-left: 3px; }

.wk-card:hover .wk-media video { scale: 1.05; }
.wk-card:hover .wk-play { background-color: rgba(0, 0, 0, 0.15); }
.wk-card:hover .wk-play-btn,
.wk-play:focus-visible .wk-play-btn { scale: 1.12; box-shadow: 0 0 0 14px rgba(255, 127, 0, 0.2); }
.wk-play:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }

.wk-num,
.wk-dur {
  position: absolute;
  z-index: 3;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.3s;
}
.wk-num { top: 0.8rem; left: 0.8rem; font-variant-numeric: tabular-nums; }
.wk-num::before { content: "\25CF"; margin-right: 0.4em; font-size: 0.7em; color: var(--orange); vertical-align: 0.1em; }
.wk-dur { right: 0.8rem; bottom: 0.8rem; font-variant-numeric: tabular-nums; }

/* playing: the overlay goes away and the video's own controls take over */
.wk-card.is-on .wk-play,
.wk-card.is-on .wk-num,
.wk-card.is-on .wk-dur { opacity: 0; pointer-events: none; }
.wk-card.is-on .wk-play { visibility: hidden; }
.wk-card.is-on:hover .wk-media video { scale: 1; }

.wk-info { padding: 1rem 0.2rem 0; }
.wk-info h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.25s;
}
.wk-card:hover .wk-info h3 { color: var(--orange-text); }
.wk-info p { margin: 0.3rem 0 0; font-size: 0.88rem; color: var(--muted); }
.wk-info p i { font-style: normal; color: var(--orange); margin: 0 0.15em; }

@media (max-width: 1020px) {
  .wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1.2rem; }
  .wk-grid .wk-card:nth-child(n) { transition-delay: 0s; }
}
@media (max-width: 600px) {
  .wk-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .wk-grid.wk-reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 0.8rem; }
  .wk-play-btn { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-media video, .wk-play-btn { transition: none; }
}


/* ==========================================================================
   Service page: dark "stage" behind the video gallery
   (rounded dark panel, moving orange lights, faint grid, film-strip edges)
   ========================================================================== */
.wk-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3.5rem);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 50% 0%, #1d1d1d 0%, #0b0b0b 55%, #050505 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

/* faint grid, fading out towards the edges */
.wk-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 100%);
}

/* film-strip holes along the top and bottom edges */
.wk-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  bottom: 14px;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 16px, transparent 16px 30px) top / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 16px, transparent 16px 30px) bottom / 100% 8px no-repeat;
  /* top row runs right, bottom row runs left, like film on two reels */
  animation: film-run-stage 1.6s linear infinite;
}
@keyframes film-run-stage {
  from { background-position: 0 0, 0 100%; }
  to   { background-position: 30px 0, -30px 100%; }
}
@media (prefers-reduced-motion: reduce) { .wk-stage::after { animation: none; } }

/* two soft orange lights that drift slowly */
.wk-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.55;
}
.wk-glow-1 {
  width: 520px; height: 520px;
  top: -180px; left: -140px;
  background: radial-gradient(circle, rgba(255, 127, 0, 0.75), rgba(255, 127, 0, 0) 70%);
  animation: wk-drift-1 16s ease-in-out infinite alternate;
}
.wk-glow-2 {
  width: 460px; height: 460px;
  right: -160px; bottom: -160px;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.6), rgba(255, 90, 0, 0) 70%);
  animation: wk-drift-2 19s ease-in-out infinite alternate;
}
@keyframes wk-drift-1 { to { translate: 220px 140px; } }
@keyframes wk-drift-2 { to { translate: -240px -120px; } }

/* text on the dark stage */
.wk-stage .sec-head h2 { color: #fff; }
.wk-stage .sec-head > p { color: rgba(255, 255, 255, 0.7); }
.wk-stage .eyebrow { color: var(--orange); }

/* cards on the stage: a thin light border + an orange glow on hover */
.wk-stage .wk-media {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  transition: box-shadow 0.4s, translate 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wk-stage .wk-card:hover .wk-media {
  translate: 0 -4px;
  box-shadow: 0 0 0 1px rgba(255, 127, 0, 0.55), 0 24px 50px -18px rgba(255, 127, 0, 0.45);
}
.wk-stage .wk-card.is-on .wk-media { translate: 0 0; }
.wk-stage .wk-grid { gap: 1.6rem; }
.wk-stage .btn-dark { color: var(--ink); background: var(--orange); }
.wk-stage .btn-dark:hover { color: var(--ink); background: #fff; }

@media (max-width: 1020px) { .wk-stage .wk-grid { gap: 1.2rem; } }
@media (max-width: 600px) {
  .wk-section .wrap { width: min(100% - 20px, var(--container)); }
  .wk-stage { border-radius: 20px; padding: 2.6rem 1rem; }
  .wk-glow { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) { .wk-glow { animation: none; } }


/* ==========================================================================
   Service page: photos on the dark stage (masonry: 3 columns, real shapes)
   ========================================================================== */
.wk-photos { columns: 3; column-gap: 1.2rem; }
.wk-photos.has-videos { margin-top: 3rem; }
.wk-photo {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1.2rem;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  cursor: zoom-in;
  break-inside: avoid;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 40px -22px rgba(0, 0, 0, 0.9);
  transition: box-shadow 0.4s, opacity 0.7s ease, transform 0.7s ease;
}
.wk-photo img {
  display: block;
  width: 100%;
  height: auto;
  scale: 1;
  transition: scale 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s;
}
.wk-photo::after {           /* soft shade on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: opacity 0.35s;
}
.wk-zoom {
  position: absolute;
  z-index: 2;
  right: 0.8rem;
  bottom: 0.8rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange);
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.3s, translate 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.wk-zoom svg { width: 18px; height: 18px; }
.wk-photo:hover img { scale: 1.06; }
.wk-photo:hover::after,
.wk-photo:focus-visible::after { opacity: 1; }
.wk-photo:hover .wk-zoom,
.wk-photo:focus-visible .wk-zoom { opacity: 1; translate: 0 0; }
.wk-photo:hover { box-shadow: 0 0 0 1px rgba(255, 127, 0, 0.55), 0 24px 50px -18px rgba(255, 127, 0, 0.4); }
.wk-photo:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

@media (max-width: 1020px) { .wk-photos { columns: 2; } }
@media (max-width: 600px) {
  .wk-photos { column-gap: 0.7rem; }
  .wk-photo { margin-bottom: 0.7rem; border-radius: 10px; }
  .wk-zoom { display: none; }
}


/* masonry columns (made by js/main.js, section 13c) + "Show more" button */
.wk-photos.is-masonry { columns: auto; display: flex; align-items: flex-start; gap: 1.2rem; }
.wk-col { flex: 1 1 0; min-width: 0; }
.wk-photo[hidden] { display: none; }
.wk-more { display: flex; justify-content: center; margin-top: 2.2rem; }
.wk-more-btn {
  color: var(--ink);
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 127, 0, 0.18);
  transition: background-color 0.25s, box-shadow 0.3s, translate 0.25s;
}
.wk-more-btn span { font-weight: 500; opacity: 0.7; margin-left: 0.25em; }
.wk-more-btn:hover { background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12); translate: 0 -2px; }
@media (max-width: 600px) { .wk-photos.is-masonry { gap: 0.7rem; } }
