/* Mintwise styles */
:root {
  --green: #98431F; --sage: #D89A43; --cream: #FFF7E3; --ink: #38291F; --gold: #E5A13A;
  --white: #FFFCF4; --line: #E9D9BE; --radius: 14px; --shadow: 0 6px 24px rgba(101, 54, 24, .1);
  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--cream); color: var(--ink); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; color: var(--green); letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.container { width: min(1140px, 92%); margin: 0 auto; }
.narrow { width: min(760px, 92%); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.section.alt { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 247, 227, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.logo { font-weight: 800; font-size: 1.5rem; color: var(--green); text-decoration: none; letter-spacing: -.03em; }
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); border-color: var(--gold); }
.nav-links a.btn { color: var(--white); border-bottom: 2px solid var(--green); padding: .55rem 1.1rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .7rem; font-size: 1.1rem; cursor: pointer; color: var(--green); }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid var(--green); background: var(--green); color: var(--white); transition: transform .2s, background .2s, color .2s; }
.btn:hover { background: #783217; transform: translateY(-2px); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--green); }
.btn.gold:hover { background: #D88B24; }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--white); }

/* Hero */
.hero { padding: 4rem 0 4.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero p { font-size: 1.15rem; max-width: 34em; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); background: #F5E8D0; }
.note-small { font-size: .85rem; color: #766354; }

/* Homepage hero */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 610px;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(247, 191, 99, .28), transparent 34%),
    linear-gradient(118deg, #63301F 0%, #8E3F20 52%, #B75B25 100%);
  color: #FFF7E3;
}
.home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 247, 227, .18) .7px, transparent .7px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
  opacity: .32;
}
.home-hero-glow { position: absolute; z-index: -1; width: 390px; aspect-ratio: 1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.home-hero-glow-one { top: -250px; right: 8%; background: rgba(255, 207, 116, .2); }
.home-hero-glow-two { bottom: -330px; left: 34%; background: rgba(238, 158, 73, .19); }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.home-hero-copy { position: relative; z-index: 2; animation: home-hero-enter .8s cubic-bezier(.2, .75, .25, 1) both; }
.home-hero-eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.35rem; color: #FBE7C2; font-size: .83rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-hero-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #FFD47F; box-shadow: 0 0 0 5px rgba(255, 212, 127, .18); }
.home-hero h1 { max-width: 650px; margin: 0; color: #FFF7E3; font-size: clamp(3rem, 6.2vw, 5.4rem); font-weight: 700; letter-spacing: -.065em; line-height: .99; }
.home-hero h1 span { color: #FFD47F; }
.home-hero .home-hero-intro { max-width: 520px; margin: 1.5rem 0 0; color: #F4DDC3; font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.75; }
.home-hero-actions { align-items: center; margin-top: 2rem; }
.home-hero .btn.home-hero-primary { display: inline-flex; align-items: center; gap: .85rem; padding: .9rem 1.25rem; border-color: #FFD47F; background: #FFD47F; color: #63301F; transition: transform .2s, background .2s, box-shadow .2s; }
.home-hero .btn.home-hero-primary:hover { transform: translateY(-3px); background: #FFE4A8; box-shadow: 0 10px 28px rgba(48, 20, 10, .24); }
.home-hero-primary span { font-size: 1.25rem; transition: transform .2s; }
.home-hero-primary:hover span { transform: translateX(3px); }
.home-hero .btn.home-hero-secondary { padding: .9rem 1.2rem; border-color: rgba(255, 247, 227, .45); color: #FFF7E3; }
.home-hero .btn.home-hero-secondary:hover { border-color: #FFF7E3; background: rgba(255, 247, 227, .12); color: #fff; }
.home-hero-note { display: flex; align-items: center; gap: .55rem; margin: 1.35rem 0 0; color: #F4DDC3; font-size: .84rem; }
.home-hero-note span { color: #FFD47F; }
.home-hero-art { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: end; animation: home-hero-enter .9s .12s cubic-bezier(.2, .75, .25, 1) both; }
.home-hero-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(255, 247, 227, .22); border-radius: 50%; transform: translate(-50%, -50%); }
.home-hero-orbit-outer { width: 90%; height: 90%; animation: home-hero-rotate 48s linear infinite; }
.home-hero-orbit-inner { width: 66%; height: 66%; border-style: dashed; border-color: rgba(255, 212, 127, .4); animation: home-hero-rotate 60s linear infinite reverse; }
.home-hero-sun { position: absolute; top: 50%; left: 50%; width: 49%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #F6C86C, #D98837 58%, #AA5628 100%); box-shadow: 0 0 0 20px rgba(255, 212, 127, .08), 0 0 100px rgba(255, 190, 99, .3); transform: translate(-50%, -50%); animation: home-hero-breathe 5s ease-in-out infinite; }
.home-hero-center { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; gap: .55rem; color: #FFF7E3; font-size: .7rem; font-weight: 700; letter-spacing: .17em; line-height: 1.5; text-align: center; transform: translate(-50%, -50%); }
.home-hero-center-icon { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid rgba(255, 247, 227, .5); border-radius: 22px; background: rgba(255, 247, 227, .16); color: #FFF0C7; font-size: 2.6rem; font-weight: 800; letter-spacing: -.1em; box-shadow: 0 8px 28px rgba(48, 20, 10, .18); }
.home-hero-card { position: absolute; display: flex; align-items: center; gap: .75rem; min-width: 225px; padding: .85rem .95rem; border: 1px solid rgba(255, 252, 244, .8); border-radius: 15px; background: rgba(255, 252, 244, .97); box-shadow: 0 16px 42px rgba(67, 31, 15, .25); color: #38291F; animation: home-hero-float 5s ease-in-out infinite; }
.home-hero-card strong, .home-hero-card small { display: block; }
.home-hero-card strong { color: #783217; font-size: .82rem; line-height: 1.3; }
.home-hero-card small { margin-top: .18rem; color: #766354; font-size: .69rem; line-height: 1.35; }
.home-hero-card-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; font-size: 1.2rem; }
.home-hero-icon-sage { background: #F8E6C9; color: #98431F; }
.home-hero-icon-gold { background: #FFF0C7; color: #9A641D; }
.home-hero-icon-lime { background: #F6EAC5; color: #80501F; }
.home-hero-card-arrow, .home-hero-sparkle { margin-left: auto; color: #B66B2D; font-size: 1.05rem; }
.home-hero-card-top { top: 13%; right: -1%; animation-delay: -.8s; }
.home-hero-card-left { top: 45%; left: -2%; animation-delay: -2.1s; }
.home-hero-card-bottom { right: 1%; bottom: 12%; animation-delay: -3.2s; }
.home-hero-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #FFD47F; box-shadow: 0 0 16px rgba(255, 212, 127, .75); }
.home-hero-dot-one { top: 18%; left: 22%; }
.home-hero-dot-two { right: 15%; bottom: 28%; width: 5px; height: 5px; background: #FFE8A8; }
.home-hero-dot-three { bottom: 16%; left: 27%; width: 6px; height: 6px; }
@keyframes home-hero-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes home-hero-rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes home-hero-breathe { 0%, 100% { box-shadow: 0 0 0 20px rgba(255, 212, 127, .07), 0 0 100px rgba(255, 190, 99, .28); } 50% { box-shadow: 0 0 0 30px rgba(255, 212, 127, .04), 0 0 120px rgba(255, 190, 99, .38); } }

/* Cards */
.grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; background: transparent; transition: transform .25s ease; }
.card:hover { transform: translateY(-4px); }
.card > a { display: block; overflow: hidden; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; opacity: 1; background: #F5E8D0; transition: transform .45s cubic-bezier(.2, .75, .25, 1); }
.card:hover img { transform: scale(1.045); }
.card-body { padding: .65rem 0 0; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card .tag, .card .meta, .card .read-more { display: none; }
.card-body h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; letter-spacing: 0; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--green); text-decoration: underline; }
.card-body p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: .97rem; line-height: 1.45; }
.meta { font-size: .82rem; color: #766354; }
.tag { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 700; color: var(--green); background: #F8E6C9; border-radius: 999px; padding: .2rem .7rem; }
.read-more { margin-top: auto; font-weight: 700; text-decoration: none; }
.tile { display: block; background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.3rem; text-decoration: none; color: var(--ink); transition: transform .22s ease, background .2s, box-shadow .22s ease; }
.tile:hover { background: #F9EACB; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(101, 54, 24, .12); }
.tile h3 { margin-bottom: .3rem; }
.tile p { margin: 0; font-size: .92rem; }
.scroll-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .75, .25, 1); }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
.grid > .scroll-reveal:nth-child(3n + 2) { transition-delay: 80ms; }
.grid > .scroll-reveal:nth-child(3n) { transition-delay: 160ms; }
.scroll-reveal.is-visible:hover { transform: translateY(-4px); }
.card.scroll-reveal.is-visible:hover { transform: translateY(-4px); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { border: 1px solid var(--green); background: transparent; color: var(--green); border-radius: 999px; padding: .4rem 1rem; font: inherit; font-weight: 600; cursor: pointer; }
.chip.active, .chip:hover { background: var(--green); color: var(--white); }

/* Page header, article, legal */
.page-head { background: var(--green); color: var(--cream); padding: 3.5rem 0; }
.page-head h1 { color: var(--cream); margin: 0 0 .4rem; }
.page-head p { margin: 0; color: #F4DDC3; max-width: 40em; }
.article-hero { position: relative; left: 50%; transform: translateX(-50%); aspect-ratio: 1200 / 628; object-fit: cover; width: min(1140px, 92vw); max-width: none; opacity: 1; border-radius: var(--radius); margin: 1.5rem 0; background: #F5E8D0; }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 2rem; }
.prose li { margin-bottom: .4rem; }
.prose figure { width: 100%; max-width: 560px; margin: 2rem auto; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius); background: #F5E8D0; box-shadow: var(--shadow); }
.prose figcaption { font-size: .85rem; color: #766354; margin-top: .5rem; text-align: center; }
.callout { background: #FFF0C7; border-left: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: 8px; font-size: .95rem; }
.verify { background: #FFE7A3; padding: 0 .3rem; border-radius: 3px; font-weight: 600; }

/* Newsletter, forms */
.newsletter { background: var(--green); color: var(--cream); border-radius: 22px; padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.newsletter h2 { color: var(--cream); }
.form { display: grid; gap: .9rem; }
.form label { font-weight: 600; font-size: .92rem; }
.form input[type="text"], .form input[type="email"], .form textarea { width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1px solid #D7C4A6; font: inherit; background: var(--white); color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; }
.check input { margin-top: .3rem; }
.newsletter a, .newsletter .check { color: var(--cream); }
.field-error { color: #b3261e; font-size: .85rem; min-height: 1em; display: block; }
.newsletter .field-error { color: #FFD8C4; }
.msg { padding: .8rem 1rem; border-radius: 10px; font-size: .92rem; display: none; }
.msg.show { display: block; }
.msg.ok { background: #dff3e4; color: #124a25; }
.msg.err { background: #fde3e0; color: #7a1a12; }
.msg.info { background: #FFF0C7; color: #68410F; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; }
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }

/* Popup, cookies */
.modal { position: fixed; inset: 0; background: rgba(52, 31, 20, .62); display: none; align-items: center; justify-content: center; z-index: 100; padding: 1rem; }
.modal.open { display: flex; }
.modal-box { background: var(--white); border-radius: 18px; padding: 2rem; width: min(460px, 100%); position: relative; max-height: 92vh; overflow: auto; }
.modal-close { position: absolute; top: .7rem; right: .9rem; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--green); line-height: 1; }
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, .2); padding: 1.2rem 1.4rem; z-index: 90; display: none; }
.cookie.show { display: block; }
.cookie p { margin: 0 0 .8rem; font-size: .92rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie .btn { padding: .5rem 1rem; font-size: .88rem; }
.cookie-options { display: none; margin-bottom: .8rem; font-size: .9rem; }
.cookie-options.show { display: block; }
.cookie-options label { display: block; margin-bottom: .3rem; }

/* Footer */
.site-footer { background: #542A1D; color: #F8E6C9; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: var(--gold); font-size: 1rem; }
.site-footer a { color: #F8E6C9; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .93rem; }
.site-footer .logo { color: var(--cream); }
.copyright { border-top: 1px solid #76442C; margin-top: 2rem; padding-top: 1.2rem; font-size: .83rem; }

@media (max-width: 900px) {
  .hero-grid, .newsletter, .contact-grid { grid-template-columns: 1fr; }
  .home-hero { min-height: 0; padding: 4.5rem 0 3.5rem; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 1rem; }
  .home-hero-copy { max-width: 680px; }
  .home-hero-art { width: min(100%, 470px); justify-self: center; margin-top: .5rem; }
  .grid, .grid.two { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero img { aspect-ratio: 16 / 10; border-radius: var(--radius); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 1rem 4%; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .grid, .grid.two, .footer-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 1.8rem; }
  .section { padding: 3rem 0; }
  .home-hero { padding: 3.7rem 0 2.5rem; }
  .home-hero h1 { max-width: 520px; font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .home-hero .home-hero-intro { margin-top: 1.15rem; font-size: 1rem; }
  .home-hero-art { width: min(100%, 400px); margin-top: .75rem; }
  .home-hero-card { min-width: 0; gap: .55rem; padding: .7rem; }
  .home-hero-card-top { right: -1%; }
  .home-hero-card-left { left: -1%; }
  .home-hero-card-bottom { right: -1%; }
  .home-hero-card-icon { width: 32px; height: 32px; border-radius: 10px; font-size: 1rem; }
  .home-hero-card strong { font-size: .72rem; }
  .home-hero-card small { font-size: .62rem; }
  .home-hero-center-icon { width: 58px; height: 58px; }
}
@media (max-width: 420px) {
  .home-hero-art { width: 108%; margin-right: -4%; }
  .home-hero-card { max-width: 190px; }
  .home-hero-card-top { top: 12%; }
  .home-hero-card-left { top: 47%; }
  .home-hero-card-bottom { bottom: 10%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-copy, .home-hero-art, .home-hero-orbit-outer, .home-hero-orbit-inner, .home-hero-sun, .home-hero-card { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
