/* JULA — static stylesheet (converted from the Lovable/Tailwind project) */
:root {
  --radius: 0.375rem;
  --background: oklch(0.959 0.014 85);
  --foreground: oklch(0.2 0.012 160);
  --card: oklch(0.98 0.008 85);
  --primary: oklch(0.33 0.055 165);
  --primary-foreground: oklch(0.959 0.014 85);
  --secondary: oklch(0.925 0.02 85);
  --muted-foreground: oklch(0.42 0.02 160);
  --accent: oklch(0.68 0.11 80);
  --gold-deep: oklch(0.5 0.09 75);
  --destructive: oklch(0.5 0.19 27);
  --border: oklch(0.86 0.025 85);
  --input: oklch(0.8 0.025 85);
  --ring: oklch(0.5 0.09 75);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); background: var(--background); color: var(--foreground); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; letter-spacing: 0; margin: 0; }
p, ul, ol, address, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 6rem; }
.text-primary { color: var(--primary); }
.muted { color: var(--muted-foreground); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon { width: 1rem; height: 1rem; flex: none; }

.eyebrow { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); }
.eyebrow-light { color: var(--accent); }
.section-head { margin-bottom: 2.5rem; max-width: 42rem; }
.section-head h2 { margin-top: 0.75rem; font-size: 2.25rem; line-height: 1.15; }
@media (min-width: 768px) { .section-head h2 { font-size: 3rem; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 2.25rem; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid transparent; background: var(--primary); color: var(--primary-foreground); font-size: 0.875rem; font-weight: 500; white-space: nowrap; transition: transform 220ms ease, background-color 220ms ease, opacity 220ms ease, color 220ms ease; }
.btn:hover { background: color-mix(in oklch, var(--primary) 90%, transparent); }
.action-link:hover { transform: translateY(-2px); }
.action-link:active { transform: translateY(0); }
.btn-lg { height: auto; max-width: 100%; white-space: normal; padding: 0.75rem 1.5rem; }
.hero .btn:not(.btn-outline-light) { background: var(--primary-foreground); color: var(--primary); }
.hero .btn:not(.btn-outline-light):hover { background: color-mix(in oklch, var(--primary-foreground) 90%, transparent); }
.btn-outline-light { background: transparent; border-color: color-mix(in oklch, var(--primary-foreground) 60%, transparent); color: var(--primary-foreground); }
.btn-outline-light:hover { background: var(--primary-foreground); color: var(--primary); }
.btn-join { display: none; }
@media (min-width: 640px) { .btn-join { display: inline-flex; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent); background: color-mix(in oklch, var(--background) 90%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 0.75rem; z-index: 50; padding: 0.5rem 0.75rem; border-radius: 4px; background: var(--primary); color: var(--primary-foreground); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-serif); font-size: 1.5rem; line-height: 2rem; color: var(--primary); }
.brand-icon { width: 1.25rem; height: 1.25rem; color: var(--gold-deep); }
.main-nav { display: none; }
@media (min-width: 768px) { .main-nav { display: block; } }
.main-nav ul { display: flex; gap: 1.75rem; font-size: 0.875rem; }
.nav-link { position: relative; padding-bottom: 5px; color: color-mix(in oklch, var(--foreground) 80%, transparent); }
.nav-link:hover { color: var(--primary); }
.nav-link::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--gold-deep); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 0.75rem; }

/* Language switch */
.langswitch { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; letter-spacing: 0.1em; }
.lsw { display: flex; align-items: center; gap: 0.25rem; }
.lsw .sep { opacity: 0.4; }
.lang-btn { background: none; border: 0; border-radius: 4px; padding: 0.25rem 0.375rem; text-transform: uppercase; letter-spacing: inherit; opacity: 0.7; transition: opacity 0.2s; line-height: 1.2; }
.lang-btn:hover { opacity: 1; }
.lang-btn[aria-pressed="true"] { opacity: 1; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--primary); color: var(--primary-foreground); }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; animation: hero-settle 1.8s ease-out both; }
@keyframes hero-settle { from { transform: scale(1.045); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: color-mix(in oklch, var(--primary) 76%, transparent); }
.hero-inner { display: flex; align-items: center; min-height: 430px; padding-block: 3.5rem; }
.hero-copy { max-width: 36rem; }
.hero-eyebrow { font-size: 0.75rem; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin-top: 1rem; font-size: 4.5rem; line-height: 1; }
.hero-sub { margin-top: 1.25rem; max-width: 24rem; font-size: 1.125rem; line-height: 1.625; }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 640px) {
  .hero-photo { object-position: center 58%; }
  .hero-shade { background: linear-gradient(90deg, color-mix(in oklch, var(--primary) 94%, transparent), color-mix(in oklch, var(--primary) 68%, transparent) 42%, color-mix(in oklch, var(--primary) 8%, transparent)); }
  .hero-inner { min-height: 460px; }
}
@media (min-width: 768px) { .hero-inner { min-height: 480px; } .hero h1 { font-size: 6rem; } }

