* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.pbl-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(35, 48, 47, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(35, 48, 47, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
    #fffaf0;
  color: #24302f;
}

.pbl-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.pbl-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid rgba(36, 48, 47, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(36, 48, 47, 0.08);
}

.pbl-nav a {
  border-radius: 6px;
  padding: 8px 13px;
  color: #1f6e65;
  font-weight: 800;
  text-decoration: none;
}

.pbl-nav a:hover {
  background: rgba(47, 143, 131, 0.12);
}

.pbl-hero {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(36, 48, 47, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.96), rgba(255, 250, 240, 0.88) 56%, rgba(255, 250, 240, 0.35)),
    url("../assets/thumbs/pacbrewlab-site.jpg") center right / cover no-repeat;
  box-shadow: 0 18px 42px rgba(36, 48, 47, 0.13);
  padding: clamp(26px, 6vw, 66px);
}

.pbl-logo {
  width: min(100%, 270px);
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(36, 48, 47, 0.2));
}

.pbl-hero-copy {
  max-width: 600px;
  min-width: 0;
}

.pbl-kicker,
.pbl-section-heading p {
  margin: 0 0 10px;
  color: #9f362f;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pbl-hero h1 {
  margin: 0;
  color: #24302f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.pbl-hero-copy > p:not(.pbl-kicker) {
  max-width: 520px;
  margin: 18px 0 0;
  color: #33413f;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 650;
  line-height: 1.55;
}

.pbl-about,
.pbl-beers,
.pbl-archive-preview,
.pbl-blog,
.archive-list {
  margin-top: 22px;
}

.pbl-about {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.pbl-section-heading {
  position: sticky;
  top: 82px;
  border-left: 5px solid #2f8f83;
  padding: 4px 0 4px 18px;
}

.pbl-section-heading h2,
.pbl-archive-preview h2,
.pbl-blog h2 {
  margin: 0;
  color: #24302f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.05;
}

.pbl-copy-card,
.pbl-beer-grid a,
.pbl-archive-preview,
.pbl-blog,
.archive-list {
  min-width: 0;
  border: 1px solid rgba(36, 48, 47, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(36, 48, 47, 0.08);
}

.pbl-copy-card {
  padding: clamp(20px, 3vw, 30px);
  max-width: 760px;
}

.pbl-copy-card + .pbl-copy-card {
  grid-column: 2;
  margin-top: -4px;
}

.pbl-copy-card h3 {
  margin: 0 0 12px;
  color: #1f6e65;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.pbl-copy-card p {
  margin: 0;
  color: #2f3d3a;
  font-size: 1.06rem;
  line-height: 1.72;
}

.pbl-copy-card p + p {
  margin-top: 16px;
}

.pbl-copy-card a {
  color: #1f6e65;
  font-weight: 900;
}

.pbl-beers {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.pbl-beer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pbl-beer-grid a {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pbl-beer-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 143, 131, 0.38);
  box-shadow: 0 14px 30px rgba(36, 48, 47, 0.12);
}

.pbl-beer-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: contain;
  background: #f3efe6;
  padding: 18px;
}

.pbl-beer-grid div {
  border-top: 4px solid #2f8f83;
  padding: 16px;
}

.pbl-beer-grid h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.pbl-beer-grid p {
  margin: 4px 0 0;
  color: #66716e;
  font-weight: 800;
}

.pbl-beer-detail {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  border: 1px solid rgba(36, 48, 47, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(36, 48, 47, 0.12);
  padding: clamp(24px, 6vw, 64px);
}

.pbl-beer-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(47, 143, 131, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(243, 239, 230, 0.9), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.pbl-beer-detail-squid::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(47, 143, 131, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(36, 48, 47, 0.09), rgba(255, 255, 255, 0));
}

.pbl-beer-detail-nautilus::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(182, 75, 66, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(243, 239, 230, 0.95), rgba(255, 255, 255, 0));
}

.pbl-beer-detail-whipnose::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(193, 138, 49, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(243, 239, 230, 0.95), rgba(255, 255, 255, 0));
}

.pbl-label-stage,
.pbl-detail-copy {
  position: relative;
  z-index: 1;
}

.pbl-label-stage {
  margin: 0;
  border: 1px solid rgba(36, 48, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.84);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.45), 0 16px 30px rgba(36, 48, 47, 0.12);
}

.pbl-label-stage img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(36, 48, 47, 0.16));
}

.pbl-beer-detail h1 {
  margin: 0;
  color: #24302f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
}

.pbl-beer-style {
  margin: 10px 0 18px;
  color: #1f6e65;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900;
}

