/* ==========================================================================
   Takszu — atelier (Figma node 15:4, "takszu-atelier")

   TYPOGRAPHY: this frame was drawn with its own typefaces — Instrument Serif
   for headings, Geist for body — rather than the site's Playfair/Inter. They
   are bound to page-scoped variables below, so unifying the page with the
   rest of the site later means editing these two lines and nothing else.
   ========================================================================== */

.page--atelier {
  --font-heading: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Geist", var(--font-sans);
}

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */

.atelier-section {
  background-color: var(--color-surface);
  padding-block: var(--space-140);
}

.atelier-section--dark {
  background-color: var(--color-surface-inverse);
  color: var(--color-text-inverse);
}

.atelier-section__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-80);
}

/* Not the System A eyebrow: no dash, and it carries its own bottom padding. */
.section-eyebrow {
  width: 100%;
  padding-block-end: var(--space-16);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--weight-semibold);
  line-height: normal;
  text-transform: uppercase;
  opacity: var(--opacity-credit);
}

.atelier-divider {
  width: 100%;
  height: var(--hairline);
  background-color: var(--color-rule);
}

/* A heading column beside a body column, used by three sections. */
.atelier-split {
  display: flex;
  align-items: flex-start;
  gap: var(--space-64);
  width: 100%;
}

.atelier-split > * { flex: 1 1 0; min-width: 0; }

.atelier-heading {
  font-family: var(--font-heading);
  font-weight: var(--weight-regular);
  line-height: var(--lh-tight);
  overflow-wrap: break-word;
}

.atelier-body {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
  opacity: var(--opacity-body);
}

.atelier-figure {
  width: 100%;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}

.atelier-figure__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Hero (15:12)
   -------------------------------------------------------------------------- */

.atelier-hero {
  /* Figma puts an 80px Navbar Spacer (231:11) above the hero, so the
     photograph starts below the bar rather than running under it. */
  margin-block-start: var(--navbar-height);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 820px;
  padding-block: var(--space-120);
  overflow: hidden;
  color: var(--color-text-inverse);
}

.atelier-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* The design darkens the photograph with a flat wash rather than a gradient. */
.atelier-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(30 28 26 / 0.45);
  pointer-events: none;
}

.atelier-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-24);
  width: 100%;
}

.atelier-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8.34vw, 7.5rem);   /* 56 -> 120 */
  font-weight: var(--weight-regular);
  line-height: 0.9;
}

.atelier-hero__lede {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.23vw, 2rem);    /* 20 -> 32 */
  line-height: 1.3;
  opacity: var(--opacity-hero-body);
}

/* --------------------------------------------------------------------------
   Artists (15:16)
   -------------------------------------------------------------------------- */

.artists__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-24);
  width: 100%;
}

.artists__lede {
  max-width: 820px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.78vw, 2.5rem);  /* 28 -> 40 */
  line-height: 1.3;
}

.artists__grid {
  display: flex;
  align-items: flex-start;
  gap: var(--space-48);
  width: 100%;
}

.artist {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-20);
  min-width: 0;
}

.artist__figure { width: 100%; margin: 0; overflow: hidden; }

.artist__image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.artist__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}

.artist__name {
  font-family: var(--font-heading);
  font-size: 1.75rem;              /* 28 */
  font-weight: var(--weight-regular);
  line-height: normal;
}

.artist__bio {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Per-section heading sizes
   -------------------------------------------------------------------------- */

.atelier-heading--xl { font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1.05; }  /* 72 */
.atelier-heading--lg { font-size: clamp(2.25rem, 4.45vw, 4rem); }                    /* 64 */
.atelier-heading--md { font-size: clamp(2rem, 3.9vw, 3.5rem); }                      /* 56 */
.atelier-heading--sm { font-size: clamp(1.75rem, 3.34vw, 3rem); }                    /* 48 */

.atelier-figure__image--tall   { height: 620px; }
.atelier-figure__image--macro  { height: 667px; }
.atelier-figure__image--object { height: 853px; }

.atelier-figure--macro { border-radius: 3px; }

/* --------------------------------------------------------------------------
   Journal (15:91)
   -------------------------------------------------------------------------- */

.journal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-48) var(--space-32);
  width: 100%;
}

.journal__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-24);
  width: calc(50% - (var(--space-32) / 2));
}

/* The second column is dropped to stagger the grid, as drawn. */
.journal__item--offset { padding-block-start: var(--space-40); }

.journal__figure {
  width: 100%;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}

.journal__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.journal__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  width: 100%;
}

.journal__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;              /* 28 */
  font-weight: var(--weight-regular);
  line-height: normal;
}

.journal__excerpt {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  line-height: var(--lh-normal);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .atelier-section { padding-block: var(--space-96); }
  .atelier-section__inner { gap: var(--space-48); }
  .atelier-hero { min-height: 560px; padding-block: var(--space-80); }
  .atelier-split { flex-direction: column; gap: var(--space-32); }
  .artists__grid { flex-wrap: wrap; gap: var(--space-32); }
  .artist { flex: 1 1 calc(50% - var(--space-32)); }
  .artist__image { height: 420px; }
  .atelier-figure__image--tall,
  .atelier-figure__image--macro,
  .atelier-figure__image--object { height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .artist { flex: 1 1 100%; }
  .artist__image { height: 380px; }
  .journal__item { width: 100%; }
  .journal__item--offset { padding-block-start: 0; }
}