/* About */
.about { border-block: 1px solid var(--border); background: color-mix(in oklch, var(--secondary) 50%, transparent); }
.about-inner { max-width: 48rem; margin-inline: auto; padding: 6rem 1.25rem; text-align: center; }
.about h2 { margin-top: 0.75rem; font-size: 2.25rem; line-height: 1.15; }
.about-body { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.625; color: color-mix(in oklch, var(--foreground) 85%, transparent); }
@media (min-width: 768px) { .about h2 { font-size: 3rem; } }

/* Ranges */
.range-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--border); }
@media (min-width: 640px) { .range-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .range-grid { grid-template-columns: repeat(3, 1fr); } }
.range-tile { background: var(--card); transition: background-color 250ms ease; }
.range-tile:hover, .range-tile:focus-within { background: var(--secondary); }
.range-tile a { display: block; height: 100%; padding: 2rem; }
.tile-top { display: flex; align-items: center; justify-content: space-between; }
.tile-num { font-family: var(--font-serif); font-size: 0.875rem; color: var(--gold-deep); }
.tile-icon { width: 1.5rem; height: 1.5rem; color: var(--gold-deep); transition: transform 0.2s; }
.range-tile:hover .tile-icon { transform: rotate(12deg); }
.range-tile h3 { margin-top: 0.5rem; font-size: 1.5rem; line-height: 2rem; letter-spacing: 0.025em; color: var(--primary); }
.tile-arrow { display: inline-block; margin-left: 0.75rem; transition: transform 0.2s; }
.range-tile:hover .tile-arrow { transform: translate(4px, -4px); }
.range-tile p { margin-top: 0.5rem; color: var(--muted-foreground); }
.ranges-more { margin-top: 1.5rem; font-family: var(--font-serif); font-size: 1.125rem; font-style: italic; color: var(--gold-deep); }

/* Process */
.process { background: var(--primary); color: var(--primary-foreground); }
.process-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.step-icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); transition: background-color 250ms ease, transform 250ms ease; }
.step-icon .icon { width: 1.25rem; height: 1.25rem; }
.process-step:hover .step-icon { background: color-mix(in oklch, var(--accent) 12%, transparent); transform: translateY(-3px); }
.step-num { margin-top: 1.25rem; font-size: 0.75rem; letter-spacing: 0.1em; opacity: 0.7; }
.process-step h3 { margin-top: 0.25rem; font-size: 1.5rem; line-height: 2rem; }
.step-desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; opacity: 0.85; }

/* Discovery */
.discovery { position: relative; isolation: isolate; overflow: hidden; }
.discovery > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.discovery-shade { position: absolute; inset: 0; z-index: -1; background: color-mix(in oklch, var(--primary) 70%, transparent); }
.discovery-inner { max-width: 48rem; margin-inline: auto; padding: 8rem 1.25rem; text-align: center; color: var(--primary-foreground); }
.discovery h2 { font-size: 2.25rem; line-height: 1.15; }
.discovery p { margin-top: 1rem; font-size: 1.125rem; color: var(--accent); }
@media (min-width: 768px) { .discovery h2 { font-size: 3.75rem; line-height: 1; } }

/* Two column sections */
.two-col { display: grid; gap: 3rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1.4fr; } }
.col-intro { margin-top: -1rem; color: var(--muted-foreground); }
.pro { border-top: 1px solid var(--border); background: color-mix(in oklch, var(--secondary) 50%, transparent); }

