:root {
  --bg: #f7f0e8;
  --surface: #fffaf4;
  --ink: #2e1f18;
  --muted: #6d5648;
  --line: #d8c3b1;
  --accent: #8b3e2f;
  --accent-2: #b8843a;
  --deep: #395044;
  --card: #f2e6da;
  --max: 1180px;
  --shadow: 0 14px 40px rgba(46, 31, 24, 0.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.topbar {
  background: var(--deep);
  color: #f5efe9;
  text-align: center;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,240,232,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216,195,177,.75);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 0.95;
  color: var(--accent);
}
.logo small {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: .06em;
  margin-top: 4px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--muted);
}
.navlinks a:hover,
.navlinks a.active { color: var(--accent); }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.btn, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: .2s ease;
}
.btn {
  background: var(--accent);
  color: #fff7f3;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--accent);
  background: transparent;
}
main { min-height: 70vh; }
.hero {
  padding: 60px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: center;
}
.kicker, .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.hero h1, h1.page-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  margin: 12px 0 18px;
  letter-spacing: -0.03em;
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 62ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.figure-card {
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216,195,177,.8);
}
.figure-card img { width: 100%; height: 100%; object-fit: cover; }
.figure-card figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255,250,244,0), rgba(255,250,244,1));
}
.ribbon {
  margin: 20px 0 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.4);
}
.ribbon .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ribbon span {
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}
section { padding: 70px 0; }
.page-hero { padding: 50px 0 30px; }
.page-hero .intro { max-width: 70ch; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: center; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  background: var(--surface);
  border: 1px solid rgba(216,195,177,.85);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-body { padding: 22px; }
.card h3, .card h4 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; }
.card p { margin: 0; color: var(--muted); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.stat {
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.stat strong { display: block; font-family: Georgia, serif; font-size: 28px; color: var(--accent); margin-bottom: 8px; }
.split-visual img, .card img, .gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.muted-block {
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,245,237,.9));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.list li + li { margin-top: 10px; }
.quote {
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.3;
  color: var(--accent);
  margin: 0 0 18px;
}
.note {
  background: #fff5ec;
  border: 1px solid #e8c7aa;
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
}
.contact-box {
  background: var(--deep);
  color: #f4ece6;
  border-radius: 28px;
  padding: 28px;
}
.contact-box p, .contact-box li { color: rgba(244,236,230,.84); }
form {
  background: var(--surface);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216,195,177,.85);
}
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
input, select, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; }
#status, .small { font-size: 14px; color: var(--muted); }
footer {
  background: #241813;
  color: #efe5dc;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 52px 0 28px;
}
footer p, footer a { color: rgba(239,229,220,.8); }
footer h4 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: #f8efe7; }
footer a { display: block; margin: 8px 0; }
.copyright {
  padding: 16px 0 30px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: rgba(239,229,220,.65);
  font-size: 13px;
}
@media (max-width: 980px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .gallery, .footer-grid, .stat-grid, .ribbon .wrap { grid-template-columns: 1fr; }
  .navlinks {
    display: none;
    position: absolute;
    right: 20px;
    top: 80px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    min-width: 250px;
  }
  .navlinks.open { display: flex; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 620px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .hero { padding-top: 36px; }
  .hero h1, h1.page-title { font-size: 42px; }
  section { padding: 54px 0; }
  .figure-card { border-radius: 20px; }
  .card, form, .contact-box, .muted-block { border-radius: 20px; }
}

h2{font-family:Georgia,serif;font-size:clamp(32px,4.3vw,56px);line-height:1.12;margin:12px 0 20px} .image-label{display:block;padding:5px 14px;font-size:11px;color:#705b50;background:#f4e8dc}.textlink{display:inline-block;margin-top:14px;color:var(--accent);font-size:14px;font-weight:600}.dark-section{background:var(--deep);color:#fffaf4}.dark-section .eyebrow{color:#e8c49c}figure{margin:0}footer>.small{padding-top:18px;color:#e5cdbc}
.badges{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0;padding:0;list-style:none}.badges li{padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fffdf9;color:var(--muted);font-size:13px}.founder-quote{font-family:Georgia,serif;font-size:28px;line-height:1.35;color:var(--accent);margin:0 0 18px}.section-head{max-width:760px;margin-bottom:26px}.section-head p{color:var(--muted)}.photo-grid{display:grid;grid-template-columns:1.1fr .9fr .9fr;gap:24px}.photo-grid .card img{aspect-ratio:4/3;object-fit:cover}.mini-meta{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:var(--accent);font-weight:700}.social-link{display:inline-flex;align-items:center;gap:10px;margin-top:16px;color:var(--accent);font-weight:600}.caption-note{font-size:13px;color:var(--muted);margin-top:10px}.hero .figure-card img{aspect-ratio:4/4.4;object-position:center top}.founder-photo img{aspect-ratio:4/4.2;object-position:center top}.wide-visual img{aspect-ratio:16/10;object-fit:cover}.stacked{display:grid;gap:24px}.tight p{margin-top:0}.textlink{display:inline-block;margin-top:14px;color:var(--accent);font-size:14px;font-weight:600}
@media (max-width:980px){.photo-grid{grid-template-columns:1fr}.hero .figure-card img,.founder-photo img{aspect-ratio:4/3}}

/* Accessibility and narrow-screen safeguards; desktop design retained. */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { cursor: pointer; }
@media (max-width: 980px) { .navlinks { top: 100%; max-width: calc(100vw - 40px); } }
@media (max-width: 620px) { .hero-grid, .grid-2, .grid-3, .grid-4, .photo-grid { gap: 20px; } .topbar { font-size: 10px; } .hero h1, h1.page-title { overflow-wrap: anywhere; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .btn-ghost { transition: none; } }

/* ——— Dynamic / live-feel layer ——— */
body.is-booting main,
body.is-booting footer {
  opacity: 0;
}
body.is-ready main,
body.is-ready footer {
  opacity: 1;
  transition: opacity .45s ease;
}
body.is-leaving .page-veil {
  opacity: 1;
  pointer-events: auto;
}
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(184, 132, 58, .18), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(57, 80, 68, .22), transparent 45%),
    #2a1c16;
  color: #f7ebe2;
  transition: opacity .45s ease, visibility .45s ease;
}
body.is-ready .boot-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot-panel { text-align: center; width: min(280px, 70vw); }
.boot-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  letter-spacing: -.02em;
  color: #f3d4c0;
}
.boot-brand span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: rgba(243, 212, 192, .7);
  letter-spacing: .08em;
}
.boot-bar {
  margin: 22px auto 14px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.boot-bar span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8843a, #e8c49c, #b8843a);
  background-size: 200% 100%;
  animation: boot-slide 1.1s ease-in-out infinite;
}
.boot-status {
  margin: 0;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247, 235, 226, .72);
}
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dba8a;
  box-shadow: 0 0 0 0 rgba(125, 186, 138, .55);
  animation: pulse-dot 1.8s ease-out infinite;
  vertical-align: middle;
}
.live-label {
  font-weight: 700;
  letter-spacing: .12em;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.topbar-sep { opacity: .45; }
[data-live-msg] { transition: opacity .22s ease, transform .22s ease; }
[data-live-msg].is-swapping {
  opacity: 0;
  transform: translateY(4px);
}
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--deep);
  font-weight: 700;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}
