/* ==========================================================
   Reverie Room — Homepage styles
   1. Tokens  2. Base  3. Buttons  4. Top bar + Header
   5. Hero  6. Quote  7. Ethos  8. Founder  9. Book clubs
   10. Shop  11. Newsletter  12. Visit  13. Footer
   14. Animations  15. Responsive
   ========================================================== */

/* ---------- 1. Design tokens (from the logo + current site) ---------- */
:root {
  --cream: #F6F1E7;          /* site background */
  --paper: #FBF8F1;
  --parch: #EFE6D6;
  --plum: #7A4E6E;           /* site heading color */
  --plum-deep: #4A2C44;
  --olive: #5B6146;          /* site button green */
  --forest: #3E4A2E;         /* logo wordmark green */
  --brown: #8B5A3C;          /* logo book brown */
  --gold: #C9A35C;
  --ink: #2F2A26;
  --text: #5A524B;
  --muted: #8B8178;
  --line: rgba(47, 42, 38, .12);
  --line-light: rgba(255, 255, 255, .16);

  --display: "Cinzel Decorative", "Cinzel", Georgia, serif;   /* client's heading font */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;     /* quotes & small accents */
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1220px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(80px, 10vw, 130px);
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -32px rgba(74, 44, 68, .45);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.75; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--plum); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); }
.kicker .icon { width: 13px; height: 13px; color: var(--gold); }
.kicker-light { color: var(--parch); }
.section-title { font-size: clamp(32px, 4vw, 50px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section-sub { max-width: 380px; }
.lead { font-size: 20px; line-height: 1.65; color: var(--ink); }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  transition: color .4s var(--ease), border-color .4s, transform .3s var(--ease), box-shadow .4s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-plum { background: var(--plum); color: var(--paper); box-shadow: 0 14px 28px -16px rgba(122, 78, 110, .9); }
.btn-plum::before { background: var(--plum-deep); }
.btn-outline { color: var(--ink); border-color: rgba(47, 42, 38, .25); }
.btn-outline::before { background: var(--olive); }
.btn-outline:hover { color: var(--paper); border-color: var(--olive); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- 4. Top bar + Header ---------- */
.topbar { background: var(--forest); color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar p, .topbar a { display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 14px; height: 14px; color: var(--gold); }
.topbar a:hover { color: var(--white, #fff); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 30px -24px rgba(47, 42, 38, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 90px; transition: height .3s var(--ease); }
.is-scrolled .header-inner { height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 64px; height: 64px; object-fit: contain; transition: transform .6s var(--ease); }
.logo:hover img { transform: rotate(-6deg) scale(1.05); }
.logo-text { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--forest); letter-spacing: .01em; }
.logo-text em { font-style: normal; color: var(--brown); }

.main-nav ul { display: flex; gap: 34px; }
.main-nav a:not(.btn) { position: relative; font-weight: 500; font-size: 15.5px; color: var(--ink); padding: 6px 0; transition: color .3s; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 10px; height: 10px; transform: translateX(-50%) scale(0); background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); transition: transform .35s var(--ease); }
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--plum); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: translateX(-50%) scale(1) rotate(45deg); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-social { display: flex; gap: 6px; }
.header-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--olive); transition: background .3s, color .3s; }
.header-social a:hover { background: var(--olive); color: var(--paper); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(50px, 6vw, 80px) 0 clamp(80px, 9vw, 120px);
  background: radial-gradient(800px 500px at 85% 30%, rgba(201, 163, 92, .18), transparent 70%), var(--cream); }
.sky .tw { position: absolute; color: var(--gold); animation: twinkle 3.2s ease-in-out infinite; }
.tw1 { width: 18px; height: 18px; left: 6%;  top: 16%; }
.tw2 { width: 10px; height: 10px; left: 42%; top: 10%; animation-delay: .6s !important; }
.tw3 { width: 14px; height: 14px; left: 48%; top: 72%; animation-delay: 1.2s !important; color: var(--plum) !important; }
.tw4 { width: 8px;  height: 8px;  left: 12%; top: 82%; animation-delay: 1.8s !important; }
.tw5 { width: 22px; height: 22px; right: 4%; top: 12%; animation-delay: .3s !important; }
.tw6 { width: 12px; height: 12px; right: 44%; top: 40%; animation-delay: 2.2s !important; color: var(--olive) !important; }
.tw7 { width: 9px;  height: 9px;  right: 8%; bottom: 10%; animation-delay: 1.5s !important; }
.tw8 { width: 16px; height: 16px; left: 30%; top: 4%; animation-delay: 2.6s !important; color: var(--plum) !important; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero-title { font-size: clamp(44px, 5.6vw, 80px); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 26px; color: var(--forest); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.05em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--plum); }
.hero-text { max-width: 520px; font-size: 18.5px; margin-bottom: 34px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-shop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 38px; padding-top: 24px; border-top: 1px dashed rgba(47, 42, 38, .2); font-size: 15px; }
.hero-shop span { color: var(--muted); width: 100%; }
.hero-shop a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--olive); color: var(--paper); font-weight: 600; transition: background .3s, transform .3s var(--ease); }
.hero-shop a:hover { background: var(--forest); transform: translateY(-2px); }

