/* IMH Group public theme, 2026-11-25.
   References (structure only; copy is unchanged):
   - Okta hero: full-bleed photograph, quiet bar, large light headline.
   - PayPal About: warm paper, oversized headline, wide measure.
   - ASMOB (Framer): ivory field, tight display type, pill plus outline actions, rounded still.
   - Mistral AI: secondary actions carry an arrow.
   - Raw Materials: numbered capability cards with hairline frames.
   - Ramp: light bordered tiles.
   - Linear: near-black footer, small column labels.
   Type is a system stack. This file does not load a font CDN. */

body.atelier {
  --stone: #1c1814;
  --stone-dim: #4a453e;
  --stone-faint: #5c564e;
  --ink-elevated: #fffdf8;
  --border: rgba(28, 24, 20, 0.12);
  --border-hover: rgba(28, 24, 20, 0.32);
  --brass: #a67c3d;
  --brass-hover: #8d6428;
  --brass-soft: rgba(122, 78, 34, 0.1);
  --brass-muted: rgba(122, 78, 34, 0.35);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --content: 74rem;
  background: #f3eee6;
  background-image: none;
  color: #1c1814;
  font-family: var(--font-sans);
  overflow-x: clip;
}

html {
  overflow-x: clip;
}

body.atelier h1,
body.atelier h2,
body.atelier h3,
body.atelier .hero h1,
body.atelier .page-header h1,
body.atelier .section__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
}

body.atelier .hero,
body.atelier .site-footer,
body.atelier .cta-band {
  --stone: #f7f1e6;
  --stone-dim: #e6dccb;
  --stone-faint: #cfc3b0;
  --ink: #14110e;
  --ink-elevated: #1c1916;
  --border: rgba(247, 241, 230, 0.16);
  --border-hover: rgba(247, 241, 230, 0.42);
  color: #f7f1e6;
}

body.atelier .auth-shell,
body.atelier .admin-shell {
  --stone: #f4efe6;
  --stone-dim: #d9d0c3;
  --stone-faint: #b7ad9f;
  --ink: #14110e;
  --ink-elevated: #1c1916;
  --border: rgba(244, 239, 230, 0.14);
  color: #f4efe6;
}

/* Header — ivory bar, ink licensing pill (ASMOB / Okta) */
body.atelier .site-header {
  background: rgba(243, 238, 230, 0.94);
  border-bottom: 1px solid rgba(28, 24, 20, 0.08);
  box-shadow: 0 1px 0 rgba(255, 253, 248, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.atelier .site-header__inner {
  max-width: var(--content);
  padding: 0.7rem 1.5rem;
  gap: 1.25rem;
}

body.atelier .brand img {
  height: 2.15rem;
  filter: none;
}

body.atelier .nav-main a {
  color: #3f3832;
  font-size: 0.84rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

body.atelier .nav-main a:hover,
body.atelier .nav-main a[aria-current="page"] {
  color: #1c1814;
}

body.atelier .nav-main a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 #6b421c;
}

body.atelier .nav-cta {
  background: #1c1814 !important;
  color: #f7f1e6 !important;
  border: 1px solid #1c1814 !important;
  border-radius: 999px;
  padding: 0.45rem 0.95rem !important;
}

body.atelier .nav-cta:hover {
  background: #6b421c !important;
  border-color: #6b421c !important;
  color: #f7f1e6 !important;
}

/* Hero — photographic cover, large type (Okta + Mistral arrows) */
body.atelier .hero {
  min-height: min(86vh, 780px);
  align-items: end;
}

body.atelier .hero__shade {
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.18) 0%, rgba(12, 10, 8, 0.42) 46%, rgba(12, 10, 8, 0.9) 100%),
    linear-gradient(90deg, rgba(12, 10, 8, 0.78) 0%, rgba(12, 10, 8, 0.22) 62%, rgba(12, 10, 8, 0.12) 100%);
}

html[dir="rtl"] body.atelier .hero__shade {
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.18) 0%, rgba(12, 10, 8, 0.42) 46%, rgba(12, 10, 8, 0.9) 100%),
    linear-gradient(270deg, rgba(12, 10, 8, 0.78) 0%, rgba(12, 10, 8, 0.22) 62%, rgba(12, 10, 8, 0.12) 100%);
}

body.atelier .hero__inner {
  padding: 7rem 1.5rem 4.25rem;
}

body.atelier .hero__brand {
  width: min(240px, 64vw);
  margin-bottom: 1.35rem;
}