.filter-chip {
  border: 1px solid var(--line);
  background: rgba(255,253,249,.9);
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  transition: .2s ease;
}
.filter-chip:hover { color: var(--accent); border-color: #c9a58d; }
.filter-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff7f3;
}
.skeleton {
  display: block;
  border-radius: 12px;
  background: linear-gradient(90deg, #eadccd 0%, #f6eee4 45%, #eadccd 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
.skeleton-card .skeleton-media {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.skeleton-line {
  height: 12px;
  margin-top: 12px;
}
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-70 { width: 70%; }
.grid-3.is-refreshing { min-height: 220px; }
.empty-state {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.35);
}
.js-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease var(--reveal-delay, 0ms), transform .55s ease var(--reveal-delay, 0ms);
}
.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.soft-img {
  opacity: 0;
  filter: saturate(.85);
  transition: opacity .5s ease, filter .5s ease;
}
.soft-img.is-loaded {
  opacity: 1;
  filter: none;
}
.sync-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,247,243,.35);
  border-top-color: #fff7f3;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.card, .btn, .btn-ghost, .filter-chip {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-3px); }
@keyframes boot-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(125, 186, 138, .55); }
  70% { box-shadow: 0 0 0 8px rgba(125, 186, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 186, 138, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .boot-bar span, .live-dot, .skeleton, .btn-spinner { animation: none; }
  .js-reveal { opacity: 1; transform: none; transition: none; }
  .soft-img { opacity: 1; filter: none; }
  body.is-booting main, body.is-booting footer { opacity: 1; }
  .card:hover { transform: none; }
}