/* Forms */
.form { position: relative; display: grid; gap: 1.25rem; }
.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field label, .ranges-fs legend { display: block; font-size: 0.875rem; font-weight: 500; }
.optional { font-weight: 400; color: var(--muted-foreground); }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 0.375rem; padding: 0.625rem 0.75rem; border: 1px solid var(--input); border-radius: 0.375rem; background: var(--card); font-size: 1rem; line-height: 1.5; transition: border-color 0.2s, background-color 0.2s; }
.field textarea { resize: vertical; }
.field input::placeholder { color: var(--muted-foreground); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: var(--background); }
.field [aria-invalid="true"] { border-color: var(--destructive); }
.err { margin-top: 0.25rem; font-size: 0.875rem; color: var(--destructive); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ranges-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.check-grid { margin-top: 0.5rem; display: grid; gap: 0.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(3, 1fr); } }
.check-card { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 0.375rem; background: var(--card); font-size: 0.875rem; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.check-card:hover { border-color: var(--accent); }
.check-card:has(:checked) { border-color: var(--primary); background: color-mix(in oklch, var(--primary) 5%, transparent); }
input[type="checkbox"] { accent-color: var(--primary); }
.consent label { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
.consent input { margin-top: 0.25rem; }
.btn-submit { height: auto; width: 100%; max-width: 100%; white-space: normal; padding: 0.875rem 1.5rem; border: 0; }
@media (min-width: 640px) { .btn-submit { width: auto; justify-self: start; } }
.btn-submit:disabled { opacity: 0.5; pointer-events: none; }
.btn-ic { display: inline-flex; }
.btn-ic .spin { display: none; }
.btn-submit.is-sending .btn-ic .icon:first-child { display: none; }
.btn-submit.is-sending .btn-ic .spin { display: block; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { padding: 2rem; border: 1px solid var(--accent); border-radius: 0.5rem; background: var(--card); text-align: center; }
.success-title { font-family: var(--font-serif); font-size: 1.875rem; line-height: 2.25rem; color: var(--primary); }
.success p + p { margin-top: 0.5rem; color: var(--muted-foreground); }

/* FAQ */
.faq { max-width: 48rem; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { width: 1rem; height: 1rem; color: var(--muted-foreground); transition: transform 0.2s; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-a { padding-bottom: 1rem; color: var(--muted-foreground); }

/* Footer */
.site-footer { background: var(--primary); color: var(--primary-foreground); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-right { text-align: right; } .langswitch.right { justify-content: flex-end; } }
.footer-brand { font-family: var(--font-serif); font-size: 1.875rem; line-height: 2.25rem; letter-spacing: 0.3em; }
.site-footer address { margin-top: 1rem; font-size: 0.875rem; opacity: 0.85; display: grid; gap: 0.25rem; }
.mail-link { display: inline-flex; align-items: center; gap: 0.5rem; text-underline-offset: 4px; }
.mail-link:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.875rem; opacity: 0.85; }
@media (min-width: 768px) { .footer-links { justify-content: flex-end; } }
.copyright { margin-top: 1.5rem; font-size: 0.75rem; opacity: 0.75; }

/* Cookie banner */
.cookie-banner { position: fixed; inset-inline: 0.75rem; bottom: 0.75rem; z-index: 50; max-width: 36rem; margin-inline: auto; padding: 1.25rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--card); box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); font-size: 0.875rem; }
.cookie-banner fieldset { margin: 1rem 0 0; padding: 0; border: 0; display: grid; gap: 0.5rem; }
.cookie-banner label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner .dim { opacity: 0.7; }
.cookie-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.875rem; border: 1px solid transparent; background: none; }
.pill-solid { background: var(--primary); color: var(--primary-foreground); }
.pill-outline { border-color: var(--primary); color: var(--primary); }
.pill-ghost { text-decoration: underline; text-underline-offset: 4px; }

/* Legal pages */
.legal-main { max-width: 42rem; min-height: 60vh; margin-inline: auto; padding: 5rem 1.25rem; }
.legal-main h1 { font-size: 3rem; line-height: 1; }
.legal-main .muted { margin-top: 1.5rem; }
.placeholder-box { margin-top: 1rem; padding: 1rem; border: 1px dashed var(--accent); border-radius: 4px; font-size: 0.875rem; }
.back-link { display: inline-block; margin-top: 2.5rem; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
