@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');

:root {
  --bg-primary: #08150f;
  --bg-secondary: #0d1f18;
  --bg-tertiary: #173426;
  --border-color: #234936;
  --text-primary: #effaf1;
  --text-secondary: #c9e7d0;
  --text-muted: #93b09a;
  --accent-primary: #85c79b;
  --accent-secondary: #c7ead1;
  --surface: rgba(13, 31, 24, .88);
  --heading-main-size: clamp(2.75rem, 5vw, 4.5rem);
}

* { box-sizing: border-box; }
html { background: var(--bg-primary); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg-primary); color: var(--text-primary); font: 15px/1.7 Inter, sans-serif; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; transition: color .18s ease, opacity .18s ease, transform .18s ease, box-shadow .18s ease; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2 { margin-top: 0; color: var(--text-primary); font-family: 'Playfair Display', serif; font-weight: 500; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
p { color: var(--text-secondary); }

.studio-main { min-height: 100vh; background-color: var(--bg-primary); background-image: var(--page-art, linear-gradient(135deg, #07130d, #10271c)); background-position: center top; background-repeat: no-repeat; background-size: cover; }
.page-home { background-attachment: fixed; }



.studio-hero { display: flex; min-height: 100vh; padding: 7rem 1.5rem 2rem; align-items: center; justify-content: center; background: transparent; }
.studio-hero-copy { max-width: 64rem; text-align: center; animation: fade-in 1.2s ease both; }
.studio-hero h1 { margin-bottom: 1rem; color: #fff; font-size: var(--heading-main-size); text-shadow: 0 8px 28px rgba(0,0,0,.34); }
.studio-hero-copy > p { margin: 0 auto 2rem; color: rgba(255,255,255,.94); font-size: clamp(1.2rem,2vw,1.85rem); text-shadow: 0 6px 22px rgba(0,0,0,.28); }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.studio-button { display: inline-flex; min-height: 2.65rem; margin: 0; padding: .65rem 1.35rem; align-items: center; justify-content: center; gap: .65rem; border: 1px solid transparent; border-radius: 99px; cursor: pointer; font-size: .78rem; font-weight: 600; }
.studio-button.accent { background: linear-gradient(135deg,#85c79b,#5ea876 52%,#387953); color: #0c1d15; box-shadow: 0 22px 46px -24px rgba(22,77,48,.52); }
.studio-button.accent:hover { transform: translateY(-1px); background: linear-gradient(135deg,#93d4a8,#6ab483 52%,#44855c); }
.studio-button.clear { border-color: rgba(133,199,155,.34); background: rgba(11,31,22,.66); color: #effaf1; backdrop-filter: blur(12px); }
.studio-button.outline { border-color: var(--accent-primary); background: transparent; color: var(--accent-primary); }
.studio-button.outline:hover { background: var(--accent-primary); color: var(--bg-primary); }

.section-block { padding: 5rem max(1.5rem,5vw); text-align: center; }
.section-heading { max-width: 54rem; margin: 0 auto 3rem; text-align: center; }
.section-heading h2 { margin-bottom: 1rem; font-size: var(--heading-main-size); }
.section-heading p { margin: 0 auto; color: var(--text-muted); font-size: 1rem; }
.rule { display: block; width: 6rem; height: 2px; margin: 1rem auto 1.35rem; background: linear-gradient(90deg,transparent,var(--accent-primary),transparent); }
.spotlight { background: var(--bg-primary); }
.spotlight-frame { position: relative; max-width: 72rem; margin: 0 auto 3rem; padding: 2rem; border: 2px solid rgba(243,201,108,.28); border-radius: 1rem; background: linear-gradient(145deg,rgba(243,201,108,.1),transparent); }
.spotlight-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
.spotlight-art { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: .65rem; box-shadow: 0 22px 55px rgba(0,0,0,.35); }
.spotlight-art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.spotlight-art:hover > img { transform: scale(1.08); }
.art-overlay { position: absolute; inset: auto 0 0; display: flex; padding: 4rem 1.5rem 1.4rem; flex-direction: column; align-items: flex-start; background: linear-gradient(transparent,rgba(0,0,0,.86)); text-align: left; opacity: 0; transition: opacity .3s ease; }
.spotlight-art:hover .art-overlay { opacity: 1; }
.art-overlay b { color: #fff; font: 600 1.25rem 'Playfair Display',serif; }
.art-overlay small { color: #d4ddd7; }
.testimonial-strip { background: var(--bg-secondary); }
.testimonial-cards { display: grid; max-width: 72rem; margin: 0 auto 3rem; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.75rem; text-align: left; }
.testimonial-card { display: flex; min-width: 0; padding: 1.5rem; flex-direction: column; border: 1px solid var(--border-color); border-radius: 1rem; background: var(--bg-primary); box-shadow: 0 30px 60px -45px rgba(133,199,155,.65); }
.testimonial-top { display: flex; align-items: flex-start; justify-content: space-between; }
.testimonial-top img { width: 2rem; height: 2rem; opacity: .4; }
.stars { color: #f3c96c; letter-spacing: .12rem; }
.testimonial-card > p { flex: 1; white-space: pre-line; font-style: italic; line-height: 1.65; }
.testimonial-card footer { display: flex; gap: 1rem; padding-top: 1rem; align-items: center; border-top: 1px solid var(--border-color); }
.testimonial-card footer > img { width: 3rem; height: 3rem; border: 2px solid var(--accent-primary); border-radius: 50%; object-fit: cover; }
.testimonial-card footer span { display: grid; }
.testimonial-card footer b { color: var(--text-primary); }
.testimonial-card footer small { color: var(--text-muted); }
.testimonial-card footer em { color: var(--accent-primary); font-size: .75rem; font-style: normal; }
.studio-quote { padding-top: 6rem; padding-bottom: 6rem; background: var(--bg-primary); }
.studio-quote blockquote { position: relative; max-width: 56rem; margin: 0 auto; padding: 4rem 3rem; }
.studio-quote blockquote::before,.studio-quote blockquote::after { position: absolute; width: 6rem; height: 6rem; background: url('/static/images/leaf-decor.svg') center/contain no-repeat; content: ''; opacity: .4; }
.studio-quote blockquote::before { top: 1rem; left: 0; }
.studio-quote blockquote::after { right: 0; bottom: 1rem; transform: rotate(180deg); }
.studio-quote blockquote p { margin: 0 0 1rem; color: var(--accent-primary); font: italic 500 clamp(1.5rem,3vw,2.3rem)/1.5 'Playfair Display',serif; letter-spacing: .03em; }
.studio-quote cite { color: var(--text-secondary); font-size: 1.1rem; font-style: normal; letter-spacing: .08em; }
.studio-quote .studio-button { margin-top: .6rem; }
.quote-divider { display: block; width: 8rem; height: 1px; margin: 3rem auto 0; background: linear-gradient(90deg,transparent,var(--accent-primary),transparent); opacity: .5; }
.studio-callout { padding-top: 5rem; padding-bottom: 5rem; background: var(--bg-primary); }

.studio-footer { padding: 4rem max(1.5rem,6vw) 2rem; border-top: 1px solid var(--border-color); background: rgba(22,43,34,.98); color: var(--text-secondary); }
.footer-grid { display: grid; max-width: 72rem; margin: auto; grid-template-columns: 1.3fr repeat(3,1fr); gap: 3rem; }
.footer-grid section { min-width: 0; }
.footer-grid h2 { margin: 0 0 1rem; font: 600 1.05rem Inter,sans-serif; letter-spacing: 0; }
.footer-grid a { display: block; width: fit-content; margin: .45rem 0; color: var(--text-muted); font-size: .8rem; }
.footer-grid a:hover { color: var(--accent-primary); }
.footer-grid p { color: var(--text-muted); font-size: .78rem; }
.footer-brand img { width: 220px; max-width: 100%; height: 58px; object-fit: contain; object-position: left; }
.footer-categories { grid-column: 1 / 2; }
.footer-bottom { display: flex; max-width: 72rem; margin: 2.5rem auto 0; padding-top: 1.5rem; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--border-color); }
.footer-bottom > div > p { color: var(--text-muted); font-size: .68rem; letter-spacing: .12em; }
.follow-label { color: var(--text-muted); font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; }
.social-links { display: inline-flex; gap: .4rem; margin-left: .7rem; }
.social-links a { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--border-color); border-radius: 50%; color: var(--text-muted); font-size: .68rem; }
.social-links a:hover { border-color: var(--accent-primary); color: var(--accent-primary); transform: translateY(-2px); }
.digital-partner { display: flex; align-items: center; gap: 1.5rem; }
.digital-partner span { display: grid; max-width: 12rem; color: var(--text-muted); font-size: .64rem; line-height: 1.5; }
.digital-partner span b { color: var(--text-primary); font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; }
.digital-partner img { width: 115px; height: auto; }

.studio-auth-modal { width: min(31rem,calc(100% - 2rem)); padding: 2.2rem; border: 1px solid var(--border-color); border-radius: 1rem; background: var(--bg-secondary); color: var(--text-primary); box-shadow: 0 36px 90px rgba(0,0,0,.6); }
.studio-auth-modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.studio-auth-modal h2 { margin-bottom: .75rem; font-size: 2.2rem; }
.studio-auth-modal form,.studio-auth-modal label { display: grid; gap: .45rem; min-width: 0; }
.studio-auth-modal form { gap: 1rem; margin-top: 1.25rem; }
.studio-auth-modal input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 3rem; padding: .65rem .8rem; border: 1px solid var(--border-color); border-radius: .6rem; background: var(--bg-primary); color: var(--text-primary); }
.studio-auth-modal output { min-height: 1.4rem; color: #f0b4a9; }
.studio-modal-close { position: absolute; top: .8rem; right: .9rem; border: 0; background: transparent; color: var(--text-muted); font-size: 1.6rem; cursor: pointer; }
.studio-modal-switch { margin: 1.2rem 0 0; font-size: .86rem; }
.studio-modal-switch button { border: 0; background: transparent; color: var(--accent-primary); cursor: pointer; }
.studio-auth-sent { text-align: center; }
.studio-auth-sent > span { display: grid; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; place-items: center; border-radius: 50%; background: var(--accent-primary); color: var(--bg-primary); font-size: 1.5rem; }

@keyframes fade-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }



@media (max-width: 760px) {
  :root { --heading-main-size: clamp(2.1rem,11vw,3.2rem); }
  .studio-hero { padding-top: 6rem; }
  .spotlight-frame { padding: 1rem; }
  .spotlight-grid, .testimonial-cards, .footer-grid { grid-template-columns: 1fr; }
  .art-overlay { opacity: 1; }
  .footer-categories { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 2rem; }
  .studio-quote blockquote { padding: 4rem 1rem; }
  .studio-quote blockquote::before,.studio-quote blockquote::after { width: 4rem; height: 4rem; }
}
