/* The Guitar Loft — rebuilt from the Squarespace 7.1 theme (dark base, orange accent, Poppins). */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 300; font-style: italic; font-display: swap; src: url("/assets/fonts/poppins-300i.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); }

:root {
  --accent: #e08248;
  --accent-hover: #c96f37;
  --dark: #282d30;
  --light-accent: #e9ceb0;
  --white: #fff;
  --black: #000;

  --max-width: 1200px;
  --page-pad: 4vw;
  --section-pad: 6.6vmax;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --h1: 3.92rem;
  --h2: 2.74rem;
  --h3: 2.16rem;
  --h4: 1.57rem;
  --text: 1.08rem;
  --text-sm: 0.98rem;
  --text-lg: 1.47rem;

  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font);
  font-weight: 300;
  font-size: var(--text);
  line-height: 1.87;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.46; margin: 0 0 0.5em; letter-spacing: 0; }
h1 { font-size: var(--h1); line-height: 1.25; }
h2 { font-size: var(--h2); line-height: 1.3; }
h3 { font-size: var(--h3); line-height: 1.35; }
h4 { font-size: var(--h4); }
p { margin: 0 0 1em; }
.lead { font-size: var(--text-lg); }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: .75em 1.25em; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: 2.2vw var(--page-pad);
  transition: transform .3s ease, background-color .3s ease;
}
.site-header.is-fixed { position: fixed; background: rgba(40, 45, 48, .97); padding-top: 1.1rem; padding-bottom: 1.1rem; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
  max-width: none;
}
.header-logo img { height: 48px; width: auto; }
.header-nav { display: flex; gap: 2.2rem; }
.header-nav a, .header-social a { color: var(--white); text-decoration: none; }
.header-nav a { font-size: 1.05rem; font-weight: 300; }
.header-nav a:hover, .header-nav a[aria-current="page"] { opacity: .75; }
.header-social { display: flex; justify-content: flex-end; gap: 1rem; }
.icon { width: 20px; height: 20px; fill: currentColor; display: block; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
.burger span { display: block; width: 34px; height: 1px; background: currentColor; margin: 7px 0; transition: transform .25s; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--dark);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.2rem;
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { color: #fff; text-decoration: none; font-size: 2rem; font-weight: 300; }
.mobile-menu .header-social { margin-top: 2rem; justify-content: center; }
.mobile-menu .icon { width: 26px; height: 26px; }

@media (max-width: 799px) {
  :root { --header-h: 80px; }
  .header-inner { grid-template-columns: 44px 1fr 44px; gap: 0; }
  .burger { display: block; grid-column: 1; grid-row: 1; }
  .header-logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .header-logo img { height: 30px; }
  .header-inner > .header-nav, .header-inner > .header-social { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-pad) var(--page-pad); display: flex; align-items: center; justify-content: center; }
.section:first-of-type { padding-top: calc(var(--section-pad) + var(--header-h)); }
.section > .content { position: relative; z-index: 2; width: 100%; max-width: var(--max-width); margin: 0 auto; }
.content.narrow { max-width: 50%; }
.content.medium { max-width: 75%; }
.center { text-align: center; }
.h-large { min-height: 100vh; min-height: 100svh; }
.h-medium { min-height: 66vh; }

.theme-dark { background: var(--dark); color: #fff; }
.theme-black { background: #000; color: #fff; }
.theme-bright { background: var(--accent); color: #fff; }
.theme-bright a:not(.btn) { color: #fff; }
.theme-white { background: #fff; color: #000; }

.section-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.section-bg img, .section-bg picture { width: 100%; height: 100%; object-fit: cover; }
.section-bg::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--overlay, .43); }

@media (max-width: 767px) {
  :root { --page-pad: 6vw; --h1: 2.6rem; --h2: 2rem; --h3: 1.7rem; --h4: 1.3rem; --text-lg: 1.2rem; }
  .content.narrow, .content.medium { max-width: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--font); font-weight: 500; font-size: 1.08rem; line-height: 1.25;
  padding: 1.2em 2.004em; border: 0; border-radius: 0; cursor: pointer;
  transition: opacity .15s ease;
}
.btn:hover { color: #fff; opacity: .8; }
.btn-lg { font-size: 1.27rem; }
.theme-bright .btn { background: #fff; color: var(--accent); }
.btn-row { margin-top: 2.2rem; }

/* ---------- Forms (underline style, square) ---------- */
.form { text-align: left; margin-top: 2rem; }
.field { margin-bottom: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field label, .field legend, .field .label { display: block; font-size: var(--text-sm); margin-bottom: .2rem; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: .4rem; }
.field .req { opacity: .7; font-size: .85em; margin-left: .35em; }
.field .desc { font-size: .85rem; opacity: .75; margin: -.1rem 0 .3rem; line-height: 1.5; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.55); border-radius: 0;
  padding: .7rem 0; outline: none; transition: border-color .15s, opacity .15s;
}
.theme-white .field input, .theme-white .field select, .theme-white .field textarea { border-bottom-color: rgba(0,0,0,.4); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23fff' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .25rem center; padding-right: 2rem; }
.field select option { color: #000; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.form-actions { text-align: center; margin-top: 2rem; }
.form-status { margin-top: 1rem; text-align: center; min-height: 1.5em; }
.form-status.error { color: #ffb4a0; }
.form-success { text-align: center; font-size: var(--text-lg); padding: 2rem 0; }
@media (max-width: 599px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Services (collage cards) ---------- */
.services { display: grid; gap: 6vw; margin-top: 3rem; }
.service { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.service-media { grid-column: 1 / 9; grid-row: 1; }
.service-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card {
  grid-column: 7 / 13; grid-row: 1; z-index: 1;
  background: #fff; color: #000; padding: 2.5rem; text-align: left;
}
.service-card h3 { font-size: var(--h3); margin-bottom: .4em; }
.service-card p { margin-bottom: 1.5rem; }
.service.flip .service-media { grid-column: 5 / 13; }
.service.flip .service-card { grid-column: 1 / 7; }
@media (max-width: 767px) {
  .service, .service.flip { grid-template-columns: 1fr; }
  .service-media, .service.flip .service-media, .service-card, .service.flip .service-card { grid-column: 1; grid-row: auto; }
  .service-card { padding: 1.75rem; }
}

/* ---------- Blog list (masonry-style, centered) ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 3rem 2.5rem; margin-top: 2rem; }
.post-card { text-align: center; }
.post-card .thumb { display: block; margin-bottom: 1.3rem; overflow: hidden; }
.post-card .thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.post-card .thumb:hover img { transform: scale(1.03); }
.post-card h2 { font-size: var(--h4); margin: .3rem 0 .6rem; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card .excerpt { margin-bottom: .8rem; }
.meta { font-size: .9rem; opacity: .85; display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem .9rem; }
.read-more { font-weight: 400; }
.tag-filter { text-align: center; margin-top: -0.5rem; }
.empty { text-align: center; opacity: .8; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-header { text-align: center; margin-bottom: 3rem; }
.article-header h1 { font-size: var(--h2); margin: .6rem 0; }
.article-body { font-size: var(--text); }
.article-body h2 { font-size: var(--h3); margin-top: 1.6em; }
.article-body h3 { font-size: var(--h4); margin-top: 1.4em; }
.article-body h4 { font-size: 1.3rem; }
.article-body img { margin: 2rem auto; }
.article-body figure { margin: 2rem 0; }
.article-body figcaption { font-size: .9rem; opacity: .8; text-align: center; }
.article-body blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 3px solid var(--accent); font-style: italic; }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body code { background: rgba(255,255,255,.08); padding: .1em .35em; font-size: .92em; }
.article-body pre { background: rgba(0,0,0,.3); padding: 1rem; overflow-x: auto; }
.article-body hr { border: 0; border-top: 1px solid rgba(255,255,255,.25); margin: 2.5rem 0; }
.tags { margin-top: 3rem; display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.tags a { font-size: .85rem; border: 1px solid rgba(255,255,255,.35); color: #fff; padding: .25rem .8rem; text-decoration: none; }
.tags a:hover { border-color: var(--accent); color: var(--accent); }
.article-nav { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .95rem; }
.article-nav a { color: #fff; text-decoration: none; max-width: 45%; }
.article-nav a:hover { color: var(--accent); }
.article-nav .next { text-align: right; margin-left: auto; }
.article-nav small { display: block; opacity: .7; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); padding: calc(40vmax / 10) var(--page-pad); min-height: 40vh; display: flex; align-items: center; }
.footer-inner { width: 100%; max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; }
.footer-inner h3 { margin-bottom: .6rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: #fff; }
.footer-links p { margin: 0 0 .6rem; }
.footer-links a { text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; font-size: .8rem; opacity: .55; margin-top: 2rem; }
@media (max-width: 767px) { .footer-inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
