/* ==========================================================================
   BREEZEWINGS — PAGE: AI CREATIVE VISUALIZATION
   Reuses core tokens/components. Page-specific layout only.
   ========================================================================== */

/* ---------- page shell ---------- */
.visual {
  background: var(--ink);
}

.visual main {
  position: relative;
  overflow: clip;
}

/* ==========================================================================
   01 · HERO
   ========================================================================== */
.v-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(34px, 5.4vw, 76px));
  padding-bottom: clamp(48px, 6vw, 88px);
  overflow: hidden;
  isolation: isolate;
}

.v-hero-glow {
  position: absolute;
  z-index: -1;
  left: 42%;
  top: 6%;
  width: min(62vw, 900px);
  height: min(62vw, 900px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 163, 95, 0.11), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.v-hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image: linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 25% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 72%, transparent);
}

.v-hero-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.8vw, 54px);
}

.v-hero-hud {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  padding-bottom: clamp(14px, 2vw, 24px);
  border-bottom: 1px solid var(--line-soft);
}

.v-hero-hud .mono {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
}

.v-hud-mid {
  color: var(--text-3);
}

.v-hud-right {
  margin-left: auto;
}

.v-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.78fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
}

.v-hero-head {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 34px);
  min-width: 0;
}

.v-hero-kicker {
  color: var(--text-3);
}

.v-hero-title {
  font-size: clamp(2.35rem, 6.6vw, 6.8rem);
  line-height: 1.06;
  letter-spacing: 0.045em;
  color: #f7f3ec;
}

.v-hero-title .line-mask {
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.v-hero-side {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 28px);
  padding-bottom: clamp(4px, 1vw, 14px);
  min-width: 0;
}

.v-hero-statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.34rem, 1.95vw, 1.82rem);
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--text);
}

.v-hero-desc {
  max-width: 40ch;
  color: var(--text-2);
}

.v-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 30px);
  padding-top: clamp(4px, 0.8vw, 10px);
}

/* hero media */
.v-hero-media {
  margin: 0;
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
}

.v-hero-media-bar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding: 12px 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}

.v-hero-media-bar .mono {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--text-3);
}

.v-hero-media-bar .mono b {
  font-weight: 500;
  color: var(--gold);
}

.v-hero-media-bar .mono:nth-child(2) {
  margin-left: auto;
}

.v-hero-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--line-soft);
  border-top: 0;
}

.v-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  transform: scale(var(--zoom, 1));
  transition: filter 0.7s var(--ease);
  filter: saturate(0.94) contrast(1.02);
}

.v-hero-media:hover .v-hero-frame img {
  filter: saturate(1.04) contrast(1.03);
}

.v-hero-frame-grad {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 7, 9, 0.28) 0%, transparent 22%, transparent 74%, rgba(7, 7, 9, 0.62) 100%),
    linear-gradient(90deg, rgba(7, 7, 9, 0.22), transparent 18%);
}

.v-hero-frame-tag {
  position: absolute;
  z-index: 2;
  left: clamp(12px, 1.6vw, 22px);
  bottom: clamp(10px, 1.4vw, 18px);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  color: rgba(243, 239, 232, 0.66);
}

.v-hero-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 12px;
}

.v-hero-cap-text {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

.v-hero-cap-hint {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--text-3);
  transition: color 0.4s;
}

.v-hero-media:hover .v-hero-cap-hint {
  color: var(--gold-bright);
}

.v-hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}

.v-scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-3);
  transition: color 0.4s;
}

.v-scroll:hover {
  color: var(--gold-bright);
}

.v-scroll-line {
  position: relative;
  display: block;
  width: clamp(48px, 5vw, 76px);
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.v-scroll-line i {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: v-scroll-line 2.8s var(--ease-io) infinite;
}

@keyframes v-scroll-line {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.v-scroll .mono,
.v-hero-foot-meta {
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  color: var(--text-3);
}

/* ==========================================================================
   02 · CASE SHEETS (paper light table)
   ========================================================================== */
.v-cases {
  position: relative;
  padding-block: clamp(78px, 10vw, 142px);
  overflow: hidden;
  isolation: isolate;
}

.v-cases::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(92% 48% at 52% 0%, rgba(255, 250, 240, 0.62), transparent 64%),
    linear-gradient(180deg, rgba(23, 21, 15, 0.04), transparent 16%, transparent 86%, rgba(23, 21, 15, 0.035));
  pointer-events: none;
}

.v-cases::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='vp'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23vp)' opacity='0.32'/%3E%3C/svg%3E");
  background-size: 190px 190px;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.v-cases-head {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 5.4vw, 100px);
  align-items: end;
  padding-bottom: clamp(34px, 4.6vw, 60px);
  border-bottom: 1px solid var(--ink-line-soft);
  margin-bottom: clamp(34px, 4.6vw, 62px);
}