.hero-art { position: relative; width: 100%; max-width: 500px; justify-self: end; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 260px 260px 24px 24px; overflow: hidden; box-shadow: var(--shadow); background: #2b1d14; }
.arch::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 236, 200, .45); border-radius: 250px 250px 14px 14px; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; animation: drift 20s ease-in-out infinite alternate; }
.glow { position: absolute; inset: 0; background: radial-gradient(400px 260px at 50% 35%, rgba(255, 200, 120, .35), transparent 70%); mix-blend-mode: screen; animation: flicker 5s ease-in-out infinite; }
.polaroid { position: absolute; left: -60px; bottom: -40px; width: 170px; margin: 0; padding: 10px 10px 0; background: var(--paper); border-radius: 6px; box-shadow: 0 26px 40px -20px rgba(47, 42, 38, .55); transform: rotate(-7deg); animation: sway 7s ease-in-out infinite; }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { text-align: center; padding: 8px 0 10px; font-family: var(--serif); font-style: italic; color: var(--plum); font-size: 17px; }
.emblem { position: absolute; right: -30px; top: 30px; width: 120px; height: 120px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 20px 40px -20px rgba(47, 42, 38, .5); }
.emblem::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(91, 97, 70, .5); animation: spin 30s linear infinite; }
.emblem img { width: 84px; height: 84px; object-fit: contain; animation: float 6s ease-in-out infinite; }

/* ---------- 6. Quote band ---------- */
.quote { position: relative; overflow: hidden; background: var(--plum-deep); color: var(--parch); padding: clamp(70px, 9vw, 110px) 0; text-align: center; }
.quote::before, .quote::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 163, 92, .22), transparent 65%); }
.quote::before { left: -140px; top: -180px; }
.quote::after { right: -140px; bottom: -200px; }
.quote-inner { position: relative; max-width: 900px; }
.q-star { width: 30px; height: 30px; color: var(--gold); margin: 0 auto 22px; animation: twinkle 3s ease-in-out infinite; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.35; color: var(--paper); }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ---------- 7. Ethos ---------- */
.ethos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ethos-media { position: relative; padding: 0 0 110px 60px; }
.e-img-1 { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.e-img-2 { position: absolute; left: 0; bottom: 0; width: 55%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--cream); box-shadow: var(--shadow); }
.e-note { position: absolute; right: -10px; bottom: 30px; max-width: 220px; display: flex; gap: 10px; padding: 16px 18px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); font-family: var(--serif); font-style: italic; color: var(--plum); line-height: 1.35; }
.e-note .icon { color: var(--gold); width: 16px; height: 16px; margin-top: 3px; }
.ethos-copy .lead { margin: 22px 0 16px; }
.ethos-points { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ethos-points li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.ethos-points span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--paper); }
.ethos-points .icon { width: 16px; height: 16px; }

