/* ============================================================
   András Keller — Violinist, Conductor & Professor
   v2 — editorial classical design
   Type system: Cormorant Garamond (display) + Inter (text/UI)
   ============================================================ */

:root {
  --ink: #0f0f12;
  --ink-2: #1a1a20;
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --white: #ffffff;
  --gold: #b08d57;
  --gold-2: #c9a468;
  --muted: #6d675d;
  --text-dim: rgba(247, 244, 238, 0.72);
  --line: rgba(15, 15, 18, 0.12);
  --line-inv: rgba(247, 244, 238, 0.16);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--ink); }
::selection { background: var(--gold); color: #fff; }

/* ============================ TYPE ============================ */

h1, h2, h3, .display { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: 0.005em; }
h1 em, h2 em, h3 em, .display em { font-style: italic; font-weight: 400; color: var(--gold); }

.overline {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.3rem;
}
.overline::before { content: ""; width: 2.2rem; height: 1px; background: var(--gold); flex: 0 0 auto; }
.overline--center { justify-content: center; }
.overline--center::after { content: ""; width: 2.2rem; height: 1px; background: var(--gold); flex: 0 0 auto; }
.overline--bare::before, .overline--bare::after { display: none; }

.section-title { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin-bottom: 1.5rem; }
.body-l { font-size: 1.12rem; line-height: 1.8; }
.text-muted { color: var(--muted); }

/* ============================ LAYOUT ============================ */

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; scroll-margin-top: 76px; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .text-muted { color: var(--text-dim); }
.section--tint { background: var(--paper-2); }
.section--flush-top { padding-top: 0; }

/* ============================ HEADER ============================ */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s, padding 0.4s;
  background: linear-gradient(rgba(10, 10, 13, 0.5), transparent);
}
.site-header.is-solid {
  background: rgba(13, 13, 16, 0.96);
  box-shadow: 0 1px 0 var(--line-inv);
}
/* Blur only on desktop: backdrop-filter on the header would trap the
   fixed-position mobile menu overlay inside the header box (iOS Safari). */
@media (min-width: 901px) {
  .site-header.is-solid {
    background: rgba(13, 13, 16, 0.9);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
}

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: #fff; letter-spacing: 0.01em; transition: color 0.25s;
}
.brand__role {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6); margin-top: 0.25rem;
}
.brand:hover .brand__name { color: var(--gold-2); }

.nav__list { display: flex; gap: clamp(0.9rem, 2vw, 1.9rem); list-style: none; }
.nav__list a {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82); padding: 0.4rem 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold-2);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: #fff; }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 130;
}
.nav__toggle span {
  display: block; width: 24px; height: 1.5px; background: #fff;
  margin: 6px auto; transition: transform 0.35s var(--ease), opacity 0.25s;
}

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__list {
    position: fixed; inset: 0; z-index: 120;
    height: 100dvh; width: 100vw;
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    background: #0d0d10;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .nav__list a { font-size: 0.95rem; letter-spacing: 0.28em; }
  body.nav-open .nav__list { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ============================ HERO ============================ */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero__bg {
  position: absolute; inset: -4%;
  background-size: cover; background-position: center 24%;
  animation: heroDrift 26s var(--ease) alternate infinite;
  will-change: transform;
}
@keyframes heroDrift {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.07) translateY(-1.5%); }
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 10, 13, 0.92) 0%, rgba(10, 10, 13, 0.28) 46%, rgba(10, 10, 13, 0.42) 100%),
    radial-gradient(120% 90% at 78% 38%, transparent 40%, rgba(10, 10, 13, 0.42) 100%);
}
.hero__content {
  position: relative; z-index: 1; width: 100%;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.hero__title {
  font-size: clamp(3.4rem, 10vw, 7rem);
  font-weight: 500; margin: 0.5rem 0 1.2rem;
}
.hero__title em { display: block; font-size: 0.42em; font-style: italic; font-weight: 400; color: var(--gold-2); margin-top: 0.4rem; letter-spacing: 0.02em; }
.hero__lede {
  max-width: 36rem; font-size: 1.02rem; font-weight: 300;
  line-height: 1.85; color: rgba(255, 255, 255, 0.85);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

.hero__scroll {
  position: absolute; right: clamp(1.25rem, 4vw, 2.5rem); bottom: 2rem; z-index: 2;
  writing-mode: vertical-rl; font-size: 0.62rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
  display: flex; align-items: center; gap: 0.8rem;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 3.4rem; background: rgba(255, 255, 255, 0.4);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* Load-in sequence (hero) */
.fade-seq > * { opacity: 0; transform: translateY(26px); animation: fadeUp 0.9s var(--ease) forwards; }
.fade-seq > *:nth-child(1) { animation-delay: 0.15s; }
.fade-seq > *:nth-child(2) { animation-delay: 0.3s; }
.fade-seq > *:nth-child(3) { animation-delay: 0.5s; }
.fade-seq > *:nth-child(4) { animation-delay: 0.68s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ============================ BUTTONS ============================ */

.btn {
  display: inline-block; position: relative; overflow: hidden;
  padding: 0.9rem 2.2rem;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold);
  background: transparent; cursor: pointer;
  transition: color 0.35s var(--ease), border-color 0.35s;
  z-index: 0;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.btn:hover { color: #fff; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--solid { background: var(--gold); color: #fff; }
.btn--solid::before { background: var(--ink); }
.btn--light { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--ink); border-color: #fff; }

.link-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.link-more::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-more:hover { color: var(--ink); }
.link-more:hover::after { transform: translateX(5px); }
.section--dark .link-more:hover { color: #fff; }

/* ============================ PAGE HERO ============================ */

.page-hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding: clamp(9.5rem, 17vw, 13rem) 0 clamp(3.2rem, 6vw, 5rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 130% at 85% 0%, rgba(176, 141, 87, 0.16), transparent 55%);
}
.page-hero .wrap { position: relative; }
.page-hero__title { font-size: clamp(2.6rem, 6.5vw, 4.4rem); }
.page-hero__lede { max-width: 40rem; margin-top: 1.2rem; color: var(--text-dim); font-weight: 300; }

/* ============================ SPLIT ============================ */

.split { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(2.2rem, 6vw, 5.5rem); align-items: center; }
.split--reverse { grid-template-columns: 1.12fr 1fr; }
.split p + p { margin-top: 1.15rem; }

.media-frame { position: relative; }
.media-frame img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, center 30%);
  filter: saturate(0.92);
}
.media-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); z-index: -1; opacity: 0.85;
}
.media-frame__caption {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: var(--paper);
  font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase;
  padding: 0.7rem 1.2rem;
}

@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .media-frame img { aspect-ratio: 16 / 11; }
}

