:root { --ease-out: cubic-bezier(.22,.61,.36,1); }
h2 { font-weight: 550; }
.about-copy { grid-template-columns: 1fr; gap: 16px; }
.service-content { grid-template-columns: 1fr; }
.collective-disciplines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.collective-disciplines li { border-top: 1px solid var(--line); padding-top: 14px; font-size: .93rem; }
.team { border-top: 1px solid var(--line); }
.project-meta h3 { font-weight: 550; font-size: clamp(1.35rem, 1.8vw, 1.7rem); }
.project-photo {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.project-photo:focus-visible { outline: 2px solid var(--red); outline-offset: 7px; }
.project-photo img { transform: scale(1); transition: transform 900ms var(--ease-out); }
#project-xgimi .project-photo img { scale: 1.14; object-position: 50% 50%; }
#project-mori .project-photo img { object-position: 50% 28%; }
.photo-tag {
  border-radius: 0;
  padding: 7px 10px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform 500ms var(--ease-out);
}
.project-view {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 17px;
  background: var(--cream);
  color: var(--ink);
  padding: 9px 12px;
  font-size: .75rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 350ms var(--ease-out), transform 500ms var(--ease-out);
}
.project-view svg { flex: none; }
.project-photo:focus-visible .project-view { opacity: 1; transform: none; }
.project-photo:focus-visible img { transform: scale(1.01); }
.archive-head { display: grid; grid-template-columns: clamp(84px, 11vw, 148px) minmax(0, 1fr); gap: clamp(12px, 1.5vw, 22px); align-items: center; }
.archive-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #d7d1c6; }
.archive-head h3 { margin-bottom: 4px; }
.project-details summary, .portfolio-archive>summary { transition: color 220ms ease, padding 350ms var(--ease-out); }
.project-details>div { animation: detail-enter 450ms var(--ease-out); }
.service-content ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.service-content li { border: 0; border-radius: 0; padding: 2px 0; }
.service-content li::before { content: '—'; color: var(--red); margin-right: 10px; }
.service-rows h3 { transition: transform 450ms var(--ease-out); }
.service-rows .detail-icon { transition: transform 450ms var(--ease-out); }
.form-primary, .form-back, .nav-inquiry {
  transition: transform 350ms var(--ease-out), color 250ms ease, background 250ms ease, box-shadow 350ms var(--ease-out);
}
.round-link .circle { transition: transform 450ms var(--ease-out), background 250ms ease, color 250ms ease; }
.round-link .circle svg { transition: transform 450ms var(--ease-out); }
.hero-featured { transition: border-color 300ms ease; }
.hero-featured strong { transition: transform 500ms var(--ease-out); }
.closing-link { transition: color 250ms ease, padding-right 450ms var(--ease-out); }
.footer-contact a { transition: opacity 250ms ease; }
.reveal-ready {
  opacity: 0;
  transform: none;
  transition: opacity 600ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-ready.is-visible { opacity: 1; transform: none; }
@keyframes detail-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .project-photo:hover img { transform: scale(1.025); }
  .project-photo:hover .project-view { opacity: 1; transform: none; }
  .project-photo:hover .photo-tag { transform: translateY(-3px); }
  .project-details summary:hover, .portfolio-archive>summary:hover { color: var(--red); padding-left: 7px; padding-right: 7px; }
  .service-rows summary:hover h3 { transform: translateX(6px); }
  .service-rows summary:hover .detail-icon { transform: rotate(90deg); }
  .service-rows details[open] summary:hover .detail-icon { transform: none; }
  .form-primary:not(:disabled):hover { transform: none; box-shadow: 0 6px 15px #4a00001c; }
  .form-back:not(:disabled):hover { transform: none; }
  .header nav .nav-inquiry:hover { background: var(--cream); color: var(--red); transform: none; }
  .round-link:hover .circle { transform: scale(1.03); }
  .round-link:hover .circle svg { transform: translate(2px,-2px); }
  .hero-featured:hover { border-color: var(--cream); }
  .hero-featured:hover strong { transform: translateX(4px); text-decoration: none; }
  .closing-link:hover { color: var(--red); padding-right: 12px; }
  .footer-contact a:hover { opacity: .72; }
}
@media (hover: none) {
  .project-photo:hover img { transform: none; }
  .project-view { opacity: 1; transform: none; padding: 7px 9px; gap: 10px; font-size: .67rem; }
}
@media (max-width: 700px) {
  .collective-disciplines { grid-template-columns: 1fr 1fr; font-size: .85rem; }
  .project-grid { gap: 44px; }
  .photo-tag { font-size: .59rem; padding: 6px 8px; }
  .service-content ul { grid-template-columns: 1fr; }
  .project-view { right: 12px; bottom: 12px; }
  .project-view svg { display: none; }
}
/* Independent, tactile modules within the existing cream-and-red palette. */
.service-rows { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; border: 0; align-items: start; }
.service-rows details,.collective-grid article,.project { position: relative; isolation: isolate; border: 1px solid var(--line); background: #f7f4ed; transition: border-color 350ms ease, box-shadow 450ms ease; }
.service-rows details { padding: 27px; min-height: 180px; }
.service-rows summary { align-items: flex-start; justify-content: space-between; gap: 18px; padding: 0; min-height: 104px; }
.service-rows h3 { font-size: clamp(1.4rem,2.3vw,2.1rem); line-height: 1.15; max-width: 12ch; }
.service-rows .detail-icon { flex: none; margin: 5px 0 0; }
.service-content { margin: 0; padding: 12px 0 0; gap: 0; }
.service-content ul { grid-template-columns: 1fr; gap: 8px; }
.service-content li { font-size: .85rem; }
.service-rows details[open] { border-top-color: var(--red); }
.project { padding: 18px; min-width: 0; }
.project:nth-child(even) { margin-top: 0; }
.project>p { font-size: .92rem; }
.project-details { border-bottom: 0; margin-bottom: 0; }
.project-details>div { padding-bottom: 8px; }
.project-meta h3 { font-size: clamp(1.25rem,1.7vw,1.6rem); }
.collective-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,70px); margin-bottom: 36px; }
.collective-intro .lead { font-size: clamp(1.2rem,2vw,1.65rem); line-height: 1.5; max-width: 35ch; }
.collective-intro>p:last-child { color: var(--muted); font-size: .97rem; line-height: 1.75; max-width: 58ch; }
.collective-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.collective-grid article { padding: 28px 24px; border-top-color: var(--red); }
.collective-grid h3 { font-size: 1.35rem; font-weight: 550; line-height: 1.25; letter-spacing: -.03em; margin-bottom: 28px; max-width: 15ch; }
.collective-grid p { font-size: .87rem; line-height: 1.65; color: var(--muted); }
.service-rows details:focus-within,.project:focus-within { border-color: var(--red); }
.reel-explore { transition: background .35s ease, color .35s ease, box-shadow .35s ease; }
.reel-explore svg { transition: transform .45s var(--ease-out); }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .service-rows details::before,.collective-grid article::before,.project::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(320px circle at var(--mouse-x,50%) var(--mouse-y,50%),#a508120d,transparent 85%); opacity: 0; transition: opacity 400ms ease; }
  .service-rows details:hover::before,.collective-grid article:hover::before,.project:hover::before { opacity: 1; }
  .service-rows details:hover,.collective-grid article:hover,.project:hover { border-color: #a5081280; box-shadow: 0 9px 30px #30251b09; }
  .project-photo img { transition: transform 900ms var(--ease-out); }
  .project-photo:hover img { transform: translate(var(--image-x,0px),var(--image-y,0px)) scale(1.045); }
  .project-photo:hover .project-view { transform: translate(var(--badge-x,0px),var(--badge-y,0px)); }
  .service-rows summary:hover h3 { transform: translateX(3px); }
  .collective-grid h3 { transition: color 350ms ease, transform 450ms var(--ease-out); }
  .collective-grid article:hover h3 { color: var(--red); transform: translateY(-3px); }
  .reel-explore:hover svg { transform: translate(4px,-4px); }
  .form-primary:not(:disabled):hover,.form-back:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 7px 18px #4a00001c; }
  .partner-logo img { transition: transform 450ms var(--ease-out); }
  .partner-logo:hover img { transform: scale(1.07); }
  .archive-photo { transition: filter 500ms ease; }
  .archive-grid article:hover .archive-photo { filter: saturate(1.12) contrast(1.04); }
}
@media (max-width:1100px) { .collective-grid { grid-template-columns: 1fr 1fr; } .service-rows details { padding: 22px; } }
@media (max-width:700px) {
  .service-rows { grid-template-columns: 1fr; gap: 12px; }
  .service-rows details { min-height: 0; padding: 24px; }
  .service-rows summary { min-height: 0; align-items: center; }
  .service-rows h3 { max-width: none; font-size: 1.55rem; }
  .service-content { padding-top: 22px; }
  .project { padding: 12px; }
  .project-grid { gap: 24px; }
  .collective-intro { grid-template-columns: 1fr; gap: 20px; }
  .collective-grid { grid-template-columns: 1fr; gap: 12px; }
  .collective-grid article { padding: 26px; }
  .collective-grid h3 { max-width: none; margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
  .project-photo:hover img, .project-photo:focus-visible img { transform: none !important; }
}
