/*
Theme Name: ATFlutes Redesign
Theme URI: https://atflutes.com/
Author: Ancient Territories
Description: Private redesign theme for Ancient Territories Flutes.
Version: 0.1.14
Text Domain: atflutes
*/

:root {
  --ink: #251d17;
  --cream: #f6f0e4;
  --paper: #fffaf0;
  --rust: #a34d28;
  --rust-dark: #75331d;
  --sage: #65705a;
  --gold: #d7a45d;
  --gold-bright: #d5a62f;
  --line: rgba(51, 38, 26, 0.16);
  --shadow: 0 18px 60px rgba(29, 20, 13, 0.17);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(246, 240, 228, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1400px, calc(100% - 40px));
  min-height: 102px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand-sign {
  display: block;
  text-decoration: none;
}

.brand-sign img {
  display: block;
  width: min(340px, 100%);
  height: auto;
  object-fit: contain;
  box-shadow: 0 5px 16px rgba(33, 22, 14, 0.18);
}

.brand-sign.brand-flute img {
  width: min(340px, 100%);
  max-height: 88px;
  box-shadow: none;
}

.brand-sign.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: max-content;
}

.brand-sign.brand-lockup img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  box-shadow: none;
  filter: brightness(0);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-wordmark strong {
  font-size: 1.38rem;
  font-weight: 500;
  letter-spacing: .015em;
  white-space: nowrap;
}

.brand-wordmark small {
  margin-top: 8px;
  color: var(--rust-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 32px);
}

.primary-nav a,
.header-contact {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.primary-nav a { padding: 38px 0 35px; border-bottom: 3px solid transparent; }
.primary-nav a:hover, .primary-nav a:focus-visible { border-color: var(--rust); }

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  color: var(--charcoal);
  text-decoration: none;
}
.nav-cart-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-cart-label { display: none; }
.nav-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.menu-toggle,
.mobile-nav-contact { display: none; }

.header-contact {
  display: inline-flex;
  padding: 12px 16px;
  border: 1px solid var(--rust);
  color: var(--rust-dark);
  border-radius: 999px;
}

.hero {
  min-height: clamp(560px, 73vh, 820px);
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(26, 17, 11, 0.72) 0%, rgba(26, 17, 11, 0.35) 42%, rgba(26, 17, 11, 0.02) 70%),
    url('assets/atflutes-joshua-tree-hero.png');
  background-size: cover;
  background-position: center center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(transparent, rgba(25, 15, 9, 0.28));
}