/* ============================ STATS ============================ */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-inv);
}
.stat {
  padding: 2.4rem 1.6rem 0; text-align: left;
  border-left: 1px solid var(--line-inv);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 500; color: var(--gold-2); line-height: 1;
}
.stat__label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-dim); margin-top: 0.8rem;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 0 0; }
  .stat { padding: 1.8rem 1.2rem 0; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ============================ STATEMENT ============================ */

.statement {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 2.9rem); line-height: 1.35;
  max-width: 21ch;
}
.statement strong { font-style: normal; font-weight: 500; color: var(--gold-2); }

/* ============================ CARDS ============================ */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.6vw, 2rem); }
.card {
  position: relative; padding: 2.4rem 2rem 2.1rem;
  border: 1px solid var(--line-inv); background: rgba(255, 255, 255, 0.025);
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(176, 141, 87, 0.55); background: rgba(255, 255, 255, 0.045); }
.card:hover::before { transform: scaleX(1); }
.card__era {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-2);
}
.card h3 { font-size: 1.65rem; margin: 0.7rem 0 0.8rem; color: #fff; }
.card p { font-size: 0.93rem; font-weight: 300; line-height: 1.75; color: var(--text-dim); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ============================ CONCERTS ============================ */

.concert-list { display: flex; flex-direction: column; }
.concert {
  display: grid; grid-template-columns: 108px 1fr auto;
  gap: clamp(1.2rem, 3vw, 2.6rem); align-items: center;
  padding: 1.9rem 0; border-bottom: 1px solid var(--line);
  position: relative; transition: background 0.3s, padding-left 0.35s var(--ease);
}
.concert::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 2px;
  background: var(--gold); transform: scaleY(0); transition: transform 0.35s var(--ease);
}
.concert:hover { padding-left: 1.4rem; }
.concert:hover::before { transform: scaleY(1); }

.concert__date { text-align: center; }
.concert__day { font-family: var(--serif); font-size: 2.7rem; font-weight: 500; line-height: 1; color: var(--ink); }
.concert__month {
  display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold); margin-top: 0.35rem;
}
.concert__year { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 0.1rem; }

.concert__title { font-size: 1.5rem; margin-bottom: 0.35rem; }
.concert__meta {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.55rem;
}
.concert__meta .role { color: var(--gold); }
.concert__prog { font-size: 0.92rem; font-weight: 300; color: var(--muted); line-height: 1.6; max-width: 46rem; }
.concert__actions { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-end; }
.concert__actions .btn { padding: 0.65rem 1.4rem; font-size: 0.64rem; white-space: nowrap; }

