/* Print sheets — flyer / banner / roll-up. Hero, three facts, one tap. */

#atelier { scroll-margin-top: 88px; }

.atelier-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 28px 0 12px;
}
.atelier-label:first-of-type { margin-top: 0; }

#atelier .intro { margin-bottom: 18px; }

.atelier-flyers,
.atelier-banners,
.atelier-rollups {
  display: grid;
  gap: 28px 22px;
}
.atelier-flyers {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  align-items: start;
}
.atelier-banners {
  grid-template-columns: 1fr;
}
.atelier-rollups {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  align-items: start;
}

.atelier-card-name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}
.atelier-card-name .fmt { color: var(--gold); }

.atelier-service { margin-top: 32px; }
.atelier-service:first-child { margin-top: 0; }
.atelier-service > .atelier-label { margin-top: 0; margin-bottom: 12px; }

.atelier-service-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(160px, 0.5fr);
  grid-template-areas:
    "flyer rollup"
    "banner banner";
  gap: 18px 20px;
  align-items: start;
}
.atelier-service-row .is-flyer { grid-area: flyer; }
.atelier-service-row .is-rollup { grid-area: rollup; }
.atelier-service-row .is-banner { grid-area: banner; }

.atelier-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.atelier-card .rollup-stand { width: 100%; }
.atelier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.atelier-actions .btn { padding: 10px 14px; font-size: 11px; }

