/* =========================================================
   GUITARS.SCOTTWALLEN.COM
   Main stylesheet
   ========================================================= */

/* ---------- Theme ---------- */

:root {
  --ink: #171713;
  --paper: #f2ede2;
  --cream: #fffaf0;
  --gold: #d9a928;
  --red: #bb382f;
  --green: #2f674e;
  --line: #c8beaa;
}

/* ---------- Reset / Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

small {
  display: block;
  margin-bottom: 8px;
  color: #6d6558;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

[hidden] {
  display: none !important;
}

/* ---------- Shared Helpers ---------- */

.wrap {
  max-width: 1120px;
  margin: auto;
  padding-right: 22px;
  padding-left: 22px;
}

.label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.gold {
  color: var(--gold);
}

/* =========================================================
   MAIN DIRECTORY
   ========================================================= */

/* ---------- Header ---------- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 max(22px, calc((100vw - 1120px) / 2));
  background: var(--ink);
  border-bottom: 4px solid var(--gold);
  color: #fff;
}

.identity {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.identity small,
.identity b {
  display: block;
}

.identity small {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.identity b {
  font-size: 19px;
  letter-spacing: 0.06em;
}
.pick {
  display: block;
  width: 38px;
  height: 42px;
  flex: 0 0 38px;
  background: url("../icons/gsw-192x192.png") center / contain no-repeat;
  overflow: hidden;
  text-indent: -9999px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: #d8d1c4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-decoration: none;
}

nav a:hover {
  color: var(--gold);
}

/* ---------- Intro ---------- */

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 70px;
  padding-top: 55px;
  padding-bottom: 38px;
}

.intro h1 {
  margin: 12px 0 0;
  font:
    900 clamp(45px, 7vw, 82px) / 0.88 Arial,
    sans-serif;
  letter-spacing: -0.055em;
}

.intro > p {
  padding-left: 24px;
  border-left: 6px solid var(--gold);
  font:
    20px / 1.55 Georgia,
    serif;
}

/* ---------- Search ---------- */

.search {
  display: grid;
  grid-template-columns: 190px 1fr 70px;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.search label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.search input {
  height: 50px;
  padding: 0 15px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 0;
  font-size: 16px;
}

.search span {
  color: #756d60;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

/* ---------- Brand Cards ---------- */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 70px;
}

.brand-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  min-height: 155px;
  padding: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  scroll-margin-top: 30px;
}

.brand-card.active {
  background: #fff4c7;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--gold);
}

.number {
  color: var(--red);
  font:
    italic 18px Georgia,
    serif;
}

.brand-card h2 {
  margin: 0 0 9px;
  font:
    800 29px / 1 Arial,
    sans-serif;
  letter-spacing: -0.03em;
}

.brand-card p {
  margin: 0;
  color: #6d6558;
  font-size: 13px;
}

