/* The Bearded Eagle — first-pass brochure.
   Shop markup uses WooCommerce class names so this can become a theme later.
   Tokens below are the brand kit from the uploaded crest. */

@font-face {
  font-family: Cinzel;
  src: url("../assets/fonts/Cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/SourceSans3.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --bg: #0c0b09;
  --bg-2: #16140f;
  --bg-3: #211d16;
  --cream: #f6efe2;
  --cream-dim: #cfc3ae;
  --muted: #b7ab96;
  --gold: #e4c98a;
  --gold-deep: #b8893e;
  --line: rgba(228, 201, 138, 0.38);
  --red: #a33332;
  --blue: #1d4e89;
  --white: #fffaf2;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --header: 76px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(228, 201, 138, 0.08), transparent 55%),
    var(--bg);
  color: var(--cream);
  font-family: "Source Sans 3", "Source Sans", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--white); }
h1, h2, h3, .brand-name, .price, .menu strong {
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; margin: 0.2em 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; margin: 0 0 0.4em; }
h3 { font-size: 1.15rem; margin: 0 0 0.35em; }
p { margin: 0 0 0.8em; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--gold); color: #1a140c;
  padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.eyebrow {
  font-family: Cinzel, serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0 0 0.6em;
}

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  min-height: var(--header);
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { width: 54px; height: 52px; object-fit: contain; }
.brand-name { font-size: 0.95rem; line-height: 1.15; }
.brand-name small { display: block; font-family: "Source Sans 3", sans-serif; letter-spacing: 0.16em; font-size: 0.68rem; color: var(--gold); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav a { color: var(--cream); text-decoration: none; font-size: 0.98rem; }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a:hover { color: var(--gold); }
.menu-btn {
  display: none; margin-left: auto;
  background: transparent; color: var(--cream);
  border: 1px solid var(--line); padding: 8px 12px; font: inherit; cursor: pointer;
}
.bag {
  background: transparent; color: var(--cream); border: 1px solid var(--line);
  padding: 8px 12px; font: inherit; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
}
.bag b {
  min-width: 1.4em; text-align: center; background: var(--gold); color: #1a140c;
  border-radius: 99px; font-size: 0.8rem; padding: 0 6px;
}
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--gold); color: #1a140c; border: 1px solid var(--gold);
  padding: 0.72em 1.15em; font-family: Cinzel, serif; letter-spacing: 0.08em;
  font-size: 0.82rem; text-transform: uppercase;
}
.btn:hover { background: var(--white); color: #1a140c; border-color: var(--white); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: var(--gold); color: #1a140c; }
button.btn { font: inherit; font-family: Cinzel, serif; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }

.hero { padding: 42px 0 28px; text-align: center; }
.crest-frame {
  width: min(440px, 86vw); margin: 0 auto 18px;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 45%, rgba(228, 201, 138, 0.08), transparent 60%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 6px #0c0b09, inset 0 0 0 7px var(--line);
}
.crest-frame img { width: 100%; height: auto; }
.hero h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.lede { font-size: 1.2rem; color: var(--cream-dim); max-width: 42rem; }
.hero .lede { margin: 0 auto 1.2rem; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #100e0b;
}
.strip ul {
  list-style: none; margin: 0; padding: 14px 0;
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between;
}
.strip li { font-family: Cinzel, serif; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); }
.strip strong { color: var(--gold); font-weight: 600; }

.section { padding: 72px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 40%), var(--bg-2); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
.split img, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame { border: 1px solid var(--line); box-shadow: var(--shadow); }
.note { color: var(--muted); font-size: 0.92rem; }

.mosaic {
  display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 190px 190px 190px; gap: 10px;
}
.mosaic figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figure:first-child { grid-row: 1 / span 3; }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  font-size: 0.85rem; color: var(--cream);
}

