@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,600,50,1;9..144,700,50,1;9..144,800,50,1&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');
:root,[data-theme='light']{--color-bg:#f6e9cd;--color-surface:#fff4dd;--color-surface-2:#eee0ba;--color-text:#254435;--color-text-muted:#5e5947;--color-primary:#a8411d;--color-primary-hover:#883115;--color-border:#b98a55;--font-display:'Fraunces',Georgia,serif;--font-body:'Lora',Georgia,serif;}
body{background:var(--color-bg);}
h1,h2,h3{font-family:var(--font-display);}
.header{position:relative;background:var(--color-bg);backdrop-filter:none;border-bottom:0;padding-top:14px;}
.header__inner{flex-direction:column;gap:18px;padding-bottom:0;}
.brand__logo{display:block;width:min(650px,80vw);height:auto;max-height:225px;object-fit:contain;}
.nav{width:100%;border-radius:60px;background:#234331;color:#fff0cd;min-height:64px;padding:0 32px;justify-content:space-between;border:1px solid #234331;}
.nav__links{gap:38px;}
.nav__links a{color:#fff0cd;font-family:var(--font-display);font-size:18px;}
.nav__links a:hover{color:#ffd08f;}
.theme-toggle{color:#fff0cd;border-color:#b9bc8d;background:transparent;}
.wrap{max-width:1280px;}
.studio-home{--color-bg:#f6e9cd;--color-surface:#fff4dd;--color-primary:#a8411d;--color-primary-hover:#883115;--color-text:#254435;--color-text-muted:#5e5947;--color-border:#b98a55;}
.studio-hero{padding:32px 0 42px;}
.studio-hero__grid{grid-template-columns:1fr 1.2fr;gap:30px;}
.studio-hero__copy{padding:14px 0;}
.studio-hero h1{font-family:var(--font-display);font-weight:800;font-size:clamp(48px,5.1vw,76px);letter-spacing:-.055em;line-height:1.03;margin-bottom:24px;}
.studio-hero h1 em{font-family:inherit;font-style:normal;font-weight:800;color:#a8411d;}
.studio-lede{font-size:16px;line-height:1.7;}
.eyebrow{color:var(--color-text-muted);letter-spacing:.16em;font-size:10px;}
.btn{border-radius:60px;min-height:50px;padding:13px 24px;}
.btn--primary{background:#a8411d;color:#fff4dd;}
.btn--primary:hover{background:#883115;}
.btn--ghost{border-color:var(--color-border);}
.studio-art{padding:0;border-radius:70px 20px 70px 20px;min-height:0;aspect-ratio:3/2;border:2px solid #a8411d;background:#b98343;}
.studio-art::before{display:none;}
.studio-art img{width:100%;height:100%;object-fit:cover;display:block;}
.studio-note{font:italic 15px Georgia,serif;margin-top:24px;}
.studio-strip{border-block:1px solid var(--color-border);padding:17px 0;}
.studio-strip .wrap{font-size:11px;letter-spacing:.08em;}
.studio-section-heading{margin-bottom:30px;}
.studio-section-heading h2,.studio-about h2,.studio-contact h2{font-family:var(--font-display);font-weight:700;font-size:clamp(30px,3.3vw,44px);line-height:1.1;}
.studio-ventures{padding-block:68px;}
.studio-venture-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.studio-venture{border:1.5px solid var(--color-border);border-radius:30px;overflow:hidden;}
.venture-art{height:205px;background:#c75e32;}
.venture-art img{width:100%;height:100%;object-fit:cover;display:block;}
.studio-venture__body{padding:26px;}
.studio-venture h3{font-family:var(--font-display);font-size:27px;line-height:1.1;font-weight:700;letter-spacing:-.035em;}
.studio-venture__body>p:not(.eyebrow){font-size:14px;}
.studio-venture ul{margin:22px 0;}
.studio-venture li{font-size:12px;}
.studio-venture .text-link{font-size:13px;}
.studio-lotto{display:block;margin:0;padding:0;}
.studio-lotto p:not(.eyebrow){font-size:14px;}
.development-label{display:inline-block;margin-top:22px;background:#294533;color:#fff0cd;border:0;font-size:11px;}
.studio-contact{background:#254435;color:#fff0cd;border-top:4px solid #bd5830;}
.studio-contact .contact-email{font-family:var(--font-display);font-size:clamp(20px,2.5vw,30px);}
.studio-about{background:var(--color-surface);}
.footer{background:var(--color-bg);}
.footer__brand{font-family:var(--font-display);font-size:18px;}
.app-hero h1{font-family:var(--font-display);}
[data-theme='dark']{--color-bg:#1a3025;--color-surface:#234033;--color-surface-2:#2e4935;--color-text:#fff0cd;--color-text-muted:#d4cfad;--color-primary:#f3b17e;--color-primary-hover:#ffd0a6;--color-border:#8e8159;}
[data-theme='dark'] .studio-home{--color-bg:#1a3025;--color-surface:#234033;--color-text:#fff0cd;--color-text-muted:#d4cfad;--color-primary:#f3b17e;--color-primary-hover:#ffd0a6;--color-border:#8e8159;}
[data-theme='dark'] .studio-hero h1 em{color:#f3b17e;}
@media(max-width:900px){.studio-hero__grid{grid-template-columns:1fr 1fr;gap:24px;}.studio-venture-grid{grid-template-columns:1fr 1fr;}.studio-lotto{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;}.studio-lotto .venture-art{height:100%;min-height:250px;}.studio-venture h3{font-size:25px;}}
@media(max-width:640px){.header{padding-top:12px;}.header__inner{gap:14px;}.brand__logo{width:86vw;max-height:150px;}.nav{min-height:54px;padding:0 18px;}.nav__links{gap:20px;}.nav__links a{font-size:15px;}.studio-hero__grid,.studio-venture-grid{grid-template-columns:1fr;}.studio-hero{padding-top:24px;}.studio-hero h1{font-size:52px;}.studio-art{margin-top:0;min-height:0;border-radius:45px 16px 45px 16px;}.studio-hero__grid{gap:12px;}.studio-lotto{display:block;grid-column:auto;}.studio-lotto .venture-art{height:205px;min-height:0;}.studio-ventures{padding-block:48px;}.studio-lede{font-size:15px;}.studio-hero .hero__actions{gap:12px;}.studio-strip .wrap{font-size:10px;}.studio-contact__grid{gap:30px;}}

/* Preserve the approved illustration compositions at every card width. */
.venture-art,.studio-lotto .venture-art{height:auto;min-height:0;aspect-ratio:3/2;}

/* Vintage lettering throughout, with a bookish serif for longer reading. */
body{font-family:var(--font-body);}
h1,h2,h3,h4,h5,h6{font-family:var(--font-display);}
button,input,select,textarea{font-family:inherit;}
.btn,.text-link,.eyebrow,.development-label,.studio-strip,.studio-facts strong,.footer__legal,.legal__back{font-family:var(--font-display);font-weight:600;}
.eyebrow{font-size:12px;letter-spacing:.1em;}
.studio-lede{font-size:17px;line-height:1.8;}
.studio-note{font-family:var(--font-body);font-style:italic;line-height:1.7;}
.studio-venture__body>p:not(.eyebrow),.studio-lotto p:not(.eyebrow){font-size:15px;line-height:1.8;}
.studio-venture li{font-size:14px;line-height:1.75;}
.studio-venture .text-link{font-size:15px;}
.development-label{font-size:12px;}
.studio-strip .wrap{font-size:12px;letter-spacing:.06em;}
.footer__legal a,.footer__copy{font-size:13px;}
.legal article p,.legal article li{font-size:17px;line-height:1.85;}
.legal__meta{font-size:14px;}
@media(max-width:640px){.studio-lede{font-size:16px;}.studio-strip .wrap{font-size:11px;}.studio-venture__body{padding:24px;}.legal article p,.legal article li{font-size:16px;}}

/* Escape Hatch: an illustrated companion to the Tumblefern home page. */
.escape-page .app-hero{padding:48px 0 56px;}
.escape-page .app-hero__inner{max-width:1280px;grid-template-columns:1fr 1.12fr;align-items:center;gap:48px;}
.escape-page .app-hero h1{font-size:clamp(48px,5.2vw,74px);font-weight:800;letter-spacing:-.045em;line-height:1.05;}
.escape-page .app-hero__eyebrow{font-family:var(--font-display);font-size:12px;line-height:1.7;}
.escape-page .app-hero__tagline{font-size:clamp(23px,2.3vw,30px);line-height:1.3;margin:22px 0;}
.escape-page .app-hero__lede{font-size:16px;line-height:1.8;}
.escape-poster{margin:0;border:1.5px solid var(--color-border);border-radius:60px 20px 60px 20px;overflow:hidden;background:var(--color-surface);}
.escape-poster img{display:block;width:100%;height:auto;aspect-ratio:3/2;}
.escape-poster figcaption{padding:18px 24px;text-align:center;font-size:14px;font-style:italic;}
.escape-ribbon{border-block:1px solid var(--color-border);padding:18px 0;}
.escape-ribbon .wrap{display:flex;justify-content:space-between;gap:20px;font-family:var(--font-display);font-size:14px;}
.escape-page .features{padding:64px 0;background:var(--color-surface);border:0;}
.escape-page .section-head{max-width:680px;margin-bottom:38px;}
.escape-page .section-head__eyebrow{font-family:var(--font-display);font-size:12px;letter-spacing:.1em;}
.escape-page .section-head h2{font-size:clamp(34px,3.5vw,48px);line-height:1.12;font-weight:700;}
.escape-page .section-head p{font-size:16px;line-height:1.8;}
.escape-page .feature-card{border-radius:24px;padding:28px;box-shadow:none;}
.escape-page .feature-card__icon{background:transparent;border:1px solid var(--color-border);border-radius:50%;width:44px;height:44px;}
.escape-page .feature-card h3{font-size:23px;line-height:1.2;font-weight:600;margin-bottom:16px;}
.escape-page .feature-card p{font-size:15px;line-height:1.8;}
.escape-page .about{padding:40px 0;}
.escape-page .disclaimer-box{background:transparent;border:0;border-radius:0;padding:0;max-width:920px;margin:auto;}
.escape-page .disclaimer-box h3{font-size:22px;}
.escape-page .disclaimer-box p{font-size:14px;line-height:1.8;}
.escape-support{padding:72px 0;background:#254435;color:#fff0cd;border-top:4px solid #bd5830;scroll-margin-top:24px;}
.escape-support__grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;}
.escape-support .eyebrow{color:#d7d4ac;}
.escape-support h2{font-size:clamp(34px,3.6vw,48px);line-height:1.12;margin:20px 0 26px;}
.escape-support p{font-size:16px;line-height:1.8;}
.escape-support a{color:#fff0cd;}
.escape-support .btn--support{margin:28px 0 18px;background:#fff0cd;color:#254435;}
.escape-support .btn--support:hover{background:#f4d9a9;}
.escape-support__email{display:block;font-family:var(--font-display);font-size:23px;text-decoration:underline;text-underline-offset:6px;overflow-wrap:anywhere;}
.escape-support__phone{margin-top:22px;}
.escape-help{padding:32px;border:1px solid #8f9d76;border-radius:28px;}
.escape-help h3{font-size:27px;margin-bottom:18px;}
.escape-help__rule{height:1px;background:#647e5e;margin:28px 0;}
.escape-help details{border-bottom:1px solid #647e5e;padding:17px 0;}
.escape-help details:last-child{border-bottom:0;}
.escape-help summary{cursor:pointer;font-family:var(--font-display);font-size:18px;line-height:1.4;}
.escape-help details p{font-size:14px;margin-top:16px;}
.escape-help details a{text-decoration:underline;}
.escape-page .footer__legal{flex-wrap:wrap;}
@media(max-width:900px){.escape-page .app-hero__inner{gap:28px;grid-template-columns:1fr 1fr;}.escape-support__grid{gap:36px;}.escape-help{padding:26px;}}
@media(max-width:640px){.escape-page .app-hero{padding:30px 0 36px;}.escape-page .app-hero__inner{grid-template-columns:1fr;gap:32px;}.escape-page .app-hero h1{font-size:52px;}.escape-poster{border-radius:40px 16px 40px 16px;}.escape-ribbon .wrap{flex-wrap:wrap;justify-content:center;gap:12px 24px;font-size:12px;}.escape-page .features{padding:48px 0;}.escape-support{padding:48px 0;}.escape-support__grid{grid-template-columns:1fr;gap:32px;}.escape-help{padding:24px;}.escape-page .feature-card{padding:24px;}}

/* The approved Tumblefern signature in every footer. */
.footer__brand{display:inline-flex;align-items:center;flex-shrink:0;}
.footer__logo{display:block;width:240px;max-width:100%;height:auto;}
@media(max-width:640px){.footer__logo{width:210px;}}

.footer__legal a,.footer__meta{color:var(--color-text-muted);}