body.atelier .hero h1 {
  font-size: clamp(2.85rem, 6.2vw, 5.35rem);
  line-height: 0.96;
  max-width: 11.5ch;
  margin: 0 0 1.1rem;
  color: #f7f1e6;
}

body.atelier .hero__sub {
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #f3eadc;
  margin-bottom: 1.75rem;
}

body.atelier .btn {
  border-radius: 999px;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  font-weight: 600;
}

body.atelier .hero .btn--brass {
  background: #f7f1e6;
  color: #1c1814;
  border-color: #f7f1e6;
}

body.atelier .hero .btn--brass:hover {
  background: #fffdf8;
  color: #1c1814;
}

body.atelier .hero .btn--ghost {
  color: #f7f1e6;
  border-color: rgba(247, 241, 230, 0.55);
  background: transparent;
}

body.atelier .hero .btn--ghost::after {
  content: " \2192";
}

html[dir="rtl"] body.atelier .hero .btn--ghost::after {
  content: "\2190 ";
}

body.atelier .hero .btn--ghost:hover {
  color: #1c1814;
  background: #f7f1e6;
  border-color: #f7f1e6;
}

body.atelier .btn--brass {
  background: #1c1814;
  color: #f7f1e6;
  border-color: #1c1814;
}

body.atelier .btn--brass:hover {
  background: #6b421c;
  border-color: #6b421c;
  color: #f7f1e6;
}

body.atelier .btn--ghost {
  color: #1c1814;
  border-color: rgba(28, 24, 20, 0.28);
  background: transparent;
}

body.atelier .btn--ghost:hover {
  color: #1c1814;
  border-color: #1c1814;
  background: transparent;
}

/* Paper sections (PayPal measure + Raw Materials cards) */
body.atelier .section {
  padding: 4.75rem 1.5rem;
}

body.atelier .section__head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

body.atelier .section__head h2,
body.atelier .page-header h1,
body.atelier .house-band__copy h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  color: #1c1814;
  margin: 0.35rem 0 0.85rem;
}

body.atelier .eyebrow,
body.atelier .eyebrow-chip {
  color: #6b421c;
  letter-spacing: 0.16em;
}

body.atelier .lead,
body.atelier .section__head p,
body.atelier .pillars p,
body.atelier .house-band__copy p,
body.atelier .prose-sections p,
body.atelier .legal-doc p,
body.atelier .legal-doc li {
  color: #3f3933;
  line-height: 1.6;
}

body.atelier .pillars {
  counter-reset: imh-pillar;
  gap: 0.9rem;
}

body.atelier .pillars > li {
  counter-increment: imh-pillar;
  background: #fffdf8;
  border: 1px solid rgba(28, 24, 20, 0.1);
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: 0 14px 36px rgba(28, 24, 20, 0.05);
}

body.atelier .pillars > li::before {
  content: counter(imh-pillar, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #6b421c;
}

body.atelier .pillars h3 {
  font-size: 1.35rem;
  color: #1c1814;
  margin: 0 0 0.45rem;
}

body.atelier .atmosphere {
  background: transparent;
  padding-bottom: 0.5rem;
}

body.atelier .atmosphere__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  overflow: visible;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  scroll-snap-type: none;
}

body.atelier .atmosphere__track figure {
  flex: none;
  width: auto;
  min-width: 0;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 28px rgba(28, 24, 20, 0.08);
}

body.atelier .house-band {
  gap: 2.75rem;
  padding: 1rem 1.5rem 4.5rem;
}

body.atelier .house-band__visual {
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(28, 24, 20, 0.12);
}

body.atelier .ref-carousel__card,
body.atelier .film-card,
body.atelier .partner-list__item {
  background: #fffdf8;
  color: #1c1814;
  border: 1px solid rgba(28, 24, 20, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(28, 24, 20, 0.05);
}

body.atelier .film-card__title,
body.atelier .film-card__title a,
body.atelier .ref-carousel__name,
body.atelier .partner-list__name {
  color: #1c1814;
}

body.atelier .film-card__synopsis,
body.atelier .film-card__director,
body.atelier .film-card__country,
body.atelier .ref-carousel__role,
body.atelier .ref-carousel__host,
body.atelier .partner-list__role {
  color: #4a453e;
}

body.atelier .teaser-grid,
body.atelier .archive-grid {
  gap: 1rem;
}

body.atelier .ref-carousel,
body.atelier .ref-carousel__viewport {
  max-width: 100%;
}

body.atelier .ref-carousel__viewport {
  overflow: hidden;
}

body.atelier .ref-carousel__btn,
body.atelier .ref-carousel__dot {
  background: #fffdf8;
  color: #1c1814;
  border: 1px solid rgba(28, 24, 20, 0.18);
}

body.atelier .ref-carousel__status {
  color: #4a453e;
}

body.atelier .page {
  padding-top: 3.25rem;
}

body.atelier .page-header {
  max-width: 44rem;
}

body.atelier .pullquote {
  color: #1c1814;
  border-inline-start: 2px solid #6b421c;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.25;
}

body.atelier .partner-list__item {
  box-shadow: none;
  border-radius: 0;
  border-inline: 0;
  border-top: 0;
  padding: 1.15rem 0.15rem;
}

body.atelier .page form,
body.atelier .contact-aside {
  background: #fffdf8;
  border: 1px solid rgba(28, 24, 20, 0.1);
  border-radius: 20px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 14px 36px rgba(28, 24, 20, 0.05);
}

body.atelier .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
  gap: 1.25rem;
  align-items: start;
}

