/* =====================================================================
   TEXT ON IMAGE — dark-studio design system
   Tokens in :root. Components below. One signature: .monitor.
   ===================================================================== */

/* --- @font-face (local Inter Bold for the live preview signature) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Inter Bold'),
       url('fonts/Inter_28pt-Bold.ttf') format('truetype'),
       url('fonts/Inter_24pt-Bold.ttf') format('truetype');
}

/* --- Tokens --- */
:root {
  /* color */
  --ink:        #0B0D0F;
  --panel:      #14171B;
  --panel-2:    #1C2026;
  --rule:       #2A2F37;
  --bone:       #E7E9EC;
  --mute:       #8B919A;
  --acid:       #C6FF3D;
  --acid-press: #AEE228;
  --acid-glow:  rgba(198, 255, 61, 0.18);
  --warn:       #C8624A;

  /* type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --t-display: 2.4rem;
  --t-h1:      1.5rem;
  --t-body:    1rem;
  --t-small:   0.875rem;
  --t-mono:    0.72rem;

  /* spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --maxw: 1180px;

  /* radius, border, shadow */
  --r-sharp: 0px;
  --r-input: 6px;
  --border:  1px solid var(--rule);
  --shadow-panel: 0 1px 0 rgba(255,255,255,0.02), 0 12px 40px rgba(0,0,0,0.45);
  --shadow-acid:  0 0 0 1px var(--acid), 0 8px 30px var(--acid-glow);
}

/* --- Reset / base --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--bone); text-decoration: none; }
a:hover { color: var(--acid); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* focus */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --- Layout shell --- */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s-3) var(--s-4) var(--s-5);
}

/* masthead */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: var(--border);
  margin-bottom: var(--s-4);
}
.masthead__brand {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  flex: 0 0 auto;
}
.site-logo { width: 36px; height: 36px; flex: 0 0 auto; }
.masthead__nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.masthead__nav a {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bone);
  transition: color 120ms ease;
}
.masthead__nav a:hover { color: var(--acid); }
.masthead__nav .masthead__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 16px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
  transition: background 120ms ease;
}
.masthead__nav .masthead__cta:hover { background: var(--acid-press); color: var(--ink); }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: var(--border);
}
.site-footer__identity p {
  margin: var(--s-2) 0 0 48px;
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: 0.04em;
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5); }
.site-footer__nav a {
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.site-footer__nav a:hover { color: var(--acid); }
@media (max-width: 620px) {
  .masthead { flex-wrap: wrap; gap: var(--s-3); }
  .masthead__nav { width: 100%; gap: var(--s-5); }
  .masthead__nav a { min-height: 40px; display: inline-flex; align-items: center; }
  .masthead__nav .masthead__cta { margin-right: auto; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

/* workbench grid */
.workbench {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 860px) {
  .workbench {
    grid-template-columns: 360px minmax(0, 560px);
    gap: var(--s-5);
    align-items: start;
    justify-content: start;
  }
}

/* =====================================================================
   Signature: the live studio monitor
   ===================================================================== */
.monitor-wrap { display: flex; flex-direction: column; gap: var(--s-3); max-width: 360px; }
@media (min-width: 860px) { .monitor-wrap { position: sticky; top: var(--s-4); } }

.monitor {
  position: relative;
  background: var(--panel);
  border: var(--border);
  border-radius: var(--r-sharp);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  width: 100%;
}
.monitor--square   { aspect-ratio: 1 / 1; }
.monitor--portrait { aspect-ratio: 4 / 5; }
.monitor--landscape { aspect-ratio: 1080 / 566; }

.monitor__media {
  position: absolute; inset: 0;
  background-color: var(--panel-2);
  background-size: cover;
  background-position: center;
}
.monitor__media--empty {
  background-image:
    repeating-linear-gradient(45deg, var(--panel-2) 0 12px, var(--panel) 12px 24px);
}
.monitor__empty {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  z-index: 0;
}

/* Full-image scrim — editor only. Keep stops in sync with writeService.
   The show page displays the generated image with its scrim already baked in. */
.monitor-wrap--editor .monitor::after {
  content: "";
  position: absolute; inset: 0;
  height: 100%;
  transform: none;
  background: linear-gradient(to bottom,
    rgba(11,13,15,0.06) 0%,
    rgba(11,13,15,0.10) 25%,
    rgba(11,13,15,0.22) 50%,
    rgba(11,13,15,0.46) 75%,
    rgba(11,13,15,0.68) 100%);
  pointer-events: none;
  z-index: 0;
}

/* live title */
.monitor__title {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  font-weight: 700;
  font-size: clamp(1.1rem, 3.8vw, 1.9rem);
  line-height: 1.4;
  color: var(--bone);
  text-shadow: 0 1px 0 rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.35);
  z-index: 1;
  word-wrap: break-word;
  white-space: pre-line;
  margin: 0;
}
.monitor__title:empty::before {
  content: "Your headline here";
  font-size: .55em;
  color: rgba(231, 233, 236, 0.35);
  font-weight: 700;
}

/* live title placement (mirrors writeService text_location) */
.monitor__text--bottom .monitor__title { top: auto; bottom: 16px; transform: none; }
.monitor__text--middle .monitor__title { top: 50%; bottom: auto; transform: translateY(-50%); }
.monitor__text--top    .monitor__title { top: var(--monitor-title-top, 16px); bottom: auto; transform: none; }

/* Every mode covers the same full canvas; only the opacity profile changes.
   Matching editor-scoped specificity keeps the selected profile authoritative. */
.monitor-wrap--editor .monitor.monitor__text--bottom::after {
  background: linear-gradient(to bottom,
    rgba(11,13,15,0.06) 0%,
    rgba(11,13,15,0.10) 25%,
    rgba(11,13,15,0.22) 50%,
    rgba(11,13,15,0.46) 75%,
    rgba(11,13,15,0.68) 100%);
}
.monitor-wrap--editor .monitor.monitor__text--middle::after {
  background: linear-gradient(to bottom,
    rgba(11,13,15,0.06) 0%,
    rgba(11,13,15,0.25) 25%,
    rgba(11,13,15,0.44) 50%,
    rgba(11,13,15,0.25) 75%,
    rgba(11,13,15,0.06) 100%);
}
.monitor-wrap--editor .monitor.monitor__text--top::after {
  background: linear-gradient(to bottom,
    rgba(11,13,15,0.48) 0%,
    rgba(11,13,15,0.40) 25%,
    rgba(11,13,15,0.24) 50%,
    rgba(11,13,15,0.10) 75%,
    rgba(11,13,15,0.06) 100%);
}

/* overlays (logo, date, handles, sponsor) — each in its own corner of the monitor */
.monitor__overlay {
  position: absolute; z-index: 1;
  display: none;
  align-items: center;
  gap: var(--s-2);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.monitor__overlay.is-active { display: inline-flex; }

/* logo (top-left) */
.monitor__overlay--logo { top: 14px; left: 14px; max-width: 50%; }
.monitor__overlay--logo img {
  display: block;
  width: 48px; height: 48px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  padding: 4px;
  border-radius: 4px;
}

/* date (top-right) */
.monitor__overlay--date { top: 14px; right: 14px; padding: 4px 12px; border-radius: 4px; background: rgba(34,34,34,.9); }

/* social handles (bottom-left, at the very bottom — below the title when text is at bottom) */
.monitor__overlay--handles { bottom: 14px; left: 14px; right: 78px; flex-wrap: wrap; gap: 5px 12px; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.monitor__handle { display: inline-flex; align-items: center; gap: 3px; max-width: 100%; min-width: 0; }
.monitor__handle img { width: 14px; height: 14px; object-fit: contain; flex: 0 0 14px; }
.monitor__handle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 1px; }

/* when the headline is at the bottom AND handles are visible, nudge the title up so they don't collide */
.monitor__text--bottom .monitor__overlay--handles.is-active ~ .monitor__title { bottom: var(--monitor-title-bottom, 50px); }

/* sponsor badge (bottom-right) */
.monitor__overlay--sponsor { bottom: 14px; right: 14px; }
.monitor__overlay--sponsor img {
  display: block;
  width: 40px; height: 40px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  padding: 3px;
  border-radius: 4px;
}

/* exposure flash on generate */
.monitor--flash::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.22);
  z-index: 2;
  animation: exposure 200ms ease-out forwards;
  pointer-events: none;
}
@keyframes exposure {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .monitor--flash::before { animation: none; display: none; }
}

/* meta strip beneath monitor (EXIF-style) */
.monitor-meta {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  padding: var(--s-2) var(--s-3);
  border: var(--border);
  border-radius: var(--r-input);
  background: var(--panel);
}
.monitor-meta b { color: var(--bone); font-weight: 500; }
.monitor-meta .dot { color: var(--rule); }

/* =====================================================================
   Form / control deck
   ===================================================================== */
.deck { display: flex; flex-direction: column; gap: var(--s-3); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
}
.field__label b { color: var(--bone); font-weight: 500; }
.field__help { font-size: var(--t-small); color: var(--mute); }
.field__error { font-size: var(--t-small); color: var(--warn); }
.field__free {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--mute);
}
.field__free a {
  color: var(--acid);
  text-decoration: none;
  transition: color 120ms ease;
}
.field__free a:hover { color: var(--bone); }

/* inputs */
.input, .textarea, .select {
  background: var(--panel-2);
  border: var(--border);
  border-radius: var(--r-input);
  color: var(--bone);
  padding: 8px 10px;
  width: 100%;
  transition: border-color 120ms ease;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--acid); }
.textarea { min-height: 68px; resize: vertical; line-height: 1.4; }
.input::placeholder, .textarea::placeholder { color: var(--mute); }

/* file drop zone */
.drop {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: var(--s-3);
  background: var(--panel-2);
  border: 1px dashed var(--rule);
  border-radius: var(--r-input);
  text-align: center;
  color: var(--mute);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}
.drop:hover, .drop.is-drag { border-color: var(--acid); color: var(--bone); background: var(--panel); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__hint { font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.14em; }
.drop__name { color: var(--bone); font-size: var(--t-small); }
.drop--primary { border-color: var(--acid); }
.drop--primary .drop__hint { color: var(--acid); }
.drop--sm { padding: 10px; }

/* platform switcher (segmented) */
.platform {
  display: inline-flex; gap: 0;
  align-self: flex-start;
  border: var(--border);
  border-radius: var(--r-input);
  overflow: hidden;
  background: var(--panel);
}
.platform__opt {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  background: transparent; border: 0; padding: 7px 12px;
  border-right: var(--border);
  cursor: pointer;
  transition: color 120ms ease, background 120ms ease;
}
.platform__opt:last-child { border-right: 0; }
.platform__opt:hover { color: var(--bone); }
.platform__opt:has(input:checked),
.platform__opt.is-active { color: var(--ink); background: var(--acid); }
.platform__opt input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }

/* char counter */
.headline-controls { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.headline-controls .field { margin: 0; }
.headline-controls .platform__opt { padding-left: 12px; padding-right: 12px; }
.counter { color: var(--mute); font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.14em; }
.counter.is-warn { color: var(--warn); }

/* Social inputs span the space below Socials and Date. */
.overlay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  align-items: start;
}
.overlay-cell { display: contents; }
.overlay-cell .check { width: 100%; min-width: 0; grid-row: 1; align-self: stretch; }
.overlay-cell:first-child .check { grid-column: 1; }
.overlay-cell--handles .check { grid-column: 2; }
.overlay-cell--date .check { grid-column: 3; }
.overlay-cell .sub-panel { grid-row: 2; margin-top: 0; min-width: 0; }
.overlay-cell:first-child .sub-panel { grid-column: 1; }
.overlay-cell--handles .sub-panel { grid-column: 2 / 4; }
.overlay-cell--handles .sub-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(4, auto); gap: 8px 12px; }
.overlay-cell .drop__hint { font-size: 0.66rem; letter-spacing: 0.1em; }

/* checkbox row (with adjacent sub-panel) */
.check {
  display: flex; align-items: flex-start; gap: var(--s-2);
  padding: 7px 9px;
  border: var(--border);
  border-radius: var(--r-input);
  background: var(--panel);
  cursor: pointer;
  transition: border-color 120ms ease;
}
.check:hover { border-color: var(--rule); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  width: 16px; height: 16px; flex: 0 0 16px;
  border: 1px solid var(--rule);
  background: var(--panel-2);
  border-radius: 4px;
  display: inline-grid; place-items: center;
  transition: background 120ms ease, border-color 120ms ease;
}
.check__box::after {
  content: ""; width: 9px; height: 9px;
  background: var(--ink);
  border-radius: 2px;
  opacity: 0; transform: scale(0.6);
  transition: opacity 120ms ease, transform 120ms ease;
}
.check input:checked + .check__box { background: var(--acid); border-color: var(--acid); }
.check input:checked + .check__box::after { opacity: 1; transform: scale(1); }
.check__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.check__title { font-size: 0.82rem; color: var(--bone); font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.check__desc  { font-size: 0.62rem; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* sub-panel revealed when sibling .check's input is checked */
.sub-panel {
  display: none;
  margin-top: 4px;
  padding: var(--s-2);
  background: var(--panel-2);
  border: var(--border);
  border-radius: var(--r-input);
  flex-direction: column;
  gap: var(--s-2);
}
.check:has(input:checked) + .sub-panel { display: flex; }
.sub-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
@media (max-width: 480px) { .sub-panel__grid { grid-template-columns: 1fr; } }
.sub-panel__field { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sub-panel__field label {
  font-family: var(--font-mono); font-size: var(--t-mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--mute); min-width: 26px; flex: 0 0 auto;
}
.sub-panel__field .input { padding: 5px 7px; font-size: 0.78rem; flex: 1 1 auto; min-width: 0; }
.overlay-cell--handles .sub-panel__field label { min-width: 18px; }
.sub-panel__field label img { width: 18px; height: 18px; object-fit: contain; }
@media (max-width: 480px) {
  .overlay-cell .check { padding: 7px 6px; gap: 5px; }
  .overlay-cell .check__title { white-space: normal; font-size: .75rem; }
  .overlay-cell .check__desc { font-size: .55rem; letter-spacing: 0; }
  .overlay-cell:first-child .sub-panel { grid-column: 1 / -1; }
  .overlay-cell--handles .sub-panel { grid-column: 1 / -1; grid-row: 3; }
}

/* CTA */
.cta-row { display: flex; flex-direction: column; gap: var(--s-2); padding-top: var(--s-3); border-top: var(--border); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-weight: 700; letter-spacing: 0.02em;
  border: 0; cursor: pointer;
  padding: 12px 16px;
  border-radius: var(--r-sharp);
  transition: transform 120ms ease, box-shadow 160ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  text-decoration: none;
}
.btn--primary { background: var(--acid); color: var(--ink); }
.btn--primary:hover { background: var(--acid-press); transform: translateY(-1px); box-shadow: var(--shadow-acid); color: var(--ink); }
.btn--primary:active { transform: translateY(0); }
.btn--primary[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--secondary { background: transparent; color: var(--bone); border: 1px solid var(--rule); }
.btn--secondary:hover { border-color: var(--acid); color: var(--bone); }
.btn--block { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .btn--primary:hover { transform: none; }
}

/* flash */
.flash { padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--r-input); background: var(--panel); font-size: var(--t-small); }
.flash-error { border-color: var(--warn); color: var(--warn); }

/* =====================================================================
   show.php: actions + sharers
   ===================================================================== */
.center-stage { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-4); }
.sharers { display: flex; gap: var(--s-3); justify-content: center; align-items: center; margin-top: var(--s-5); padding-top: var(--s-4); border-top: var(--border); flex-wrap: wrap; }
.sharers__label { font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--mute); }
.sharer { display: inline-grid; place-items: center; width: 36px; height: 36px; border: var(--border); border-radius: var(--r-input); color: var(--mute); transition: color 120ms ease, border-color 120ms ease; }
.sharer:hover { color: var(--bone); border-color: var(--rule); }
.sharer svg { width: 18px; height: 18px; }
.back { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-mono); font-size: var(--t-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--mute); margin-bottom: var(--s-4); }
.back:hover { color: var(--bone); }

/* utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.row { display: flex; align-items: center; gap: var(--s-3); }
.muted { color: var(--mute); }
.mt-4 { margin-top: var(--s-4); }

/* progress bar (submit) */
.progress { height: 2px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: var(--acid); transition: width 200ms ease; }

/* =====================================================================
   TEMPLATES — gallery, editor, and 8 template designs
   ===================================================================== */

