/* ii world — Content Pages (About, Contact, Lookbook, 404) */

/* ========== About Page ========== */
.about-page {
  padding: 40px 20px 80px;
}

@media (min-width: 768px) {
  .about-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 40px 120px;
  }
}

.about-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .about-header { margin-bottom: 80px; }
}

.about-header__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 12px;
}

.about-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
}

.about-intro {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-intro__text {
  font-family: var(--font-editorial);
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.about-values { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 60px; }

@media (min-width: 768px) {
  .about-values { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

.about-value__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; margin-bottom: 12px; }

.about-value__text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 60px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-section { grid-template-columns: 1fr 1fr; gap: 60px; }
  .about-section--reverse { direction: rtl; }
  .about-section--reverse > * { direction: ltr; }
}

.about-section__image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-bg-card);
}

.about-section__image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.about-section--full { grid-template-columns: 1fr; }
.about-section__image--wide { aspect-ratio: 21/9; }
.about-section__image--wide img { height: 100%; object-fit: cover; object-position: center; }

.about-section__content { padding: 20px 0; }

.about-section__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 16px;
}

.about-section__text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.about-pullquote {
  font-family: var(--font-editorial);
  font-style: normal;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 60px auto;
  padding: 40px 20px;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

/* ========== Contact Page ========== */
.contact-page {
  padding: 40px 20px 80px;
}

@media (min-width: 768px) {
  .contact-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 40px 120px;
  }
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .contact-header { margin-bottom: 64px; }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 60px; }
}

.contact-info__item {
  margin-bottom: 32px;
}

.contact-info__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 8px;
}

.contact-info__value {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-info__value a { transition: color 0.2s; padding: 8px 0; display: inline-block; -webkit-tap-highlight-color: transparent; }
.contact-info__value a:hover { color: var(--color-text); }
@media (min-width: 1025px) {
  .contact-info__value a { padding: 0; display: inline; }
}

.contact-form { min-width: 0; }

/* ========== Lookbook Page ========== */
.lookbook-page {
  padding: 40px 20px 80px;
}

@media (min-width: 768px) {
  .lookbook-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 40px 120px;
  }
}

.lookbook-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .lookbook-header { margin-bottom: 64px; }
}

.lookbook-header__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 12px;
}

.lookbook-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 16px;
}

