/*
Theme Name: Vincent Hamamdjian
Theme URI: https://vincenthamamdjian.fr
Author: Vincent Hamamdjian
Author URI: https://vincenthamamdjian.fr
Description: One-page block theme for the bassist and composer Vincent Hamamdjian. Dark, gold-accented editorial design.
Version: 1.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vincent
*/

:root {
  --bg: #15110d;
  --bg-2: #1c1611;
  --bg-3: #221a13;
  --bone: #efe7d8;
  --bone-dim: #b9ad99;
  --gold: #c9a36b;
  --gold-bright: #d8b87a;
  --line: rgba(201, 163, 107, 0.22);
  --maxw: 1180px;
  --display: "Bricolage Grotesque", "Space Grotesk", "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--gold); color: #15110d; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- WordPress block resets ---------- */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block: 0 !important; }
.wp-site-blocks > footer { margin-block-start: 0 !important; }
.wp-block-group,
.wp-block-columns,
.wp-block-column { margin-block: 0; }
.wp-block-columns { gap: 0; flex-wrap: nowrap; }
.wp-block-image,
.wp-block-image figure { margin: 0; }
.wp-block-image img { display: block; }
.wp-block-buttons { margin: 0; gap: 0; }
.wp-block-button__link { text-decoration: none; }
:where(.wp-block-group) { gap: 0; }
ol.tracks, ul.links { margin: 0; padding: 0; }
.wp-block-list.tracks { padding-left: 0; }
figure.wp-block-image { line-height: 0; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }

.sect { padding: 110px 0; }

.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

h2.title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 38px;
}

p.lead {
  font-size: 1.18rem;
  color: var(--bone);
  max-width: 62ch;
}
p.body {
  font-size: 1.06rem;
  color: var(--bone-dim);
  max-width: 64ch;
  margin-bottom: 1.1em;
}
p.body strong, .gold { color: var(--gold-bright); font-weight: 600; }
p.body em { color: var(--bone); font-style: italic; }

.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero.jpg") center 30% / cover no-repeat;
  transform: scale(1.04);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 70% 18%, rgba(216,184,122,0.10), transparent 55%),
    linear-gradient(180deg, rgba(21,17,13,0.55) 0%, rgba(21,17,13,0.15) 32%, rgba(21,17,13,0.78) 78%, #15110d 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 64px;
}
.hero__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.7rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.55);
}
.hero__name span { display: block; }
.hero__tag {
  font-family: var(--display);
  font-weight: 600;
  margin-top: 22px;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}
.hero__contact {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  align-items: center;
  font-size: 1rem;
}
.hero__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bone);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, color .3s ease;
}
.hero__contact a:hover { color: var(--gold-bright); border-color: var(--gold); }
.hero__contact svg { width: 18px; height: 18px; stroke: var(--gold); flex: none; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--display);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: floaty 2.6s ease-in-out infinite;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 32px;
  background: linear-gradient(var(--gold), transparent);
}
@keyframes floaty { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,7px)} }

/* ---------- Two-column intro ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

/* ---------- Career paths ---------- */
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 14px;
}
.path {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 28px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.path:hover {
  transform: translateY(-5px);
  border-color: rgba(201,163,107,0.5);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(216,184,122,0.12);
}
.path__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.18em;
}
.path__h {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 14px 0 12px;
  letter-spacing: -0.01em;
}
.path p { color: var(--bone-dim); font-size: 0.99rem; }
.path p strong { color: var(--gold-bright); font-weight: 600; }

/* ---------- Discography ---------- */
.disco { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.disco__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.cover-wrap { position: relative; align-self: start; }
.cover-wrap::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(closest-side, rgba(216,184,122,0.35), transparent 72%);
  filter: blur(24px);
  z-index: 0;
}
.cover-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}
.album-meta { margin-top: 24px; position: relative; z-index: 1; }
.album-meta .year { font-family: var(--display); color: var(--gold); letter-spacing: 0.2em; font-size: 0.8rem; }
.album-meta h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.tracks { list-style: none; counter-reset: t; }
.tracks li {
  counter-increment: t;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(201,163,107,0.12);
  transition: padding-left .3s ease, color .3s ease;
}
.tracks li:hover { padding-left: 8px; color: var(--gold-bright); }
.tracks li::before {
  content: counter(t, decimal-leading-zero);
  font-family: var(--display);
  font-size: 0.78rem;
  color: var(--gold);
  width: 26px;
  flex: none;
}
.tracks .tname { flex: 1; }
.tracks .tdur { color: var(--bone-dim); font-variant-numeric: tabular-nums; font-size: 0.92rem; }

