/* styles.css */
:root {
  --bg: #efe0bf;
  --bg-deep: #dcc79f;
  --panel: #f5e8cb;
  --text: #2f2216;
  --muted: #64523e;
  --line: rgba(79, 55, 33, 0.35);

  --accent: #8f2d1f;
  --accent2: #4b6f7c;
  --link: #7a2418;

  --max: 1100px;
  --radius: 6px;
  --shadow: 0 12px 26px rgba(45, 29, 17, 0.2);
  --site-header-height: 0px;
  --sticky-gap: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  background:
    radial-gradient(1200px 620px at 15% 0%, rgba(164, 121, 60, 0.2), transparent 62%),
    radial-gradient(900px 560px at 90% 18%, rgba(138, 46, 33, 0.12), transparent 58%),
    repeating-linear-gradient(
      0deg,
      rgba(78, 53, 31, 0.018) 0 3px,
      rgba(255, 255, 255, 0.04) 3px 6px
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

a {
  color: var(--link);
  text-underline-offset: 2px;
}

a:hover {
  color: #5e170f;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: #f7ecdc;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #522117;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
  z-index: 99;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.m-0 {
  margin: 0;
}

.pt-18 {
  padding-top: 18px;
}

.ml-10 {
  margin-left: 10px;
}

.text-muted {
  color: var(--muted);
}

.text-main {
  color: var(--text);
}

#mailing-list {
  scroll-margin-top: calc(var(--site-header-height) + var(--sticky-gap));
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(244, 230, 202, 0.97), rgba(232, 211, 174, 0.96));
  border-bottom: 3px double var(--line);
  box-shadow: 0 4px 10px rgba(60, 39, 23, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.header-cta {
  margin-left: auto;
  white-space: nowrap;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #4f3721;
  background:
    radial-gradient(circle at 35% 30%, #d8c199, #ad8f62 65%, #8f6f49);
  box-shadow: inset 0 0 0 2px rgba(249, 241, 222, 0.45);
  position: relative;
}

.logo::before {
  content: "S";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #3f2818;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-title strong {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-title span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #6d4c2f;
  border-radius: 3px;
  background: #ead6b2;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover {
  background: #f2e2c0;
}

.nav-toggle-icon {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.site-header.nav-open .nav-toggle-icon {
  background: transparent;
}

.site-header.nav-open .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.primary-nav a {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 3px;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.primary-nav a[aria-current="page"] {
  border-color: var(--line);
  background: rgba(123, 87, 52, 0.08);
}

.primary-nav a:hover {
  border-color: rgba(79, 55, 33, 0.4);
  background: rgba(123, 87, 52, 0.13);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 3px;
  border: 1px solid #6d4c2f;
  background: linear-gradient(180deg, #f3e4c4, #dcc39a);
  color: #3f2919;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  box-shadow: 0 3px 0 rgba(80, 54, 30, 0.35);
  text-decoration: none;
}

.btn:hover {
  background: linear-gradient(180deg, #f8edcf, #e5cc9f);
  color: #2e1d11;
}

.btn.primary {
  background: linear-gradient(180deg, #ad3d2d, #7c2418);
  color: #fbefdd;
  border-color: #562117;
  box-shadow: 0 3px 0 rgba(67, 24, 16, 0.45);
}

.btn.primary:hover {
  background: linear-gradient(180deg, #ba4735, #89291b);
}

.hero {
  padding: 46px 0 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  background:
    linear-gradient(180deg, rgba(250, 238, 214, 0.98), rgba(240, 223, 191, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

/* Double-line poster border detail */
.panel::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(93, 65, 40, 0.26);
  border-radius: 3px;
  pointer-events: none;
}

.hero-card {
  padding: 28px;
  overflow: hidden;
  position: relative;
}

.hero-montage {
  margin: 10px 0 14px;
  border: 1px solid rgba(93, 65, 40, 0.5);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(45, 29, 17, 0.18);
}

.hero-montage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.hero-card:before {
  content: "";
  position: absolute;
  inset: -58px -76px auto auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 40%, rgba(175, 61, 43, 0.22), transparent 60%),
    radial-gradient(circle at 65% 55%, rgba(75, 111, 124, 0.18), transparent 62%);
  transform: rotate(7deg);
  opacity: 0.95;
  pointer-events: none;
}

.kicker {
  color: #5f4d38;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(33px, 4.2vw, 56px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #3d2618;
}

h2,
h3 {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #3d2618;
}

.lead {
  color: #433224;
  font-size: 18px;
  max-width: 60ch;
}

.lead-full {
  max-width: none;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.side-card {
  padding: 20px;
}

.hero-sidebar {
  display: grid;
  gap: 16px;
  align-self: stretch;
  align-content: start;
  grid-auto-rows: max-content;
}

@media (min-width: 901px) {
  .hero-grid .side-card-sticky {
    position: sticky;
    top: calc(var(--site-header-height) + var(--sticky-gap));
    align-self: start;
  }
}

.side-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.meta {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.meta strong {
  color: var(--text);
  font-weight: 700;
}

.meta .row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}

.section {
  padding: 22px 0 46px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

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

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.form-intro {
  margin: 0 0 4px;
  color: var(--muted);
}

.form-trust {
  color: var(--muted);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

input[type="email"],
input[type="text"] {
  width: 100%;
  padding: 11px 13px;
  border-radius: 3px;
  border: 1px solid #7f5c39;
  background: #fbf0d7;
  color: var(--text);
  outline: none;
}

input[type="email"]:focus,
input[type="text"]:focus {
  border-color: #9a3525;
  box-shadow: 0 0 0 3px rgba(154, 53, 37, 0.18);
}

.mailing-list-iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  position: relative;
  top: -44px;
}

.form small {
  color: var(--muted);
}

.footer {
  padding: 28px 0 40px;
  border-top: 3px double var(--line);
  color: var(--muted);
  background: rgba(233, 211, 175, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .navbar {
    align-items: stretch;
    gap: 8px;
    padding: 8px 0;
  }

  .header-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .brand {
    gap: 8px;
    grid-column: 1 / -1;
  }

  .brand-title {
    min-width: 0;
  }

  .logo {
    width: 36px;
    height: 36px;
  }

  .brand-title strong {
    font-size: 18px;
  }

  .brand-title span {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .header-cta {
    margin-left: 0;
    grid-column: 1;
    justify-self: start;
    padding: 7px 10px;
    font-size: 11px;
    letter-spacing: 0.06em;
    box-shadow: none;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
  }

  .primary-nav {
    width: 100%;
  }

  .primary-nav ul {
    display: grid;
    gap: 6px;
    width: 100%;
  }

  .primary-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 9px 10px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 520px) {
  .brand-title span {
    display: none;
  }

  .header-cta {
    padding: 7px 8px;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav-toggle {
    padding: 8px;
    width: 38px;
    height: 34px;
  }
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid #7c5937;
  background: #ead6b2;
  color: #3e2a1a;
  padding: 6px 9px;
  border-radius: 3px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.embed {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f5e7c9;
  box-shadow: var(--shadow);
}

.embed iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
}

.calendar-embed-mobile {
  display: none;
}

.calendar-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .calendar-embed-desktop {
    display: none;
  }

  .calendar-embed-mobile {
    display: block;
  }

  .calendar-embed iframe {
    height: 560px;
  }

  .calendar-actions {
    justify-content: flex-start;
  }
}