:root {
  --ink: #17211f;
  --ink-soft: #3c4743;
  --paper: #f8f5ed;
  --paper-deep: #eee8dc;
  --copper: #a35f2a;
  --copper-dark: #76421f;
  --moss: #536b55;
  --moss-dark: #20362f;
  --line: rgba(23, 33, 31, 0.16);
  --white: #fffdf7;
  --shadow: 0 24px 70px rgba(16, 23, 21, 0.18);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

section[id],
main[id] {
  scroll-margin-top: 92px;
}

body.nav-open {
  overflow: hidden;
}

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

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

.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: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(14px, 3vw, 42px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-elevated,
.site-header.menu-active,
.inner-page .site-header {
  background: rgba(248, 245, 237, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  padding-block: 6px;
}

.site-nav a:hover {
  border-color: currentColor;
}

.site-nav a[aria-current="page"] {
  color: var(--copper);
  border-color: currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.service-grid svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.button.primary {
  background: var(--copper);
  color: var(--white);
}

.button.primary:hover {
  background: var(--copper-dark);
}

.button.ghost {
  border-color: rgba(255, 253, 247, 0.58);
  color: var(--white);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  align-items: end;
  overflow: hidden;
  padding-top: 112px;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 25, 23, 0.88), rgba(18, 25, 23, 0.5) 48%, rgba(18, 25, 23, 0.12)),
    linear-gradient(0deg, rgba(18, 25, 23, 0.78), transparent 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 28px));
  margin: 0 clamp(14px, 5vw, 66px) clamp(46px, 7vw, 82px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e3ae79;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.25rem);
}

h3 {
  font-size: clamp(1.24rem, 2vw, 1.65rem);
}

p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 253, 247, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.section-band {
  background: var(--white);
}

.intro,
.catalogue,
.services,
.workshop,
.contact,
.home-links,
.page-hero {
  padding: clamp(38px, 5vw, 68px) clamp(14px, 3.8vw, 52px);
}

.page-hero {
  padding-top: clamp(112px, 13vw, 154px);
  padding-bottom: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(90deg, rgba(248, 245, 237, 1), rgba(248, 245, 237, 0.9)),
    var(--paper);
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero p:not(.eyebrow) {
  margin: 24px 0 0;
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.page-hero + .instruments-catalogue {
  padding-top: clamp(10px, 1.8vw, 20px);
}

.instruments-catalogue .gallery-toolbar {
  margin-top: 0;
}

.home-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-link {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 152px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(23, 33, 31, 0.08);
}

.home-link img {
  width: 100%;
  height: 100%;
  min-height: 152px;
  object-fit: cover;
}

.home-link strong,
.home-link small {
  display: block;
}

.home-link strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.home-link small {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.home-link svg {
  margin-right: 16px;
  color: var(--copper);
}

.section-copy {
  width: min(760px, 100%);
}

.section-copy.narrow {
  width: min(690px, 100%);
}

.section-copy p:not(.eyebrow) {
  margin: 20px 0 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.intro-grid,
.service-grid,
.instrument-grid {
  display: grid;
  gap: 14px;
}

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

.intro-grid article,
.service-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248, 245, 237, 0.72);
  padding: 20px;
}

.intro-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--moss);
  font-weight: 900;
}

.intro-grid p,
.service-grid p {
  margin: 12px 0 0;
  font-size: 0.96rem;
}

.service-grid svg {
  margin-bottom: 22px;
  color: var(--copper);
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 0 15px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: var(--moss-dark);
  background: var(--moss-dark);
  color: var(--white);
}

.instrument-count {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
}

.instrument-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.instrument-card {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(23, 33, 31, 0.08);
}

.instrument-card-image {
  position: relative;
  min-height: 280px;
  background: var(--paper-deep);
}

.instrument-card-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.instrument-card-image span {
  position: absolute;
  inset: 14px 14px auto auto;
  border-radius: 999px;
  background: rgba(23, 33, 31, 0.74);
  color: var(--white);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.instrument-card-copy {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.instrument-card-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.95rem;
}

.instrument-card-copy .button {
  justify-self: start;
  min-height: 42px;
  padding-inline: 14px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.workshop {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
}

.workshop-media {
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--moss-dark);
}

.workshop-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.workshop-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.details {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  border-top: 1px solid var(--line);
}

.details div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--moss);
  font-weight: 900;
}