/* ---------- 8. Founder ---------- */
.founder { background: var(--parch); }
.founder-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.founder-card { position: relative; background: var(--forest); color: rgba(255, 255, 255, .82); border-radius: 28px; padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); }
.founder-card h2 { color: var(--paper); font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 22px; }
.founder-card h2 em { color: var(--gold); }
.founder-card p + p { margin-top: 14px; }
.link-light { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 600; color: var(--gold); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-light:hover .icon { transform: translateX(4px); }
.link-light .icon { transition: transform .3s var(--ease); }

/* Pure-CSS bookshelf with a sliding ladder */
.shelf { position: relative; padding: 26px 26px 10px; background: #6B4A3A; border-radius: 18px; box-shadow: inset 0 0 0 10px #5A3D2F, var(--shadow); }
.shelf-row { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding: 0 12px; margin-bottom: 16px; border-bottom: 10px solid #4A3226; background: linear-gradient(180deg, #3A2820, #4A3226); border-radius: 4px; }
.shelf-row i { width: 22px; height: var(--h); background: var(--c); border-radius: 3px 3px 0 0; box-shadow: inset -3px 0 0 rgba(0, 0, 0, .15), inset 0 8px 0 rgba(255, 255, 255, .12); transform-origin: bottom; transition: transform .4s var(--ease); }
.shelf-row i:nth-child(odd) { width: 18px; }
.shelf-row i.lean { transform: rotate(10deg); margin-left: 8px; }
.shelf-row i:hover { transform: translateY(-10px); }
.shelf-row .plant { width: 34px; height: 46px; margin: 0 6px; background: radial-gradient(circle at 50% 30%, #6E8B4E 40%, transparent 42%), linear-gradient(#B07A4F, #B07A4F) bottom / 70% 40% no-repeat; border-radius: 4px; }
.shelf-row .stack { width: 46px; height: 34px; margin: 0 6px; background: repeating-linear-gradient(180deg, #D9B8A0 0 8px, #7A4E6E 8px 16px, #5B6146 16px 24px); border-radius: 2px; }
.ladder { position: absolute; top: 6px; bottom: 0; left: 22%; width: 52px; border-left: 5px solid #C49A6C; border-right: 5px solid #C49A6C;
  background: repeating-linear-gradient(180deg, transparent 0 30px, #C49A6C 30px 35px); transform: rotate(6deg); transform-origin: top; animation: slide 9s ease-in-out infinite; }
.ladder span { position: absolute; top: -8px; left: -12px; right: -12px; height: 6px; background: #8B6A4A; border-radius: 3px; }
.shelf-star { position: absolute; right: 18px; top: -14px; width: 30px; height: 30px; color: var(--gold); animation: twinkle 3s ease-in-out infinite; }

/* ---------- 9. Book clubs ---------- */
.club-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.club { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.club:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow); }
.club-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.club-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.club:hover .club-img img { transform: scale(1.08); }
.genre { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(251, 248, 241, .94); font-size: 12.5px; font-weight: 600; color: var(--plum); }
.club-body { padding: 22px 22px 26px; }
.club h3 { font-size: 21px; margin-bottom: 10px; color: var(--forest); }
.club p { font-size: 15.5px; line-height: 1.65; }
.clubs-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; padding: 26px 32px; border-radius: var(--radius); background: var(--paper); border: 1px dashed rgba(122, 78, 110, .4); }
.clubs-cta blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--plum); }
.clubs-cta cite { font-style: normal; font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 6px; }

/* ---------- 10. Shop ---------- */
.shop { background: var(--paper); padding: clamp(70px, 8vw, 100px) 0; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.shop-copy .section-title { margin-bottom: 14px; font-size: clamp(28px, 3.4vw, 42px); }
.shop-cards { display: grid; gap: 16px; }
.shop-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); transition: background .4s, color .4s, transform .4s var(--ease); }
.shop-card h3 { font-size: 26px; color: var(--forest); transition: color .4s; }
.shop-card p { font-size: 15px; }
.sc-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--paper); flex-shrink: 0; }
.sc-icon .icon { width: 22px; height: 22px; }
.sc-arrow { margin-left: auto; color: var(--olive); transition: transform .3s var(--ease); }
.shop-card:hover { background: var(--olive); color: rgba(255, 255, 255, .85); transform: translateX(6px); }
.shop-card:hover h3, .shop-card:hover .sc-arrow { color: var(--paper); }
.shop-card:hover .sc-icon { background: var(--paper); color: var(--olive); }
.shop-card:hover .sc-arrow { transform: translateX(4px); }

/* ---------- 11. Newsletter ---------- */
.news { padding: var(--section) 0 0; }
.news-card { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 28px; overflow: hidden; background: var(--plum); box-shadow: var(--shadow); }
.news-card > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.news-copy { padding: clamp(30px, 5vw, 56px); color: rgba(255, 255, 255, .85); }
.news-copy .kicker { color: var(--parch); }
.news-copy h2 { color: var(--paper); font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; }
.news-copy h2 em { color: var(--gold); }
.news-form { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.news-form input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; padding: 15px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: var(--paper); outline: none; transition: border-color .3s, background .3s; }
.news-form input::placeholder { color: rgba(255, 255, 255, .65); }
.news-form input:focus { border-color: var(--gold); background: rgba(255, 255, 255, .18); }
.news-form .btn { background: var(--paper); color: var(--plum-deep); box-shadow: none; }
.news-form .btn::before { background: var(--gold); }

/* ---------- 12. Visit ---------- */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: stretch; }
.visit-copy .section-title { margin-bottom: 26px; }
.visit-info li { display: flex; gap: 14px; padding: 10px 0; }
.visit-info .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--plum); }
.visit-info b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.visit-info span, .visit-info a { color: var(--ink); font-weight: 500; }
.visit-info a:hover { color: var(--plum); }
.hours { margin: 16px 0 26px; padding: 8px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: 10px; font-size: 15.5px; }
.hours li span:last-child { color: var(--ink); font-weight: 500; }
.hours li.is-today { background: var(--plum); color: rgba(255, 255, 255, .85); }
.hours li.is-today span:last-child { color: var(--paper); }
.hours li.is-today span:first-child::after { content: " · Today"; color: var(--gold); font-weight: 600; }
.map { border-radius: 28px; overflow: hidden; min-height: 460px; background: var(--parch); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: sepia(.3) saturate(.85); }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--forest); color: rgba(255, 255, 255, .72); padding: 80px 0 30px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: 110px; height: 110px; object-fit: contain; padding: 10px; border-radius: 50%; background: var(--cream); margin-bottom: 18px; }
.footer-brand p { max-width: 280px; }
.site-footer h4 { color: var(--paper); font-size: 22px; margin-bottom: 16px; }
.footer-links li + li { margin-top: 9px; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); color: var(--paper); transition: background .3s, color .3s, transform .3s var(--ease); }
.footer-social a:hover { background: var(--gold); color: var(--forest); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13.5px; color: rgba(255, 255, 255, .45); }

