@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #dfcdbd;
  --bg-deep: #b79d85;
  --panel: rgba(255, 248, 240, 0.52);
  --panel-strong: rgba(255, 248, 240, 0.76);
  --panel-dark: #231b16;
  --line: rgba(60, 43, 31, 0.14);
  --text: #241b16;
  --muted: rgba(36, 27, 22, 0.72);
  --shadow: 0 24px 60px rgba(47, 31, 21, 0.15);
  --radius: 28px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 32%),
    radial-gradient(circle at top right, rgba(201, 178, 158, 0.4), transparent 36%),
    linear-gradient(180deg, #f1e4d4 0%, var(--bg) 48%, #d7c2b0 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0 1rem 0;
}

.topbar {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(48, 33, 24, 0.12);
  border-radius: 999px;
  background: rgba(248, 239, 228, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(56, 39, 26, 0.08);
}

.brand {
  font-family: var(--serif);
  letter-spacing: 0.35em;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.96rem;
  color: rgba(36, 27, 22, 0.82);
}

.topbar-links a,
.search-link {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.topbar-links a:hover,
.search-link:hover {
  opacity: 0.72;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.search-link,
.menu-button {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(48, 33, 24, 0.12);
  background: rgba(255, 255, 255, 0.38);
  color: var(--text);
}

.menu-button {
  display: none;
  cursor: pointer;
}

.mobile-drawer {
  max-width: 1500px;
  margin: 0.8rem auto 0;
  padding: 1rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(48, 33, 24, 0.12);
  background: rgba(248, 239, 228, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 0.9rem;
}

.mobile-drawer.is-open {
  display: flex;
}

main {
  width: min(1600px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.section {
  margin-top: 1rem;
  border: 1px solid rgba(48, 33, 24, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  min-height: min(920px, calc(100vh - 140px));
  display: flex;
  align-items: center;
  background: url("images/ashfires_hero_bg.jpg") center center / cover no-repeat;
  position: relative;
}

.hero-copy {
  padding: clamp(2rem, 4vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  min-height: inherit;
}

.hero .eyebrow,
.meta {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: rgba(36, 27, 22, 0.6);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.95;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.6rem, 6.4vw, 6.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.hero h1 em {
  font-style: italic;
}

.lede {
  font-family: var(--sans);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.7;
  max-width: 40rem;
  margin: 0 0 1.4rem;
}

.body-copy {
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 44rem;
  margin: 0 0 2rem;
}

.cta,
.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(48, 33, 24, 0.2);
  background: #2a211c;
  color: #f9f3ed;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover,
.newsletter-form button:hover {
  transform: translateY(-1px);
  background: #16110e;
}

.collection-shell,
.latest-shell,
.manifesto,
.newsletter {
  margin-top: 1rem;
  background: rgba(248, 239, 228, 0.62);
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  color: rgba(36, 27, 22, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
}

.section-title span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 27, 22, 0.28), transparent);
}

.section-title h2 {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.3em;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.collection-card {
  min-height: 320px;
  padding: 1.5rem 1.2rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(48, 33, 24, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.92), rgba(239, 225, 209, 0.86));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.glyph {
  display: inline-grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  border: 1px solid rgba(48, 33, 24, 0.1);
  color: #8d7158;
  background: rgba(255, 255, 255, 0.62);
}

.glyph svg {
  width: 1.9rem;
  height: 1.9rem;
}

.collection-card h3 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin-top: 0.8rem;
}

.collection-card p {
  margin: 0.8rem 0 1.2rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
}

.collection-card a {
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.collection-card a:hover {
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(48, 33, 24, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.95rem;
  transform: none;
  opacity: 1;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.latest-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  min-height: 190px;
  border: 1px solid rgba(48, 33, 24, 0.14);
  background: rgba(255, 248, 240, 0.68);
  box-shadow: 0 16px 30px rgba(40, 28, 20, 0.08);
  overflow: hidden;
}

.latest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1rem 1rem 1.1rem;
}

.latest-copy h3 {
  font-size: clamp(1.4rem, 1.7vw, 1.9rem);
  margin-bottom: 0.4rem;
}

.latest-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.latest-copy a {
  margin-top: 1rem;
  width: fit-content;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.latest-copy a:hover {
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(48, 33, 24, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.95rem;
  transform: none;
  opacity: 1;
}

.manifesto {
  text-align: center;
  padding: 2.4rem 1.5rem 2.75rem;
}

.manifesto-mark img {
  width: 140px;
  margin: 0 auto 1rem;
}

.manifesto p {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.1vw, 2.6rem);
  line-height: 1.35;
}

.newsletter {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.newsletter-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  min-height: 280px;
}

.newsletter-copy {
  padding: clamp(1.6rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  max-width: 12ch;
}

.newsletter-copy p {
  margin: 0 0 1rem;
  font-size: 1.03rem;
  line-height: 1.65;
}

.newsletter-form {
  display: flex;
  gap: 0.65rem;
  margin: 0.75rem 0 0.75rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 3rem;
  padding: 0 1rem;
  border-radius: 0;
  border: 1px solid rgba(48, 33, 24, 0.18);
  background: rgba(255, 255, 255, 0.68);
}

.newsletter-form button {
  height: 3rem;
  padding-inline: 1.2rem;
}

.newsletter-note {
  font-size: 0.88rem;
  color: rgba(36, 27, 22, 0.68);
}

.site-footer {
  max-width: 1600px;
  margin: 1rem auto 0;
  padding: 1.8rem 1rem 2rem;
  border-top: 1px solid rgba(48, 33, 24, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 1.5rem;
  padding-bottom: 1.25rem;
}

.footer-grid h3 {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: rgba(36, 27, 22, 0.78);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-brand img {
  width: 108px;
  margin-bottom: 0.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(48, 33, 24, 0.1);
  color: rgba(36, 27, 22, 0.66);
  font-size: 0.88rem;
}

.footer-bottom a + a {
  margin-left: 1rem;
}

.section, .site-footer {
  border-radius: var(--radius);
}

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

  .hero {
    min-height: 760px;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar-links {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(255, 248, 240, 0.58) 0%, rgba(255, 248, 240, 0.42) 42%, rgba(255, 248, 240, 0.08) 100%),
      url("images/ashfires_hero_bg.jpg") center center / cover no-repeat;
  }

  .hero-copy {
    padding-bottom: 1.2rem;
    background: rgba(255, 248, 240, 0.56);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(48, 33, 24, 0.08);
    border-radius: 24px;
    margin: 0.75rem;
  }

  .latest-grid,
  .collection-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .latest-card {
    grid-template-columns: 1fr;
    grid-template-rows: 150px auto;
  }

  .latest-card img {
    height: 150px;
  }

  .latest-copy {
    padding: 0.95rem 1rem 1rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100%, calc(100% - 1rem));
  }

  .topbar {
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .collection-card,
  .latest-card,
  .newsletter-copy,
  .hero-copy,
  .manifesto {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-title {
    padding-inline: 1rem;
  }
}
