/* TonyFord.us — large type, high contrast, 1440px frame */
:root {
  --bg: #00030a;
  --bg-2: #0c1622;
  --card: #101b28;
  --gold: #d4af62;
  --gold-soft: #e8d5a0;
  --gold-bright: #f3e6c0;
  --text: #f3efe4;
  --muted: #c5c0b4;
  --line: rgba(212, 175, 98, 0.45);
  --shadow: 0 0 24px rgba(212, 175, 98, 0.16);
  --max: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: #00030a;
  background-image: url("page-background.jpg");
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 21px;
  line-height: 1.55;
}
@supports (background-image: url("data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA")) {
  body { background-image: url("page-background.webp"); }
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--gold-soft); }
a:hover { color: #fff4d0; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #0a1520;
  padding: 12px 20px;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px 40px;
}
.site-header {
  text-align: center;
  margin: 0 0 8px;
}
.site-banner { display: block; }
.site-banner img {
  width: min(100%, 1440px);
  height: auto;
  display: block;
  margin: 0 auto;
}
.tagline {
  margin: 8px 0 20px;
  text-align: center;
  color: var(--gold-soft);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Menu bar over the decorative art */
.menubar { position: relative; margin: 0 0 18px; z-index: 20; }
.menubar-art { position: relative; }
.menubar-art img {
  width: 100%;
  height: auto;
  display: block;
}
.menu-slots {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}
.menu-item {
  position: absolute;
  top: 31.6981%;
  height: 67.1698%;
}
.menu-item:nth-child(1)  { left: 3.5912%; width: 7.4586%; }
.menu-item:nth-child(2)  { left: 11.9705%; width: 6.8600%; }
.menu-item:nth-child(3)  { left: 19.7514%; width: 6.8140%; }
.menu-item:nth-child(4)  { left: 27.4862%; width: 6.8140%; }
.menu-item:nth-child(5)  { left: 35.2210%; width: 6.6759%; }
.menu-item:nth-child(6)  { left: 42.8177%; width: 6.7219%; }
.menu-item:nth-child(7)  { left: 50.4604%; width: 6.8140%; }
.menu-item:nth-child(8)  { left: 58.1952%; width: 6.7219%; }
.menu-item:nth-child(9)  { left: 65.8379%; width: 6.7680%; }
.menu-item:nth-child(10) { left: 73.5267%; width: 6.7680%; }
.menu-item:nth-child(11) { left: 81.2155%; width: 6.8600%; }
.menu-item:nth-child(12) { left: 88.9963%; width: 7.4125%; }
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 2px 3px;
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  font: 700 18px/1.15 "Segoe UI", Roboto, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px #000, 0 0 8px rgba(0,0,0,.85);
  cursor: pointer;
  border-radius: 8px;
}
.menu-btn:hover,
.menu-btn[aria-current="page"],
.menu-item.open .menu-btn {
  color: #fff8e0;
  background: rgba(212, 175, 98, 0.16);
}
.dropdown {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  min-width: 260px;
  margin: 4px 0 0;
  padding: 8px;
  list-style: none;
  background: #101b28;
  border: 2px solid var(--gold);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 30;
}
.menu-item.open > .dropdown,
.menu-item:focus-within > .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 12px 14px;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-soft);
  text-decoration: none;
  border-radius: 8px;
}
.dropdown a:hover,
.dropdown a:focus { background: rgba(212, 175, 98, 0.18); color: #fff; }
.soon {
  display: inline-block;
  margin-left: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  font-style: italic;
}
.menu-list { display: none; }

.content-frame {
  background: linear-gradient(180deg, rgba(10, 20, 34, 0.94), rgba(5, 12, 22, 0.96));
  border: 3px solid var(--gold);
  border-radius: 18px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(232, 213, 160, 0.22);
  padding: 28px 32px 36px;
  min-height: 420px;
}
h1, h2, h3 {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  color: var(--gold-soft);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(32px, 3.2vw, 46px); }
h2 { font-size: clamp(26px, 2.6vw, 36px); }
h3 { font-size: clamp(22px, 2.1vw, 28px); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(22px, 2vw, 26px); }

/* Titled section dividers — title sits on the dark plate */
.section-head {
  position: relative;
  text-align: center;
  margin: 2.4rem 0 1.4rem;
}
.section-head-art { position: relative; max-width: 1200px; margin: 0 auto; }
.section-head-art img {
  width: 100%;
  height: auto;
  display: block;
}
.section-head h2 {
  position: absolute;
  left: 50%;
  margin: 0;
  padding: 0 8px;
  transform: translate(-50%, -50%);
  width: 42%;
  color: var(--gold-bright);
  text-align: center;
  text-shadow: 0 1px 2px #000, 0 0 10px rgba(0,0,0,.8);
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(20px, 2.4vw, 34px);
}
.section-head[data-style="1"] h2 { top: 63.81%; width: 42%; }
.section-head[data-style="2"] h2 { top: 62.5%; width: 42%; }
.section-head[data-style="3"] h2 { top: 59.57%; width: 44%; }
.section-head[data-style="4"] h2 { top: 52.31%; width: 38%; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 1.2rem 0;
}
.card {
  background: #0c1722;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.card h3 { margin: 0; }
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.shots img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-bright);
  background: #121c28;
  border: 2px solid var(--gold);
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn:hover, .btn:focus { background: var(--gold); color: #0a1520; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1rem 0; }
.teaser {
  border: 2px dashed var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  color: var(--muted);
  font-size: 22px;
}

blockquote.tony-quote {
  margin: 1.2rem 0;
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  background: rgba(16, 27, 40, 0.6);
  color: var(--gold-bright);
  font-size: clamp(22px, 2.1vw, 28px);
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-style: italic;
}
blockquote.tony-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  font-style: normal;
  color: var(--muted);
}

.quote-card {
  margin: 0 0 1.6rem;
  padding: 22px 24px;
  background: #0c1722;
  border: 2px solid var(--line);
  border-radius: 14px;
}
.quote-card .quote-body {
  font-size: 22px;
  white-space: pre-wrap;
  margin: 0 0 12px;
}
.quote-card .quote-by {
  margin: 0;
  color: var(--gold-soft);
  font-weight: 600;
}

.links-list { list-style: none; margin: 0; padding: 0; }
.links-list li { margin: 0 0 14px; }

/* Music player */
.player, .video-player {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto 1.2rem;
}
.player img, .video-player > picture img, .video-player > img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
.player-ui, .vplayer-ui { position: absolute; inset: 0; }
.hit {
  position: absolute;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
}
.hit:hover { background: rgba(255, 220, 120, 0.08); }
.hit:disabled { cursor: default; }
.hit:disabled:hover { background: transparent; }

/* Music player hit areas — percent of the cleaned v2 frame */
.player .np {
  position: absolute;
  left: 27.2%;
  top: 22.8%;
  width: 24.5%;
  height: 20.5%;
  color: var(--gold-bright);
  text-shadow: 0 1px 2px #000;
  overflow: hidden;
  pointer-events: none;
}
.player .np-label { margin: 0; font-size: clamp(13px, 1.3vw, 18px); color: #e8c35a; font-weight: 700; }
.player .np-title { margin: 2px 0 0; font-size: clamp(16px, 1.7vw, 24px); font-weight: 700; line-height: 1.15; color: #f4f1ea; }
.player .np-artist { margin: 2px 0 0; font-size: clamp(14px, 1.45vw, 20px); font-style: italic; color: #d8d2c4; }
.player .progress-wrap {
  position: absolute;
  left: 27%;
  top: 44.5%;
  width: 48%;
  height: 8%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 700;
}
.player .progress-wrap input[type="range"],
.player .volume-wrap input[type="range"],
.vplayer-ui input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 8px;
  background: linear-gradient(90deg, #1aa0e0, #1aa0e0) 0/var(--pos, 0%) no-repeat, #2a3340;
  border-radius: 8px;
  outline: none;
}
.player .progress-wrap input[type="range"]::-webkit-slider-thumb,
.player .volume-wrap input[type="range"]::-webkit-slider-thumb,
.vplayer-ui input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe08a, #c48a18);
  border: 2px solid #f3e2a0;
  cursor: pointer;
}
.player .prev    { left: 30.16%; top: 57.18%; width: 7.14%; height: 15.33%; }
.player .rewind  { left: 38.67%; top: 57.18%; width: 6.77%; height: 15.33%; }
.player .play    { left: 45.81%; top: 52.49%; width: 9.30%; height: 26.66%; border-radius: 50%; }
.player .forward { left: 55.76%; top: 57.04%; width: 6.95%; height: 15.47%; }
.player .next    { left: 64.09%; top: 57.32%; width: 7.50%; height: 15.19%; }
.player .shuffle { left: 77.21%; top: 28.59%; width: 4.60%; height: 10.91%; }
.player .repeat  { left: 82.78%; top: 28.59%; width: 4.65%; height: 10.91%; }
.player .plist   { left: 88.44%; top: 28.59%; width: 4.65%; height: 10.91%; }
.player .volume-wrap {
  position: absolute;
  left: 79.5%;
  top: 43.8%;
  width: 13.5%;
  height: 7.2%;
  display: flex;
  align-items: center;
}
.player .play-icon {
  position: absolute;
  left: 45.81%;
  top: 52.49%;
  width: 9.30%;
  height: 26.66%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #f3e6c0;
  filter: drop-shadow(0 0 6px #000);
}
.player .play-icon svg { width: 38%; height: 38%; }
.hit[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--gold), 0 0 12px rgba(212,175,98,.45); }
.playlist-panel {
  display: none;
  position: absolute;
  right: 4%;
  top: 42%;
  width: min(360px, 40%);
  max-height: 46%;
  overflow: auto;
  background: #101b28;
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 12px 14px;
  z-index: 8;
  font-size: 18px;
}
.playlist-panel.open { display: block; }
.playlist-panel button, .playlist-panel a {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--gold-soft);
  font: 600 18px/1.35 "Segoe UI", Roboto, Arial, sans-serif;
  padding: 8px 6px;
  cursor: pointer;
  border-radius: 8px;
}
.playlist-panel button:hover { background: rgba(212,175,98,.16); }

/* Video player */
.video-screen {
  position: absolute;
  left: 23.3%;
  top: 21.8%;
  width: 50.2%;
  height: 40.2%;
  border-radius: 14px;
  overflow: hidden;
  background: #05080d;
}
.video-screen iframe,
.video-screen video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #05080d;
}
.vplayer-ui .v-title {
  position: absolute;
  left: 74.6%;
  top: 21.5%;
  width: 19.5%;
  height: 16%;
  color: #f4f1ea;
  text-shadow: 0 1px 2px #000;
  overflow: hidden;
  pointer-events: none;
}
.vplayer-ui .v-title strong {
  display: block;
  font-size: clamp(14px, 1.5vw, 22px);
  line-height: 1.15;
}
.vplayer-ui .v-title span {
  display: block;
  margin-top: 4px;
  font-size: clamp(13px, 1.25vw, 18px);
  font-style: italic;
  color: #d8d2c4;
}
.vplayer-ui .progress-wrap {
  position: absolute;
  left: 23.5%;
  top: 63.2%;
  width: 69%;
  height: 6.5%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 700;
}
.v-playlist { left: 78.65%; top: 38.26%; width: 7.24%; height: 8.29%; }
.v-skip     { left: 87.14%; top: 38.26%; width: 7.00%; height: 8.29%; }
.v-settings { left: 78.65%; top: 48.35%; width: 7.18%; height: 8.18%; }
.v-full     { left: 87.14%; top: 48.46%; width: 6.94%; height: 8.08%; }
.v-prev     { left: 27.69%; top: 70.24%; width: 7.78%; height: 9.35%; }
.v-rewind   { left: 36.90%; top: 70.24%; width: 7.54%; height: 9.35%; }
.v-play     { left: 45.39%; top: 68.01%; width: 9.33%; height: 15.30%; border-radius: 50%; }
.v-forward  { left: 55.68%; top: 70.24%; width: 7.66%; height: 9.35%; }
.v-next     { left: 64.53%; top: 70.24%; width: 7.78%; height: 9.35%; }
.vplayer-ui .volume-wrap {
  position: absolute;
  left: 78.5%;
  top: 70.6%;
  width: 14.5%;
  height: 6.2%;
  display: flex;
  align-items: center;
}
.vplayer-ui .play-icon {
  position: absolute;
  left: 45.39%;
  top: 68.01%;
  width: 9.33%;
  height: 15.30%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #f3e6c0;
  filter: drop-shadow(0 0 6px #000);
}
.vplayer-ui .play-icon svg { width: 38%; height: 38%; }
.settings-panel {
  display: none;
  position: absolute;
  right: 5%;
  top: 58%;
  width: min(280px, 36%);
  background: #101b28;
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 12px 14px;
  z-index: 8;
  font-size: 18px;
}
.settings-panel.open { display: block; }
.settings-panel button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--gold-soft);
  font: 600 18px/1.4 "Segoe UI", Roboto, Arial, sans-serif;
  padding: 8px 6px;
  cursor: pointer;
  border-radius: 8px;
}
.settings-panel button:hover,
.settings-panel button[aria-pressed="true"] { background: rgba(212,175,98,.16); }