.lookbook-header__intro {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Lookbook hero */
.lookbook-hero { position: relative; width: 100%; margin-bottom: 48px; overflow: hidden; }
.lookbook-hero__image { aspect-ratio: 16/9; }
.lookbook-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.lookbook-hero__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(0,0,0,0.25); color: #fff; padding: 20px; }
/* 2026-04-28 Typography slice — hero composition controls.
   data-text-position pins the overlay flex stack vertically.
   data-overlay tints the bg media for text legibility. Both attributes
   are emitted by render_section in _macros.html only when the admin
   explicitly picked a value; absence falls back to the baseline above. */
.lookbook-hero[data-text-position="top"] .lookbook-hero__overlay    { justify-content: flex-start; }
.lookbook-hero[data-text-position="center"] .lookbook-hero__overlay { justify-content: center; }
.lookbook-hero[data-text-position="bottom"] .lookbook-hero__overlay { justify-content: flex-end; }
.lookbook-hero[data-overlay="none"] .lookbook-hero__overlay   { background: transparent; }
.lookbook-hero[data-overlay="light"] .lookbook-hero__overlay  { background: rgba(0,0,0,0.18); }
.lookbook-hero[data-overlay="medium"] .lookbook-hero__overlay { background: rgba(0,0,0,0.35); }
.lookbook-hero[data-overlay="dark"] .lookbook-hero__overlay   { background: rgba(0,0,0,0.55); }
/* 2026-04-30 Typography slice — banner parity with hero. brand-statement
   now honors textPosition + overlayDarkness so admins can pin text to
   top/center/bottom and tint the bg media without leaving VB. Mirrors the
   lookbook-hero rules above. brand-statement has padding-based sizing
   (no fixed aspect-ratio), so when textPosition is set we force flex on
   the wrapper and a sensible min-height so the position rules can take
   effect against the bg media. The overlay tint is layered on the
   .brand-statement__bg::after pseudo so the bg image stays visible
   underneath. The __content wrapper only exists when section.image is
   present, so position rules for media-less banners fall back to the
   inherent text-align:center of the base .brand-statement (padding gives
   the natural vertical placement). */
.brand-statement[data-text-position] { display: flex; flex-direction: column; min-height: 60vh; }
.brand-statement[data-text-position] .brand-statement__content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.brand-statement[data-text-position="top"]    .brand-statement__content { justify-content: flex-start; }
.brand-statement[data-text-position="center"] .brand-statement__content { justify-content: center; }
.brand-statement[data-text-position="bottom"] .brand-statement__content { justify-content: flex-end; }
.brand-statement[data-overlay] .brand-statement__bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.25); pointer-events: none; }
.brand-statement[data-overlay="none"]   .brand-statement__bg::after { background: transparent; }
.brand-statement[data-overlay="light"]  .brand-statement__bg::after { background: rgba(0,0,0,0.18); }
.brand-statement[data-overlay="medium"] .brand-statement__bg::after { background: rgba(0,0,0,0.35); }
.brand-statement[data-overlay="dark"]   .brand-statement__bg::after { background: rgba(0,0,0,0.55); }
.lookbook-hero__label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.8; margin-bottom: 12px; }
.lookbook-hero__title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4rem); font-weight: 200; margin-bottom: 16px; }
.lookbook-hero__intro { font-family: var(--font-editorial); font-style: normal; font-size: 1.05rem; max-width: 500px; line-height: 1.6; opacity: 0.9; }
/* 2026-04-29 — Brand logo centering. The overlay is normally flex+align-items:center,
   but page-level overrides (e.g. .page-venera) switch it to display:block where
   `text-align: center` doesn't center block-level children. Forcing margin-inline: auto
   on the brand img + display:block so the logo always centers regardless of overlay layout. */
.lookbook-hero__brand,
.brand-statement__brand {
  display: block;
  margin-inline: auto;
  margin-bottom: 16px;
}
/* 2026-04-29 — Dark-bg variant. The bundled ii-wordmark.svg is filled #494848
   (mid-grey) so it's nearly invisible on dark heroes. When admin picks
   textColor=light in VB, the macro emits data-text-color="light" on the
   hero/banner root; CSS-invert turns the wordmark white. Saved-variant images
   are user-controlled so we leave them alone. */
.lookbook-hero[data-text-color="light"] .lookbook-hero__brand[src*="ii-wordmark"],
.brand-statement[data-text-color="light"] .brand-statement__brand[src*="ii-wordmark"] {
  filter: invert(1);
}
@media (min-width: 768px) { .lookbook-hero { margin-bottom: 64px; } .lookbook-hero__image { aspect-ratio: 21/9; } }

.lookbook-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .lookbook-section--image-left,
  .lookbook-section--image-right {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .lookbook-section--image-right .lookbook-section__image { order: 2; }
  .lookbook-section--image-right .lookbook-section__content { order: 1; }
}

.lookbook-section--full { width: 100%; }

.lookbook-section__image {
  overflow: hidden;
  background: var(--color-bg-card);
}

.lookbook-section__image img {
  width: 100%;
  height: auto;
  display: block;
}

.lookbook-section__image--wide { aspect-ratio: 16/10; }
.lookbook-section__image--wide img { height: 100%; object-fit: cover; object-position: top center; }

.lookbook-section__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 16px;
}

.lookbook-section__body {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.lookbook-fallback {
  text-align: center;
  padding: 60px 20px;
}

.lookbook-fallback__text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.lookbook-fallback__sub {
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
}

/* ========== 404 Page ========== */
.error-page {
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 100;
  color: var(--color-text-tertiary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-page__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 12px;
}

.error-page__msg {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 400px;
}

.error-page__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========== CMS Content Page (shipping, returns, privacy) ========== */
.cms-page {
  padding: 40px 20px 40px;
}

@media (min-width: 768px) {
  .cms-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 40px 60px;
  }
}

.cms-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .cms-header { margin-bottom: 64px; }
}

