:root {
  --bg: #030303;
  --text: #f6f6f6;
  --muted: #b8b8b8;
  --soft: #808080;
  --line: #292929;
  --card: #080808;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 11px 5vw 9px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1;
}

.brand-sub {
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  color: var(--text);
  opacity: 0.88;
  padding-bottom: 7px;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  opacity: 1;
  text-decoration: none;
  border-bottom-color: var(--text);
}

main {
  max-width: 100%;
}

.hero {
  min-height: 39vh;
  padding: 24px 5vw 58px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 58px;
  border-bottom: 1px solid var(--line);
}

.hero-logo {
  width: min(370px, 74vw);
  justify-self: center;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.08));
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.07;
  margin: 0 0 14px;
  letter-spacing: -0.035em;
  max-width: 650px;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  margin: 0 0 24px;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.hero-rule {
  width: 74px;
  height: 1px;
  background: var(--line);
  margin: 0 0 16px;
}

.lead {
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--muted);
  max-width: 760px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.button {
  border: 1px solid var(--text);
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.service-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.strip-card {
  min-height: 154px;
  padding: 14px 14px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

.strip-card:last-child {
  border-right: none;
}

.icon {
  height: 28px;
  margin-bottom: 3px;
  opacity: 0.92;
}

.strip-card h3 {
  font-size: 13px;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.strip-card p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
  max-width: 195px;
  margin: 0 auto;
}

.learn {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-page {
  padding: 42px 5vw;
  max-width: 1000px;
  margin: 0 auto;
}

.section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 28px;
}

.card p,
.page-text p {
  color: var(--muted);
}

.page-text {
  max-width: 820px;
  font-size: 15px;
}

.sample {
  margin-bottom: 24px;
}

audio {
  width: 100%;
  margin-top: 12px;
}

.contact-box {
  border: 1px solid var(--line);
  padding: 34px;
  background: var(--card);
  max-width: 720px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 17px 5vw;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1050px) {
  .nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-card {
  min-height: 154px;
  padding: 14px 14px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}
}

@media (max-width: 800px) {
  .site-header {
  border-bottom: 1px solid var(--line);
  padding: 11px 5vw 9px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

  .nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

  .hero {
  min-height: 39vh;
  padding: 24px 5vw 58px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 58px;
  border-bottom: 1px solid var(--line);
}

  .hero-logo {
  width: min(370px, 74vw);
  justify-self: center;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.08));
}

  .service-strip {
    grid-template-columns: 1fr;
  }

  .strip-card {
  min-height: 154px;
  padding: 14px 14px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

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

/* Revision 15 - ultra compact about page */
.page-text p{
  margin: 0 0 10px;
}

.content-page{
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

.section{
  padding: 14px 0 !important;
}


/* Revision 16 - push footer closer to bottom on short pages */
.content-page{
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
}

.content-page .section:last-child{
  margin-top: auto;
}


/* Revision 17 - consistent footer position on every page */
html,
body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 17px 5vw;
  color: var(--muted);
  font-size: 13px;
}

/* Keep inner pages balanced without pushing the footer upward */
.content-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-page .section:last-child {
  margin-top: auto;
}


/* Revision 18 - Home page no-scroll desktop target */
@media (min-width: 901px) {
  body.home-page {
    height: 100vh;
    overflow: hidden;
  }

  body.home-page main {
    overflow: hidden;
  }
}


/* Revision 19 - Services page no-scroll desktop target */
@media (min-width: 901px) {
  body.services-page {
    height: 100vh;
    overflow: hidden;
  }

  body.services-page main {
    overflow: hidden;
  }

  body.services-page .content-page {
    padding-top: 24px !important;
    padding-bottom: 18px !important;
  }

  body.services-page h1 {
    font-size: clamp(28px, 3vw, 42px);
    margin-bottom: 12px;
  }

  body.services-page .lead {
    font-size: clamp(15px, 1.25vw, 18px);
    margin: 0;
  }

  body.services-page .section {
    padding: 18px 0 !important;
  }

  body.services-page .grid {
    gap: 14px;
  }

  body.services-page .card {
    padding: 18px 20px;
  }

  body.services-page .card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  body.services-page .card p {
    font-size: 13px;
    line-height: 1.42;
    margin: 0;
  }
}


/* Revision 20 - Services page readability refinement */
@media (min-width: 901px) {
  body.services-page .section {
    padding: 14px 0 !important;
  }

  body.services-page .grid {
    gap: 16px;
  }

  body.services-page .card {
    padding: 22px 24px;
  }

  body.services-page .card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  body.services-page .card p {
    font-size: 13.8px;
    line-height: 1.48;
  }
}


/* Revision 21 - About page tools section */
.tools-section h2 {
  margin-bottom: 14px;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.tools-list span {
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  background: var(--card);
}


/* Revision 22 */
.tools-section{margin-top:-8px;}
.tools-list{gap:14px;max-width:900px;}
.tools-list span{
  padding:10px 16px;
  font-size:14px;
}


/* Revision 24 - Slightly larger About page typography */
@media (min-width: 901px) {
  .page-text {
    font-size: 16px;
  }
  .page-text .lead {
    font-size: clamp(17px, 1.5vw, 21px);
  }
  .page-text p {
    font-size: 15.5px;
    line-height: 1.6;
  }
  .tools-list span {
    font-size: 14.5px;
    padding: 11px 17px;
  }
}


/* Revision 26 - Footer legal links */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links {
  font-size: 12px;
  color: var(--muted);
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  margin-right: 8px;
}


/* Revision 27 - Contact page international note */
.international-note {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  max-width: 720px;
}


/* Revision 28 - Stronger Contact page international note */
.international-note {
  margin-top: 30px !important;
  font-size: 20px !important;
  line-height: 1.55 !important;
  color: var(--text) !important;
  max-width: 780px !important;
  letter-spacing: -0.01em;
}


/* Revision 29 - Refined Contact page international note */
.international-note {
  margin-top: 26px !important;
  font-size: 17.5px !important;
  line-height: 1.45 !important;
  color: var(--text) !important;
  max-width: 980px !important;
  letter-spacing: -0.005em;
  white-space: nowrap;
}


/* Revision 30 */
.international-note{
  margin-top:14px !important;
}


/* Revision 33 - Footer legal link alignment */
.footer-links {
  padding-left: 14px;
}


/* Revision 34 - Precise footer alignment */
.site-footer {
  display: block;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 14px auto;
  column-gap: 4px;
  row-gap: 4px;
  align-items: baseline;
}

.footer-symbol {
  grid-column: 1;
  color: var(--muted);
}

.footer-main {
  grid-column: 2;
  color: var(--muted);
}

.footer-links {
  grid-column: 2;
  padding-left: 0 !important;
  font-size: 12px;
  color: var(--muted);
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  margin-right: 8px;
}


/* Revision 35 - Mobile responsive refinement */
* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
audio {
  max-width: 100%;
}

@media (max-width: 900px) {
  body.home-page {
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.home-page main {
    overflow: visible !important;
  }

  .site-header {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px 6vw 14px !important;
  }

  .nav {
    gap: 16px !important;
    font-size: 11px !important;
    line-height: 1.5;
  }

  .hero {
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    padding: 34px 6vw 36px !important;
    text-align: left;
  }

  h1 {
    font-size: clamp(30px, 10vw, 46px) !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
  }

  .lead {
    font-size: 16px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  .actions {
    margin-top: 20px !important;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-logo {
    width: min(260px, 64vw) !important;
    max-width: 100% !important;
  }

  .service-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    border-top: 1px solid var(--line);
  }

  .strip-card {
    min-height: auto !important;
    padding: 22px 6vw !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .strip-card h3 {
    font-size: 14px !important;
  }

  .strip-card p {
    font-size: 13px !important;
    max-width: 340px !important;
  }

  .content-page {
    padding-left: 6vw !important;
    padding-right: 6vw !important;
  }

  .grid {
    grid-template-columns: 1fr !important;
  }

  .card {
    padding: 22px 20px !important;
  }

  .site-footer {
    padding-left: 6vw !important;
    padding-right: 6vw !important;
  }

  .footer-wrap {
    grid-template-columns: 14px minmax(0, auto) !important;
  }

  .international-note {
    white-space: normal !important;
    font-size: 16px !important;
    max-width: 100% !important;
  }

  audio {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 12px !important;
    font-size: 10.5px !important;
  }

  .logo {
    width: 32px !important;
    height: 32px !important;
  }

  .brand-name {
    font-size: 12px !important;
  }

  h1 {
    font-size: clamp(28px, 11vw, 40px) !important;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}


/* Revision 36 - Before / After sample page */
.samples-page {
  max-width: 1120px;
}

.sample-section {
  border-top: 1px solid var(--line);
  padding: 28px 0 30px;
}

.sample-section:first-of-type {
  margin-top: 26px;
}

.sample-section h2 {
  margin: 0 0 18px;
  font-size: clamp(21px, 2vw, 30px);
  letter-spacing: -0.025em;
}

.sample-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.sample-player {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 20px;
}

.sample-player h3 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sample-player p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.sample-player audio,
.sample-player video {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .samples-page {
    max-width: 100%;
  }

  .sample-section {
    padding: 24px 0 26px;
  }

  .sample-compare {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sample-player {
    padding: 18px;
  }
}

/* Revision 39 - expanded audio restoration portfolio */
.samples-page {
  max-width: 1000px;
}

.samples-page > .lead {
  margin-bottom: 34px;
}

.sample-section {
  border-top: 1px solid var(--line);
  padding: 34px 0 38px;
}

.sample-section h2 {
  font-size: clamp(25px, 3vw, 38px);
  margin-bottom: 20px;
}

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

.sample-player {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
  min-width: 0;
}

.sample-player h3,
.sample-player h4 {
  margin: 0 0 5px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-player p {
  margin: 0 0 6px;
  font-size: 13.5px;
}

.sample-player audio {
  display: block;
  margin-top: 12px;
}

.restoration-intro {
  max-width: 850px;
  padding: 0 0 8px;
}

.restoration-intro p {
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.restoration-example {
  border-top: 1px solid var(--line);
  padding: 29px 0 4px;
  margin-top: 22px;
}

.restoration-example h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.scenario-description {
  max-width: 800px;
  margin-bottom: 16px !important;
}

.restoration-note {
  border: 1px solid var(--line);
  background: var(--card);
  margin-top: 34px;
  padding: 22px 24px;
}

.restoration-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.restoration-note strong {
  color: var(--text);
}

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

  .sample-section {
    padding: 28px 0 32px;
  }

  .sample-player {
    padding: 16px;
  }

  .restoration-example {
    padding-top: 24px;
  }
}
