/* ════════════════════════════════════════════════════════════════
   AHARA MAKERS — CSS for archive + single pages
   Editorial · Warm · Story-driven
   ════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════
   ARCHIVE PAGE (/makers/)
   ════════════════════════════════════════════════════════════════ */

body .ah2-makers-page { background: var(--ah-cream, #FBF6EC); }

/* Hero */
body .ah2-makers-hero {
  background: var(--ah-ink, #1A1208);
  color: var(--ah-parch, #F5EDD8);
  padding: 120px 28px 100px;
  position: relative;
  overflow: hidden;
}
body .ah2-makers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(196,123,42,0.20), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(139,58,42,0.16), transparent 55%);
  pointer-events: none;
}
body .ah2-makers-hero-inner { max-width: 980px; margin: 0 auto; position: relative; z-index: 1; }
body .ah2-makers-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 84px;
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 24px 0 32px;
  color: var(--ah-parch, #F5EDD8);
}
body .ah2-makers-hero-title em {
  color: var(--ah-ochre-lt, #E8A84A);
  font-style: italic;
  font-weight: 300;
}
body .ah2-makers-hero-sub {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ah-parch-dk, #E8D9BE);
  max-width: 640px;
  margin: 0;
}

/* Makers section */
body .ah2-makers-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 88px 28px 96px;
}
body .ah2-makers-section .ah2-section-head { text-align: center; margin-bottom: 64px; }

/* Archive grid */
body .ah2-makers-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

body .ah2-maker-archive-card {
  background: white;
  text-decoration: none;
  color: var(--ah-ink, #1A1208);
  display: flex;
  flex-direction: column;
  transition: all 0.32s ease;
  box-shadow: 0 1px 0 rgba(26,18,8,0.06);
  overflow: hidden;
}
body .ah2-maker-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26,18,8,0.12);
}

body .ah2-maker-archive-img {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 aspect */
  background: var(--ah-cream-warm, #F9F0DE);
  overflow: hidden;
}
body .ah2-maker-archive-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
body .ah2-maker-archive-card:hover .ah2-maker-archive-img img { transform: scale(1.04); }
body .ah2-maker-archive-noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ah-text-soft, #9A8A6C);
}

body .ah2-maker-archive-body { padding: 28px 26px 26px; flex: 1; display: flex; flex-direction: column; }

body .ah2-maker-archive-loc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ah-terra, #8B3A2A);
  margin-bottom: 10px;
}

body .ah2-maker-archive-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ah-ink, #1A1208);
  margin: 0 0 14px;
}

body .ah2-maker-archive-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ah-terra, #8B3A2A);
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 1px solid var(--ah-ochre, #C47B2A);
  flex: 1;
}