.credits {
  margin-top: 26px;
  color: var(--bone-dim);
  font-size: 0.95rem;
  line-height: 1.8;
}
.credits .clabel { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 15px 28px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: #15110d;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 100px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(201,163,107,0.35); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Listen / Press ---------- */
.links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.link-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.link-row:hover {
  border-color: rgba(201,163,107,0.55);
  background: var(--bg-3);
  transform: translateX(4px);
}
.link-row .ico {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(201,163,107,0.12);
  border: 1px solid var(--line);
}
.link-row .ico svg { width: 20px; height: 20px; stroke: var(--gold-bright); }
.link-row .meta { display: flex; flex-direction: column; min-width: 0; }
.link-row .lname { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.link-row .lsub { font-size: 0.84rem; color: var(--bone-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-row .arr { margin-left: auto; color: var(--gold); flex: none; transition: transform .3s ease; }
.link-row:hover .arr { transform: translate(4px,-4px); }

/* ---------- Services ---------- */
.services { background: var(--bg-2); border-top: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 12px; }
.svc {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 30px;
  text-align: center;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.svc:hover {
  transform: translateY(-5px);
  border-color: rgba(201,163,107,0.5);
  box-shadow: 0 0 40px rgba(216,184,122,0.10);
}
.svc .ico {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(201,163,107,0.1);
}
.svc .ico svg { width: 24px; height: 24px; stroke: var(--gold-bright); }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin-bottom: 10px; }
.svc p { color: var(--bone-dim); font-size: 0.97rem; }
.svc a.svc-cta {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-bright);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.svc a.svc-cta:hover { border-color: var(--gold); }

/* ---------- Footer ---------- */
footer { padding: 90px 0 60px; text-align: center; }
footer .fname {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}
footer .ftag { color: var(--gold); font-family: var(--display); letter-spacing: 0.2em; font-size: 0.78rem; text-transform: uppercase; margin-top: 10px; }
.foot-contact {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
}
.foot-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color .3s ease, border-color .3s ease;
}
.foot-contact a:hover { color: var(--gold-bright); border-color: var(--gold); }
.foot-contact svg { width: 19px; height: 19px; stroke: var(--gold); }
.copyright { margin-top: 46px; color: var(--bone-dim); font-size: 0.82rem; opacity: 0.7; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Editor: keep animated content visible while editing ---------- */
.editor-styles-wrapper .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ---------- Core-block wrapper helpers (let <p>/group wrappers vanish from grids) ---------- */
.links > p { display: contents; }       /* paragraph wrapper around each .link-row */
.link-row { width: 100%; }
.intro { max-width: 760px; }
.credits p { margin: 0; }
.intro .lead { color: var(--bone-dim); }
.album-meta { display: block; }
.hero__inner > .wrap { padding-top: 0; }

/* ---------- GTranslate language switcher (restyled to match the theme) ---------- */
body .gt_float_switcher {
  font-family: var(--display) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 999 !important;
  border-radius: 100px !important;
  background: rgba(28, 22, 17, 0.78) !important;
  color: var(--bone) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  overflow: hidden !important;
  transition: border-color .3s ease, box-shadow .3s ease !important;
}
body .gt_float_switcher:hover {
  border-color: rgba(201, 163, 107, 0.55) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(216, 184, 122, 0.12) !important;
}
body .gt_float_switcher .gt-selected {
  border: 0 !important;
  background: transparent !important;
}
body .gt_float_switcher .gt-selected .gt-current-lang,
body .gt_float_switcher .gt-selected {
  color: var(--bone) !important;
  padding: 9px 14px !important;
}
body .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code,
body .gt_float_switcher .gt-selected .gt-current-lang { letter-spacing: 0.04em !important; }
body .gt_float_switcher img {
  border-radius: 3px !important;
  vertical-align: middle !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25) !important;
}
/* the dropdown caret */
body .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow,
body .gt_float_switcher .gt_float_switcher-arrow {
  filter: invert(72%) sepia(28%) saturate(560%) hue-rotate(2deg) brightness(92%) !important; /* tint toward gold */
  opacity: 0.9 !important;
}
/* the open options list */
body .gt_float_switcher .gt_options {
  background: rgba(21, 17, 13, 0.96) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  margin-top: 8px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  padding: 6px !important;
  max-height: 320px !important;
}
body .gt_float_switcher .gt_options a {
  color: var(--bone-dim) !important;
  background: transparent !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-weight: 500 !important;
  transition: background .2s ease, color .2s ease !important;
}
body .gt_float_switcher .gt_options a:hover {
  background: var(--bg-3) !important;
  color: var(--gold-bright) !important;
}
body .gt_float_switcher .gt_options a.gt-current {
  color: var(--gold-bright) !important;
  background: rgba(201, 163, 107, 0.10) !important;
}
@media (max-width: 520px) {
  body .gt_float_switcher { top: 14px !important; right: 14px !important; font-size: 0.78rem !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .sect { padding: 80px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .paths { grid-template-columns: 1fr; }
  .disco__grid { grid-template-columns: 1fr; gap: 40px; }
  .cover-wrap { max-width: 360px; }
  .links { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .hero__contact { gap: 10px 22px; }
}
