:root {
  --bg: #f2e6cf;
  --surface: #f8efde;
  --surface-2: #fff8ec;
  --surface-3: #ead8b7;
  --text: #2f1d16;
  --muted: #6f5647;
  --red: #b23124;
  --red-dark: #862015;
  --yellow: #e0b333;
  --green: #2e6a43;
  --green-dark: #204d31;
  --cream: #f7f0e2;
  --border: rgba(62, 35, 20, 0.18);
  --shadow: 0 18px 45px rgba(70, 34, 12, 0.16);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1220px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(180deg, #f6ecd8 0%, #efe2c7 100%);
  color: var(--text);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 999;
  background: #fff;
  padding: 8px 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(247, 240, 226, 0.82);
  border-bottom: 1px solid rgba(91, 47, 20, 0.12);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--red);
}
.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
}
.site-nav a:not(.btn-member):hover {
  background: rgba(178, 49, 36, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(85, 32, 19, 0.72) 0%, rgba(85, 32, 19, 0.42) 45%, rgba(85, 32, 19, 0.18) 100%),
    url('./assets/hero-bg.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 224, 178, 0.18), rgba(83, 28, 16, 0.22));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
  gap: 32px;
  padding: 72px 0 96px;
}
.hero-copy {
  padding: 38px;
  border-radius: 34px;
  background: rgba(72, 24, 13, 0.42);
  border: 1px solid rgba(255, 241, 216, 0.22);
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: #ffe39d;
}
.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: #fff5dd;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}
.hero-text {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #fff3df;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff9f0;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow: 0 10px 24px rgba(133, 35, 23, 0.24);
}
.btn-secondary {
  color: #fff9ec;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow: 0 10px 24px rgba(34, 77, 49, 0.22);
}
.btn-member {
  color: #fff8ea;
  background: linear-gradient(180deg, #d14c1f 0%, #9e3416 100%);
}

.hero-panel {
  align-self: end;
  padding: 28px;
  border-radius: 30px;
  background: rgba(250, 238, 214, 0.94);
  border: 3px solid #c89432;
  box-shadow: var(--shadow);
}
.panel-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff9ed;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}
.hero-panel h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red-dark);
  text-transform: uppercase;
}
.hero-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.hero-panel li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(91, 47, 20, 0.3);
}
.hero-panel strong { font-size: 1.05rem; }
.hero-panel span { color: var(--muted); }
.panel-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 700;
}

.section-space { padding: 96px 0; }

.intro-strip { margin-top: -42px; position: relative; z-index: 2; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.strip-card {
  padding: 24px;
  border-radius: 26px;
  border: 3px solid rgba(90, 42, 18, 0.18);
  box-shadow: var(--shadow);
}
.strip-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.8rem;
}
.plaque-red { background: linear-gradient(180deg, #cc4532, #a22719); color: #fff8eb; }
.plaque-yellow { background: linear-gradient(180deg, #f0ca54, #d6a52f); color: #47230f; }
.plaque-green { background: linear-gradient(180deg, #437950, #28563a); color: #f7f0e2; }

.section-heading {
  margin-bottom: 34px;
  max-width: 780px;
}
.section-heading .eyebrow { color: var(--red); }
.section-heading h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
}
.news-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.news-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}
.card-content { padding: 22px; }
.card-tag {
  display: inline-block;
  padding: 7px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(178, 49, 36, 0.12);
  color: var(--red-dark);
  font-family: var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.news-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.featured-card { grid-row: span 2; }
.featured-card img { aspect-ratio: 1.15 / 1.2; }
.featured-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 700;
}
.editorial-card { grid-column: span 2; }
.editorial-card img { aspect-ratio: 2.2 / 1; }

.atelier-grid,
.members-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}
.atelier-copy h2,
.members-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}
.atelier-copy .eyebrow,
.members-copy .eyebrow { color: var(--red); }
.atelier-copy p,
.members-copy p {
  color: var(--muted);
  font-size: 1.15rem;
}
.atelier-list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--text);
  display: grid;
  gap: 10px;
}
.atelier-visual img {
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 3px solid rgba(199, 149, 56, 0.4);
}

.member-form {
  padding: 28px;
  background: var(--surface-2);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.member-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 700;
}
.member-form input {
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 47, 20, 0.2);
  background: #fffdf7;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.text-link {
  color: var(--green-dark);
  font-weight: 700;
}

.site-footer {
  padding: 38px 0 48px;
  background: #4c2114;
  color: #f5e9d3;
}
.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}
.site-footer strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #ffd66f;
}
.site-footer p,
.site-footer a {
  color: rgba(245, 233, 211, 0.88);
}

@media (max-width: 1080px) {
  .hero-grid,
  .news-grid,
  .atelier-grid,
  .members-grid,
  .footer-grid,
  .strip-grid {
    grid-template-columns: 1fr;
  }
  .featured-card,
  .editorial-card { grid-row: auto; grid-column: auto; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 96px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 24px;
    background: rgba(248, 239, 222, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .hero-copy { padding: 26px; }
  .hero h1 { max-width: 100%; }
}

@media (max-width: 640px) {
  .nav-bar { min-height: 82px; }
  .brand img { width: 62px; height: 62px; }
  .brand-text strong { font-size: 1.6rem; }
  .hero { min-height: auto; }
  .hero-grid { padding: 40px 0 64px; }
  .hero-panel,
  .member-form,
  .news-card,
  .strip-card,
  .atelier-visual img { border-radius: 22px; }
  .section-space { padding: 72px 0; }
}
