:root {
  --ink: #172f27;
  --ink-2: #2c3a35;
  --paper: #f7f1e9;
  --paper-2: #fffaf4;
  --line: #e2d4c2;
  --brass: #b78337;
  --brass-dark: #8e6328;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(28, 36, 31, 0.13);
  --shadow-strong: 0 24px 70px rgba(24, 51, 40, 0.2);
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 82px;
  padding: 14px clamp(20px, 6vw, 90px);
  border-bottom: 1px solid rgba(42, 51, 45, 0.12);
  background: rgba(255, 250, 244, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 rgba(24, 51, 40, 0);
  transition: min-height 420ms var(--ease-apple), padding 420ms var(--ease-apple), box-shadow 420ms var(--ease-apple), background 420ms var(--ease-apple);
}

.site-header.is-scrolled {
  min-height: 66px;
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 12px 40px rgba(24, 51, 40, 0.08);
}

.brand {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 12px;
  width: max-content;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 37px);
  line-height: 1;
}

.brand img {
  width: 46px;
  height: 46px;
  grid-row: 1 / 3;
  transition: transform 420ms var(--ease-apple);
}

.site-header.is-scrolled .brand img {
  transform: scale(0.82);
}

.brand svg {
  width: 160px;
  height: 18px;
  justify-self: start;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.4;
}

.nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brass);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 8px 13px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  height: calc(92svh - 82px);
  min-height: 560px;
  max-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transform: translate3d(0, var(--hero-y, 0), 0) scale(var(--hero-scale, 1.03));
  animation: settle 1400ms ease both;
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 250, 244, 0.92) 32%, rgba(255, 250, 244, 0.35) 52%, rgba(255, 250, 244, 0.02) 76%),
    linear-gradient(0deg, rgba(16, 35, 27, 0.18), rgba(16, 35, 27, 0));
}

.hero-content {
  position: relative;
  display: flex;
  height: 100%;
  width: min(680px, 100%);
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 8vw, 92px) clamp(22px, 8vw, 100px);
  animation: rise 900ms ease 120ms both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brass-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(3.7rem, 6.6vw, 6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin-bottom: 9px;
  font-size: 1.55rem;
}

.hero-copy {
  max-width: 430px;
  margin-bottom: 28px;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 28px;
}

.service-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-strip span:first-child {
  padding-left: 0;
}

.service-strip span:last-child {
  border-right: 0;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-strip svg {
  width: 28px;
  height: 28px;
  color: var(--brass);
}

.button {
  display: inline-flex;
  width: max-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--brass);
  padding: 12px 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 320ms var(--ease-apple), box-shadow 320ms var(--ease-apple), background 320ms var(--ease-apple);
}

.button svg {
  width: 20px;
  height: 20px;
}

.button.primary {
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 0 12px 20px rgba(24, 51, 40, 0.22);
}

.button:hover,
.button:focus-visible {
  box-shadow: var(--shadow-strong);
  transform: translateY(-3px);
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(20px, 6vw, 90px);
}

.section-heading {
  width: min(1060px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.service-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-grid article {
  position: relative;
  overflow: hidden;
  min-height: 154px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.72);
  padding: 28px;
  transition: transform 420ms var(--ease-apple), box-shadow 420ms var(--ease-apple), border-color 420ms var(--ease-apple);
}

.service-grid article:hover {
  border-color: rgba(183, 131, 55, 0.5);
  box-shadow: var(--shadow-strong);
  transform: translateY(-6px);
}

.service-feature {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--paper-2);
}

.service-feature::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 51, 40, 0.03), rgba(24, 51, 40, 0.78));
  content: "";
}

.service-feature > div {
  position: relative;
  z-index: 2;
}

.service-feature h3,
.service-feature p {
  color: var(--paper-2);
}

.service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-apple);
}

.service-feature:hover .service-photo {
  transform: scale(1.045);
}

.icon-ring {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  color: var(--brass);
}

.icon-ring svg {
  width: 29px;
  height: 29px;
}

.service-grid p,
.review-grid p,
.about-copy p,
.contact-info p {
  margin-bottom: 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 48%) minmax(320px, 52%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.about-image {
  min-height: 410px;
  background:
    linear-gradient(90deg, rgba(247, 241, 233, 0) 64%, var(--paper-2) 100%),
    linear-gradient(0deg, rgba(24, 51, 40, 0.3), rgba(24, 51, 40, 0)),
    url("./assets/piano-action-open.jpg") center / cover;
}

.about-copy {
  display: flex;
  max-width: 620px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 88px) clamp(26px, 7vw, 92px);
}

