/* ============================================================
   canaanhowellpiano.com — modern minimal, dark + gold
   ============================================================ */

:root {
  --bg: #0e0d0b;
  --bg-tint: #14120f;
  --surface: #1a1815;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ece7de;
  --text-dim: #a39c8f;
  --gold: #c9a35c;
  --gold-soft: rgba(201, 163, 92, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { opacity: 0.85; }

/* ---------- layout helpers ---------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 720px; }

.section { padding: 110px 0; }
.section--tinted { background: var(--bg-tint); }

.section__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.section__intro {
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 56px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--gold {
  background: var(--gold);
  color: #17140e;
}
.btn--gold:hover { background: #d9b876; opacity: 1; }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); opacity: 1; }

.btn--full { width: 100%; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.nav--solid {
  background: rgba(14, 13, 11, 0.92);
  backdrop-filter: blur(12px);
  padding: 14px 36px;
  box-shadow: 0 1px 0 var(--line);
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--gold); opacity: 1; }

.nav__links .nav__cta {
  color: var(--gold);
  border: 1px solid rgba(201, 163, 92, 0.5);
  padding: 8px 20px;
}
.nav__links .nav__cta:hover { background: var(--gold-soft); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  width: 26px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(to bottom, rgba(14, 13, 11, 0.25) 0%, rgba(14, 13, 11, 0.45) 60%, var(--bg) 100%),
    url("hero-web.jpg") center 30% / cover no-repeat;
}

.hero__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 16vh;
  text-align: center;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 9vw, 108px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.hero__subtitle {
  color: rgba(236, 231, 222, 0.85);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------- listen ---------- */

.playlists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}

.playlist__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 14px;
}

.playlist iframe {
  border: 1px solid var(--line);
  background: var(--surface);
}

.playlist__attribution {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.playlist__attribution a { color: var(--text-dim); }
.playlist__attribution a:hover { color: var(--gold); }

/* ---------- watch / reels ---------- */

.reels {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.reels__phone {
  width: min(360px, 86vw);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
}

.reels__header {
  height: 56px;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  background: #131110;
  border-bottom: 1px solid var(--line);
}

.reels__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.reels__id {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.reels__handle {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.reels__sub {
  font-size: 11px;
  color: var(--text-dim);
}

.reels__profile-btn {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid rgba(201, 163, 92, 0.5);
  border-radius: 8px;
  padding: 6px 12px;
  white-space: nowrap;
  transition: background 0.2s;
}
.reels__profile-btn:hover { background: var(--gold-soft); opacity: 1; }

.reels__track {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior-y: contain;
}
.reels__track::-webkit-scrollbar { display: none; }

.reels__slide {
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
}

/* Instagram's embed renders a 56px header, then a 4:5 media box with the
   9:16 video pillarboxed in its center, then like/caption chrome.
   Oversizing the iframe to 142.22% width (= (16/9)/(5/4)) and offsetting
   it makes the video itself fill the 9:16 phone frame exactly. */
.reels__slide iframe {
  position: absolute;
  top: -57px;
  left: -25%;
  width: 150%;
  height: calc(100% + 400px);
  border: 0;
  background: #000;
}

.reels__arrow {
  position: absolute;
  right: calc(50% - min(180px, 43vw) - 68px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  z-index: 2;
}
.reels__arrow:hover { border-color: var(--gold); color: var(--gold); }
.reels__arrow--up { top: calc(50% - 62px); }
.reels__arrow--down { top: calc(50% + 8px); }
.reels__arrow[disabled] { opacity: 0.3; cursor: default; }
.reels__arrow[disabled]:hover { border-color: var(--line); color: var(--text); }

.reels__dots {
  display: flex;
  gap: 10px;
}

.reels__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.reels__dot--active {
  background: var(--gold);
  transform: scale(1.3);
}

.reels__more {
  text-align: center;
  margin-top: 34px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ---------- break / quote ---------- */

.break {
  position: relative;
  padding: 160px 24px;
  background:
    linear-gradient(rgba(10, 9, 7, 0.72), rgba(10, 9, 7, 0.72)),
    url("extra-web.jpg") center 20% / cover no-repeat;
}

@media (min-width: 900px) {
  .break { background-attachment: fixed, fixed; }
}

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

.break__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.35;
  color: var(--text);
}

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
}

.about__images { position: relative; }

.about__portrait {
  width: 100%;
  border-radius: 2px;
}

.about__candid {
  position: absolute;
  width: 62%;
  bottom: -44px;
  right: -28px;
  border: 6px solid var(--bg);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.about__copy p { color: var(--text-dim); margin-bottom: 18px; }
.about__copy .section__title { margin-bottom: 24px; }

.about__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 30px 0 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.fact { display: flex; flex-direction: column; }

.fact__num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.3;
}

.fact__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- contact ---------- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  padding: 13px 16px;
  border-radius: 2px;
  transition: border-color 0.2s;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea { resize: vertical; }

.field input[type="date"] { color-scheme: dark; }
.field select { color-scheme: dark; }

/* ---------- pricing page ---------- */

.page__head {
  padding-top: 190px;
  padding-bottom: 70px;
}
.page__head .section__intro { margin-bottom: 0; }
.page__head strong { color: var(--text); font-weight: 500; }

.section--flush { padding: 70px 0; }

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

.price-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
}

.price-card--featured { border-color: rgba(201, 163, 92, 0.55); }

.price-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

.price-card__price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 24px;
}

/* Cormorant's "1" glyph reads as a capital I — use the sans for prices containing a 1 */
.price-card__price--sans {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 42px;
  letter-spacing: -0.01em;
}

.price-card__unit {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-left: 8px;
}

.price-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card__list li {
  color: var(--text-dim);
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

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

.page__updated {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}


.pricing-group-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.pricing-group-title--gap { margin-top: 64px; }

.example-table {
  border-top: 1px solid var(--line);
  margin-bottom: 36px;
}

.example-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px 28px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.example-row__desc { color: var(--text); font-size: 15px; }

.example-row__math {
  color: var(--text-dim);
  font-size: 13px;
  white-space: nowrap;
}

.example-row__total {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  min-width: 72px;
  text-align: right;
}

.page__note {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 40px;
}

.page__cta { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .page__head { padding-top: 150px; }
}

@media (max-width: 700px) {
  .example-row { grid-template-columns: 1fr auto; }
  .example-row__math { display: none; }
}

/* ---------- footer ---------- */

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

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: 20px;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer__links a:hover { color: var(--gold); }

.footer__copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- reveal animation ---------- */

/* hidden state only applies when JS is running (html.js set in main.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .section { padding: 80px 0; }

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

  .about { grid-template-columns: 1fr; gap: 80px; }
  .about__candid { right: 0; }
}

/* below this width the arrows would overlap the phone — swipe + dots take over */
@media (max-width: 760px) {
  .reels__arrow { display: none; }
}

@media (max-width: 700px) {
  .nav { padding: 18px 22px; }
  /* backdrop-filter would make the nav the containing block for the
     fixed-position menu overlay below — disable it on mobile */
  .nav--solid { padding: 12px 22px; backdrop-filter: none; }

  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: rgba(14, 13, 11, 0.97);
    backdrop-filter: blur(14px);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
  }
  .nav__links--open { transform: none; }
  .nav__links a { font-size: 15px; }

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

  .btn { padding: 13px 24px; }
}