.cms-header__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 12px;
}

.cms-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
}

.cms-body {
  max-width: 720px;
  margin: 0 auto;
}

.cms-section {
  margin-bottom: 48px;
}

.cms-section__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 16px;
}

.cms-section__body {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
  white-space: pre-line;
}

/* ========== FAQ page ========== */
.cms-page .cms-body { max-width: 800px; }
.cms-page .cms-section {
  text-align: left;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 48px;
}
.cms-page .cms-section:last-child { border-bottom: none; }
.cms-page .cms-section__title { text-align: center; margin-bottom: 28px; font-size: 1.4rem; }
.cms-page .cms-section__body { text-align: left; white-space: normal; }
.cms-page .cms-section__body p { margin-bottom: 20px; }
.cms-page .cms-section__body strong {
  display: block;
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 6px;
  margin-top: 4px;
}
.cms-page .cms-section__body br { display: none; }
main:has(.cms-page) + .footer { margin-top: 0; }

@media (max-width: 767px) {
  .cms-page .cms-section { margin-bottom: 40px; padding-bottom: 36px; }
  .cms-page .cms-section__title { font-size: 1.2rem; margin-bottom: 20px; }
  .cms-page .cms-section__body strong { font-size: 0.95rem; }
}

/* ========== 3D Gallery ========== */
.gallery3d-hero {
  padding: calc(var(--nav-height) + 60px) 20px 40px;
  text-align: center;
}
.gallery3d-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.gallery3d-hero__subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
}
.gallery3d {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 0 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .gallery3d { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.gallery3d__item { display: flex; flex-direction: column; }
.gallery3d__ar-link { text-decoration: none; color: inherit; display: block; }
.gallery3d__viewer {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--color-bg-card, #f5f5f3);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
}
.gallery3d__poster { width: 100%; height: 100%; object-fit: cover; }
.gallery3d__badge {
  position: absolute; top: 12px; left: 12px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.7); color: #fff;
  padding: 6px 12px; font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
.gallery3d__ar-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.gallery3d__ar-link:hover .gallery3d__ar-overlay { background: rgba(0,0,0,0.3); }
.gallery3d__ar-text {
  opacity: 0; color: #fff; font-size: 0.8rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 10px 24px; transition: opacity 0.3s;
}
.gallery3d__ar-link:hover .gallery3d__ar-text { opacity: 1; }
.gallery3d__info { padding: 16px 0 0; }
.gallery3d__name {
  font-size: 0.85rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; margin: 0;
}

/* ========== Parallax Tilt Section ========== */
.parallax-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border-light);
}
.parallax-section__header { text-align: center; margin-bottom: 48px; }
.parallax-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300; letter-spacing: 0.1em;
  text-transform: uppercase; margin: 0 0 8px;
}
.parallax-section__subtitle {
  font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--color-text-tertiary); margin: 0;
}
.parallax-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 768px) {
  .parallax-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
@media (min-width: 1024px) {
  .parallax-grid { grid-template-columns: repeat(5, 1fr); gap: 24px; }
}
.parallax-card {
  display: block; text-decoration: none; color: inherit;
  transform-style: preserve-3d; will-change: transform;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.parallax-card__img-wrap {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--color-bg-card, #f5f5f3);
  border: 1px solid var(--color-border-light);
}
.parallax-card__img-inner {
  width: 100%; height: 100%; will-change: transform;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.parallax-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.parallax-card__shine {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.3s;
}
.parallax-card__info { padding: 12px 0 0; display: flex; flex-direction: column; gap: 2px; }
.parallax-card__collection {
  font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-text-tertiary);
}
.parallax-card__name {
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.parallax-card__price {
  font-size: 0.75rem; color: var(--color-text-secondary);
  letter-spacing: 0.05em;
}