/* ---------- 14. Animations ---------- */
@keyframes rise    { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes artIn   { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }
@keyframes drift   { from { transform: scale(1.05) translateY(0); } to { transform: scale(1.14) translateY(-3%); } }
@keyframes flicker { 0%, 100% { opacity: .8; } 45% { opacity: 1; } 50% { opacity: .65; } 55% { opacity: .95; } }
@keyframes sway    { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-8px); } }
@keyframes float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes slide   { 0%, 100% { left: 18%; } 50% { left: 66%; } }

.is-loaded .hero-title .line > span { animation: rise 1.1s var(--ease) var(--d, 0s) both; }
.is-loaded .anim { animation: fadeUp .9s var(--ease) var(--d, 0s) both; }
.is-loaded .anim-art { animation: artIn 1.3s var(--ease) var(--d, 0s) both; }

.js-reveal .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav ul { gap: 24px; }
  .header-social { display: none; }
  .topbar .topbar-mid { display: none; }
  .club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--cream);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 14px; }
  .main-nav a:not(.btn) { font-family: var(--display); font-size: 30px; }
  .nav-cta { display: inline-flex; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open.site-header { backdrop-filter: none; background: var(--cream); }

  .hero-grid, .ethos-grid, .founder-inner, .shop-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 440px; margin-top: 20px; }
  .ethos-media { max-width: 600px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .news-card { grid-template-columns: 1fr; }
  .news-card > img { min-height: 0; aspect-ratio: 16 / 9; }
  .map, .map iframe { min-height: 340px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar { font-size: 12.5px; }
  .topbar-inner { gap: 10px; }
  .topbar p { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar a { flex-shrink: 0; }
  .header-inner, .is-scrolled .header-inner { height: 72px; }
  .logo img { width: 50px; height: 50px; }
  .logo-text { font-size: 19px; }
  .hero-title { font-size: clamp(36px, 10.5vw, 48px); }
  .hero-text { font-size: 16.5px; }
  .tw1, .tw2, .tw3, .tw8 { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-art { max-width: 320px; }
  .polaroid { width: 120px; left: -14px; bottom: -30px; }
  .polaroid figcaption { font-size: 14px; }
  .emblem { width: 90px; height: 90px; right: -10px; top: 14px; }
  .emblem img { width: 62px; height: 62px; }
  .ethos-media { padding: 0 0 80px 24px; }
  .e-note { right: 0; bottom: 10px; max-width: 170px; font-size: 14px; padding: 12px 14px; }
  .club-grid { grid-template-columns: 1fr; }
  .clubs-cta { padding: 22px; }
  .clubs-cta blockquote { font-size: 20px; }
  .clubs-cta .btn { width: 100%; }
  .shelf { padding: 18px 14px 6px; }
  .shelf-row { height: 90px; gap: 3px; padding: 0 8px; }
  .shelf-row i { width: 16px; }
  .shelf-row i:nth-child(odd) { width: 13px; }
  .news-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
