/* Shared content rules: presets change the presentation, not the editing model. */
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  transition: opacity 160ms ease;
}
.action-link:hover { opacity: .7; }
.action-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.header-contact { min-height: 44px; font-size: 13px; border-bottom: 1px solid var(--line); }
body[data-theme] .hero h1 { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
body[data-theme] .hero-intro .action-link { margin-top: 24px; pointer-events: auto; }
body[data-theme="gallery"] .hero-visual { padding-right: 0; padding-left: 4%; min-height: 0; }
body[data-theme="gallery"] .hero-photo { height: 580px; margin-top: 0; }
.section-heading h2 { margin-top: 12px; }
.work-image { cursor: zoom-in; }
.work-image:focus-visible { outline-offset: 5px; }
.work-info h3 { overflow-wrap: anywhere; }
.works-bottom { justify-content: center; margin-top: 32px; }
.about-visual { padding: 0; }
body[data-theme] .about-copy h2 { font-family: var(--sans); font-size: clamp(26px, 3vw, 38px); }
.about-lead { max-width: 30em; word-break: keep-all; }
body[data-theme] .film-content h2 { font-family: var(--sans); font-size: clamp(30px, 4vw, 48px); letter-spacing: -1px; }
body[data-theme] .moments-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
body[data-theme] .moments-grid:has(> :nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body[data-theme] .moment {
  display: block;
  width: 100%;
  min-width: 0;
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}
body[data-theme] .moment > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
body[data-theme] .moment > span { position: static; display: block; padding: 10px 0 0; background: none; color: var(--muted); font-size: 13px; letter-spacing: 0; }
body[data-theme] .contact h2 { font-family: var(--sans); font-size: clamp(30px, 4vw, 48px); line-height: 1.35; letter-spacing: -1px; margin-top: 20px; }
.contact-bottom { gap: 24px; }
.contact-bottom .button { justify-content: center; font-size: 14px; }
body[data-theme] .footer { justify-content: flex-start; }
@media (max-width: 760px) {
  body[data-theme="gallery"] .hero-visual { padding: 0; min-height: 0; }
  body[data-theme="gallery"] .hero-photo { height: auto; aspect-ratio: 4 / 5; }
  body[data-theme] .moments-grid,
  body[data-theme] .moments-grid:has(> :nth-child(6)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  body[data-theme] .moment > span { font-size: 12px; }
  .header-contact { font-size: 12px; }
  .filters { gap: 16px; flex-wrap: wrap; }
  .work-toolbar { align-items: flex-start; }
}

/* English editorial titles: restore the serif voice without adding extra copy. */
body[data-theme] .section-heading h2,
body[data-theme] .about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 66px);
  line-height: 1.08;
  letter-spacing: -1.3px;
}
body[data-theme] .film-content h2,
body[data-theme] .contact h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 1.08;
  letter-spacing: -2px;
}
body[data-theme] h2[lang="en"] em {
  font-family: var(--serif);
  font-style: italic;
  color: inherit;
}
@media (max-width: 760px) {
  body[data-theme] .contact h2 { font-size: clamp(39px, 10.5vw, 62px); letter-spacing: -1.4px; }
}

/* One poster-first video, with a real player revealed only on request. */
.featured-video { padding-top: 80px; padding-bottom: 80px; }
.video-frame { aspect-ratio: 16 / 9; width: 100%; background: #111; position: relative; overflow: hidden; }
.video-cover { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: #111; color: #fff; }
.video-cover > img { width: 100%; height: 100%; object-fit: cover; }
.video-shade { position: absolute; inset: 0; background: rgba(0,0,0,.43); transition: background 200ms ease; }
.video-cover:hover .video-shade { background: rgba(0,0,0,.34); }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; font-size: 14px; }
.video-play svg { width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75); background: rgba(0,0,0,.18); }
.video-cover:focus-visible { outline: 3px solid white; outline-offset: -7px; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.video-frame video:focus-visible { outline: 3px solid white; outline-offset: -4px; }
.video-caption, .video-status { margin-top: 14px; color: var(--muted); font-size: 13px; }
.video-status a { text-decoration: underline; }
.contact-actions { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
body[data-theme] .site-footer { padding-top: 28px; padding-bottom: 32px; }
.site-footer .footer { padding-top: 0; }
.site-footer .demo-notice { margin-top: 20px; }
@media(max-width:760px) {
  .featured-video { padding-top: 56px; padding-bottom: 56px; }
  .video-play svg { width: 58px; height: 58px; }
  .video-play { gap: 10px; font-size: 13px; }
}

/* Keep each section distinct without oversized repeated portrait grids. */
body[data-theme] .about-inner { padding-top: 68px; padding-bottom: 68px; gap: 8%; }
body[data-theme] .about-visual > img { height: 450px; object-fit: cover; }
body[data-theme] .featured-video {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr);
  column-gap: 56px;
  row-gap: 0;
  align-items: start;
}
.featured-video > .section-heading { grid-column: 1; grid-row: 1; margin: 0; }
.featured-video > .video-frame { grid-column: 2; grid-row: 1; }
.featured-video > .video-caption { grid-column: 2; grid-row: 2; }
.featured-video > .video-status { grid-column: 2; grid-row: 3; }
body[data-theme] .moments { padding-top: 72px; padding-bottom: 84px; }
body[data-theme] .moment:nth-child(even) { margin-top: 30px; }
body[data-theme] .work-grid[data-filtered="true"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-theme] .work-grid[data-filtered="true"] .work-card:nth-child(n) { margin-top: 0; }
body[data-theme] .work-grid[data-filtered="true"] .work-card:nth-child(n) .work-image { height: auto; aspect-ratio: 4 / 3; }
body[data-theme] .work-grid[data-filtered="true"][data-count="1"] { grid-template-columns: minmax(0, 1fr); }
body[data-theme] .work-grid[data-filtered="true"][data-count="1"] .work-card:not([hidden]) {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 48px;
}
body[data-theme] .work-grid[data-count="1"][data-filtered="true"] .work-info { padding: 0; }
@media (min-width: 1001px) {
  .style-launcher { left: auto; right: 24px; transform: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  body[data-theme] .moments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body[data-theme] .about-inner { padding-top: 52px; padding-bottom: 52px; gap: 32px; }
  body[data-theme] .about-visual > img { height: auto; aspect-ratio: 4 / 4.6; }
  body[data-theme] .featured-video { display: block; padding-top: 52px; padding-bottom: 52px; }
  .featured-video > .section-heading { margin-bottom: 28px; }
  body[data-theme] .moments { padding-top: 52px; padding-bottom: 64px; }
  body[data-theme] .moment:nth-child(even) { margin-top: 22px; }
  body[data-theme] .work-grid[data-filtered="true"] { grid-template-columns: minmax(0, 1fr); }
  body[data-theme] .work-grid[data-filtered="true"][data-count="1"] .work-card:not([hidden]) { display: block; }
  body[data-theme] .work-grid[data-count="1"][data-filtered="true"] .work-info { padding-top: 16px; }
}