body.atelier input[type="text"],
body.atelier input[type="email"],
body.atelier input[type="search"],
body.atelier input[type="password"],
body.atelier input[type="tel"],
body.atelier input[type="url"],
body.atelier select,
body.atelier textarea {
  background: #fff;
  color: #1c1814;
  border: 1px solid rgba(28, 24, 20, 0.2);
  border-radius: 12px;
  min-height: 2.85rem;
}

body.atelier .form-row label,
body.atelier .archive-filters label {
  color: #3f3933;
}

body.atelier .empty-state {
  color: #4a453e;
  border-color: rgba(28, 24, 20, 0.18);
  background: #fffdf8;
}

/* Closing band and footer (Linear columns on ink) */
body.atelier .cta-band {
  background: #14110e;
  margin: 0;
  padding: 0;
}

body.atelier .cta-band__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 4.25rem 1.5rem;
  gap: 2rem;
}

body.atelier .cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f7f1e6;
  margin: 0 0 0.55rem;
}

body.atelier .cta-band__body {
  color: #e6dccb;
  max-width: 38rem;
}

body.atelier .cta-band .btn--brass {
  background: #f7f1e6;
  color: #1c1814;
  border-color: #f7f1e6;
}

body.atelier .cta-band .btn--brass:hover {
  background: #fffdf8;
  color: #1c1814;
}

body.atelier .site-footer {
  background: #14110e;
  color: #f7f1e6;
  border-top: 1px solid rgba(247, 241, 230, 0.08);
  padding: 3.25rem 0 1.4rem;
}

body.atelier .site-footer__inner {
  max-width: var(--content);
  padding-inline: 1.5rem;
  gap: 2.5rem;
}

body.atelier .site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e0c27a;
}

body.atelier .site-footer a {
  color: #f0e7d8;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

body.atelier .site-footer a:hover {
  color: #fffdf8;
}

body.atelier .site-footer__contact,
body.atelier .site-footer__copy {
  color: #d9d0c3;
}

body.atelier .site-footer__projects ul {
  columns: 2;
  column-gap: 2rem;
}

body.atelier .site-footer li + li {
  margin-top: 0.4rem;
}

body.atelier a:focus-visible,
body.atelier button:focus-visible,
body.atelier input:focus-visible,
body.atelier select:focus-visible,
body.atelier textarea:focus-visible {
  outline: 2px solid #6b421c;
  outline-offset: 3px;
}

body.atelier .hero a:focus-visible,
body.atelier .hero button:focus-visible,
body.atelier .site-footer a:focus-visible,
body.atelier .cta-band a:focus-visible {
  outline-color: #f3e2b0;
}

@media (max-width: 980px) {
  body.atelier .atmosphere__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.atelier .house-band,
  body.atelier .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body.atelier .site-header__inner {
    padding: 0.65rem 1rem 0.8rem;
    gap: 0.55rem;
    align-items: stretch;
  }

  body.atelier .brand img {
    height: 1.8rem;
  }

  body.atelier .nav-main ul {
    gap: 0.35rem 0.75rem;
  }

  body.atelier .nav-main a {
    font-size: 0.78rem;
  }

  body.atelier .hero__inner {
    padding: 4.5rem 1rem 5.25rem;
  }

  body.atelier .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  body.atelier .section,
  body.atelier .page {
    padding-inline: 1rem;
  }

  body.atelier .site-footer__projects ul {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.atelier .hero__media img,
  body.atelier .hero__brand,
  body.atelier .hero h1,
  body.atelier .hero__sub,
  body.atelier .hero__ctas {
    animation: none !important;
  }

  body.atelier .atmosphere__track img {
    transition: none;
  }
}
