* {
  box-sizing: border-box;
}

:root {
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.14);
  --gold: #ffffff;
  --gold-bright: #ffffff;
  --red: #a40d14;
  --red-dark: #5d0509;
  --text: #ffffff;
  --muted: #b8b8b8;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.88)),
    url("offkey-dark-logo.png") center top / cover fixed no-repeat,
    #050505;
  color: var(--text);
}

body.why-page {
  background:
    linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.88)),
    url("offkey-dark-logo.png") center top / contain fixed no-repeat,
    #050505;
}

button,
input,
textarea {
  font: inherit;
}

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

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 32px 16px;
}

.title {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 0 42px;
}

.title h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 8vw, 92px);
  letter-spacing: 5px;
  line-height: 0.95;
  text-transform: uppercase;
}

.title span {
  color: var(--gold-bright);
}

.title p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(12px, 2.4vw, 18px);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.piano-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
}

.piano-top {
  height: 24px;
  border: 1px solid #333;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #2a2a2a, #111);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.piano {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  gap: 4px;
  padding: 12px;
  border: 1px solid #333;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #090909;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.key {
  position: relative;
  height: clamp(250px, 48vw, 390px);
  border: 1px solid #aaa;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #fff 0%, #e8e8e8 100%);
  color: #202020;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 8px 30px;
  cursor: pointer;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.42), 0 12px 24px rgba(0, 0, 0, 0.6);
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.key:hover,
.key.is-pressed {
  transform: translateY(7px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 5px 10px rgba(0, 0, 0, 0.5);
}

.key.red {
  border-color: #7d1116;
  background: linear-gradient(180deg, #e73c43 0%, var(--red-dark) 100%);
  color: #fff;
}

.key-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12px, 1.8vw, 17px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.black-key {
  position: absolute;
  top: 12px;
  z-index: 3;
  width: clamp(42px, 7vw, 66px);
  height: clamp(150px, 28vw, 230px);
  border: 1px solid #272727;
  border-radius: 0 0 7px 7px;
  background: linear-gradient(180deg, #161616, #000);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.65), 0 12px 22px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.black-key.one {
  left: calc((100% - 24px) / 6 * 1 - 22px);
}

.black-key.two {
  left: calc((100% - 24px) / 6 * 3 - 22px);
}

.black-key.three {
  left: calc((100% - 24px) / 6 * 4 - 22px);
}

.tagline {
  position: relative;
  z-index: 2;
  margin: 42px 0 0;
  color: #8f8f8f;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.landing-social {
  position: relative;
  z-index: 2;
  margin-top: 24px;
}

.bottom-tag {
  position: relative;
  z-index: 2;
  margin: 14px 0 0;
  color: #aaa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.site-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.site-mark {
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  padding: 0;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-mark:hover {
  color: #ffffff;
}

.page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.mini-piano {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(76px, 1fr));
  gap: 3px;
  justify-self: end;
  width: min(100%, 760px);
  padding: 9px;
  border: 1px solid #303030;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #151515, #050505);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
}

.mini-key {
  position: relative;
  z-index: 1;
  min-height: 56px;
  border: 1px solid #9b9b9b;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #ffffff, #dcdcdc);
  color: #161616;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 6px 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), 0 8px 14px rgba(0, 0, 0, 0.35);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.mini-key:hover,
.mini-key.active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45), 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mini-key.red {
  border-color: #7d1116;
  background: linear-gradient(180deg, #e43a42, #66070c);
  color: #fff;
}

.mini-black-key {
  position: absolute;
  top: 9px;
  z-index: 2;
  width: 38px;
  height: 42px;
  border: 1px solid #232323;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #151515, #000);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.7), 0 7px 12px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.mini-black-key.one {
  left: calc((100% - 18px) / 6 * 1 - 12px);
}

.mini-black-key.two {
  left: calc((100% - 18px) / 6 * 3 - 12px);
}

.mini-black-key.three {
  left: calc((100% - 18px) / 6 * 4 - 12px);
}

.page-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
  flex: 1;
}

.hero {
  position: relative;
  min-height: min(620px, 68vh);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 56px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.hero h2,
.intro h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0.03em;
}

.accent {
  color: var(--gold-bright);
}

.brand-key,
.mission-red {
  color: #e43a42;
}

.hero p,
.intro p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #dedede;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.statement {
  max-width: 900px;
  margin: 0 auto 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  padding: 34px;
  text-align: center;
}

.statement .eyebrow {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.statement h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 56px);
}

.statement p {
  max-width: 760px;
  margin: 0 auto 15px;
  color: #d7d7d7;
  line-height: 1.68;
}

.statement .quote {
  margin-top: 22px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.minimal-links {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.minimal-links a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.minimal-links a:hover {
  color: #e43a42;
}

.button {
  border: 0;
  border-radius: 999px;
  background: var(--gold-bright);
  color: #050505;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #f1f1f1;
}

.button.secondary {
  border: 1px solid var(--gold-bright);
  background: transparent;
  color: var(--gold-bright);
}

.button.secondary:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.intro {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.minimal-intro {
  max-width: 920px;
  margin: 0 0 46px;
}

.minimal-intro .eyebrow,
.project-type {
  margin: 0 0 12px;
  color: #e43a42;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.minimal-intro h2 {
  margin: 0 0 18px;
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
}

.minimal-intro p:last-child {
  max-width: 690px;
  margin: 0;
  color: #cfcfcf;
  font-size: 18px;
  line-height: 1.58;
}

.minimal-page {
  max-width: 1040px;
}

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

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.why-page .card,
.why-page .cta {
  background: rgba(0, 0, 0, 0.88);
  border-color: rgba(255, 255, 255, 0.22);
}

.why-page .cta {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 36px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
}

.card:hover {
  border-color: rgba(228, 58, 66, 0.58);
  background: var(--panel-strong);
}

.card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-bright);
  font-size: 26px;
}

.card-grid.two .centered-card {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 560px);
}

.card p {
  margin: 0;
  color: #d0d0d0;
  line-height: 1.65;
}

.cta {
  margin-top: 56px;
  padding: 42px 20px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.cta .eyebrow {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cta p:last-child {
  margin-bottom: 0;
  line-height: 1.6;
}

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

.media-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.media-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.media-item.tall img {
  object-position: center top;
}

.media-caption {
  padding: 18px 20px;
}

.media-caption h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-bright);
}

.media-caption p {
  margin: 0;
  color: var(--muted);
}

.video-grid,
.project-list {
  display: grid;
  gap: 28px;
}

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

.video-card,
.project-row {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: center;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090909;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame video,
.experience-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empty-video,
.poster-slot,
.still-slot {
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  min-height: 180px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.empty-video {
  background:
    linear-gradient(135deg, rgba(228, 58, 66, 0.16), rgba(255, 255, 255, 0.02)),
    #070707;
}

.video-copy,
.project-copy {
  padding: 18px 0 0;
}

.project-copy {
  padding-top: 0;
}

.video-copy h3,
.project-copy h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 42px);
}

.video-copy p:last-child,
.project-copy p:last-child {
  margin: 0;
  color: #cfcfcf;
  line-height: 1.6;
}

.stills-board {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}

.poster-slot {
  grid-row: 1 / 4;
  min-height: 430px;
  background: linear-gradient(135deg, rgba(228, 58, 66, 0.2), rgba(255, 255, 255, 0.03));
}

.still-slot {
  min-height: 0;
  background: rgba(255, 255, 255, 0.04);
}

.image-slot {
  overflow: hidden;
  padding: 0;
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-slot img {
  object-fit: cover;
  object-position: top center;
}

.experience-list {
  display: grid;
  gap: 48px;
}

.experience-item {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.experience-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.experience-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-thumb {
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.56)),
    var(--thumb) center / contain no-repeat,
    #050505;
}

.video-thumb iframe {
  opacity: 0.02;
}

.video-thumb:focus-within iframe,
.video-thumb:hover iframe {
  opacity: 1;
}

.play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

.video-thumb:hover .play-overlay,
.video-thumb:focus-within .play-overlay {
  opacity: 0;
}

.image-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.54;
  padding: 24px;
}

