*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    line-height: 1.85;
    color: #393632;
    background: #ffffff;
}
h1, h2, h3, h4 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    line-height: 1.2;
}
p { margin-bottom: 1.4em; }
p:last-child { margin-bottom: 0; }
a { color: #393632; text-decoration: none; }
p a,
.step-text a {
    font-weight: 600;
    text-decoration: none !important;
    color: #393632;
    background: linear-gradient(180deg, rgba(57,54,50,0) 65%, #ebd9da 65%);
}
p a:hover,
.step-text a:hover {
    background-color: #ebd9da;
    background-image: none;
    transition: all 0.8s ease;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e4deda;
    padding: 0 60px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: 'Instrument Serif', serif;
    font-size: 0.8125em;
    letter-spacing: 0.2em;
    color: #393632;
    text-transform: uppercase;
    flex-shrink: 0;
}
.nav-logo span { color: #cfacad; }
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    font-size: 0.6875em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a9a9a;
    font-weight: 500;
    background: none;
    transition: color 0.15s;
}
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links a.active { color: #393632; }

.welcome-hero {
    margin-top: 64px;
    padding: 7em 4em 5em;
    text-align: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.welcome-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 340px;
    background: radial-gradient(ellipse at center top, #f5e8e8 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}
.welcome-label,
.section-label,
.toc-label,
.steps-label,
.step-card-number,
.step-label,
.section-number,
.prompt-number,
.nav-direction {
    font-size: 0.625em;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
}
.welcome-label {
    color: #cfacad;
    display: block;
    margin-bottom: 1.5em;
    position: relative;
}
.welcome-hero h1 {
    font-size: clamp(2.5em, 5vw, 4em);
    font-style: italic;
    color: #393632;
    margin-bottom: 0.5em;
    position: relative;
}
.welcome-sub {
    font-size: 1.0625em;
    color: #5a554f;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.75;
    position: relative;
}

.orientation-wrap,
.steps-section,
.notion-callout-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding-left: 4em;
    padding-right: 4em;
}
.orientation-wrap { padding-bottom: 5em; }
.steps-section { padding-bottom: 8em; }
.notion-callout-wrap { padding-bottom: 3.5em; }
.home-image-banner {
    max-width: 960px;
    margin: 0 auto 4em;
    padding: 0 4em;
}
.home-image-banner-inner {
    min-height: 320px;
    border-radius: 2px;
    background: #d8d8d8;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.home-image-banner-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(57,54,50,0.02) 0%, rgba(57,54,50,0.48) 100%);
}
.home-image-banner-content {
    position: relative;
    z-index: 1;
    padding: 2.5em 3em;
    max-width: 620px;
}
.home-image-banner h2 {
    color: #f9f6f4;
    font-size: clamp(1.9em, 4vw, 3em);
    font-style: italic;
    margin-bottom: 0.35em;
}
.home-image-banner p {
    color: rgba(249,246,244,0.82);
    font-size: 0.95em;
    line-height: 1.65;
}
.orientation-block {
    border: 1px solid #e4deda;
    border-radius: 2px;
    padding: 2.5em 3em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em 3.5em;
    align-items: start;
}
.orientation-heading {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5em;
    font-style: italic;
    color: #393632;
    margin-bottom: 0.75em;
    line-height: 1.25;
}
.orientation-text,
.step-card-desc,
.prompt-desc,
.download-card p {
    color: #5a554f;
    line-height: 1.75;
}
.needs-list,
.content-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.6em;
}
.needs-list li,
.content-list li {
    padding: 0.5625em 0 0.5625em 1.625em;
    position: relative;
    border-bottom: 1px solid #f3efeb;
    line-height: 1.65;
}
.needs-list li:first-child,
.content-list li:first-child { border-top: 1px solid #f3efeb; }
.needs-list li::before,
.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.25em;
    width: 8px;
    height: 1px;
    background: #cfacad;
}

.step-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
}
.step-card {
    width: 100%;
    min-height: 420px;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #d1d1d1 0%, #eeeeee 100%);
}
.step-card.has-image {
    background-size: cover;
    background-position: center;
}
.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(57, 54, 50, 0.14);
}
.step-card-1 { background: linear-gradient(135deg, #c9a4a5 0%, #ddc5c6 35%, #ede7e2 70%, #f5f0ec 100%); }
.step-card-2 { background: linear-gradient(135deg, #9e8db0 0%, #bfafd0 35%, #ddd5e8 70%, #f0ecf4 100%); }
.step-card-3 { background: linear-gradient(135deg, #8f9088 0%, #b0b0a6 35%, #ccccc2 70%, #e4e4dc 100%); }
.step-card-4 { background: linear-gradient(135deg, #b08c60 0%, #c8a880 35%, #d8c0a0 70%, #ede5d4 100%); }
.step-card-5 { background: linear-gradient(135deg, #9e8878 0%, #b8a298 35%, #ccbcb4 70%, #e4dbd6 100%); }
.step-card-overlay,
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(57, 54, 50, 0) 0%, rgba(57, 54, 50, 0.08) 40%, rgba(57, 54, 50, 0.55) 100%);
}
.step-card-content {
    position: relative;
    z-index: 1;
    padding: 2.5em 3em;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2em;
}
.step-card-text { flex: 1; }
.step-card-number,
.step-card h2,
.step-card-cta,
.step-label,
.hero h1 { color: #f9f6f4; }
.step-card h2 {
    font-size: clamp(1.75em, 3.5vw, 2.5em);
    font-style: italic;
    line-height: 1.08;
    margin-bottom: 0.5em;
}
.step-card-desc {
    font-size: 0.9375em;
    color: rgba(249, 246, 244, 0.8);
    max-width: 480px;
    margin: 0;
}
.step-card-cta {
    flex-shrink: 0;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    font-size: 0.6875em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(249, 246, 244, 0.5);
    padding: 0.875em 1.5em;
    border-radius: 2px;
    white-space: nowrap;
}

.hero {
    background: linear-gradient(160deg, #d1d1d1 0%, #eeeeee 100%);
    min-height: 68vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 88px;
    margin-top: 64px;
    position: relative;
}
.hero.has-image {
    background-size: cover;
    background-position: center;
}
.hero.step-1 { background: linear-gradient(160deg, #e0ceca 0%, #ede7e2 45%, #f3efeb 100%); }
.hero.step-2 { background: linear-gradient(160deg, #c4b4d6 0%, #ddd5e8 45%, #f0ecf4 100%); }
.hero.step-3 { background: linear-gradient(160deg, #9ea89a 0%, #c2c8be 45%, #e4e4dc 100%); }
.hero.step-4 { background: linear-gradient(160deg, #c4a882 0%, #d6c4a4 45%, #ede5d4 100%); }
.hero.step-5 { background: linear-gradient(160deg, #b8a898 0%, #cdbfb4 45%, #e4dbd6 100%); }
.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 88px;
    max-width: 960px;
}
.step-label {
    font-size: 0.6875em;
    letter-spacing: 0.26em;
    color: rgba(249, 246, 244, 0.8);
    font-weight: 500;
    margin-bottom: 18px;
    display: block;
}
.hero h1 {
    font-size: clamp(2.5em, 6.5vw, 4.5em);
    line-height: 1.08;
    font-style: italic;
}

.main-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 5em 4em 8.75em;
}
.entry-content > .intro-block,
.entry-content > .toc,
.entry-content > .content-section,
.entry-content > .prompt-pack-section,
.entry-content > .downloads-section,
.entry-content > .step-nav {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.entry-content > .intro-block {
    margin-top: 5em;
    margin-bottom: 4em;
}
.entry-content > .toc,
.entry-content > .content-section,
.entry-content > .downloads-section,
.entry-content > .step-nav {
    width: calc(100% - 8em);
}
.entry-content > .prompt-pack-section {
    width: calc(100% - 8em);
}
.entry-content > .hero + .intro-block {
    margin-top: 5em;
}
.intro-block {
    border-left: 2px solid #cfacad;
    padding-left: 1.75em;
    margin-bottom: 4em;
}
.intro-block p {
    font-size: 1.125em;
    line-height: 1.75;
    color: #5a554f;
    margin: 0;
}
.toc {
    background: #fff;
    border: 1px solid #e4deda;
    border-radius: 2px;
    padding: 2.25em 2.5em;
    margin-bottom: 5em;
}
.toc-label,
.steps-label,
.section-label,
.nav-direction { color: #aeaeae; }
.toc ol {
    list-style: none;
    counter-reset: toc-counter;
}
.toc li {
    counter-increment: toc-counter;
    display: flex;
    align-items: baseline;
    gap: 1.125em;
    padding: 0.625em 0;
    border-bottom: 1px solid #f3efeb;
}
.toc li:last-child { border-bottom: none; }
.toc li::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: 0.6875em;
    font-weight: 600;
    color: #cfacad;
    letter-spacing: 0.06em;
    min-width: 22px;
}
.toc a {
    font-size: 0.9375em;
    color: #393632;
    background: none;
}
.content-section { margin-bottom: 5.5em; }
.section-header {
    margin-bottom: 2.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #e4deda;
}
.section-number,
.prompt-number { color: #cfacad; display: block; }
.section-title {
    font-size: clamp(2em, 4vw, 2.75em);
    color: #393632;
}
.sub-section {
    font-family: 'Instrument Serif', serif;
    font-size: 1.7em;
    font-style: normal;
    font-weight: 400;
    color: #393632;
    margin-top: 3.25em;
    margin-bottom: 0.875em;
}
.numbered-list {
    padding-left: 0;
    list-style: none;
    counter-reset: step-counter;
}
.numbered-list li {
    counter-increment: step-counter;
    display: flex;
    gap: 1.25em;
    margin-bottom: 1.5em;
    align-items: flex-start;
}
.numbered-list li::before {
    content: counter(step-counter);
    font-size: 0.6875em;
    font-weight: 600;
    color: #f9f6f4;
    background: #cfacad;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.divider {
    width: 40px;
    height: 1px;
    background: #cfacad;
    margin: 4.5em 0;
}
.vault-callout {
    background: #f0ecf3;
    border-left: 3px solid #ab96b5;
    padding: 1.25em 1.5em;
    margin: 2em 0 1.5em;
    border-radius: 0 6px 6px 0;
}

.prompt-pack-section {
    background: #faf8f7;
    border: 1px solid #e4deda;
    border-radius: 2px;
    padding: 3.5em 3.25em;
    margin-top: 5.5em;
    margin-bottom: 5.5em;
}
.prompt-pack-header {
    text-align: center;
    margin-bottom: 3.5em;
    padding-bottom: 2.5em;
    border-bottom: 1px solid #f3efeb;
}
.prompt-pack-header h2,
.downloads-header h2 { font-size: 2.25em; margin: 0.625em 0 0.5em; }
.prompt-pack-header p,
.downloads-header p {
    font-size: 0.9375em;
    color: #838080;
    max-width: 520px;
    margin: 0 auto;
}
.prompt-item {
    margin-bottom: 3.25em;
    padding-bottom: 3.25em;
    border-bottom: 1px solid #f0ece9;
}
.prompt-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.prompt-item h3 {
    font-size: 1.7em;
    margin-bottom: 0.625em;
}
.prompt-desc { font-size: 0.9375em; margin-bottom: 1.25em; }
.prompt-box {
    background: #f3efeb;
    border-left: 3px solid #cfacad;
    padding: 1.75em 2em;
    position: relative;
}
.prompt-box pre {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875em;
    line-height: 1.75;
    color: #393632;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    padding-right: 4.5em;
}
.copy-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid #e4deda;
    border-radius: 2px;
    padding: 6px 14px;
    font-size: 0.6875em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a9a9a;
    cursor: pointer;
}
.copy-btn:hover,
.copy-btn.copied {
    color: #cfacad;
    border-color: #cfacad;
}

.downloads-section { margin-top: 5.5em; }
.downloads-header { margin-bottom: 2em; }
.downloads-header p { margin-left: 0; }
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1em;
    margin-top: 1.75em;
}
.download-card {
    background: #fff;
    border: 1px solid #e4deda;
    border-radius: 2px;
    padding: 1.75em 1.5em;
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    transition: border-color 0.18s;
}
.download-card:hover { border-color: #cfacad; }
.download-icon {
    width: 38px;
    height: 38px;
    background: #f3efeb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.download-icon svg {
    width: 16px;
    height: 16px;
    stroke: #cfacad;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.download-card h4 {
    font-size: 1em;
    color: #393632;
    line-height: 1.35;
}
.download-card p {
    font-size: 0.8125em;
    color: #9a9a9a;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.6875em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5a554f;
    padding: 0.75em 0 0;
    border-top: 1px solid #f0ece9;
    margin-top: 0.25em;
    background: none;
}
.download-btn:hover { color: #cfacad; }
.download-btn[href="#"] {
    opacity: 0.42;
    cursor: default;
    pointer-events: none;
}

.step-nav {
    margin-top: 6.25em;
    padding-top: 3em;
    border-top: 1px solid #e4deda;
    display: flex;
    gap: 0.875em;
}
.step-nav-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e4deda;
    border-radius: 2px;
    padding: 1.75em 2em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.step-nav-card.next { text-align: right; }
.nav-step-title {
    font-family: 'Instrument Serif', serif;
    font-size: 1.25em;
    color: #393632;
    line-height: 1.3;
}

.site-footer {
    background: #393632;
    padding: 3.25em 5em;
    text-align: center;
}
.footer-logo {
    font-family: 'Instrument Serif', serif;
    font-size: 0.75em;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #f3efeb;
    margin-bottom: 0.875em;
}
.footer-logo span { color: #cfacad; }
.footer-text,
.footer-text a {
    font-size: 0.75rem;
    color: #838080;
    line-height: 1.6;
    background: none;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    list-style: none;
}

.dbs-editor-placeholder {
    border: 1px dashed #cfacad;
    background: #f7f4f2;
    color: #838080;
    padding: 1em;
    font-size: 0.85em;
}

@media (max-width: 960px) {
    .site-nav { padding: 0 40px; }
    .welcome-hero { padding: 5em 2.5em 4em; }
    .orientation-wrap,
    .notion-callout-wrap,
    .steps-section,
    .home-image-banner { padding-left: 2.5em; padding-right: 2.5em; }
    .main-content { padding: 4em 3em 7em; }
    .hero-content { padding: 0 48px; }
    .prompt-pack-section { padding: 3em 2.5em; }
}
@media (max-width: 768px) {
    .site-nav { padding: 0 2em; }
    .nav-links { gap: 1.5em; }
    .welcome-hero { padding: 4em 2em 3em; }
    .orientation-block { grid-template-columns: 1fr; gap: 1.5em; padding: 2em; }
    .orientation-wrap,
    .notion-callout-wrap,
    .steps-section,
    .home-image-banner { padding-left: 2em; padding-right: 2em; }
    .step-card { min-height: 360px; }
    .step-card-content { padding: 2em; flex-direction: column; align-items: flex-start; gap: 1.5em; }
    .step-card-cta { align-self: flex-start; }
    .hero { min-height: 55vh; padding-bottom: 3.5em; }
    .hero-content { padding: 0 2em; }
    .main-content { padding: 3.5em 2em 6em; }
    .prompt-pack-section { padding: 2.5em 2em; }
    .toc { padding: 1.75em 2em; }
}
@media (max-width: 540px) {
    .site-nav { padding: 0 1.5em; }
    .nav-links { display: none; }
    .welcome-hero { padding: 3.5em 1.5em 2.5em; }
    .orientation-wrap,
    .notion-callout-wrap,
    .steps-section,
    .home-image-banner { padding-left: 1.5em; padding-right: 1.5em; }
    .home-image-banner-content { padding: 1.5em; }
    .orientation-block { padding: 1.75em 1.5em; }
    .step-card { min-height: 320px; }
    .step-card-content { padding: 1.5em; }
    .hero { min-height: 50vh; padding-bottom: 3em; }
    .hero-content { padding: 0 1.5em; }
    .main-content { padding: 3em 1.5em 5em; }
    .prompt-pack-section { padding: 2em 1.5em; }
    .toc { padding: 1.5em; }
    .step-nav { flex-direction: column; }
    .step-nav-card.next { text-align: left; }
    .downloads-grid { grid-template-columns: 1fr; }
    .intro-block { padding-left: 1.25em; }
    .prompt-box pre { padding-right: 1em; padding-top: 3em; }
    .site-footer { padding: 2.25em 1.5em; }
}