.brand-card > a,
.status {
  position: absolute;
  bottom: 18px;
  left: 54px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.brand-card > a {
  padding: 8px 11px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.status {
  color: #8b8274;
}

.no-results {
  grid-column: 1 / -1;
  padding: 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  font:
    italic 19px Georgia,
    serif;
}

/* ---------- File Key ---------- */

.file-key {
  padding: 55px 0;
  background: var(--green);
  color: #fff;
}

.key-grid {
  display: grid;
  grid-template-columns: 35px 1fr 35px 1fr 35px 1fr;
  gap: 15px;
  margin-top: 25px;
}

.key-grid span {
  color: var(--gold);
  font:
    italic 23px Georgia,
    serif;
}

.key-grid b {
  font-size: 14px;
}

/* ---------- Footer ---------- */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 30px max(22px, calc((100vw - 1120px) / 2));
  background: var(--ink);
  color: #d8d1c5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

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

footer a:hover {
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a + a {
  position: relative;
}

.footer-links a + a::before {
  position: absolute;
  left: -11px;
  color: #6f685d;
  content: "·";
}

/* =========================================================
   BRAND FILE PAGES
   ========================================================= */

/* ---------- File Header ---------- */

.file-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 max(22px, calc((100vw - 1050px) / 2));
  background: var(--ink);
  border-bottom: 4px solid var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.file-head a {
  color: var(--gold);
  text-decoration: none;
}

.file-head [data-file-updated] {
  display: block;
  flex: 0 0 auto;
  margin-left: 24px;
  color: #948c7e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-align: right;
}

/* ---------- Hero ---------- */

.file-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: end;
  gap: 55px;
  max-width: 1050px;
  margin: auto;
  padding: 65px 22px 55px;
}

/* Legacy text placeholder, retained for unfinished brand pages. */
.brand-logo-space {
  min-height: 42px;
  margin-bottom: 12px;
  color: #746c60;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

/* Open logo treatment: no card, border, radius or background. */
.brand-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 96px;
  margin-bottom: 16px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 240px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.file-hero h1 {
  margin: 12px 0 28px;
  color: var(--red);
  font:
    900 clamp(66px, 10vw, 120px) / 0.8 Arial,
    sans-serif;
  letter-spacing: -0.07em;
}

.file-hero > div > p:last-child {
  max-width: 700px;
  font:
    21px / 1.5 Georgia,
    serif;
}

.file-hero aside {
  padding: 27px;
  background: var(--ink);
  border-bottom: 8px solid var(--gold);
  color: #fff;
}

.file-hero aside small {
  color: var(--gold);
}

.file-hero aside b,
.file-hero aside span {
  display: block;
}

.file-hero aside b {
  margin: 16px 0;
  font-size: 27px;
  line-height: 1;
}

.file-hero aside span {
  color: #cfc7ba;
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Standard Content Blocks ---------- */

.file-block {
  max-width: 1050px;
  margin: auto;
  padding: 65px 22px;
}

.file-block h2,
.plain h1 {
  margin: 0 0 28px;
  font:
    800 clamp(38px, 5vw, 60px) / 0.98 Arial,
    sans-serif;
  letter-spacing: -0.04em;
}

.file-lead,
.plain p {
  font:
    20px / 1.6 Georgia,
    serif;
}

.bench-note {
  padding: 21px;
  background: var(--cream);
  border-left: 7px solid var(--gold);
  line-height: 1.6;
}
.model-section .bench-note {
  color: var(--ink);
}
/* ---------- Quick Facts ---------- */

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0;
  border: 1px solid var(--line);
}

.quick-facts div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

/* ---------- Models ---------- */

.model-section,
.warning {
  background: var(--ink);
  color: #fff;
}

.model-table {
  border-top: 1px solid #625c51;
}

.model-row {
  display: grid;
  grid-template-columns: 140px 1.4fr 150px 1fr;
  align-items: center;
  gap: 15px;
  padding: 18px 5px;
  border-bottom: 1px solid #514c43;
}

.model-row strong {
  color: var(--gold);
  font:
    italic 22px Georgia,
    serif;
}

.model-row span {
  color: #676766;
}

.fineprint {
  color: #948c7e;
  font-size: 11px;
  line-height: 1.5;
}

/* ---------- Checks / Warning ---------- */

.checks {
  columns: 2;
  column-gap: 45px;
  padding-left: 22px;
}

.checks li {
  break-inside: avoid;
  padding: 0 0 16px 5px;
  line-height: 1.5;
}

.warning {
  border-top: 9px solid var(--gold);
}

.warning p:last-child {
  max-width: 850px;
  font:
    21px / 1.6 Georgia,
    serif;
}

/* ---------- Links ---------- */

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.link-grid a {
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  text-decoration: none;
}

.link-grid span {
  display: block;
  margin-top: 8px;
  color: #6d6558;
  font-size: 13px;
}

/* ---------- Plain Pages ---------- */

.plain {
  max-width: 900px;
  margin: auto;
  padding: 70px 22px 100px;
}

.plain h1 {
  font-size: 60px;
}

.plain li {
  margin: 10px 0;
  line-height: 1.5;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---------- Tablet / Small Desktop ---------- */

@media (max-width: 780px) {
  .site-head {
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .site-head nav {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .intro,
  .file-hero {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .search {
    grid-template-columns: 1fr;
  }

  .search span {
    text-align: left;
  }

  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }

  .key-grid {
    grid-template-columns: 35px 1fr 35px 1fr;
  }

  .model-row {
    grid-template-columns: 1fr 1fr;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts div:last-child {
    border-bottom: 0;
  }

  .checks {
    columns: 1;
  }
}

/* ---------- Logo Scaling ---------- */

@media (max-width: 640px) {
  .brand-logo-panel {
    min-height: 86px;
    margin-bottom: 14px;
  }

  .brand-logo {
    max-width: 200px;
    max-height: 64px;
  }
}

/* ---------- Handheld ---------- */

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

  .intro {
    padding-top: 38px;
  }

  .key-grid {
    grid-template-columns: 35px 1fr;
  }

  

  .file-hero {
    padding-top: 45px;
  }

  .file-hero h1 {
    font-size: 48px;
    letter-spacing: -0.05em;
  }

  .brand-logo-panel {
    max-width: 100%;
    overflow: hidden;
  }

  .brand-logo {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: auto;
  }

  .model-row {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  footer > span {
    display: block;
    margin: 0;
  }

  .footer-links {
    gap: 8px 18px;
  }

  .plain h1 {
    font-size: 44px;
  }
}

/* =========================================================
   GUITAR GUIDES
   Add to assets/css/styles.css
   ========================================================= */

.guide-index {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 38px;
}

.guide-index-head {
  padding: 22px 0;
}

.guide-index-head p:last-child {
  max-width: 420px;
  margin: 8px 0 0;
  color: #6d6558;
  font:
    17px / 1.5 Georgia,
    serif;
}

.guide-feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 145px;
  padding: 24px 28px;
  background: var(--ink);
  border-bottom: 7px solid var(--gold);
  color: #fff;
  text-decoration: none;
}

.guide-feature:hover {
  transform: translateY(-1px);
}

.guide-feature .guide-number {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.guide-feature strong {
  font:
    800 clamp(25px, 3vw, 37px) / 1 Arial,
    sans-serif;
  letter-spacing: -0.035em;
}

.guide-feature > span:last-child {
  margin-top: 13px;
  color: #d0c8bb;
  font-size: 13px;
  line-height: 1.45;
}

.guide-hero h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.9;
}

@media (max-width: 780px) {
  .guide-index {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .guide-index-head {
    padding-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .guide-hero h1 {
    font-size: 43px;
    line-height: 0.95;
  }

  .guide-feature {
    min-height: 130px;
    padding: 22px;
  }
  .file-head {
  height: auto;
  min-height: 62px;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  padding-bottom: 8px;
}

.file-head-sep {
  display: inline;
}

.file-head [data-file-updated] {
  display: block;
  width: 100%;
  color: #948c7e;
  font-size: 9px;
  text-align: right;
  letter-spacing: 0.08em;
}
}
/* ---------- Supporting Videos ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 32px 0 26px;
}

.video-card {
  min-width: 0;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card > p {
  margin: 12px 0 0;
  line-height: 1.45;
}

.video-card > p b {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.video-card > p span {
  display: block;
  color: #6d6558;
  font-size: 13px;
}

/* ---------- Handheld ---------- */

@media (max-width: 700px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}
.guide-index-head {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 48px;
  align-items: center;
}

.guide-index-copy p {
  margin-top: 20px;
}

.guide-all-link {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 3px;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;

  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

@media (max-width: 700px) {
  .guide-index-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
/* =========================================================
   GUITAR GUIDES HUB
   /guides/
   ========================================================= */

.guide-hub-intro .file-lead {
  max-width: 820px;
}

.guide-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.guide-hub-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 230px;
  padding: 26px;

  color: var(--ink);
  text-decoration: none;

  border: 1px solid rgba(24, 24, 24, 0.18);
  background: transparent;
}

.guide-hub-card:hover {
  border-color: var(--gold);
}

.guide-hub-meta {
  display: block;
  margin-bottom: 18px;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.guide-hub-card strong {
  display: block;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
}

.guide-hub-card p {
  margin: 16px 0 24px;
  line-height: 1.55;
}

.guide-hub-open {
  margin-top: auto;
  padding-top: 12px;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  border-top: 2px solid var(--gold);
}

.guide-hub-note {
  padding-bottom: 46px;
}

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

  .guide-hub-card {
    min-height: 0;
  }
}
.file-head-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-head-sep {
  color: var(--gold);
  font-size: 7px;
}
.directory-insert {
	grid-column: 1 / -1;

	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 28px;

	padding: 28px 32px;
	margin: 0;

    background: #5c493a;
	border: 2px solid var(--gold);

	color: #fff;
}
.directory-insert .guide-all-link {
	color: #f6f0e6;
	border-bottom: 2px solid var(--gold);
}
.directory-insert .guide-index-copy p {
	color: #eee6dc;
}
.file-key .wrap {
	border-top: 1px solid var(--gold);
	border-bottom: 1px solid var(--gold);
	padding-top: 14px;
	padding-bottom: 18px;
}
.brand-card {
  grid-template-columns: 1fr;
}

.brand-card > div {
  width: 100%;
}

.brand-card > a {
  justify-self: start;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
}

.brand-card > div {
  width: 100%;
}

.brand-card > a {
  margin-top: auto;
  align-self: flex-start;
}

.brand-card h2 {
  line-height: 1;
}

.brand-card p {
  margin-bottom: 1rem;
}
.guide-feature-image {
	margin: 0;
}

.guide-feature-image img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid rgba(0, 0, 0, 0.12);
}

.guide-feature-image figcaption {
	margin-top: 0.75rem;
	font-size: 0.9rem;
	line-height: 1.5;
	opacity: 0.75;
}
nav[aria-labelledby="jump-title"] .file-lead a {
  color: #181818;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.jump-links {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0;
  color: #4f483e;
}

.jump-links a {
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0;
  color: #181818;
  text-decoration: none;
}

.jump-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#jump-title {
  white-space: nowrap;
}