.image-preview span {
  position: relative;
  z-index: 1;
}

.experience-copy h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.98;
}

.experience-copy p {
  margin: 0;
  color: #d7d7d7;
  font-size: 18px;
  line-height: 1.55;
}

.experience-copy p span {
  color: #e43a42;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link:hover {
  color: #e43a42;
}

.media-stage {
  min-height: calc(100svh - 154px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 52px;
}

.media-hero-panel {
  width: min(1180px, 100%);
}

.media-screen {
  position: relative;
  overflow: hidden;
  min-height: min(62vh, 640px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #030303;
}

.media-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(1) contrast(1.2);
  transform: scale(1.04);
  transition: opacity 500ms ease, transform 650ms ease;
}

.media-screen.is-events img,
.media-screen.is-photos img {
  opacity: 0.34;
  transform: scale(1);
}

.media-screen::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 24% 44%, rgba(228, 58, 66, 0.24), transparent 18%),
    radial-gradient(circle at 70% 56%, rgba(255, 255, 255, 0.16), transparent 20%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 42%, rgba(228, 58, 66, 0.14));
  animation: screenDrift 8s ease-in-out infinite alternate;
}

.media-screen.is-photos::before {
  opacity: 0.2;
}

.screen-grain {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mix-blend-mode: screen;
  opacity: 0.18;
}

