/* ═══════════════════════════════════════════════════════
   imageMILL — COMPONENTS
   Scope: ナビ・カード・ボタン・CTA・フッター・共通アニメーション
   Generated from the approved site.css without changing declarations.
═══════════════════════════════════════════════════════ */

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 500;

  width: auto;
  max-width: none;
  box-sizing: border-box;

  height: 68px;
  padding-right: var(--g);
  padding-left: var(--g);

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: transparent;
  border-bottom: 1px solid transparent;

  transition: transform 0.32s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.nav.is-hidden:not(.is-menu-open) {
  transform: translate3d(0, -100%, 0);
}

.nav-logo,
.nav-links a,
.nav-cta {
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease;
}

.nav-logo {
  position: relative;
  z-index: 2;

  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);

  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-logo span {
  color: var(--sage);
}

.nav-logo__text {
  color: inherit !important;
}

.nav-logo__text > span {
  color: var(--sage);
}

.nav-logo__image {
  display: block;
  width: clamp(165px, 19vw, 280px);
  height: auto;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.nav-logo__image--light {
  display: none;
}

.nav.is-on-dark .nav-logo__image--dark,
.nav.is-menu-open .nav-logo__image--dark {
  display: none;
}

.nav.is-on-dark .nav-logo__image--light,
.nav.is-menu-open .nav-logo__image--light {
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.nav-links a {
  position: relative;
  padding-bottom: 3px;

  font-family: var(--din);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 1px;
  background: var(--sage);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .current-menu-item > a::after,
.nav-links .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current-menu-ancestor > a {
  color: var(--ink);
}

.nav-language {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav-language a {
  position: relative;
  padding-bottom: 2px;
  color: var(--silver);
  font-family: var(--din);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-language-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(88, 89, 91, 0.38);
  font-family: var(--din);
  font-size: 9px;
  line-height: 1;
}

.nav-language a::after {
  display: none;
}

.nav-language a.is-current {
  color: var(--sage);
}

.nav-cta {
  padding: 10px 24px;

  font-family: var(--din);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.nav-cta:hover {
  color: var(--ink);
  background: var(--sage);
  border-color: var(--sage);
}

/* Header over a dark background */
.nav.is-on-dark .nav-logo {
  color: var(--white);
}

.nav.is-on-dark .nav-links a {
  color: rgba(255, 255, 255, 0.72);
}

.nav.is-on-dark .nav-links a:hover,
.nav.is-on-dark .nav-links a.active,
.nav.is-on-dark .nav-links .current-menu-item > a,
.nav.is-on-dark .nav-links .current-menu-ancestor > a {
  color: var(--white);
}

.nav.is-on-dark .nav-language {
  color: rgba(255, 255, 255, 0.24);
}

.nav.is-on-dark .nav-language-separator {
  color: rgba(255, 255, 255, 0.34);
}

.nav.is-on-dark .nav-language a.is-current {
  color: var(--sage);
}

.nav.is-on-dark .nav-cta {
  color: var(--ink);
  background: var(--sage);
  border-color: var(--sage);
}

@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: color 0.25s ease, border-color 0.25s ease;
  }
}

/* Mobile toggle */
.nav-toggle {
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  display: none;
  position: relative;
  z-index: 2;

  width: 32px;
  height: 32px;

  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 6px;

  width: 20px;
  height: 1px;
  background: currentColor;

  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span:first-child {
  top: 12px;
}

.nav-toggle span:last-child {
  top: 19px;
}

@media (max-width: 900px) {
  .nav {
    height: 64px;
  }

  .nav-logo__image {
    width: clamp(128px, 38vw, 170px);
    max-height: 30px;
  }

  .nav-logo,
  .nav-toggle {
    z-index: 20;
  }
  .nav-toggle {
    display: block;
    color: var(--ink);
  }

  .nav.is-on-dark .nav-toggle,
  .nav.is-menu-open .nav-toggle,
  .nav.is-menu-open .nav-logo {
    color: var(--white);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 10;

    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;

    padding: 110px var(--g)
      max(190px, calc(160px + env(safe-area-inset-bottom)));

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;

    overflow-x: hidden;
    overflow-y: auto;

    background: var(--ink);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);

    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .nav .nav-links a,
  .nav .nav-links a:hover,
  .nav .nav-links a.active,
  .nav.is-on-dark .nav-links a,
  .nav.is-on-dark .nav-links a:hover,
  .nav.is-on-dark .nav-links a.active {
    font-family: var(--serif);
    font-size: clamp(32px, 10vw, 48px);
    font-weight: 300;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--white);
  }

  .nav-language {
    gap: 12px;
  }

  .nav-language-separator,
  .nav.is-on-dark .nav-language-separator {
    color: rgba(255, 255, 255, 0.38);
    font-size: 10px;
  }

  .nav .nav-language a,
  .nav.is-on-dark .nav-language a {
    font-family: var(--din);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav .nav-language a {
    color: rgba(26, 26, 26, 0.48);
  }

  .nav.is-on-dark .nav-language a,
  .nav.is-menu-open .nav-language a {
    color: rgba(255, 255, 255, 0.52);
  }

  .nav .nav-language a.is-current,
  .nav.is-on-dark .nav-language a.is-current {
    color: var(--sage);
  }

  .nav.is-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-actions {
    display: contents;
  }

  .nav-actions .nav-language {
    position: absolute;
    top: 50%;
    right: calc(var(--g) + 52px);
    z-index: 20;
    display: flex;
    transform: translateY(-50%);
  }

  .nav-cta {
    display: none;
  }

  .nav.is-menu-open .nav-actions .nav-cta {
    position: fixed;
    right: var(--g);
    bottom: max(28px, env(safe-area-inset-bottom));
    left: var(--g);
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 14px 24px;

    color: var(--ink);
    background: var(--sage);
    border: 1px solid var(--sage);

    font-family: var(--din);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .nav.is-menu-open .nav-toggle span:first-child {
    top: 16px;
    transform: rotate(45deg);
  }

  .nav.is-menu-open .nav-toggle span:last-child {
    top: 16px;
    transform: rotate(-45deg);
  }

  body.nav-menu-open {
    overflow: hidden;
  }
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover {
  border-color: var(--sage20);
  box-shadow: 0 4px 40px rgba(0, 255, 0, 0.05);
}
.card:hover::before {
  transform: scaleX(1);
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--din);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 36px;
  display: inline-block;
  transition: all 0.22s;
}
.btn-ink {
  background: var(--ink);
  color: var(--white);
}
.btn-ink:hover {
  background: var(--sage);
  color: var(--ink);
}
.btn-sage {
  background: var(--sage);
  color: var(--ink);
}
.btn-sage:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-outline {
  border: 1px solid var(--rule);
  color: var(--grey);
}
.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline-w {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.btn-outline-w:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  font-family: var(--din);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost svg {
  transition: transform 0.25s;
}
.btn-ghost:hover {
  border-color: var(--sage);
}
.btn-ghost:hover svg {
  transform: translateX(4px);
}
.btn-ghost.light {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-ghost.light:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── CTA SECTION ── */
.cta-section {
  padding: clamp(80px, 10vw, 140px) var(--g);
  background: var(--ink);
  text-align: center;
}
.cta-eyebrow {
  font-family: var(--din);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cta-eyebrow::before,
.cta-eyebrow::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--sage);
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  color: var(--white);
  line-height: 0.92;
  margin-bottom: 22px;
}
.cta-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
}
.cta-body {
  font-family: var(--body);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.88;
  color: rgba(255, 255, 255, 0.45);
  max-width: 500px;
  margin: 0 auto 44px;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: clamp(40px, 5vw, 64px) var(--g) clamp(24px, 3vw, 40px);
}
.ft-in {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
}
.ft-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}
.ft-logo span {
  color: var(--sage);
}

.ft-logo__text {
  color: inherit !important;
}

.ft-logo__text > span {
  color: var(--sage);
}

.ft-logo__image {
  display: block;
  width: clamp(165px, 19vw, 280px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}
.ft-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.ft-links a {
  font-family: var(--din);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
}
.ft-links a:hover {
  color: var(--white);
}
.ft-copy {
  font-family: var(--din);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}
.ft-tag {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.12);
  margin-top: 8px;
}

/* ── REVEAL ANIMATIONS ── */
.imagemill-scroll-line,
.hero-scroll-line.imagemill-scroll-line,
.art-scroll-line.imagemill-scroll-line,
.story-single .art-scroll-line.imagemill-scroll-line,
.work-single-hero__scroll .imagemill-scroll-line {
  position: relative;
  width: 1px;
  height: 40px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  animation: none !important;
}

.imagemill-scroll-line::after {
  position: absolute;
  top: -100%;
  right: 0;
  left: 0;
  height: 100%;
  background: var(--sage);
  content: "";
  animation: imagemill-scroll-down 2s 2s infinite;
}

.imagemill-scroll-label,
.hero-scroll-lbl.imagemill-scroll-label,
.hero-scroll-txt.imagemill-scroll-label,
.art-scroll-txt.imagemill-scroll-label,
.story-single .art-scroll-txt.imagemill-scroll-label,
.work-single-hero__scroll .imagemill-scroll-label {
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--din);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@keyframes imagemill-scroll-down {
  0% {
    top: -100%;
  }

  100% {
    top: 200%;
  }
}

@media (max-width: 768px) {
  .imagemill-scroll-line,
  .hero-scroll-line.imagemill-scroll-line,
  .art-scroll-line.imagemill-scroll-line,
  .story-single .art-scroll-line.imagemill-scroll-line,
  .work-single-hero__scroll .imagemill-scroll-line {
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .imagemill-scroll-line::after {
    top: 0;
    height: 100%;
    opacity: 0.55;
    animation: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-l {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.on,
.reveal-l.on {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
  .ph-grid,
  .sh-2col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .ft-in {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }
  .ph-stats {
    gap: 24px;
  }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  padding: 72px var(--g) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.ft-in {
  display: block;
  max-width: var(--max);
  margin: 0 auto;
}
.ft-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 32px;
}
.ft-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 14px;
}
.ft-logo span {
  color: var(--sage);
}
.ft-brand p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.32);
  max-width: 250px;
  margin-bottom: 26px;
}
.ft-socials {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ft-socials--mobile {
  display: none;
}

.ft-col .ft-socials {
  margin-top: 18px;
}

.ft-col .ft-s {
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--din);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ft-s {
  font-family: var(--din);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transition: color 0.2s;
}
.ft-s:hover {
  color: var(--sage);
}
.ft-col h2 {
  font-family: var(--din);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  margin-bottom: 18px;
  font-weight: 400;
}
.ft-col ul {
  list-style: none;
}
.ft-col li {
  margin-bottom: 10px;
}
.ft-col a {
  font-family: var(--body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s;
}
.ft-col a:hover {
  color: var(--sage);
}

.ft-certification-logos {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-top: 30px;
}

.ft-col .ft-certification-logo {
  display: block;
  flex: 0 0 auto;
  color: inherit;
  line-height: 0;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

.ft-col .ft-certification-logo:hover,
.ft-col .ft-certification-logo:focus-visible {
  opacity: 1;
}

.ft-certification-logo__image {
  display: block;
  width: auto;
  height: 96px;
}

.ft-certification-logo--one-percent .ft-certification-logo__image {
  height: 108px;
}

.ft-certification-logo--bcorp {
  transform: translateY(-6px);
}

.ft-address {
  display: inline-block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--din);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ft-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ft-copy {
  font-family: var(--din);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.14);
  letter-spacing: 0.04em;
}
.ft-tag {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.28);
}

.ft-certifications {
  font-family: var(--din);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.14);
}

.ft-certifications a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ft-certifications a:hover {
  color: var(--sage);
}

.ft-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.ft-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
}

.ft-legal a {
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--din);
  font-size: 9px;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.ft-legal a:hover {
  color: var(--sage);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 56px var(--g) 32px;
  }

  .ft-logo__image {
    width: clamp(145px, 44vw, 190px);
    max-height: 40px;
  }

  .ft-in {
    width: 100%;
    min-width: 0;
  }

  .ft-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
    padding-bottom: 40px;
    margin-bottom: 28px;
  }

  .ft-brand,
  .ft-top > .ft-col:last-child {
    grid-column: 1 / -1;
  }

  .ft-brand p {
    max-width: 100%;
  }

  .ft-socials--desktop {
    display: none;
  }

  .ft-socials--mobile {
    display: flex;
  }

  .ft-certification-logos {
    gap: 22px;
    margin-top: 24px;
  }

  .ft-certification-logo__image {
    height: 82px;
  }

  .ft-certification-logo--one-percent .ft-certification-logo__image {
    height: 92px;
  }

  .ft-certification-logo--bcorp {
    transform: translateY(-5px);
  }

  .ft-bot {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 14px;
  }

  .ft-copy {
    white-space: normal;
  }

  .ft-tag {
    font-size: 13px;
  }

  .ft-legal,
  .ft-legal ul {
    width: 100%;
    justify-content: flex-start;
  }
}

/* 7Cs Network */
.seven-cs-network {
  width: 100%;
  padding: clamp(60px, 8vw, 110px) var(--g);
  background: var(--white);
  overflow: hidden;
}

.seven-cs-network__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.seven-cs-network__figure {
  width: 100%;
  max-width: 1080px;
  margin: clamp(32px, 5vw, 64px) auto 0;
}

.seven-cs-page .seven-cs-network__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .seven-cs-network {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .seven-cs-network__figure {
    margin-top: 32px;
  }
}
/* Work / Stories use Home's subtle entrance rhythm. Added by JS so new
   content remains visible when scripts are unavailable. */
:is(.work-archive, .work-single, .stories-page, .story-single) .im-content-reveal.im-content-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease var(--im-reveal-delay, 0ms),
    transform .7s ease var(--im-reveal-delay, 0ms);
}
:is(.work-archive, .work-single, .stories-page, .story-single) .im-content-reveal.im-content-reveal.on {
  opacity: 1;
  transform: none;
}
:is(.work-archive, .stories-page) :is(.proj-img, .story-card-img, .story-hero-img) {
  transition: transform .6s ease, filter .6s ease;
}
@media (hover: hover) and (pointer: fine) {
  .stories-page :is(.story-card, .story-hero):is(:hover, :focus-visible) :is(.story-card-img, .story-hero-img) {
    transform: scale(1.04);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.work-archive, .work-single, .stories-page, .story-single) .im-content-reveal.im-content-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  :is(.work-archive, .work-single, .stories-page, .story-single) :is(.proj-img, .story-card-img, .story-hero-img, .work-next__image, .story-next__image) {
    transform: none !important;
    transition: none !important;
  }
}
/* Instagram offers an explicit copy-and-open flow. */
.work-share:has(.instagram-share-help) { flex-wrap: wrap; }
.instagram-share-help { flex-basis: 100%; color: var(--grey); font-size: 14px; line-height: 1.6; }
.instagram-share-help[hidden] { display: none; }
.instagram-share-help p { margin: 0 0 8px; }
.instagram-share-help a { text-decoration: underline; }