.site-footer { margin: 18px 0 0; text-align: center; }
.site-footer img { width: 100%; height: auto; display: block; }
.credits {
  margin: 16px 8px 0;
  font-size: 20px;
  color: var(--gold-soft);
  line-height: 1.45;
}

@media (max-width: 900px) {
  body { font-size: 20px; background-attachment: scroll; }
  .wrap { padding: 10px 12px 28px; }
  .content-frame { padding: 20px 16px 28px; }
  .menubar-art { display: none; }
  .menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
  }
  .menu-list > li { position: relative; }
  .menu-list .menu-btn {
    position: static;
    justify-content: flex-start;
    height: auto;
    padding: 14px 16px;
    background: #101b28;
    border: 2px solid var(--gold);
    border-radius: 10px;
    font-size: 20px;
  }
  .menu-list .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin: 6px 0 8px;
  }
  .shots { grid-template-columns: 1fr; }
  .player .np-title, .vplayer-ui .v-title strong { font-size: 16px; }
  .section-head h2 { font-size: 18px; }
}
@media (max-width: 700px) {
  .player .progress-wrap, .vplayer-ui .progress-wrap { font-size: 11px; }
}

@media (max-width: 900px) {
  .menu-list .menu-item,
  .menu-list > li {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  .section-head h2 { font-size: clamp(18px, 5.2vw, 24px); }
}


/* Poems & songs lyric frame — 9-slice of the branded Songs & Poems art */
.works-list { margin: 1.2rem 0 1.6rem; container-type: inline-size; }
.poem-frame {
  --poem-bt: clamp(155px, 26vw, 300px);
  --poem-br: clamp(58px, 9.2vw, 120px);
  --poem-bb: clamp(125px, 20vw, 240px);
  --poem-bl: clamp(58px, 9.2vw, 120px);
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 1.4rem;
  border-style: solid;
  border-color: transparent;
  border-width: var(--poem-bt) var(--poem-br) var(--poem-bb) var(--poem-bl);
  border-image-source: url("poem-frame.png");
  border-image-slice: 390 140 300 140 fill;
  border-image-repeat: stretch;
  padding: 12px 22px 18px;
  min-height: calc(var(--poem-bt) + var(--poem-bb) + 220px);
  color: #f3ead0;
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.65;
  background-color: #03101c;
  background-clip: padding-box;
}
@supports (width: 1cqw) {
  .poem-frame {
    --poem-bt: 25.39cqw;
    --poem-br: 9.11cqw;
    --poem-bb: 19.53cqw;
    --poem-bl: 9.11cqw;
    min-height: 66.67cqw;
  }
}
@supports (background-image: url("data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA")) {
  .poem-frame { border-image-source: url("poem-frame.webp"); }
}
.poem-frame .poem-title {
  color: #f3e6c0;
  font-size: clamp(24px, 2.4vw, 32px);
  text-align: center;
  margin: 0 0 0.8em;
  font-weight: 600;
  line-height: 1.3;
}
.poem-frame .poem-body {
  margin: 0;
  white-space: pre-wrap;
  color: #f3ead0;
  font-size: 21px;
}
.poem-frame .poem-by {
  margin: 1.1em 0 0;
  text-align: right;
  color: #e8d5a0;
  font-weight: 600;
}
.poem-frame .poem-placeholder {
  margin: 0 0 0.6em;
  text-align: center;
  color: #f3e6c0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
}
.poem-frame .poem-placeholder-note {
  margin: 0;
  text-align: center;
  color: #e8d5a0;
  font-size: 21px;
}

@media (max-width: 900px) {
  .poem-frame {
    padding: 8px 14px 12px;
    font-size: 20px;
  }
}
