/* Case Indre Alkymi. Global navigation and portfolio styles stay in style.css. */
.indre-page {
  --indre-plum: #38223f;
  --indre-lavender: #92888e;
  --indre-beige: #c2b1a8;
  --indre-paper: #f5f1ed;
  --indre-black: #151515;
  background: var(--indre-black);
}
.indre-page main { font-family: "Montserrat", Arial, sans-serif; }
.indre-page main:focus { outline: none; }
.indre-page figure { margin: 0; }
.indre-page img { display: block; max-width: 100%; height: auto; }
.indre-page h2, .indre-page h3, .indre-page p { margin-top: 0; }
.indre-page em { font-weight: 400; }
.indre-page main :where(a, button):focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.indre-space { padding: clamp(4.5rem, 9vw, 10rem) var(--page-gutter); }
.indre-label { margin: 0; font-size: .65rem; font-weight: 500; line-height: 1.7; letter-spacing: .16em; text-transform: uppercase; }
.indre-section-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }

/* Opening: the original symbol and a quiet, centered name. */
.indre-header { position: absolute; z-index: 3; top: 0; left: var(--page-gutter); width: calc(100% - var(--page-gutter) * 2); }
.indre-hero { position: relative; min-height: max(100svh, 680px); display: grid; place-items: center; padding: 12rem var(--page-gutter); background: var(--indre-black); }
.indre-back { position: absolute; top: 10.4rem; left: var(--page-gutter); display: inline-flex; gap: .8rem; align-items: center; min-height: 44px; font-size: .7rem; color: #d5ced5; }
.indre-back:hover { color: #fff; }
.indre-hero-mark { text-align: center; animation: indre-arrive 850ms ease-out both; }
.indre-hero-mark img { width: clamp(130px, 15vw, 220px); margin: 0 auto .65rem; }
.indre-hero-mark h1 { margin: 0; max-width: none; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.03; letter-spacing: .09em; text-transform: uppercase; }
.indre-hero-bottom { position: absolute; bottom: 2.3rem; left: var(--page-gutter); right: var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; }
.indre-hero-bottom p { margin: 0; }
.indre-hero-bottom p span { margin: 0 .7rem; color: #92888e; }
.indre-hero-bottom a { display: flex; align-items: center; gap: 1.5rem; min-height: 44px; }
@keyframes indre-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Two expansive fields, instead of a grid of logo cards. */
.indre-identity { display: grid; grid-template-columns: 1fr 1fr; }
.indre-brand-field { min-height: clamp(440px, 44vw, 700px); padding: 2.5rem var(--page-gutter); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 3rem; }
.indre-field-plum { background: var(--indre-plum); color: #fff; }
.indre-field-beige { background: var(--indre-beige); color: #151515; }
.indre-lockup { align-self: center; text-align: center; }
.indre-lockup img { width: clamp(120px, 14vw, 200px); margin: 0 auto .6rem; }
.indre-lockup p { margin: 0; font: 400 clamp(1.7rem, 2.6vw, 2.6rem)/1.05 "Playfair Display", Georgia, serif; letter-spacing: .07em; text-transform: uppercase; }
.indre-field-note { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }

/* Concept: the Norwegian copy is transcribed from the supplied identity. */
.indre-concept { color: var(--indre-plum); background: #fff; }
.indre-concept h2 { margin: clamp(4rem, 8vw, 9rem) 0 3.5rem; font: 400 clamp(2.6rem, 6vw, 6.8rem)/1.2 "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
.indre-concept-bottom { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 3rem; }
.indre-concept-rule { width: 5rem; height: 1px; margin-top: .8rem; background: var(--indre-beige); }
.indre-concept-bottom p { max-width: 30rem; margin: 0; font-size: clamp(.9rem, 1.3vw, 1.12rem); line-height: 1.95; }
.indre-landscape { background: var(--indre-plum); }
.indre-landscape img { width: 100%; object-fit: contain; }

/* Chromatic chamber: all rules are scoped to the palette. */
.indre-palette-section { --chamber-ease: cubic-bezier(.22,.61,.36,1); color: var(--indre-plum); background: var(--indre-paper); transition: background-color 650ms var(--chamber-ease), color 650ms ease; }
.indre-palette-section[data-active="plum"] { background: var(--indre-plum); color: #fff; }
.indre-palette-section[data-active="lavender"] { background: var(--indre-lavender); color: #151515; }
.indre-palette-section[data-active="beige"] { background: var(--indre-beige); color: #151515; }
.indre-palette-section[data-active="white"] { background: #fff; color: var(--indre-plum); }
.indre-palette-heading { padding: 3.5rem var(--page-gutter) 3rem; align-items: flex-end; }
.indre-palette-heading h2 { margin: 1.5rem 0 0; font: 400 clamp(2.3rem, 3.6vw, 4rem)/1.12 "Playfair Display", Georgia, serif; }
.indre-palette-hint { margin: 0; font-size: .8rem; line-height: 1.9; }
.indre-palette-hint span { display: block; font-size: .65rem; }
.indre-palette { display: flex; height: clamp(550px, 46vw, 760px); container-type: inline-size; }
.indre-door { position: relative; flex: 1 1 0; min-width: 44px; overflow: hidden; isolation: isolate; transition: flex-grow 700ms var(--chamber-ease); }
.indre-door[data-color="plum"] { background: var(--indre-plum); color: #fff; }
.indre-door[data-color="lavender"] { background: var(--indre-lavender); color: #151515; }
.indre-door[data-color="beige"] { background: var(--indre-beige); color: #151515; }
.indre-door[data-color="white"] { background: #fff; color: var(--indre-plum); }
.indre-door.is-active { flex-grow: 18; }
.indre-door-trigger { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; color: inherit; background: transparent; text-align: left; }
.indre-door-number { position: absolute; top: 2.4rem; left: 50%; transform: translateX(-50%); font-size: .7rem; letter-spacing: .12em; }
.indre-door-label { position: absolute; top: 50%; left: 50%; writing-mode: vertical-rl; transform: translate(-50%, -50%) rotate(180deg); font-size: .7rem; letter-spacing: .16em; white-space: nowrap; text-transform: uppercase; transition: opacity 300ms ease; }
.indre-door-open { position: absolute; bottom: 2.3rem; left: 50%; transform: translateX(-50%); font-size: 1.2rem; transition: opacity 300ms ease; }
.indre-door.is-active .indre-door-label, .indre-door.is-active .indre-door-open { opacity: 0; }
.indre-door.is-active .indre-door-number { left: clamp(2rem, 5vw, 6rem); transform: none; }
.indre-page .indre-door-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: -8px; }
.indre-door-detail { position: absolute; inset: 0 auto 0 0; width: 85.714cqw; height: 100%; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 300ms ease, transform 600ms var(--chamber-ease), visibility 0s 300ms; }
.indre-door.is-active .indre-door-detail { opacity: 1; visibility: visible; transform: none; transition-delay: 180ms, 180ms, 0s; }
.indre-door-title { position: absolute; top: 6.5rem; left: clamp(2rem, 5vw, 6rem); z-index: 1; }
.indre-door-title h3 { margin: 0; font: 400 clamp(4rem, 10.5cqw, 11rem)/.92 "Playfair Display", Georgia, serif; letter-spacing: -.055em; }
.indre-door-title .indre-door-hex { margin: 1.7rem 0 0; font-size: .8rem; letter-spacing: .12em; }
.indre-page .indre-door-logo { position: absolute; top: 34%; right: 7%; width: clamp(110px, 18cqw, 260px); height: auto; }
.indre-door-quote { position: absolute; bottom: 2.7rem; left: clamp(2rem, 5vw, 6rem); margin: 0; font: 400 clamp(1.15rem, 1.8cqw, 1.8rem)/1.4 "Playfair Display", Georgia, serif; }
.indre-door-signature { position: absolute; bottom: 3rem; right: 7%; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; }
.indre-door-contour { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; opacity: .12; }
.indre-door-contour path { stroke: currentColor; stroke-width: 1; }
/* Desktop scale only: preserve the chamber composition and interaction. */
@media (min-width: 721px) {
  .indre-palette-section { padding-bottom: clamp(1.5rem, 3svh, 2rem); }
  .indre-palette-heading { padding-block: clamp(1.5rem, 3svh, 2.5rem) clamp(1rem, 2svh, 1.75rem); }
  .indre-palette-heading h2 { margin-top: 1rem; font-size: clamp(2rem, 3vw, 3.2rem); }
  .indre-palette-hint { font-size: .75rem; }
  .indre-palette-hint span { font-size: .6rem; }
  .indre-palette { width: 88%; margin-inline: auto; height: clamp(380px, calc(75svh - 13rem), 580px); }
  .indre-door-number { top: 1.75rem; font-size: .65rem; }
  .indre-door-label { font-size: .65rem; }
  .indre-door-open { bottom: 1.75rem; font-size: 1.1rem; }
  .indre-door.is-active .indre-door-number { left: clamp(1.75rem, 4vw, 4.8rem); }
  .indre-door-title { top: clamp(3.5rem, 7svh, 5.2rem); left: clamp(1.75rem, 4vw, 4.8rem); }
  .indre-door-title h3 { font-size: clamp(3.2rem, min(9.6cqw, 13svh), 8.8rem); }
  .indre-door-title .indre-door-hex { margin-top: 1.15rem; font-size: .72rem; }
  .indre-page .indre-door-logo { width: clamp(100px, 17cqw, 220px); }
  .indre-door-quote { bottom: 2rem; left: clamp(1.75rem, 4vw, 4.8rem); font-size: clamp(1.05rem, 1.7cqw, 1.55rem); }
  .indre-door-signature { bottom: 2.15rem; font-size: .55rem; }
}
@media (max-width: 720px) {
  .indre-palette-heading { padding-block: 3rem 2.5rem; align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .indre-palette { flex-direction: column; height: 730px; }
  .indre-door { min-width: 0; min-height: 64px; }
  .indre-door-number, .indre-door.is-active .indre-door-number { top: 1.5rem; left: 1.5rem; transform: none; }
  .indre-door-label { top: 1.5rem; left: 4rem; writing-mode: horizontal-tb; transform: none; font-size: .65rem; line-height: 1.5; }
  .indre-door-open { top: 1.2rem; right: 1.5rem; bottom: auto; left: auto; transform: none; }
  .indre-door-detail { width: 100%; height: 538px; }
  .indre-door-title { top: 4.5rem; left: 1.5rem; }
  .indre-door-title h3 { font-size: clamp(3.4rem, 13cqw, 5.5rem); }
  .indre-door-title .indre-door-hex { margin-top: 1.25rem; font-size: .75rem; }
  .indre-page .indre-door-logo { top: auto; bottom: 7.5rem; right: 1.5rem; width: clamp(90px, 25cqw, 150px); }
  .indre-door-quote { bottom: 2.5rem; left: 1.5rem; font-size: clamp(1.15rem, 4.7cqw, 1.5rem); }
  .indre-door-signature { right: 1.5rem; bottom: 1rem; font-size: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .indre-palette-section, .indre-palette-section * { transition: none !important; }
  .indre-door-detail { transform: none; }
}
/* Type specimens: scale and space carry the hierarchy. */
.indre-type { color: var(--indre-plum); background: #fff; }
.indre-type-intro { width: 44%; max-width: 29rem; font-size: .85rem; line-height: 1.9; }
.indre-type-primary, .indre-type-secondary { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; padding: 4rem 0; border-top: 1px solid var(--indre-beige); }
.indre-type-primary { margin-top: 3rem; }
.indre-type-meta h3 { margin: 0 0 .7rem; font-size: 1rem; font-weight: 500; }
.indre-type-meta p { font-size: .65rem; line-height: 1.8; }
.indre-type-aa { display: block; margin-top: 1rem; font: 400 clamp(6rem, 14vw, 15rem)/1.3 "Playfair Display", Georgia, serif; color: #92888e; }
.indre-type-example > p { margin-bottom: 2.5rem; font: 400 clamp(2.2rem, 4.7vw, 5.6rem)/1.18 "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
.indre-type-secondary { padding-bottom: 0; }
.indre-type-sans { font-size: clamp(1.3rem, 2.3vw, 2.8rem); line-height: 1.45; letter-spacing: -.025em; }
.indre-type-alphabet { margin: 2rem 0 3rem; font-size: clamp(.65rem, 1vw, .9rem); line-height: 2.1; letter-spacing: .04em; }

/* Real applications from Mockups.pdf, composed at alternating scales. */
.indre-applications { background: var(--indre-paper); color: var(--indre-plum); padding-top: clamp(4rem, 7vw, 8rem); }
.indre-applications-heading { margin: 0 var(--page-gutter) 4rem; }
.indre-applications-heading h2 { margin-bottom: 0; font: 400 clamp(2.5rem, 4.6vw, 5rem)/1.15 "Playfair Display", Georgia, serif; }
.indre-applications img { width: 100%; object-fit: contain; }
.indre-cards img { border-radius: 8% / 10%; }
.indre-candle img { border-radius: 12% / 10%; }
.indre-notebook img { border-radius: 9% / 7%; }
.indre-tote img { border-radius: 10% / 8%; }
.indre-botanical img { border-radius: 15% / 4%; }
.indre-applications figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; font-size: .6rem; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.indre-applications .indre-cards { width: 76%; max-width: 1500px; margin: 0 auto; }
.indre-object-pair { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: clamp(2rem, 10vw, 12rem); padding: clamp(4rem, 10vw, 11rem) var(--page-gutter); }
.indre-notebook { padding-top: 12vw; }
.indre-final-pair { display: grid; grid-template-columns: 1.6fr .6fr; align-items: center; gap: clamp(3rem, 13vw, 15rem); padding: clamp(4rem, 8vw, 9rem) var(--page-gutter); background: var(--indre-beige); color: #151515; }
.indre-botanical { width: 100%; }

/* Signature and future case navigation. */
.indre-closing { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; background: var(--indre-plum); }
.indre-closing img { width: 85px; margin: 0 auto 3rem; }
.indre-closing > p { font: 400 clamp(2rem, 4.4vw, 5rem)/1.2 "Playfair Display", Georgia, serif; letter-spacing: -.025em; margin-bottom: 3rem; }
.indre-case-nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.5rem var(--page-gutter); background: var(--indre-black); font-size: .8rem; }
.indre-case-nav > a { display: flex; align-items: center; gap: 1.2rem; min-height: 44px; }
.indre-next { display: flex; flex-direction: column; gap: .65rem; text-align: right; }
.indre-next-note { color: #bbb2bb; font-size: .65rem; }

@media (max-width: 900px) {
  .indre-type-primary, .indre-type-secondary { grid-template-columns: .8fr 1.4fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .indre-header .navigation { left: 0; right: 0; }
  .indre-hero { min-height: max(100svh, 580px); padding-block: 10rem; }
  .indre-back { top: 6.8rem; }
  .indre-hero-mark img { width: 150px; }
  .indre-hero-bottom { bottom: 1.5rem; font-size: .52rem; letter-spacing: .06em; }
  .indre-hero-bottom p span { margin-inline: .3rem; }
  .indre-hero-bottom a { gap: .6rem; }
  .indre-identity { grid-template-columns: 1fr; }
  .indre-brand-field { min-height: 440px; padding: 2rem var(--page-gutter); }
  .indre-lockup img { width: 145px; }
  .indre-concept .indre-section-top > span { display: none; }
  .indre-concept h2 { font-size: clamp(2rem, 7.4vw, 3.6rem); margin-block: 3.5rem 2.5rem; }
  .indre-concept-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .indre-landscape img { min-height: 220px; object-fit: cover; object-position: 60% center; }
  .indre-type .indre-section-top { flex-direction: column; }
  .indre-type-intro { width: 100%; max-width: 32rem; margin-bottom: 0; }
  .indre-type-primary, .indre-type-secondary { grid-template-columns: 1fr; padding-top: 2.5rem; gap: 2rem; }
  .indre-type-primary { padding-bottom: 3rem; }
  .indre-type-aa { display: none; }
  .indre-type-example > p { font-size: clamp(2rem, 8.7vw, 3.5rem); }
  .indre-type-alphabet { font-size: .7rem; }
  .indre-applications-heading { flex-direction: column; gap: 1.6rem; }
  .indre-applications .indre-cards { width: calc(100% - var(--page-gutter) * 2); }
  .indre-object-pair { grid-template-columns: 1fr; gap: 3.5rem; }
  .indre-candle { max-width: 85%; }
  .indre-notebook { padding-top: 0; margin-left: 8% !important; }
  .indre-final-pair { grid-template-columns: 1fr; gap: 4rem; }
  .indre-applications .indre-botanical { width: 45%; max-width: 230px; margin-inline: auto; }
  .indre-case-nav { font-size: .7rem; gap: 1rem; }
  .indre-case-nav > a { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .indre-hero-mark { animation: none; }
}