body .ah2-maker-archive-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 0.5px solid rgba(26,18,8,0.10);
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--ah-text-mute, #6B5E48);
  text-transform: uppercase;
}
body .ah2-maker-archive-link {
  color: var(--ah-ink, #1A1208);
  font-weight: 400;
  transition: color 0.18s;
}
body .ah2-maker-archive-card:hover .ah2-maker-archive-link {
  color: var(--ah-ochre, #C47B2A);
}

/* ════════════════════════════════════════════════════════════════
   SINGLE MAKER PAGE
   ════════════════════════════════════════════════════════════════ */

body .ah2-maker-single { background: var(--ah-cream, #FBF6EC); }

/* Hero */
body .ah2-maker-hero {
  position: relative;
  min-height: 540px;
  height: 64vh;
  max-height: 720px;
  background: var(--ah-ink, #1A1208);
  overflow: hidden;
}
body .ah2-maker-hero-img {
  position: absolute; inset: 0;
}
body .ah2-maker-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.95);
}
body .ah2-maker-hero-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(196,123,42,0.30), transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(139,58,42,0.20), transparent 55%),
    var(--ah-ink, #1A1208);
}

body .ah2-maker-hero-overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  background: linear-gradient(180deg,
    rgba(26,18,8,0.30) 0%,
    rgba(26,18,8,0.55) 60%,
    rgba(26,18,8,0.75) 100%);
}
body .ah2-maker-hero-content {
  max-width: 820px;
  text-align: center;
  color: var(--ah-parch, #F5EDD8);
}

body .ah2-maker-hero-content .ah2-bcrumb {
  margin-bottom: 18px;
  justify-content: center;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ah-parch-dk, #E8D9BE);
}
body .ah2-maker-hero-content .ah2-bcrumb a {
  color: var(--ah-parch-dk, #E8D9BE);
  text-decoration: none;
}
body .ah2-maker-hero-content .ah2-bcrumb a:hover { color: var(--ah-ochre-lt, #E8A84A); }
body .ah2-maker-hero-content .ah2-bcrumb-sep { margin: 0 10px; color: var(--ah-ochre, #C47B2A); }

body .ah2-maker-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 78px;
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ah-parch, #F5EDD8);
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

body .ah2-maker-hero-loc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ah-ochre-lt, #E8A84A);
  margin-bottom: 22px;
}

body .ah2-maker-hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ah-parch, #F5EDD8);
  max-width: 580px;
  margin: 0 auto;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}

/* Stats strip on single page */
body .ah2-maker-stats .ah2-truststrip-inner { padding: 28px 28px; }

/* Tabs */
body .ah2-maker-tabs {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 28px 96px;
}

body .ah2-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 0.5px solid rgba(26,18,8,0.15);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
body .ah2-tab-nav::-webkit-scrollbar { display: none; }

body .ah2-tab-btn {
  background: transparent;
  border: none;
  padding: 18px 24px;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ah-text-mute, #6B5E48);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.18s;
}
body .ah2-tab-btn:hover { color: var(--ah-ink, #1A1208); }
body .ah2-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 24px; right: 24px;
  height: 2px;
  background: transparent;
  transition: background 0.18s;
}
body .ah2-tab-btn.is-active {
  color: var(--ah-ink, #1A1208);
}
body .ah2-tab-btn.is-active::after { background: var(--ah-ochre, #C47B2A); }

/* Tab panels */
body .ah2-tab-panel { display: none; animation: ah2FadeIn 0.32s ease; }
body .ah2-tab-panel.is-active { display: block; }
@keyframes ah2FadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Story panel */
body .ah2-maker-story {
  max-width: 780px;
  margin: 0 auto;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ah-text, #2A2015);
}
body .ah2-maker-story h2,
body .ah2-maker-story h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--ah-ink, #1A1208);
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}
body .ah2-maker-story h2 { font-size: 36px; }
body .ah2-maker-story h3 { font-size: 26px; }
body .ah2-maker-story p { margin: 0 0 1.6em; }
body .ah2-maker-story a { color: var(--ah-terra, #8B3A2A); text-decoration: underline; text-underline-offset: 3px; }
body .ah2-maker-story blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--ah-terra, #8B3A2A);
  border-left: 2px solid var(--ah-ochre, #C47B2A);
  padding-left: 24px;
  margin: 36px 0;
}

/* Products tab */
body .ah2-maker-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body .ah2-maker-products-grid li.product {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}
body .ah2-maker-products-all {
  text-align: center;
  margin: 56px 0 0;
}

/* People / Portfolio galleries */
body .ah2-maker-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
body .ah2-maker-gallery .ah2-gallery-tile {
  position: relative;
  width: 100%;
  padding-top: 100%; /* square */
  background: var(--ah-cream-warm, #F9F0DE);
  overflow: hidden;
  margin: 0;
}
body .ah2-maker-gallery .ah2-gallery-tile img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
body .ah2-maker-gallery .ah2-gallery-tile:hover img {
  transform: scale(1.05);
}

/* Process (Vimeo videos) */
body .ah2-maker-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
body .ah2-video-tile {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: var(--ah-ink, #1A1208);
  overflow: hidden;
}
body .ah2-video-tile iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Back link */
body .ah2-maker-back {
  text-align: center;
  padding: 0 28px 96px;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  body .ah2-makers-hero-title { font-size: 56px; }
  body .ah2-maker-hero-title { font-size: 56px; }
  body .ah2-makers-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  body .ah2-maker-products-grid { grid-template-columns: repeat(3, 1fr) !important; }
  body .ah2-maker-gallery { grid-template-columns: repeat(3, 1fr); }
  body .ah2-maker-videos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body .ah2-makers-hero { padding: 64px 20px 56px; }
  body .ah2-makers-hero-title { font-size: 38px; }
  body .ah2-maker-hero { min-height: 420px; height: 56vh; }
  body .ah2-maker-hero-title { font-size: 38px; }
  body .ah2-maker-hero-quote { font-size: 17px; }
  body .ah2-makers-archive-grid { grid-template-columns: 1fr; }
  body .ah2-maker-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
  body .ah2-maker-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  body .ah2-maker-videos { grid-template-columns: 1fr; }
  body .ah2-tab-btn { padding: 14px 16px; font-size: 11px; letter-spacing: 0.16em; }
  body .ah2-tab-btn::after { left: 16px; right: 16px; }
  body .ah2-maker-story { font-size: 15px; }
  body .ah2-maker-story h2 { font-size: 28px; }
}