.hero-content {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.hero-copy { max-width: 710px; color: white; text-shadow: 0 2px 24px rgba(0,0,0,.38); }

.hero .eyebrow { color: #edc77f; }

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero h1.hero-sign-heading { max-width: 610px; }

.hero-sign-heading img {
  display: block;
  width: min(560px, 100%);
  height: auto;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 55px rgba(17, 9, 4, .34);
}

.hero-lede {
  max-width: 570px;
  margin: 24px 0 34px;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  color: white;
  background: var(--rust);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(52, 22, 10, .3);
}

.hero-prompt {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  color: #f7e5c6;
  border-bottom: 1px solid rgba(255,255,255,.58);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(.9rem, 1.35vw, 1.08rem);
  font-weight: 800;
}

.hero-prompt span { display: inline-block; font-size: 1.75rem; line-height: .7; transition: transform .2s ease; }
.hero-prompt:hover span, .hero-prompt:focus-visible span { transform: translateY(4px); }

.pathways {
  position: relative;
  z-index: 3;
  width: min(1240px, calc(100% - 40px));
  margin: -58px auto 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.pathway {
  min-height: 230px;
  padding: 38px 36px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  transition: transform .22s ease, background .22s ease;
}

.pathway:last-child { border-right: 0; }
.pathway:hover, .pathway:focus-visible { transform: translateY(-8px); background: #fff; }

.pathway-number {
  display: block;
  margin-bottom: 26px;
  color: var(--rust);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.pathway h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 2.4vw, 2.25rem); font-weight: 500; }
.pathway p { margin: 0; color: #625548; font-size: 1rem; }

.section-intro h2 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.section-intro > p:last-child { margin: 0; color: #695a4d; font-size: 1.1rem; }
.dark-eyebrow { color: var(--rust-dark); }

.makers-film {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(500px, 1.45fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.film-intro { max-width: 440px; }
.film-intro .film-invitation { margin-top: 20px; color: #43382f; font-style: italic; }
.film-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #1c1510; box-shadow: var(--shadow); }
.film-frame::before { content: ''; position: absolute; inset: 12px; z-index: 1; border: 1px solid rgba(255,255,255,.25); pointer-events: none; }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.collections {
  padding: 110px max(20px, calc((100% - 1240px) / 2)) 120px;
  color: #f9f0df;
  background: #2c2119;
}

.collections-intro { max-width: 780px; margin-bottom: 58px; }
.collections .dark-eyebrow { color: var(--gold-bright); }
.collections .section-intro > p:last-child { max-width: 660px; color: #cdbdad; }
.collection-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }

.collection-card {
  position: relative;
  min-height: 385px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.15);
  background: #211711;
}

.collection-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.collection-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(18,11,7,.04) 18%, rgba(18,11,7,.5) 53%, rgba(13,8,5,.98) 91%); }
.collection-card:hover .collection-photo { transform: scale(1.035); }
.collection-card:nth-child(1), .collection-card:nth-child(2), .collection-card:nth-child(3) { grid-column: span 2; }
.collection-card:nth-child(4) { grid-column: 2 / span 2; }
.collection-card:nth-child(5) { grid-column: 4 / span 2; }
.collection-card h3 { margin: 0 0 12px; font-size: 2rem; font-weight: 500; }
.collection-card p { margin: 0; color: #eee1d1; }
.collection-price { padding-top: 22px; font-family: Arial, Helvetica, sans-serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.collection-price strong { font-size: 1.05rem; color: white; }
.text-link { display: inline-block; margin-top: 42px; color: #f2c47e; text-decoration: none; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .77rem; font-weight: 800; letter-spacing: .15em; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.craft-story {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0;
}

.craft-heading {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(420px, 1.22fr);
  column-gap: clamp(45px, 9vw, 130px);
  align-items: end;
}

.craft-heading .eyebrow { grid-column: 1 / -1; font-size: clamp(.82rem, 1.15vw, 1rem); letter-spacing: .17em; }
.craft-heading h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.3rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.craft-lede { margin: 0 0 6px; color: #5f5145; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

.craft-details {
  margin: 72px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.craft-detail { padding: 34px 28px 38px; border-right: 1px solid var(--line); }
.craft-detail:first-child { padding-left: 0; }
.craft-detail:last-child { padding-right: 0; border-right: 0; }
.craft-detail h3 { margin: 0 0 12px; color: var(--rust-dark); font-size: 1.25rem; font-weight: 600; }
.craft-detail p { margin: 0; color: #66584b; font-size: .98rem; }
.craft-deeper-link { display: inline-block; margin: -38px 0 65px; color: var(--rust-dark); text-decoration: none; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.craft-deeper-link span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.craft-deeper-link:hover span { transform: translateX(5px); }

.tuning-guide {
  padding: clamp(34px, 5vw, 62px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  color: white;
  background: linear-gradient(118deg, #71351f, #3a271c);
  box-shadow: var(--shadow);
}

.tuning-guide > div { max-width: 690px; }
.tuning-guide .eyebrow { color: var(--gold-bright); }
.tuning-guide h3 { margin: 0 0 12px; font-size: clamp(2.4rem, 4.3vw, 4.4rem); font-weight: 500; line-height: 1; }
.tuning-guide p:last-child { margin: 0; color: #eadbca; font-size: 1.08rem; }
.tuning-link { flex: 0 0 auto; padding: 15px 19px; color: white; border: 1px solid rgba(255,255,255,.55); text-decoration: none; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .74rem; font-weight: 800; letter-spacing: .13em; }
.tuning-link span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.tuning-link:hover span { transform: translateX(5px); }

.choosing-guides { padding: 115px max(20px, calc((100% - 1240px) / 2)); background: #eee4d2; }
.guides-intro { max-width: 780px; margin-bottom: 54px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.guide-card { min-height: 340px; padding: 38px 34px; display: flex; flex-direction: column; color: var(--ink); background: rgba(255,250,240,.66); border-right: 1px solid var(--line); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.guide-card:last-child { border-right: 0; }
.guide-card:hover { background: var(--paper); transform: translateY(-6px); }
.guide-card > span { color: var(--rust); text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .17em; }
.guide-card h3 { margin: 30px 0 15px; font-size: clamp(1.65rem, 2.4vw, 2.25rem); font-weight: 500; line-height: 1.1; }
.guide-card p { margin: 0 0 28px; color: #66584a; }
.guide-card strong { margin-top: auto; color: var(--rust-dark); text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .72rem; letter-spacing: .12em; }

.testimonials { padding: 115px max(20px, calc((100% - 1240px) / 2)); color: #fff6e8; background: var(--sage); }
.testimonial-heading { max-width: 760px; margin-bottom: 60px; }
.testimonials .eyebrow { color: var(--gold-bright); }
.testimonial-heading h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.3rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 5vw, 75px); }
.testimonial-grid figure { margin: 0; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.32); }
.testimonial-grid blockquote { margin: 0 0 22px; font-size: clamp(1.08rem, 1.45vw, 1.32rem); line-height: 1.55; }
.testimonial-grid blockquote p { margin: 0 0 15px; }
.testimonial-grid blockquote p:last-child { margin-bottom: 0; }
.testimonial-grid figcaption { color: #e6d6bf; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .71rem; font-weight: 800; letter-spacing: .15em; }
.testimonial-link { display: inline-block; margin-top: 48px; color: #fff; text-decoration: none; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .74rem; font-weight: 800; letter-spacing: .14em; }

.final-invitation { padding: 125px 20px; text-align: center; background: var(--paper); }
.final-invitation .eyebrow { color: var(--rust); }
.invitation-sign { width: min(700px, 90vw); margin: 0 auto 34px; }
.invitation-sign img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.final-invitation h2 { margin: 0; font-size: clamp(3.4rem, 7vw, 7rem); font-weight: 500; line-height: .95; letter-spacing: -.045em; }
.final-invitation > p:last-of-type { max-width: 620px; margin: 26px auto 35px; color: #66584b; font-size: 1.16rem; }
.invitation-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.invitation-actions a { min-width: 168px; padding: 14px 21px; border: 1px solid var(--rust); text-decoration: none; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .74rem; font-weight: 800; letter-spacing: .13em; }
.final-primary { color: white; background: var(--rust); }
.final-secondary { color: var(--rust-dark); }

.site-footer { padding: 70px max(20px, calc((100% - 1240px) / 2)) 25px; color: #cfbeaa; background: #201711; }
.footer-main { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 50px; padding-bottom: 58px; }
.footer-brand { max-width: 330px; }
.footer-name { margin: 0 0 10px; color: white; font-size: 1.45rem; }
.footer-brand p:not(.footer-name) { margin: 0 0 18px; }
.footer-brand a, .footer-column a { color: #e7d4bb; text-decoration: none; }
.footer-column { display: flex; flex-direction: column; gap: 10px; }
.footer-column h2 { margin: 0 0 9px; color: #f2c47e; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .7rem; letter-spacing: .16em; }
.footer-column a { font-size: .92rem; }
.footer-legal { margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-family: Arial, Helvetica, sans-serif; font-size: .7rem; letter-spacing: .08em; }

/* Interior pages and migrated Joomla resources */
.site-header--inner { box-shadow: 0 6px 24px rgba(35, 24, 16, .06); }
.atf-content-main,
.atf-shop-main {
  width: min(1120px, calc(100% - 40px));
  min-height: 55vh;
  margin: 0 auto;
  padding: clamp(55px, 8vw, 105px) 0;
}
.atf-content-main > header:first-child,
.atf-content-main > h1:first-child { max-width: 900px; }
.atf-content-main h1 { margin: 0 0 24px; font-size: clamp(2.7rem, 5vw, 5.2rem); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.atf-content-main h2 { margin: 54px 0 18px; font-size: clamp(1.9rem, 3.3vw, 3.15rem); font-weight: 500; line-height: 1.1; }
.atf-content-main h3 { margin: 34px 0 12px; color: var(--rust-dark); font-size: clamp(1.3rem, 2vw, 1.75rem); }
.atf-content-main p,
.atf-content-main li { font-size: 1.06rem; }
.atf-content-main img { max-width: 100%; height: auto; }
.atf-content-main iframe { max-width: 100%; }
.atf-content-main .button,
.atf-content-main a.button { display: inline-block; padding: 13px 19px; color: white; background: var(--rust); border: 1px solid var(--rust); text-decoration: none; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }

.atf-faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.atf-faq-item { padding: 0; border-bottom: 1px solid var(--line); background: rgba(255,250,240,.55); }
.atf-faq-item summary { position: relative; padding: 25px 58px 25px 22px; cursor: pointer; list-style: none; color: var(--ink); font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 600; line-height: 1.35; }
.atf-faq-item summary::-webkit-details-marker { display: none; }
.atf-faq-item summary::after { content: '+'; position: absolute; top: 50%; right: 22px; color: var(--rust); font: 400 1.6rem/1 Arial, sans-serif; transform: translateY(-50%); }
.atf-faq-item[open] summary::after { content: '−'; }
.atf-faq-answer { padding: 0 22px 28px; color: #5d5045; }
.atf-faq-answer h3 { margin-top: 20px; font-size: 1.25rem; }

.atf-testimonials-grid { margin-top: 50px; columns: 2; column-gap: 28px; }
.atf-testimonial { break-inside: avoid; margin: 0 0 28px; padding: 30px; color: #f8efe1; background: var(--sage); box-shadow: 0 10px 30px rgba(35,25,18,.11); }
.atf-testimonial p:first-child { margin-top: 0; }
.atf-testimonial cite { display: block; margin-top: 20px; color: #f0d5ab; font-family: Arial, Helvetica, sans-serif; font-size: .75rem; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.woocommerce .products { margin-top: 35px; }
.woocommerce div.product div.images img { border: 1px solid var(--line); }
.woocommerce div.product .product_title { font-weight: 500; line-height: 1.08; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--rust-dark); }
.collection-card { color: inherit; text-decoration: none; }
.atf-hub-intro { max-width: 850px; margin-bottom: 48px; }
.atf-hub-intro > p { max-width: 760px; color: #66584b; font-size: 1.18rem; }
.atf-article-lead { font-size: 1.22rem; line-height: 1.75; color: #4f4439; }
.atf-editorial-note { margin: 34px 0; padding: 24px 28px; border-left: 4px solid var(--gold); background: #f4efe5; color: #51473d; }
.atf-editorial-note p:last-child { margin-bottom: 0; }
.atf-source-section { margin-top: 58px; }
.atf-source-section > h2 { margin-bottom: 24px; }
.atf-subtopic { margin: 30px 0 10px; color: var(--rust-dark); font-family: Arial, Helvetica, sans-serif; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.atf-article-next { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.atf-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.atf-resource-card { min-height: 250px; padding: 30px; display: flex; flex-direction: column; color: var(--ink); background: rgba(255,250,240,.62); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: transform .2s ease, background .2s ease; }
.atf-resource-card:hover { z-index: 1; background: var(--paper); transform: translateY(-4px); box-shadow: var(--shadow); }
.atf-resource-card h2,
.atf-resource-card h3 { margin: 0 0 14px; font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
.atf-resource-card p { margin: 0 0 24px; color: #66584b; }
.atf-resource-card strong { margin-top: auto; color: var(--rust-dark); text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .72rem; letter-spacing: .13em; }
.atf-resource-card h3 a,
.atf-resource-card strong a { color: inherit; text-decoration: none; }
.atf-product-addons { margin: 28px 0; padding: 24px; display: grid; gap: 12px; border: 1px solid var(--line); background: rgba(255,250,240,.7); }
.atf-product-addons legend { padding: 0 8px; color: var(--rust-dark); font-size: 1.3rem; font-weight: 600; }
.atf-product-addons label { font-weight: 600; }
.atf-product-addons label > span { float: right; margin-left: 15px; color: var(--rust-dark); font-family: Arial, Helvetica, sans-serif; font-size: .8rem; }
.atf-product-addons select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); background: white; }
.atf-product-addons .atf-addon-check { padding-top: 8px; }
.atf-product-addons small { margin: -7px 0 4px 25px; color: #6b5b4e; }
.atf-addon-total { margin: 7px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* Shop entrance, model archives, and the decision guide */
.atf-shop-intro { max-width: 900px; margin-bottom: 58px; }
.atf-shop-intro h1 { margin: 0 0 22px; font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.atf-shop-lead { max-width: 790px; margin: 0 0 22px; color: #5f5145; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.atf-shop-intro .text-link { color: var(--rust-dark); font-family: Arial, Helvetica, sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.atf-model-shop-grid { display: grid; gap: 28px; }
.atf-model-shop-card { min-height: 390px; display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(35, 25, 18, .08); }
.atf-model-shop-card:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); }
.atf-model-shop-card:nth-child(even) .atf-model-shop-image { order: 2; }
.atf-model-shop-image { display: block; min-height: 390px; overflow: hidden; }
.atf-model-shop-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.atf-model-shop-image:hover img { transform: scale(1.025); }
.atf-model-shop-copy { padding: clamp(34px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.atf-model-shop-copy h2 { margin: 0 0 14px; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; line-height: 1; }
.atf-model-shop-copy h2 a { text-decoration: none; }
.atf-model-shop-copy > p:not(.atf-model-price) { margin: 0 0 26px; color: #625347; font-size: 1.05rem; }
.atf-model-price { margin: 0 0 10px; color: var(--rust-dark); font-family: Arial, Helvetica, sans-serif; font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.atf-model-shop-copy .button { padding: 13px 18px; color: white; background: var(--rust); border: 1px solid var(--rust); text-decoration: none; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .11em; }
.atf-shop-secondary { margin-top: 78px; padding: 45px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 45px; color: #f8f0e5; background: var(--ink); }
.atf-shop-secondary h2 { margin: 0; color: white; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 500; line-height: 1.05; }
.atf-shop-secondary .eyebrow { color: var(--gold-bright); }
.atf-shop-secondary-links { display: grid; }
.atf-shop-secondary-links a { padding: 18px 0; display: flex; justify-content: space-between; gap: 25px; color: white; border-bottom: 1px solid rgba(255,255,255,.18); text-decoration: none; font-size: 1.15rem; }
.atf-shop-secondary-links a:first-child { border-top: 1px solid rgba(255,255,255,.18); }
.atf-shop-secondary-links span { color: #d9c7b1; font-family: Arial, Helvetica, sans-serif; font-size: .72rem; letter-spacing: .07em; text-align: right; text-transform: uppercase; }
.woocommerce-products-header { max-width: 960px; margin-bottom: 45px; }
.woocommerce-products-header__title.page-title { margin: 0 0 28px; font-size: clamp(3rem, 5.7vw, 5.5rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.term-description { padding: clamp(28px, 5vw, 55px); background: rgba(255,250,240,.65); border: 1px solid var(--line); }
.term-description h2 { margin: 35px 0 15px; font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 500; line-height: 1.1; }
.term-description h2:first-child { margin-top: 0; }
.term-description p { font-size: 1.05rem; }
.term-description iframe { max-width: 52%; margin: 4px 0 22px 28px !important; }
.term-description::after { content: ''; display: table; clear: both; }
.atf-model-products-heading { margin-top: 62px; }
.atf-model-products-heading h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 500; line-height: 1.05; }
.atf-choice-intro { max-width: 840px; margin-bottom: 48px; }
.atf-choice-eyebrow { color: var(--gold-bright); }
.atf-choice-intro .atf-choice-lead { color: #5f5145; font-size: clamp(1.12rem, 1.9vw, 1.38rem); }
.atf-choice-principle { margin: 35px 0 58px; padding: 30px 35px; border-left: 4px solid var(--gold); background: var(--paper); font-size: 1.15rem; }
.atf-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.atf-choice-card { min-height: 320px; padding: 34px; display: flex; flex-direction: column; background: rgba(255,250,240,.58); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.atf-choice-card:last-child { grid-column: 1 / -1; min-height: 280px; }
.atf-choice-card h2,
.atf-choice-card h3 { margin: 0 0 12px; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.atf-choice-card .atf-best-for { margin: 0 0 15px; color: var(--rust-dark); font-family: Arial, Helvetica, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.atf-choice-card p { margin: 0 0 22px; color: #625347; }
.atf-choice-card a { margin-top: auto; color: var(--rust-dark); font-family: Arial, Helvetica, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.atf-choice-next { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.atf-choice-next article { padding: 34px; background: var(--sage); color: #fbf4e8; }
.atf-choice-next h2,
.atf-choice-next h3 { margin: 0 0 13px; color: #fff8ec; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.atf-choice-next a,
.atf-choice-next a:visited { color: #ffe0b2; }
.atf-guide-step { margin: 72px 0; }
.atf-guide-step > h2 { max-width: 850px; margin: 0 0 20px; font-size: clamp(2.1rem, 4vw, 3.8rem); font-weight: 500; line-height: 1.05; }
.atf-guide-step > p { max-width: 900px; }
.atf-step-number { margin-bottom: 12px !important; color: var(--rust-dark); font-family: Arial, Helvetica, sans-serif; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.atf-dimension-table-wrap { margin: 32px 0; overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.atf-dimension-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.atf-dimension-table th,
.atf-dimension-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.atf-dimension-table th { color: var(--rust-dark); background: #efe3d0; font-family: Arial, Helvetica, sans-serif; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.atf-dimension-table tbody tr:last-child td { border-bottom: 0; }
.atf-tuning-choice-grid { margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--paper); }
.atf-tuning-choice-grid article { padding: 34px; }
.atf-tuning-choice-grid article + article { border-left: 1px solid var(--line); }
.atf-tuning-choice-grid h3 { margin: 0 0 14px; font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.atf-choice-contact { margin-top: 78px; padding: 42px; background: var(--rust-dark); color: #fff8ec; }
.atf-choice-contact h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.atf-choice-contact a { color: #ffe0b2; }
.atf-choice-contact .button { color: white; }
.atf-play-section { margin: 74px 0; }
.atf-play-section > h2 { max-width: 820px; margin: 0 0 22px; font-size: clamp(2.1rem, 4vw, 3.8rem); font-weight: 500; line-height: 1.05; }
.atf-play-section > p:not(.atf-step-number) { max-width: 880px; }
.atf-play-grid { margin-top: 30px; }

@media (max-width: 1250px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 0 18px;
  }
  .brand-sign { margin: 0 auto; }
  .header-contact { display: none; }
  .header-inner { position: relative; }
  .header-actions { position: absolute; top: 16px; right: 0; }
  .primary-nav {
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 26px;
    row-gap: 8px;
  }
  .primary-nav a { padding: 3px 0 5px; }
}

/* Keep the hero message and journey prompt proportionally separated on larger tablets. */
@media (min-width: 821px) and (max-width: 1024px) {
  .hero { min-height: 570px; background-position: 82% center; }
  .hero-content { min-height: 570px; padding: 0; display: block; }
  .hero-copy { position: relative; width: 100%; max-width: none; height: 570px; }
  .hero-message { position: absolute; inset: 42px 0 auto; max-width: 680px; }
  .hero-prompt { position: absolute; left: 0; bottom: 70px; }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 82px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
    padding: 10px 0;
  }
  .brand-sign { margin: 0; }
  .header-actions {
    position: static;
    grid-column: 2;
    grid-row: 1;
  }
  .header-cart { width: 42px; height: 48px; justify-content: center; }
  .header-cart .nav-cart-count { position: absolute; top: 1px; right: -2px; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .menu-toggle {
    width: 48px;
    height: 48px;
    padding: 12px 10px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
  }
  .menu-toggle > span[aria-hidden="true"] {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }
  .primary-nav {
    grid-column: 1 / -1;
    display: none;
    padding: 8px 0 4px;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav a {
    padding: 14px 10px;
    white-space: normal;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav .mobile-nav-contact { display: block; color: var(--rust-dark); }
  .hero { min-height: 550px; background-position: 82% center; }
  .hero-content { min-height: 550px; padding: 0; display: block; }
  .hero-copy { position: relative; width: 100%; max-width: none; height: 550px; }
  .hero-message { position: absolute; inset: 38px 0 auto; }
  .hero-prompt { position: absolute; left: 0; bottom: 68px; }
  .hero h1 { font-size: clamp(3.2rem, 13vw, 5.3rem); }
  .pathways { grid-template-columns: 1fr; margin-top: -34px; }
  .pathway { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .makers-film { grid-template-columns: 1fr; margin-bottom: 90px; }
  .film-intro { max-width: 620px; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .collection-card:nth-child(n) { grid-column: auto; }
  .collection-card:last-child { grid-column: 1 / -1; }
  .craft-heading { grid-template-columns: 1fr; gap: 25px; }
  .craft-details { grid-template-columns: 1fr 1fr; }
  .craft-detail, .craft-detail:first-child, .craft-detail:last-child { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .craft-detail:nth-child(even) { border-right: 0; }
  .craft-detail:nth-child(n+3) { border-bottom: 0; }
  .tuning-guide { align-items: flex-start; flex-direction: column; }
  .guide-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .guide-card:last-child { border-bottom: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .atf-testimonials-grid { columns: 1; }
  .atf-resource-grid { grid-template-columns: 1fr; }
  .atf-model-shop-card,
  .atf-model-shop-card:nth-child(even) { grid-template-columns: 1fr; }
  .atf-model-shop-card:nth-child(even) .atf-model-shop-image { order: 0; }
  .atf-model-shop-image { min-height: 300px; }
  .atf-shop-secondary { grid-template-columns: 1fr; }
  .atf-choice-grid,
  .atf-choice-next,
  .atf-tuning-choice-grid { grid-template-columns: 1fr; }
  .atf-tuning-choice-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .atf-choice-card:last-child { grid-column: auto; }
  .term-description iframe { max-width: 100%; width: 100%; margin: 12px 0 24px !important; float: none !important; }
}

@media (max-width: 520px) {
  .header-inner, .hero-content, .pathways { width: min(100% - 24px, 1400px); }
  .header-inner { gap: 8px; }
  .brand-sign img { width: min(320px, 100%); height: auto; }
  .brand-sign.brand-lockup img { width: 58px; height: 58px; }
  .brand-wordmark strong { font-size: 1.16rem; }
  .brand-wordmark small { font-size: .66rem; letter-spacing: .2em; }
  .primary-nav { grid-template-columns: 1fr; }
  .hero { background-position: 84% center; }
  .hero-content { min-height: 550px; padding: 0; display: block; }
  .hero-copy { position: relative; width: 100%; max-width: none; height: 550px; }
  .hero-message { position: absolute; inset: 52px 0 auto; }
  .hero-prompt { position: absolute; left: 0; bottom: 68px; }
  .hero-lede { font-size: 1.05rem; }
  .pathway { padding: 30px 26px; }
  .makers-film { width: calc(100% - 24px); }
  .collections { padding: 80px 12px 90px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card:nth-child(n) { grid-column: auto; min-height: 330px; }
  .craft-story { width: calc(100% - 24px); padding: 82px 0; }
  .craft-details { grid-template-columns: 1fr; }
  .craft-detail, .craft-detail:first-child, .craft-detail:last-child { padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .craft-detail:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .craft-detail:last-child { border-bottom: 0; }
  .tuning-guide { padding: 34px 26px; }
  .choosing-guides, .testimonials { padding: 82px 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .atf-shop-main { width: min(100% - 24px, 1120px); }
  .atf-model-shop-image { min-height: 245px; }
  .atf-model-shop-copy { padding: 28px 24px 32px; }
  .atf-shop-secondary { padding: 30px 24px; }
  .atf-shop-secondary-links a { display: block; }
  .atf-shop-secondary-links span { margin-top: 5px; display: block; text-align: left; }
  .atf-choice-card { min-height: auto; padding: 27px 24px; }
}
