/* Lemönarchy — foundational styles
   Keep this file framework-free and easy to extend. */
:root {
  color-scheme: light;
  --paper: #f5f0e8;
  --ink: #29271f;
  --muted: #6d695f;
  --line: rgba(41, 39, 31, .18);
  --lemon: #d8d98c;
  --rose: #ead3ce;
  --olive: #d8dbc4;
  --lilac: #ded6e8;
  --butter: #eee2b8;
  --blue: #d1dfe0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page-gutter: clamp(1.25rem, 5vw, 5.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: absolute; top: .75rem; left: .75rem; z-index: 20; padding: .6rem 1rem; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 5.5rem; padding: 1.25rem var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.wordmark { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); }
.site-nav a { font-size: .72rem; letter-spacing: .08em; text-decoration: none; }
.site-nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .35em; }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.hero { min-height: min(47rem, 83vh); padding: 7rem var(--page-gutter) 6rem; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.eyebrow { margin: 0 0 1.25rem; color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .19em; line-height: 1.6; text-transform: uppercase; }
.hero h1, h2, h3 { font-weight: 400; }
.hero h1 { margin: .25rem 0 1.5rem; font-family: var(--serif); font-size: clamp(3.8rem, 9.2vw, 8.6rem); letter-spacing: -.065em; line-height: .94; }
h1 em, h2 em { font-weight: 400; }
.hero__intro { max-width: 28rem; margin: 0 auto 1.8rem; color: var(--muted); font-size: .95rem; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; padding-bottom: .3rem; border-bottom: 1px solid var(--ink); font-size: .72rem; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.hero__ornament { position: absolute; color: #9c9d68; font-size: 2.4rem; }
.hero__ornament--top { top: 13%; right: 18%; }
.hero__ornament--bottom { bottom: 13%; left: 17%; font-size: 1.5rem; }
.hero__seal { position: absolute; right: var(--page-gutter); bottom: 4rem; width: 6.5rem; height: 6.5rem; border: 1px solid var(--line); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; transform: rotate(10deg); }
.hero__seal span { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.hero__seal small { font-size: .42rem; letter-spacing: .12em; line-height: 1.35; }
.section-wrap { padding: 6.5rem var(--page-gutter); }
.intro { max-width: 58rem; margin: 0 auto; text-align: center; }
.intro h2, .closing h2 { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5.3rem); letter-spacing: -.05em; line-height: 1.02; }
.section-copy { max-width: 34rem; margin: 0 auto; color: var(--muted); }
.portals { padding-top: 1rem; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.portal { position: relative; min-height: 19rem; padding: clamp(1.4rem, 3vw, 2.5rem); display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; transition: transform .2s ease; }
.portal:hover { transform: translateY(-4px); }
.portal:nth-child(1), .portal:nth-child(2) { grid-column: span 3; }
.portal:nth-child(3), .portal:nth-child(4), .portal:nth-child(5) { grid-column: span 2; }
.portal--rose { background: var(--rose); }
.portal--olive { background: var(--olive); }
.portal--lilac { background: var(--lilac); }
.portal--butter { background: var(--butter); }
.portal--blue { background: var(--blue); }
.portal__number { font-size: .58rem; letter-spacing: .14em; }
.portal__symbol { align-self: flex-end; margin: .3rem 0 auto; font-family: var(--serif); font-size: 2rem; }
.portal h3 { margin: 1.6rem 0 .35rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.04em; line-height: 1.05; }
.portal p { max-width: 22rem; margin: 0 0 1.6rem; color: #514e45; font-size: .85rem; }
.portal__link { margin-top: auto; font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; }
.closing { max-width: 58rem; margin: 0 auto; text-align: center; }
.closing > p:not(.eyebrow) { max-width: 29rem; margin: 0 auto 1.8rem; color: var(--muted); }
.site-footer { padding: 2rem var(--page-gutter); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-footer p, .site-footer small { margin: 0; color: var(--muted); font-size: .7rem; }
@media (max-width: 760px) {
  .site-header { min-height: 4.8rem; flex-wrap: wrap; gap: .8rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .08em; }
  .menu-toggle__icon { font-size: 1.1rem; }
  .site-nav { display: none; width: 100%; padding: .8rem 0 .5rem; flex-direction: column; align-items: flex-start; gap: .9rem; }
  .site-nav.is-open { display: flex; }
  .hero { min-height: 40rem; padding-top: 5rem; padding-bottom: 8rem; }
  .hero__ornament--top { top: 9%; right: 10%; }
  .hero__ornament--bottom { bottom: 10%; left: 9%; }
  .hero__seal { right: var(--page-gutter); bottom: 2rem; width: 5rem; height: 5rem; }
  .section-wrap { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .portals { grid-template-columns: 1fr; }
  .portal:nth-child(n) { grid-column: auto; min-height: 17rem; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}