/* ---------- Brand tokens (sampled from the Fity's anchor logo) ---------- */
:root {
  --navy: #1C354C;        /* logo navy — primary */
  --navy-deep: #12253A;
  --red: #9E2E3A;         /* logo barley red — accent */
  --red-bright: #B8394A;
  --sail: #F3F4F6;        /* logo background gray-white */
  --paper: #FFFFFF;
  --rope: #C9A878;
  --ink: #18222D;
  --muted: #5B6672;
  --radius: 14px;
  --maxw: 1160px;
  --font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--sail); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.01em; }
section { padding: clamp(64px, 9vw, 112px) max(16px, calc((100vw - var(--maxw)) / 2)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--red); margin: 0 0 .9rem; }
.sub { color: var(--muted); max-width: 58ch; margin: 0; }
.section-head { margin-bottom: 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .9rem;
  letter-spacing: .08em; text-transform: uppercase; font-family: inherit;
  background: var(--red); color: #fff; padding: 1em 1.7em; border-radius: 6px; border: 2px solid var(--red);
  cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--red-bright); border-color: var(--red-bright); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-small { padding: .6em 1.1em; font-size: .78rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 10px max(16px, calc((100vw - var(--maxw)) / 2));
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28,53,76,.1);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.brand small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin-top: .3em; }
.nav nav { display: flex; align-items: center; gap: 1.5rem; }
.nav nav a:not(.btn) { text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.nav nav a:not(.btn):hover { color: var(--red); }
@media (max-width: 760px) { .nav nav a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  background: radial-gradient(circle at 25% 50%, #fff 0, #fff 30%, var(--sail) 70%);
}
.hero-logo img { width: min(440px, 100%); height: auto; margin-inline: auto; }
.badge {
  display: inline-flex; align-items: center; gap: .5em; margin: 0 0 1.2rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; padding: .45em 1em;
}
.star { color: var(--red); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.02em; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 48ch; margin: 0 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-logo img { width: min(280px, 80%); }
  .lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
}

/* rope divider */
.rope {
  height: 14px; background:
    repeating-linear-gradient(-55deg, var(--rope) 0 7px, #A8875A 7px 10px, var(--rope) 10px 14px);
  border-block: 2px solid var(--navy);
}

/* ---------- Brewhouse ---------- */
.brewhouse { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; background: var(--paper); }
.brewhouse-photo { margin: 0; position: relative; }
.brewhouse-photo img { border-radius: var(--radius); width: 100%; height: auto; box-shadow: 16px 16px 0 var(--navy); }
.brewhouse-text p { color: var(--muted); max-width: 54ch; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.facts li { border-top: 3px solid var(--red); padding-top: .7rem; }
.facts strong { display: block; color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.facts span { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 860px) { .brewhouse { grid-template-columns: 1fr; } .brewhouse-photo img { box-shadow: 10px 10px 0 var(--navy); } }

/* ---------- Beer ---------- */
.beers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.beer-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 1.2rem; border: 1px solid rgba(28,53,76,.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.beer-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(28,53,76,.45); }
.beer-card img { width: 150px; height: 150px; object-fit: cover; border-radius: 10px; }
.beer-card h3 { font-size: 1.35rem; font-weight: 800; }
.beer-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.beer-card .style { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: .35rem; }
@media (max-width: 420px) { .beer-card { grid-template-columns: 1fr; } .beer-card img { width: 100%; height: auto; aspect-ratio: 1; } }

/* ---------- Events ---------- */
.events { background: var(--navy); color: #fff; }
.section-head.light h2 { color: #fff; }
.section-head.light .eyebrow { color: #E9A3AC; }
.section-head.light .sub { color: rgba(255,255,255,.75); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 3px solid rgba(255,255,255,.12); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Updates ---------- */
.updates { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.updates-head { position: sticky; top: 100px; }
.skull { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; margin-top: 2rem; border: 4px solid var(--navy); }
.feed { display: grid; gap: 1rem; }
.fb-card {
  background: var(--paper); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(28,53,76,.1); box-shadow: 0 24px 50px -30px rgba(28,53,76,.55);
}
.fb-card-head { display: flex; align-items: center; gap: .9rem; }
.fb-card-head img { width: 64px; height: 64px; border-radius: 50%; background: var(--sail); padding: 3px; border: 2px solid var(--navy); }
.fb-card-head strong { display: block; color: var(--navy); font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.fb-card-head span { font-size: .85rem; color: var(--muted); }
.fb-mark { width: 36px; height: 36px; margin-left: auto; flex: none; fill: #fff; background: #1877F2; border-radius: 50%; padding: 6px 4px 0; }
.fb-card-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 1.4rem 0; }
.fb-card-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.fb-card-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .55rem; }
.fb-card-list li { padding-left: 1.6rem; position: relative; color: var(--ink); font-weight: 500; }
.fb-card-list li::before { content: "⚓"; position: absolute; left: 0; color: var(--red); }
.fb-card-btn { width: 100%; text-align: center; }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(28,53,76,.1); text-decoration: none; display: block; transition: transform .2s ease; }
.post:hover { transform: translateY(-3px); }
.post img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-body { padding: 1.2rem 1.4rem; }
.post time { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.post p { margin: .4rem 0 0; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.feed-more { justify-self: start; }
@media (max-width: 860px) { .updates { grid-template-columns: 1fr; } .updates-head { position: static; } .skull { display: none; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep); color: #fff;
  padding: 56px max(16px, calc((100vw - var(--maxw)) / 2)) 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { background: var(--sail); border-radius: 50%; padding: 4px; }
.footer-brand strong { display: block; font-size: 1.15rem; font-weight: 800; }
.footer-brand span, .footer-brand a { display: block; opacity: .7; font-size: .88rem; text-decoration: none; }
.footer-brand a:hover { opacity: 1; text-decoration: underline; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); transition: background .15s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.fine { grid-column: 1 / -1; margin: 0; font-size: .78rem; opacity: .55; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; }
@media (max-width: 640px) { .footer { grid-template-columns: 1fr; } }