dd {
  margin: 0;
  color: var(--ink-soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 20px;
  align-items: end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(14px, 3.8vw, 52px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 247, 0.82);
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .intro,
  .workshop,
  .contact,
  .home-links {
    grid-template-columns: 1fr;
  }

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

  .contact {
    align-items: start;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 84px;
  }

  section[id],
  main[id] {
    scroll-margin-top: 84px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 68px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 100svh;
    padding-top: 116px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px max(34px, env(safe-area-inset-bottom));
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(1.9rem, 8.3vw, 3rem);
  }

  h1 {
    max-width: unset;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  h3 {
    font-size: clamp(1.18rem, 6vw, 1.45rem);
  }

  .hero p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.55;
    max-width: unset;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .intro,
  .catalogue,
  .services,
  .workshop,
  .contact,
  .home-links,
  .page-hero {
    padding: 34px 12px;
  }

  .page-hero {
    padding-top: 100px;
    padding-bottom: 18px;
  }

  .page-hero + .instruments-catalogue {
    padding-top: 10px;
  }

  .page-hero h1 {
    max-width: unset;
  }

  .page-hero p:not(.eyebrow) {
    max-width: unset;
  }

  .gallery-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .filter-button {
    width: 100%;
    padding-inline: 10px;
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .intro-grid,
  .service-grid,
  .instrument-grid {
    grid-template-columns: 1fr;
  }

  .workshop-media,
  .workshop-media img {
    min-height: 420px;
  }

  .instrument-card {
    grid-template-rows: auto auto;
  }

  .instrument-card-image,
  .instrument-card-image img {
    min-height: 240px;
  }

  .instrument-card-copy {
    padding: 15px;
  }

  .home-link {
    grid-template-columns: 112px 1fr auto;
    gap: 10px;
    min-height: 132px;
  }

  .home-link img {
    min-height: 132px;
  }

  .home-link svg {
    margin-right: 10px;
  }

  .details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.instrument-modal[hidden] {
  display: none;
}

.instrument-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 32px);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 20, 18, 0.74);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.98fr) minmax(280px, 0.82fr);
  width: min(1120px, 100%);
  max-height: min(860px, calc(100svh - 28px));
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 253, 247, 0.5);
  border-radius: 999px;
  background: rgba(23, 33, 31, 0.72);
  color: var(--white);
  cursor: pointer;
}

.modal-media {
  display: grid;
  grid-template-rows: minmax(420px, 1fr) auto;
  gap: 12px;
  padding: 14px;
  background: var(--ink);
}

.modal-main-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
}

.modal-thumbs {
  display: grid;
  grid-auto-columns: 72px;
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-thumbs button {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.modal-thumbs button.is-active {
  border-color: #e3ae79;
}

.modal-thumbs img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.modal-copy {
  align-self: center;
  padding: clamp(28px, 5vw, 58px);
}

.modal-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
}

.modal-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.modal-details {
  margin-top: 30px;
}

@media (max-width: 840px) {
  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-media {
    grid-template-rows: minmax(320px, 52svh) auto;
  }

  .modal-media img {
    min-height: 320px;
  }

  .modal-main-image {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .instrument-modal {
    display: block;
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    min-height: 100svh;
    max-height: 100svh;
    border-radius: 0;
  }

  .modal-media {
    grid-template-rows: minmax(280px, 48svh) auto;
    padding: 10px;
  }

  .modal-main-image,
  .modal-media img {
    min-height: 280px;
  }

  .modal-thumbs {
    grid-auto-columns: 62px;
  }

  .modal-thumbs button {
    width: 62px;
    height: 62px;
  }

  .modal-copy {
    padding: 22px 14px 30px;
  }

  .modal-copy h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand strong {
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    width: calc(100% - 24px);
    margin-inline: 12px;
  }

  h1 {
    font-size: clamp(1.75rem, 7.8vw, 2.5rem);
  }

  .gallery-toolbar {
    grid-template-columns: 1fr;
  }

  .home-link {
    grid-template-columns: 1fr;
  }

  .home-link img {
    height: 220px;
  }

  .home-link span {
    padding: 0 14px;
  }

  .home-link svg {
    margin: 0 14px 14px;
  }

  .instrument-card-image,
  .instrument-card-image img {
    min-height: 218px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