.screen-copy {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 7vw, 84px);
}

.screen-copy p {
  margin: 0 0 12px;
  color: #e43a42;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.screen-copy h2 {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 10vw, 134px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.screen-copy span:not(.brand-key) {
  display: block;
  max-width: 520px;
  margin-top: 24px;
  color: #d4d4d4;
  font-size: 18px;
  line-height: 1.55;
}

.media-orbits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 4vw, 42px);
  width: min(980px, 100%);
  margin: -82px auto 0;
  position: relative;
  z-index: 2;
}

.media-bubble {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  width: min(100%, 260px);
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: #030303;
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.42);
}

.media-bubble.active {
  border-color: #e43a42;
}

.media-bubble strong {
  position: relative;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 3vw, 28px);
  text-transform: uppercase;
}

.bubble-motion,
.bubble-photo {
  position: absolute;
  inset: 0;
  opacity: 0.62;
}

.bubble-motion {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 20%),
    linear-gradient(135deg, rgba(228, 58, 66, 0.72), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 8px, transparent 8px 18px);
  animation: bubbleMove 3s linear infinite;
}

.bubble-photo {
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("floandhiscam.jpg") center / cover;
  animation: photoPulse 6s ease-in-out infinite;
}

@keyframes screenDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.05);
  }
}

@keyframes bubbleMove {
  from {
    transform: translateX(-12%);
  }
  to {
    transform: translateX(12%);
  }
}

@keyframes photoPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.service-pricing {
  display: grid;
  gap: 22px;
}

.service-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 28px;
}

.service-section.featured-service {
  border-color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(228, 58, 66, 0.12), rgba(255, 255, 255, 0.04));
}

.service-section h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-bright);
  font-size: 30px;
}

.service-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.service-item strong,
.service-item span {
  display: block;
}

.service-item strong {
  margin-bottom: 6px;
  color: #fff;
}

.service-item span {
  color: #cfcfcf;
  line-height: 1.55;
}

.service-item p {
  margin: 0;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  white-space: nowrap;
}

.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 30px;
}

.price-card.featured {
  border-color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(228, 58, 66, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 40px rgba(228, 58, 66, 0.14);
}

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--gold-bright);
  color: #050505;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.price {
  margin: 22px 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-bright);
  font-size: 44px;
}

.feature-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: #e5e5e5;
}

.feature-list li {
  margin: 13px 0;
  line-height: 1.45;
}

.feature-list li::before {
  content: "+";
  color: var(--gold-bright);
  font-weight: 900;
  margin-right: 10px;
}

.booking-form {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 30px;
}

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

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #efefef;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--gold-bright);
}

.success {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 70px 20px;
  text-align: center;
}

.success.show {
  display: block;
}

.success h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
}

.process {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 56px;
}

.process img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18));
}

.process-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 48px;
}

.process-content h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
}

.process-content p {
  color: #e0e0e0;
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 16px 30px;
  color: #aaa;
  text-align: center;
}