.v-cases-head-main {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 34px);
  min-width: 0;
}

.v-cases-title {
  color: var(--ink-text);
}

.v-cases-head-side {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
  padding-bottom: 6px;
  min-width: 0;
}

.v-cases-head-side .lead {
  color: var(--ink-text-2);
  max-width: 44ch;
}

.v-cases-head-side .meta-row {
  color: var(--ink-text-3);
}

.v-cases-count {
  color: var(--ink-text);
}

.v-cases-count b {
  font-weight: 500;
  color: var(--ink-text);
}

.v-cases-progress {
  position: relative;
  width: min(240px, 100%);
  height: 1px;
  background: var(--ink-line);
  overflow: hidden;
}

.v-cases-progress span {
  display: block;
  height: 100%;
  width: 12.5%;
  background: var(--ink-text);
  transition: width 0.5s var(--ease);
}

.v-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 64px) clamp(24px, 3.2vw, 52px);
}

.v-case {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 20px);
  cursor: zoom-in;
  min-width: 0;
}

.v-case-media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.1vw, 16px);
  background: var(--paper-card);
  border: 1px solid rgba(23, 21, 15, 0.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 30px 54px -44px rgba(23, 21, 15, 0.6);
  overflow: hidden;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.v-case-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.93) contrast(1.02);
  transition: transform 0.95s var(--ease), filter 0.7s var(--ease);
}

.v-case:hover .v-case-media {
  transform: translateY(-5px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 40px 70px -46px rgba(23, 21, 15, 0.7);
}

.v-case:hover .v-case-media img {
  transform: scale(1.022);
  filter: saturate(1.02) contrast(1.03);
}

.v-case:focus-visible {
  outline: 1px solid var(--ink-text);
  outline-offset: 8px;
}

.v-case-cap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
}

.v-case-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.v-case-no {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--ink-text);
}

.v-case-shots {
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--ink-text-3);
}

.v-case-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.24rem, 1.7vw, 1.62rem);
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--ink-text);
}

.v-case-desc {
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--ink-text-2);
  max-width: 38ch;
}

.v-case-hint {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--ink-text-3);
  transition: color 0.4s var(--ease);
}

.v-case:hover .v-case-hint,
.v-case:focus-visible .v-case-hint {
  color: var(--ink-text);
}

/* ==========================================================================
   03 · PROCESS
   ========================================================================== */
.v-process {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}

.v-process .section-head {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: clamp(26px, 3.4vw, 44px);
}

.v-process .head-side {
  gap: 22px;
}

.v-steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: clamp(30px, 4vw, 54px);
}

.v-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(64px, 0.42fr) minmax(0, 1.7fr) minmax(96px, 0.42fr);
  gap: clamp(18px, 3vw, 54px);
  align-items: start;
  padding-block: clamp(26px, 3.4vw, 46px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.6s var(--ease);
}

.v-step-no {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 0.86;
  letter-spacing: 0.04em;
  color: var(--text-4);
  transition: color 0.6s var(--ease);
}

.v-step-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.v-step-title {
  color: var(--text);
  transition: color 0.6s var(--ease);
}

.v-step-desc {
  font-size: clamp(0.84rem, 0.95vw, 0.92rem);
  line-height: 1.9;
  color: var(--text-2);
  max-width: 52ch;
}

.v-step-tag {
  justify-self: end;
  padding-top: 0.5em;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  color: var(--text-4);
  transition: color 0.6s var(--ease);
}

.v-step-line {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.9s var(--ease);
}

.v-step:hover .v-step-no {
  color: var(--gold);
}

.v-step:hover .v-step-line {
  width: 100%;
}

.v-step:hover .v-step-tag {
  color: var(--text-2);
}

/* ==========================================================================
   04 · CLOSING
   ========================================================================== */
.v-closing {
  position: relative;
  padding-block: clamp(96px, 13vw, 190px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
}

.v-closing-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.v-closing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  filter: brightness(0.46) saturate(0.86) contrast(1.02);
  transform: scale(1.04);
}