/* —— Sheet tokens: emerald, gold, cream. Gold on paper is darker so it reads. —— */
.sheet {
  --sheet-ink: #163a36;
  --sheet-gold: #c49a3a;
  --sheet-gold-text: #8a6414;
  --sheet-paper: #f6efe0;
  --sheet-cream: #f3e6cc;
  --sheet-muted: #5a4a32;
  --sheet-line: #e4d4b4;
  background: var(--sheet-paper);
  color: var(--sheet-ink);
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(15, 42, 39, 0.22);
  container-type: inline-size;
  container-name: sheet;
}
.sheet--web { --sheet-ink: #163a36; --sheet-paper: #f3e6cc; }
.sheet--seo { --sheet-ink: #163a36; --sheet-paper: #f6efe0; }
.sheet--print { --sheet-ink: #163a36; --sheet-paper: #f6efe0; }
.sheet--wide { --sheet-ink: #1b2b39; --sheet-paper: #f4efe8; }
.sheet--stand { --sheet-ink: #12221f; --sheet-paper: #f6efe0; }
.sheet--campaign { --sheet-ink: #163a36; --sheet-paper: #f3e6cc; }
.sheet--hotel { --sheet-ink: #1b2b39; --sheet-paper: #f6f3ee; }
.sheet--school { --sheet-ink: #163a36; --sheet-paper: #f3f4ee; }
.sheet--food { --sheet-ink: #3d2416; --sheet-paper: #f6eee4; }
.sheet--stay { --sheet-ink: #3d2a22; --sheet-paper: #f5ebe3; }
.sheet--law { --sheet-ink: #1a1612; --sheet-paper: #f3eee6; }
.sheet--clinic { --sheet-ink: #163a36; --sheet-paper: #eef4f0; }
.sheet--auto { --sheet-ink: #161616; --sheet-paper: #f2f0eb; }

.sheet-diamond {
  display: block;
  width: 7px;
  height: 7px;
  margin: 0.35em auto;
  background: var(--sheet-gold);
  transform: rotate(45deg);
}

/* —— Flyer (portrait, content-tall so the CTA never clips) —— */
.sheet--flyer {
  display: flex;
  flex-direction: column;
}
.sheet-hero {
  position: relative;
  flex: none;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
}
.sheet-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sheet-hero::before,
.sheet-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  pointer-events: none;
  z-index: 1;
}
.sheet-hero::before {
  height: 20%;
  background: var(--sheet-gold);
  clip-path: ellipse(62% 100% at 50% 100%);
}
.sheet-hero::after {
  height: 17.6%;
  background: var(--sheet-ink);
  clip-path: ellipse(62% 100% at 50% 100%);
}
.sheet-hero-copy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 18px 12px;
  gap: 2px;
  text-align: center;
  background: rgba(246, 239, 224, 0.94);
}
.sheet-line {
  font-family: Fraunces, serif;
  font-weight: 600;
  font-size: clamp(22px, 6.4cqw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--sheet-ink);
}
.sheet-line.is-gold { color: var(--sheet-gold-text); }
.sheet-line.is-small {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(11px, 2.4cqw, 13px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.35em;
}
.sheet-line.is-hero { font-size: clamp(28px, 9.2cqw, 52px); letter-spacing: -0.04em; }
.sheet-line.is-script {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 8.4cqw, 48px);
  color: var(--sheet-gold-text);
}
.sheet-tag {
  font-size: clamp(11px, 2.15cqw, 13px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sheet-ink);
}

.sheet-badge {
  position: absolute;
  right: 5%;
  bottom: 22%;
  z-index: 3;
  width: 24%;
  min-width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid var(--sheet-gold);
  background: var(--sheet-ink);
  color: var(--sheet-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8%;
  font-family: Fraunces, serif;
  font-size: clamp(10px, 2.15cqw, 12px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}
.sheet-badge svg {
  width: 28%;
  height: 28%;
  margin-bottom: 4%;
  stroke: var(--sheet-gold);
}

.sheet-band {
  background: var(--sheet-ink);
  color: #fff;
  padding: 14px 16px 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}
.sheet-feat svg {
  width: 22px;
  height: 22px;
  margin: 0 auto 0.45em;
  stroke: var(--sheet-gold);
  display: block;
}
.sheet-feat h4 {
  font-size: clamp(11px, 2.1cqw, 13px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.35em;
  color: var(--sheet-cream);
}
.sheet-feat p {
  font-size: clamp(12px, 2cqw, 14px);
  line-height: 1.4;
  margin: 0;
  color: rgba(243, 230, 204, 0.88);
}

.sheet-pills {
  display: flex;
  justify-content: center;
  gap: 2%;
  padding: 0 16px 12px;
  background: var(--sheet-ink);
}
.sheet-pill {
  flex: 1;
  text-align: center;
  border: 1px solid var(--sheet-gold);
  color: var(--sheet-cream);
  font-size: clamp(11px, 1.7cqw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55em 0.4em;
  border-radius: 99px;
}

.sheet-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 16px 10px;
  background: var(--sheet-paper);
}
.sheet-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--sheet-gold);
  border-radius: 2px;
}

.sheet-cta {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 16px 12px;
  background: var(--sheet-paper);
  border-top: 1px solid var(--sheet-line);
}
.sheet-cta-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45em;
  text-align: center;
  font-size: clamp(11px, 1.7cqw, 12px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sheet-ink);
  line-height: 1.35;
}
.sheet-cta-side svg {
  width: 18px;
  height: 18px;
  stroke: var(--sheet-gold);
}
.sheet-cta-side p { margin: 0; }

.sheet-ask {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 0;
  background: transparent;
}
.sheet-ask-main {
  font-family: Fraunces, serif;
  font-size: clamp(18px, 4.6cqw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--sheet-gold-text);
  text-transform: uppercase;
}
.sheet-ask-sub {
  font-size: clamp(12px, 1.9cqw, 14px);
  color: var(--sheet-ink);
  margin-top: 0.35em;
}

.sheet-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 10px;
  background: var(--sheet-paper);
  text-align: center;
}
.sheet-fact {
  font-size: clamp(11px, 1.7cqw, 12px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sheet-muted);
}
.sheet-fact svg {
  width: 14px;
  height: 14px;
  margin: 0 auto 0.3em;
  stroke: var(--sheet-gold);
  display: block;
}

.sheet-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2%;
  padding: 10px 14px;
  background: var(--sheet-ink);
  color: var(--sheet-cream);
  font-size: clamp(10px, 1.6cqw, 12px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sheet-foot span {
  display: flex;
  align-items: center;
  gap: 0.4em;
  min-width: 0;
}
.sheet-foot svg {
  width: 11px;
  height: 11px;
  flex: none;
  stroke: var(--sheet-gold);
}
.sheet-foot span:nth-child(1) { justify-self: start; }
.sheet-foot span:nth-child(2) { justify-self: center; }
.sheet-foot span:nth-child(3) { justify-self: end; }

@container sheet (max-width: 380px) {
  .sheet-cta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 18px 14px;
  }
  .sheet-foot {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: center;
  }
  .sheet-foot span { justify-self: center !important; justify-content: center; }
}

/* —— Banner (wide) —— */
.sheet--banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 300px;
}
.sheet--banner .sheet-hero {
  flex: none;
  aspect-ratio: auto;
  min-height: 100%;
  height: 100%;
}
.sheet--banner .sheet-hero::before,
.sheet--banner .sheet-hero::after {
  display: none;
}
.sheet--banner .sheet-hero-copy {
  inset: 0 auto 0 0;
  width: 52%;
  padding: 20px 22px;
  align-items: flex-start;
  text-align: left;
  background: rgba(246, 239, 224, 0.94);
}
.sheet--banner .sheet-line { font-size: clamp(22px, 3.6cqw, 40px); }
.sheet--banner .sheet-line.is-hero { font-size: clamp(28px, 5.2cqw, 52px); }
.sheet--banner .sheet-line.is-script { font-size: clamp(26px, 4.6cqw, 46px); }
.sheet--banner .sheet-line.is-small { font-size: clamp(10px, 1.35cqw, 13px); }
.sheet--banner .sheet-tag { font-size: clamp(10px, 1.2cqw, 12px); }
.sheet--banner .sheet-badge {
  width: 16%;
  min-width: 72px;
  right: 4%;
  bottom: 8%;
  font-size: clamp(9px, 1.15cqw, 12px);
}
.sheet--banner .sheet-panel {
  background: var(--sheet-ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  min-width: 0;
}
.sheet--banner .sheet-band {
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  padding: 0;
  background: transparent;
  text-align: left;
  grid-template-columns: none;
}
.sheet--banner .sheet-feat {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 12px;
  align-items: start;
}
.sheet--banner .sheet-feat svg { margin: 0; width: 22px; height: 22px; grid-row: 1 / 3; }
.sheet--banner .sheet-feat h4 { font-size: clamp(10px, 1.15cqw, 12px); margin: 0; }
.sheet--banner .sheet-feat p { font-size: clamp(11px, 1.05cqw, 13px); }
.sheet--banner .sheet-pills {
  padding: 0.8em 0 0;
  background: transparent;
  justify-content: flex-start;
}
.sheet--banner .sheet-pill { font-size: clamp(9px, 0.95cqw, 11px); padding: 0.5em 0.7em; flex: 0 1 auto; }
.sheet--banner .sheet-cta {
  display: block;
  padding: 14px 0 4px;
  background: transparent;
  border: 0;
}
.sheet--banner .sheet-cta-side { display: none; }
.sheet--banner .sheet-ask {
  text-align: left;
  padding: 0;
}
.sheet--banner .sheet-ask-main { font-size: clamp(18px, 2.15cqw, 28px); color: var(--sheet-cream); }
.sheet--banner .sheet-ask-sub { font-size: clamp(12px, 1.05cqw, 14px); color: rgba(243, 230, 204, 0.85); }
.sheet--banner .sheet-ask .sheet-diamond { margin: 0.55em 0 0; }
.sheet--banner .sheet-facts {
  grid-template-columns: 1fr;
  padding: 0.6em 0 0;
  background: transparent;
  text-align: left;
  gap: 0.35em;
}
.sheet--banner .sheet-fact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(10px, 0.95cqw, 12px);
  color: rgba(255, 255, 255, 0.7);
}
.sheet--banner .sheet-fact svg { margin: 0; }
.sheet--banner .sheet-foot {
  grid-template-columns: 1fr;
  gap: 0.35em;
  padding: 0.9em 0 0;
  background: transparent;
  font-size: clamp(10px, 0.95cqw, 12px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 0.8em;
}
.sheet--banner .sheet-foot span { justify-self: start !important; }

/* —— Roll-up (tall, in a stand) —— */
.sheet--rollup {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.sheet--rollup .sheet-hero {
  aspect-ratio: 4 / 3;
  flex: none;
}
.sheet--rollup .sheet-line { font-size: clamp(20px, 8.2cqw, 28px); }
.sheet--rollup .sheet-line.is-hero { font-size: clamp(24px, 11cqw, 34px); }
.sheet--rollup .sheet-line.is-script { font-size: clamp(22px, 10cqw, 32px); }
.sheet--rollup .sheet-line.is-small { font-size: clamp(11px, 3.1cqw, 12px); }
.sheet--rollup .sheet-tag { font-size: clamp(11px, 2.6cqw, 12px); }
.sheet--rollup .sheet-badge {
  width: 26%;
  font-size: clamp(10px, 2.6cqw, 12px);
  bottom: 8%;
}
.sheet--rollup .sheet-band {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px 16px 10px;
  text-align: left;
}
.sheet--rollup .sheet-feat {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0 10px;
}
.sheet--rollup .sheet-feat svg { margin: 0; width: 18px; height: 18px; grid-row: 1 / 3; }
.sheet--rollup .sheet-feat h4 { font-size: clamp(12px, 2.8cqw, 13px); }
.sheet--rollup .sheet-feat p { font-size: clamp(12px, 2.5cqw, 13px); }
.sheet--rollup .sheet-pills {
  flex-direction: column;
  padding: 0 16px 10px;
  gap: 6px;
}
.sheet--rollup .sheet-pill { font-size: clamp(11px, 2.4cqw, 12px); }
.sheet--rollup .sheet-thumbs {
  grid-template-columns: 1fr 1fr 1fr;
  padding: 10px 14px 8px;
}
.sheet--rollup .sheet-cta {
  display: block;
  padding: 8px 14px 10px;
  border: 0;
  background: var(--sheet-paper);
}
.sheet--rollup .sheet-cta-side { display: none; }
.sheet--rollup .sheet-ask {
  background: var(--sheet-gold);
  padding: 0.7em 0.8em 0.85em;
}
.sheet--rollup .sheet-ask-main {
  font-size: clamp(15px, 5.8cqw, 20px);
  color: var(--sheet-ink);
}
.sheet--rollup .sheet-ask-sub { font-size: clamp(11px, 2.4cqw, 12px); }
.sheet--rollup .sheet-ask .sheet-diamond { background: var(--sheet-ink); }
.sheet--rollup .sheet-facts {
  grid-template-columns: 1fr;
  padding: 0 8% 2%;
  text-align: left;
  gap: 0.3em;
}
.sheet--rollup .sheet-fact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(11px, 2.3cqw, 12px);
}
.sheet--rollup .sheet-fact svg { margin: 0; }
.sheet--rollup .sheet-foot {
  grid-template-columns: 1fr;
  gap: 0.2em;
  padding: 8px 14px;
  font-size: clamp(11px, 2.1cqw, 12px);
}
.sheet--rollup .sheet-foot span { justify-self: center !important; justify-content: center; }

.rollup-art .sheet--rollup {
  width: 100%;
  box-shadow: none;
}

@media (max-width: 720px) {
  .sheet--banner {
    grid-template-columns: 1fr;
  }
  .sheet--banner .sheet-hero {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    height: auto;
  }
  .sheet--banner .sheet-hero-copy {
    position: relative;
    width: 100%;
    inset: auto;
    text-align: center;
    align-items: center;
    background: rgba(246, 239, 224, 0.96);
  }
  .sheet--banner .sheet-ask { text-align: center; }
  .sheet--banner .sheet-ask .sheet-diamond { margin-left: auto; margin-right: auto; }
  .sheet--banner .sheet-band { text-align: left; }
  .atelier-flyers { grid-template-columns: 1fr; max-width: 440px; }
  .atelier-rollups { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .atelier-service-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "flyer"
      "banner"
      "rollup";
  }
  .atelier-service-row .is-rollup { max-width: 280px; }
}

@media print {
  .nav, .hero-slider, .print-subnav, footer,
  .atelier-actions, .hero-actions, #printed, #offer, #ciel, #popups, #contact,
  section:not(#atelier) { display: none !important; }
  #atelier { padding: 0; }
  .sheet { box-shadow: none; break-inside: avoid; }
}