/* ---------- A. Gallery page chrome ---------- */
.templates-page { /* page wrapper; uses existing .shell */ }
.public-intro{margin:0 0 24px;max-width:820px}
.public-intro h1{margin:0 0 8px;font:700 clamp(1.5rem,3vw,2rem)/1.2 var(--font-sans);letter-spacing:-.025em}
.public-intro p,.templates-intro{margin:0;color:#B1B7BF;font-size:.9375rem;line-height:1.6;max-width:760px}
.templates-intro{margin:0 0 16px;max-width:none}
.public-help{max-width:none;margin-top:40px;padding-top:24px;border-top:var(--border);color:#B1B7BF;font-size:.9375rem}
.resource-note{font-size:.875rem}
.resource-note a{color:var(--acid);text-decoration:underline;text-underline-offset:3px}
.resource-note a:hover{color:var(--acid-press)}
.public-help h2{font-size:1.2rem;color:var(--bone)}
.public-help li{margin:8px 0}.public-help a{text-decoration:underline;text-underline-offset:3px}
.info-page{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.auth-page{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.profile-page{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.profile-main{max-width:900px;margin:36px auto 56px}
.profile-main .public-intro p{overflow-wrap:anywhere}
.profile-panel{padding:28px;background:var(--panel);border:var(--border);border-radius:8px;margin-bottom:20px}
.profile-panel h2{margin:0 0 8px;font-size:1.25rem;line-height:1.3}
.profile-note{margin:0 0 24px;color:#B5BDC8;font-size:.9375rem;line-height:1.6}
.profile-brand-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px;margin:24px 0 32px}
.profile-panel label{display:block;margin:0 0 8px;font-weight:600;font-size:.875rem}
.profile-logo{height:170px;display:flex;align-items:center;justify-content:center;border:1px solid var(--rule);border-radius:6px;margin:12px 0 16px;background:repeating-conic-gradient(#e5e7e9 0% 25%,#fff 0% 50%) 0 0/20px 20px;color:#4E5965}
.profile-logo img{max-width:90%;max-height:145px;object-fit:contain}.profile-logo [hidden]{display:none}
.profile-panel input[type=file]{width:100%;max-width:100%;font-size:.8125rem;color:#B5BDC8}.profile-panel input[type=file]::file-selector-button{padding:8px 10px;margin-right:8px;background:var(--panel-2);border:var(--border);color:var(--bone);border-radius:4px}
.profile-hint{font-size:.75rem;line-height:1.6;color:var(--mute);margin:10px 0}
.profile-panel fieldset{min-width:0;margin:0;padding:0;border:0}.profile-panel legend{font-size:1rem;font-weight:600;margin-bottom:16px;padding:0}
.profile-color{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:14px}.profile-color label{margin:0}
.profile-color>div{display:flex;align-items:center;gap:10px}.profile-color input[type=color]{width:42px;height:40px;flex-shrink:0;padding:3px;background:var(--panel-2);border:var(--border);border-radius:5px}
.profile-panel input[type=text],.profile-panel input[type=password]{min-height:42px;width:100%;padding:10px 12px;border:1px solid #414A55;border-radius:6px;background:var(--ink);color:var(--bone);font-size:.9375rem;min-width:0}
.profile-color input[type=text]{max-width:135px;font-family:var(--font-mono);font-size:.8125rem}
.profile-palette-actions{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:20px}.profile-text-button{border:0;background:none;color:#C2CBD5;text-decoration:underline;text-underline-offset:3px;padding:0;font-size:.75rem;line-height:1.6}.profile-text-button:hover{color:var(--acid)}.profile-text-button[hidden]{display:none}
.profile-panel .profile-socials{padding-top:28px;border-top:var(--border);margin-bottom:28px}.profile-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}
.profile-panel .profile-check{display:flex;gap:9px;align-items:flex-start;margin:16px 0;font-size:.8125rem;font-weight:400;line-height:1.5}.profile-check input{margin:3px 0 0;accent-color:var(--acid)}
.profile-panel .btn{font-size:.875rem;padding:11px 16px}.profile-settings summary{font-size:1rem;font-weight:600;cursor:pointer}.profile-sensitive{max-width:470px;margin-top:24px}.profile-sensitive .auth-password input{padding-right:46px}.profile-sensitive .auth-field label{margin-bottom:8px}
.profile-danger{border-color:#5B3936}.profile-danger summary{color:#F0B5AA}.profile-delete-button{background:#AD453B;color:white}.profile-delete-button:hover{background:#C64F43;color:white}
@media(max-width:700px){.profile-main{margin-top:24px}.profile-panel{padding:22px}.profile-brand-grid{grid-template-columns:minmax(0,1fr);gap:28px}.profile-logo{max-width:260px}.profile-color{grid-template-columns:85px minmax(0,1fr)}}
@media(max-width:479px){.profile-panel{padding:18px}.profile-social-grid{grid-template-columns:1fr}.profile-color input[type=text]{max-width:100%}}
.auth-main{min-height:60vh;display:flex;align-items:flex-start;justify-content:center;padding:48px 0 32px}
.auth-card{width:100%;max-width:420px;padding:30px;background:var(--panel);border:var(--border);border-radius:8px}
.auth-card h1{margin:0 0 8px;font:700 1.7rem/1.25 var(--font-sans);letter-spacing:-.025em}
.auth-intro{margin:0 0 28px;color:#AEB6C1;font-size:.9375rem;line-height:1.5}
.auth-field{margin-bottom:20px}
.auth-field label{display:block;margin-bottom:8px;color:var(--bone);font-size:.875rem;font-weight:600}
.auth-field input{width:100%;min-height:46px;border:1px solid #414A55;border-radius:6px;background:var(--ink);padding:11px 12px;font-size:1rem;color:var(--bone)}
.auth-field input[aria-invalid=true]{border-color:var(--warn)}
.auth-password{position:relative}.auth-password input{padding-right:46px}
.password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:7px;background:transparent;border:0;color:#B1BAC6}
.password-toggle[hidden]{display:none}.password-toggle:hover{color:var(--acid)}
.password-toggle svg{width:18px;height:18px}.password-toggle__slash{display:none}.password-toggle[aria-pressed=true] .password-toggle__slash{display:block}
.auth-hint{color:var(--mute);font-size:.75rem;margin:7px 0 0}
.auth-field-error{font-size:.8125rem;color:#FFB5A6;margin:8px 0 0}
.auth-error{margin:0 0 22px;padding:12px;border:1px solid var(--warn);border-radius:6px;font-size:.875rem;line-height:1.5;color:#FFD1C8}
.auth-card .btn{font-size:.9375rem;min-height:46px}
.auth-legal,.auth-switch{font-size:.8125rem;line-height:1.6;color:#AEB6C1;margin:20px 0 0}
.auth-switch{text-align:center}.auth-card p a{color:var(--bone);text-decoration:underline;text-underline-offset:3px}.auth-card p a:hover{color:var(--acid)}
.masthead__logout{margin:0}.masthead__logout button{padding:6px 12px;min-height:32px;border:0;background:#AD453B;color:#FFFFFF;font:600 var(--t-mono)/1.5 var(--font-mono);text-transform:uppercase;letter-spacing:.14em;transition:background-color 120ms ease}.masthead__logout button:hover{background:#C64F43;color:#FFFFFF}
@media(max-width:479px){.auth-main{padding:24px 0}.auth-card{padding:24px 20px}}
.info-main{max-width:1040px;margin:40px auto 64px}
.info-header{max-width:780px;margin-bottom:40px}
.info-eyebrow{display:block;margin-bottom:14px;color:var(--acid);font:500 .72rem/1.5 var(--font-mono);text-transform:uppercase;letter-spacing:.14em}
.info-header h1{margin:0 0 18px;color:var(--bone);font:700 clamp(2rem,5vw,3.2rem)/1.12 var(--font-sans);letter-spacing:-.035em}
.info-lead{margin:0;color:#BEC4CC;font-size:1.125rem;line-height:1.65;max-width:68ch}
.info-updated{margin:20px 0 0;color:var(--mute);font-size:.8125rem}
.info-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:56px;align-items:start}
.info-contents{position:sticky;top:24px;display:flex;flex-direction:column;gap:10px;border-left:2px solid var(--rule);padding-left:18px}
.info-contents>span{margin-bottom:5px;color:var(--mute);font:500 .7rem/1.4 var(--font-mono);text-transform:uppercase;letter-spacing:.1em}
.info-contents a{color:#AEB6C1;font-size:.8125rem;line-height:1.5}.info-contents a:hover{color:var(--acid)}
.info-content{min-width:0;max-width:70ch}
.info-section{margin-bottom:32px;scroll-margin-top:28px}
.info-section+.info-section{padding-top:26px;border-top:var(--border)}
.info-section h2,.contact-card h2{margin:0 0 14px;font-size:1.2rem;line-height:1.35;letter-spacing:-.015em;color:var(--bone)}
.info-section p,.contact-check>p{margin:0 0 15px;color:#B7BEC8;font-size:.9375rem;line-height:1.8}
.info-content p a{color:var(--bone);text-decoration:underline;text-underline-offset:3px}.info-content p a:hover{color:var(--acid)}
.info-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.info-actions .btn{font-size:.875rem;padding:11px 15px}
.contact-card{padding:28px;background:var(--panel-2);border:var(--border);border-radius:8px;margin-bottom:36px;scroll-margin-top:28px}
.contact-check label{display:block;margin-bottom:10px;font-weight:600;font-size:1rem}
.contact-check__row{display:flex;align-items:stretch;gap:12px}
.contact-check input[type=text]{width:90px;min-height:46px;padding:10px 12px;background:var(--ink);border:1px solid #4A5461;border-radius:6px;color:var(--bone);font-size:1rem;text-align:center}
.contact-check__row .btn{font-size:.875rem;padding:10px 16px}
.contact-check__error{font-size:.875rem;color:#FFB5A6;margin:14px 0 0}
.contact-email{display:inline-block;font-size:clamp(1.1rem,3vw,1.6rem);line-height:1.5;font-weight:600;overflow-wrap:anywhere;color:var(--acid);text-decoration:underline;text-underline-offset:5px}
.contact-note{font-size:.8125rem;color:var(--mute);margin:12px 0 0}
@media(max-width:760px){.info-main{margin-top:28px}.info-header{margin-bottom:28px}.info-layout{grid-template-columns:minmax(0,1fr);gap:28px}.info-contents{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:8px 16px;padding:16px 0;border-left:0;border-top:var(--border);border-bottom:var(--border)}.info-contents>span{width:100%;margin:0}.info-lead{font-size:1rem}.contact-card{padding:20px}}
@media(max-width:380px){.contact-check__row{flex-wrap:wrap}.contact-check__row .btn{flex:1 1 160px}.contact-check input[type=text]{flex:1 1 70px;width:70px}.contact-card{padding:16px}}
.templates-header>div{min-width:0;flex:1 1 340px}
.templates-header .templates-title{font-size:clamp(1.8rem,4vw,2.7rem)}

.templates-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: var(--border);
}
.templates-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
  margin-bottom: var(--s-2);
}
.templates-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--t-display);
  color: var(--bone);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
@media (min-width: 860px) {
  .templates-title { font-size: 3.2rem; }
}

.templates-search{flex:1 1 320px;max-width:520px;min-width:0}
.templates-search label{display:block;margin-bottom:var(--s-2);font-size:var(--t-small);font-weight:600;color:var(--bone)}
.templates-search__controls{display:flex;align-items:center;gap:var(--s-2)}
.templates-search input{width:100%;min-width:0;min-height:46px;padding:11px 13px;border:var(--border);border-radius:var(--r-input);background:var(--panel);color:var(--bone);font-size:var(--t-small)}
.templates-search input::placeholder{color:var(--mute);opacity:1}
.templates-search .btn,.templates-more .btn{flex-shrink:0;min-height:32px;padding:6px 16px;font-family:var(--font-mono);font-size:var(--t-mono);line-height:1.5;letter-spacing:.14em;text-transform:uppercase}
.templates-search .btn:hover,.templates-more .btn:hover{transform:none;box-shadow:none}
@media(max-width:620px){.templates-search .btn,.templates-more .btn{min-height:40px}}
.templates-results{margin:0 0 var(--s-4);font-size:var(--t-small);color:var(--mute)}
.templates-empty{padding:var(--s-6);margin:0;border:var(--border);border-radius:var(--r-input);background:var(--panel);color:var(--mute);text-align:center}

/* ---------- A. Grid + cards ---------- */
.templates-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s-4);align-items:center}
@media(min-width:480px){.templates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:760px){.templates-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1100px){.templates-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--s-5)}}
.template-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:10px;text-decoration:none;color:inherit;background:var(--panel-2);border:1px solid var(--rule);border-radius:8px;transition:background-color 220ms ease,border-color 220ms ease}
@media(hover:hover){.template-card:hover{color:inherit;background:#242A32;border-color:#485462}}
.template-card:focus-visible{outline:2px solid var(--acid);outline-offset:2px}
.template-card.is-hidden,.tpl.is-hidden{display:none!important}
.template-card__thumb{aspect-ratio:var(--tpl-aspect,4 / 5);overflow:hidden;position:relative;display:block}
.template-card__thumb > .tpl{width:100%;height:100%}
.template-card__footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 3px 0}
.template-card__title{min-width:0;margin:0;font-family:var(--font-sans);font-size:.8125rem;font-weight:600;line-height:1.4;color:var(--bone);overflow-wrap:anywhere}
.template-card__link{position:relative;z-index:0;display:block;min-width:0;color:inherit;border-radius:2px}
.template-card__link:hover{color:inherit}
.template-card__preview{flex-shrink:0;display:none;align-items:center;justify-content:center;width:28px;height:28px;padding:7px;border:0;background:transparent;color:var(--bone);box-shadow:none}
.has-template-gallery .template-card__preview{display:flex}
.template-card__preview:hover{color:var(--acid)}
.template-card__preview svg{width:100%;height:100%}
.templates-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.template-filter{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:var(--border);border-radius:6px;font-size:.82rem;background:var(--panel);color:var(--bone);line-height:1.3}
.template-filter span{font-size:.75rem;color:var(--mute)}
.template-filter:hover{border-color:var(--mute);color:var(--bone)}
.template-filter.is-active{background:var(--acid);border-color:var(--acid);color:var(--ink)}
.template-filter.is-active span{color:inherit;opacity:.7}
.templates-more{display:flex;justify-content:center;margin-top:32px}
.templates-more [hidden]{display:none}
.templates-more [aria-disabled=true]{opacity:.65;cursor:wait}
.templates-error{color:var(--bone);padding:12px 16px;border:1px solid var(--warn);border-radius:6px}
.has-template-preview{overflow:hidden}
.template-preview{width:min(860px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:20px;border:var(--border);border-radius:10px;background:var(--panel);color:var(--bone);box-shadow:var(--shadow-panel);opacity:0;transform:translateY(8px) scale(.975);transition:opacity 180ms ease,transform 240ms cubic-bezier(.2,.8,.2,1)}
.template-preview.is-visible{opacity:1;transform:translateY(0) scale(1)}
.template-preview::backdrop{background:#0000;transition:background-color 200ms ease}
.template-preview.is-visible::backdrop{background:#000c}
.template-preview.is-closing,.template-preview.is-closing::backdrop{transition-duration:160ms}
@media(prefers-reduced-motion:reduce){.template-preview,.template-preview::backdrop{transition:none;transform:none}}
.template-preview__header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.template-preview__header h2{margin:0;font:600 1rem/1.3 var(--font-sans)}
.template-preview__close{flex-shrink:0;width:38px;height:38px;padding:0;border:var(--border);border-radius:6px;background:var(--panel-2);color:var(--bone);font-size:26px;line-height:1}
.template-preview__art{width:min(100%,calc((100dvh - 200px) * var(--preview-ratio,1)));aspect-ratio:var(--preview-ratio,1);margin:auto;overflow:hidden}
.template-preview__art > .tpl{width:100%;height:100%}
.template-preview__footer{display:flex;justify-content:center;margin-top:16px}
@media(max-width:479px){.template-preview{padding:12px}.template-preview__header h2{font-size:.9rem}.template-preview__footer .btn{padding:12px;font-size:.875rem}}

/* ---------- B. Editor page chrome ---------- */
.template-raster{display:block;width:100%;height:100%;object-fit:contain}
.template-controls{border:0;padding:0;margin:0;min-width:0;display:grid;gap:24px}
.template-controls:disabled{opacity:.6}
.template-login-notice{padding:18px;border:1px solid var(--rule);border-radius:6px;background:var(--panel-2);margin-bottom:20px}
.template-login-notice p{font-size:.875rem;color:var(--mute);line-height:1.6;margin:8px 0 16px}
.template-login-notice .btn{margin-right:10px;margin-bottom:8px}
.template-editor {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 860px) {
  .template-editor {
    grid-template-columns: 360px minmax(0, 560px);
    gap: var(--s-5);
    align-items: start;
    justify-content: start;
  }
}

.editor-deck {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.editor-deck__title {
  margin: 0;
  color: var(--bone);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}
.editor-deck__desc {
  margin: 0;
  color: var(--mute);
  font-size: var(--t-small);
  line-height: 1.45;
}
.editor-section {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: var(--border);
}
.editor-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

/* ---------- C. Theme swatches + font picker + image picker ---------- */
.theme-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.theme-swatch {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--r-input);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: transform 120ms ease, outline-color 120ms ease, box-shadow 120ms ease;
}
.theme-swatch:hover { transform: translateY(-1px); }
.theme-swatch.is-active { outline-color: var(--acid); }
.theme-swatch__band {
  flex: 1 1 0;
  min-height: 14px;
}
.theme-swatch__band--bg      { background: var(--swatch-bg,      #0B0D0F); }
.theme-swatch__band--surface { background: var(--swatch-surface, #14171B); }
.theme-swatch__band--text    { background: var(--swatch-text,    #E7E9EC); }
.theme-swatch__band--accent  { background: var(--swatch-accent,  #C6FF3D); }

.font-picker {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.font-opt {
  flex: 1 1 0;
  min-width: 100px;
  padding: 10px 12px;
  background: var(--panel-2);
  border: var(--border);
  border-radius: var(--r-input);
  color: var(--mute);
  font-size: var(--t-small);
  text-align: center;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}
.font-opt:hover { color: var(--bone); border-color: var(--rule); }
.font-opt.is-active {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.image-row { display: flex; flex-direction: column; gap: var(--s-2); }
.contact-picker { display: grid; grid-template-columns: repeat(auto-fit, 64px); gap: 6px; }
.contact-choice { position: relative; cursor: pointer; min-width: 0; }
.contact-choice > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 56px; padding: 6px 2px; border: var(--border); border-radius: var(--r-input); background: var(--panel-2); color: var(--bone); font-family: var(--font-mono); font-size: 9px; }
.contact-choice__icon { width: 18px; height: 18px; }
.contact-choice input:checked + span { color: var(--acid); border-color: var(--acid); background: var(--panel); }
.contact-choice input:focus-visible + span { outline: 2px solid var(--acid); outline-offset: 3px; }
.tpl-contact-svg { display: block; width: 100%; height: 100%; }
.image-row--thumb {
  flex-direction: row;
  align-items: stretch;
  gap: var(--s-3);
}
.image-row--thumb .drop {
  flex: 1 1 auto;
  min-height: 80px;
  padding: var(--s-3);
}
.image-row--thumb .image-preview {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  min-height: 0;
}
.image-preview {
  aspect-ratio: 4 / 5;
  background-color: var(--panel-2);
  background-size: cover;
  background-position: center;
  border: var(--border);
  border-radius: var(--r-input);
  position: relative;
  min-height: 120px;
}
.image-preview:empty::after {
  content: "— no image —";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ---------- D. Base .tpl (shared by all 8 templates) ----------
   Each template is rendered at 1080px wide and CSS-scaled in the
   gallery card. The .tpl uses container queries so all internal
   font sizes scale proportionally with the actual rendered width. */
.tpl {
  position: relative;
  width: 100%;
  aspect-ratio: var(--tpl-aspect, 4 / 5);
  background: var(--tpl-bg);
  color: var(--tpl-text);
  font-family: var(--tpl-font);
  overflow: hidden;
  container-type: inline-size;
  line-height: 1.4;
}
.tpl--square   { --tpl-aspect: 1 / 1; }
.tpl--portrait { --tpl-aspect: 4 / 5; }
.tpl--landscape { --tpl-aspect: 1080 / 566; }

/* In the editor, the .tpl lives inside .tpl-host which fills the monitor.
   The .tpl's intrinsic aspect-ratio is dropped so it stretches to the host
   (cqi units in the templates still scale type based on the new width). */
.tpl-host { position: absolute; inset: 0; }
.tpl-host > .tpl { width: 100%; height: 100%; aspect-ratio: auto; }

.tpl__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--tpl-bg);
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.tpl__body {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ---------- D1. Template — Product launch ("Hero caption") ----------
   Full-bleed photo (if provided). Caption block anchored to the bottom;
   a per-template scrim keeps the title legible on any image. */
.tpl--product-launch { background: var(--tpl-bg); }
.tpl--product-launch::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top,
     rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 32%, transparent 62%);
  pointer-events: none;
}

.tpl-launch {
  display: flex; flex-direction: column;
  height: 100%; padding: 6% 6% 5.5%;
  font-family: var(--tpl-font); color: var(--tpl-text);
  position: relative; z-index: 1;
  gap: 4cqi;
}
.tpl-launch__bar {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 3cqi;
}
.tpl-launch__eyebrow {
  font-family: var(--font-mono);
  font-size: 1.3cqi; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.32em;
  color: var(--tpl-accent);
}
.tpl-launch__handle {
  font-family: var(--font-mono);
  font-size: 1.2cqi; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--tpl-text); opacity: 0.7;
}
.tpl-launch__base {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 2cqi;
}
.tpl-launch__heading {
  display: flex; align-items: flex-end;
  gap: 3cqi; flex-wrap: wrap;
}
.tpl-launch__title {
  margin: 0;
  font-size: clamp(9cqi, 13cqi, 17cqi);
  font-weight: 800; line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--tpl-text); overflow-wrap: break-word;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.tpl-launch__price {
  font-size: 2.6cqi; font-weight: 800;
  color: var(--tpl-accent);
  letter-spacing: -0.01em; line-height: 1;
  padding: 0.3cqi 0;
  white-space: nowrap;
}
.tpl-launch__tag {
  margin: 0;
  max-width: 88%;
  font-size: 2.1cqi; font-weight: 400;
  line-height: 1.4;
  color: var(--tpl-text); opacity: 0.85;
}
.tpl-launch__cta {
  align-self: flex-start;
  background: var(--tpl-accent); color: var(--tpl-bg);
  padding: 1.6cqi 2.8cqi;
  display: inline-flex; align-items: center; gap: 1.4cqi;
  font-weight: 800; font-size: 1.7cqi;
  border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.tpl-launch__cta-label { line-height: 1; }
.tpl-launch__cta-arrow { font-size: 1.2em; line-height: 1; }

/* Source: drafts/product_launch.png. Legacy .tpl-launch rules stay above. */
.tpl-product { position: relative; width: 100%; height: 100%; color: var(--tpl-text); background: radial-gradient(ellipse at 50% 42%, var(--tpl-surface), var(--tpl-bg) 85%); }
.tpl-product::before { content: ""; position: absolute; inset: 70.1% 0 0; background: var(--tpl-accent); }
.tpl-product__bar { position: absolute; top: 5.6%; left: 7.7%; width: 84.6%; display: flex; justify-content: space-between; gap: 4%; font-size: 2.35cqi; line-height: 1.3; }
.tpl-product__bar > span { max-width: 48%; overflow-wrap: anywhere; font-size: min(2.35cqi, calc(70cqi / max(30, var(--poster-text-length, 1)))); }
.tpl-product__bar > span:last-child { text-align: right; }
.tpl-product__head { position: absolute; left: 6%; top: 11.5%; width: 88%; text-align: center; }
.tpl-product__new, .tpl-product__title { font-family: "Bodoni Moda", "Times New Roman", serif; font-weight: 400; line-height: .99; letter-spacing: -.055em; white-space: nowrap; }
.tpl-product__new { font-size: min(12cqi, calc(52.8cqi / max(4.4, var(--poster-text-length, 1)))); }
.tpl-product__title { margin: 0; font-size: min(12cqi, calc(84cqi / max(7, var(--poster-text-length, 1)))); }
.tpl-product__tag { position: absolute; top: 34%; left: 26%; width: 48%; margin: 0; text-align: center; font-size: min(2.4cqi, calc(139.2cqi / max(58, var(--poster-text-length, 1)))); line-height: 1.3; white-space: pre-line; overflow-wrap: anywhere; }
.tpl-product__photo { position: absolute; left: 11%; top: 43%; width: 78%; height: 38%; background-size: contain; background-repeat: no-repeat; background-position: center; filter: drop-shadow(.5cqi 1.8cqi 1cqi rgba(35,20,15,.32)); }
.tpl-product__cta { position: absolute; top: 86%; left: 35.6%; width: 28.8%; min-height: 6cqi; padding: 1cqi 1.7cqi; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 2.7cqi; background: #fff; color: var(--tpl-text); border-radius: 9cqi; box-shadow: 0 2.7cqi 1.6cqi -1.4cqi rgba(40,25,20,.28); }
.tpl-product__cta svg { width: 3cqi; height: 3cqi; flex-shrink: 0; }
.tpl-product__cta span { font-size: min(2.55cqi, calc(20.4cqi / max(8, var(--poster-text-length, 1)))); font-weight: 800; line-height: 1.2; white-space: nowrap; }

/* ---------- D2. Template — Hiring ("Recruitment poster") ----------
   Square 1080x1080. Dark navy stage with four angular decorative shapes
   (top-left dark triangle, top-right light-blue triangle, mid-right
   chevron, bottom-right triangle). Top-right brand mark + logo image
   (replaceable via upload); massive eyebrow + HIRING title; role in a
   filled deep-blue band; bulleted requirements; filled CTA + email;
   footer with website + phone. */
.tpl--hiring { background: var(--tpl-bg); }
/* The .tpl__bg div is rendered by the framework (for background images).
   For the hiring template the upload is the company logo, not a
   background, so we hide the bg layer. */
.tpl--hiring .tpl__bg { display: none; }
/* Shared utility: an empty wrapper (e.g. user cleared the phone number)
   collapses completely so the icon + label disappear with the value. */
.tpl--hiring .is-hidden { display: none !important; }

.tpl-hire {
  position: relative;
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 4.5% 4.8% 3.6%;
  box-sizing: border-box;
  font-family: var(--tpl-font); color: var(--tpl-text);
  overflow: hidden;
  isolation: isolate;
}

/* --- Geometric background shapes (sharp, angular, pro) --- */
.tpl-hire__shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
/* Top-left dark triangle: subtle surface tone, hypotenuse from top to
   the left edge at ~28% height. */
.tpl-hire__shape--tri-l {
  top: 0; left: 0;
  width: 52%; height: 28%;
  background: var(--tpl-surface);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
/* Top-right triangle: same dark family as the top-left, mixed with a
   small amount of black so it reads as a step darker. The mix must stay
   well under --tpl-bg (the schemes put surface very close to bg, so
   anything beyond ~10% pushes the result into the bg and the shape
   disappears). */
.tpl-hire__shape--tri-tr {
  top: 0; right: 0;
  width: 48%; height: 38%;
  background: color-mix(in srgb, var(--tpl-surface), black 8%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%);
}
/* Mid-right chevron removed — the corner shapes alone keep the stage
   clean. Re-enable here if a future variant wants the arrow back. */
/* Bottom-right triangle: same slightly-darker surface tone. */
.tpl-hire__shape--tri-br {
  bottom: 0; right: 0;
  width: 20%; height: 12%;
  background: color-mix(in srgb, var(--tpl-surface), black 8%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* --- Top-right logo block --- */
.tpl-hire__brand {
  position: relative; z-index: 2;
  align-self: flex-end;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.8cqi;
  color: var(--tpl-text);
  padding-right: 0.4cqi;
  max-width: 24%;
}
.tpl-hire__logo-img {
  width: 11cqi; height: 11cqi;
  object-fit: contain;
  display: block;
}
.tpl-hire__brand-text {
  font-size: 2cqi; font-weight: 700;
  letter-spacing: 0.01em; line-height: 1.05;
  color: var(--tpl-text);
  text-align: center;
  word-break: break-word;
}

/* --- Main column --- */
.tpl-hire__main {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column;
  margin-top: 1.2cqi;
  min-height: 0;
}

/* --- Heading (eyebrow + HIRING) --- */
.tpl-hire__heading {
  display: flex; flex-direction: column;
  gap: 0.1cqi;
  margin-bottom: 1.2cqi;
  max-width: 70%;
}
.tpl-hire__eyebrow {
  font-family: "Caveat", "Brush Script MT", cursive;
  font-size: clamp(7cqi, 8cqi, 10cqi);
  font-weight: 700;
  line-height: 0.95;
  color: var(--tpl-text);
  letter-spacing: 0.005em;
}
.tpl-hire__title {
  margin: 0;
  font-size: clamp(10.5cqi, 12cqi, 16cqi);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--tpl-text);
  overflow-wrap: break-word;
}

/* --- Role band (deeper blue, white text) — hugs the text, only as wide
   as the role string needs (wraps to a second line if it would overflow). --- */
.tpl-hire__role {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  background: var(--tpl-deep, var(--tpl-surface));
  color: var(--tpl-text);
  /* Symmetric padding. Flex centering + line-height:1 on the child
     removes the half-leading above the em-box, so the cap-top offset in
     the chosen fonts is small enough not to need a bottom bias. */
  padding: 1.6cqi 2.4cqi;
  margin-bottom: 1.4cqi;
}
.tpl-hire__role-text {
  display: inline-block;
  font-size: clamp(3.4cqi, 4cqi, 5cqi);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--tpl-text);
  overflow-wrap: break-word;
}

/* --- Requirements block --- */
.tpl-hire__requirements {
  display: flex; flex-direction: column;
  gap: 0.7cqi;
  margin-bottom: 1.2cqi;
  max-width: 92%;
}
.tpl-hire__req-title {
  margin: 0;
  font-size: clamp(2.6cqi, 3cqi, 3.6cqi);
  font-weight: 800;
  line-height: 1;
  color: var(--tpl-text);
  letter-spacing: -0.005em;
}
.tpl-hire__req-colon { color: var(--tpl-text); }
.tpl-hire__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 0.2cqi;
  font-size: clamp(2cqi, 2.2cqi, 2.6cqi);
  line-height: 1.22;
  color: var(--tpl-text);
}
.tpl-hire__list li {
  position: relative;
  padding-left: 2.2cqi;
}
.tpl-hire__list li::before {
  content: "";
  position: absolute;
  left: 0.2cqi; top: 0.7cqi;
  width: 0.8cqi; height: 0.8cqi;
  border-radius: 50%;
  background: var(--tpl-text);
}

/* --- CTA (deeper blue, white text) --- */
.tpl-hire__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background: var(--tpl-deep, var(--tpl-surface));
  color: var(--tpl-text);
  /* See .tpl-hire__role comment — symmetric padding. */
  padding: 1.6cqi 2.4cqi;
  margin-top: 0.6cqi;
  margin-bottom: 0.8cqi;
}
.tpl-hire__cta-label {
  display: inline-block;
  font-size: clamp(3.2cqi, 3.6cqi, 4.4cqi);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tpl-text);
}

/* Gallery thumbnail context (.template-card__thumb wraps the .tpl in the
   grid only). Keep padding identical to the editor (it reads right at
   this scale too) and only step the role/CTA type down so the glyphs
   don't overpower the small thumbnail. The .tpl container query is
   unchanged, so cqi still resolves against the thumbnail width. */
.template-card__thumb .tpl-hire__role {
  padding: 1.6cqi 2.4cqi;
}
.template-card__thumb .tpl-hire__role-text {
  font-size: clamp(2.9cqi, 3.3cqi, 4.3cqi);
  line-height: 1;
}
.template-card__thumb .tpl-hire__cta {
  padding: 1.6cqi 2.4cqi;
}
.template-card__thumb .tpl-hire__cta-label {
  font-size: clamp(2.7cqi, 3.1cqi, 3.9cqi);
  line-height: 1;
}
.tpl-hire__email {
  font-size: clamp(2.2cqi, 2.5cqi, 3cqi);
  font-weight: 500;
  line-height: 1.2;
  color: var(--tpl-text);
  text-decoration: underline;
  text-underline-offset: 0.3cqi;
  text-decoration-thickness: 0.08cqi;
  word-break: break-word;
  margin-bottom: 0.5cqi;
}

/* --- Footer (website + phone) --- */
.tpl-hire__foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 2cqi;
  margin-top: auto;
  padding-top: 1.4cqi;
}
.tpl-hire__foot-item {
  display: flex; align-items: center;
  gap: 1.3cqi;
  color: var(--tpl-text);
  min-width: 0;
}
.tpl-hire__foot-item--web { flex: 0 1 auto; }
.tpl-hire__foot-item--phone { flex: 0 0 auto; text-align: right; justify-content: flex-end; }
.tpl-hire__foot-icon {
  width: 4.5cqi; height: 4.5cqi;
  flex: 0 0 auto;
  color: var(--tpl-text);
  display: block;
}
.tpl-hire__foot-text {
  display: flex; flex-direction: column;
  gap: 0.35cqi;
  min-width: 0;
}
.tpl-hire__foot-item--phone .tpl-hire__foot-text { align-items: flex-end; }
.tpl-hire__foot-label {
  font-size: clamp(2.2cqi, 2.6cqi, 3cqi);
  font-weight: 700;
  line-height: 1.05;
  color: var(--tpl-text);
}
.tpl-hire__foot-value {
  font-size: clamp(2cqi, 2.4cqi, 2.8cqi);
  font-weight: 500;
  line-height: 1.15;
  color: var(--tpl-text);
  opacity: 0.95;
  word-break: break-word;
}

/* ---------- D3. Template — Course ("Masterclass") ----------
   Portrait editorial poster: a quiet paper stage, bold blue course title,
   diagonal planes, schedule marks and a photo cropped in an oversized ring. */
.tpl--course { background: var(--tpl-bg); }
.tpl--course .tpl__bg { display: none; }

.tpl-course {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--tpl-bg);
  color: var(--tpl-text);
  font-family: var(--tpl-font);
  isolation: isolate;
}
.tpl-course__plane {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
  background: var(--tpl-surface);
}
.tpl-course__plane--top {
  top: 0; right: 0;
  width: 40%; height: 42%;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.tpl-course__plane--bottom {
  left: 0; bottom: 0;
  width: 52%; height: 45%;
  clip-path: polygon(0 18%, 72% 100%, 0 100%);
}
.tpl-course__dots {
  position: absolute;
  z-index: 0;
  width: 10cqi; height: 10cqi;
  display: block;
  background-image: radial-gradient(circle, var(--tpl-text) 0 0.75cqi, transparent 0.85cqi);
  background-size: 3.35cqi 3.35cqi;
  pointer-events: none;
}
.tpl-course__dots--top { top: 20%; right: 6.5%; }
.tpl-course__dots--middle { top: 67%; left: 10%; width: 12cqi; height: 7cqi; }

.tpl-course__content {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  box-sizing: border-box;
  padding: 8% 7% 7% 10%;
  display: flex;
  flex-direction: column;
}
.tpl-course__studio {
  display: block;
  max-width: 72%;
  color: var(--tpl-text);
  font-size: clamp(3cqi, 3.45cqi, 4.2cqi);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}
.tpl-course__title {
  max-width: 88%;
  margin: 4.4cqi 0 0;
  color: var(--tpl-accent);
  font-family: "Anton", "Archivo Black", Impact, sans-serif;
  font-size: clamp(11cqi, 12.3cqi, 14.5cqi);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.008em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.tpl-course__description {
  max-width: 58%;
  margin: 4.5cqi 0 0;
  color: var(--tpl-text);
  font-size: clamp(3.1cqi, 3.45cqi, 4.1cqi);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.tpl-course__schedule {
  display: flex;
  align-items: center;
  gap: 2.3cqi;
  margin-top: 5cqi;
  color: var(--tpl-text);
}
.tpl-course__schedule-icon {
  width: 14.5cqi; height: 14.5cqi;
  flex: 0 0 auto;
  display: block;
}
.tpl-course__schedule-copy {
  display: flex;
  flex-direction: column;
  gap: 0.65cqi;
  min-width: 0;
  font-family: "Anton", "Archivo Black", Impact, sans-serif;
  font-size: clamp(4.2cqi, 4.9cqi, 5.8cqi);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.tpl-course__date,
.tpl-course__time { overflow-wrap: break-word; }
.tpl-course__cta {
  align-self: flex-start;
  max-width: 48%;
  margin-top: auto;
  padding: 1.85cqi 4.3cqi 2.05cqi;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--tpl-accent);
  color: var(--tpl-bg);
  font-size: clamp(3.7cqi, 4.25cqi, 5cqi);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.tpl-course__phone {
  display: flex;
  align-items: center;
  gap: 2cqi;
  max-width: 55%;
  margin-top: 5.1cqi;
  color: var(--tpl-accent);
  font-size: clamp(3.25cqi, 3.75cqi, 4.5cqi);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.tpl-course__phone-icon {
  width: 8.8cqi; height: 8.8cqi;
  flex: 0 0 auto;
  display: block;
}
.tpl-course__phone span { overflow-wrap: anywhere; }
.tpl-course__photo {
  position: absolute;
  z-index: 1;
  top: 40%; right: -36%;
  width: 88%; height: 61%;
  box-sizing: border-box;
  border: 2.35cqi solid var(--tpl-accent);
  border-radius: 50%;
  background-color: var(--tpl-surface);
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--tpl-surface), white 45%), var(--tpl-surface));
  background-size: cover;
  background-position: center;
  box-shadow: 0 1.5cqi 2.5cqi rgba(0, 0, 0, 0.16);
}

/* Reference polish: preserve proportions in editor, gallery and PNG output. */
.tpl-hire { padding: 6.5% 10% 6.4%; background: linear-gradient(90deg, var(--tpl-surface), var(--tpl-bg)); }
.tpl-hire__shape--tri-l { width: 18.7%; height: 10.6%; background: var(--tpl-accent); }
.tpl-hire__shape--tri-tr { width: 100%; height: 28%; background: var(--tpl-accent); clip-path: polygon(35% 0, 100% 0, 100% 63%, 83% 97%); }
.tpl-hire__shape--tri-br { width: 100%; height: 100%; background: linear-gradient(120deg, transparent 20%, var(--tpl-deep)); clip-path: polygon(38.7% 69%, 52% 63%, 100% 91%, 100% 100%); }
.tpl-hire__shape--chevron { right: 0; top: 43.8%; width: 13.5%; height: 34%; background: linear-gradient(135deg, var(--tpl-accent), #119eff 55%, #09267f 55%); clip-path: polygon(0 23%, 100% 0, 100% 100%, 0 73%); }
.tpl-hire__brand { position: absolute; top: 5%; right: 5.8%; width: 17%; max-width: 17%; padding: 0; gap: 1cqi; }
.tpl-hire__logo-img { width: 8.8cqi; height: 8.8cqi; }
.tpl-hire__brand-text { font-size: min(3.2cqi, calc(28.8cqi / max(9, var(--poster-text-length, 9)))); }
.tpl-hire__main { flex: 0 1 auto; margin-top: 0; }
.tpl-hire__heading { max-width: 80%; margin-bottom: 1.5cqi; gap: 0; }
.tpl-hire__eyebrow { font-size: 8cqi; font-weight: 500; line-height: .85; }
.tpl-hire__title { font-size: min(12cqi, calc(72cqi / max(6, var(--poster-text-length, 6)))); font-weight: 800; line-height: .88; margin-top: 1.6cqi; letter-spacing: -.005em; }
.tpl-hire__role, .template-card__thumb .tpl-hire__role { padding: 1.45cqi 2.2cqi; margin-bottom: 4.7cqi; max-width: 100%; }
.tpl-hire__role-text, .template-card__thumb .tpl-hire__role-text { font-size: min(3.2cqi, calc(89.6cqi / max(28, var(--poster-text-length, 28)))); line-height: 1.1; }
.tpl-hire__requirements { max-width: 80%; gap: 1cqi; margin-bottom: 3.8cqi; }
.tpl-hire__req-title { font-size: 3.1cqi; line-height: 1.1; }
.tpl-hire__list { font-size: 2.15cqi; line-height: 1.5; gap: 0; }
.tpl-hire__list li { padding-left: 2cqi; }
.tpl-hire__list-item { font-size: min(2.15cqi, calc(169.85cqi / max(79, var(--poster-text-length, 79)))); }
.tpl-hire__list li::before { width: .65cqi; height: .65cqi; top: 1.2cqi; }
.tpl-hire__cta, .template-card__thumb .tpl-hire__cta { padding: 1.5cqi 2.2cqi; margin-top: 0; margin-bottom: .7cqi; max-width: 100%; }
.tpl-hire__cta-label, .template-card__thumb .tpl-hire__cta-label { font-size: min(2.9cqi, calc(40.6cqi / max(14, var(--poster-text-length, 14)))); line-height: 1.1; letter-spacing: -.015em; overflow-wrap: anywhere; }
.tpl-hire__email { font-size: 2.5cqi; font-weight: 400; text-decoration: none; }
.tpl-hire__foot { padding-top: 2cqi; }
.tpl-hire__foot-item { max-width: 48%; gap: 1cqi; }
.tpl-hire__foot-icon { width: 3.6cqi; height: 3.6cqi; }
.tpl-hire__foot-label { font-size: 1.35cqi; }
.tpl-hire__foot-value { font-size: 1.35cqi; font-weight: 400; }

.tpl-course { background: linear-gradient(120deg, var(--tpl-surface), var(--tpl-bg) 65%); }
.tpl-course__plane--top { top: 6.7%; width: 53%; height: 93.3%; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.tpl-course__plane--bottom { top: 48%; bottom: auto; left: -10%; width: 23%; height: 48%; border-radius: 10cqi; transform: rotate(34deg); clip-path: none; }
.tpl-course__dots--top { top: 20.2%; right: 5.5%; width: 10.4cqi; height: 16.5cqi; background-size: 3.9cqi 4.5cqi; background-image: radial-gradient(circle, var(--tpl-text) 0 .55cqi, transparent .65cqi); }
.tpl-course__dots--middle { top: 67%; width: 11.6cqi; height: 4.8cqi; background-size: 1.9cqi 1.7cqi; background-image: radial-gradient(circle, var(--tpl-text) 0 .2cqi, transparent .3cqi); }
.tpl-course__content { padding-top: 10%; }
.tpl-course__studio { font-size: 3.6cqi; font-weight: 400; letter-spacing: 0; }
.tpl-course__title { margin-top: 3.3cqi; font-size: min(11.2cqi, calc(280cqi / max(25, var(--poster-text-length, 25)))); line-height: 1.01; letter-spacing: 0; }
.tpl-course__description { max-width: 57%; margin-top: 3.8cqi; font-size: min(3cqi, calc(288cqi / max(96, var(--poster-text-length, 96)))); line-height: 1.36; letter-spacing: 0; }
.tpl-course__schedule { flex-direction: column; align-items: flex-start; gap: .9cqi; margin-top: 5.8cqi; font-family: "Anton", Impact, sans-serif; line-height: 1.16; }
.tpl-course__schedule-row { display: flex; align-items: center; gap: 1.5cqi; max-width: 44%; }
.tpl-course__schedule-icon { width: 4cqi; height: 4cqi; flex: 0 0 4cqi; }
.tpl-course__schedule-copy { max-width: 24%; font-size: 4.2cqi; line-height: 1.16; gap: .25cqi; text-transform: none; }
.tpl-course__date, .tpl-course__time { font-size: min(4.2cqi, calc(50.4cqi / max(12, var(--poster-text-length, 12)))); }
.tpl-course__cta { position: absolute; left: 10%; bottom: 17.6%; max-width: 40%; margin: 0; padding: 1.4cqi 3.2cqi; color: #fff; font-size: min(3cqi, calc(36cqi / max(12, var(--poster-text-length, 12)))); line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
.tpl-course__phone { position: absolute; left: 10%; bottom: 7.9%; max-width: 44%; margin: 0; gap: 1.6cqi; color: var(--tpl-text); font-size: 2.9cqi; letter-spacing: -.03em; }
.tpl-course__phone-icon { width: 6.5cqi; height: 6.5cqi; color: var(--tpl-accent); }
.tpl-course__phone [data-field="phone"] { min-width: 0; flex: 1; font-size: clamp(1.6cqi, calc(52.2cqi / max(18, var(--poster-text-length, 18))), 2.9cqi); line-height: 1.2; }
.tpl--course .is-hidden { display: none !important; }
.tpl-course__photo { top: 37.8%; left: 42.6%; right: auto; width: 72.2%; height: 57.4%; border-radius: 50% 50% 0 50%; background-size: cover; background-color: var(--tpl-accent); }

/* Legacy sale layouts remain available for existing saved designs. */
.tpl--sale .tpl__bg { opacity: .18; }
.tpl-sale:not(.tpl-sale--coupon) { height:100%; padding:8% 7.5%; display:flex; flex-direction:column; font-family:var(--tpl-font); color:var(--tpl-text); position:relative; z-index:1; gap:1cqi; }
.tpl-sale:not(.tpl-sale--coupon) .tpl-sale__eyebrow { font-family:var(--font-mono); font-size:1.2cqi; font-weight:600; text-transform:uppercase; letter-spacing:.32em; color:var(--tpl-text); opacity:.75; margin-bottom:1cqi; }
.tpl-sale:not(.tpl-sale--coupon) .tpl-sale__big { display:flex; align-items:baseline; gap:.6cqi; line-height:.82; }
.tpl-sale:not(.tpl-sale--coupon) .tpl-sale__pct { font-size:clamp(36cqi,46cqi,56cqi); font-weight:800; letter-spacing:-.06em; line-height:.82; color:var(--tpl-text); font-feature-settings:"tnum" 1,"lnum" 1; }
.tpl-sale:not(.tpl-sale--coupon) .tpl-sale__sym { font-size:clamp(13cqi,17cqi,21cqi); font-weight:700; line-height:1; color:var(--tpl-accent); font-style:italic; }
.tpl-sale:not(.tpl-sale--coupon) .tpl-sale__off-label { font-size:clamp(8cqi,10cqi,13cqi); font-weight:700; line-height:1; letter-spacing:.04em; color:var(--tpl-text); text-transform:uppercase; border-bottom:2px solid var(--tpl-accent); padding:0 0 .6cqi; align-self:flex-start; margin:.6cqi 0 2.4cqi; }
.tpl-sale:not(.tpl-sale--coupon) .tpl-sale__sub { margin:0 0 1.5cqi; max-width:72%; font-size:2.2cqi; font-weight:400; line-height:1.35; color:var(--tpl-text); opacity:.85; }
.tpl-sale:not(.tpl-sale--coupon) .tpl-sale__foot { margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:2cqi; padding-top:1.6cqi; border-top:1px solid currentColor; font-family:var(--font-mono); font-size:1.25cqi; font-weight:600; text-transform:uppercase; letter-spacing:.18em; color:var(--tpl-text); opacity:.92; }
.tpl-sale:not(.tpl-sale--coupon) .tpl-sale__code { background:var(--tpl-text); color:var(--tpl-bg); padding:.85cqi 1.5cqi; font-weight:700; border-radius:.8cqi; white-space:nowrap; letter-spacing:.14em; }
.tpl-sale:not(.tpl-sale--coupon) .tpl-sale__dates { text-align:right; }

/* ---------- Sale — supplied peach coupon poster ---------- */
.tpl--sale:has(.tpl-sale--coupon) .tpl__bg { display: none; }
.tpl-sale--coupon {
  position: relative;
  width: 100%; height: 100%;
  color: var(--tpl-text);
  font-family: var(--tpl-font);
  background-color: var(--tpl-bg);
  background-image:
    linear-gradient(to right, transparent calc(100% - 0.2cqi), #fff5 0),
    linear-gradient(to bottom, transparent calc(100% - 0.2cqi), #fff5 0),
    linear-gradient(to bottom, #ffffff80, transparent 35%, transparent 75%, #ffffff70);
  background-size: 6.33cqi 6.33cqi, 6.33cqi 6.33cqi, 100% 100%;
  background-position: -0.6cqi 2.5cqi, -0.6cqi 2.5cqi, 0 0;
}
.tpl-sale--coupon .tpl-sale__brand-row {
  position: absolute; top: 7.4%; left: 11%; width: 76%; height: 6%;
  display: flex; align-items: center; justify-content: center; gap: 1.4cqi;
}
.tpl-sale--coupon .tpl-sale__logo { position: relative; width: 6cqi; height: 6cqi; flex: 0 0 auto; }
.tpl-sale--coupon .tpl-sale__logo img { width: 100%; height: 100%; object-fit: contain; }
.tpl-sale--coupon .tpl-sale__logo img:not([src]), .tpl-sale--coupon .tpl-sale__logo img[src=""] { display: none; }
.tpl-sale--coupon .tpl-sale__logo-copy { position: absolute; inset: 0; border-radius: 50%; background: var(--tpl-accent); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: "Archivo Black", sans-serif; font-size: 1.85cqi; line-height: .85; }
.tpl-sale--coupon .tpl-sale__logo:has(img[src]:not([src=""])) .tpl-sale__logo-copy { display: none; }
.tpl-sale--coupon .tpl-sale__brand { font-size: min(4cqi, calc(32cqi / max(8, var(--sale-text-length, 8)))); font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.tpl-sale--coupon .tpl-sale__title { position: absolute; left: 9%; width: 82%; top: 17.45%; margin: 0; font-family: "Anton", Impact, sans-serif; font-size: min(12.9cqi, calc(193.5cqi / max(15, var(--sale-text-length, 15)))); line-height: 1.08; font-weight: 400; text-align: center; white-space: nowrap; letter-spacing: -.02em; }
.tpl-sale--coupon .tpl-sale__subtitle { position: absolute; left: 8%; top: 27.8%; width: 84%; margin: 0; font-family: "Kaushan Script", cursive; font-size: min(8.9cqi, calc(151.3cqi / max(17, var(--sale-text-length, 17)))); font-weight: 400; -webkit-text-stroke: .12cqi currentColor; line-height: 1.2; text-align: center; white-space: nowrap; }
.tpl-sale--coupon .tpl-sale__coupon-back { position: absolute; left: 14%; top: 44.3%; width: 72%; height: 32.6%; border-radius: 3.7cqi; background: var(--tpl-accent); transform: rotate(-4.5deg); mask: radial-gradient(circle at 0 50%, transparent 5.45cqi, #000 calc(5.45cqi + 1px)) left, radial-gradient(circle at 100% 50%, transparent 5.45cqi, #000 calc(5.45cqi + 1px)) right; mask-size: 51% 100%; mask-repeat: no-repeat; }
.tpl-sale--coupon .tpl-sale__coupon { position: absolute; left: 13.75%; top: 44.3%; width: 72.5%; height: 32.6%; border-radius: 3.7cqi; background: var(--tpl-surface); display: flex; flex-direction: column; align-items: center; text-align: center; -webkit-mask: radial-gradient(circle at 0 50%, transparent 5.45cqi, #000 calc(5.45cqi + 1px)) left, radial-gradient(circle at 100% 50%, transparent 5.45cqi, #000 calc(5.45cqi + 1px)) right; -webkit-mask-size: 51% 100%; -webkit-mask-repeat: no-repeat; mask: radial-gradient(circle at 0 50%, transparent 5.45cqi, #000 calc(5.45cqi + 1px)) left, radial-gradient(circle at 100% 50%, transparent 5.45cqi, #000 calc(5.45cqi + 1px)) right; mask-size: 51% 100%; mask-repeat: no-repeat; }
.tpl-sale--coupon .tpl-sale__intro { position: absolute; left: 8%; top: 11.5%; width: 84%; margin: 0; font-size: min(3.3cqi, calc(75.9cqi / max(23, var(--sale-text-length, 23)))); line-height: 1.25; font-weight: 500; overflow-wrap: anywhere; }
.tpl-sale--coupon .tpl-sale__discount { position: absolute; left: 8%; top: 28.2%; width: 84%; display: flex; justify-content: center; align-items: center; font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: min(18.8cqi, calc(56.4cqi / max(3, var(--sale-discount-length, 3)))); transform: scaleX(1.35); line-height: 1; letter-spacing: -.04em; }
.tpl-sale--coupon .tpl-sale__products { position: absolute; left: 10%; bottom: 11.5%; width: 80%; margin: 0; font-size: min(3.3cqi, calc(52.8cqi / max(16, var(--sale-text-length, 16)))); line-height: 1.2; font-weight: 500; overflow-wrap: anywhere; }
.tpl-sale--coupon .tpl-sale__cta { position: absolute; left: 21.2%; top: 83.25%; width: 57.6%; height: 7.1%; border-radius: 9cqi; background: var(--tpl-accent); color: var(--tpl-surface); display: flex; align-items: center; justify-content: center; padding: 1cqi 3cqi; text-align: center; font-size: min(4.4cqi, calc(70.4cqi / max(16, var(--sale-text-length, 16)))); font-weight: 500; line-height: 1.1; overflow-wrap: anywhere; }

.tpl-sale--coupon .tpl-sale__pointer { position:absolute; left:76.0779%; top:86.9082%; width:10.7669%; height:7.4194%; overflow:visible; pointer-events:none; }

.tpl-sale--coupon .tpl-sale__logo-copy span { font-size: min(1.85cqi, calc(3.7cqi / max(2, var(--sale-text-length, 2)))); }

/* ---------- D4. Template — Quote ("Silent serif") ----------
   Generous margins, left-aligned italic serif. The first letter is tinted
   accent — the single quiet wayfinding cue. Attribution under a hairline. */
.tpl-quote {
  height: 100%; padding: 12% 11%;
  display: flex; flex-direction: column;
  justify-content: center;
  font-family: var(--tpl-font); color: var(--tpl-text);
  position: relative; z-index: 1;
}
.tpl-quote__text {
  margin: 0;
  font-size: clamp(4.4cqi, 5.4cqi, 7cqi);
  font-weight: 500; font-style: italic;
  line-height: 1.22; letter-spacing: -0.012em;
  color: var(--tpl-text);
  overflow-wrap: break-word;
  text-align: left;
}
.tpl-quote__text::first-letter {
  color: var(--tpl-accent);
  font-weight: 700;
}
.tpl-quote__by {
  margin: 3cqi 0 0;
  max-width: 80%;
  padding-top: 1.6cqi;
  border-top: 1px solid var(--tpl-accent);
  display: flex; flex-direction: column; gap: 0.7cqi;
}
.tpl-quote__author {
  font-size: 2.4cqi; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--tpl-text);
}
.tpl-quote__role {
  font-family: var(--font-mono);
  font-size: 1.25cqi; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--tpl-text); opacity: 0.65;
}

/* Quote reference: drafts/quote.png; legacy unscoped artwork stays above. */
.tpl-quote--organic { padding: 0; display: block; background: var(--tpl-bg); --quote-blue: #9AAAB3; --quote-mauve: #ACA1A6; }
[data-scheme="sage"] .tpl-quote--organic { --quote-blue: #91AAA5; --quote-mauve: #B5B3A2; }
[data-scheme="dusk"] .tpl-quote--organic { --quote-blue: #98A8C0; --quote-mauve: #B7A3B2; }
.tpl-quote__shapes { position: absolute; inset: 0; width: 100%; height: 100%; }
.tpl-quote__shape--gold { fill: var(--tpl-deep); }
.tpl-quote__shape--rose { fill: var(--tpl-accent); }
.tpl-quote__shape--blue { fill: var(--quote-blue); }
.tpl-quote__shape--mauve { fill: var(--quote-mauve); }
.tpl-quote__card { position: absolute; inset: 13.25%; background: color-mix(in srgb,var(--tpl-surface) 84%,transparent); }
.tpl-quote__mark { position: absolute; left: 43.25%; top: 10.2%; width: 13.5%; height: auto; color: var(--tpl-accent); }
.tpl-quote--organic .tpl-quote__text { position: absolute; top: 26.7%; left: 15%; width: 70%; margin: 0; font-family: var(--tpl-font); font-size: clamp(3.1cqi, calc(8.06cqi - var(--poster-text-length, 58) * .02cqi), 6.9cqi); font-weight: 400; font-style: normal; line-height: 1.22; letter-spacing: 0; text-align: center; white-space: pre-line; overflow-wrap: anywhere; }
.tpl-quote--organic .tpl-quote__text::first-letter { color: inherit; font-weight: inherit; }
.tpl-quote--organic .tpl-quote__by { position: absolute; left: 10%; top: 86.5%; width: 80%; max-width: none; padding: 0; margin: 0; border: 0; text-align: center; align-items: center; gap: .6cqi; }
.tpl-quote--organic .tpl-quote__author, .tpl-quote--organic .tpl-quote__role { font-family: "Inter", sans-serif; color: var(--quote-mauve); font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; line-height: 1.3; opacity: 1; overflow-wrap: anywhere; }
.tpl-quote--organic .tpl-quote__author { font-size: min(2.65cqi, calc(103cqi / max(39, var(--poster-text-length, 1)))); }
.tpl-quote--organic .tpl-quote__role { font-size: min(1.65cqi, calc(70cqi / max(42, var(--poster-text-length, 1)))); }

/* ---------- D5. Template — Event ("Festival poster") ----------
   Photo-led with a bottom scrim. Date pill top-left, big title bottom-left
   + sub stacked under it + venue aligned to the bottom-right. */
.tpl--event { background: var(--tpl-bg); }
.tpl--event::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top,
     rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 38%, transparent 72%);
  pointer-events: none;
}

.tpl-event {
  height: 100%; padding: 5.5% 6% 6%;
  display: flex; flex-direction: column;
  font-family: var(--tpl-font); color: var(--tpl-text);
  position: relative; z-index: 1;
}
.tpl-event__date {
  align-self: flex-start;
  background: var(--tpl-accent); color: var(--tpl-bg);
  padding: 1.3cqi 2.2cqi;
  display: flex; flex-direction: column; align-items: center; gap: 0.15cqi;
  border-radius: 1cqi;
  min-width: 20%; max-width: 30%;
}
.tpl-event__dow {
  font-family: var(--font-mono);
  font-size: 1.5cqi; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  line-height: 1;
}
.tpl-event__day {
  font-size: clamp(8cqi, 10cqi, 13cqi);
  font-weight: 900; line-height: 0.82;
  letter-spacing: -0.05em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.tpl-event__month {
  font-family: var(--font-mono);
  font-size: 1.5cqi; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  line-height: 1;
}
.tpl-event__base {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 1.6cqi;
}
.tpl-event__title {
  margin: 0;
  font-size: clamp(8cqi, 11cqi, 15cqi);
  font-weight: 800; line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--tpl-text); overflow-wrap: break-word;
  text-shadow: 0 2px 14px rgba(0,0,0,0.32);
}
.tpl-event__sub {
  margin: 0;
  max-width: 88%;
  font-size: 2.1cqi; font-weight: 400;
  line-height: 1.4;
  color: var(--tpl-text); opacity: 0.88;
}
.tpl-event__venue-row {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 2cqi;
  padding-top: 1.4cqi;
  border-top: 1px solid currentColor;
}
.tpl-event__venue-label {
  font-family: var(--font-mono);
  font-size: 1.2cqi; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--tpl-accent);
}
.tpl-event__venue {
  font-size: 1.9cqi; font-weight: 700;
  line-height: 1;
  color: var(--tpl-text); opacity: 0.9;
  text-align: right;
  max-width: 60%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- D6. Template — Listicle ("Editorial number list") ----------
   Headline + numbered list, hairline rules between rows. The numerals
   are oversized in accent — the design language of the template. */
.tpl--listicle .tpl__bg { opacity: 0.16; }

.tpl-list {
  height: 100%; padding: 7% 6.5%;
  display: flex; flex-direction: column;
  font-family: var(--tpl-font); color: var(--tpl-text);
  position: relative; z-index: 1;
  gap: 2.4cqi;
}
.tpl-list__head {
  display: flex; flex-direction: column; gap: 1cqi;
  padding-bottom: 2.2cqi;
  border-bottom: 1px solid currentColor;
}
.tpl-list__eyebrow {
  font-family: var(--font-mono);
  font-size: 1.3cqi; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--tpl-accent);
}
.tpl-list__title {
  margin: 0; max-width: 96%;
  font-size: clamp(4.6cqi, 6cqi, 8cqi);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--tpl-text); overflow-wrap: break-word;
}
.tpl-list__items {
  list-style: none; padding: 0; margin: 0;
  flex: 1;
  display: flex; flex-direction: column; gap: 0;
}
.tpl-list__items li {
  display: flex; align-items: baseline;
  gap: 2.8cqi;
  padding: 1.4cqi 0;
  border-bottom: 1px solid currentColor;
}
.tpl-list__items li:last-child { border-bottom: 0; }
.tpl-list__n {
  flex: 0 0 auto;
  font-size: 4.2cqi; font-weight: 800;
  line-height: 1; letter-spacing: -0.05em;
  color: var(--tpl-accent);
  min-width: 2.2em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.tpl-list__t {
  font-size: 1.95cqi; line-height: 1.3;
  font-weight: 500;
  color: var(--tpl-text);
  min-width: 0;
}

/* Reference event artwork: drafts/event.png. */
.tpl-summit { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); }
.tpl-summit__photo { position: absolute; inset: 0; background-size: cover; background-position: center bottom; }
.tpl-summit__fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 24%, color-mix(in srgb, var(--tpl-bg) 18%, transparent) 33%, var(--tpl-bg) 51%); }
.tpl-summit__trails { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--tpl-accent); pointer-events: none; }
.tpl-summit__trail-glow { filter: drop-shadow(0 0 .15cqi var(--tpl-accent)) drop-shadow(0 0 .45cqi var(--tpl-accent)); }
.tpl-summit__brand { position: absolute; top: 7.1%; left: 67%; width: 18%; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.tpl-summit__brand b { color: var(--tpl-accent); font-size: min(2.95cqi, calc(59cqi / max(20, var(--poster-text-length, 1)))); }
.tpl-summit__brand span { font-size: min(2.6cqi, calc(52cqi / max(20, var(--poster-text-length, 1)))); }
.tpl-summit__title { position: absolute; top: 37.1%; left: 7%; width: 86%; margin: 0; text-align: center; font-weight: 800; line-height: 1.06; letter-spacing: .015em; text-shadow: 0 0 .7cqi rgba(255,255,255,.6); }
.tpl-summit__title span { display: block; font-size: min(8.6cqi, calc(111.8cqi / max(13, var(--poster-text-length, 1)))); white-space: nowrap; }
.tpl-summit__sub { position: absolute; top: 53.1%; left: 12%; width: 76%; margin: 0; text-align: center; color: var(--tpl-accent); font-size: min(3.75cqi, calc(135cqi / max(36, var(--poster-text-length, 1)))); line-height: 1.25; overflow-wrap: anywhere; }
.tpl-summit__speaker { position: absolute; top: 62.2%; left: 19.4%; width: 61.2%; height: 5.2%; display: flex; align-items: center; border: .27cqi solid var(--tpl-accent); border-radius: 8cqi; overflow: hidden; box-sizing: border-box; }
.tpl-summit__speaker > span { align-self: stretch; display: flex; align-items: center; justify-content: center; width: 39%; flex-shrink: 0; padding: .5cqi 1cqi; box-sizing: border-box; background: var(--tpl-accent); color: var(--tpl-bg); border-radius: 8cqi; font-size: min(2.6cqi, calc(39cqi / max(15, var(--poster-text-length, 1)))); }
.tpl-summit__speaker > b { flex: 1; min-width: 0; text-align: center; padding: 0 1cqi; font-size: min(3.85cqi, calc(57.75cqi / max(15, var(--poster-text-length, 1)))); font-weight: 700; white-space: nowrap; }
.tpl-summit__details { position: absolute; top: 72%; left: 14.3%; width: 73%; display: grid; grid-template-columns: 44% 52%; gap: 4%; }
.tpl-summit__details > div { display: flex; align-items: flex-start; gap: .9cqi; min-width: 0; }
.tpl-summit__details i { flex: 0 0 4.9cqi; width: 4.9cqi; height: 4.9cqi; padding: 1cqi; box-sizing: border-box; border-radius: 50%; background: var(--tpl-accent); }
.tpl-summit__details svg { display: block; width: 100%; height: 100%; }
.tpl-summit__details > div > div { min-width: 0; display: flex; flex-direction: column; gap: .35cqi; }
.tpl-summit__details b { font-size: min(2.95cqi, calc(59cqi / max(20, var(--poster-text-length, 1)))); line-height: 1.3; overflow-wrap: anywhere; }
.tpl-summit__details span { font-size: min(2.55cqi, calc(66.3cqi / max(26, var(--poster-text-length, 1)))); line-height: 1.3; overflow-wrap: anywhere; }
.tpl-summit__footer { position: absolute; left: 0; top: 85.6%; width: 100%; height: 9.45%; display: flex; align-items: center; justify-content: center; gap: 1cqi; padding: 2cqi 6% 0; box-sizing: border-box; background: var(--tpl-accent); color: var(--tpl-bg); }
.tpl-summit__contact { font-size: min(2.55cqi, calc(76.5cqi / max(30, var(--poster-text-length, 1)))); min-width: 0; overflow-wrap: anywhere; text-align: center; line-height: 1.25; }
.tpl-summit__contact:not(.is-hidden) ~ .tpl-summit__contact:not(.is-hidden) { border-left: .15cqi solid currentColor; padding-left: 1cqi; }
.tpl-summit__cta { position: absolute; top: 83.4%; left: 32.3%; width: 35.4%; min-height: 4.4%; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: .6cqi 1.5cqi; border-radius: 7cqi; background: var(--tpl-surface); color: var(--tpl-bg); font-size: min(3.25cqi, calc(48.75cqi / max(15, var(--poster-text-length, 1)))); font-weight: 700; line-height: 1.2; }

/* Reference listicle artwork: drafts/listicle.png. */
.tpl-tips { position: relative; width: 100%; height: 100%; background: repeating-linear-gradient(90deg, var(--tpl-bg) 0 10.3cqi, var(--tpl-surface) 10.3cqi 15cqi); background-position: -6.6cqi 0; color: var(--tpl-text); font-family: var(--tpl-font); }
.tpl-tips__card { position: absolute; left: 12.5%; top: 9.6%; width: 75%; height: 80.7%; border: .25cqi solid var(--tpl-text); border-radius: 3.3cqi; background: var(--tpl-surface); box-sizing: border-box; }
.tpl-tips__title { position: absolute; left: 5%; top: 10.9%; width: 90%; margin: 0; text-align: center; white-space: pre-line; font-size: min(6.4cqi, calc(224cqi / max(35, var(--poster-text-length, 1)))); font-weight: 400; line-height: 1.45; overflow-wrap: anywhere; }
.tpl-tips__items { position: absolute; left: 10%; top: 34%; width: 82%; height: 51.4%; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; }
.tpl-tips__items li { position: relative; flex: 0 0 6.8cqi; display: flex; align-items: center; justify-content: center; padding: .3cqi 1cqi .3cqi 6.7cqi; box-sizing: border-box; border: .25cqi solid var(--tpl-text); border-radius: 2.1cqi; }
.tpl-tips__n { position: absolute; left: -.7cqi; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 7.6cqi; height: 7.8cqi; border: .25cqi solid var(--tpl-text); box-sizing: border-box; border-radius: 50%; background: var(--tpl-accent); font-size: 3.25cqi; line-height: 1; }
.tpl-tips__t { display: block; text-align: center; font-weight: 400; font-size: min(3.25cqi, calc(74.75cqi / max(23, var(--poster-text-length, 1)))); line-height: 1.2; overflow-wrap: anywhere; }
.tpl-tips__website { position: absolute; left: 7%; top: 90.6%; width: 86%; text-align: center; font-size: min(3.25cqi, calc(87.75cqi / max(27, var(--poster-text-length, 1)))); font-style: italic; line-height: 1.2; overflow-wrap: anywhere; }

/* ---------- D7. Template — Announcement ("Scandi poster") ----------
   Bold near-empty stage. A left accent rule, big uppercase title set at
   center, single CTA at the bottom-left. Less is the design. */
.tpl--announcement .tpl__bg { opacity: 0.16; }

.tpl-ann {
  height: 100%; padding: 7% 7.5% 7% 8.5%;
  display: flex; flex-direction: column;
  font-family: var(--tpl-font); color: var(--tpl-text);
  position: relative; z-index: 1;
  gap: 1.8cqi;
}
.tpl-ann::before {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0;
  width: 0.6cqi;
  background: var(--tpl-accent);
}
.tpl-ann__top {
  display: flex; justify-content: space-between;
  align-items: baseline;
  gap: 2cqi;
}
.tpl-ann__eyebrow {
  font-family: var(--font-mono);
  font-size: 1.3cqi; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--tpl-accent);
}
.tpl-ann__date {
  font-family: var(--font-mono);
  font-size: 1.3cqi; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--tpl-text); opacity: 0.7;
}
.tpl-ann__title {
  margin: auto 0;
  max-width: 100%;
  font-size: clamp(11cqi, 17cqi, 23cqi);
  font-weight: 900; line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--tpl-text);
  overflow-wrap: break-word;
  text-transform: uppercase;
}
.tpl-ann__sub {
  margin: 0 0 1.4cqi;
  max-width: 84%;
  font-size: 2.4cqi; line-height: 1.35;
  color: var(--tpl-text); opacity: 0.88;
}
.tpl-ann__cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 1.4cqi;
  background: var(--tpl-accent); color: var(--tpl-bg);
  padding: 1.6cqi 3cqi;
  font-size: 1.65cqi; font-weight: 800;
  letter-spacing: 0.02em; text-transform: uppercase;
  border-radius: 100px;
}
.tpl-ann__cta-label { line-height: 1; }
.tpl-ann__cta-arrow { font-size: 1.25em; line-height: 1; }

/* ---------- D8. Template — Testimonial ("App review") ----------
   Stars + big italic quote + attribution under a hairline. The first
   letter of the quote is accent — the one wayfinding cue. */
.tpl-test {
  height: 100%; padding: 7.5% 7%;
  display: flex; flex-direction: column;
  justify-content: center;
  font-family: var(--tpl-font); color: var(--tpl-text);
  position: relative; z-index: 1;
  gap: 3cqi;
}
.tpl-test__stars {
  font-size: 4cqi; line-height: 1;
  color: var(--tpl-accent);
  letter-spacing: 0.18em;
  font-weight: 700;
}
.tpl-test__quote {
  margin: 0; max-width: 94%;
  font-size: clamp(4cqi, 4.8cqi, 6.4cqi);
  font-style: italic; font-weight: 500;
  line-height: 1.2; letter-spacing: -0.012em;
  color: var(--tpl-text);
  overflow-wrap: break-word;
}
.tpl-test__quote::first-letter {
  color: var(--tpl-accent);
  font-weight: 700;
}
.tpl-test__by {
  display: flex; flex-direction: column; gap: 0.4cqi;
  padding-top: 1.8cqi;
  border-top: 1px solid currentColor;
  max-width: 80%;
}
.tpl-test__name {
  font-size: 2.3cqi; font-weight: 700;
  color: var(--tpl-text);
  letter-spacing: -0.005em;
}
.tpl-test__role {
  font-family: var(--font-mono);
  font-size: 1.25cqi; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--tpl-text); opacity: 0.65;
}

/* Announcement collage from drafts/announcement.png. */
.tpl-bulletin { position: relative; width: 100%; height: 100%; background: linear-gradient(var(--tpl-bg) 0 30%, var(--tpl-surface) 30%); color: var(--tpl-text); font-family: var(--tpl-font); }
.tpl-bulletin__decor { position: absolute; inset: 0; width: 100%; height: 100%; }
.tpl-bulletin__purple { position: absolute; left: 36.6%; top: 28%; width: 70%; height: 30.8%; border-radius: 0 0 0 9cqi; background: color-mix(in srgb, var(--tpl-accent) 74%, var(--tpl-surface)); transform: rotate(-1deg); }
.tpl-bulletin__banner { position: absolute; inset: 12.8% 0 46.7%; background: var(--tpl-accent); clip-path: polygon(0 8.5%, 100% 0, 100% 94%, 12% 87%, 0 100%); }
.tpl-bulletin__brand { position: absolute; left: 10%; top: 7%; width: 45%; font-size: min(2.65cqi, calc(79.5cqi / max(30, var(--poster-text-length, 1)))); line-height: 1.2; color: var(--tpl-surface); }
.tpl-bulletin__title { position: absolute; left: 10%; top: 20.2%; width: 55%; margin: 0; font-family: "Inter", sans-serif; font-weight: 800; font-size: min(10.8cqi, calc(216cqi / max(20, var(--poster-text-length, 1)))); line-height: .88; letter-spacing: -.065em; white-space: pre-line; overflow-wrap: anywhere; color: var(--tpl-surface); }
.tpl-bulletin__art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tpl-bulletin__arrow { position: absolute; top: 60.5%; left: 14.1%; width: 12.1%; height: 4.1%; display: flex; justify-content: flex-end; align-items: center; padding: .5cqi; box-sizing: border-box; background: var(--tpl-bg); color: var(--tpl-surface); border-radius: 8cqi; }
.tpl-bulletin__arrow svg { height: 100%; width: auto; }
.tpl-bulletin__sub { position: absolute; top: 68.5%; left: 14.1%; width: 70%; margin: 0; font-size: min(2.65cqi, calc(397.5cqi / max(150, var(--poster-text-length, 1)))); line-height: 1.35; overflow-wrap: anywhere; }
.tpl-bulletin__date { position: absolute; top: 79.2%; left: 14.1%; width: 77%; font-size: min(4.45cqi, calc(120.15cqi / max(27, var(--poster-text-length, 1)))); font-weight: 700; color: var(--tpl-accent); line-height: 1.2; overflow-wrap: anywhere; }
.tpl-bulletin__venue { position: absolute; top: 83.8%; left: 14.1%; width: 77%; font-size: min(2.2cqi, calc(99cqi / max(45, var(--poster-text-length, 1)))); line-height: 1.25; overflow-wrap: anywhere; }
.tpl-bulletin__footer { position: absolute; top: 88.8%; left: 14.1%; width: 77%; display: grid; grid-template-columns: 41% 59%; align-items: center; }
.tpl-bulletin__footer > b { padding-right: 2cqi; color: var(--tpl-accent); font-size: min(3.1cqi, calc(55.8cqi / max(18, var(--poster-text-length, 1)))); line-height: 1.2; overflow-wrap: anywhere; }
.tpl-bulletin__footer > div { border-left: .2cqi solid var(--tpl-text); padding-left: 6cqi; display: flex; flex-direction: column; gap: .45cqi; }
.tpl-bulletin__footer > div > span { display: flex; align-items: center; gap: 1.5cqi; min-width: 0; }
.tpl-bulletin__footer svg { width: 2.5cqi; height: 2.5cqi; flex-shrink: 0; color: var(--tpl-accent); }
.tpl-bulletin__footer [data-field] { font-size: min(2cqi, calc(70cqi / max(35, var(--poster-text-length, 1)))); line-height: 1.3; overflow-wrap: anywhere; }
.tpl-bulletin__footer > b[data-field] { font-size: min(3.1cqi, calc(55.8cqi / max(18, var(--poster-text-length, 1)))); }

/* Testimonial reference: drafts/testimonial.png. */
.tpl-review { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); }
.tpl-review__card { position: absolute; top: 0; left: 8.15%; width: 83.7%; height: 88.25%; background: var(--tpl-surface); border-radius: 0 0 21cqi 13cqi; }
.tpl-review__mark { position: absolute; left: 4.9%; top: 8.5%; width: 14.4%; height: 10.8%; color: var(--tpl-accent); }
.tpl-review__title { position: absolute; top: 24.9%; left: 17.8%; width: 65%; margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 700; color: var(--tpl-deep); font-size: min(4.4cqi, calc(105.6cqi / max(24, var(--poster-text-length, 1)))); line-height: 1.2; overflow-wrap: anywhere; }
.tpl-review__quote { position: absolute; top: 33.3%; left: 17.8%; width: 61%; margin: 0; font-weight: 400; font-size: clamp(2.05cqi, calc(4.7cqi - var(--poster-text-length, 240) * .006cqi), 3.2cqi); line-height: 1.45; letter-spacing: -.035em; white-space: pre-line; overflow-wrap: anywhere; }
.tpl-review__stars { position: absolute; top: 65.8%; left: 17.8%; display: flex; gap: .75cqi; color: var(--tpl-accent); }
.tpl-review__stars svg { width: 3.25cqi; height: 3.25cqi; }
.tpl-review__name { position: absolute; top: 71%; left: 17.8%; width: 48%; font-size: min(3.15cqi, calc(110.25cqi / max(35, var(--poster-text-length, 1)))); font-style: italic; line-height: 1.3; overflow-wrap: anywhere; }
.tpl-review__role { position: absolute; top: 76.5%; left: 17.8%; width: 45%; font-size: min(1.9cqi, calc(76cqi / max(40, var(--poster-text-length, 1)))); line-height: 1.3; overflow-wrap: anywhere; }
.tpl-review__photo { position: absolute; left: 69.5%; top: 65.8%; width: 22.5%; aspect-ratio: 1; border: .3cqi solid var(--tpl-accent); padding: .5cqi; border-radius: 50%; background: var(--tpl-surface); box-sizing: border-box; }
.tpl-review__photo > div { width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center; }

/* Wedding: static marble/floral artwork with editable HTML typography. */
.tpl-wedding { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-accent); font-family: var(--tpl-font); }
.tpl-wedding__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.tpl-wedding__ornaments { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--tpl-accent); }
.tpl-wedding [data-field] { position: absolute; left: 20%; width: 58%; text-align: center; line-height: 1.3; overflow-wrap: anywhere; }
.tpl-wedding .tpl-wedding__script { top: 21%; left: 29%; width: 42%; font-family: "Pinyon Script", cursive; font-size: min(6.4cqi, calc(89.6cqi / max(14, var(--poster-text-length, 1)))); line-height: 1.2; white-space: nowrap; }
.tpl-wedding .tpl-wedding__subtitle { top: 27%; left: 29%; width: 42%; font-size: min(2.25cqi, calc(81cqi / max(36, var(--poster-text-length, 1)))); letter-spacing: .16em; white-space: pre-line; line-height: 1.4; }
.tpl-wedding .tpl-wedding__name { left: 24%; width: 51%; font-family: "Bodoni Moda", Georgia, serif; font-size: min(8.8cqi, calc(61.6cqi / max(7, var(--poster-text-length, 1)))); color: var(--tpl-text); line-height: 1.1; white-space: nowrap; text-shadow: .1cqi .15cqi rgba(0,0,0,.08); }
.tpl-wedding__name--first { top: 36%; }
.tpl-wedding__name--second { top: 53%; }
.tpl-wedding .tpl-wedding__connector { top: 47.5%; left: 42%; width: 15%; font-family: "Bodoni Moda", Georgia, serif; font-size: min(3cqi, calc(18cqi / max(6, var(--poster-text-length, 1)))); letter-spacing: .2em; }
.tpl-wedding__date { top: 63%; font-size: min(2.2cqi, calc(88cqi / max(40, var(--poster-text-length, 1)))); }
.tpl-wedding__time { top: 65.2%; font-size: min(2.2cqi, calc(88cqi / max(40, var(--poster-text-length, 1)))); }
.tpl-wedding__address { top: 67.5%; font-size: min(2.2cqi, calc(88cqi / max(40, var(--poster-text-length, 1)))); }
.tpl-wedding__reception { top: 77.5%; font-size: min(2.2cqi, calc(88cqi / max(40, var(--poster-text-length, 1)))); }
.tpl-wedding__contact { top: 79.8%; font-size: min(2.2cqi, calc(88cqi / max(40, var(--poster-text-length, 1)))); }

/* News: raised header/photo and a generous headline area. */
.tpl-news { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); }
.tpl-news__logo { position: absolute; left: 10%; top: 3.8%; width: 9.2%; height: 4.2%; display: flex; align-items: center; }
.tpl-news__logo svg, .tpl-news__logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.tpl-news__media { position: absolute; top: 4.3%; left: 42%; width: 48%; text-align: right; font-size: min(2.8cqi, calc(84cqi / max(30, var(--poster-text-length, 1)))); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.tpl-news__photo { position: absolute; left: 10%; top: 11%; width: 80%; height: 40%; border: .35cqi solid var(--tpl-surface); box-sizing: border-box; border-radius: 4.7cqi; background-size: cover; background-position: center; }
.tpl-news__rule { position: absolute; left: 10%; top: 55%; width: 2.1%; height: 33%; background: var(--tpl-surface); }
.tpl-news__label { position: absolute; top: 56%; left: 15.5%; max-width: 60%; padding: .75cqi 1.3cqi; background: var(--tpl-surface); color: var(--tpl-accent); font-size: min(3.6cqi, calc(64.8cqi / max(18, var(--poster-text-length, 1)))); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.tpl-news__title { position: absolute; top: 63%; left: 15.5%; width: 74%; margin: 0; font-size: clamp(2.7cqi, calc(6.1cqi - var(--poster-text-length, 50) * .012cqi), 4.6cqi); line-height: 1.23; font-weight: 800; letter-spacing: -.02em; white-space: pre-line; overflow-wrap: anywhere; }
.tpl-news__website { position: absolute; top: 93%; left: 7.5%; width: 65%; font-size: min(1.8cqi, calc(99cqi / max(55, var(--poster-text-length, 1)))); line-height: 1.3; overflow-wrap: anywhere; }
.tpl-news__arrow { position: absolute; right: 10%; top: 90.5%; width: 7.2%; height: 4.5%; }
.tpl-news__dots { position: absolute; width: 6.5%; height: 37%; background: radial-gradient(circle, var(--tpl-accent) 0 .45cqi, transparent .48cqi) 0 0 / 1.85cqi 1.85cqi; }
.tpl-news__dots--left { left: .5%; top: 45%; }
.tpl-news__dots--right { right: -2.5%; bottom: -1%; }

/* Certificate: source-driven landscape canvas. */
.tpl-certificate { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); text-align: center; }
.tpl-certificate__decor { position: absolute; inset: 0; width: 100%; height: 100%; }
.tpl-certificate__seal { position: absolute; left: 3.2%; top: 5%; width: 17%; height: 23%; }
.tpl-certificate__brand { position: absolute; left: 37%; top: 9.7%; width: 26%; height: 4.8%; display: flex; align-items: center; justify-content: center; gap: .8cqi; font-size: min(1.3cqi, calc(52cqi / max(40, var(--poster-text-length, 1)))); font-weight: 700; color: #111; }
.tpl-certificate__brand > div { width: 3.4cqi; height: 3.4cqi; }
.tpl-certificate__brand img, .tpl-certificate__brand svg { width: 100%; height: 100%; object-fit: contain; }
.tpl-certificate__title { position: absolute; top: 17.6%; left: 23%; width: 54%; margin: 0; font-family: "Bodoni Moda", Georgia, serif; font-size: min(4.8cqi, calc(57.6cqi / max(12, var(--poster-text-length, 1)))); line-height: 1; letter-spacing: .08em; font-weight: 600; }
.tpl-certificate__subtitle { position: absolute; top: 29.2%; left: 25%; width: 50%; font-size: min(3.2cqi, calc(57.6cqi / max(18, var(--poster-text-length, 1)))); line-height: 1.1; font-weight: 700; }
.tpl-certificate__intro { position: absolute; top: 37%; left: 18%; width: 64%; font-size: min(2.1cqi, calc(94.5cqi / max(45, var(--poster-text-length, 1)))); font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.tpl-certificate__recipient { position: absolute; left: 28.5%; top: 43.5%; width: 43%; padding-bottom: .3cqi; border-bottom: .25cqi solid var(--tpl-accent); font-family: "Pinyon Script", cursive; color: var(--tpl-accent); font-size: min(5.7cqi, calc(79.8cqi / max(14, var(--poster-text-length, 1)))); line-height: 1.15; white-space: nowrap; text-shadow: .1cqi .1cqi rgba(0,0,0,.15); }
.tpl-certificate__description { position: absolute; top: 58.8%; left: 8%; width: 84%; margin: 0; font-size: clamp(1.15cqi, calc(2.6cqi - var(--poster-text-length, 150) * .003cqi), 2.2cqi); white-space: pre-line; line-height: 1.25; color: #101010; overflow-wrap: anywhere; }
.tpl-certificate__signature { position: absolute; left: 44%; top: 74%; width: 12%; height: 10%; background-size: contain; background-position: center; background-repeat: no-repeat; mix-blend-mode: multiply; }
.tpl-certificate__signer { position: absolute; top: 84%; left: 39.5%; width: 21%; border-top: .1cqi solid currentColor; padding-top: .3cqi; font-size: min(1.9cqi, calc(41.8cqi / max(22, var(--poster-text-length, 1)))); line-height: 1.2; font-weight: 700; }
.tpl-certificate__role { position: absolute; top: 89%; left: 35%; width: 30%; font-size: min(1.8cqi, calc(54cqi / max(30, var(--poster-text-length, 1)))); line-height: 1.2; color: #111; }

/* Tour: map, diagonal photo windows, editable discount sticker. */
.tpl-tour { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); }
.tpl-tour__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.tpl-tour__base { position: absolute; inset: 50% 0 0; background: var(--tpl-accent); }
.tpl-tour__routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.tpl-tour__brand { position: absolute; top: 11%; left: 30%; width: 51%; font-family: "Pinyon Script", cursive; font-size: min(8.2cqi, calc(106.6cqi / max(13, var(--poster-text-length, 1)))); line-height: 1.2; color: #082776; text-align: center; }
.tpl-tour__title { position: absolute; top: 20%; left: 16%; width: 77%; margin: 0; font-family: "Inter", sans-serif; font-size: min(7.5cqi, calc(112.5cqi / max(15, var(--poster-text-length, 1)))); font-weight: 900; line-height: 1.1; color: var(--tpl-accent); text-align: center; white-space: nowrap; }
.tpl-tour__dots { position: absolute; right: 6%; top: 7.2%; display: flex; gap: 1.6cqi; }
.tpl-tour__dots i { width: 2.5cqi; height: 2.5cqi; background: var(--tpl-deep); border-radius: 50%; }
.tpl-tour__photos { position: absolute; left: 3%; top: 33%; width: 95%; height: 35%; }
.tpl-tour__photos > div { position: absolute; top: 0; width: 37%; height: 100%; background: white; clip-path: polygon(25% 0,100% 0,75% 100%,0 100%); }
.tpl-tour__photos > div:nth-child(1) { left: 0; }.tpl-tour__photos > div:nth-child(2) { left: 31.8%; }.tpl-tour__photos > div:nth-child(3) { left: 63.6%; }
.tpl-tour__photos > div > div { position: absolute; inset: 0; background-size: cover; background-position: center; clip-path: polygon(26% 2%,98% 2%,74% 98%,2% 98%); }
.tpl-tour__offer { position: absolute; right: 2.8%; top: 53.5%; width: 22%; height: 17%; background: var(--tpl-surface); color: #F29700; transform: rotate(12deg); clip-path: polygon(4% 7%,14% 2%,22% 5%,35% 0,49% 5%,60% 0,73% 5%,88% 0,97% 8%,94% 24%,100% 40%,96% 58%,100% 80%,94% 98%,77% 95%,63% 100%,47% 96%,31% 100%,18% 94%,1% 100%,6% 78%,0 60%,5% 37%,0 22%); text-align: center; padding: 2cqi 1cqi 1cqi 5cqi; box-sizing: border-box; font-family: "Inter",sans-serif; font-weight: 900; line-height: .9; }
.tpl-tour__offer small { position: absolute; left: 1.5cqi; top: 5cqi; writing-mode: vertical-rl; transform: rotate(180deg); font-size: min(2.3cqi, calc(18.4cqi / max(8, var(--poster-text-length, 1)))); color: #444; }.tpl-tour__offer b { display: block; font-size: min(6.3cqi, calc(25.2cqi / max(4, var(--poster-text-length, 1)))); }.tpl-tour__offer strong { display: block; font-size: min(6.4cqi, calc(25.6cqi / max(4, var(--poster-text-length, 1)))); }
.tpl-tour__description { position: absolute; top: 73.2%; left: 22%; width: 55%; margin: 0; text-align: center; font-size: clamp(1.55cqi, calc(3.15cqi - var(--poster-text-length, 120) * .007cqi), 2.2cqi); line-height: 1.1; }
.tpl-tour__cta { position: absolute; left: 37.7%; top: 84.2%; width: 24.6%; min-height: 4%; background: var(--tpl-deep); color: white; border-radius: 8cqi; text-align: center; font-size: min(3.1cqi, calc(37.2cqi / max(12, var(--poster-text-length, 1)))); font-weight: 800; line-height: 1.2; padding: .2cqi; }
.tpl-tour__contact,.tpl-tour__website { position: absolute; top: 91.5%; display: flex; align-items: flex-end; gap: 1.2cqi; line-height: 1.2; }.tpl-tour__contact { left: 8.5%; width: 39%; }.tpl-tour__website { left: 62%; width: 34%; }.tpl-tour__contact svg,.tpl-tour__website svg { width: 2.7cqi; height: 2.7cqi; flex-shrink: 0; }.tpl-tour__contact div,.tpl-tour__website div { min-width: 0; display: flex; flex-direction: column; }.tpl-tour__contact b,.tpl-tour__website b { font-size: min(1.85cqi, calc(55.5cqi / max(30, var(--poster-text-length, 1)))); font-weight: 800; }.tpl-tour__contact span,.tpl-tour__website span { font-size: min(1.85cqi, calc(55.5cqi / max(30, var(--poster-text-length, 1)))); overflow-wrap: anywhere; }

/* Service: full-bleed interior, three image slots and compact footer. */
.tpl-service { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); }
.tpl-service__background { position: absolute; inset: 0; background-size: cover; background-position: center top; }.tpl-service__fade { position: absolute; inset: 0; background: linear-gradient(transparent,rgba(255,255,255,.55) 28%,var(--tpl-bg) 58%); }
.tpl-service__brand { position: absolute; left: 6%; top: 32.5%; height: 7.8%; width: 55%; display: flex; align-items: center; gap: 1.5cqi; }.tpl-service__brand > div { width: 8cqi; height: 9cqi; flex-shrink: 0; }.tpl-service__brand svg,.tpl-service__brand img { width: 100%; height: 100%; object-fit: contain; }.tpl-service__brand b { font-size: min(2.7cqi, calc(81cqi / max(30, var(--poster-text-length, 1)))); }
.tpl-service__title { position: absolute; top: 42.5%; left: 5.8%; width: 59%; margin: 0; font-size: min(6.6cqi, calc(79.2cqi / max(12, var(--poster-text-length, 1)))); line-height: 1.1; font-weight: 700; letter-spacing: .015em; white-space: nowrap; }
.tpl-service__subtitle { position: absolute; top: 49%; left: 5.8%; width: 59%; font-family: "Anton", sans-serif; font-size: min(12.1cqi, calc(145.2cqi / max(12, var(--poster-text-length, 1)))); line-height: 1.1; color: var(--tpl-accent); white-space: nowrap; }
.tpl-service__description { position: absolute; top: 62.4%; left: 5.8%; width: 44%; margin: 0; font-size: clamp(1.5cqi, calc(2.9cqi - var(--poster-text-length, 160) * .004cqi), 2.25cqi); line-height: 1.5; overflow-wrap: anywhere; }
.tpl-service__benefits { position: absolute; top: 76.5%; left: 5.6%; width: 58%; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2.3cqi; }.tpl-service__benefits li { display: flex; align-items: center; gap: 1.3cqi; min-height: 3.6cqi; }.tpl-service__benefits i { font-style: normal; background: var(--tpl-accent); color: white; border-radius: 50%; font-size: 2.6cqi; line-height: 3.6cqi; text-align: center; width: 3.6cqi; flex-shrink: 0; }.tpl-service__benefits span { font-size: min(2.2cqi, calc(88cqi / max(40, var(--poster-text-length, 1)))); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.tpl-service__dots { position: absolute; left: 55%; top: 62%; width: 4%; height: 12%; background: radial-gradient(circle,var(--tpl-text) .08cqi,transparent .1cqi) 0 0/1.4cqi 1.4cqi; }
.tpl-service__photos { position: absolute; top: 17.5%; right: 3.8%; width: 28.5%; height: 70.6%; display: flex; flex-direction: column; justify-content: space-between; }.tpl-service__photos > div { height: 31.8%; background-size: cover; background-position: center; border: .75cqi solid var(--tpl-accent); box-sizing: border-box; border-radius: 2.2cqi; }
.tpl-service__footer { position: absolute; bottom: 0; left: 0; width: 100%; height: 8%; padding: 1.4cqi 5.5%; box-sizing: border-box; background: var(--tpl-accent); color: white; display: grid; grid-template-columns: 36% 24% 36%; gap: 2%; align-items: center; }.tpl-service__footer > div { display: flex; gap: 1.5cqi; align-items: center; }.tpl-service__footer > div:last-child { text-align: right; justify-content: flex-end; }.tpl-service__footer > div > span { display: flex; flex-direction: column; min-width: 0; }.tpl-service__footer svg { width: 3.6cqi; height: 3.6cqi; flex-shrink: 0; }.tpl-service__footer span b { font-size: min(2.15cqi,calc(60.2cqi / max(28,var(--poster-text-length,1)))); line-height: 1.2; }.tpl-service__footer span span { font-size: min(1.9cqi,calc(68.4cqi / max(36,var(--poster-text-length,1)))); line-height: 1.2; overflow-wrap: anywhere; }.tpl-service__cta { padding: .9cqi 1.1cqi; border-radius: 8cqi; background: var(--tpl-surface); color: var(--tpl-accent); text-align: center; font-size: min(2.4cqi,calc(33.6cqi / max(14,var(--poster-text-length,1)))); line-height: 1.2; }

/* Guide: hand-drawn grid, five staggered explainer cards. */
.tpl-guide { position: relative; width: 100%; height: 100%; color: var(--tpl-text); background-color: var(--tpl-bg); background-image: linear-gradient(89deg,transparent 97%,color-mix(in srgb,var(--tpl-accent) 10%,transparent) 97%),linear-gradient(1deg,transparent 97%,color-mix(in srgb,var(--tpl-accent) 10%,transparent) 97%); background-size: 24cqi 24cqi; font-family: var(--tpl-font); }
.tpl-guide__decor { position: absolute; inset: 0; width: 100%; height: 100%; }.tpl-guide__title { position: absolute; top: 3.2%; left: 4%; width: 92%; margin: 0; text-align: center; font-family: "Baloo 2", sans-serif; color: var(--tpl-accent); font-size: min(8.4cqi,calc(268.8cqi / max(32,var(--poster-text-length,1)))); font-weight: 800; line-height: 1.05; white-space: pre-line; overflow-wrap: anywhere; }
.tpl-guide__step { position: absolute; width: 73%; height: 13.1%; border: .35cqi solid var(--tpl-text); border-radius: 4cqi; background: var(--tpl-surface); box-shadow: -1.7cqi .9cqi 0 -.05cqi var(--tpl-accent),-2cqi .9cqi 0 .25cqi var(--tpl-text); box-sizing: border-box; }.tpl-guide__step--1 { left: 15%; top: 20%; }.tpl-guide__step--2 { left: 12%; top: 35.5%; }.tpl-guide__step--3 { left: 18%; top: 51%; }.tpl-guide__step--4 { left: 12%; top: 66.5%; }.tpl-guide__step--5 { left: 18%; top: 82%; }
.tpl-guide__number { position: absolute; left: 4.5%; top: 21%; width: 10cqi; height: 10.2cqi; display: flex; align-items: center; justify-content: center; border: .3cqi solid #171717; outline: .5cqi solid var(--tpl-deep); border-radius: 48% 52% 46% 50%; background: var(--tpl-deep); font-family: "Caveat", cursive; font-size: 8.7cqi; line-height: 1; color: #111; transform: rotate(-7deg); }
.tpl-guide__copy { position: absolute; left: 24%; top: 10%; width: 71%; }.tpl-guide__copy h3 { margin: 0 0 1cqi; width: 74%; padding: .2cqi 2cqi; box-sizing: border-box; border-radius: 2cqi; background: var(--tpl-accent); color: var(--tpl-surface); font-family: "Baloo 2", sans-serif; font-size: min(2.8cqi,calc(67.2cqi / max(24,var(--poster-text-length,1)))); font-weight: 800; line-height: 1.25; }.tpl-guide__copy p { margin: 0; font-size: clamp(1.25cqi,calc(2.7cqi - var(--poster-text-length,140) * .005cqi),2cqi); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.tpl-guide__star { position: absolute; right: -2.5%; top: .2cqi; width: 5cqi; height: 5cqi; transform: rotate(12deg); }

/* Online workshop: circular photo windows and a compact training deck. */
.tpl-workshop { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); }
.tpl-workshop__background { position: absolute; inset: 0 0 auto; height: 31%; background-size: cover; background-position: center; }.tpl-workshop__fade { position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.35) 13%,var(--tpl-bg) 30%); }
.tpl-workshop__waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.tpl-workshop__title { position: absolute; top: 15.8%; left: 7%; width: 58%; margin: 0; color: var(--tpl-accent); font-family: "Anton",sans-serif; font-weight: 400; line-height: .96; letter-spacing: -.02em; -webkit-text-stroke: .8cqi var(--tpl-surface); paint-order: stroke fill; }.tpl-workshop__title span { display: block; font-size: min(13.5cqi,calc(108cqi / max(8,var(--poster-text-length,1)))); white-space: nowrap; }
.tpl-workshop__speaker,.tpl-workshop__meeting { position: absolute; background-size: cover; background-position: center; border: 1.4cqi solid var(--tpl-surface); border-radius: 50%; box-shadow: -2cqi 2cqi 3cqi rgba(0,0,0,.22); box-sizing: border-box; }.tpl-workshop__speaker { left: 68.6%; top: 14.8%; width: 43%; height: 28.7%; }.tpl-workshop__meeting { left: 53.5%; top: 47.4%; width: 59%; height: 40.8%; }
.tpl-workshop__description { position: absolute; top: 40.4%; left: 7.5%; width: 49%; margin: 0; font-size: min(2.65cqi,calc(318cqi / max(120,var(--poster-text-length,1)))); line-height: 1.25; overflow-wrap: anywhere; }
.tpl-workshop__schedule,.tpl-workshop__location { position: absolute; left: 7.5%; width: 47%; display: flex; gap: 2.7cqi; align-items: center; }.tpl-workshop__schedule { top: 51%; }.tpl-workshop__location { top: 58%; }.tpl-workshop__schedule svg,.tpl-workshop__location svg { width: 5.2cqi; height: 5.2cqi; color: var(--tpl-deep); flex-shrink: 0; }.tpl-workshop__schedule > div,.tpl-workshop__location > div { display: flex; flex-direction: column; min-width: 0; }.tpl-workshop__schedule b,.tpl-workshop__location b { font-size: min(2.6cqi,calc(78cqi / max(30,var(--poster-text-length,1)))); line-height: 1.2; }.tpl-workshop__schedule span,.tpl-workshop__location span { font-size: min(2.3cqi,calc(80.5cqi / max(35,var(--poster-text-length,1)))); line-height: 1.2; font-style: italic; }
.tpl-workshop__dots { position: absolute; left: 46%; top: 53%; width: 13%; height: 12%; background: radial-gradient(circle,#F4A332 .42cqi,transparent .45cqi) 0 0/2.8cqi 2.8cqi; border-radius: 50%; }
.tpl-workshop__highlights { position: absolute; top: 67%; left: 7%; width: 41%; height: 21.7%; box-sizing: border-box; border-radius: 2cqi; background: var(--tpl-surface); box-shadow: -1.3cqi 1.5cqi 2.2cqi rgba(0,0,0,.3); }.tpl-workshop__highlights h3 { position: absolute; top: -1.4cqi; left: 6%; width: 88%; margin: 0; padding: .8cqi .8cqi; box-sizing: border-box; text-align: center; background: var(--tpl-deep); color: white; border: .6cqi solid var(--tpl-surface); border-radius: 6cqi; font-size: min(2.35cqi,calc(56.4cqi / max(24,var(--poster-text-length,1)))); line-height: 1.2; font-weight: 700; }.tpl-workshop__highlights ul { position: absolute; inset: 5.8cqi 3.3cqi 1.8cqi; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; justify-content: space-around; gap: .6cqi; }.tpl-workshop__highlights li { display: flex; gap: 2cqi; align-items: center; }.tpl-workshop__highlights i { flex: 0 0 3.4cqi; width: 3.4cqi; line-height: 3.4cqi; border-radius: 50%; background: #F8AC31; color: white; text-align: center; font-size: 2.5cqi; font-style: normal; font-weight: 700; }.tpl-workshop__highlights span { font-size: min(2.2cqi,calc(61.6cqi / max(28,var(--poster-text-length,1)))); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.tpl-workshop__footer { position: absolute; bottom: 0; left: 0; width: 100%; height: 7.3%; padding: 1.7cqi 7%; box-sizing: border-box; background: var(--tpl-accent); color: white; display: grid; grid-template-columns: 30% 28% 38%; gap: 2%; align-items: center; }.tpl-workshop__footer > span { padding: .9cqi 1cqi; border-radius: 2cqi; background: var(--tpl-surface); color: var(--tpl-accent); text-align: center; font-size: min(2.1cqi,calc(50.4cqi / max(24,var(--poster-text-length,1)))); line-height: 1.2; }.tpl-workshop__footer > div { display: flex; gap: 1.5cqi; align-items: center; min-width: 0; }.tpl-workshop__footer svg { width: 3.2cqi; height: 3.2cqi; flex-shrink: 0; }.tpl-workshop__footer div span { font-size: min(1.9cqi,calc(60.8cqi / max(32,var(--poster-text-length,1)))); line-height: 1.2; overflow-wrap: anywhere; }

/* Children's illustrated educational poster. */
.tpl-kids { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); }.tpl-kids__background { position: absolute; inset: 0; background-size: 100% 100%; }
.tpl-kids__title { position: absolute; top: 14.8%; left: 11%; width: 78%; margin: 0; text-align: center; font-family: "Rubik Bubbles",sans-serif; font-size: min(10.2cqi,calc(265.2cqi / max(26,var(--poster-text-length,1)))); font-weight: 400; line-height: .93; white-space: pre-line; color: #FFF; text-shadow: 0 .6cqi 0 rgba(45,136,194,.25),0 1.2cqi 0 rgba(45,136,194,.16); }
.tpl-kids__description { position: absolute; top: 38.7%; left: 21%; width: 58%; margin: 0; text-align: center; font-size: min(3.05cqi,calc(320.25cqi / max(105,var(--poster-text-length,1)))); line-height: 1.18; color: white; overflow-wrap: anywhere; }
.tpl-kids__cards { position: absolute; top: 47.8%; left: 10%; width: 80%; height: 24.1%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.5cqi 1cqi; }.tpl-kids__card { display: flex; align-items: center; justify-content: center; padding: 1.7cqi 3.2cqi; box-sizing: border-box; background: var(--tpl-surface); color: var(--tpl-text); border: .55cqi solid var(--tpl-accent); border-radius: 2cqi; text-align: center; font-size: min(3.05cqi,calc(161.65cqi / max(53,var(--poster-text-length,1)))); line-height: 1.14; overflow-wrap: anywhere; }

/* Agency brochure: angled masthead, dense editable information columns. */
.tpl-agency { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); }.tpl-agency__photo { position: absolute; left: 3%; top: 3%; width: 103%; height: 40.6%; border: 3.1cqi solid #7B8099; box-sizing: border-box; background-size: cover; background-position: center top; }
.tpl-agency__banner1,.tpl-agency__banner2 { position: absolute; left: 0; filter: drop-shadow(0 -.7cqi 0 var(--tpl-bg)) drop-shadow(.6cqi .3cqi 0 var(--tpl-bg)); clip-path: polygon(0 0,92% 0,100% 100%,0 100%); }.tpl-agency__banner1 { top: 30%; width: 57.5%; height: 10%; background: var(--tpl-deep); z-index: 2; }.tpl-agency__banner2 { top: 36%; width: 78.3%; height: 16%; background: var(--tpl-accent); }
.tpl-agency__title { position: absolute; top: 31.4%; left: 4%; width: 50%; margin: 0; font-size: min(8.4cqi,calc(67.2cqi / max(8,var(--poster-text-length,1)))); font-weight: 800; line-height: 1.05; letter-spacing: .06em; z-index: 3; white-space: nowrap; }.tpl-agency__title2 { position: absolute; top: 40.5%; left: 5.2%; width: 66%; font-size: min(12.6cqi,calc(75.6cqi / max(6,var(--poster-text-length,1)))); color: #EEF8FC; font-weight: 800; line-height: 1.05; letter-spacing: .12em; white-space: nowrap; }
.tpl-agency__about { position: absolute; left: 0; top: 53.7%; width: 48%; height: 24.5%; padding: 1.8cqi 5cqi; box-sizing: border-box; background: var(--tpl-surface); }.tpl-agency h3 { margin: 0 0 1.6cqi; font-size: min(3.25cqi,calc(81.25cqi / max(25,var(--poster-text-length,1)))); font-weight: 700; line-height: 1.2; }.tpl-agency__about p { margin: 0; font-size: clamp(.7cqi,calc(1.35cqi - var(--poster-text-length,1100) * .0003cqi),1cqi); line-height: 1.25; text-align: justify; white-space: pre-line; overflow-wrap: anywhere; }
.tpl-agency__services { position: absolute; left: 48%; top: 53.7%; width: 49%; height: 44.3%; box-sizing: border-box; padding: 1.8cqi 4.3cqi; background: var(--tpl-accent); color: #EEF8FC; display: flex; flex-direction: column; gap: 1.2cqi; }.tpl-agency__services h3 { margin-bottom: .2cqi; flex-shrink: 0; }.tpl-agency__services section { flex: 1; min-height: 0; }.tpl-agency__services h4 { margin: 0 0 .8cqi; font-size: min(2.3cqi,calc(69cqi / max(30,var(--poster-text-length,1)))); font-weight: 400; line-height: 1.15; }.tpl-agency__services p { margin: 0; font-size: clamp(.65cqi,calc(1.1cqi - var(--poster-text-length,550) * .0004cqi),.9cqi); line-height: 1.2; overflow-wrap: anywhere; text-align: justify; }
.tpl-agency__contact { position: absolute; left: 3%; top: 80%; width: 42.5%; height: 18%; background: var(--tpl-deep); padding: 2cqi 2.2cqi; box-sizing: border-box; }.tpl-agency__contact h3 { font-size: min(3.2cqi,calc(80cqi / max(25,var(--poster-text-length,1)))); margin-bottom: 2.1cqi; }.tpl-agency__contact > div { display: flex; align-items: center; gap: 1.4cqi; margin-bottom: .7cqi; padding-left: 3.1cqi; min-width: 0; }.tpl-agency__contact svg { width: 2.8cqi; height: 2.8cqi; flex-shrink: 0; padding: .5cqi; box-sizing: border-box; border-radius: 50%; background: var(--tpl-text); color: var(--tpl-deep); }.tpl-agency__contact span { font-size: min(1.5cqi,calc(67.5cqi / max(45,var(--poster-text-length,1)))); letter-spacing: .14em; line-height: 1.25; overflow-wrap: anywhere; }

/* Birthday gallery: three editable photos, balloons and matching script lettering. */
.tpl-bday { position: relative; width: 100%; height: 100%; background: var(--tpl-bg); color: var(--tpl-text); font-family: var(--tpl-font); }
.tpl-bday__frame { position: absolute; box-sizing: border-box; padding: 2.8cqi; background: color-mix(in srgb,var(--tpl-surface) 80%,transparent); }.tpl-bday__frame > div { width: 100%; height: 100%; background-size: cover; background-position: center; }.tpl-bday__frame--1 { left: 4%; top: 4%; width: 51%; height: 33%; }
.tpl-bday__frame--3 { left: 4%; top: 63%; width: 51%; height: 33%; }
.tpl-bday__frame--2 { left: 45%; top: 34.5%; width: 51%; height: 33%; }
.tpl-bday__balloons { position: absolute; left: 57%; top: 3.8%; width: 37%; height: 26.6%; overflow: visible; }
.tpl-bday__greeting { position: absolute; left: 55%; top: 76.6%; width: 39%; text-align: center; font-family: "Sacramento",cursive; color: var(--tpl-accent); line-height: 1; }.tpl-bday__greeting span { display: block; font-size: min(8cqi,calc(72cqi / max(9,var(--poster-text-length,1)))); white-space: nowrap; }.tpl-bday__name { position: absolute; top: 92%; left: 55%; width: 39%; color: var(--tpl-accent); font-family: "Sacramento",cursive; font-size: min(6.4cqi,calc(64cqi / max(10,var(--poster-text-length,1)))); font-weight: 400; text-align: center; line-height: 1; overflow-wrap: anywhere; }.tpl-bday__message { color: var(--tpl-accent); position: absolute; top: 47.4%; left: 8%; width: 30%; font-size: min(2.1cqi,calc(105cqi / max(50,var(--poster-text-length,1)))); line-height: 1.3; text-align: center; overflow-wrap: anywhere; }

/* ---------- F. Reduced motion + accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .template-card,
  .font-opt,
  .theme-swatch { transition: none; }
  .template-card:hover,
  .theme-swatch:hover { transform: none; }
}

/* Focus visibility is already handled by the global :focus-visible rule
   (2px acid outline). Keep keyboard navigation on by default for all
   template interactive elements. */
/* Lifestyle posters: artwork uses the same proportional 1080px canvas. */
.menu-item-inputs{display:grid;grid-template-columns:minmax(0,1fr) minmax(85px,25%);gap:10px}
.tpl-spa,.tpl-outfit,.tpl-menu,.tpl-vote{position:relative;width:100%;height:100%;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font);overflow:hidden}
.tpl-spa__panels,.tpl-spa__botanicals,.tpl-outfit__curves,.tpl-menu__decor,.tpl-vote__geometry{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.tpl-spa__shadow{position:absolute;left:-15%;top:15%;width:90%;height:65%;filter:blur(1.5cqi)}
.tpl-spa__title{position:absolute;left:10%;top:8%;width:66%;margin:0;font-size: min(9.2cqi,calc(110.4cqi / max(12,var(--poster-text-length,1))));line-height:1.03;font-weight:400;letter-spacing:-.055em}.tpl-spa__title span{display:block;white-space:nowrap}
.tpl-spa__description{position:absolute;left:10%;top:26%;width:52%;margin:0;font:400 min(2.8cqi,calc(218.4cqi / max(78,var(--poster-text-length,1))))/1.5 Poppins,sans-serif;overflow-wrap:anywhere}
.tpl-spa__services-heading{position:absolute;left:10%;top:35.8%;width:53%;margin:0;font:600 min(3.8cqi,calc(95cqi / max(25,var(--poster-text-length,1))))/1.2 Poppins,sans-serif}
.tpl-spa__services{position:absolute;left:10%;top:40%;width:48%;margin:0;padding:0;list-style:none;font-family:Poppins,sans-serif}.tpl-spa__services li{position:relative;padding-left:2.8cqi;margin-bottom:.7cqi;font-size:2.45cqi;line-height:1.4}.tpl-spa__services li:before{content:'•';position:absolute;left:0}.tpl-spa__services span{font-size:min(2.45cqi,calc(85.75cqi / max(35,var(--poster-text-length,1))));overflow-wrap:anywhere}
.tpl-spa__cta{position:absolute;top:60.5%;left:10%;width:48%;font:600 min(3.8cqi,calc(95cqi / max(25,var(--poster-text-length,1))))/1.2 Poppins,sans-serif}.tpl-spa__contact{position:absolute;top:66%;left:10%;width:44%;display:flex;gap:1.5cqi;align-items:center;font-family:Poppins,sans-serif}.tpl-spa__contact svg{width:3.4cqi;height:3.4cqi;flex-shrink:0}.tpl-spa__contact span{font-size:min(2.8cqi,calc(84cqi / max(30,var(--poster-text-length,1))));overflow-wrap:anywhere}
.tpl-spa__photo{position:absolute;background-size:cover;background-position:center;border-radius:50%;border:.55cqi solid #F7F7EE;box-sizing:border-box}.tpl-spa__photo--1{left:72.5%;top:28%;width:28%;height:20%}.tpl-spa__photo--2{left:57.3%;top:45.5%;width:40.5%;height:28.5%}.tpl-spa__photo--3{left:43.8%;top:66.1%;width:40.6%;height:28.5%}.tpl-spa__photo--4{left:25.2%;top:77.5%;width:28.2%;height:20%}
.tpl-outfit{background:radial-gradient(ellipse at 100% 50%,var(--tpl-deep),transparent 65%),var(--tpl-bg)}.tpl-outfit__photo1,.tpl-outfit__photo2{position:absolute;background-size:cover;background-position:center}.tpl-outfit__photo1{left:46.7%;top:10.4%;width:45.8%;height:39.4%}.tpl-outfit__photo2{left:7.1%;top:38.3%;width:52.4%;height:54.6%}
.tpl-outfit__title{position:absolute;left:7.1%;top:12%;width:48%;margin:0;color:var(--tpl-accent);font-size: min(15cqi,calc(75cqi / max(5,var(--poster-text-length,1))));font-weight:400;line-height:.9;letter-spacing:-.045em}.tpl-outfit__title span{display:block;white-space:nowrap}.tpl-outfit__offer{position:absolute;left:62.5%;top:62.5%;width:33%;font-family:Poppins,sans-serif}.tpl-outfit__offer span{display:block;font-size:min(3cqi,calc(60cqi / max(20,var(--poster-text-length,1))));line-height:1.45;overflow-wrap:anywhere}.tpl-outfit__arrow{position:absolute;left:62%;top:72%;width:34%;height:3cqi;color:var(--tpl-text);display:flex;align-items:center}.tpl-outfit__arrow i{width:3.6cqi;height:3.6cqi;border-radius:50%;background:var(--tpl-accent);flex-shrink:0}.tpl-outfit__arrow svg{width:100%;margin-left:-1cqi;overflow:visible}.tpl-outfit__cta{position:absolute;top:80%;left:62.5%;width:33%;color:var(--tpl-accent);font-size:min(6.5cqi,calc(52cqi / max(8,var(--poster-text-length,1))));line-height:1.1;white-space:nowrap}.tpl-outfit__handle{position:absolute;top:85%;left:62.5%;width:33%;font:400 min(2.3cqi,calc(57.5cqi / max(25,var(--poster-text-length,1))))/1.3 Poppins,sans-serif;overflow-wrap:anywhere}
.tpl-menu__script{position:absolute;left:9%;top:6.5%;width:80%;margin:0;font:400 min(10cqi,calc(100cqi / max(10,var(--poster-text-length,1))))/1.2 'Kaushan Script',cursive}.tpl-menu__title{position:absolute;left:8%;top:16%;width:87%;font:400 min(23cqi,calc(92cqi / max(4,var(--poster-text-length,1))))/1 Kavoon,serif;letter-spacing:.01em;white-space:nowrap}.tpl-menu__section{position:absolute;left:7.3%;width:50%;font-family:var(--tpl-font)}.tpl-menu__section--food{top:34%}.tpl-menu__section--snack{top:57%}.tpl-menu__section--drink{top:75.5%}.tpl-menu__section h3{margin:0 0 .9cqi;color:var(--tpl-accent);font:800 min(5.6cqi,calc(67.2cqi / max(12,var(--poster-text-length,1))))/1 'Baloo 2',sans-serif}.tpl-menu__section ul{padding:0;margin:0;list-style:none}.tpl-menu__section li{display:flex;justify-content:space-between;gap:1cqi;min-height:2.5cqi;margin-bottom:.8cqi;line-height:1.2}.tpl-menu__section li span{font-size:min(2.75cqi,calc(60.5cqi / max(22,var(--poster-text-length,1))));overflow-wrap:anywhere}.tpl-menu__section li b{font-size:min(2.75cqi,calc(22cqi / max(8,var(--poster-text-length,1))));font-weight:400;white-space:nowrap;flex-shrink:0}.tpl-menu__food{position:absolute;left:59%;top:37.5%;width:51%;height:52%;background-size:contain;background-repeat:no-repeat;background-position:left center}
.tpl-vote__title{position:absolute;left:10%;top:7.8%;width:62%;margin:0;font-size:min(20cqi,calc(80cqi / max(4,var(--poster-text-length,1))));font-weight:400;line-height:1;letter-spacing:-.045em}.tpl-vote__name{position:absolute;left:10%;top:22%;width:72%;font:700 min(4.7cqi,calc(84.6cqi / max(18,var(--poster-text-length,1))))/1.2 Poppins,sans-serif;overflow-wrap:anywhere}.tpl-vote__portrait{position:absolute;left:20%;top:29.2%;width:60%;height:60cqi;border-radius:50%;background-size:cover;background-position:center 25%}.tpl-vote__dots{position:absolute;left:75%;top:6%;display:flex;gap:1.6cqi}.tpl-vote__dots i{width:2.4cqi;height:2.4cqi;border-radius:50%;background:var(--tpl-deep)}.tpl-vote__halftone{position:absolute;width:13%;height:13cqi;border-radius:50%;background:radial-gradient(var(--tpl-accent) 20%,transparent 23%) 0 0/1.6cqi 1.6cqi}.tpl-vote__halftone--top{left:72%;top:27%}.tpl-vote__halftone--bottom{left:57%;top:69%}.tpl-vote__plus{position:absolute;color:var(--tpl-accent);font:300 8cqi/1 Poppins,sans-serif;font-style:normal}.tpl-vote__plus--left{left:4%;top:52%}.tpl-vote__plus--right{right:7%;top:62%}.tpl-vote__date{position:absolute;left:12.3%;top:57.8%;width:30%;height:30cqi;border-radius:50%;background:var(--tpl-accent);display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Poppins,sans-serif}.tpl-vote__date b{font-size:min(12.5cqi,calc(37.5cqi / max(3,var(--poster-text-length,1))));line-height:1;font-weight:800}.tpl-vote__date span{font-size:min(5.2cqi,calc(26cqi / max(5,var(--poster-text-length,1))));line-height:1.3;font-weight:600}.tpl-vote__slogan{position:absolute;top:80.5%;left:41%;width:49%;font:500 min(3.1cqi,calc(148.8cqi / max(48,var(--poster-text-length,1))))/1.5 Poppins,sans-serif;white-space:pre-line;text-align:right;overflow-wrap:anywhere}.tpl-vote__info{position:absolute;top:88.5%;left:39%;width:51%;font:400 min(2.6cqi,calc(104cqi / max(40,var(--poster-text-length,1))))/1.3 Poppins,sans-serif;text-align:right;overflow-wrap:anywhere}.tpl-vote__website{position:absolute;top:91%;left:39%;width:51%;font:400 min(2.6cqi,calc(104cqi / max(40,var(--poster-text-length,1))))/1.3 Poppins,sans-serif;text-align:right;overflow-wrap:anywhere}
/* Final reference spacing refinements. */
.tpl-spa__title{font-size:min(11.5cqi,calc(138cqi / max(12,var(--poster-text-length,1))));color:var(--tpl-accent)}
.tpl-spa__services-heading,.tpl-spa__cta{color:var(--tpl-accent)}
.tpl-spa__services li{font-size:2.2cqi;line-height:1.25;margin-bottom:.35cqi}.tpl-spa__services span{font-size:min(2.2cqi,calc(77cqi / max(35,var(--poster-text-length,1))))}
.tpl-menu__script{font-size:min(14.5cqi,calc(145cqi / max(10,var(--poster-text-length,1))));top:5.5%}
.tpl-menu__title{top:18.5%;transform:scaleY(.67);transform-origin:left top}
.tpl-menu__section li{margin-bottom:.45cqi;min-height:2.5cqi}.tpl-menu__section li span{font-size:min(2.5cqi,calc(55cqi / max(22,var(--poster-text-length,1))))}.tpl-menu__section li b{font-size:min(2.5cqi,calc(20cqi / max(8,var(--poster-text-length,1))))}
.tpl-vote__name{font-family:var(--tpl-font);font-size:min(4.7cqi,calc(84.6cqi / max(18,var(--poster-text-length,1))))}
.tpl-spa__title{font-size:min(10.5cqi,calc(126cqi / max(12,var(--poster-text-length,1))));line-height:.97}
/* Music, clinic, hotel and six-product catalog artwork. */
.tpl-song,.tpl-clinic,.tpl-hotel,.tpl-catalog{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
.tpl-song__photo{position:absolute;inset:0;background-size:cover;background-position:center top;filter:contrast(1.12) saturate(1.05)}.tpl-song__fade{position:absolute;inset:0;background:linear-gradient(to bottom,transparent 52%,color-mix(in srgb,var(--tpl-bg) 18%,transparent) 75%,color-mix(in srgb,var(--tpl-bg) 65%,transparent) 100%)}
.tpl-song__brand{position:absolute;left:4.8%;top:3.1%;display:flex;align-items:center;gap:2cqi;width:55%;height:5%}.tpl-song__brand [data-extra-logo]{width:7.2cqi;height:7.2cqi;flex-shrink:0}.tpl-song__brand img,.tpl-song__brand svg{width:100%;height:100%;object-fit:contain}.tpl-song__brand span{font-size:min(4cqi,calc(80cqi / max(20,var(--poster-text-length,1))));letter-spacing:.04em;line-height:1.15;overflow-wrap:anywhere}
.tpl-song__social{position:absolute;right:5.8%;top:3.7%;display:flex;gap:1.6cqi;color:var(--tpl-bg)}.tpl-song__social i{display:grid;place-items:center;width:4.6cqi;height:4.6cqi;border-radius:50%;background:var(--tpl-accent)}.tpl-song__social svg{width:2.6cqi;height:2.6cqi}
.tpl-song__title{position:absolute;left:8%;top:64.8%;width:84%;margin:0;text-align:center;font-size:min(14.2cqi,calc(184.6cqi / max(13,var(--poster-text-length,1))));font-weight:400;line-height:1.1;letter-spacing:-.025em;white-space:nowrap;text-shadow:.45cqi .6cqi 0 color-mix(in srgb,var(--tpl-bg) 65%,transparent)}.tpl-song__subtitle{position:absolute;left:8%;top:77%;width:84%;text-align:center;font-size:min(4.2cqi,calc(109.2cqi / max(26,var(--poster-text-length,1))));line-height:1.2;letter-spacing:.045em;overflow-wrap:anywhere}.tpl-song__date{position:absolute;left:20.2%;top:82.3%;width:59.6%;height:6.1%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:.6cqi 2cqi;background:var(--tpl-accent);color:var(--tpl-surface);font-size:min(5.2cqi,calc(88.4cqi / max(17,var(--poster-text-length,1))));letter-spacing:.055em;line-height:1.1;text-align:center;overflow-wrap:anywhere}.tpl-song__credits{position:absolute;left:14%;top:90.8%;width:72%;text-align:center;font-size:min(3.1cqi,calc(145.7cqi / max(47,var(--poster-text-length,1))));line-height:1.3;letter-spacing:.025em;overflow-wrap:anywhere}.tpl-song__corners{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.tpl-clinic__background{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;mix-blend-mode:multiply}.tpl-clinic__waves{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.tpl-clinic__title{position:absolute;right:7.1%;top:8.5%;width:59%;margin:0;text-align:right;font-weight:700;line-height:1.04;letter-spacing:-.02em}.tpl-clinic__title span{display:block;white-space:nowrap;font-size:min(10.8cqi,calc(81cqi / max(7.5,var(--poster-text-length,1))))}.tpl-clinic__description{position:absolute;right:7.1%;top:25.6%;width:51%;margin:0;text-align:right;font-size:min(2.95cqi,calc(324.5cqi / max(110,var(--poster-text-length,1))));line-height:1.48;white-space:pre-line;overflow-wrap:anywhere}.tpl-clinic__photo{position:absolute;background-size:cover;background-position:center;border-radius:50%;border:1cqi solid white;outline:.5cqi solid var(--tpl-surface);box-sizing:border-box}.tpl-clinic__photo--care{left:2.7%;top:27.8%;width:34%;height:24.1%}.tpl-clinic__photo--team{left:-4.3%;top:53.5%;width:61%;height:43.2%;outline:.8cqi solid var(--tpl-deep);border-width:1.5cqi}.tpl-clinic__photo--consultation{left:57.3%;top:72.8%;width:34.6%;height:24.5%}
.tpl-clinic__bar{position:absolute;left:67.6%;width:34%;height:4.9%;box-sizing:border-box;margin:0;padding:1cqi 4cqi 1cqi 3cqi;border-radius:6cqi 0 0 6cqi;display:flex;align-items:center;justify-content:center;background:var(--tpl-accent);color:#FFF;font-size:min(3cqi,calc(45cqi / max(15,var(--poster-text-length,1))));line-height:1.1;text-align:center;white-space:nowrap}.tpl-clinic__bar--services{top:37.4%}.tpl-clinic__bar--contact{top:57.1%}.tpl-clinic__services{position:absolute;right:6.4%;top:44.2%;width:53%;text-align:right}.tpl-clinic__services>div{font-size:min(2.7cqi,calc(89.1cqi / max(33,var(--poster-text-length,1))));line-height:1.65;overflow-wrap:anywhere}.tpl-clinic__contact{position:absolute;right:6.4%;top:64.1%;width:53%;text-align:right}.tpl-clinic__contact span{display:block;font-size:min(2.7cqi,calc(94.5cqi / max(35,var(--poster-text-length,1))));line-height:1.65;overflow-wrap:anywhere}
.tpl-hotel__hero{position:absolute;left:0;top:0;width:100%;height:39.4%;background-size:cover;background-position:center}.tpl-hotel__shade{position:absolute;left:0;top:2.9%;width:100%;height:33.3%;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tpl-accent) 74%,transparent) 75%,color-mix(in srgb,var(--tpl-accent) 95%,transparent))}.tpl-hotel__title{position:absolute;right:11.5%;top:6.8%;width:61%;margin:0;color:#FFF;font-weight:700;text-align:right;line-height:1.03;letter-spacing:.005em}.tpl-hotel__title span{display:block;font-size:min(10.7cqi,calc(85.6cqi / max(8,var(--poster-text-length,1))));white-space:nowrap}.tpl-hotel__subtitle{position:absolute;right:12.7%;top:30.1%;width:56%;color:white;text-align:right;font-size:min(3.3cqi,calc(99cqi / max(30,var(--poster-text-length,1))));line-height:1.2;font-weight:500;overflow-wrap:anywhere}
.tpl-hotel__strip{position:absolute;left:0;top:39.4%;width:100%;height:21.2%;background:var(--tpl-accent);box-shadow:0 1.3cqi 1.2cqi #0004;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3cqi;box-sizing:border-box;padding:1.7cqi 4.7cqi}.tpl-hotel__strip>div{background-size:cover;background-position:center;border:.4cqi solid white;box-sizing:border-box}
.tpl-hotel__facilities,.tpl-hotel__experiences{position:absolute;left:12.4%;width:33%;line-height:1.5}.tpl-hotel__facilities{top:65.2%}.tpl-hotel__experiences{top:80.2%}.tpl-hotel h3{margin:0 0 .35cqi;font-size:min(3.1cqi,calc(55.8cqi / max(18,var(--poster-text-length,1))));font-weight:800;line-height:1.3;white-space:nowrap}.tpl-hotel__facilities>div,.tpl-hotel__experiences>div{font-size:min(2.85cqi,calc(71.25cqi / max(25,var(--poster-text-length,1))));overflow-wrap:anywhere}.tpl-hotel__spa-frame{position:absolute;left:47.9%;top:63%;width:52.5%;height:29.4%;background:var(--tpl-accent);box-shadow:0 1.2cqi 1.1cqi #0004;box-sizing:border-box;padding:4.1cqi 6.9cqi 4.1cqi 4.1cqi;border-radius:1.5cqi 0 0 1.5cqi}.tpl-hotel__spa-frame>div{width:100%;height:100%;background-size:cover;background-position:center;border:.4cqi solid white;box-sizing:border-box}
.tpl-hotel__footer{position:absolute;left:0;bottom:0;width:100%;height:5.2%;background:var(--tpl-accent);color:#FFF;display:grid;grid-template-columns:22% 34% 36%;align-items:center;justify-content:center;gap:2%;padding:0 6.5%;box-sizing:border-box}.tpl-hotel__footer span{font-size:min(2.1cqi,calc(67.2cqi / max(32,var(--poster-text-length,1))));text-align:center;line-height:1.2;overflow-wrap:anywhere}
.tpl-catalog{background:linear-gradient(128deg,transparent 57%,#FFF7 60%,transparent 66%),linear-gradient(122deg,transparent 48%,#D8D2C229 51%,transparent 55%),linear-gradient(132deg,transparent 60%,#FFF9 64%,transparent 75%),var(--tpl-bg)}.tpl-catalog__header{position:absolute;left:0;top:0;width:100%;height:47.1%;background:radial-gradient(ellipse at 83% 54%,transparent,var(--tpl-deep)),var(--tpl-accent)}.tpl-catalog__texture{position:absolute;left:0;top:0;width:100%;height:47.1%;background-size:25cqi 25cqi;opacity:.24;mix-blend-mode:luminosity;pointer-events:none}.tpl-catalog__title{position:absolute;left:10%;top:9.2%;width:65%;margin:0;font-weight:400;font-size:min(15cqi,calc(112.5cqi / max(7.5,var(--poster-text-length,1))));letter-spacing:-.05em;line-height:.94;color:#FFF}.tpl-catalog__title span{display:block;white-space:nowrap}.tpl-catalog__rule{position:absolute;left:10%;top:31%;width:80%;height:.15cqi;background:#FFF}.tpl-catalog__ribbon{position:absolute;left:78.1%;top:0;width:16.5%;height:13.6%;box-sizing:border-box;background:#FFFCF6;clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);color:var(--tpl-text);padding:2.3cqi 1cqi 4cqi;text-align:center}.tpl-catalog__ribbon [data-extra-logo]{width:7cqi;height:6cqi;margin:0 auto .7cqi;color:var(--tpl-accent)}.tpl-catalog__ribbon svg,.tpl-catalog__ribbon img{width:100%;height:100%;object-fit:contain}.tpl-catalog__ribbon span{display:block;font:400 min(2cqi,calc(50cqi / max(25,var(--poster-text-length,1))))/1.05 Poppins,sans-serif;white-space:pre-line;overflow-wrap:anywhere;letter-spacing:-.05em}
.tpl-catalog__cards{position:absolute;left:9.5%;top:35.7%;width:80%;height:50.5%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:38.7% 58.7%;column-gap:3.3cqi;row-gap:1.3cqi}.tpl-catalog__card{min-width:0;overflow:hidden;border:.1cqi solid #E1DDD5;border-radius:1.6cqi;padding:1.2cqi 1.2cqi 2cqi;box-sizing:border-box;background:var(--tpl-surface);display:flex;flex-direction:column;align-items:center;font-family:Poppins,sans-serif;color:var(--tpl-text)}.tpl-catalog__photo{width:100%;height:59.5%;flex-shrink:0;border-radius:1.2cqi;background-size:cover;background-position:center}.tpl-catalog__card:nth-child(n+4) .tpl-catalog__photo{height:65%}.tpl-catalog__card b{display:block;width:100%;text-align:center;margin:1cqi 0 .25cqi;font-size:min(3.5cqi,calc(21cqi / max(6,var(--poster-text-length,1))));font-weight:800;line-height:1.35;letter-spacing:-.05em;overflow-wrap:anywhere}.tpl-catalog__card:nth-child(n+4) b{margin-top:2.5cqi}.tpl-catalog__card span{display:block;width:100%;text-align:center;font-size:min(2.3cqi,calc(43.7cqi / max(19,var(--poster-text-length,1))));line-height:1.3;letter-spacing:-.055em;overflow-wrap:anywhere}.tpl-catalog__offer{position:absolute;left:10.7%;top:88.3%;width:78.6%;height:5.3%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:1cqi 2cqi;border-radius:1.6cqi;background:var(--tpl-accent);color:#FFF;font:400 min(3.1cqi,calc(139.5cqi / max(45,var(--poster-text-length,1))))/1.2 Poppins,sans-serif;text-align:center;letter-spacing:-.04em;overflow-wrap:anywhere}
/* Keep headline groups clear of their following content. */
.tpl-hotel__title span{font-size:min(9cqi,calc(72cqi / max(8,var(--poster-text-length,1))))}
.tpl-catalog__title{font-size:14cqi;line-height:.9}
.tpl-catalog__title span{font-size:min(14cqi,calc(105cqi / max(7.5,var(--poster-text-length,1))))}
/* Resume, real-estate, detailing and fashion collection artwork. */
.tpl-resume,.tpl-home,.tpl-wash,.tpl-collection{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
.tpl-resume__sidebar{position:absolute;inset:0 auto 0 0;width:34.5%;background:linear-gradient(var(--tpl-surface),var(--tpl-deep))}.tpl-resume__portrait{position:absolute;left:5.7%;top:5.4%;width:23.1%;aspect-ratio:1;border-radius:50%;border:1.6cqi solid var(--tpl-accent);box-sizing:border-box;background-size:cover;background-position:center}
.tpl-resume__name{position:absolute;left:39.5%;top:10.4%;width:56.5%;margin:0;font-size:min(4.5cqi,calc(76.5cqi / max(17,var(--poster-text-length,1))));font-weight:600;line-height:1.2;letter-spacing:.055em;white-space:nowrap}.tpl-resume__role{position:absolute;left:39.5%;top:15.5%;width:56.5%;font-size:min(2.6cqi,calc(78cqi / max(30,var(--poster-text-length,1))));line-height:1.3;letter-spacing:.035em;color:var(--tpl-accent);font-weight:500;overflow-wrap:anywhere}
.tpl-resume section{position:absolute;box-sizing:border-box}.tpl-resume h3{margin:0 0 1.5cqi;padding:0 0 1.2cqi;border-bottom:.15cqi solid color-mix(in srgb,var(--tpl-text) 75%,transparent);font-size:min(2.35cqi,calc(58.75cqi / max(25,var(--poster-text-length,1))));font-weight:500;line-height:1.35}
.tpl-resume__contact,.tpl-resume__education,.tpl-resume__skills,.tpl-resume__languages{left:4.2%;width:30.2%}.tpl-resume__contact{top:26%}.tpl-resume__contact h3,.tpl-resume__skills h3,.tpl-resume__languages h3{letter-spacing:.07em}.tpl-resume__contact>div{display:flex;align-items:flex-start;gap:1.6cqi;margin:0 0 1.3cqi;padding-left:.7cqi}.tpl-resume__contact svg{width:1.6cqi;height:1.6cqi;flex-shrink:0;margin-top:.3cqi}.tpl-resume__contact span{font-size:min(1.65cqi,calc(56.1cqi / max(34,var(--poster-text-length,1))));line-height:1.5;overflow-wrap:anywhere}
.tpl-resume__education{top:44.3%}.tpl-resume__qualification{margin:0 0 2.5cqi;line-height:1.4}.tpl-resume__qualification span,.tpl-resume__qualification b,.tpl-resume__qualification small{display:block;overflow-wrap:anywhere}.tpl-resume__qualification span{font-size:min(1.9cqi,calc(57cqi / max(30,var(--poster-text-length,1))))}.tpl-resume__qualification b{font-size:min(1.55cqi,calc(54.25cqi / max(35,var(--poster-text-length,1))));font-weight:600}.tpl-resume__qualification small{font-size:min(1.35cqi,calc(40.5cqi / max(30,var(--poster-text-length,1))))}
.tpl-resume__skills{top:64.2%}.tpl-resume__skills>div{font-size:min(1.55cqi,calc(217cqi / max(140,var(--poster-text-length,1))));line-height:2.25;white-space:pre-line;overflow-wrap:anywhere;padding-left:.5cqi}.tpl-resume__languages{top:85.5%}.tpl-resume__languages>div{font-size:min(1.9cqi,calc(85.5cqi / max(45,var(--poster-text-length,1))));line-height:2.25;white-space:pre-line;overflow-wrap:anywhere}
.tpl-resume__about,.tpl-resume__experience,.tpl-resume__references{left:38.9%;width:56.1%}.tpl-resume__about{top:26%}.tpl-resume__about p{margin:0;font-size:min(1.65cqi,calc(462cqi / max(280,var(--poster-text-length,1))));line-height:1.4;text-align:justify;white-space:pre-line;overflow-wrap:anywhere}.tpl-resume__experience{top:40.1%;height:42.6%}.tpl-resume__jobs{display:flex;flex-direction:column;gap:1.7cqi;height:calc(100% - 5.9cqi)}.tpl-resume__jobs article{flex:1;min-height:0}.tpl-resume__period,.tpl-resume__company{font-size:min(1.55cqi,calc(62cqi / max(40,var(--poster-text-length,1))));line-height:1.4;color:color-mix(in srgb,var(--tpl-text) 70%,var(--tpl-bg));letter-spacing:.03em;overflow-wrap:anywhere}.tpl-resume__position{font-size:min(1.85cqi,calc(74cqi / max(40,var(--poster-text-length,1))));line-height:1.4;margin:.5cqi 0;overflow-wrap:anywhere}.tpl-resume__details{font-size:min(1.47cqi,calc(264.6cqi / max(180,var(--poster-text-length,1))));line-height:1.55;white-space:pre-line;overflow-wrap:anywhere;padding-left:.5cqi}
.tpl-resume__references{top:85.5%}.tpl-resume__refs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.8cqi}.tpl-resume__refs article{min-width:0}.tpl-resume__refs article>b{display:block;font-size:min(1.9cqi,calc(57cqi / max(30,var(--poster-text-length,1))));line-height:1.25}.tpl-resume__ref-role{display:block;font-size:min(1.6cqi,calc(56cqi / max(35,var(--poster-text-length,1))));line-height:1.4;margin:.3cqi 0 1cqi;overflow-wrap:anywhere}.tpl-resume__refs article>div{font-size:1.05cqi;line-height:1.6;overflow-wrap:anywhere}.tpl-resume__refs article>div span{font-size:min(1.05cqi,calc(36.75cqi / max(35,var(--poster-text-length,1))))}.tpl-resume__refs strong{font-weight:700}
.tpl-home__hero{position:absolute;left:44%;top:0;width:56%;height:100%;background-size:cover;background-position:center}.tpl-home__eyebrow{position:absolute;left:4.3%;top:3.1%;width:36%;font-size:min(5.4cqi,calc(43.2cqi / max(8,var(--poster-text-length,1))));line-height:1.1}.tpl-home__title{position:absolute;left:3.7%;top:10.9%;width:39%;margin:0;font-size:min(14cqi,calc(56cqi / max(4,var(--poster-text-length,1))));font-weight:400;line-height:1.05;letter-spacing:-.025em;white-space:nowrap}.tpl-home__title2{position:absolute;left:4%;top:30.5%;width:36%;font-size:min(5.4cqi,calc(43.2cqi / max(8,var(--poster-text-length,1))));line-height:1.1;white-space:nowrap}.tpl-home__subtitle{position:absolute;left:2.2%;top:45.8%;width:30.2%;font:700 min(1.5cqi,calc(97.5cqi / max(65,var(--poster-text-length,1))))/1.4 Quicksand,sans-serif;white-space:pre-line;overflow-wrap:anywhere}.tpl-home__rule{position:absolute;left:2.2%;top:52.8%;width:16.4%;height:.07cqi;background:var(--tpl-text)}.tpl-home__description{position:absolute;left:2.2%;top:54.6%;width:30.2%;margin:0;font:500 min(1.3cqi,calc(325cqi / max(250,var(--poster-text-length,1))))/1.5 Quicksand,sans-serif;overflow-wrap:anywhere;white-space:pre-line}.tpl-home__price{position:absolute;left:0;top:69.8%;width:24.6%;height:15.4%;border-radius:0 10cqi 10cqi 0;background:var(--tpl-accent);color:white;box-sizing:border-box;padding:1.7cqi 1.5cqi;text-align:center;font-family:Quicksand,sans-serif}.tpl-home__price span{display:block;font-size:min(1.65cqi,calc(49.5cqi / max(30,var(--poster-text-length,1))));line-height:1.25;overflow-wrap:anywhere}.tpl-home__price b{display:block;font-size:min(3.7cqi,calc(37cqi / max(10,var(--poster-text-length,1))));line-height:1.35;white-space:nowrap;font-weight:700}
.tpl-home__contact{position:absolute;left:2.2%;top:91.1%;width:30%;display:flex;align-items:center;gap:1.1cqi;font-family:Quicksand,sans-serif}.tpl-home__contact i{display:grid;place-items:center;width:3.8cqi;height:3.8cqi;border-radius:50%;background:var(--tpl-accent);color:#FFF;flex-shrink:0}.tpl-home__contact svg{width:2.3cqi;height:2.3cqi}.tpl-home__contact span,.tpl-home__contact b{display:block;line-height:1.15;overflow-wrap:anywhere}.tpl-home__contact span{font-size:min(1.7cqi,calc(51cqi / max(30,var(--poster-text-length,1))))}.tpl-home__contact b{font-size:min(1.7cqi,calc(51cqi / max(30,var(--poster-text-length,1))));font-weight:700}.tpl-home__detail{position:absolute;left:35.1%;width:21.8%;height:30.9%;box-sizing:border-box;border:.45cqi solid #FFF;background-size:cover;background-position:center;box-shadow:0 0 .1cqi #5554}.tpl-home__detail--1{top:32.8%}.tpl-home__detail--2{top:65.6%}.tpl-home__cta{position:absolute;left:81.2%;top:90.1%;width:11.7%;min-height:5.3%;padding:.6cqi .5cqi;box-sizing:border-box;border-radius:.9cqi;background:var(--tpl-surface);color:var(--tpl-text);font:400 min(1.85cqi,calc(27.75cqi / max(15,var(--poster-text-length,1))))/1.1 Georgia,serif;text-align:center;overflow-wrap:anywhere}
.tpl-wash__hero{position:absolute;left:0;top:0;width:100%;height:46.2%;background-size:cover;background-position:center}.tpl-wash__fade{position:absolute;left:0;top:27%;width:100%;height:19.2%;background:linear-gradient(transparent,var(--tpl-bg))}.tpl-wash__brand-panel{position:absolute;left:0;top:0;width:48.5%;height:8.9%;background:var(--tpl-accent);clip-path:polygon(0 0,100% 0,88% 100%,0 100%)}.tpl-wash__brand{position:absolute;left:7.8%;top:2.3%;width:32%;height:3.8%;display:flex;align-items:center;gap:1.2cqi;color:var(--tpl-deep)}.tpl-wash__brand [data-extra-logo]{width:5.8cqi;height:5.5cqi;flex-shrink:0}.tpl-wash__brand svg,.tpl-wash__brand img{width:100%;height:100%;object-fit:contain}.tpl-wash__brand span{font-size:min(3.6cqi,calc(64.8cqi / max(18,var(--poster-text-length,1))));font-style:italic;line-height:1.1;white-space:nowrap}.tpl-wash__loop{position:absolute;left:66.5%;top:27%;width:36%;height:29%;pointer-events:none}.tpl-wash__title{position:absolute;left:5.2%;top:41.8%;width:56%;margin:0;font-size:min(13cqi,calc(104cqi / max(8,var(--poster-text-length,1))));font-weight:400;font-style:italic;line-height:1.05;letter-spacing:-.035em;white-space:nowrap;color:var(--tpl-accent)}.tpl-wash__subtitle{position:absolute;left:5.6%;top:52.4%;width:65%;font-size:min(3cqi,calc(123cqi / max(41,var(--poster-text-length,1))));font-style:italic;line-height:1.2;overflow-wrap:anywhere}.tpl-wash__label{position:absolute;left:7%;width:22.5%;height:3.4%;margin:0;box-sizing:border-box;padding:.3cqi 2cqi;display:flex;align-items:center;justify-content:center;clip-path:polygon(10% 0,100% 0,90% 100%,0 100%);background:var(--tpl-accent);color:var(--tpl-deep);font-size:min(2.7cqi,calc(45.9cqi / max(17,var(--poster-text-length,1))));font-style:italic;line-height:1.1;white-space:nowrap;font-weight:400}.tpl-wash__label--services{top:57.6%}.tpl-wash__label--booking{top:87.3%}.tpl-wash__services{position:absolute;left:7%;top:61.5%;width:65%;display:grid;grid-template-columns:1fr 1fr;gap:6cqi}.tpl-wash__services ul{padding:0;margin:0;list-style:none;min-width:0}.tpl-wash__services li{position:relative;padding-left:2.7cqi;font-size:2.5cqi;line-height:1.35}.tpl-wash__services li:before{content:'•';position:absolute;left:0}.tpl-wash__services span{font-size:min(2.35cqi,calc(63.45cqi / max(27,var(--poster-text-length,1))));overflow-wrap:anywhere}.tpl-wash__offer{position:absolute;left:81.2%;top:65.1%;width:13.7%;height:6.7%;box-sizing:border-box;border:.3cqi solid var(--tpl-accent);border-radius:1.2cqi;background:var(--tpl-accent);color:var(--tpl-deep);text-align:center;overflow:hidden}.tpl-wash__offer span{display:block;background:var(--tpl-deep);color:var(--tpl-accent);font-size:min(3cqi,calc(27cqi / max(9,var(--poster-text-length,1))));line-height:1.25;letter-spacing:-.04em}.tpl-wash__offer b{display:block;font-size:min(2.65cqi,calc(23.85cqi / max(9,var(--poster-text-length,1))));font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.tpl-wash__photos{position:absolute;left:7%;top:72.3%;width:83.5%;height:12%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3.2cqi}.tpl-wash__frame{background:var(--tpl-surface);clip-path:polygon(0 0,100% 31%,100% 100%,0 100%);padding:.4cqi;box-sizing:border-box}.tpl-wash__frame>div{width:100%;height:100%;clip-path:polygon(0 0,100% 31%,100% 100%,0 100%);background-size:cover;background-position:center}.tpl-wash__contacts{position:absolute;left:5.7%;top:91.9%;width:89.3%;height:2.9%;padding:.4cqi 2cqi;box-sizing:border-box;border-radius:1.5cqi;background:var(--tpl-surface);color:var(--tpl-deep);display:grid;grid-template-columns:24% 37% 39%;align-items:center;gap:1cqi}.tpl-wash__contacts span{font-size:min(1.9cqi,calc(62.7cqi / max(33,var(--poster-text-length,1))));line-height:1.15;overflow-wrap:anywhere}.tpl-wash__safety{position:absolute;left:0;bottom:0;width:100%;height:3%;background:repeating-linear-gradient(68deg,var(--tpl-accent) 0 13cqi,var(--tpl-deep) 13cqi 26cqi)}
.tpl-collection__panel{position:absolute;left:25.1%;top:6.8%;width:67.7%;height:84.6%;background:var(--tpl-surface);box-shadow:0 1.6cqi 2.1cqi #0007,0 0 .4cqi #0002}.tpl-collection__photo{position:absolute;background-size:cover;background-position:center}.tpl-collection__photo1{left:10.8%;top:21.1%;width:52.1%;height:19.9%}.tpl-collection__photo2{left:64%;top:21.1%;width:26%;height:30.6%}.tpl-collection__photo3{left:10.8%;top:41.8%;width:52.1%;height:40.5%}.tpl-collection__photo4{left:64%;top:52.5%;width:26%;height:29.8%}.tpl-collection__outline{position:absolute;left:24%;top:6.2%;width:49%;font-size:min(13.5cqi,calc(54cqi / max(4,var(--poster-text-length,1))));font-weight:700;line-height:1.05;white-space:nowrap;text-align:center;color:transparent;-webkit-text-stroke:.45cqi var(--tpl-text);paint-order:stroke fill}.tpl-collection__title{position:absolute;left:12%;top:16.5%;width:76%;margin:0;font-size:min(10.2cqi,calc(102cqi / max(10,var(--poster-text-length,1))));font-weight:700;line-height:1.1;letter-spacing:-.025em;white-space:nowrap;text-align:center}.tpl-collection__cta{position:absolute;left:33.3%;top:83.6%;width:30%;height:5.6%;box-sizing:border-box;padding:1cqi 2cqi;background:var(--tpl-accent);color:var(--tpl-text);border-radius:5cqi;display:flex;align-items:center;justify-content:center;font-size:min(3.1cqi,calc(46.5cqi / max(15,var(--poster-text-length,1))));line-height:1.15;letter-spacing:.06em;text-align:center;overflow-wrap:anywhere}.tpl-collection__website{position:absolute;left:20%;top:91.9%;width:60%;text-align:center;font-size:min(2.6cqi,calc(78cqi / max(30,var(--poster-text-length,1))));line-height:1.25;letter-spacing:.16em;overflow-wrap:anywhere}
/* Final type proportions from the source comparison. */
.tpl-resume__name{font-size:min(5.1cqi,calc(86.7cqi / max(17,var(--poster-text-length,1))))}
.tpl-resume__role{font-size:min(2.75cqi,calc(82.5cqi / max(30,var(--poster-text-length,1))))}
.tpl-wash__title{font-size:min(15.5cqi,calc(124cqi / max(8,var(--poster-text-length,1))))}
.tpl-wash__subtitle{font-size:min(3.3cqi,calc(135.3cqi / max(41,var(--poster-text-length,1))))}
.tpl-wash__title{width:47%;font-size:min(13cqi,calc(104cqi / max(8,var(--poster-text-length,1))));line-height:.95;transform:scaleX(1.19);transform-origin:left top}
/* FAQ, wide business card, formal invitation and square furniture sale. */
.tpl-faq,.tpl-biz,.tpl-invite,.tpl-furn{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
.tpl-faq__planes,.tpl-biz__background,.tpl-biz__ornaments,.tpl-invite__border,.tpl-furn__veins{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.tpl-faq__title{position:absolute;left:9.8%;top:9.1%;width:39%;font-weight:800;color:var(--tpl-accent);line-height:.98}.tpl-faq__title span{display:block;white-space:nowrap;font-size:min(6.1cqi,calc(48.8cqi / max(8,var(--poster-text-length,1))))}.tpl-faq__main{position:absolute;left:27.5%;top:13.5%;width:36%;margin:0;color:var(--tpl-accent);font-size:min(10.6cqi,calc(53cqi / max(5,var(--poster-text-length,1))));font-weight:800;line-height:1;letter-spacing:-.04em;white-space:nowrap}.tpl-faq__line{position:absolute;height:.16cqi;background:var(--tpl-text);opacity:.7}.tpl-faq__line--top{left:40.5%;top:12.2%;width:14.5%}.tpl-faq__line--bottom{left:9.8%;top:20.4%;width:15%}.tpl-faq__arrows{position:absolute;left:67%;top:11.5%;width:34%;height:10%;overflow:visible}
.tpl-faq__cards{position:absolute;left:9.8%;top:30.8%;width:71.6%;height:58.3%;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:1.8cqi}.tpl-faq__card{border:.3cqi solid var(--tpl-accent);box-sizing:border-box;min-height:0}.tpl-faq__question,.tpl-faq__answer{display:flex;align-items:center;gap:1.2cqi;padding:1.7cqi 2.9cqi;box-sizing:border-box;min-width:0}.tpl-faq__question{height:43.5%}.tpl-faq__answer{height:56.5%;background:var(--tpl-accent);color:var(--tpl-bg)}.tpl-faq__card b{font-size:min(4.1cqi,calc(16.4cqi / max(4,var(--poster-text-length,1))));line-height:1.1;font-weight:400;flex-shrink:0;white-space:nowrap}.tpl-faq__card span{font-size:min(2.5cqi,calc(200cqi / max(80,var(--poster-text-length,1))));line-height:1.35;overflow-wrap:anywhere;white-space:pre-line}.tpl-faq__website{position:absolute;left:87%;top:30.8%;width:4.5%;height:58.3%;background:var(--tpl-accent);color:var(--tpl-bg);display:flex;align-items:center;justify-content:center;box-shadow:0 0 .4cqi #0003}.tpl-faq__website span{writing-mode:vertical-rl;white-space:nowrap;font-size:min(2.7cqi,calc(86.4cqi / max(32,var(--poster-text-length,1))));line-height:1.1;letter-spacing:.025em}
.tpl-biz__logo{position:absolute;left:8.2%;top:25.3%;width:24.6%;height:15.4%;color:var(--tpl-deep)}.tpl-biz__logo svg,.tpl-biz__logo img{width:100%;height:100%;object-fit:contain}.tpl-biz__brand{position:absolute;left:5.6%;top:43.2%;width:30%;font:400 min(3.5cqi,calc(52.5cqi / max(15,var(--poster-text-length,1))))/1.15 Georgia,serif;text-align:center;white-space:nowrap}.tpl-biz__rule{position:absolute;left:45.7%;top:25.3%;width:.25cqi;height:52.7%;background:var(--tpl-deep)}.tpl-biz__name{position:absolute;left:48.8%;top:23.4%;width:47.5%;margin:0;font-size:min(4.4cqi,calc(74.8cqi / max(17,var(--poster-text-length,1))));font-weight:700;line-height:1.1;letter-spacing:.015em;white-space:nowrap}.tpl-biz__role{position:absolute;left:48.8%;top:30.2%;width:47.5%;font-size:min(3.3cqi,calc(72.6cqi / max(22,var(--poster-text-length,1))));line-height:1.2;overflow-wrap:anywhere}.tpl-biz__contacts{position:absolute;left:48.8%;top:43%;width:47.5%}.tpl-biz__contacts>div{display:flex;align-items:flex-start;gap:1.7cqi;margin-bottom:.8cqi}.tpl-biz__contacts i{display:grid;place-items:center;flex-shrink:0;width:3.9cqi;height:3.9cqi;border-radius:50%;background:var(--tpl-accent);color:white}.tpl-biz__contacts svg{width:2.15cqi;height:2.15cqi}.tpl-biz__contacts span{font-size:min(2.75cqi,calc(96.25cqi / max(35,var(--poster-text-length,1))));line-height:1.2;letter-spacing:-.025em;white-space:pre-line;overflow-wrap:anywhere}
.tpl-invite__photo{position:absolute;left:0;top:0;width:100%;height:42%;background-size:cover;background-position:center}.tpl-invite__fade{position:absolute;left:0;top:18%;width:100%;height:24%;background:linear-gradient(transparent,var(--tpl-bg))}.tpl-invite__brand{position:absolute;left:10%;top:41.1%;width:80%;text-align:center;color:var(--tpl-accent);font-size:min(3.1cqi,calc(93cqi / max(30,var(--poster-text-length,1))));line-height:1.2;overflow-wrap:anywhere}.tpl-invite__title{position:absolute;left:7%;top:45.1%;width:86%;margin:0;font-weight:400;line-height:.95;text-align:center;letter-spacing:-.045em}.tpl-invite__title span{display:block;font-size:min(11.2cqi,calc(112cqi / max(10,var(--poster-text-length,1))));white-space:nowrap}.tpl-invite__subtitle{position:absolute;left:10%;top:64.3%;width:80%;color:var(--tpl-accent);font-size:min(3.1cqi,calc(124cqi / max(40,var(--poster-text-length,1))));line-height:1.2;text-align:center;overflow-wrap:anywhere}.tpl-invite__month{position:absolute;left:30%;top:70.8%;width:40%;text-align:center;font-size:min(2.8cqi,calc(56cqi / max(20,var(--poster-text-length,1))));line-height:1.2;letter-spacing:.15em}.tpl-invite__weekday,.tpl-invite__year{position:absolute;top:75.2%;width:13.5%;height:3.3%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-top:.2cqi solid var(--tpl-accent);border-bottom:.2cqi solid var(--tpl-accent);color:var(--tpl-accent);font-size:min(2.7cqi,calc(27cqi / max(10,var(--poster-text-length,1))));line-height:1.1;text-align:center;white-space:nowrap}.tpl-invite__weekday{left:25.1%}.tpl-invite__year{left:61.4%;letter-spacing:.18em;font-weight:700}.tpl-invite__day{position:absolute;left:40%;top:73.5%;width:20%;text-align:center;font-size:min(9.2cqi,calc(27.6cqi / max(3,var(--poster-text-length,1))));line-height:1;letter-spacing:-.08em}.tpl-invite__details{position:absolute;left:10%;top:81.2%;width:80%;display:flex;justify-content:center;align-items:center;gap:1cqi;text-align:center}.tpl-invite__details span{font-size:min(2.2cqi,calc(88cqi / max(40,var(--poster-text-length,1))));line-height:1.25;overflow-wrap:anywhere;min-width:0}.tpl-invite__details span+span{border-left:.1cqi solid var(--tpl-text);padding-left:1cqi}.tpl-invite__highlights{position:absolute;left:10%;top:85.1%;width:80%;margin:0;text-align:center;color:var(--tpl-accent);font-size:min(2.2cqi,calc(308cqi / max(140,var(--poster-text-length,1))));line-height:1.25;white-space:pre-line;overflow-wrap:anywhere}.tpl-invite__contact{position:absolute;left:10%;top:93.2%;width:80%;font-size:min(2.2cqi,calc(143cqi / max(65,var(--poster-text-length,1))));line-height:1.25;text-align:center;overflow-wrap:anywhere}
.tpl-furn__dots{position:absolute;background:radial-gradient(var(--tpl-text) 21%,transparent 24%) 0 0/.95cqi .95cqi;border-radius:50%;transform:rotate(-34deg)}.tpl-furn__dots--top{left:75%;top:-5%;width:45%;height:40%}.tpl-furn__dots--left{left:-12%;top:39%;width:35%;height:42%}.tpl-furn__photo{position:absolute;left:31%;top:24.5%;width:69.5%;height:57%;border-radius:30cqi 0 0 30cqi;border:.25cqi solid var(--tpl-surface);box-sizing:border-box;background-size:cover;background-position:center}.tpl-furn__title{position:absolute;left:10%;top:7.8%;width:69%;margin:0;font-size:min(10.3cqi,calc(103cqi / max(10,var(--poster-text-length,1))));font-weight:800;line-height:1.05;letter-spacing:-.025em;white-space:nowrap}.tpl-furn__subtitle{position:absolute;left:9.5%;top:20.3%;width:45%;color:var(--tpl-accent);font-size:min(10.3cqi,calc(61.8cqi / max(6,var(--poster-text-length,1))));font-weight:300;line-height:1.1;letter-spacing:.035em;white-space:nowrap}.tpl-furn__discount{position:absolute;left:15.7%;top:39.8%;width:27.2%;height:27.2%;border-radius:50%;background:var(--tpl-surface);color:color-mix(in srgb,var(--tpl-accent) 55%,#43270C);display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800;line-height:1.02}.tpl-furn__discount b,.tpl-furn__discount span{font-size:min(6.8cqi,calc(34cqi / max(5,var(--poster-text-length,1))));font-weight:800}.tpl-furn__info{position:absolute;left:7.2%;top:86.7%;width:55%;color:var(--tpl-bg);line-height:1.4;letter-spacing:.12em}.tpl-furn__info b{display:block;font-size:min(2.9cqi,calc(87cqi / max(30,var(--poster-text-length,1))));font-weight:700;overflow-wrap:anywhere}.tpl-furn__info span{display:block;font-size:min(2.9cqi,calc(101.5cqi / max(35,var(--poster-text-length,1))));overflow-wrap:anywhere}.tpl-furn__cta{position:absolute;left:66.2%;top:86.1%;width:27.5%;height:7.8%;border-radius:6cqi;background:var(--tpl-surface);color:var(--tpl-bg);box-sizing:border-box;padding:1cqi 2cqi;display:flex;align-items:center;justify-content:center;font-size:min(3.1cqi,calc(46.5cqi / max(15,var(--poster-text-length,1))));font-weight:700;line-height:1.15;text-align:center;overflow-wrap:anywhere}
.tpl-furn__base{position:absolute;inset:0;background:var(--tpl-deep);clip-path:polygon(0 77.8%,31.85% 40.46%,100% 81.48%,100% 100%,0 100%)}
.tpl-furn__info{letter-spacing:.25cqi}
.tpl-invite__year{font-size:min(2.7cqi,calc(18cqi / max(7,var(--poster-text-length,1))))}
/* Vertical text needs the canvas width rather than its vertical inline axis. */
.tpl-faq__website span{font-size:min(2.7cqw,calc(86.4cqw / max(32,var(--poster-text-length,1))))}
/* Community batch: source compositions with brighter, editable palettes. */
.tpl--winner .tpl__bg,.tpl--meet-team .tpl__bg,.tpl--meet-founder .tpl__bg,.tpl--question .tpl__bg{display:none}
.community-winner,.community-team,.community-founder,.community-question{position:relative;width:100%;height:100%;background:var(--tpl-bg);color:var(--tpl-text);overflow:hidden}
.community-winner [data-field],.community-team [data-field],.community-founder [data-field],.community-question [data-field]{overflow-wrap:anywhere;white-space:pre-line}
.community-winner__eyebrow{position:absolute;top:5.3%;left:10%;width:80%;text-align:center;font-size:6.3cqi;font-style:italic;line-height:1.1}
.community-winner h2{position:absolute;left:5%;top:11%;width:90%;margin:0;text-align:center;font-size:min(18cqi,calc(108cqi / max(6,var(--poster-text-length,6))));font-weight:700;letter-spacing:-.035em;line-height:1.1;text-shadow:0 .3cqi 0 #fff,0 0 3cqi #fff8}
.community-winner__frame{position:absolute;left:26.5%;top:33.7%;width:47%;height:39%;padding:1.8cqi;background:var(--tpl-accent);transform:rotate(-4deg);box-shadow:0 1cqi 3cqi #15365112;box-sizing:border-box}
.community-winner__frame>div{width:100%;height:100%;background-size:cover;background-position:center 28%}
.community-winner__message{position:absolute;left:7%;top:68%;width:86%;font-family:'Caveat',cursive;font-size:min(20cqi,calc(175cqi / max(9,var(--poster-text-length,9))));font-weight:700;line-height:1.05;text-align:center;color:var(--tpl-accent);transform:rotate(-5deg);text-shadow:.1cqi .2cqi var(--tpl-surface)}
.community-winner__handle{position:absolute;left:15%;top:91%;width:70%;font-size:2.8cqi;text-align:center}
.community-winner__stars{position:absolute;inset:0;color:var(--tpl-accent);z-index:2;pointer-events:none}.community-winner__stars svg{position:absolute;overflow:visible}
.community-team__eyebrow{position:absolute;top:8.7%;left:10%;width:80%;font-size:min(7.5cqi,calc(120cqi / max(16,var(--poster-text-length,16))));line-height:1.1;text-align:center;letter-spacing:-.055em}
.community-team h2{position:absolute;top:15.4%;left:8%;width:84%;font-size:min(13.9cqi,calc(111cqi / max(8,var(--poster-text-length,8))));letter-spacing:-.065em;line-height:1.15;text-align:center;margin:0;font-weight:800}
.community-team__grid{position:absolute;left:12.1%;top:33.3%;width:75.8%;height:53.6%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:3.2cqi 2.5cqi}
.community-team__card{padding:2cqi 1.5cqi 1.2cqi;box-sizing:border-box;background:var(--tpl-text);color:var(--tpl-bg);border-radius:1.2cqi;min-width:0;text-align:center;overflow:hidden;display:flex;flex-direction:column;align-items:center}
.community-team__photo{width:100%;height:72%;flex-shrink:0;background-size:cover;background-position:center 30%;margin-bottom:1.5cqi}
.community-team__card b{display:block;width:100%;font-size:min(1.95cqi,calc(34cqi / max(17,var(--poster-text-length,17))));line-height:1.2;font-weight:700}
.community-team__card span{display:block;width:100%;font-size:min(1.5cqi,calc(31cqi / max(20,var(--poster-text-length,20))));line-height:1.3;margin-top:.5cqi;color:inherit}
.community-team__website{position:absolute;left:12%;top:91%;width:76%;text-align:center;font-size:2cqi;font-weight:700}
.community-founder__photo{position:absolute;left:0;top:0;width:90%;height:63%;background-size:cover;background-position:center top;border-radius:0 0 5cqi 0;clip-path:polygon(0 0,100% 0,100% 86%,98% 90%,43% 90%,31% 100%,0 100%)}
.community-founder__nameplate{position:absolute;left:61%;top:44.5%;width:27.7%;min-height:8%;box-sizing:border-box;padding:1cqi 2cqi;background:var(--tpl-surface);border-radius:2.5cqi}
.community-founder__nameplate b{display:block;color:var(--tpl-accent);font-size:min(2.8cqi,calc(42cqi / max(15,var(--poster-text-length,15))));line-height:1.15;font-weight:700}
.community-founder__nameplate span{display:block;font-size:min(1.55cqi,calc(45cqi / max(29,var(--poster-text-length,29))));line-height:1.4;margin-top:.3cqi}
.community-founder h2{position:absolute;left:44%;top:58%;width:46%;margin:0;text-align:right;font-size:8.1cqi;font-weight:800;letter-spacing:-.055em;line-height:1.02}
.community-founder h2 span{display:block;font-size:min(8.1cqi,calc(65cqi / max(8,var(--poster-text-length,8))))}
.community-founder__label{position:absolute;left:10%;top:72.3%;width:28.6%;padding:.6cqi 1cqi;box-sizing:border-box;border-radius:4cqi;text-align:center;background:var(--tpl-surface);color:var(--tpl-accent);font-weight:700;font-size:min(1.85cqi,calc(35cqi / max(19,var(--poster-text-length,19))))}
.community-founder p{position:absolute;left:10%;top:79%;width:80%;max-height:9%;overflow:hidden;margin:0;font-size:min(2.15cqi,calc(390cqi / max(181,var(--poster-text-length,181))));line-height:1.3}
.community-founder__dots{position:absolute;left:11.5%;top:89.3%;display:flex;gap:.35cqi}.community-founder__dots i{width:1cqi;height:1cqi;border-radius:50%;background:var(--tpl-accent)}
.community-founder__website{position:absolute;right:10%;top:88.5%;width:60%;text-align:right;font-size:1.7cqi;font-weight:700;color:var(--tpl-accent)}
.community-question__photo,.community-question__wash{position:absolute;inset:0;background-size:cover;background-position:center}
.community-question__photo{filter:contrast(1.12) saturate(1.08)}
.community-question__wash{background:rgba(0,0,0,.38)}
.community-question{color:var(--tpl-surface)}
.community-question__eyebrow{position:absolute;top:7.3%;left:10%;width:80%;text-align:center;font:500 2.7cqi/1.3 'Inter',sans-serif;letter-spacing:.15em}
.community-question__mark{position:absolute;left:18%;top:4%;width:64%;font:700 96cqi/1 'Inter',sans-serif;color:var(--tpl-surface);opacity:.12;text-align:center}
.community-question h2{position:absolute;left:11%;top:23%;width:78%;height:52%;display:flex;align-items:center;justify-content:center;margin:0;text-align:center;font-size:min(11.2cqi,calc(590cqi / max(53,var(--poster-text-length,53))));font-weight:400;letter-spacing:-.055em;line-height:1.08}
.community-question__handle{color:var(--tpl-surface);position:absolute;left:12%;top:90.2%;width:76%;text-align:center;font:400 2.8cqi/1.2 'Inter',sans-serif;letter-spacing:.06em}
/* Stories batch: layouts reconstructed from the four drafts, with new art direction. */
.tpl--did-you-know .tpl__bg,.tpl--next-guest .tpl__bg,.tpl--employee-spotlight .tpl__bg,.tpl--free-guide .tpl__bg{display:none}
.story-fact,.story-guest,.story-employee,.story-guide{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text)}
.story-fact [data-field],.story-guest [data-field],.story-employee [data-field],.story-guide [data-field]{white-space:pre-line;overflow-wrap:anywhere}
.story-fact__photo{position:absolute;left:34.7%;top:3.2%;width:65.3%;height:93.6%;background-size:cover;background-position:68% center}
.story-fact__panel{position:absolute;left:-.5%;top:12%;width:53%;height:79%;background:var(--tpl-surface);border:.45cqi solid var(--tpl-text);box-sizing:border-box;box-shadow:1.3cqi 1.4cqi 0 var(--tpl-surface)}
.story-fact h2{position:absolute;left:16%;top:15%;width:76%;margin:0;font-size:min(6.4cqi,calc(110cqi / max(17,var(--poster-text-length,17))));font-weight:700;line-height:1.1;letter-spacing:-.025em}
.story-fact p{position:absolute;left:16%;top:44%;width:75%;height:34%;margin:0;font:400 min(3.15cqi,calc(405cqi / max(128,var(--poster-text-length,128))))/1.45 'Inter',sans-serif}
.story-fact__panel>span{position:absolute;left:16%;bottom:9%;width:76%;font:600 min(2.3cqi,calc(110cqi / max(48,var(--poster-text-length,48))))/1.3 'Inter',sans-serif}
.story-guest{background:linear-gradient(100deg,var(--tpl-bg),color-mix(in srgb,var(--tpl-surface) 85%,var(--tpl-bg)))}
.story-guest__eyebrow{position:absolute;top:1.8%;left:8%;width:84%;text-align:center;font-size:min(4.4cqi,calc(148cqi / max(34,var(--poster-text-length,34))));line-height:1.25}
.story-guest__photo{position:absolute;left:24%;top:8%;width:52%;height:41.6%;border-radius:50%;overflow:hidden}
.story-guest__crop{position:absolute;inset:-10% -5% 0;background-size:cover;background-position:65% center}
.story-guest__identity{position:absolute;left:12%;top:52%;width:76%;text-align:center;line-height:1.04}
.story-guest__identity b,.story-guest__identity span{display:block;font-size:min(4.3cqi,calc(150cqi / max(35,var(--poster-text-length,35))));font-weight:500}
.story-guest h2{position:absolute;left:10%;top:63%;width:80%;margin:0;text-align:center;font-size:min(10.4cqi,calc(320cqi / max(30,var(--poster-text-length,30))));line-height:1.02;font-weight:700;letter-spacing:-.055em}
.story-guest p{position:absolute;left:8%;top:87%;width:84%;margin:0;text-align:center;font-size:min(3.4cqi,calc(220cqi / max(65,var(--poster-text-length,65))));line-height:1.2}
.story-guest__handle{position:absolute;left:12%;top:92.3%;width:76%;text-align:center;font-size:min(4cqi,calc(170cqi / max(42,var(--poster-text-length,42))));line-height:1.2}
.story-employee{background:linear-gradient(165deg,var(--tpl-surface),var(--tpl-bg) 85%)}
.story-employee__office{position:absolute;left:0;top:35%;width:100%;height:35%;background-size:cover;background-position:center;opacity:.14}
.story-employee__loops{position:absolute;inset:0;width:100%;height:100%;color:var(--tpl-accent);opacity:.4}
.story-employee__eyebrow{position:absolute;left:15%;top:8.3%;width:70%;text-align:center;font:700 min(5.5cqi,calc(165cqi / max(30,var(--poster-text-length,30))))/1.2 'Caveat',cursive}
.story-employee h2{position:absolute;left:12%;top:14%;width:76%;margin:0;text-align:center;font-size:min(8.1cqi,calc(245cqi / max(30,var(--poster-text-length,30))));font-weight:400;line-height:1.15;letter-spacing:-.025em}
.story-employee__card{position:absolute;left:26.5%;top:29.1%;width:47%;height:50.9%;border-radius:4cqi;background:var(--tpl-surface);box-shadow:0 .3cqi .8cqi #0001}
.story-employee__portrait{position:absolute;left:5%;top:10%;width:90%;height:66%;border-radius:4cqi;background-size:cover;background-position:center 10%;box-shadow:0 .7cqi 1.1cqi #fff5}
.story-employee__card b{position:absolute;left:5%;top:80%;width:90%;text-align:center;font:600 min(3.5cqi,calc(140cqi / max(40,var(--poster-text-length,40))))/1.2 'Inter',sans-serif}
.story-employee__card span{position:absolute;left:7%;top:89%;width:86%;text-align:center;font:400 min(2.3cqi,calc(100cqi / max(43,var(--poster-text-length,43))))/1.2 'Inter',sans-serif}
.story-employee__card i{position:absolute;right:-2%;bottom:-2%;width:5.5cqi;height:5.5cqi;border-radius:50%;background:radial-gradient(circle at 32% 27%,#fff9e9,#c2b18e 58%,#797267);box-shadow:0 .2cqi .3cqi #0004}
.story-employee p{position:absolute;left:16%;top:83.6%;width:68%;height:6%;margin:0;text-align:center;font:400 min(2.25cqi,calc(320cqi / max(142,var(--poster-text-length,142))))/1.4 'Inter',sans-serif}
.story-employee__date{position:absolute;left:10%;top:90%;width:25%;font:500 min(2.4cqi,calc(95cqi / max(39,var(--poster-text-length,39))))/1.2 'Inter',sans-serif}
.story-employee__brand{position:absolute;right:8%;top:90%;width:32%;display:flex;align-items:center;justify-content:flex-end;gap:1cqi}
.story-employee__brand>span{max-width:80%;text-align:right;font:500 min(2.4cqi,calc(100cqi / max(41,var(--poster-text-length,41))))/1.2 'Inter',sans-serif}
.story-employee__brand [data-extra-logo]{width:4.5cqi;height:4.5cqi;flex-shrink:0;color:var(--tpl-accent)}.story-employee__brand img,.story-employee__brand svg{width:100%;height:100%;object-fit:contain}
.story-guide__photo{position:absolute;right:0;top:0;width:41.6%;height:65.5%;background-size:cover;background-position:center 25%}
.story-guide__bulb{position:absolute;left:9%;top:0;width:8cqi;height:17cqi;color:var(--tpl-accent)}
.story-guide h2{position:absolute;left:10%;top:19.2%;width:46%;height:43%;margin:0;font-size:min(9.8cqi,calc(348cqi / max(35,var(--poster-text-length,35))));font-weight:400;line-height:1.05;letter-spacing:-.035em}
.story-guide__lower{position:absolute;left:0;top:65.5%;width:100%;height:34.5%;background:var(--tpl-surface)}
.story-guide p{position:absolute;left:10%;top:69.5%;width:80%;height:10%;margin:0;font:400 min(2.8cqi,calc(270cqi / max(96,var(--poster-text-length,96))))/1.4 'Inter',sans-serif;letter-spacing:.1em}
.story-guide__cta{position:absolute;left:10%;top:82.7%;width:36%;min-height:6.6%;padding:1.8cqi 1.2cqi;box-sizing:border-box;text-align:center;background:var(--tpl-text);color:var(--tpl-surface);box-shadow:.6cqi .7cqi 0 #0001;font:700 min(2.1cqi,calc(80cqi / max(38,var(--poster-text-length,38))))/1.2 'Inter',sans-serif;letter-spacing:.12em}
.story-guide__rule{position:absolute;right:0;top:85.9%;width:41.6%;height:.2cqi;background:var(--tpl-accent)}
.story-guide__website{position:absolute;right:8%;top:92%;width:48%;text-align:right;font:400 min(2cqi,calc(95cqi / max(47,var(--poster-text-length,47))))/1.2 'Inter',sans-serif}
/* Moments batch: quick-tip stationery, fashion comparison, sponsor and graduation. */
.tpl--quick-tip .tpl__bg,.tpl--photo-compare .tpl__bg,.tpl--sponsor .tpl__bg,.tpl--graduation .tpl__bg{display:none}
.moment-tip,.moment-compare,.moment-sponsor,.moment-grad{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text)}
.moment-tip [data-field],.moment-compare [data-field],.moment-sponsor [data-field],.moment-grad [data-field]{white-space:pre-line;overflow-wrap:anywhere}
.moment-tip__photo,.moment-tip__wash{position:absolute;inset:0;background-size:cover;background-position:center}
.moment-tip__photo{filter:contrast(1.1) saturate(1.05)}
.moment-tip__wash{background:rgba(0,0,0,.22)}
.moment-tip__card{position:absolute;left:15.5%;top:21%;width:68%;height:60.5%;transform:rotate(2deg);border:.15cqi solid rgba(255,255,255,.6);box-sizing:border-box;background:rgba(0,0,0,.68);color:var(--tpl-surface);box-shadow:1.5cqi 1.5cqi 0 var(--tpl-text)}
.moment-tip__card p{position:absolute;left:9%;top:28%;width:82%;height:48%;margin:0;display:flex;align-items:center;justify-content:center;text-align:center;transform:rotate(-2deg);font:500 min(4.3cqi,calc(585cqi / max(136,var(--poster-text-length,136))))/1.32 'Quicksand',sans-serif}
.moment-tip h2{position:absolute;left:11.6%;top:14.5%;width:48%;min-height:15.2%;padding:1.2cqi 2cqi;box-sizing:border-box;background:var(--tpl-accent);color:var(--tpl-text);border:.15cqi solid var(--tpl-text);transform:rotate(-5deg);text-align:center;margin:0;font-size:min(11.5cqi,calc(103cqi / max(9,var(--poster-text-length,9))));font-weight:400;line-height:1.25;letter-spacing:.025em}
.moment-tip__handle{position:absolute;left:50%;top:78.3%;width:26%;min-height:8.5%;padding:1.7cqi 1cqi;box-sizing:border-box;text-align:center;background:var(--tpl-deep);border:.15cqi solid var(--tpl-text);transform:rotate(-2deg);font-size:min(3.2cqi,calc(68cqi / max(21,var(--poster-text-length,21))));line-height:1.3}
.moment-compare__line{position:absolute;left:0;top:43.5%;width:100%;height:.15cqi;background:var(--tpl-text)}
.moment-compare__look{position:absolute;top:11.7%;width:37.5%;height:63.5%}
.moment-compare__look--a{left:12%}.moment-compare__look--b{left:50.5%}
.moment-compare__photo{position:absolute;inset:0;background-size:cover;background-position:center}
.moment-compare__look>span{position:absolute;left:50%;top:-5cqi;transform:translateX(-50%);width:10cqi;height:10cqi;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--tpl-accent);color:var(--tpl-text);font:500 min(3.2cqi,calc(12.8cqi / max(4,var(--poster-text-length,4))))/1 'Inter',sans-serif}
.moment-compare h2{position:absolute;left:8%;top:81.5%;width:84%;margin:0;text-align:center;font-size:min(9.4cqi,calc(112cqi / max(12,var(--poster-text-length,12))));font-weight:400;line-height:1.1;letter-spacing:-.04em}
.moment-sponsor__texture{position:absolute;inset:0;background-size:cover;opacity:.55;pointer-events:none}
.moment-sponsor__eyebrow{position:absolute;left:7%;top:4%;width:86%;font:400 min(4cqi,calc(165cqi / max(41,var(--poster-text-length,41))))/1.2 'Inter',sans-serif}
.moment-sponsor__stack{position:absolute;left:25%;top:10.6%;width:54%;height:49%;background:var(--tpl-surface);transform:rotate(-3deg);box-shadow:0 .5cqi 1cqi #0002}
.moment-sponsor__frame{position:absolute;left:23%;top:9.7%;width:54%;height:49%;padding:2.5cqi 2.5cqi 0;box-sizing:border-box;transform:rotate(4deg);background:var(--tpl-deep);box-shadow:0 .5cqi 1cqi #0002;color:var(--tpl-surface)}
.moment-sponsor__photo{width:100%;height:84%;background-size:cover;background-position:center 25%}
.moment-sponsor__frame span{display:block;width:100%;height:14%;box-sizing:border-box;padding-top:1.8cqi;text-align:center;font-size:min(4cqi,calc(150cqi / max(37,var(--poster-text-length,37))));line-height:1.2}
.moment-sponsor__tape{position:absolute;left:40%;top:7.5%;width:20%;height:5.8%;background:color-mix(in srgb,var(--tpl-surface) 78%,#F5D579);color:var(--tpl-deep);display:flex;align-items:center;justify-content:center;font:700 min(2.3cqi,calc(30cqi / max(13,var(--poster-text-length,13))))/1.1 'Inter',sans-serif;letter-spacing:.12em;transform:rotate(4deg);clip-path:polygon(2% 0,100% 4%,97% 15%,100% 29%,97% 43%,100% 57%,97% 71%,100% 85%,98% 100%,0 96%,3% 84%,0 70%,3% 56%,0 42%,3% 28%,0 14%)}
.moment-sponsor h2{position:absolute;left:6%;top:62%;width:88%;margin:0;font-size:min(11cqi,calc(210cqi / max(19,var(--poster-text-length,19))));font-weight:400;line-height:1.01;letter-spacing:-.025em;color:var(--tpl-text)}
.moment-sponsor p{position:absolute;left:7%;top:85.5%;width:77%;height:10.5%;margin:0;font:400 min(4.3cqi,calc(340cqi / max(79,var(--poster-text-length,79))))/1.18 'Inter',sans-serif}
.moment-sponsor__ink{position:absolute;right:2%;bottom:2%;width:11%;height:11%;color:var(--tpl-surface);opacity:.85}
.moment-grad{background:linear-gradient(150deg,var(--tpl-bg),var(--tpl-accent))}
.moment-grad__frame{position:absolute;left:7.7%;top:7%;width:63%;height:76%;padding:8.2cqi 1cqi 0;box-sizing:border-box;background-color:var(--tpl-surface);background-size:cover;transform:rotate(-.2deg);box-shadow:0 .2cqi .5cqi #0001}
.moment-grad__photo{width:100%;height:84%;background-size:cover;background-position:center}
.moment-grad__name{position:absolute;left:3%;top:87.5%;width:94%;height:10%;display:flex;align-items:center;justify-content:center;color:var(--tpl-deep);font-size:min(8cqi,calc(215cqi / max(27,var(--poster-text-length,27))));line-height:1.05;text-align:center}
.moment-grad h2{position:absolute;left:72.7%;top:7%;width:17%;height:76%;margin:0}
.moment-grad h2 [data-field]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(90deg) scaleY(1.25);font-size:min(13cqw,calc(var(--grad-fit,175) * 1cqw / max(15,var(--poster-text-length,15))));font-weight:400;line-height:1;letter-spacing:-.025em;white-space:nowrap;overflow-wrap:normal}
.tpl--graduation[data-font="heavy"]{--grad-fit:120}
.tpl--graduation[data-font="sans"]{--grad-fit:130}
.moment-grad p{position:absolute;left:7.7%;top:85%;width:84.6%;height:11%;margin:0;font:400 min(4.1cqi,calc(395cqi / max(96,var(--poster-text-length,96))))/1.35 'Inter',sans-serif;letter-spacing:.015em}

/* Gallery refresh: a photographic quote and a clear recruitment illustration. */
.tpl-hire__megaphone{position:absolute;right:5%;top:44%;width:20%;height:20%;z-index:1;color:#FFFFFF;transform:rotate(-14deg)}
.tpl--quote .tpl__bg{display:none}
.tpl-quote__photo{position:absolute;inset:0;background-size:cover;background-position:center;filter:contrast(1.08)}
.tpl-quote--organic .tpl-quote__author,.tpl-quote--organic .tpl-quote__role{color:var(--tpl-text)}
.tpl-quote--organic .tpl-quote__role{opacity:.8}
/* Source-led announcement posters: promotion, question, course and product. */
.announce-promotion,.announce-question,.announce-course,.announce-product{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text)}
:is(.announce-promotion,.announce-question,.announce-course,.announce-product) [data-field]{white-space:pre-line;overflow-wrap:anywhere}
:is(.announce-promotion,.announce-question,.announce-course,.announce-product) .is-hidden{display:none!important}
.announce-promotion{font-family:Inter,sans-serif}
.announce-promotion__geometry{position:absolute;inset:0;width:100%;height:100%}
.announce-promotion__photo{position:absolute;right:0;top:9%;width:42%;height:91%;background-size:cover;background-position:center top}
.announce-promotion__ribbon{position:absolute;right:0;bottom:0;width:25%;height:48%}
.announce-promotion__dots{position:absolute;left:-1%;bottom:-1%;width:24%;height:33%;background-image:radial-gradient(var(--tpl-accent) 18%,transparent 21%);background-size:2.15cqi 2.15cqi;mask-image:linear-gradient(40deg,#000,transparent 75%);opacity:.6}
.announce-promotion__company{position:absolute;left:7%;top:9%;width:55%;text-align:center;font-size:min(2.7cqi,calc(105cqi / max(38,var(--poster-text-length,1))));line-height:1.3}
.announce-promotion__title{position:absolute;left:3%;top:16%;width:63%;margin:0;text-align:center;font-family:var(--tpl-font);font-size:min(11.8cqi,calc(188cqi / max(16,var(--poster-text-length,1))));font-weight:400;line-height:1.15}
.tpl--promotion-congrats[data-font=hand] .announce-promotion__title{font-size:min(9.6cqi,calc(154cqi / max(16,var(--poster-text-length,1))))}
.tpl--promotion-congrats[data-font=serif] .announce-promotion__title{font-size:min(6.8cqi,calc(109cqi / max(16,var(--poster-text-length,1))))}
.announce-promotion__subtitle{position:absolute;left:7%;top:36.8%;width:55%;text-align:center;font-size:min(3cqi,calc(102cqi / max(34,var(--poster-text-length,1))));line-height:1.2;letter-spacing:.06em}
.announce-promotion__name{position:absolute;left:14%;top:46%;width:41%;min-height:10%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:1.6cqi 2cqi;border-radius:1.8cqi;background:linear-gradient(130deg,var(--tpl-accent),var(--tpl-deep));box-shadow:inset 0 .25cqi .2cqi #ffffff35;color:#fff;font-size:min(3.5cqi,calc(98cqi / max(28,var(--poster-text-length,1))));text-align:center;line-height:1.2}
.announce-promotion__message{position:absolute;left:10%;top:61%;width:48%;margin:0;text-align:center;font-size:min(2.7cqi,calc(280cqi / max(104,var(--poster-text-length,1))));line-height:1.5}
.announce-promotion__handle{position:absolute;left:12%;top:82%;width:45%;text-align:center;font-size:min(2.3cqi,calc(92cqi / max(40,var(--poster-text-length,1))));font-weight:500;line-height:1.3}
.announce-promotion__ellipsis{position:absolute;left:61%;top:7.6%;display:flex;gap:1.8cqi}
.announce-promotion__ellipsis i{width:1.8cqi;height:1.8cqi;border-radius:50%;background:var(--tpl-accent)}

.announce-question{font-family:var(--tpl-font)}
.announce-question__photo{position:absolute;inset:0;background-size:cover;background-position:center 48%;filter:contrast(1.08) saturate(.8)}
.announce-question__shade{position:absolute;inset:0;background:#11222e38}
.announce-question__card{position:absolute;left:11.3%;top:12.5%;width:77.4%;height:75%;box-sizing:border-box;border-radius:3.2cqi;background:var(--tpl-surface);box-shadow:0 1.5cqi 6cqi #10202a14}
.announce-question__arc{position:absolute;left:22%;top:4%;width:56%;height:25%;overflow:visible;fill:var(--tpl-text)}
.announce-question__arc text{font-family:Lora,Georgia,serif;letter-spacing:4px}
.announce-question__arc [data-field]{font-size:min(48px,calc(650px / max(13,var(--poster-text-length,1))))}
.announce-question__title{position:absolute;left:5%;top:29%;width:90%;height:58%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;margin:0;text-align:center;font-size:min(8.2cqi,calc(390cqi / max(48,var(--poster-text-length,1))));font-weight:800;line-height:1.2;letter-spacing:-.045em}
.announce-question__handle{position:absolute;left:29.3%;top:81.2%;width:41.2%;min-height:12.7%;box-sizing:border-box;padding:2cqi;display:flex;align-items:center;justify-content:center;border-radius:2cqi;background:var(--tpl-accent);color:var(--tpl-surface);font-size:min(2.8cqi,calc(100cqi / max(36,var(--poster-text-length,1))));font-weight:600;line-height:1.3;text-align:center}

.announce-course{font-family:Inter,sans-serif}
.announce-course__photo{mask-image:linear-gradient(90deg,transparent,#000 35%);position:absolute;right:0;top:0;width:61%;height:91%;background-size:auto 145%;background-position:65% 14%;filter:grayscale(1) contrast(1.1);opacity:.92}
.announce-course__shade{position:absolute;inset:0;background:linear-gradient(90deg,var(--tpl-bg) 0%,var(--tpl-bg) 29%,transparent 68%),linear-gradient(0deg,var(--tpl-bg) 8%,transparent 63%);mix-blend-mode:normal}
.announce-course__eyebrow{position:absolute;left:8.5%;top:5%;width:60%;font-size:min(1.75cqi,calc(100cqi / max(57,var(--poster-text-length,1))));font-weight:600;letter-spacing:.12em;line-height:1.3;color:var(--tpl-accent)}
.announce-course__headline{position:absolute;left:8.5%;top:11%;width:51%;height:48%;display:flex;flex-direction:column;gap:1.1cqi}
.announce-course__headline h2{margin:0;font-family:var(--tpl-font);font-size:min(6.5cqi,calc(190cqi / max(29,var(--poster-text-length,1))));line-height:1.04;font-weight:900;letter-spacing:-.045em}
.announce-course__highlight{color:var(--tpl-accent)}
.announce-course__benefits{position:absolute;left:8.5%;top:65%;width:51%;height:18%;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;justify-content:space-between;gap:1.2cqi}
.announce-course__benefits li{display:flex;align-items:center;gap:1.5cqi;min-width:0}
.announce-course__benefits svg{flex:0 0 4cqi;width:4cqi;height:4cqi;fill:none;stroke:var(--tpl-accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.announce-course__benefits span{font-size:min(2.5cqi,calc(85cqi / max(34,var(--poster-text-length,1))));line-height:1.25}
.announce-course__instructor{position:absolute;left:60%;top:70%;width:34%;text-align:center}
.announce-course__signature{font-family:Caveat,cursive;font-size:min(6.8cqi,calc(82cqi / max(12,var(--poster-text-length,1))));line-height:1.1;color:var(--tpl-accent);transform:rotate(-6deg)}
.announce-course__name{margin-top:1cqi;font-size:min(2.3cqi,calc(80cqi / max(35,var(--poster-text-length,1))));font-weight:700;line-height:1.3}
.announce-course__role{margin-top:.5cqi;font-size:min(1.55cqi,calc(75cqi / max(48,var(--poster-text-length,1))));line-height:1.3;opacity:.8}
.announce-course__footer{position:absolute;inset:91% 0 0;box-sizing:border-box;padding:1.8cqi 6cqi;background:var(--tpl-accent);color:var(--tpl-bg);display:flex;align-items:center;justify-content:space-between;gap:2cqi}
.announce-course__cta{max-width:66%;font-family:var(--tpl-font);font-size:min(2.65cqi,calc(100cqi / max(38,var(--poster-text-length,1))));font-weight:800;line-height:1.1}
.announce-course__contact{margin-left:auto;max-width:32%;font-size:min(1.9cqi,calc(75cqi / max(39,var(--poster-text-length,1))));font-weight:600;line-height:1.25;text-align:right}

.announce-product{background:radial-gradient(ellipse at 75% 63%,var(--tpl-surface),transparent 68%),var(--tpl-bg);font-family:Inter,sans-serif}
.announce-product__eyebrow{position:absolute;left:7.5%;top:5%;width:85%;font-size:min(1.7cqi,calc(90cqi / max(53,var(--poster-text-length,1))));font-weight:500;letter-spacing:.16em;color:var(--tpl-accent);line-height:1.3}
.announce-product__title{position:absolute;left:7.5%;top:10%;width:85%;height:26%;margin:0;font-family:var(--tpl-font);font-size:min(8.6cqi,calc(292cqi / max(34,var(--poster-text-length,1))));font-weight:400;line-height:1.12;letter-spacing:-.04em}
.announce-product__photo{position:absolute;right:-1%;top:32%;width:68%;height:59%;background-size:contain;background-repeat:no-repeat;background-position:center bottom;filter:drop-shadow(1cqi 2cqi 2cqi #0003)}
.announce-product__features{position:absolute;left:7.5%;top:41%;width:33%;height:17%;display:flex;flex-direction:column;justify-content:center;gap:1.6cqi;list-style:none;margin:0;padding:0}
.announce-product__features li{padding-left:1.9cqi;position:relative;font-size:min(2.1cqi,calc(80cqi / max(38,var(--poster-text-length,1))));line-height:1.35}
.announce-product__features li::before{content:'';position:absolute;left:0;top:.55em;width:.55cqi;height:.55cqi;border-radius:50%;background:var(--tpl-accent)}
.announce-product__offer{position:absolute;left:7.5%;top:64%;width:29%}
.announce-product__price{font-family:var(--tpl-font);font-size:min(6.5cqi,calc(65cqi / max(10,var(--poster-text-length,1))));line-height:1.1}
.announce-product__price-note{margin-top:.9cqi;color:var(--tpl-accent);font-size:min(1.8cqi,calc(70cqi / max(39,var(--poster-text-length,1))));line-height:1.3}
.announce-product__cta{position:absolute;left:7.5%;top:79%;width:29%;min-height:5.5%;box-sizing:border-box;padding:1.5cqi 2cqi;background:var(--tpl-text);color:var(--tpl-bg);border-radius:4cqi;display:flex;align-items:center;justify-content:center;font-size:min(1.65cqi,calc(60cqi / max(36,var(--poster-text-length,1))));font-weight:700;line-height:1.2;letter-spacing:.04em;text-align:center}
.announce-product__footer{position:absolute;left:7.5%;right:7.5%;bottom:4.2%;padding-top:1.8cqi;border-top:.1cqi solid color-mix(in srgb,var(--tpl-text) 28%,transparent);display:flex;justify-content:space-between;align-items:center;gap:3cqi}
.announce-product__footer [data-field]{max-width:48%;font-size:min(1.8cqi,calc(80cqi / max(44,var(--poster-text-length,1))));line-height:1.3}
.announce-product__footer [data-field=handle]{margin-left:auto;text-align:right;color:var(--tpl-accent)}
/* Photo-led editorial posters reconstructed from the press drafts. */
.press-quote,.press-article,.press-blog,.press-news{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text)}
:is(.press-quote,.press-article,.press-blog,.press-news) [data-field]{white-space:pre-line;overflow-wrap:anywhere}
:is(.press-quote,.press-article,.press-blog,.press-news) .is-hidden{display:none!important}
.press-quote{font-family:var(--tpl-font)}
.press-quote__photo{position:absolute;right:0;bottom:0;width:52%;height:46%;background-size:contain;background-position:right bottom;background-repeat:no-repeat;filter:contrast(1.08);mask-image:linear-gradient(90deg,transparent,#000 30%)}
.press-quote__fade{position:absolute;inset:52% 0 0;background:linear-gradient(180deg,var(--tpl-bg),transparent 24%),linear-gradient(0deg,var(--tpl-bg),transparent 25%)}
.press-quote__title{position:absolute;left:5%;top:4.5%;width:90%;height:35%;margin:0;font-size:min(7.3cqi,calc(900cqi / max(123,var(--poster-text-length,1))));font-weight:400;line-height:1.18;letter-spacing:-.012em}
.press-quote__title::before{content:'“'}
.press-quote__title::after{content:'”'}
.tpl--quote-image-dark[data-font=lora] .press-quote__title{font-size:min(5.6cqi,calc(689cqi / max(123,var(--poster-text-length,1))))}
.tpl--quote-image-dark[data-font=sans] .press-quote__title{font-size:min(5.9cqi,calc(726cqi / max(123,var(--poster-text-length,1))))}
.press-quote__author{position:absolute;left:5%;top:42%;width:70%;font-size:min(4.2cqi,calc(180cqi / max(43,var(--poster-text-length,1))));line-height:1.2;color:var(--tpl-accent)}
.press-quote__handle{position:absolute;left:5%;bottom:4%;width:70%;font:500 min(1.9cqi,calc(100cqi / max(53,var(--poster-text-length,1))))/1.3 Inter,sans-serif;letter-spacing:.04em}

.press-article{font-family:var(--tpl-font)}
.press-article__header{position:absolute;inset:0 0 66%;background:var(--tpl-bg)}
.press-article__category{position:absolute;left:10.5%;top:10%;width:79%;font:600 min(1.65cqi,calc(90cqi / max(55,var(--poster-text-length,1))))/1.2 Inter,sans-serif;letter-spacing:.15em;color:var(--tpl-accent)}
.press-article__title{position:absolute;left:10.5%;top:24%;width:79%;height:70%;margin:0;font-size:min(7.4cqi,calc(480cqi / max(65,var(--poster-text-length,1))));font-weight:400;line-height:1.14;letter-spacing:-.045em}
.press-article__photo{position:absolute;inset:34% 0 0;background-size:cover;background-position:center 55%}
.press-article__photo::after{content:'';position:absolute;inset:70% 0 0;background:linear-gradient(transparent,#07180f55)}
.press-article__website{position:absolute;right:5%;bottom:3.5%;max-width:70%;box-sizing:border-box;padding:.8cqi 1.5cqi;background:color-mix(in srgb,var(--tpl-surface) 91%,transparent);color:var(--tpl-text);border-radius:.3cqi;font:500 min(1.9cqi,calc(100cqi / max(53,var(--poster-text-length,1))))/1.3 Inter,sans-serif}

.press-blog{font-family:Inter,sans-serif}
.press-blog__photo{position:absolute;inset:0 0 56%;background-size:cover;background-position:center}
.press-blog__title{position:absolute;left:5%;top:47%;width:90%;height:17%;margin:0;font-family:var(--tpl-font);font-size:min(6.9cqi,calc(550cqi / max(80,var(--poster-text-length,1))));font-weight:800;font-style:italic;line-height:1.05;letter-spacing:-.02em}
.tpl--blog[data-font=heavy] .press-blog__title,.tpl--blog[data-font=poppins] .press-blog__title{font-size:min(5.5cqi,calc(440cqi / max(80,var(--poster-text-length,1))))}
.press-blog__excerpt{position:absolute;left:5%;top:67%;width:90%;height:21%;margin:0;font-size:min(2.8cqi,calc(650cqi / max(232,var(--poster-text-length,1))));line-height:1.4}
.press-blog__cta{position:absolute;left:5%;bottom:2.5%;width:56%;min-height:6.5%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:1.4cqi;padding:1.2cqi 1.8cqi;background:var(--tpl-accent);color:var(--tpl-surface);border-radius:.3cqi}
.press-blog__cta svg{width:3.2cqi;height:2.6cqi;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.press-blog__cta [data-field]{font-size:min(3.3cqi,calc(120cqi / max(36,var(--poster-text-length,1))));font-weight:700;line-height:1.15}
.press-blog__website{position:absolute;left:66%;bottom:4.6%;width:29%;font-size:min(1.8cqi,calc(80cqi / max(44,var(--poster-text-length,1))));line-height:1.25;text-align:right;color:var(--tpl-deep)}

.press-news{font-family:Inter,sans-serif}
.press-news__photo{position:absolute;inset:0;background-size:cover;background-position:center;filter:contrast(1.05) saturate(.83)}
.press-news__gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 33%,color-mix(in srgb,var(--tpl-bg) 16%,transparent) 48%,color-mix(in srgb,var(--tpl-bg) 72%,transparent) 71%,color-mix(in srgb,var(--tpl-bg) 82%,transparent) 100%)}
.press-news__brand{position:absolute;left:4.5%;top:3.5%;width:25%;min-height:7.8%;box-sizing:border-box;padding:1cqi 1.2cqi;display:flex;gap:1.1cqi;align-items:center;background:transparent;border-radius:0;color:var(--tpl-bg)}
.press-news__logo{width:5.2cqi;height:5.2cqi;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.press-news__logo svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7}
.press-news__logo img{width:100%;height:100%;object-fit:contain}
.press-news__brand-name{font-size:min(1.9cqi,calc(65cqi / max(34,var(--poster-text-length,1))));font-weight:800;letter-spacing:.025em;line-height:1.15}
.press-news__date{position:absolute;right:4.5%;top:3.5%;max-width:40%;box-sizing:border-box;padding:1cqi 1.5cqi;background:var(--tpl-bg);border-radius:.7cqi;font-size:min(2.25cqi,calc(90cqi / max(40,var(--poster-text-length,1))));font-weight:600;line-height:1.2}
.press-news__story{position:absolute;left:4.5%;right:4.5%;bottom:10%;height:27%;display:flex;flex-direction:column;justify-content:flex-end;gap:1.6cqi}
.press-news__eyebrow{font-size:min(1.75cqi,calc(90cqi / max(51,var(--poster-text-length,1))));font-weight:600;letter-spacing:.13em;line-height:1.2;color:var(--tpl-accent)}
.press-news__title{margin:0;font-family:var(--tpl-font);font-size:min(5.6cqi,calc(570cqi / max(102,var(--poster-text-length,1))));font-weight:600;line-height:1.17;letter-spacing:-.025em;text-shadow:0 .15cqi .6cqi #0002}
.press-news__footer{position:absolute;left:4.5%;right:4.5%;bottom:3.2%;display:flex;gap:4cqi;align-items:center;justify-content:space-between}
.press-news__contact{display:flex;align-items:center;gap:.8cqi;max-width:48%;min-width:0}
.press-news__contact svg{width:2.6cqi;height:2.6cqi;flex-shrink:0}
.press-news__contact span{font-size:min(2cqi,calc(90cqi / max(45,var(--poster-text-length,1))));font-weight:600;line-height:1.3}
.press-news__contact:last-child{margin-left:auto}
/* Sports, match result, X post and technology-news artwork. */
.update-sport,.update-match,.update-x,.update-tech{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text)}
:is(.update-sport,.update-match,.update-x,.update-tech) [data-field]{white-space:pre-line;overflow-wrap:anywhere}
:is(.update-sport,.update-match,.update-x,.update-tech) .is-hidden{display:none!important}
.update-publisher{position:absolute;left:3%;top:2.5%;width:12%;height:7.4%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1cqi;background:transparent;border-radius:0;color:var(--tpl-text);filter:drop-shadow(0 .15cqi .35cqi #0008)}
.update-publisher__mark{width:6cqi;height:4.3cqi;display:flex;justify-content:center;align-items:center}
.update-publisher__mark svg,.update-publisher__mark img{width:100%;height:100%;object-fit:contain}
.update-publisher__name{max-width:100%;margin-top:.5cqi;font:700 min(1.05cqi,calc(30cqi / max(29,var(--poster-text-length,1))))/1.15 Inter,sans-serif;letter-spacing:.12em;text-align:center}

.update-sport{font-family:var(--tpl-font)}
.update-sport__photo,.update-match__photo{position:absolute;left:0;top:0;width:100%;height:69%;background-size:cover;background-position:center top}
.update-sport__gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 47%,color-mix(in srgb,var(--tpl-bg) 28%,transparent) 58%,var(--tpl-bg) 72%,var(--tpl-deep) 100%)}
.update-sport__story{position:absolute;left:3%;right:3%;bottom:calc(7% + 2.777778cqi);height:25%;display:flex;flex-direction:column;justify-content:center;gap:1.3cqi;text-align:center}
.update-sport__label{font:600 min(1.75cqi,calc(70cqi / max(40,var(--poster-text-length,1))))/1.2 Inter,sans-serif;letter-spacing:.16em;color:var(--tpl-accent);margin-bottom:.5cqi}
.update-sport__title,.update-sport__highlight{margin:0;font-size:min(5.6cqi,calc(570cqi / max(102,var(--poster-text-length,1))));font-weight:600;line-height:1.25;letter-spacing:-.025em}
.update-sport__highlight{color:var(--tpl-accent)}
.update-sport__handle{position:absolute;left:5%;right:5%;bottom:2.8%;text-align:center;font:500 min(1.7cqi,calc(90cqi / max(53,var(--poster-text-length,1))))/1.2 Inter,sans-serif;opacity:.85}

.update-match{font-family:Inter,sans-serif}
.update-match__gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,color-mix(in srgb,var(--tpl-bg) 25%,transparent) 58%,var(--tpl-bg) 73%,var(--tpl-deep) 100%)}
.update-match__status{position:absolute;left:25%;top:69.1%;width:50%;height:4%;margin:0;text-align:center;font-family:var(--tpl-font);font-size:min(3.1cqi,calc(90cqi / max(29,var(--poster-text-length,1))));font-weight:700;line-height:1.2;letter-spacing:.055em}
.update-match__panel{position:absolute;left:12%;top:73%;width:76%;height:14.5%;box-sizing:border-box;border:0;display:grid;grid-template-columns:28% 44% 28%;align-items:stretch;background:color-mix(in srgb,var(--tpl-surface) 78%,transparent)}
.update-match__team{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.4cqi;padding:.6cqi;box-sizing:border-box}
.update-match__crest{width:11.5cqi;height:11.5cqi;background-size:contain;background-repeat:no-repeat;background-position:center;filter:brightness(.85) contrast(1.55);mix-blend-mode:screen}
.update-match__team [data-field]{max-width:100%;font-size:min(1.15cqi,calc(35cqi / max(30,var(--poster-text-length,1))));font-weight:600;line-height:1.1;letter-spacing:.06em;text-align:center}
.update-match__score{display:flex;align-items:center;justify-content:center;gap:1.4cqi;min-width:0;font-family:var(--tpl-font);font-weight:700;color:var(--tpl-accent)}
.update-match__score span{font-size:min(11cqi,calc(11cqi / max(1,var(--poster-text-length,1))));line-height:1}
.update-match__score i{font:500 4.7cqi/1 Inter,sans-serif;color:var(--tpl-text)}
.update-match__goals{position:absolute;top:89.3%;width:34%;display:flex;flex-direction:column;gap:.65cqi}
.update-match__goals--left{left:12%}
.update-match__goals--right{right:12%}
.update-match__goal{display:flex;align-items:center;gap:.8cqi;justify-content:flex-start;min-width:0;line-height:1.2}
.update-match__goal span{font-size:min(1.95cqi,calc(55cqi / max(28,var(--poster-text-length,1))));font-weight:600;text-align:left}
.update-match__goal svg{width:1.75cqi;height:1.75cqi;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5}
.update-match__goal time{font-size:min(1.95cqi,calc(15cqi / max(7,var(--poster-text-length,1))));font-weight:600;color:var(--tpl-accent)}
.update-match__goals--right .update-match__goal{justify-content:flex-end}
.update-match__goals--right .update-match__goal span{text-align:right}

.update-x{font-family:var(--tpl-font);display:grid;place-items:center}
.update-x__card{position:relative;width:88%;height:auto;max-height:88%;box-sizing:border-box;padding:4.2cqi;display:flex;flex-direction:column;gap:3cqi;border:.15cqi solid var(--tpl-deep);border-radius:3.2cqi;background:var(--tpl-surface);box-shadow:0 2cqi 6cqi #0003}
.update-x__header{position:relative;box-sizing:border-box;width:100%;padding-right:5cqi;min-height:8.2cqi;display:flex;align-items:center;gap:1.7cqi}
.update-x__avatar{flex-shrink:0;width:8.2cqi;height:8.2cqi;border-radius:50%;background-size:cover;background-position:center 24%}
.update-x__identity{display:flex;flex-direction:column;align-items:flex-start;gap:.35cqi;min-width:0;line-height:1.25}
.update-x__name-row{display:flex;align-items:center;gap:.8cqi;max-width:100%}
.update-x__name{font-size:min(2.35cqi,calc(90cqi / max(38,var(--poster-text-length,1))));font-weight:700}
.update-x__verified{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:2.1cqi;height:2.1cqi;background:#1D9BF0;color:#fff;font:700 1.3cqi/1 Inter,sans-serif;clip-path:polygon(50% 0,61% 10%,77% 7%,82% 23%,97% 29%,93% 45%,100% 58%,86% 69%,83% 85%,66% 87%,53% 100%,40% 90%,23% 93%,17% 78%,3% 71%,7% 55%,0 41%,14% 31%,17% 15%,34% 13%)}
.update-x__username{font-size:min(2.1cqi,calc(80cqi / max(38,var(--poster-text-length,1))));color:var(--tpl-accent)}
.update-x__mark{position:absolute;right:4.2cqi;top:4.2cqi;width:3.3cqi;height:3.3cqi}
.update-x__mark svg{width:100%;height:100%}
.update-x__text{position:relative;min-height:0;margin:0;font-size:clamp(2.1cqi,calc(4.4cqi - var(--poster-text-length,1) * .00185cqi),3.9cqi);font-weight:400;line-height:1.4;letter-spacing:-.015em}
.update-x__credit{position:absolute;left:11%;right:11%;bottom:2.5%;font:400 min(1.1cqi,calc(80cqi / max(73,var(--poster-text-length,1))))/1.3 Inter,sans-serif;color:var(--tpl-accent);text-align:center}

.update-tech{font-family:Inter,sans-serif}
.update-tech__photo{position:absolute;inset:0;background-size:auto 125%;background-position:76% 12%;filter:contrast(1.06) saturate(.83)}
.update-tech__gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 34%,color-mix(in srgb,var(--tpl-bg) 35%,transparent) 52%,color-mix(in srgb,var(--tpl-bg) 86%,transparent) 68%,color-mix(in srgb,var(--tpl-bg) 96%,transparent) 78%,var(--tpl-deep) 100%)}
.update-tech__brand{position:absolute;left:5%;top:4%;width:25%;min-height:6%;display:flex;align-items:center;gap:1cqi;color:var(--tpl-text)}
.update-tech__brand [data-extra-logo]{width:4.2cqi;height:4.2cqi;flex-shrink:0}
.update-tech__brand svg,.update-tech__brand img{width:100%;height:100%;object-fit:contain}
.update-tech__brand svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.update-tech__brand [data-field]{font-size:min(1.55cqi,calc(55cqi / max(35,var(--poster-text-length,1))));font-weight:700;letter-spacing:.08em;line-height:1.2;text-shadow:0 .1cqi .5cqi #0009}
.update-tech__story{position:absolute;left:3%;right:3%;bottom:calc(7% + 2.777778cqi);height:24%;display:flex;flex-direction:column;justify-content:flex-end;gap:1.8cqi}
.update-tech__label{font-family:"IBM Plex Mono",monospace;font-size:min(2.6cqi,calc(100cqi / max(38,var(--poster-text-length,1))));font-weight:500;line-height:1.2;letter-spacing:.07em;color:var(--tpl-accent)}
.update-tech__title{margin:0;font-family:var(--tpl-font);font-size:min(5.6cqi,calc(570cqi / max(102,var(--poster-text-length,1))));font-weight:700;line-height:1.25;letter-spacing:-.015em;text-shadow:0 .12cqi .45cqi #0008}
.update-tech__website{position:absolute;left:5%;right:5%;bottom:2.8%;font-size:min(1.7cqi,calc(90cqi / max(53,var(--poster-text-length,1))));line-height:1.2;color:var(--tpl-accent)}
/* Entertainment, celebrity quote, science and economy source-led posters. */
.feature-celebrity,.feature-quote,.feature-science,.feature-economy{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text)}
:is(.feature-celebrity,.feature-quote,.feature-science,.feature-economy) [data-field]{white-space:pre-line;overflow-wrap:anywhere}
:is(.feature-celebrity,.feature-quote,.feature-science,.feature-economy) .is-hidden{display:none!important}
.feature-brand{position:absolute;left:3.5%;top:2.5%;max-width:40%;display:flex;align-items:center;gap:1.2cqi;font-family:Inter,sans-serif}
.feature-brand__mark{width:6.8cqi;height:6.8cqi;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.feature-brand__mark svg,.feature-brand__mark img{width:100%;height:100%;object-fit:contain}
.feature-brand__name{font-size:min(1.65cqi,calc(65cqi / max(39,var(--poster-text-length,1))));line-height:1.2;font-weight:700;letter-spacing:.08em;text-shadow:0 .1cqi .5cqi #0008}
.feature-brand--celebrity .feature-brand__mark{background:transparent;color:var(--tpl-text);padding:.15cqi;border-radius:0;filter:drop-shadow(0 .15cqi .3cqi #0008)}
.feature-brand--celebrity svg{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.feature-celebrity{font-family:var(--tpl-font)}
.feature-celebrity__photo{position:absolute;inset:0;background-size:cover;background-position:center}
.feature-celebrity__gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 49%,color-mix(in srgb,var(--tpl-bg) 15%,transparent) 58%,color-mix(in srgb,var(--tpl-bg) 91%,transparent) 78%,var(--tpl-deep) 100%)}
.feature-celebrity__story{position:absolute;left:3%;right:3%;bottom:calc(7% + 2.777778cqi);height:23%;display:flex;flex-direction:column;justify-content:flex-end;gap:1.8cqi}
.feature-celebrity__label{font:600 min(1.8cqi,calc(80cqi / max(44,var(--poster-text-length,1))))/1.2 Inter,sans-serif;letter-spacing:.16em;color:var(--tpl-accent)}
.feature-celebrity__title{margin:0;font-size:min(6.4cqi,calc(680cqi / max(106,var(--poster-text-length,1))));font-weight:400;line-height:1.16;letter-spacing:-.025em}
.feature-celebrity__website{position:absolute;left:4.5%;right:4.5%;bottom:2.8%;font:500 min(1.65cqi,calc(90cqi / max(54,var(--poster-text-length,1))))/1.2 Inter,sans-serif;color:var(--tpl-accent)}

.feature-quote{font-family:var(--tpl-font)}
.feature-quote__photo{position:absolute;inset:0 0 43.6%;box-sizing:border-box;border:0;background-size:cover;background-position:center}
.feature-quote__texture{position:absolute;inset:56.4% 0 0;background:repeating-linear-gradient(90deg,transparent 0 12cqi,#0003 12cqi 12.2cqi,#ffffff04 12.2cqi 12.4cqi),repeating-linear-gradient(0deg,transparent 0 11cqi,#0003 11cqi 11.2cqi,#ffffff04 11.2cqi 11.4cqi),radial-gradient(ellipse at 50% 0,var(--tpl-bg),var(--tpl-deep));box-shadow:inset 0 2cqi 4cqi #0003}
.feature-quote__frame{position:absolute;left:1%;top:59%;width:98%;height:22%;fill:none;stroke:var(--tpl-accent);stroke-width:2}
.feature-quote__open,.feature-quote__close{position:absolute;color:var(--tpl-accent);font:400 14cqi/1 Georgia,serif}
.feature-quote__open{left:5%;top:57.3%;}
.feature-quote__close{right:5%;top:74.5%;}
.feature-quote__title{position:absolute;left:8%;top:63%;width:84%;height:15%;margin:0;display:flex;align-items:center;justify-content:center;font-size:min(6.7cqi,calc(490cqi / max(73,var(--poster-text-length,1))));font-weight:700;line-height:1.2;letter-spacing:-.015em;text-align:center}
.feature-quote__name{position:absolute;left:8%;top:85.2%;width:84%;font:700 min(3.9cqi,calc(150cqi / max(38,var(--poster-text-length,1))))/1.15 Poppins,sans-serif;letter-spacing:.045em;color:var(--tpl-accent);text-align:center}
.feature-quote__context{position:absolute;left:8%;top:90.6%;width:84%;font:400 min(1.85cqi,calc(135cqi / max(73,var(--poster-text-length,1))))/1.25 Inter,sans-serif;text-align:center}
.feature-quote__rule{position:absolute;left:36%;right:36%;bottom:3.8%;height:.15cqi;background:var(--tpl-accent);opacity:.55}
.feature-quote__credit{position:absolute;left:8%;right:8%;bottom:1.2%;font:400 min(1.1cqi,calc(80cqi / max(73,var(--poster-text-length,1))))/1.25 Inter,sans-serif;text-align:center;opacity:.7}

.feature-science{font-family:var(--tpl-font)}
.feature-science__photo{position:absolute;inset:0;background-size:cover;background-position:center}
.feature-science__gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,color-mix(in srgb,var(--tpl-bg) 20%,transparent) 65%,color-mix(in srgb,var(--tpl-bg) 94%,transparent) 83%,var(--tpl-deep) 100%)}
.feature-science__brand{position:absolute;left:12%;top:calc(76.5% - 2.777778cqi);width:76%;font:700 min(1.9cqi,calc(90cqi / max(47,var(--poster-text-length,1))))/1.2 Inter,sans-serif;text-align:center;letter-spacing:.08em}
.feature-science__rule{position:absolute;left:19%;right:19%;top:calc(79.7% - 2.777778cqi);height:.12cqi;background:var(--tpl-accent);opacity:.55}
.feature-science__story{position:absolute;left:2.5%;right:2.5%;top:calc(80.9% - 2.777778cqi);height:17.4%;display:flex;flex-direction:column;justify-content:flex-start;gap:.7cqi;text-align:center}
.feature-science__title,.feature-science__highlight{margin:0;font-size:min(5.6cqi,calc(570cqi / max(102,var(--poster-text-length,1))),calc(420cqi / max(75,var(--poster-text-length,1))));font-weight:600;line-height:1.25;letter-spacing:-.025em}
.feature-science__highlight{color:var(--tpl-accent)}
.tpl--science-news[data-font=humanist] :is(.feature-science__title,.feature-science__highlight){font-weight:400}
.feature-science__website{position:absolute;left:4%;right:4%;bottom:2.7%;font:400 min(1.2cqi,calc(80cqi / max(67,var(--poster-text-length,1))))/1.2 Inter,sans-serif;text-align:center;color:var(--tpl-accent)}

.feature-economy{font-family:var(--tpl-font)}
.feature-economy__photo{position:absolute;inset:0;background-size:cover;background-position:75% center;filter:contrast(1.07) saturate(.85)}
.feature-economy__gradient{position:absolute;inset:0;background:linear-gradient(180deg,#0003,transparent 32%,color-mix(in srgb,var(--tpl-bg) 36%,transparent) 51%,color-mix(in srgb,var(--tpl-bg) 84%,transparent) 68%,var(--tpl-deep) 100%)}
.feature-brand--economy{left:4%;top:4%;max-width:45%}
.feature-brand--economy .feature-brand__mark{width:3.8cqi;height:3.8cqi}
.feature-brand--economy svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.feature-brand--economy .feature-brand__name{font-size:min(2.3cqi,calc(90cqi / max(39,var(--poster-text-length,1))))}
.feature-economy__category{position:absolute;left:6%;top:calc(67% + 2.314815cqi);width:88%;font:600 min(4.1cqi,calc(170cqi / max(41,var(--poster-text-length,1))))/1.1 "Barlow Condensed",sans-serif;text-align:center;letter-spacing:.055em}
.feature-economy__rule{position:absolute;left:7%;right:7%;top:calc(67% + 8.333334cqi);height:.22cqi;background:var(--tpl-text);opacity:.9}
.feature-economy__story{position:absolute;left:6%;right:6%;top:calc(67% + 10.185186cqi);height:24%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center}
.feature-economy__title,.feature-economy__highlight,.feature-economy__ending{max-width:100%;margin:0;font-size:min(5.8cqi,calc(400cqi / max(69,var(--poster-text-length,1))));font-weight:700;line-height:1.05;letter-spacing:-.025em}
.feature-economy__highlight{color:var(--tpl-accent);font-size:min(5.8cqi,calc(300cqi / max(52,var(--poster-text-length,1))))}
.feature-economy__website{position:absolute;left:6%;right:6%;bottom:3.1%;font:500 min(1.65cqi,calc(90cqi / max(54,var(--poster-text-length,1))))/1.2 Inter,sans-serif;text-align:center;color:var(--tpl-accent)}

/* News headlines flow naturally across the available width. */
:is(.update-sport__story,.update-tech__story,.feature-celebrity__story,.feature-science__story) [data-field]{width:100%;white-space:pre-line;text-wrap:wrap;word-break:normal;overflow-wrap:break-word}

/* Colored headline fragments share one paragraph rather than forcing rows. */
.update-sport__headline,.feature-science__headline{margin:0;font-size:5.6cqi;line-height:0;white-space:pre-line;text-wrap:wrap;word-break:normal;overflow-wrap:break-word}
:is(.update-sport__headline,.feature-science__headline) [data-field]{display:inline;width:auto}

.update-match .update-publisher__mark{width:5cqi;height:6.2cqi}

/* Source-led portrait quote, sky quote, light post card and two-photo meme. */
.say-author,.say-nature,.say-x{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
:is(.say-author,.say-nature,.say-x,.say-meme) [data-field]{white-space:pre-line;text-wrap:wrap;word-break:normal;overflow-wrap:break-word}
:is(.say-author,.say-nature,.say-x,.say-meme) .is-hidden{display:none!important}
.say-author__paper{position:absolute;inset:0;background:radial-gradient(ellipse at 20% 12%,#ffffff40,transparent 70%),radial-gradient(ellipse at 90% 90%,#00000006,transparent 70%)}
.say-author__photo{position:absolute;inset:0;background-size:cover;background-position:center bottom;background-repeat:no-repeat;filter:grayscale(1)}
.say-author__title{position:absolute;left:3%;right:3%;top:1%;height:28%;display:flex;align-items:center;justify-content:center;margin:0;font-size:min(7cqi,calc(840cqi / max(120,var(--poster-text-length,1))));font-weight:500;line-height:1.04;letter-spacing:-.045em;text-align:center}
.say-author__name{position:absolute;left:5%;right:5%;top:31%;text-align:center;font-size:min(4.6cqi,calc(190cqi / max(41,var(--poster-text-length,1))));font-style:italic;line-height:1.2;color:var(--tpl-accent)}
.say-nature__photo{position:absolute;inset:0;background-size:cover;background-position:center}
.say-nature__brand{position:absolute;right:5%;top:4%;max-width:32%;display:flex;align-items:center;gap:1cqi;color:var(--tpl-text);filter:drop-shadow(0 .1cqi .4cqi #0004)}
.say-nature__brand [data-extra-logo]{flex-shrink:0;width:5.5cqi;height:5.5cqi}
.say-nature__brand svg,.say-nature__brand img{width:100%;height:100%;object-fit:contain}
.say-nature__brand svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.say-nature__brand [data-field]{font:600 min(1.5cqi,calc(60cqi / max(40,var(--poster-text-length,1))))/1.25 Inter,sans-serif}
.say-nature__copy{position:absolute;left:6%;right:6%;top:39%;height:17%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4cqi;text-align:center;text-shadow:0 .15cqi .65cqi #0007}
.say-nature__title{width:100%;margin:0;font-size:min(4.8cqi,calc(420cqi / max(88,var(--poster-text-length,1))));font-weight:500;line-height:1.4;letter-spacing:-.02em}
.say-nature__name{max-width:100%;font-size:min(2.4cqi,calc(130cqi / max(54,var(--poster-text-length,1))));font-weight:600;line-height:1.3;color:var(--tpl-accent)}
.say-x{display:grid;place-items:center}
.say-x__card{width:88%;max-height:88%;box-sizing:border-box;padding:5cqi;display:flex;flex-direction:column;gap:3.5cqi;border:.16cqi solid var(--tpl-deep);border-radius:3cqi;background:var(--tpl-surface);box-shadow:0 1.8cqi 5cqi #1630470d,0 .3cqi 1cqi #16304705}
.say-x__header{display:flex;align-items:center;gap:2.2cqi;min-height:8.8cqi;flex-shrink:0}
.say-x__mark{width:3.5cqi;height:3.5cqi;flex-shrink:0;margin-left:auto}
.say-x__mark svg{display:block;width:100%;height:100%}
.say-x__avatar{width:8.8cqi;height:8.8cqi;flex-shrink:0;border-radius:50%;background-size:cover;background-position:center}
.say-x__identity{min-width:0;display:flex;flex-direction:column;gap:.55cqi;line-height:1.25}
.say-x__name-row{display:flex;align-items:center;gap:1cqi;max-width:100%}
.say-x__name{font-size:min(3.2cqi,calc(145cqi / max(45,var(--poster-text-length,1))));font-weight:750}
.say-x__username{font-size:min(2.3cqi,calc(110cqi / max(47,var(--poster-text-length,1))));color:var(--tpl-accent)}
.say-x__verified{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:2.8cqi;height:2.8cqi;background:#1D9BF0;color:#fff;font:700 1.8cqi/1 Inter,sans-serif;clip-path:polygon(50% 0,61% 10%,77% 7%,82% 23%,97% 29%,93% 45%,100% 58%,86% 69%,83% 85%,66% 87%,53% 100%,40% 90%,23% 93%,17% 78%,3% 71%,7% 55%,0 41%,14% 31%,17% 15%,34% 13%)}
.say-x__text{margin:0;min-height:0;font-size:clamp(2.1cqi,calc(3.8cqi - var(--poster-text-length,1) * .0016cqi),3.5cqi);font-weight:400;line-height:1.5;letter-spacing:-.015em}
.say-meme{position:relative;box-sizing:border-box;width:100%;height:100%;padding:1.3cqi;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1cqi;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
.say-meme__panel{position:relative;min-width:0;overflow:hidden;border:.12cqi solid var(--tpl-surface)}
.say-meme__panel:first-child{border-radius:2.6cqi 0 0 2.6cqi}
.say-meme__panel:last-child{border-radius:0 2.6cqi 2.6cqi 0}
.say-meme__photo{position:absolute;inset:0;background-size:cover;background-position:center}
.say-meme__caption{position:absolute;left:3%;right:3%;bottom:2%;margin:0;font-size:min(5.6cqi,calc(220cqi / max(39,var(--poster-text-length,1))));font-weight:400;line-height:1.12;letter-spacing:-.01em;text-transform:uppercase;text-align:center;-webkit-text-stroke:.55cqi var(--tpl-deep);paint-order:stroke fill;text-shadow:0 .15cqi .2cqi var(--tpl-deep)}
.tpl--meme[data-font=heavy] .say-meme__caption{font-size:min(4.6cqi,calc(180cqi / max(39,var(--poster-text-length,1))))}

/* Story, illustrated worksheet, travel memories and a handwritten photo post. */
.journal-story,.journal-sheet,.journal-memory,.journal-post{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
:is(.journal-story,.journal-sheet,.journal-memory,.journal-post) [data-field]{white-space:pre-line;text-wrap:wrap;overflow-wrap:break-word;word-break:normal}
:is(.journal-story,.journal-sheet,.journal-memory,.journal-post) .is-hidden{display:none!important}
.journal-story__grid{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--tpl-text);stroke-width:1;opacity:.45}
.journal-story__photo{position:absolute;left:28%;top:6.5%;width:44%;height:47.8%;background-size:cover;background-position:center}
.journal-story__title{position:absolute;left:4.2%;right:4.2%;top:57.5%;height:25%;margin:0;font-size:min(3.3cqi,calc(1450cqi / max(420,var(--poster-text-length,1))));font-weight:400;line-height:1.28;letter-spacing:-.018em;text-align:justify}
.journal-story__name{position:absolute;left:6%;right:6%;top:83.5%;font-size:min(6.5cqi,calc(310cqi / max(47,var(--poster-text-length,1))));font-weight:700;line-height:1.2;text-align:center;color:var(--tpl-accent)}
.journal-sheet{background:#FFFFFF}
.journal-sheet__board{position:absolute;left:4%;top:7%;width:92%;height:86%;box-sizing:border-box;padding:5.6cqi 4.4cqi;display:grid;grid-template-rows:.9fr repeat(4,1fr);gap:2.2cqi;background:var(--tpl-bg)}
.journal-sheet__heading,.journal-sheet__card{min-height:0;box-sizing:border-box;background:var(--tpl-surface);border-radius:1.6cqi}
.journal-sheet__heading{display:flex;align-items:center;justify-content:center;padding:2cqi}
.journal-sheet__title{max-width:100%;margin:0;font-size:min(9.4cqi,calc(450cqi / max(47,var(--poster-text-length,1))));font-weight:700;line-height:1.05;letter-spacing:-.035em;text-align:center;text-shadow:.35cqi .5cqi 0 var(--tpl-accent)}
.journal-sheet__card{display:grid;grid-template-columns:minmax(0,1fr) 28cqi;align-items:center;gap:3.6cqi;padding:1.8cqi 5cqi}
.journal-sheet__copy{margin:0;max-height:100%;font-family:Quicksand,Inter,sans-serif;font-size:min(2.35cqi,calc(300cqi / max(132,var(--poster-text-length,1))));font-weight:500;line-height:1.32;letter-spacing:-.012em;text-align:center}
.journal-sheet__image{width:100%;height:100%;max-height:18.7cqi;border:0;border-radius:1.1cqi;background-size:cover;background-position:center}
.journal-memory__photo{position:absolute;width:50%;height:50%;background-size:cover;background-position:center}
.journal-memory__photo--first{left:50%;top:0}
.journal-memory__photo--second{left:0;top:50%}
.journal-memory__date{position:absolute;width:44%;text-align:center;font-size:min(5.8cqi,calc(100cqi / max(18,var(--poster-text-length,1))));font-weight:400;line-height:1.15;color:var(--tpl-accent)}
.journal-memory__date--first{left:3%;top:16.5%}
.journal-memory__date--second{right:3%;top:79.5%}
.journal-memory__copy{position:absolute;width:42%;display:flex;flex-direction:column;align-items:center;gap:1.5cqi;text-align:center}
.journal-memory__copy--first{left:4%;top:30.5%;height:17.8%}
.journal-memory__copy--second{right:4%;top:56%;height:20%}
.journal-memory__city{max-width:100%;margin:0;font-size:min(5.5cqi,calc(230cqi / max(41,var(--poster-text-length,1))));font-weight:400;line-height:1.15}
.journal-memory__description{width:100%;margin:0;font-size:min(3.6cqi,calc(245cqi / max(68,var(--poster-text-length,1))));font-weight:400;line-height:1.3}
.journal-post__photo{position:absolute;inset:0;background-size:cover;background-position:center}
.journal-post__shade{position:absolute;inset:0;background:#00000018}
.journal-post__rays{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--tpl-text);stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.journal-post__title{position:absolute;left:5%;right:5%;top:32%;height:36%;display:flex;align-items:center;justify-content:center;margin:0;font-size:min(13.5cqi,calc(900cqi / max(66,var(--poster-text-length,1))));font-weight:400;line-height:1.3;letter-spacing:-.025em;text-align:center;text-shadow:0 .15cqi .5cqi #0002}
.journal-post__handle{position:absolute;left:8%;right:8%;bottom:6.3%;font:400 min(2.4cqi,calc(130cqi / max(54,var(--poster-text-length,1))))/1.3 Inter,sans-serif;letter-spacing:.16em;text-align:center;color:var(--tpl-accent);text-shadow:0 .1cqi .4cqi #0005}

/* Photo celebration, centered quote, two-photo captions and product story. */
.occasion-day,.occasion-quote,.occasion-duet,.occasion-product{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
:is(.occasion-day,.occasion-quote,.occasion-duet,.occasion-product) [data-field]{white-space:pre-line;text-wrap:wrap;word-break:normal;overflow-wrap:break-word}
:is(.occasion-day,.occasion-quote,.occasion-duet,.occasion-product) .is-hidden{display:none!important}
.occasion-day__photo,.occasion-quote__photo,.occasion-duet__photo{position:absolute;inset:0;background-size:cover;background-position:center}
.occasion-day__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 38%,color-mix(in srgb,var(--tpl-bg) 18%,transparent) 58%,color-mix(in srgb,var(--tpl-bg) 46%,transparent) 82%,color-mix(in srgb,var(--tpl-deep) 58%,transparent) 100%)}
.occasion-day__eyebrow{position:absolute;left:6%;right:6%;top:56%;text-align:center;font:700 min(5.4cqi,calc(150cqi / max(28,var(--poster-text-length,1))))/1.1 Lora,Georgia,serif;letter-spacing:.22em;text-transform:uppercase}
.occasion-day__title{position:absolute;left:4%;right:4%;top:62.5%;height:21%;display:flex;align-items:center;justify-content:center;margin:0;font-size:min(18.5cqi,calc(220cqi / max(12,var(--poster-text-length,1))));font-weight:400;line-height:1.05;letter-spacing:-.015em;text-align:center;text-shadow:0 .15cqi .65cqi #0003}
.tpl--international-day-celebration[data-font=brush] .occasion-day__title{font-size:min(10.5cqi,calc(190cqi / max(18,var(--poster-text-length,1))))}
.occasion-day__message{position:absolute;left:7%;right:7%;top:85%;height:12%;margin:0;font:400 min(2.9cqi,calc(350cqi / max(120,var(--poster-text-length,1))))/1.4 Inter,sans-serif;text-align:center;color:var(--tpl-accent);text-shadow:0 .1cqi .5cqi #0005}
.occasion-quote__shade{position:absolute;inset:0;background:#16232324}
.occasion-quote__title{position:absolute;left:10%;right:10%;top:24%;height:37%;display:flex;align-items:center;justify-content:center;margin:0;font-size:min(7.5cqi,calc(760cqi / max(101,var(--poster-text-length,1))));font-weight:400;line-height:1.14;letter-spacing:-.018em;text-align:center;text-shadow:0 .12cqi .5cqi #0003}
.occasion-quote__name{position:absolute;left:12%;right:12%;top:64%;font:400 min(2cqi,calc(105cqi / max(52,var(--poster-text-length,1))))/1.3 Inter,sans-serif;letter-spacing:.24em;text-align:center;color:var(--tpl-accent)}
.occasion-duet{display:grid;grid-template-rows:repeat(2,minmax(0,1fr))}
.occasion-duet__panel{position:relative;overflow:hidden;min-height:0}
.occasion-duet__caption{position:absolute;left:4%;right:4%;top:50%;transform:translateY(-50%);margin:0;font-size:min(6.3cqi,calc(260cqi / max(40,var(--poster-text-length,1))));font-weight:400;line-height:1.2;text-align:center;text-shadow:0 .12cqi .5cqi #0005}
.occasion-product__brand{position:absolute;left:10%;right:10%;top:5.7%;font:700 min(3cqi,calc(150cqi / max(50,var(--poster-text-length,1))))/1.2 Inter,sans-serif;letter-spacing:.035em;text-align:center;text-transform:uppercase}
.occasion-product__photo{position:absolute;left:6.3%;top:24.9%;width:43.7%;height:47%;background-size:cover;background-position:center}
.occasion-product__title{position:absolute;left:51%;right:6.5%;top:29%;height:29%;display:flex;align-items:center;justify-content:flex-end;margin:0;font-size:min(5.6cqi,calc(530cqi / max(94,var(--poster-text-length,1))));font-weight:400;line-height:1.45;letter-spacing:.005em;text-align:right}

/* Place promotion, collage notes, fashion cards and the original brain meme. */
.launch-place,.launch-note,.launch-fashion,.launch-brain{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
:is(.launch-place,.launch-note,.launch-fashion,.launch-brain) [data-field]{white-space:pre-line;text-wrap:wrap;word-break:normal;overflow-wrap:break-word}
:is(.launch-place,.launch-note,.launch-fashion,.launch-brain) .is-hidden{display:none!important}
.launch-place__photo,.launch-fashion__backdrop{position:absolute;inset:0;background-size:cover;background-position:center}
.launch-place__fade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,color-mix(in srgb,var(--tpl-surface) 12%,transparent) 48%,color-mix(in srgb,var(--tpl-surface) 53%,transparent) 76%,color-mix(in srgb,var(--tpl-bg) 82%,transparent) 100%)}
.launch-place__badge{position:absolute;left:44.25%;top:0;width:11.5%;height:14%;box-sizing:border-box;padding:4.4cqi 2.1cqi 2cqi;background:var(--tpl-surface);border-radius:0 0 6cqi 6cqi;color:var(--tpl-text)}
.launch-place__badge svg,.launch-place__badge img{width:100%;height:100%;object-fit:contain}
.launch-place__badge svg{fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.launch-place__brand{position:absolute;left:6%;right:6%;top:72.5%;font:500 min(3.2cqi,calc(155cqi / max(48,var(--poster-text-length,1))))/1.2 Inter,sans-serif;letter-spacing:.13em;text-align:center}
.launch-place__title{position:absolute;left:4%;right:4%;top:77%;height:10%;display:flex;align-items:center;justify-content:center;margin:0;font-size:min(9.4cqi,calc(160cqi / max(17,var(--poster-text-length,1))));font-weight:400;line-height:1.05;letter-spacing:-.025em;text-align:center}
.launch-place__message{position:absolute;left:7%;right:7%;top:88%;height:9%;margin:0;font:400 min(3cqi,calc(250cqi / max(83,var(--poster-text-length,1))))/1.3 Inter,sans-serif;text-align:center;color:var(--tpl-accent)}
.launch-note__photos{position:absolute;inset:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.launch-note__photo{min-width:0;min-height:0;background-size:cover;background-position:center}
.launch-note__card{position:absolute;left:10%;right:10%;top:50%;transform:translateY(-50%);max-height:80%;box-sizing:border-box;display:flex;flex-direction:column;gap:1.9cqi;padding:3.8cqi;background:var(--tpl-surface);border-radius:4.3cqi;box-shadow:0 .6cqi 2cqi #0002}
.launch-note__header{display:flex;align-items:center;justify-content:space-between;gap:2cqi;color:var(--tpl-accent)}
.launch-note__control{max-width:46%;min-width:0;display:flex;align-items:center;gap:.8cqi}
.launch-note__control:last-child{margin-left:auto}
.launch-note__control svg{flex-shrink:0;width:2.4cqi;height:2.4cqi;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.launch-note__control span{min-width:0;font-size:min(2.05cqi,calc(85cqi / max(41,var(--poster-text-length,1))));font-weight:600;line-height:1.2}
.launch-note__body{margin:0;min-height:0;font-size:clamp(1.45cqi,calc(2.8cqi - var(--poster-text-length,1) * .0015cqi),2.35cqi);font-weight:400;line-height:1.4;letter-spacing:.005em;text-align:justify}
.launch-note__tags{font-size:min(2cqi,calc(120cqi / max(60,var(--poster-text-length,1))));font-weight:600;line-height:1.3;color:var(--tpl-accent)}
.launch-fashion__shade{position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in srgb,var(--tpl-deep) 18%,transparent) 76%,color-mix(in srgb,var(--tpl-deep) 65%,transparent) 100%)}
.launch-fashion__card{position:absolute;left:6%;width:88%;height:35%;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:2cqi;padding:2.2cqi;background:var(--tpl-surface);box-shadow:.5cqi .5cqi 0 #0002}
.launch-fashion__card--first{top:5%}
.launch-fashion__card--second{top:46%;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.launch-fashion__copy{min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:1.2cqi;padding:.5cqi;text-align:left}
.launch-fashion__card--second .launch-fashion__copy{align-items:flex-end;text-align:right}
.launch-fashion__image{min-width:0;min-height:0;background-size:cover;background-position:center 18%}
.launch-fashion__name{max-width:100%;margin:0;font-size:min(2.8cqi,calc(140cqi / max(50,var(--poster-text-length,1))));font-weight:700;line-height:1.2}
.launch-fashion__description{max-width:100%;margin:0;font-size:clamp(1.2cqi,calc(2.3cqi - var(--poster-text-length,1) * .005cqi),1.9cqi);font-weight:400;line-height:1.4}
.launch-fashion__price{max-width:100%;font-size:min(3.2cqi,calc(45cqi / max(14,var(--poster-text-length,1))));font-weight:600;font-style:italic;line-height:1.2;color:var(--tpl-accent)}
.launch-fashion__cta{position:absolute;left:10%;right:10%;top:88%;height:9%;display:flex;align-items:center;justify-content:center;font-family:"Oooh Baby",Caveat,cursive;font-size:min(9cqi,calc(260cqi / max(28,var(--poster-text-length,1))));font-weight:400;line-height:1.1;text-align:center;color:#FFFFFF;text-shadow:0 .15cqi .8cqi #0006}
.launch-brain{box-sizing:border-box;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));padding:1.6cqi}
.launch-brain__row{min-height:0;display:grid;grid-template-columns:49% 51%;padding:1cqi 0;border-bottom:.35cqi solid var(--tpl-accent)}
.launch-brain__row:last-child{border-bottom:0}
.launch-brain__visual{min-width:0;min-height:0;box-sizing:border-box;padding-right:2.2cqi}
.launch-brain__image{width:100%;height:100%;background-size:contain;background-repeat:no-repeat;background-position:center}
.launch-brain__caption{min-width:0;align-self:center;margin:0;padding:1cqi 2.2cqi;font-size:min(4.4cqi,calc(250cqi / max(54,var(--poster-text-length,1))));font-weight:700;line-height:1.18;text-align:center}

.launch-brain::after{content:"";position:absolute;left:49.032%;top:1.6cqi;bottom:1.6cqi;width:.35cqi;background:var(--tpl-accent);pointer-events:none}

/* A playful choice, sidebar quote, dictionary card and angled photo comparison. */
.perspective-choice,.perspective-sidebar,.perspective-word,.perspective-compare{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
:is(.perspective-choice,.perspective-sidebar,.perspective-word,.perspective-compare) [data-field]{white-space:pre-line;text-wrap:wrap;word-break:normal;overflow-wrap:break-word}
:is(.perspective-choice,.perspective-sidebar,.perspective-word,.perspective-compare) .is-hidden{display:none!important}
.perspective-choice__photo{position:absolute;inset:14% 0 0;background-size:contain;background-position:center bottom;background-repeat:no-repeat}
.perspective-choice__question{position:absolute;left:20%;right:20%;top:5%;height:8%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;margin:0;padding:1cqi 2cqi;background:var(--tpl-surface);border-radius:1.8cqi;font-size:min(4.1cqi,calc(170cqi / max(41,var(--poster-text-length,1))));font-weight:700;line-height:1.18;text-align:center}
.perspective-choice__option{position:absolute;box-sizing:border-box;width:31%;height:15.5%;display:flex;align-items:center;justify-content:center;padding:1.6cqi;background:var(--tpl-surface);border-radius:1.8cqi;font-size:min(3.6cqi,calc(145cqi / max(40,var(--poster-text-length,1))));font-weight:700;line-height:1.2;text-align:center}
.perspective-choice__option--left{left:2.5%;top:30%}
.perspective-choice__option--right{right:2.5%;top:28%}
.perspective-sidebar__photo{position:absolute;left:49.5%;right:0;top:0;bottom:0;background-size:cover;background-position:center}
.perspective-sidebar__title{position:absolute;left:7.5%;width:36%;top:19%;height:52%;display:flex;align-items:center;margin:0;font-size:min(5.2cqi,calc(450cqi / max(86,var(--poster-text-length,1))));font-weight:400;line-height:1.48;letter-spacing:.015em;text-align:left}
.perspective-sidebar__name{position:absolute;left:7.5%;width:36%;top:76.5%;font-size:min(2.6cqi,calc(110cqi / max(42,var(--poster-text-length,1))));font-weight:400;line-height:1.4;letter-spacing:.24em;color:var(--tpl-accent)}
.perspective-word__photo{position:absolute;inset:0;background-size:cover;background-position:center}
.perspective-word__card{position:absolute;left:2.5%;bottom:3.2%;width:64%;max-height:82%;box-sizing:border-box;display:flex;flex-direction:column;gap:1.4cqi;padding:3.5cqi 3.2cqi;background:color-mix(in srgb,var(--tpl-bg) 87%,transparent);backdrop-filter:blur(.6cqi);border-radius:3.8cqi}
.perspective-word__title{margin:0;font-size:min(9cqi,calc(110cqi / max(12,var(--poster-text-length,1))));font-weight:400;line-height:1.08;letter-spacing:-.035em}
.perspective-word__pronunciation{font:400 min(2.8cqi,calc(130cqi / max(46,var(--poster-text-length,1))))/1.3 Inter,sans-serif;color:var(--tpl-accent)}
.perspective-word__meaning{margin:0;font-family:Inter,sans-serif;font-size:clamp(1.6cqi,calc(2.8cqi - var(--poster-text-length,1) * .003cqi),2.45cqi);font-weight:400;line-height:1.45}
.perspective-word__note{margin:0;font-family:Inter,sans-serif;font-size:clamp(1.5cqi,calc(2.5cqi - var(--poster-text-length,1) * .003cqi),2.25cqi);font-weight:400;line-height:1.45;color:var(--tpl-accent)}
.perspective-compare__photo{position:absolute;inset:0;background-size:cover;background-position:center bottom}
.perspective-compare__photo--before{right:auto;width:56.2%;clip-path:polygon(0 0,100% 0,75.9786% 100%,0 100%)}
.perspective-compare__photo--after{left:42.7%;clip-path:polygon(23.5602% 0,100% 0,100% 100%,0 100%)}
.perspective-compare__divider{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--tpl-accent);stroke-width:3;opacity:.9}
.perspective-compare__label{position:absolute;top:7%;width:13%;height:8%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:.5cqi 1cqi;border-radius:1.2cqi;font-size:min(3cqi,calc(45cqi / max(15,var(--poster-text-length,1))));font-weight:700;line-height:1;text-transform:uppercase;text-align:center;text-shadow:0 .1cqi .35cqi #0004}
.perspective-compare__label--before{left:18.5%;background:color-mix(in srgb,var(--tpl-bg) 58%,transparent)}
.perspective-compare__label--after{left:68.5%;background:color-mix(in srgb,var(--tpl-surface) 58%,transparent)}

/* Final supplied flyer and reaction memes. All dimensions follow the social canvas. */
.finale-flyer,.finale-expect,.finale-reaction,.finale-distracted{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
:is(.finale-flyer,.finale-expect,.finale-reaction,.finale-distracted) [data-field]{margin:0;white-space:pre-line;text-wrap:wrap;overflow-wrap:break-word;word-break:normal}
:is(.finale-flyer,.finale-expect,.finale-reaction,.finale-distracted) .is-hidden{display:none!important}
.finale-flyer__photo{position:absolute;inset:0 0 51%;background-size:cover;background-position:center}
.finale-flyer__copy{position:absolute;inset:53% 5.3% 4%;display:flex;flex-direction:column;gap:1.6cqi}
.finale-flyer__brand{font:700 min(2.65cqi,calc(135cqi / max(50,var(--poster-text-length,1))))/1.3 Inter,sans-serif;letter-spacing:.17em}
.finale-flyer__title{font-size:min(9.1cqi,calc(330cqi / max(36,var(--poster-text-length,1))));line-height:1.04;font-weight:400;letter-spacing:-.02em}
.finale-flyer__subtitle{font:650 min(3cqi,calc(210cqi / max(70,var(--poster-text-length,1))))/1.35 Inter,sans-serif;max-width:92%}
.finale-flyer__announcement{padding-top:1cqi;font:700 min(2.2cqi,calc(150cqi / max(68,var(--poster-text-length,1))))/1.4 Inter,sans-serif;letter-spacing:.1em;max-width:85%;color:var(--tpl-accent)}
.finale-flyer__details{font:400 clamp(1.65cqi,calc(2.65cqi - var(--poster-text-length,1) * .003cqi),2.4cqi)/1.5 Inter,sans-serif;max-width:89%}
.finale-flyer__website{margin-top:auto!important;font:500 min(1.9cqi,calc(110cqi / max(57,var(--poster-text-length,1))))/1.3 Inter,sans-serif;color:var(--tpl-accent)}
.finale-expect__photo{position:absolute;left:0;right:0;height:50%;background-size:cover;background-position:center}
.finale-expect__photo--top{top:0}.finale-expect__photo--bottom{bottom:0}
.finale-expect__label{position:absolute;left:50%;transform:translateX(-50%);max-width:80%;padding:.8cqi 1.6cqi;border-radius:1.7cqi;background:var(--tpl-surface);color:var(--tpl-text);font-size:min(4.4cqi,calc(110cqi / max(25,var(--poster-text-length,1))));font-weight:700;line-height:1.2;text-align:center}
.finale-expect__label--top{top:8.3%}.finale-expect__label--bottom{bottom:8.3%}
.finale-expect__subject{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:max-content;max-width:86%;box-sizing:border-box;padding:1.2cqi 2cqi;border-radius:2cqi;background:var(--tpl-bg);color:var(--tpl-accent);font-size:min(4.2cqi,calc(260cqi / max(62,var(--poster-text-length,1))));font-weight:700;line-height:1.2;text-align:center}
.finale-reaction__photo,.finale-distracted__photo{position:absolute;inset:0;background-size:cover;background-position:center}
.finale-reaction__caption{position:absolute;left:60%;right:4%;top:12%;bottom:12%;display:flex;align-items:center;font-size:clamp(2.2cqi,calc(5.3cqi - var(--poster-text-length,1) * .019cqi),4.2cqi);font-weight:700;line-height:1.28;text-align:left}
.finale-reaction--winning .finale-reaction__caption{color:var(--tpl-accent)}
.finale-distracted__label{position:absolute;box-sizing:border-box;padding:.6cqi .5cqi;text-align:center;font-size:min(3cqi,calc(115cqi / max(38,var(--poster-text-length,1))));font-weight:800;line-height:1.18;color:var(--tpl-text);text-shadow:0 .15cqi .3cqi #000,0 -.1cqi .2cqi #000,-.12cqi 0 .2cqi #000,.12cqi 0 .2cqi #000}
.finale-distracted__label--left{left:8%;width:32%;top:66%}.finale-distracted__label--middle{left:52%;width:18%;top:43%}.finale-distracted__label--right{left:72%;width:27%;top:58%}

/* Portrait comparison, service features and arched collection. */
.showcase-portrait,.showcase-services,.showcase-fashion{position:relative;width:100%;height:100%;overflow:hidden;background:var(--tpl-bg);color:var(--tpl-text);font-family:var(--tpl-font)}
:is(.showcase-portrait,.showcase-services,.showcase-fashion) [data-field]{margin:0;white-space:pre-line;text-wrap:wrap;word-break:normal;overflow-wrap:break-word}
:is(.showcase-portrait,.showcase-services,.showcase-fashion) .is-hidden{display:none!important}
.showcase-portrait__decor,.showcase-portrait__divider{position:absolute;inset:0;width:100%;height:100%;fill:none}
.showcase-portrait__blob{fill:var(--tpl-surface)}
.showcase-portrait__hatch{stroke:var(--tpl-accent);stroke-width:3;stroke-linecap:round;opacity:.8}
.showcase-portrait__photo{position:absolute;background-size:cover;background-position:center}
.showcase-portrait__photo--before{left:7.4%;top:12%;width:50%;height:59.6%;clip-path:polygon(0 0,100% 0,74% 100%,0 100%)}
.showcase-portrait__photo--after{left:41.5%;right:6%;top:19.5%;height:62.5%;clip-path:polygon(27% 0,100% 0,100% 100%,0 100%)}
.showcase-portrait__divider{stroke:var(--tpl-accent);stroke-width:6;stroke-linecap:round}
.showcase-portrait__label{position:absolute;box-sizing:border-box;width:32.5%;height:6.5%;display:flex;align-items:center;justify-content:center;padding:.6cqi 1.5cqi;background:var(--tpl-accent);color:var(--tpl-bg);font-size:min(3.2cqi,calc(90cqi / max(28,var(--poster-text-length,1))));font-weight:400;line-height:1.15;text-align:center}
.showcase-portrait__label--before{left:7.4%;top:12%}.showcase-portrait__label--after{right:6%;top:75.5%}
.showcase-portrait__caption{position:absolute;font:400 min(2.65cqi,calc(240cqi / max(90,var(--poster-text-length,1))))/1.4 Inter,sans-serif;text-align:center}
.showcase-portrait__caption--before{left:8.5%;width:32%;top:73.6%;height:14%}.showcase-portrait__caption--after{right:6%;width:33%;top:83.4%;height:11%}
.showcase-portrait__handle{position:absolute;left:16%;right:16%;bottom:3.7%;font:400 min(1.8cqi,calc(95cqi / max(52,var(--poster-text-length,1))))/1.3 Inter,sans-serif;color:var(--tpl-accent);letter-spacing:.14em;text-align:center}
.showcase-services__plane{position:absolute;inset:0 0 55%;background:var(--tpl-surface);clip-path:polygon(0 0,69% 0,100% 100%,0 100%)}
.showcase-services__plane--light{inset:0;background:var(--tpl-accent);clip-path:polygon(49% 4.7%,64% 4.7%,52% 15.4%,70% 32%,50% 45%,5% 45%);opacity:.5}
.showcase-services__brand{position:absolute;left:10%;top:9.8%;width:42%;display:flex;align-items:center;gap:1.3cqi}
.showcase-services__logo{width:4.3cqi;height:4cqi;flex-shrink:0;display:flex;align-items:center;justify-content:center}.showcase-services__logo :is(svg,img){width:100%;height:100%;object-fit:contain}
.showcase-services__brand-name{font-size:min(2.8cqi,calc(120cqi / max(42,var(--poster-text-length,1))));font-weight:700;line-height:1.15}
.showcase-services__title{position:absolute;left:9.8%;top:20%;width:42%;height:17.5%;font-size:min(5.7cqi,calc(250cqi / max(43,var(--poster-text-length,1))));font-weight:700;line-height:1.04;letter-spacing:-.025em}
.showcase-services__subtitle{position:absolute;left:9.8%;top:39.2%;width:39%;font-size:min(2.8cqi,calc(140cqi / max(50,var(--poster-text-length,1))));font-weight:600;font-style:italic;line-height:1.2}
.showcase-services__connector{position:absolute;left:46%;top:40.7%;width:9%;border-top:.3cqi dotted currentColor}.showcase-services__connector::before{content:"";position:absolute;left:-.4cqi;top:-.65cqi;width:1cqi;height:1cqi;border-radius:50%;background:currentColor}
.showcase-services__frame{position:absolute;left:51%;top:17.4%;width:40.5%;height:53.6%;padding:.5cqi;border-radius:4.3cqi;background:var(--tpl-text);transform:rotate(5deg);box-shadow:0 5cqi 2cqi -4cqi #0005}
.showcase-services__photo{width:100%;height:100%;border-radius:3.8cqi;background-size:cover;background-position:center}
.showcase-services__features{position:absolute;left:9.8%;top:47.2%;width:46%;height:30.5%;display:flex;flex-direction:column;gap:2cqi}
.showcase-services__feature{position:relative;min-height:6.2cqi;box-sizing:border-box;padding:.9cqi 1.5cqi .9cqi 6.4cqi;display:flex;align-items:center;background:var(--tpl-surface);box-shadow:0 .8cqi .7cqi -.4cqi #0004;font-size:min(2.2cqi,calc(135cqi / max(61,var(--poster-text-length,1))));font-weight:400;line-height:1.2}
.showcase-services__feature::before{content:"";position:absolute;left:1.9cqi;top:50%;width:2.3cqi;height:1.25cqi;border-left:.6cqi solid currentColor;border-bottom:.6cqi solid currentColor;transform:translateY(-70%) rotate(-45deg)}
.showcase-services__footer{position:absolute;left:0;right:0;top:83.8%;height:8.4%;padding:1cqi 10%;display:flex;align-items:center;justify-content:space-between;gap:3cqi;background:var(--tpl-surface)}
.showcase-services__cta{max-width:53%;font-size:min(3cqi,calc(170cqi / max(56,var(--poster-text-length,1))));font-weight:700;line-height:1.15}
.showcase-services__contact{width:39%;text-align:right;display:flex;flex-direction:column;gap:.25cqi}
.showcase-services__contact [data-field]{font-size:min(1.9cqi,calc(90cqi / max(47,var(--poster-text-length,1))));line-height:1.2}
.showcase-fashion{background:linear-gradient(90deg,var(--tpl-bg),var(--tpl-surface) 78%)}
.showcase-fashion__paper{position:absolute;left:10%;top:10%;right:0;bottom:10%;background:var(--tpl-surface)}
.showcase-fashion__photo{position:absolute;left:39.5%;top:18.3%;width:50.5%;height:55.3%;border-radius:50% 50% 0 0;background-size:cover;background-position:center 35%}
.showcase-fashion__title{position:absolute;left:-1%;top:39%;width:54%;height:20%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;transform:rotate(-90deg);font-size:min(9.1cqi,calc(365cqi / max(40,var(--poster-text-length,1))));font-weight:400;line-height:.98;text-align:center;text-transform:uppercase;letter-spacing:.015em}
.showcase-fashion__copy{position:absolute;left:40%;right:10%;top:77.3%;bottom:12%;display:flex;flex-direction:column;align-items:flex-end;gap:.65cqi;text-align:right}
.showcase-fashion__offer{font-size:min(3.5cqi,calc(150cqi / max(42,var(--poster-text-length,1))));font-weight:600;line-height:1.15}
.showcase-fashion__details{font-size:min(2.3cqi,calc(130cqi / max(56,var(--poster-text-length,1))));font-weight:500;line-height:1.2}
.showcase-fashion__website{font:400 min(1.6cqi,calc(90cqi / max(56,var(--poster-text-length,1))))/1.2 Inter,sans-serif;color:var(--tpl-accent)}