.menu { list-style: none; margin: 0; padding: 0; }
.menu li {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.menu strong { font-size: 1.05rem; }
.menu .time { display: block; color: var(--muted); font-size: 0.92rem; font-family: "Source Sans 3", sans-serif; letter-spacing: 0; font-weight: 400; }
.menu em { font-style: normal; font-family: Cinzel, serif; color: var(--gold); font-size: 1.15rem; }

.quote {
  margin: 0; padding: 28px; border-left: 3px solid var(--gold);
  background: var(--bg-3); color: var(--cream);
  font-size: 1.25rem;
}
.quote footer { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }

.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.chair { background: var(--bg); border: 1px solid var(--line); }
.chair img, .ph {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 15%; background: #1a1712;
}
.ph { display: grid; place-items: center; font-family: Cinzel, serif; font-size: 1.6rem; color: var(--gold); }
.chair div { padding: 10px 12px 14px; }
.chair h3 { font-size: 0.95rem; }
.chair p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.visit { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 28px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--gold); font-family: Cinzel, serif; font-size: 0.92rem; }
.card {
  border: 1px solid var(--line); padding: 18px 18px 8px; background: rgba(0,0,0,.25);
}

.page-head { padding: 48px 0 10px; }
.page-head h1 { max-width: 18ch; }

.feed-layout { display: grid; grid-template-columns: 1fr 420px; gap: 28px; align-items: start; }
.posts { display: grid; gap: 14px; }
.post {
  border: 1px solid var(--line); padding: 16px 18px; background: var(--bg-2);
}
.post header { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; }
.post h3 { font-family: "Source Sans 3", sans-serif; letter-spacing: 0; font-weight: 600; font-size: 1rem; }
.embed-box { border: 1px solid var(--line); background: #0a0908; min-height: 520px; }
.embed-box iframe { width: 100%; height: 640px; border: 0; background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery figure { margin: 0; border: 1px solid var(--line); background: #000; }
.gallery img { width: 100%; height: 240px; object-fit: cover; }
.gallery figcaption { padding: 8px 10px 12px; color: var(--muted); font-size: 0.86rem; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.filters button[aria-pressed="true"] { background: var(--gold); color: #1a140c; }

ul.products {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
li.product {
  border: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column; min-height: 100%;
}
.product-media { aspect-ratio: 1; overflow: hidden; background: #090807; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media img.fit { object-fit: contain; background: #0c0b09; padding: 8px; }
.emblem {
  height: 100%; display: grid; place-items: center; text-align: center; padding: 18px;
  background:
    radial-gradient(circle at 50% 40%, rgba(228,201,138,.16), transparent 62%),
    #0c0b09;
}
.emblem img { width: 120px; height: auto; margin: 0 auto 8px; }
.emblem span { font-family: Cinzel, serif; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold); }
.product .pad { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.woocommerce-loop-product__title { font-size: 1.05rem; margin: 0; }
.price { color: var(--gold); font-size: 1.05rem; }
.tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line); padding: 2px 6px;
}
.product .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.product p { color: var(--cream-dim); font-size: 0.95rem; }

.drawer-back {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 40;
}
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: #14120e; border-left: 1px solid var(--line); z-index: 41;
  padding: 22px; overflow: auto; box-shadow: var(--shadow);
}
.drawer header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
[hidden] { display: none !important; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 28px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer h3 { color: var(--cream); }
.site-footer a { color: var(--gold); }
.legal { margin-top: 22px; font-size: 0.85rem; }

@media (max-width: 980px) {
  .split, .feed-layout, .visit, .foot { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
  ul.products, .gallery { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 180px 180px; }
  .mosaic figure:first-child { grid-row: auto; grid-column: 1 / -1; height: 240px; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none; position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #120f0c; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a, .nav .bag, .nav .btn { padding: 12px 4px; }
  .team, ul.products, .gallery, .mosaic { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: none; }
  .mosaic figure, .mosaic figure:first-child { height: 220px; }
  .brand-name { font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