.footer p {
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-circles {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-circles a {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  animation: socialFloat 5.5s ease-in-out infinite;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-circles a:nth-child(2) {
  animation-delay: 0.4s;
}

.social-circles a:nth-child(3) {
  animation-delay: 0.8s;
}

.social-circles a:hover {
  border-color: #e43a42;
  color: #e43a42;
  transform: rotate(8deg) scale(1.1);
}

@keyframes socialFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(5deg);
  }
}

@media (max-width: 900px) {
  .card-grid,
  .card-grid.two,
  .pricing-grid,
  .media-grid,
  .video-grid,
  .experience-item {
    grid-template-columns: 1fr;
  }

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

  .media-item img {
    height: auto;
    max-height: 680px;
  }
}

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.9)),
      url("offkey-dark-logo.png") center top / cover fixed no-repeat,
      #050505;
  }

  .landing {
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100svh;
    padding: 22px 10px 18px;
  }

  .title {
    margin-bottom: 22px;
  }

  .title h1 {
    font-size: clamp(34px, 11vw, 48px);
    letter-spacing: 2px;
  }

  .title p {
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .piano-wrap {
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  .piano-top,
  .piano {
    min-width: 0;
  }

  .piano-top {
    height: 16px;
  }

  .piano {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px;
    padding: 7px;
    border-radius: 0 0 12px 12px;
  }

  .key {
    height: min(58vh, 360px);
    min-height: 300px;
    padding: 0 3px 18px;
    border-radius: 0 0 7px 7px;
  }

  .key-label {
    font-size: clamp(9px, 2.6vw, 12px);
    letter-spacing: 0.08em;
  }

  .black-key {
    top: 7px;
    width: 28px;
    height: min(34vh, 190px);
  }

  .black-key.one {
    left: calc((100% - 14px) / 6 * 1 - 8px);
  }

  .black-key.two {
    left: calc((100% - 14px) / 6 * 3 - 8px);
  }

  .black-key.three {
    left: calc((100% - 14px) / 6 * 4 - 8px);
  }

  .tagline {
    margin-top: 20px;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.12em;
  }

  .page-header {
    position: static;
  }

  .header-inner {
    width: min(100% - 18px, 1180px);
    min-height: 88px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 10px 0;
  }

  .site-mark {
    justify-self: center;
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .mini-piano {
    justify-self: stretch;
    width: 100%;
    overflow: visible;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px;
    padding: 6px;
    border-radius: 0 0 9px 9px;
  }

  .mini-key {
    min-height: 42px;
    padding: 0 2px 7px;
    font-size: clamp(7px, 2.1vw, 9px);
    letter-spacing: 0.02em;
    border-radius: 0 0 6px 6px;
  }

  .mini-black-key {
    top: 6px;
    width: 20px;
    height: 31px;
  }

  .mini-black-key.one {
    left: calc((100% - 12px) / 6 * 1 - 4px);
  }

  .mini-black-key.two {
    left: calc((100% - 12px) / 6 * 3 - 4px);
  }

  .mini-black-key.three {
    left: calc((100% - 12px) / 6 * 4 - 4px);
  }

  .page-main {
    width: min(100% - 24px, 1180px);
    padding: 28px 0 42px;
  }

  .intro {
    margin-bottom: 28px;
  }

  .hero h2,
  .intro h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .minimal-intro {
    margin-bottom: 30px;
  }

  .minimal-intro h2 {
    font-size: clamp(36px, 13vw, 56px);
  }

  .minimal-intro p:last-child {
    font-size: 16px;
  }

  .experience-list {
    gap: 34px;
  }

  .experience-item {
    gap: 14px;
  }

  .experience-copy h3 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .experience-copy p {
    font-size: 16px;
  }

  .hero p,
  .intro p {
    font-size: 16px;
    line-height: 1.48;
    margin-bottom: 20px;
  }

  .card-grid,
  .pricing-grid,
  .media-grid,
  .video-grid,
  .project-list {
    gap: 14px;
  }

  .card,
  .price-card,
  .booking-form,
  .statement,
  .service-section {
    padding: 20px;
    border-radius: 10px;
  }

  .statement {
    margin-bottom: 34px;
  }

  .minimal-links {
    gap: 16px;
  }

  .minimal-links a {
    font-size: 10px;
  }

  .statement .quote {
    font-size: 19px;
  }

  .card h3,
  .price-card h3,
  .service-section h3 {
    font-size: 23px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px 0;
  }

  .service-item p {
    font-size: 20px;
  }

  .price {
    margin: 14px 0;
    font-size: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero {
    min-height: 430px;
    margin-bottom: 28px;
    border-radius: 12px;
  }

  .hero-content {
    padding: 34px 18px;
  }

  .media-item img {
    max-height: 520px;
  }

  .project-row {
    gap: 14px;
  }

  .empty-video,
  .poster-slot,
  .still-slot {
    min-height: 150px;
    font-size: 10px;
  }

  .stills-board {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 8px;
  }

  .poster-slot {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .still-slot {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .image-slot img {
    object-fit: cover;
  }

  .media-stage {
    min-height: auto;
    padding: 18px 10px 34px;
  }

  .media-screen {
    min-height: 56svh;
  }

  .screen-copy {
    padding: 26px 18px 86px;
  }

  .screen-copy h2 {
    font-size: clamp(44px, 17vw, 72px);
  }

  .screen-copy span:not(.brand-key) {
    font-size: 15px;
    margin-top: 18px;
  }

  .media-orbits {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: -54px;
  }

  .media-bubble {
    width: min(100%, 132px);
  }

  .media-bubble strong {
    font-size: clamp(11px, 3.6vw, 15px);
  }

  .cta {
    margin-top: 34px;
    padding-top: 30px;
  }

  .process {
    min-height: 310px;
    margin-top: 34px;
    border-radius: 12px;
  }

  .process-content {
    padding: 30px 20px;
  }

  .process-content h3 {
    font-size: 30px;
  }

  .footer {
    padding: 22px 14px;
    font-size: 12px;
  }

  .social-circles a {
    width: 46px;
    height: 46px;
    font-size: 10px;
  }
}