.gallery {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.gallery-grid figure {
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.gallery-grid figure.wide {
  grid-row: span 2;
  min-height: 576px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-apple), filter 800ms var(--ease-apple);
}

.gallery-grid figure:hover img {
  filter: saturate(1.05);
  transform: scale(1.045);
}

.reviews-heading {
  display: grid;
  width: min(1020px, 100%);
  margin: 0 auto 28px;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.reviews-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
}

.review-source {
  display: grid;
  min-width: 180px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 18px 20px;
  text-align: right;
  transition: transform 360ms var(--ease-apple), box-shadow 360ms var(--ease-apple), border-color 360ms var(--ease-apple);
}

.review-source:hover,
.review-source:focus-visible {
  border-color: rgba(183, 131, 55, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.review-source strong,
.review-source span {
  display: block;
}

.review-source strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.review-source span {
  color: var(--brass-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-grid {
  display: grid;
  width: min(1020px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

blockquote {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.65);
  padding: 28px;
  text-align: center;
  transition: transform 420ms var(--ease-apple), box-shadow 420ms var(--ease-apple), border-color 420ms var(--ease-apple);
}

blockquote:hover {
  border-color: rgba(183, 131, 55, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

blockquote::before {
  display: block;
  margin-bottom: 12px;
  color: var(--brass);
  content: '"';
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.7;
}

cite {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--paper-2);
  padding: 24px clamp(20px, 6vw, 90px);
}

.trust-band div {
  min-height: 76px;
  border-right: 1px solid rgba(183, 131, 55, 0.55);
  padding: 0 26px;
}

.trust-band div:first-child {
  padding-left: 0;
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 4px;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.trust-band span {
  color: rgba(255, 250, 244, 0.78);
  font-size: 0.9rem;
}

.contact {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 86px);
}

.contact-info a {
  display: block;
  width: max-content;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 700;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

label.full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--ink-2);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(183, 131, 55, 0.16);
}

textarea {
  resize: vertical;
}

.schedule-form .button {
  grid-column: 1 / -1;
  justify-self: end;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--ink);
  color: var(--paper-2);
  padding: 26px clamp(20px, 6vw, 90px);
}

.footer span {
  display: block;
}

.footer-logo {
  width: 178px;
  height: auto;
  margin-bottom: 8px;
}

.footer span {
  color: rgba(255, 250, 244, 0.72);
  font-size: 0.82rem;
}

.footer nav {
  color: rgba(255, 250, 244, 0.88);
}

.js-ready .reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(22px) scale(0.99);
  transition: opacity 640ms var(--ease-apple), filter 640ms var(--ease-apple), transform 640ms var(--ease-apple);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.js-ready .trust-band .reveal {
  filter: none;
  transform: translateY(18px);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes settle {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.03);
  }
}

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

  .js-ready .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .site-header.is-scrolled {
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .header-call {
    padding: 7px 10px;
  }

  .hero,
  .hero-content {
    height: calc(92svh - 76px);
    min-height: 550px;
  }

  .hero img {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 250, 244, 0.97) 0%, rgba(255, 250, 244, 0.86) 46%, rgba(255, 250, 244, 0.26) 78%),
      linear-gradient(0deg, rgba(16, 35, 27, 0.2), rgba(16, 35, 27, 0));
  }

  .service-grid,
  .review-grid,
  .contact,
  .about,
  .trust-band,
  .gallery-grid,
  .reviews-heading {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 300px;
  }

  .about-copy {
    max-width: none;
  }

  .gallery-grid figure,
  .gallery-grid figure.wide {
    min-height: 300px;
  }

  .review-source {
    width: 100%;
    text-align: left;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(183, 131, 55, 0.45);
    padding: 18px 0;
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

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

  .brand {
    font-size: 1.18rem;
    gap: 2px 8px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand svg {
    width: 96px;
    height: 12px;
  }

  .header-call {
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 0;
  }

  .header-call::before {
    width: 19px;
    height: 19px;
    background: currentColor;
    content: "";
    mask:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.91.33 1.8.63 2.65a2 2 0 0 1-.45 2.11L8 9.77a16 16 0 0 0 6.23 6.23l1.29-1.29a2 2 0 0 1 2.11-.45c.85.3 1.74.51 2.65.63A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E")
      center / contain no-repeat;
  }

  .hero {
    height: auto;
    min-height: auto;
  }

  .hero img {
    position: relative;
    height: 43svh;
    min-height: 300px;
    object-position: center;
  }

  .hero-shade {
    background: linear-gradient(0deg, var(--paper-2) 0%, rgba(255, 250, 244, 0) 46%);
  }

  .hero-content {
    height: auto;
    min-height: auto;
    padding: 26px 20px 42px;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .service-strip {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .service-strip span {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0;
  }

  .service-strip span:last-child {
    border-bottom: 0;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 52px 20px;
  }

  .service-grid article,
  blockquote {
    padding: 24px 22px;
  }

  .service-feature {
    min-height: 270px;
  }

  .schedule-form {
    grid-template-columns: 1fr;
  }

  .schedule-form .button {
    justify-self: stretch;
  }

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

  .footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}
