/* Local editorial direction: one unapproved concept image, never the account gallery. */
:root {
  --ink: #252a27;
  --muted: #666a63;
  --paper: #f6f2eb;
  --card: #fffdfa;
  --line: #ded7cb;
  --green: #a9533d;
  --green-dark: #833d2c;
  --green-pale: #f7e8dd;
  --shadow: 0 18px 48px rgba(55, 39, 28, .08);
}
body { background: var(--paper); }
.site-header { position: sticky; top: 0; z-index: 30; width: min(1400px, calc(100% - 64px)); height: 76px; background: #f8f4ed; border: 1px solid rgba(255,255,255,.68); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 0 12px 30px rgba(34,34,28,.055); }
.brand-mark { border-radius: 50%; background: #252a27; transform: none; }
.header-nav a, .launch-state { color: #535a54; }
.account-trigger { border: 0; border-radius: 6px; background: #eee4d9; }
main { width: min(1400px, calc(100% - 64px)); }
footer { width: min(1400px, calc(100% - 64px)); }

.hero { position: relative; display: block; min-height: min(720px, 66vw); margin: 0; padding: 0; overflow: hidden; background: #3e4740; }
.hero-court-graphic { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 74% 16%, rgba(255,217,157,.78), transparent 23%), linear-gradient(180deg, #a9b7aa 0%, #d1b89a 43%, #5f7869 43.4%, #29443f 100%); }
.hero-court-graphic::before { content: ""; position: absolute; inset: 39% 0 auto; height: 24%; background: repeating-linear-gradient(90deg, #3f5b4f 0 32px, #496254 32px 49px, #395448 49px 67px); filter: blur(12px); opacity: .7; }
.hero-court-graphic::after { content: ""; position: absolute; inset: 51% 0 0; background: linear-gradient(180deg, transparent, rgba(14,42,39,.7)); }
.hero-court-plane { position: absolute; z-index: 1; right: 7%; top: 47%; width: 61%; height: 52%; box-sizing: border-box; border: 8px solid #ebe5cf; background: linear-gradient(90deg, #456b74 0 49.5%, #d59b75 50% 100%); box-shadow: 26px 30px 48px rgba(10,28,29,.45), inset 0 0 0 2px rgba(255,255,255,.8); transform: perspective(780px) rotateX(48deg) rotateZ(-12deg); }
.hero-court-plane::before { content: ""; position: absolute; inset: 12%; border: 3px solid rgba(255,255,255,.9); background: linear-gradient(90deg, transparent calc(50% - 2px), rgba(255,255,255,.93) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)); }
.hero-court-plane::after { content: ""; position: absolute; left: 27%; right: 27%; top: 12%; bottom: 12%; border-left: 3px solid rgba(255,255,255,.82); border-right: 3px solid rgba(255,255,255,.82); }
.hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero-cover:not([src]) { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 29, 25, .84) 0%, rgba(25, 29, 25, .56) 31%, rgba(25, 29, 25, .12) 68%, rgba(25, 29, 25, .04) 100%), linear-gradient(0deg, rgba(25, 29, 25, .38), transparent 33%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; width: min(580px, 52%); padding: clamp(92px, 10vw, 154px) 0 100px clamp(42px, 6vw, 88px); color: #fff; }
.hero .eyebrow { color: #f1e4d5; font-size: 11px; letter-spacing: .18em; }
.hero .eyebrow-line { background: #e9d4be; }
.hero h1 { max-width: none; color: #fff; font: 600 clamp(68px, 7vw, 110px)/1.12 Georgia, "Songti SC", "Noto Serif CJK SC", serif; letter-spacing: -.075em; }
.hero h1 em { color: #f5e9dc; }
.hero-lead { max-width: 390px; margin-top: 24px; color: #f6f1e9; font-size: 17px; line-height: 1.9; }
.hero-actions { width: fit-content; margin-top: 38px; padding: 8px 12px 8px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(27,34,29,.48); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.hero-cta { border-radius: 4px; background: #fffaf3; color: #403229; font-size: 14px; }
.hero-cta:hover { background: #f3ddca; color: #403229; }
.hero-link { color: #f8eee2; border-bottom-color: rgba(255,255,255,.75); }
.hero-link:hover { color: #fff; }
.hero-credit { position: absolute; z-index: 1; right: 20px; bottom: 17px; margin: 0; padding: 9px 12px; color: #fff9f2; background: rgba(30,35,30,.72); border: 1px solid rgba(255,255,255,.27); border-radius: 5px; font-size: 11px; letter-spacing: .05em; }

.inspiration-section { margin: 0; padding: 90px 0 100px; border: 0; }
.inspiration-heading { align-items: end; }
.inspiration-heading h2, .workspace-intro h2 { font-size: clamp(38px, 4.2vw, 62px); line-height: 1.16; }
.inspiration-heading > p { width: 250px; margin: 0 0 7px; color: #77756e; font-size: 13px; line-height: 1.8; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.story-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fffdfa; color: var(--ink); text-decoration: none; border: 1px solid #e6dfd4; transition: transform .2s, box-shadow .2s; }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story-card:focus-visible { outline: 3px solid #ad6c51; outline-offset: 3px; }
.story-number { position: absolute; z-index: 1; left: 16px; top: 15px; display: grid; place-items: center; width: 36px; height: 36px; background: rgba(255,253,249,.94); border: 1px solid rgba(255,255,255,.55); color: #8a4734; font: 600 14px Georgia, serif; }
.story-art { position: relative; display: block; height: clamp(215px, 23vw, 330px); overflow: hidden; }
.story-art-plan { background: linear-gradient(145deg, #d7cab9 0%, #eee4d7 48%, #c9b7a4 100%); }
.story-art-plan::before { content: ""; position: absolute; left: 23%; top: 10%; width: 53%; height: 77%; transform: perspective(530px) rotateX(21deg) rotateZ(-27deg); background: linear-gradient(90deg, #425d63 0 50%, #bd795f 50%); border: 10px solid #f9f1e5; box-shadow: 18px 20px 0 rgba(82,57,43,.16), 25px 28px 25px rgba(82,57,43,.15); }
.story-art-plan::after { content: ""; position: absolute; left: 34%; top: 40%; width: 38%; height: 1px; transform: rotate(-27deg); border-top: 3px solid rgba(255,255,255,.9); }
.story-art-scene { background: radial-gradient(circle at 74% 21%, #f1d6b2, transparent 24%), linear-gradient(160deg, #b4c2b0 0 48%, #395b5a 49% 68%, #c08362 68%); }
.story-art-scene::after { content: ""; position: absolute; left: 17%; top: 43%; width: 68%; height: 43%; border: 5px solid rgba(255,255,255,.9); transform: perspective(350px) rotateX(42deg) rotateZ(-13deg); box-shadow: 10px 14px 20px rgba(12,45,45,.3); }
.story-art-site { background: linear-gradient(135deg, #cbb8a6, #827d70); }
.story-art-site::before { content: ""; position: absolute; inset: 12% 9%; background: linear-gradient(125deg, transparent 28%, rgba(255,255,255,.15) 29% 32%, transparent 33%), repeating-linear-gradient(0deg, transparent 0 42px, rgba(255,255,255,.13) 43px 44px); border: 2px dashed rgba(255,255,255,.78); transform: perspective(400px) rotateX(18deg); }
.story-art-site i { position: absolute; left: calc(50% - 29px); top: calc(50% - 29px); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fffdfa; color: #96513c; font: normal 32px/1 sans-serif; }
.story-copy { display: block; padding: 22px 22px 25px; }
.story-copy b { display: block; font: 600 23px/1.25 Georgia, "Songti SC", serif; letter-spacing: -.03em; }
.story-copy small { display: block; margin-top: 9px; color: #74746e; font-size: 13px; line-height: 1.6; }
.story-copy em { display: block; margin-top: 25px; color: var(--green-dark); font-size: 12px; font-weight: 750; font-style: normal; }
.showcase-disclaimer { margin-top: 20px; font-size: 11px; }

.workspace { max-width: none; padding: 78px 0 55px; border-top: 1px solid #ddd5c9; }
.workspace-intro { max-width: 850px; margin-bottom: 32px; }
.workspace-intro p:last-child { max-width: 800px; font-size: 15px; }
.form-card { display: grid; grid-template-columns: minmax(290px, .42fr) minmax(0, 1fr); column-gap: clamp(30px, 4vw, 64px); align-items: start; padding: clamp(26px, 3.7vw, 54px); border-radius: 5px; box-shadow: none; }
.form-card > .section-heading { grid-column: 1; grid-row: 1; display: block; }
.form-card > .section-heading h2 { max-width: none; margin: 4px 0 13px; font-size: 29px; }
.form-card > .mode-tabs { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 1fr; gap: 0; margin: 16px 0 0; }
.mode-tab { position: relative; min-height: 0; padding: 20px 0; border: 0; border-bottom: 1px solid #e4dbcf; border-radius: 0; background: #fffdfa; box-shadow: none; }
.mode-tab::after { content: ""; position: absolute; left: -13px; top: 22px; bottom: 22px; width: 3px; background: var(--green); transform: scaleY(0); transform-origin: center; transition: transform .28s ease; }
.mode-tab.active::after { transform: scaleY(1); }
.mode-tab::before { position: absolute; top: 22px; left: 0; color: #ae806d; font: 600 14px Georgia, serif; }
.mode-tab[data-mode="standard"]::before { content: "01"; }
.mode-tab[data-mode="ai-scene"]::before { content: "02"; }
.mode-tab[data-mode="composite"]::before { content: "03"; }
.mode-tab.active { border-color: var(--green); background: #fffdfa; box-shadow: none; }
.mode-tab:hover { transform: none; background: #fcf6ef; }
.mode-tab-top { margin-left: 40px; }
.mode-photo-note { min-height: 0; padding: 0; color: #985944; background: transparent; font-size: 11px; }
.mode-photo-required { color: #906d4d; }
.mode-tab-content { margin-left: 40px; padding: 8px 0 12px; }
.mode-tab-content b { font-size: 20px; }
.mode-tab-content > span { font-size: 12px; }
.mode-tab-bottom { margin-left: 40px; padding: 9px 0 0; border-top: 0; }
.mode-tab .mode-technical, .mode-availability { font-size: 11px; }
.form-card > .task-form { grid-column: 2; grid-row: 1 / span 4; padding: 0; }
.form-card > .customer-note { grid-column: 1; grid-row: 3; margin-top: 30px; border-radius: 3px; }
.ai-first-card, .ai-scene-first { padding: 24px; border-color: #e6d8cb; border-radius: 4px; background: #fbf6f0; }
.ai-spark { background: #3d4c46; }
.prompt-primary textarea { border-color: #d8cbbb; }
.prompt-example { border-color: #d9cec0; color: #725c51; }
.quick-basics { border-color: #e7dbce; }
.free-badge, .job-badge { background: #f4e4d7; color: #7c3a2b; }
.primary-action { background: var(--green-dark); }
.primary-action:hover { background: #a9533d; }
.customer-note { background: #f8eee5; color: #6a4436; }
.single-image-note, .account-required-note { background: #f8eee5; }
.form-card, .job-section, .library-section { background: #fffdfa; border-color: #e5dbcf; }
.primary-action { border-radius: 3px; }
.advanced-panel { border-radius: 3px; }
.job-section, .library-section { max-width: 1180px; border-radius: 4px; }

@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(249,245,238,.78); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
  .hero-credit { background: rgba(30,35,30,.43); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .hero-actions { background: rgba(27,34,29,.22); backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15); }
  .story-number { background: rgba(255,253,249,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes editorial-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  .hero-copy { animation: editorial-enter .72s cubic-bezier(.2,.65,.25,1) both; }
  .hero-credit { animation: editorial-enter .72s .2s cubic-bezier(.2,.65,.25,1) both; }
  .story-art { transition: transform .55s cubic-bezier(.2,.65,.25,1); }
  .story-card:hover .story-art { transform: scale(1.025); }
  .hero-cta, .primary-action, .account-trigger { transition: transform .22s ease, background-color .22s ease; }
  .hero-cta:hover, .primary-action:not(:disabled):hover, .account-trigger:hover { transform: translateY(-2px); }
  .reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .62s ease, transform .62s cubic-bezier(.2,.65,.25,1); transition-delay: var(--reveal-delay, 0ms); }
  .reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1060px) {
  .form-card { grid-template-columns: 1fr; }
  .form-card > .section-heading, .form-card > .mode-tabs, .form-card > .task-form, .form-card > .customer-note { grid-column: 1; grid-row: auto; }
  .form-card > .section-heading { display: flex; }
  .form-card > .section-heading h2 { max-width: none; }
  .form-card > .mode-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
  .mode-tab { min-height: 155px; padding: 17px; border: 1px solid #e3d7ca; border-radius: 4px; }
  .mode-tab.active { border: 1px solid var(--green); }
  .mode-tab::after { left: 0; top: 15px; bottom: 15px; }
  .mode-tab::before { display: none; }
  .mode-tab-top, .mode-tab-content, .mode-tab-bottom { margin-left: 0; }
  .mode-tab-content b { font-size: 17px; }
  .form-card > .customer-note { margin-top: 28px; }
}
@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 24px, 1400px); }
  .site-header { height: 66px; }
  .header-nav { display: none; }
  .hero { min-height: 570px; }
  .hero-cover { object-position: 56% center; }
  .hero-court-plane { right: -8%; top: 52%; width: 89%; }
  .hero::after { background: linear-gradient(90deg, rgba(25,29,25,.79), rgba(25,29,25,.35) 100%), linear-gradient(0deg, rgba(25,29,25,.48), transparent 50%); }
  .hero-copy { width: 86%; padding: 91px 0 90px 29px; }
  .hero h1 { font-size: clamp(58px, 12vw, 82px); }
  .hero-lead { font-size: 15px; }
  .hero-credit { left: 29px; right: 18px; font-size: 10px; }
  .site-header { border-radius: 0 0 9px 9px; }
  .inspiration-section { padding: 62px 0 75px; }
  .inspiration-heading { display: block; }
  .inspiration-heading > p { width: auto; margin: 15px 0 0; }
  .story-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .story-card { display: grid; grid-template-columns: 44% 1fr; min-height: 185px; }
  .story-art { grid-row: 1; height: 100%; min-height: 185px; }
  .story-number { top: 9px; left: 9px; width: 30px; height: 30px; }
  .story-copy { padding: 20px 16px; align-self: end; }
  .story-copy b { font-size: 19px; }
  .story-copy small { font-size: 11px; }
  .story-copy em { margin-top: 18px; font-size: 10px; }
  .workspace { padding-top: 55px; }
  .workspace-intro h2 { font-size: 38px; }
  .form-card { padding: 22px; }
  .form-card > .mode-tabs { grid-template-columns: 1fr; gap: 0; }
  .mode-tab { min-height: 0; padding: 16px 12px; border-bottom: 0; }
  .mode-tab:last-child { border-bottom: 1px solid #e3d7ca; }
  .mode-tab-content { padding: 8px 0; }
}
@media (max-width: 430px) {
  .brand strong { font-size: 16px; }
  .brand small { font-size: 9px; }
  .header-actions { gap: 9px; }
  .launch-state { font-size: 10px; }
  .account-trigger { padding: 8px 9px; font-size: 10px; }
  .hero { min-height: 535px; }
  .hero-copy { width: 92%; padding-left: 22px; }
  .hero .eyebrow { font-size: 9px; }
  .hero h1 { font-size: 62px; }
  .hero-actions { gap: 18px; }
  .hero-cta { padding: 13px 15px; gap: 21px; }
  .hero-link { font-size: 11px; }
  .hero-credit { left: 22px; }
  .story-card { grid-template-columns: 42% 1fr; }
  .story-copy b { font-size: 18px; }
  .form-card > .section-heading { display: block; }
  .form-card > .section-heading .free-badge { display: inline-block; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-credit, .reveal-ready { animation: none; transition: none; opacity: 1; transform: none; }
  .story-card, .story-art, .hero-cta, .primary-action, .account-trigger, .mode-tab::after { transition: none; }
}
