/*
Theme Name: lyd.studio
Theme URI: https://example.com/lyd-studio
Author: lyd.studio
Description: A polished one-page audio studio theme.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: lyd-studio
*/

:root {
  --teal-900: #073d3e;
  --teal-800: #0a5656;
  --teal-700: #018571;
  --teal-500: #80cdc1;
  --teal-100: #dff2ee;
  --ochre-700: #a6611a;
  --ochre-500: #c78223;
  --gold-400: #dfc27d;
  --ink: #113c3d;
  --paper: #f7f7f4;
  --white: #ffffff;
  --line: rgba(7, 61, 62, .14);
  --shadow: 0 24px 60px rgba(7, 61, 62, .12);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-shell { overflow: hidden; }
.container { width: min(1110px, calc(100% - 64px)); margin-inline: auto; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--white); background: rgba(1, 133, 113, .96); border-bottom: 1px solid rgba(255,255,255,.22); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.site-brand { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.55); background: transparent; color: white; padding: 8px 12px; font: inherit; }
.primary-menu { display: flex; align-items: center; gap: clamp(22px, 4vw, 50px); font-size: 14px; }
.primary-menu a { position: relative; padding: 28px 0; opacity: .96; transition: opacity .2s ease; }
.primary-menu a:hover, .primary-menu .current-menu-item a { opacity: 1; }
.primary-menu .current-menu-item a::after { content: ''; position: absolute; bottom: 18px; left: 0; right: 0; height: 2px; background: var(--gold-400); }

.hero { min-height: 600px; padding: 154px 0 72px; display: flex; align-items: center; background: radial-gradient(circle at 78% 48%, rgba(128,205,193,.1), transparent 31%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 30px; }
.eyebrow, .section-kicker { color: var(--teal-700); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 540px; margin: 12px 0 20px; font-family: var(--serif); font-size: clamp(48px, 6vw, 80px); font-weight: 700; line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: var(--ochre-700); }
.hero-copy { max-width: 510px; margin: 0; font-size: 17px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid var(--teal-700); background: var(--teal-700); color: var(--white); font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); background: var(--teal-800); }
.button-outline { border-color: var(--ochre-700); background: transparent; color: var(--ochre-700); }
.button-outline:hover { background: var(--ochre-700); color: var(--white); }
.wave-panel { min-height: 260px; display: flex; align-items: center; }
.waveform { width: 100%; height: auto; overflow: visible; }
.waveform line { stroke: var(--teal-500); stroke-width: 3; stroke-linecap: round; }

.services { padding: 36px 0; background: var(--teal-100); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.service { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--teal-900); font-size: 27px; }
.service:nth-child(2) .service-icon { background: var(--ochre-700); }
.service:nth-child(3) .service-icon { background: var(--gold-400); }
.service h2 { margin: 7px 0 10px; font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.service p { max-width: 240px; margin: 0; font-size: 13px; }
.service::after { content: ''; display: block; grid-column: 2; width: 35px; margin-top: 2px; border-top: 3px solid var(--teal-700); }
.service:nth-child(2)::after { border-color: var(--ochre-700); }
.service:nth-child(3)::after { border-color: var(--gold-400); }

.work { padding: 38px 0 54px; text-align: center; }
.section-heading { margin: 7px 0 28px; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.section-heading::after { content: ''; display: block; width: 42px; margin: 13px auto 0; border-top: 3px solid var(--teal-500); }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; text-align: left; }
.work-card { position: relative; min-height: 160px; display: flex; align-items: end; overflow: hidden; color: white; background: var(--teal-800); isolation: isolate; }
.work-card::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--card-bg, linear-gradient(135deg, #9d6a27, #60350f)); background-size: cover; background-position: center; transition: transform .45s ease; }
.work-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 36, 37, .82), rgba(3, 36, 37, .04) 78%); }
.work-card:hover::before { transform: scale(1.08); }
.card-content { padding: 17px; }
.card-content h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 15px; line-height: 1.1; }
.card-content p { margin: 0; font-size: 11px; }

.site-footer { padding: 18px 0; background: var(--teal-700); color: var(--white); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-note { max-width: 220px; margin: 0; font-family: var(--serif); font-size: 16px; font-weight: 700; line-height: 1.25; }
.subscribe { display: flex; width: min(285px, 100%); }
.subscribe input { min-width: 0; flex: 1; border: 0; padding: 12px; color: var(--ink); background: var(--white); font: inherit; }
.subscribe button { border: 0; padding: 0 19px; color: var(--teal-900); background: var(--teal-500); font-weight: 700; cursor: pointer; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; font-size: 11px; transition: transform .2s ease, background .2s ease; }
.footer-social a:hover { transform: translateY(-3px); background: rgba(255,255,255,.18); }

@media (max-width: 760px) {
  .container { width: min(100% - 40px, 560px); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; }
  .primary-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 10px 20px 18px; flex-direction: column; align-items: stretch; gap: 0; background: var(--teal-800); }
  .primary-menu.is-open { display: flex; }
  .primary-menu a { padding: 10px 0; }
  .primary-menu .current-menu-item a::after { display: none; }
  .hero { padding: 125px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(47px, 14vw, 72px); }
  .wave-panel { min-height: 150px; margin-top: 14px; }
  .service-grid { grid-template-columns: 1fr; gap: 30px; }
  .service p { max-width: 450px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-wrap { align-items: stretch; flex-direction: column; }
}
@media (max-width: 420px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 145px; }
  .subscribe { width: 100%; }
}
