/* Reference layer: add .tutcra-story-page wrapper; load after parent styles.
   These .tc-story-* component classes are examples to map to actual markup.
   Iframe styles require the separate variable mapping in the Markdown brief. */
.tutcra-story-page {
  --tc-paper:#fffaf3; --tc-surface:#fff; --tc-ink:#28223b;
  --tc-muted:#61596c; --tc-purple:#6342b5; --tc-purple-hover:#513395;
  --tc-line:#e6dce9; --tc-selected:#f3ecff;
  box-sizing:border-box; width:100%; max-width:1200px; margin:0 auto;
  padding:clamp(16px,3vw,36px); background:var(--tc-paper);
  color:var(--tc-ink); font:16px/1.55 Arial,Helvetica,sans-serif;
}
.tutcra-story-page *, .tutcra-story-page *::before,
.tutcra-story-page *::after { box-sizing:border-box; }
.tutcra-story-page .tc-story-intro {
  padding:clamp(20px,4vw,40px); margin-bottom:24px; border:1px solid var(--tc-line);
  border-radius:24px; background:linear-gradient(120deg,#f5edff,#fff5ea);
}
.tutcra-story-page h1 { font:800 clamp(30px,4vw,48px)/1.08 Arial,Helvetica,sans-serif; letter-spacing:-.035em; margin:12px 0; color:var(--tc-ink); }
.tutcra-story-page .tc-story-panel { min-width:0; padding:20px; border:1px solid var(--tc-line); border-radius:16px; background:var(--tc-surface); }
.tutcra-story-page .tc-story-muted { color:var(--tc-muted); }
.tutcra-story-page .tc-story-badge { display:inline-block; padding:5px 11px; border-radius:99px; background:#fce2d4; color:#663b39; font-size:13px; font-weight:700; }
.tutcra-story-page .tc-story-primary { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 20px; border:0; border-radius:10px; background:var(--tc-purple); color:#fff; font:700 16px/1.5 Arial,Helvetica,sans-serif; text-decoration:none; cursor:pointer; }
.tutcra-story-page .tc-story-primary:hover:not(:disabled) { background:var(--tc-purple-hover); }
.tutcra-story-page .tc-story-primary:disabled { background:#e6dce9; color:#61596c; cursor:not-allowed; }
.tutcra-story-page :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid var(--tc-ink); outline-offset:3px; }
.tutcra-story-page iframe { display:block; width:100%; max-width:100%; border:0; }
@media(max-width:600px) { .tutcra-story-page { padding:12px; } .tutcra-story-page .tc-story-panel { padding:16px; } }

.tutcra-story-page h2 {font-size:24px;line-height:1.2;color:var(--tc-ink);margin:0 0 16px;}
.tutcra-story-page .tc-story-intro p {max-width:62ch;margin:12px 0 0;color:var(--tc-muted);}
.tutcra-story-page .tc-story-order {margin-top:24px;}
.tutcra-story-page .tc-story-tiers {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px;padding:0;border:0;min-width:0;}
.tutcra-story-page .tc-story-tier {display:flex;align-items:flex-start;gap:10px;padding:16px;border:2px solid var(--tc-line);border-radius:14px;cursor:pointer;background:white;min-width:0;}
.tutcra-story-page .tc-story-tier:has(input:checked) {background:var(--tc-selected);border-color:var(--tc-purple);}
.tutcra-story-page .tc-story-tier input {accent-color:var(--tc-purple);margin:5px 0;flex:none;width:20px;height:20px;}
.tutcra-story-page .tc-story-tier span span,.tutcra-story-page .tc-story-tier strong,.tutcra-story-page .tc-story-tier b,.tutcra-story-page .tc-story-tier small {display:block;}
.tutcra-story-page .tc-story-tier b {font-size:24px;margin-top:10px;}
.tutcra-story-page .tc-story-tier small {font-size:12px;color:var(--tc-muted);}
.tutcra-story-page .tc-story-note {display:grid;gap:6px;font-size:14px;font-weight:600;}
.tutcra-story-page textarea {width:100%;min-height:88px;background:white;color:var(--tc-ink);font:16px/1.55 Arial,Helvetica,sans-serif;padding:12px;border:1px solid var(--tc-line);border-radius:10px;resize:vertical;}
.tutcra-story-page .tc-story-cart-row {display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:20px;flex-wrap:wrap;}
.tutcra-story-page #tutcra-story-price {font-size:28px;}
.tutcra-story-page #tutcra-story-shipping {font-size:14px;margin:0;}
.tutcra-story-page #tutcra-story-message {font-size:14px;}
.tutcra-story-page .tc-story-sr {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
@media(max-width:700px){.tutcra-story-page .tc-story-tiers{grid-template-columns:1fr}.tutcra-story-page .tc-story-primary{width:100%}}
.tc-story-showcase{margin:28px 0 36px}.tc-story-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tc-story-showcase figure{margin:0;min-width:0;background:white;border:1px solid var(--tc-line);border-radius:16px;overflow:hidden}.tc-story-showcase figure img{display:block;width:100%;height:240px;object-fit:contain;background:#f5f0e8}.tc-story-showcase figcaption{padding:16px;font-size:14px}.tc-story-showcase figcaption strong{display:block;font-size:18px;margin-bottom:6px}.tc-story-samples{margin-top:20px}.tc-story-samples summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:700;color:var(--tc-purple)}.tc-story-page-samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tc-story-page-samples img{display:block;width:100%;height:auto;min-width:0;border:1px solid var(--tc-line);border-radius:8px}.tc-story-fulfilment{margin-top:24px}.tc-story-fulfilment li{margin-bottom:12px}.tc-story-fulfilment p{color:var(--tc-muted);font-size:14px}
@media(max-width:700px){.tc-story-showcase-grid{grid-template-columns:1fr}.tc-story-showcase figure img{height:260px}.tc-story-page-samples{grid-template-columns:1fr}}
.tc-story-species{margin:28px 0}.tc-story-species-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tc-story-species figure{margin:0;text-align:center;background:white;border:1px solid var(--tc-line);border-radius:16px;padding:12px}.tc-story-species img{width:100%;height:180px;object-fit:contain}.tc-story-species figcaption{font-weight:700}.tc-story-species p{font-size:14px;color:var(--tc-muted)}@media(max-width:500px){.tc-story-species-grid{gap:8px}.tc-story-species figure{padding:6px}.tc-story-species img{height:120px}}
.tc-story-final-summary{background:var(--tc-selected);padding:16px;border-radius:12px;margin:0 0 20px}.tc-story-final-summary h3{font-size:18px;margin:0 0 8px}.tc-story-final-summary p{white-space:pre-line;margin:0;overflow-wrap:anywhere}

/* Story Studio photographic direction: cream, lilac and soft studio light. */
.tutcra-story-page .tc-story-intro{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:24px;padding:clamp(20px,3vw,36px);background:#f5eee6;overflow:hidden}
.tutcra-story-page .tc-story-intro-copy{min-width:0}.tutcra-story-page .tc-story-intro h1{font-size:clamp(30px,3.5vw,46px);line-height:1.12}
.tutcra-story-page .tc-story-intro-copy>.tc-story-primary{margin-top:22px}
.tutcra-story-page .tc-story-intro .tc-story-intro-note{font-size:13px;margin-top:12px}
.tutcra-story-page .tc-story-hero{margin:0;min-width:0}.tutcra-story-page .tc-story-hero img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:18px}
.tutcra-story-page .tc-story-hero figcaption{font-size:12px;line-height:1.5;color:var(--tc-muted);padding:9px 4px 0}
.tutcra-story-page .tc-story-species figure{padding:0;overflow:hidden;background:#f4eee8}.tutcra-story-page .tc-story-species img{display:block;height:auto;aspect-ratio:1;object-fit:cover}.tutcra-story-page .tc-story-species figcaption{padding:12px;background:#fffaf3;font-size:18px}
.tutcra-story-page .tc-story-showcase figure:first-child img{object-fit:cover}
.tutcra-story-page #tutcra-story-frame{scroll-margin-top:24px}
@media(max-width:760px){.tutcra-story-page .tc-story-intro{grid-template-columns:1fr;gap:22px}.tutcra-story-page .tc-story-intro h1{font-size:36px}.tutcra-story-page .tc-story-intro-copy>.tc-story-primary{width:auto}.tutcra-story-page .tc-story-species figcaption{font-size:15px}}

/* 0.7 design finish: set inclusions, gallery rhythm and mobile polish. */
.tutcra-story-page{overflow-x:clip}
.tutcra-story-page .tc-story-hero figcaption{font-size:13px}
.tc-story-showcase figure img{height:auto;aspect-ratio:4/3;object-fit:cover;background:#f4eee8}
.tc-story-showcase figure:first-child img{object-position:center 14%}
.tc-story-showcase figcaption{font-size:15px;line-height:1.5}
.tutcra-story-page .tc-story-tier{padding:14px}
.tutcra-story-page .tc-story-tier-body{flex:1;min-width:0;display:block}
.tutcra-story-page .tc-story-tier span.tc-story-tier-art{display:flex;gap:6px;height:132px;margin:0 0 14px;border-radius:10px;overflow:hidden;background:#f4eee8}
.tc-story-tier-art img{display:block;flex:1 1 0;min-width:0;width:100%;height:100%;object-fit:cover}
.tc-art-kit img:first-child{flex:1.4 1 0}
.tc-art-digital img{object-position:top}
.tutcra-story-page .tc-story-tier span.tc-story-tier-sub{margin:3px 0 0;font-size:14px;color:var(--tc-muted)}
.tutcra-story-page .tc-story-tier b{margin-top:8px}
.tc-story-includes{list-style:none;margin:12px 0 10px;padding:12px 0 0;border-top:1px dashed var(--tc-line);display:grid;gap:7px;font-size:14px;line-height:1.35}
.tc-story-includes li{position:relative;padding-left:27px}
.tc-story-includes li::before{content:"";position:absolute;left:0;top:0;width:19px;height:19px;border-radius:50%;text-align:center;font:800 12px/19px Arial,Helvetica,sans-serif}
.tc-story-includes li.in::before{content:"\2713";background:var(--tc-purple);color:#fff}
.tc-story-includes li.out{color:#6f6679}
.tc-story-includes li.out::before{content:"\2013";background:#eee8f1;color:#6f6679}
.tutcra-story-page .tc-story-tier small{font-size:13px}
.tutcra-story-page .tc-story-species figcaption{font-size:18px;min-height:44px;display:flex;align-items:center;justify-content:center}
@media(max-width:860px){
 .tutcra-story-page .tc-story-tiers{grid-template-columns:1fr}
 .tutcra-story-page .tc-story-tier-body{display:grid;grid-template-columns:128px minmax(0,1fr);column-gap:14px;align-items:start}
 .tutcra-story-page .tc-story-tier span.tc-story-tier-art{grid-column:1;grid-row:1/span 5;height:128px;margin:0}
 .tutcra-story-page .tc-story-tier-body>*:not(.tc-story-tier-art){grid-column:2}
 .tc-story-includes{margin:10px 0 8px;padding-top:10px}
}
@media(max-width:560px){
 .tutcra-story-page{padding:12px}
 .tutcra-story-page .tc-story-intro{padding:18px;border-radius:20px;gap:18px}
 .tutcra-story-page .tc-story-intro h1{font-size:32px}
 .tutcra-story-page .tc-story-intro-copy>.tc-story-primary{width:100%}
 .tutcra-story-page h2{font-size:22px}
 .tutcra-story-page .tc-story-tier-body{display:block}
 .tutcra-story-page .tc-story-tier span.tc-story-tier-art{display:flex;height:104px;margin:0 0 12px}
 .tutcra-story-page .tc-story-species figcaption{font-size:16px;padding:8px 4px}
}
.tutcra-story-page .tc-story-note small{font-weight:400;font-size:13px}
@media(max-width:560px){.tutcra-story-page .tc-story-tier span.tc-story-tier-art{height:92px}}
.tc-art-booklet img{object-position:center 58%}.tc-art-kit img:last-child{object-position:center 60%}

/* 0.7.1 polish: rhythm, chips, selected states, price bar. */
.tutcra-story-page h2{font-size:clamp(24px,3vw,30px);letter-spacing:-.02em}
.tc-story-showcase,.tc-story-species{margin:44px 0}
.tc-story-showcase>p{margin:-6px 0 20px;color:var(--tc-muted)}
.tutcra-story-page .tc-story-hero img{box-shadow:0 26px 40px -30px rgba(40,34,59,.5)}
.tc-story-showcase figure,.tutcra-story-page .tc-story-species figure{border-color:#eadfef;box-shadow:0 18px 34px -26px rgba(99,66,181,.45)}
.tc-story-showcase figcaption strong{font-size:19px;letter-spacing:-.01em}
.tc-story-chip{display:inline-block;margin:0 0 8px;padding:3px 10px;border-radius:99px;background:var(--tc-selected);color:#513395;font-size:12px;font-weight:700;line-height:1.5}
@media(prefers-reduced-motion:no-preference){.tc-story-showcase figure,.tutcra-story-page .tc-story-tier{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.tc-story-showcase figure:hover{transform:translateY(-3px)}}
.tutcra-story-page .tc-story-tier{position:relative}
.tutcra-story-page .tc-story-tier:hover{border-color:#c9b6ee}
.tutcra-story-page .tc-story-tier:has(input:checked){box-shadow:0 18px 32px -24px rgba(99,66,181,.6)}
.tutcra-story-page .tc-story-tier:has(input:focus-visible){outline:3px solid var(--tc-ink);outline-offset:3px}
.tutcra-story-page .tc-story-tier b{color:var(--tc-purple)}
.tutcra-story-page .tc-story-tier span.tc-story-tier-art{position:relative}
.tc-story-tier-art::before{position:absolute;left:8px;bottom:8px;z-index:1;padding:2px 9px;border-radius:99px;background:rgba(255,250,243,.94);color:#28223b;font:700 12px/1.6 Arial,Helvetica,sans-serif}
.tc-art-digital::before{content:"PDF"}.tc-art-booklet::before{content:"Printed booklet"}.tc-art-kit::before{content:"Card + booklet"}
.tutcra-story-page .tc-story-tier:has(input:checked) .tc-story-tier-art::after{content:"Selected";position:absolute;right:8px;top:8px;z-index:1;padding:2px 10px;border-radius:99px;background:var(--tc-purple);color:#fff;font:700 12px/1.6 Arial,Helvetica,sans-serif}
.tutcra-story-page .tc-story-cart-row{padding:16px 18px;border:1px solid var(--tc-line);border-radius:14px;background:#fbf8ff}
.tutcra-story-page .tc-story-order>h2{margin-bottom:14px}
@media(max-width:560px){.tc-story-showcase,.tc-story-species{margin:34px 0}.tc-story-tier-art::before{font-size:11px}.tutcra-story-page .tc-story-cart-row{padding:14px}}