.pbl-beer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.pbl-beer-facts li {
  border: 1px solid rgba(47, 143, 131, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #1f6e65;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

.pbl-beer-detail p:not(.pbl-kicker):not(.pbl-beer-style) {
  max-width: 620px;
  margin: 0;
  color: #2f3d3a;
  font-size: 1.08rem;
  line-height: 1.7;
}

.pbl-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pbl-detail-actions a {
  border-radius: 6px;
  background: #2f8f83;
  color: #fff;
  padding: 11px 14px;
  font-weight: 900;
  text-decoration: none;
}

.pbl-detail-actions a:hover {
  background: #1f6e65;
}

.pbl-beer-pager {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pbl-beer-pager a {
  border: 1px solid rgba(36, 48, 47, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #1f6e65;
  padding: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(36, 48, 47, 0.07);
}

.pbl-beer-pager a:hover {
  border-color: rgba(47, 143, 131, 0.32);
  background: rgba(47, 143, 131, 0.08);
}

.pbl-archive-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  background: #f3efe6;
}

.pbl-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pbl-link-grid a {
  border: 1px solid rgba(47, 143, 131, 0.22);
  border-radius: 6px;
  background: #fff;
  color: #1f6e65;
  padding: 12px;
  font-weight: 900;
  text-align: center;
}

.pbl-link-grid a:hover {
  background: rgba(47, 143, 131, 0.1);
}

.pbl-blog {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
}

.pbl-blog img {
  width: 100%;
  max-width: 180px;
}

.pbl-blog p:not(.pbl-kicker) {
  max-width: 640px;
  margin: 12px 0 0;
  color: #33413f;
  font-size: 1.04rem;
  line-height: 1.65;
}

.archive-list {
  overflow: hidden;
}

.archive-list summary {
  cursor: pointer;
  background: #24302f;
  color: #fff;
  padding: 16px 18px;
  font-size: 1.1rem;
  font-weight: 900;
}

.archive-list summary:hover {
  background: #1f6e65;
}

.archive-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #e4ded1;
  line-height: 1.35;
}

.archive-list span {
  color: #66716e;
  font-size: 0.9rem;
  font-weight: 800;
}

.archive-list a {
  color: #1f6e65;
  font-weight: 900;
}

@media (max-width: 900px) {
  .pbl-shell {
    width: calc(100% - 20px);
    max-width: 720px;
  }

  .pbl-hero,
  .pbl-about,
  .pbl-beers,
  .pbl-archive-preview,
  .pbl-blog,
  .pbl-beer-detail {
    grid-template-columns: 1fr;
  }

  .pbl-hero {
    min-height: 0;
    background:
      linear-gradient(0deg, rgba(255, 250, 240, 0.96), rgba(255, 250, 240, 0.82)),
      url("../assets/thumbs/pacbrewlab-site.jpg") center / cover no-repeat;
  }

  .pbl-logo {
    width: 190px;
  }

  .pbl-section-heading {
    position: static;
  }

  .pbl-copy-card + .pbl-copy-card {
    grid-column: auto;
  }

  .pbl-beer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pbl-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pbl-nav a {
    text-align: center;
  }

  .pbl-hero {
    padding: 26px 20px 30px;
  }

  .pbl-logo {
    width: 170px;
  }

  .pbl-kicker,
  .pbl-section-heading p {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .pbl-hero h1 {
    font-size: 2.55rem;
    line-height: 0.98;
  }

  .pbl-hero-copy > p:not(.pbl-kicker) {
    font-size: 1rem;
  }

  .pbl-link-grid,
  .archive-list li,
  .pbl-beer-pager {
    grid-template-columns: 1fr;
  }
}

.blogspot-page {
  min-height: 100vh;
  background: #000;
  color: #333;
}

.blogspot-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, #030303 0 10px, #111 10px 21px);
}

.blogspot-shell {
  position: relative;
  width: min(1030px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.blogspot-header {
  border: 1px solid #5f5f5f;
  background: #1e1e1e;
  padding: 14px;
}

.blogspot-header img {
  display: block;
  width: 100%;
  background: #5e514a;
}

.blogspot-header h1 {
  margin: 0;
  background: #5e514a;
  color: #f44336;
  font-size: 4rem;
  padding: 40px 24px 0;
}

.blogspot-header p {
  margin: 0;
  background: #5e514a;
  color: #fff;
  padding: 0 24px 34px;
  font-weight: 800;
}

.blogspot-header nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 2px solid #aab123;
  background: #141414;
}

.blogspot-header nav a {
  padding: 9px 12px;
  color: #d52a33;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.blogspot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  margin-top: 22px;
}

.blog-post,
.blogspot-sidebar,
.blogspot-page .archive-list {
  border: 3px solid #aab123;
  background: #fefdfa;
}

.blog-post {
  margin-bottom: 18px;
  padding: 18px;
}

.blog-date {
  margin: 0 0 4px;
  color: #666;
  font-weight: 800;
}

.blog-post h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.blog-post h2 a {
  color: #333;
  text-decoration: none;
}

.blog-post p {
  margin: 0 0 12px;
}

.post-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.post-links a,
.blogspot-page .archive-list a {
  color: #d52a33;
  font-weight: 800;
}

.blogspot-sidebar {
  align-self: start;
  background: #141414;
  color: #d8d8d8;
  padding: 18px;
}

.blogspot-sidebar section + section {
  border-top: 2px solid #aab123;
  margin-top: 18px;
  padding-top: 18px;
}

.blogspot-sidebar h2 {
  margin: 0 0 6px;
  color: #d52a33;
  font-size: 1rem;
}

.blogspot-sidebar p {
  margin: 0;
}

.blogspot-page .archive-list {
  margin-top: 28px;
}

.blogspot-page .archive-list h2 {
  background: #141414;
  color: #d52a33;
  font-size: 1.4rem;
}

@media (max-width: 760px) {
  .pbl-header {
    min-height: auto;
  }

  .pbl-header nav {
    margin-top: 14px;
  }

  .pbl-header nav a {
    flex: 1 1 130px;
    font-size: 1.25rem;
    text-align: center;
  }

  .pbl-panel h1,
  .pbl-panel h2,
  .archive-list h2 {
    font-size: 2rem;
  }

  .archive-list li,
  .blogspot-layout {
    grid-template-columns: 1fr;
  }

  .archive-list li a {
    width: fit-content;
  }

  .blogspot-header nav {
    grid-template-columns: 1fr;
  }
}