.v-closing-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 9, 0.94) 0%, rgba(7, 7, 9, 0.7) 46%, rgba(7, 7, 9, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 7, 9, 0.6), transparent 34%, rgba(7, 7, 9, 0.82) 100%);
}

.v-closing-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 2.8vw, 32px);
}

.v-closing-title {
  font-size: clamp(2.35rem, 6.2vw, 6.4rem);
  line-height: 1.06;
  letter-spacing: 0.045em;
}

.v-closing-title .line-mask {
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.v-closing-desc {
  color: var(--text-2);
  max-width: 38ch;
}

.v-closing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 30px);
  padding-top: clamp(4px, 1vw, 14px);
}

.v-closing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: clamp(18px, 3vw, 44px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  width: min(100%, 720px);
}

.v-closing-meta .mono {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--text-4);
}

/* ---------- clearance for the fixed chapter rail (desktop) ---------- */
@media (min-width: 1201px) {
  .visual main .wrap {
    padding-right: calc(var(--gutter) + clamp(48px, 5vw, 70px));
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .v-hero-top {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
    gap: clamp(24px, 4vw, 56px);
  }
}

@media (max-width: 1000px) {
  .v-hero-top {
    grid-template-columns: 1fr;
    gap: clamp(26px, 4vw, 40px);
    align-items: start;
  }
  .v-hero-side {
    max-width: 620px;
    padding-bottom: 0;
  }
  .v-hero-statement {
    font-size: clamp(1.3rem, 3.4vw, 1.7rem);
  }
  .v-cases-head {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 34px);
  }
  .v-cases-head-side {
    max-width: 640px;
  }
}

@media (max-width: 900px) {
  .v-hud-mid {
    display: none;
  }
  .v-step {
    grid-template-columns: 72px minmax(0, 1fr);
    row-gap: 10px;
  }
  .v-step-no {
    grid-row: 1 / span 2;
    padding-top: 0.1em;
  }
  .v-step-tag {
    grid-column: 2;
    justify-self: start;
    padding-top: 0;
  }
  .v-step-desc {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .v-hero-media-bar .mono:nth-child(3) {
    display: none;
  }
  .v-hero-media-bar .mono:nth-child(2) {
    margin-left: auto;
  }
  .v-hero-frame {
    aspect-ratio: 16 / 9;
  }
  .v-case-grid {
    grid-template-columns: 1fr;
    gap: clamp(30px, 7vw, 44px);
  }
  .v-case-media {
    aspect-ratio: 1 / 1;
  }
  .v-closing {
    padding-block: clamp(84px, 16vw, 130px);
  }
  .v-closing-title {
    font-size: clamp(2.1rem, 8.4vw, 3.2rem);
  }
}

@media (max-width: 560px) {
  .v-hero {
    padding-top: calc(var(--nav-h) + clamp(22px, 6vw, 34px));
  }
  .v-hero-hud .mono {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
  }
  .v-hero-title {
    font-size: clamp(2.1rem, 10.6vw, 2.9rem);
    letter-spacing: 0.03em;
  }
  .v-hero-statement {
    font-size: clamp(1.18rem, 5vw, 1.44rem);
  }
  .v-hero-media-bar {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .v-hero-media-bar .mono {
    font-size: 0.52rem;
    letter-spacing: 0.14em;
  }
  .v-hero-media-bar .mono:nth-child(2) {
    margin-left: 0;
  }
  .v-hero-cap-text {
    font-size: 0.72rem;
  }
  .v-hero-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .v-step {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding-block: 24px;
  }
  .v-step-no {
    font-size: 1.75rem;
  }
  .v-cases-count {
    margin-left: 0;
  }
  .v-cases-progress {
    width: 100%;
  }
  .v-closing-meta {
    width: 100%;
  }
}


/* ---------- lightbox sizing on this page ---------- */
@media (max-width: 760px) {
  .visual .lightbox {
    padding: 14px 12px 18px;
  }
  .visual .lightbox-figure {
    gap: 10px;
  }
  .visual .lightbox-stage {
    aspect-ratio: 4 / 5;
    max-height: 74vh;
  }
  .visual .lightbox-bar {
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 0.56rem;
  }
  .visual .lightbox-close {
    top: -42px;
  }
  .visual .lightbox-arrow {
    width: 40px;
    height: 40px;
  }
}

/* ---------- reduced motion: keep hero image steady ---------- */
@media (prefers-reduced-motion: reduce) {
  .v-hero-frame img {
    transform: none !important;
  }
  .v-scroll-line i {
    animation: none;
    transform: none;
  }
}