@media (max-width: 820px) {
  .concert { grid-template-columns: 74px 1fr; }
  .concert__day { font-size: 2rem; }
  .concert__actions { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
}

.concerts-note {
  margin-top: 2.6rem; padding: 1.2rem 1.5rem;
  border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; align-items: baseline; justify-content: space-between;
}

/* ============================ PROSE (biography) ============================ */

.prose { max-width: 44rem; }
.prose h2 { font-size: 2rem; margin: 3.2rem 0 1.1rem; }
.prose h2 span { color: var(--gold); font-style: italic; font-weight: 400; }
.prose p + p { margin-top: 1.15rem; }
.prose p { font-weight: 300; }
.prose .lead {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.5;
  color: var(--ink-2);
}
.prose .lead::first-letter {
  font-size: 3.2em; float: left; line-height: 0.85;
  padding: 0.08em 0.12em 0 0; color: var(--gold);
}

.bio-layout { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.bio-aside { position: sticky; top: 6.5rem; }
.bio-aside img { aspect-ratio: 1/1; object-fit: cover; width: 100%; filter: saturate(0.92); }
.bio-aside .btn { margin-top: 1.4rem; width: 100%; text-align: center; }
.bio-aside__note { font-size: 0.82rem; font-weight: 300; color: var(--muted); margin-top: 1rem; line-height: 1.6; }
@media (max-width: 860px) {
  .bio-layout { grid-template-columns: 1fr; }
  .bio-aside { position: static; max-width: 400px; }
}

/* ============================ TEACHING ============================ */

.inst-list { list-style: none; margin-top: 0.6rem; }
.inst-list li {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}
.inst-list li:hover { padding-left: 0.6rem; }
.inst-list .n {
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold);
  flex: 0 0 2rem;
}
.inst-list .inst-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.inst-list .inst-role { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-left: auto; text-align: right; }

/* ============================ GALLERY ============================ */

.masonry { columns: 3 300px; column-gap: 1rem; }
.masonry a {
  position: relative; display: block; margin-bottom: 1rem; overflow: hidden;
  cursor: zoom-in; background: var(--paper-2);
}
.masonry img {
  width: 100%;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.94);
}
.masonry a::after {
  content: "+"; position: absolute; right: 0.9rem; bottom: 0.9rem;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  background: rgba(15, 15, 18, 0.75); color: var(--gold-2);
  font-size: 1.2rem; opacity: 0; transition: opacity 0.35s;
}
.masonry a:hover img { transform: scale(1.045); filter: saturate(1.05); }
.masonry a:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 8, 10, 0.96);
  display: none; align-items: center; justify-content: center;
  padding: 3.5rem 1rem 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 85vh; object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,0.65); }
.lightbox button {
  position: absolute; background: none; border: 0; cursor: pointer;
  color: rgba(255, 255, 255, 0.72); font-size: 2rem; line-height: 1; padding: 0.6rem 1rem;
  transition: color 0.25s; font-family: var(--sans);
}
.lightbox button:hover { color: var(--gold-2); }
.lightbox__close { top: 0.9rem; right: 1rem; }
.lightbox__prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.3em; color: rgba(255,255,255,0.55);
}

/* ============================ ALBUMS ============================ */

.albums-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(1.6rem, 3.5vw, 2.8rem); }

/* Keep the ECM and TACET record groups visually connected so the second
   set stays discoverable — prevents a false "end of page" after the ECM
   grid, whose last row leaves a lone cover. Only used on albums.html. */
.album-group--first { padding-bottom: clamp(2rem, 4vw, 3rem); }
.album-group--next  { padding-top: clamp(2.75rem, 5vw, 3.75rem); }
.album-group--next .section-title { margin-bottom: 0.5rem; }

/* When a group's last row holds a single leftover cover (item count ≡ 1
   mod 3 in the 3-column desktop grid), centre it so it reads as an
   intentional final item instead of a lonely orphan in a sea of white. */
@media (min-width: 900px) {
  .albums-grid > .album:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 2 * clamp(1.6rem, 3.5vw, 2.8rem)) / 3);
  }
}
.album { display: flex; flex-direction: column; }
.album__media { position: relative; overflow: hidden; }
.album__cover {
  aspect-ratio: 1/1; object-fit: cover; width: 100%;
  transition: transform 0.65s var(--ease);
  box-shadow: 0 14px 34px rgba(15, 15, 18, 0.16);
}
.album:hover .album__cover { transform: scale(1.04); }
.album__artist {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); margin: 1.25rem 0 0.3rem;
}
.album__title { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.album__note { font-size: 0.88rem; font-weight: 300; color: var(--muted); margin-top: 0.45rem; }
.album__link { margin-top: 0.8rem; }

/* ============================ CONTACT / FORM ============================ */

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 300;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.14);
}
.field textarea { min-height: 150px; resize: vertical; }

.form-status { margin-top: 1rem; font-size: 0.9rem; min-height: 1.4em; }
.form-status.ok { color: #3f6b4f; }
.form-status.err { color: #a04545; }

button:disabled { opacity: 0.6; cursor: default; }

/* ============================ FOOTER ============================ */

.site-footer {
  background: var(--ink); color: var(--text-dim);
  padding: clamp(3.2rem, 7vw, 5rem) 0 2rem;
  font-size: 0.9rem; font-weight: 300;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3.2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: #fff; margin-bottom: 0.9rem; }
.site-footer h4 em { font-style: italic; color: var(--gold-2); font-weight: 400; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom {
  border-top: 1px solid var(--line-inv); padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between;
  font-size: 0.72rem; letter-spacing: 0.12em; color: rgba(247, 244, 238, 0.4);
}

/* ============================ MOTION ============================ */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.22s; }
.reveal.d3 { transition-delay: 0.34s; }
.reveal.d4 { transition-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg { animation: none; }
  .fade-seq > * { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
}
