/* Mighty Boluwaji portfolio — editable visual system */

:root {
  color-scheme: dark;
  --ink: #101013;
  --navy: #191a1d;
  --navy-soft: #252629;
  --cream: #f7ebdd;
  --cream-soft: #eedcc7;
  --cream-dim: #bbae9d;
  --accent: #f29848;
  --bg: var(--ink);
  --bg2: var(--navy);
  --panel: rgba(255, 248, 239, 0.06);
  --panel2: rgba(255, 248, 239, 0.11);
  --text: var(--cream);
  --muted: #b9b1a8;
  --line: rgba(255, 248, 239, 0.16);
  --blue: var(--ink);
  --blue2: var(--accent);
  --lime: var(--accent);
  --pink: var(--accent);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
  --glass: blur(22px) saturate(145%);
  --sans: "Montserrat", Arial, sans-serif;
  --max: 1280px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--ink);
  color: var(--cream);
  letter-spacing: 0.006em;
}
body,
button,
input,
textarea,
select {
  font-family: "Montserrat", Arial, sans-serif;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-nav {
  min-height: 76px;
  height: auto;
  padding: 0.75rem max(1.5rem, calc((100vw - var(--max)) / 2));
  gap: 2rem;
  background: rgba(16, 16, 19, 0.9);
  color: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.brand-mark {
  width: 210px;
  height: 46px;
}
.brand-mark img {
  max-height: 34px;
}
.nav-links {
  gap: clamp(0.8rem, 1.5vw, 1.55rem);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.035em;
}
.nav-links a {
  color: var(--cream);
  opacity: 0.78;
  transition:
    opacity 0.2s,
    color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cream);
  opacity: 1;
}
.nav-contact {
  border-color: var(--line);
}
.menu-toggle {
  border-radius: 0.65rem;
  border-color: var(--line);
  background: rgba(255, 244, 231, 0.07);
}
.menu-toggle span {
  background: var(--cream);
}
.nav-overlay {
  background: rgba(16, 16, 19, 0.97);
}
.nav-overlay a {
  font-weight: 600;
  letter-spacing: 0;
}
.nav-overlay a[aria-current="page"] {
  color: var(--cream);
}

/* Type and sections */
main {
  overflow: clip;
}
.section {
  width: min(var(--max), calc(100% - 4rem));
  padding-block: 6.6rem;
}
.section-heading {
  max-width: 850px;
  margin: 0 auto 3.2rem;
  text-align: center;
  align-items: center;
}
.section-heading h2,
.page-hero h1,
.closing-band h2 {
  color: var(--cream);
  text-align: center;
  letter-spacing: 0;
  font-weight: 650;
  line-height: 1.03;
}
.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}
.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 680px;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}
.eyebrow {
  display: none !important;
}
.quiet-label {
  color: var(--cream-dim);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.page-hero {
  padding: 7.2rem 1.5rem 4.2rem;
  text-align: center;
  align-items: center;
  background: var(--ink);
}
.page-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
}
.page-hero h1 span,
.closing-band h2 span {
  color: var(--cream);
}
.page-hero > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1.2rem;
}

/* Home opening */
.scroll-cue,
.ribbon {
  display: none !important;
}

/* Buttons and links */
.button {
  min-height: 48px;
  border-radius: 0.65rem;
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  letter-spacing: 0.012em;
}
.button:hover {
  transform: translateY(-2px);
}
.button-light {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
}
.button-light:hover {
  background: var(--cream-soft);
  color: var(--ink);
}
.button-primary {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
}
.button-primary:hover {
  color: var(--ink);
  background: var(--cream-soft);
}
.button-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 244, 231, 0.36);
}
.button-outline:hover {
  color: var(--cream);
  background: rgba(255, 244, 231, 0.08);
  border-color: var(--cream);
}
.text-link {
  color: var(--cream);
  border-color: rgba(255, 244, 231, 0.38);
  font-size: 0.88rem;
  letter-spacing: 0.018em;
}
.text-link:hover {
  color: var(--cream-soft);
  border-color: var(--cream);
}
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 0.6rem;
  color: var(--cream);
  background: rgba(255, 244, 231, 0.05);
  border-color: var(--line);
}
.icon-button:hover {
  color: var(--ink);
  background: var(--cream);
}

/* Portfolio preview and archive cards */
.horizontal-track {
  gap: 1.1rem;
  padding: 0.25rem 0.15rem 1.3rem;
  scroll-snap-type: x mandatory;
}
.preview-art-label {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  padding: 0.45rem 0.65rem;
  color: var(--cream);
  background: rgba(16, 16, 19, 0.76);
  border: 1px solid rgba(255, 244, 231, 0.2);
  border-radius: 0.38rem;
  backdrop-filter: blur(12px);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.section-end {
  margin-top: 0.5rem;
  justify-content: flex-end;
}
.empty-state {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 244, 231, 0.035);
}
.empty-state h2 {
  color: var(--cream);
}
.empty-state p {
  color: var(--muted);
}

/* Home service cards: glass faces, restrained palette */
.service-index {
  color: var(--cream-dim);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* Services page accordion inspired by the supplied recording */
.service-list {
  border-top: 1px solid rgba(255, 244, 231, 0.28);
}
.service-row {
  border-bottom: 1px solid rgba(255, 244, 231, 0.28);
}
.service-row-head {
  min-height: 126px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 68px;
  gap: 1rem;
  align-items: center;
}
.service-row-number {
  color: var(--cream-dim);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}
.service-row-head > div {
  text-align: center;
}
.service-row-head h2 {
  color: var(--cream);
  font-size: clamp(1.1rem, 2.1vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.service-row-head p {
  max-width: 620px;
  margin: 0.55rem auto 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
}
.service-row-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.service-row-toggle:hover,
.service-row.is-open .service-row-toggle {
  background: var(--cream);
  color: var(--ink);
}
.service-row.is-open .service-row-toggle {
  transform: rotate(180deg);
}
.service-row-toggle span {
  font-size: 1.4rem;
  line-height: 1;
}
.service-row-detail {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 0 1rem 1.6rem 90px;
  animation: detail-in 0.24s ease both;
}
.service-detail-copy {
  max-width: 670px;
}
.service-detail-copy > p {
  text-align: center;
  color: var(--muted);
  line-height: 1.75;
}
.service-detail-copy ul {
  list-style: none;
  padding: 1.1rem 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.2rem;
}
.service-detail-copy li {
  display: flex;
  gap: 0.55rem;
  color: var(--cream);
  font-size: 0.83rem;
  line-height: 1.5;
}
.service-detail-copy li::before {
  content: "—";
  color: var(--cream-dim);
}
.service-detail-action {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}
.service-row-price {
  color: var(--cream);
  font-size: 0.87rem;
  font-weight: 600;
}

/* Reviews */

/* Other page components */
.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.capability {
  border-radius: 0.75rem;
  background: rgba(255, 244, 231, 0.04);
}
.capability h3 {
  color: var(--cream);
  letter-spacing: 0;
}
.capability p {
  color: var(--muted);
}
.cap-symbol {
  color: var(--cream-dim);
}
.account-band h2 {
  color: var(--ink);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  letter-spacing: 0;
  line-height: 1.04;
  text-align: center;
}
.account-symbol {
  background: var(--navy);
  color: var(--cream);
  border: 1px solid rgba(16, 16, 19, 0.12);
  border-radius: 0.9rem;
}
.closing-band {
  background: var(--navy);
  color: var(--cream);
  padding: 6rem 1.5rem;
}
.closing-band::after {
  display: none;
}
.closing-band h2 {
  font-size: clamp(2.7rem, 7vw, 6rem);
  margin-top: 0;
}
.closing-band .button {
  margin-top: 1.5rem;
}
.contact-aside {
  background: rgba(255, 244, 231, 0.055);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.line-field {
  border-color: var(--line);
}
.line-field > span {
  color: var(--cream-dim);
}
.line-field input,
.line-field select,
.line-field textarea {
  color: var(--cream);
}
.line-field input::placeholder,
.line-field textarea::placeholder {
  color: rgba(255, 244, 231, 0.46);
}
.line-field option {
  background: var(--navy);
  color: var(--cream);
}
.form-status {
  color: var(--cream);
}
.contact-aside h2 {
  color: var(--cream);
}
.contact-aside > p:not(.eyebrow) {
  color: var(--muted);
}
.file-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 0.65rem;
  color: var(--cream);
  cursor: pointer;
}
.file-picker input {
  max-width: 100%;
  color: var(--muted);
}

/* Learning shop */
.account-band {
  background: var(--cream);
  color: var(--ink);
  padding-inline: max(2rem, calc((100vw - var(--max)) / 2));
  border: 0;
}
.account-band > div {
  text-align: center;
}
.account-band > div > p:not(.eyebrow) {
  color: #5c5953;
  margin-inline: auto;
}
.account-symbol {
  background: var(--navy);
}
.account-symbol b {
  color: var(--cream);
}

/* Learning catalogue: keep item details left and align price/action as one row. */
.status-symbol {
  color: var(--cream);
}

/* Footer: vertical, left aligned */
#site-footer {
  padding: 3.5rem max(2rem, calc((100vw - var(--max)) / 2)) 1.2rem;
  background: var(--navy);
  color: var(--cream);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8rem;
  padding-bottom: 2rem;
}
.footer-brand,
.footer-col {
  width: 100%;
  text-align: left;
}
.footer-brand .brand-mark {
  width: 200px;
}
.footer-brand p {
  color: var(--muted);
  max-width: 540px;
  margin: 0.8rem 0 0;
}
.footer-contact {
  margin-top: 1.25rem;
}
.footer-contact h3 {
  color: var(--cream-dim);
  font-size: 0.72rem;
  margin: 0 0 0.55rem;
}
.footer-contact ul {
  display: grid;
  gap: 0.38rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-contact li {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: baseline;
  font-size: 0.83rem;
}
.footer-contact li span {
  color: var(--muted);
  font-size: 0.68rem;
}
.footer-contact li a {
  color: var(--cream);
  overflow-wrap: anywhere;
}
.footer-contact li a:hover {
  color: var(--accent);
}
.crypto-account-card .wallet-address {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-col h3 {
  color: var(--cream-dim);
  font-size: 0.72rem;
  margin: 0 0 0.65rem;
  text-align: left;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--cream);
}
.footer-col a:hover,
.footer-email:hover {
  color: var(--cream-dim);
}
.footer-newsletter {
  max-width: 420px;
  margin: 0.7rem 0;
}
.footer-newsletter input {
  color: var(--cream);
  border-color: var(--line);
  background: rgba(255, 244, 231, 0.06);
  border-radius: 0.45rem;
}
.footer-newsletter button {
  flex: 0 0 42px;
  border-radius: 0.45rem;
  background: var(--cream);
  color: var(--ink);
}
.footer-status,
.footer-email {
  color: var(--muted);
}
.footer-bottom {
  justify-content: space-between;
  color: var(--muted);
  border-color: var(--line);
}
.legal-links {
  justify-content: flex-start;
}

/* Motion, mobile and reduced-motion support */
@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1050px) {
  .site-nav {
    gap: 1rem;
  }
  .brand-mark {
    width: 180px;
  }
  .nav-links {
    gap: 0.78rem;
    font-size: 0.75rem;
  }
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 780px) {
  .site-nav {
    min-height: 64px;
    padding: 0.55rem 1rem;
  }
  .brand-mark {
    width: 180px;
    height: 42px;
  }
  .nav-overlay {
    inset: 64px 0 0;
  }
  .nav-overlay ul {
    text-align: center;
  }
  .nav-overlay a {
    color: var(--cream);
  }
  .section {
    width: calc(100% - 2.5rem);
    padding-block: 5rem;
  }
  .service-row-head {
    min-height: 110px;
    grid-template-columns: 64px minmax(0, 1fr) 54px;
    gap: 0.7rem;
  }
  .service-row-number {
    font-size: 2.9rem;
  }
  .service-row-detail {
    padding-left: 64px;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .service-detail-action {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .contact-aside {
    position: static;
    order: -1;
  }
  .footer-grid {
    gap: 1.6rem;
  }
}
@media (max-width: 560px) {
  .section {
    width: calc(100% - 2rem);
    padding-block: 4.25rem;
  }
  .section-heading {
    margin-bottom: 2.2rem;
  }
  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }
  .service-row-head {
    min-height: 105px;
    grid-template-columns: 48px minmax(0, 1fr) 44px;
    gap: 0.55rem;
  }
  .service-row-number {
    font-size: 2.1rem;
  }
  .service-row-head h2 {
    font-size: 0.96rem;
    line-height: 1.4;
  }
  .service-row-head p {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.45;
  }
  .service-row-toggle {
    width: 38px;
    height: 38px;
  }
  .service-row-detail {
    padding: 0 0 1.4rem 48px;
  }
  .service-detail-copy > p {
    font-size: 0.85rem;
  }
  .service-detail-copy ul {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .service-detail-action {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero {
    padding: 5rem 1rem 3rem;
  }
  .page-hero h1 {
    font-size: clamp(2.55rem, 11vw, 4.2rem);
  }
  .page-hero > p:not(.eyebrow) {
    font-size: 0.93rem;
  }
  .closing-band {
    padding: 4.3rem 1rem;
  }
  .closing-band h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }
  .contact-aside {
    display: block;
    padding: 1.1rem;
  }
  .file-picker {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    gap: 1.4rem;
  }
  #site-footer {
    padding: 3rem 1rem 1.2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  body {
    background: white;
    color: #111;
  }
  #site-header,
  #site-footer {
    display: none !important;
  }
}

/* Private CMS visual treatment */
body[data-page="admin"] {
  background: var(--ink);
  color: var(--cream);
  color-scheme: dark;
}
body[data-page="admin"] .record-main p {
  color: var(--muted);
}
body[data-page="admin"] .admin-stat,
body[data-page="admin"] .admin-record {
  background: rgba(255, 244, 231, 0.045);
  border-color: var(--line);
}
body[data-page="admin"] .admin-stat span,
body[data-page="admin"] .admin-list-row span,
body[data-page="admin"] .admin-empty,
body[data-page="admin"] .dialog-heading p,
body[data-page="admin"] .dialog-field small {
  color: var(--muted);
}
body[data-page="admin"] .admin-badge,
body[data-page="admin"] .record-drag-grip {
  color: var(--cream-dim);
  border-color: var(--line);
  background: rgba(255, 244, 231, 0.035);
}
body[data-page="admin"] .admin-badge.is-live {
  color: var(--cream);
  border-color: rgba(255, 244, 231, 0.3);
  background: rgba(255, 244, 231, 0.07);
}
body[data-page="admin"] .admin-badge.is-new {
  color: var(--cream);
  border-color: rgba(255, 244, 231, 0.3);
}
body[data-page="admin"] .record-empty {
  border-color: var(--line);
  color: var(--muted);
}
body[data-page="admin"] .record-empty h3 {
  color: var(--cream);
}
body[data-page="admin"] .dialog-field input,
body[data-page="admin"] .dialog-field textarea,
body[data-page="admin"] .dialog-field select,
body[data-page="admin"] .thread-reply textarea {
  background: rgba(16, 16, 19, 0.66);
  border-color: var(--line);
  color: var(--cream);
}
body[data-page="admin"] .dialog-field input:focus,
body[data-page="admin"] .dialog-field textarea:focus,
body[data-page="admin"] .dialog-field select:focus {
  border-color: var(--accent);
}
body[data-page="admin"] .dialog-heading,
body[data-page="admin"] .dialog-subhead {
  border-color: var(--line);
}
body[data-page="admin"] .dialog-heading h2,
body[data-page="admin"] .dialog-field > span,
body[data-page="admin"] .dialog-subhead {
  color: var(--cream);
}
body[data-page="admin"] .dialog-field select option {
  background: var(--navy);
  color: var(--cream);
}
body[data-page="admin"] .dialog-field input[type="checkbox"] {
  accent-color: var(--cream);
}
body[data-page="admin"] .thread-message,
body[data-page="admin"] .media-edit-row {
  border-color: var(--line);
  background: rgba(255, 244, 231, 0.04);
}
body[data-page="admin"] .thread-message p {
  color: var(--cream-dim);
}
body[data-page="admin"] .connection-row,
body[data-page="admin"] .admin-list-row {
  border-color: var(--line);
}
body[data-page="admin"] .connection-pill,
body[data-page="admin"] .connection-pill.ok {
  color: var(--cream);
  border-color: var(--line);
}
body[data-page="admin"] .service-row-detail[hidden] {
  display: none;
}

/* Spacing and logo refinements */
.site-nav .brand-mark {
  flex: 0 0 150px;
  width: 150px;
  height: 62px;
}
.site-nav .brand-mark img {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 60px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.footer-brand .brand-mark {
  width: 170px;
  height: 66px;
}
.footer-brand .brand-mark img {
  max-width: 170px;
  max-height: 64px;
}
.contact-aside {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.7rem;
  border-radius: 0.9rem;
  text-align: center;
}
.contact-aside h2 {
  max-width: 340px;
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.28;
  letter-spacing: 0;
}
.contact-aside > p:not(.eyebrow) {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9rem;
}
.contact-aside .button {
  margin: 0.35rem 0 0;
  white-space: normal;
}
.contact-aside .aside-rule,
.contact-aside .quiet-label {
  display: none !important;
}
.page-hero h1,
.section-heading h2,
.closing-band h2 {
  letter-spacing: 0;
  word-spacing: 0.02em;
}
.service-row-head h2,
.contact-aside h2 {
  letter-spacing: 0;
  word-spacing: 0.025em;
}
.nav-links {
  gap: clamp(0.85rem, 1.35vw, 1.45rem);
  letter-spacing: 0.025em;
}
.nav-links li {
  white-space: nowrap;
}
.footer-col ul {
  line-height: 1.6;
}
.service-row-detail[hidden] {
  display: none !important;
}
@media (max-width: 780px) {
  .contact-aside {
    order: 1;
    display: flex !important;
    grid-template-columns: none;
  }
}

/* Preview artwork and small layout details */
.preview-tile {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 244, 231, 0.18);
  border-radius: 0.7rem;
  background: var(--navy);
}
.preview-tile img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.preview-tile figcaption {
  padding: 0.55rem 0.65rem;
  color: var(--cream-dim);
  font-size: 0.61rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.portfolio-empty {
  grid-column: 1/-1;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 244, 231, 0.04);
}
.portfolio-empty-copy {
  text-align: center;
  margin: 0 auto 1.2rem;
}
.portfolio-empty-copy h2 {
  color: var(--cream);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
}
.portfolio-empty-copy p {
  color: var(--muted);
  font-size: 0.81rem;
  margin-top: 0.35rem;
}
.portfolio-empty .work-preview-grid {
  max-width: 100%;
}
.portfolio-empty .preview-tile img {
  height: clamp(140px, 20vw, 270px);
}
.capability:hover {
  border-color: rgba(255, 244, 231, 0.4);
}
.attachment-list {
  display: grid;
  gap: 0.55rem;
}
.attachment-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.attachment-list small {
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 780px) {
  .preview-tile img {
    height: 140px;
  }
  .portfolio-empty {
    padding: 0.8rem;
  }
  .portfolio-empty .work-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portfolio-empty .preview-tile img {
    height: clamp(140px, 38vw, 230px);
  }
}

/* Typography spacing: keep words open and legible across every screen. */
body {
  letter-spacing: normal;
  word-spacing: 0.025em;
}
body :is(h1, h2, h3, h4, h5, h6) {
  letter-spacing: 0;
  word-spacing: 0.025em;
  text-wrap: pretty;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-aside .learning-shop-link {
  margin: 0.25rem 0 0;
  padding: 0.32rem 0.1rem;
  justify-content: center;
  line-height: 1.55;
}

/* Charcoal, cream and orange palette; keep the site free of blue UI accents. */
:root {
  --ink: #101013;
  --navy: #191a1d;
  --navy-soft: #252629;
  --cream: #f7ebdd;
  --cream-soft: #eedcc7;
  --cream-dim: #bbae9d;
  --accent: #f29848;
  --bg: #101013;
  --bg2: #191a1d;
  --panel: rgba(255, 248, 239, 0.055);
  --panel2: rgba(255, 248, 239, 0.095);
  --text: #f7ebdd;
  --muted: #b9b1a8;
  --line: rgba(255, 248, 239, 0.16);
  --blue: #101013;
  --blue2: #f29848;
  --lime: #f29848;
  --pink: #f29848;
  --glass: blur(22px) saturate(145%);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}
html,
body {
  background: #101013;
  color: var(--cream);
}
body {
  background: #101013;
}
main {
  background: #101013;
}

/* Muted section shifts add depth without introducing another accent hue. */
.closing-band {
  background: #1d1e21;
  color: var(--cream);
}
.page-hero {
  background: #191a1d;
}

/* Keep the soft, frosted-glass treatment visible over dark surfaces. */
.site-nav,
.glass-panel,
.contact-aside,
.capability,
.account-symbol,
.portfolio-empty {
  background-color: rgba(255, 248, 239, 0.055);
  border-color: rgba(255, 248, 239, 0.14);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}
.site-nav {
  --nav-h: 76px;
  min-height: var(--nav-h);
  height: var(--nav-h);
  position: relative;
  display: flex;
  gap: 1rem;
  padding-inline: max(1.25rem, calc((100vw - var(--max)) / 2));
  background: rgba(16, 16, 19, 0.82);
}
.site-nav .brand-mark {
  flex: 0 0 auto;
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-left: auto;
}
.cart-nav {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 248, 239, 0.055);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cart-nav:hover {
  border-color: rgba(242, 152, 72, 0.65);
  color: var(--cream);
}
.cart-count {
  display: inline-grid;
  min-width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  padding: 0 0.3rem;
  border-radius: 99px;
  background: #f29848;
  color: #171719;
  font-size: 0.68rem;
  font-weight: 750;
}
.menu-toggle {
  display: grid;
  position: relative;
  z-index: 75;
  flex: 0 0 48px;
  width: 48px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 248, 239, 0.06);
}
.menu-toggle span {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--cream);
  transition:
    transform 0.32s cubic-bezier(0.22, 0.68, 0.12, 1),
    top 0.32s cubic-bezier(0.22, 0.68, 0.12, 1),
    width 0.32s;
}
.menu-toggle span:nth-child(1) {
  top: 14px;
}
.menu-toggle span:nth-child(2) {
  top: 21px;
  width: 13px;
}
.menu-toggle span:nth-child(3) {
  top: 28px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  width: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}
.nav-overlay {
  display: flex !important;
  position: absolute;
  inset: 100% 0 auto;
  z-index: 70;
  height: calc(100svh - var(--nav-h));
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 5vh, 4rem) 1.25rem;
  overflow: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  background: rgba(13, 14, 16, 0.68);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition:
    opacity 0.36s ease,
    transform 0.42s cubic-bezier(0.22, 0.68, 0.12, 1),
    visibility 0.36s;
}
.nav-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-overlay-panel {
  width: min(940px, 100%);
  min-height: min(580px, 75vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.3rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 248, 239, 0.16);
  border-radius: 1.35rem;
  background: rgba(27, 28, 31, 0.77);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}
.nav-overlay ul {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-overlay li {
  border-bottom: 1px solid rgba(255, 248, 239, 0.1);
}
.nav-overlay a {
  display: block;
  padding: 0.72rem 0.3rem;
  color: var(--cream);
  font-size: clamp(1.35rem, 3.1vw, 2.4rem);
  font-weight: 550;
  letter-spacing: 0;
  line-height: 1.15;
  transition:
    color 0.25s,
    transform 0.3s;
}
.nav-overlay a:hover,
.nav-overlay a[aria-current="page"] {
  color: #f29848;
  transform: translateX(5px);
}

/* Two clear lines in the home hero, sized to fit narrow phones. */

/* Dark-glass service fronts turn to warm orange backs at a measured pace. */

/* Testimonial cards use a true warm-white surface and a clear portrait slot. */

/* Restore the four-column desktop footer and keep a vertical mobile stack. */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr 1.1fr;
  align-items: start;
  gap: 2.5rem;
  padding-bottom: 3.2rem;
}
.footer-brand,
.footer-col {
  width: auto;
}
.footer-brand {
  grid-column: auto;
}
.footer-col ul {
  display: grid;
  gap: 0.62rem;
}
.footer-col.newsletter-col {
  grid-column: auto;
}
.footer-newsletter button {
  background: #f29848;
  color: #171719;
}
.footer-col a:hover,
.footer-email:hover {
  color: #f29848;
}

/* Project and review strips: visible overflow, touch swipes, pointer drags, and keyboard arrows. */
.horizontal-track {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.horizontal-track::-webkit-scrollbar {
  display: none;
}
.horizontal-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.preview-art-image {
  filter: grayscale(0.7) sepia(0.9) saturate(1.2) hue-rotate(-14deg) brightness(0.86);
}

@media (max-width: 1050px) and (min-width: 781px) {
  .footer-grid {
    grid-template-columns: 1.25fr 0.8fr 1fr;
    gap: 2rem 1.25rem;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-col.newsletter-col {
    grid-column: 1/-1;
  }
}
@media (max-width: 780px) {
  .site-nav {
    --nav-h: 68px;
    min-height: var(--nav-h);
    height: var(--nav-h);
    padding-inline: 1rem;
  }
  .site-nav .brand-mark {
    flex-basis: 128px;
    width: 128px;
    height: 54px;
  }
  .site-nav .brand-mark img {
    max-width: 128px;
    max-height: 50px;
  }
  .nav-actions {
    gap: 0.45rem;
  }
  .cart-nav {
    min-height: 40px;
    padding: 0.48rem 0.7rem;
    font-size: 0.74rem;
  }
  .menu-toggle {
    flex-basis: 44px;
    width: 44px;
    height: 42px;
  }
  .menu-toggle span {
    left: 12px;
  }
  .nav-overlay {
    height: calc(100svh - var(--nav-h));
    padding: 1rem;
  }
  .nav-overlay-panel {
    min-height: 0;
    height: 100%;
    max-height: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: auto;
    padding: 1.25rem;
    border-radius: 1rem;
  }
  .nav-overlay ul {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .nav-overlay a {
    padding: 0.8rem 0.2rem;
    font-size: clamp(1.45rem, 7vw, 2.15rem);
  }
  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    padding-bottom: 2rem;
  }
  .footer-brand,
  .footer-col,
  .footer-col.newsletter-col {
    width: 100%;
    grid-column: auto;
    text-align: left;
  }
  .footer-col ul {
    display: grid;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 360px) {
  .site-nav {
    padding-inline: 0.7rem;
  }
  .site-nav .brand-mark {
    flex-basis: 112px;
    width: 112px;
  }
  .site-nav .brand-mark img {
    max-width: 112px;
  }
  .cart-nav {
    padding-inline: 0.55rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-overlay,
  .nav-overlay-panel,
  .nav-overlay a,
  .menu-toggle span {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* One centred invitation above the contact fields. */

/* Home portfolio: the centred project grows as the visitor scrolls between cases. */
#work-track.focus-carousel {
  --home-card-width: clamp(320px, 58vw, 700px);
  gap: clamp(0.8rem, 2.2vw, 1.6rem);
  padding: 2rem calc((100% - var(--home-card-width)) / 2) 2.4rem;
  scroll-padding-inline: calc((100% - var(--home-card-width)) / 2);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
}
#work-track.focus-carousel .work-card {
  flex: 0 0 var(--home-card-width);
  width: var(--home-card-width);
  min-height: 0;
  height: auto;
  scroll-snap-align: center;
  transform: scale(var(--focus-scale, 0.84));
  transform-origin: center;
  opacity: var(--focus-opacity, 0.55);
  border-color: rgba(247, 235, 223, 0.17);
  transition:
    transform 0.62s cubic-bezier(0.2, 0.75, 0.18, 1),
    opacity 0.45s ease,
    border-color 0.4s ease,
    box-shadow 0.5s ease;
  will-change: transform;
}
#work-track.focus-carousel .work-card:hover {
  transform: scale(var(--focus-scale, 0.84)) translateY(-3px);
}
#work-track.focus-carousel .work-card.is-current {
  z-index: 2;
  border-color: rgba(242, 152, 72, 0.74);
  box-shadow:
    0 30px 88px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(242, 152, 72, 0.12);
}

/* A client-logo ribbon is created only after real logos are added in the CMS. */
@keyframes client-logo-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Service cards keep their enquiry prices visible on both sides. */
.service-price-block {
  display: grid;
  justify-items: start;
  gap: 0.2rem;
  margin-top: 1.15rem;
}
.service-price-block > span {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Keep About copy aligned with the portrait on all screen sizes. */

/* The project action starts an enquiry; the learning cart remains in the menu. */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-left: auto;
}
.get-started-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.58rem 1rem;
  border: 1px solid rgba(242, 152, 72, 0.6);
  border-radius: 99px;
  background: rgba(242, 152, 72, 0.1);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.get-started-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #171719;
  transform: translateY(-1px);
}

@media (max-width: 780px) {
  #work-track.focus-carousel {
    --home-card-width: 84vw;
    padding-block: 1.25rem 1.8rem;
  }
  .get-started-nav {
    min-height: 40px;
    padding-inline: 0.78rem;
    font-size: 0.72rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  #work-track.focus-carousel .work-card {
    transition-duration: 0.01ms !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Wide glass call to action and full-width service row targets. */
.button-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border: 1px solid rgba(255, 248, 239, 0.24);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.065);
  color: var(--cream);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 248, 239, 0.09);
  transition:
    background 0.28s,
    border-color 0.28s,
    transform 0.28s,
    box-shadow 0.28s;
}
.button-glass:hover {
  background: rgba(255, 248, 239, 0.13);
  border-color: rgba(242, 152, 72, 0.6);
  transform: translateY(-2px);
  box-shadow:
    0 15px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 248, 239, 0.14);
}
.button-light {
  justify-content: center;
  text-align: center;
}
.service-row-head {
  width: 100%;
  border: 0;
  padding: 0 0.8rem;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.28s,
    border-color 0.28s;
}
.service-row-head:hover,
.service-row-head[aria-expanded="true"] {
  background: rgba(255, 248, 239, 0.035);
}
.service-row-head:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 0.5rem;
}
.service-row-copy {
  display: block;
  min-width: 0;
  text-align: center;
}
.service-row-title {
  display: block;
  color: var(--cream);
  font-size: clamp(1.1rem, 2.1vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: uppercase;
}
.service-row-summary {
  display: block;
  max-width: 620px;
  margin: 0.55rem auto 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
}
.service-row-toggle {
  display: grid;
  place-items: center;
}
.service-row-toggle span {
  display: block;
  transition: transform 0.28s;
}
.service-row.is-open .service-row-toggle span {
  transform: rotate(45deg);
}
.learning-quote {
  margin-top: 1rem !important;
  color: var(--cream) !important;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem) !important;
  font-weight: 600;
}
@media (max-width: 780px) {
  .service-row-head {
    grid-template-columns: 48px minmax(0, 1fr) 44px;
    gap: 0.55rem;
    min-height: 105px;
    padding: 0 0.35rem;
  }
  .service-row-title {
    font-size: 0.96rem;
  }
  .service-row-summary {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.45;
  }
}

/* Learning page goes from its single heading to the two learning choices. */

/* Category management lives beside the portfolio editor in the CMS. */
.category-dialog-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
  margin-top: 0.35rem;
}
.category-admin-row {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: rgba(255, 248, 239, 0.035);
}
.category-admin-row > div:first-child {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}
.category-admin-row strong {
  color: var(--cream);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.category-admin-row span {
  color: var(--muted);
  font-size: 0.66rem;
}
.category-admin-row > div:last-child {
  display: flex;
  gap: 0.3rem;
}
.category-admin-row .mini-button {
  padding: 0.32rem 0.5rem;
  font-size: 0.68rem;
}
.fulfillment-field {
  margin: 0;
  padding: 0;
  border: 0;
}
.fulfillment-field legend {
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  color: #abb3c5;
}
.fulfillment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.fulfillment-options label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 76px;
  padding: 0.75rem;
  border: 1px solid rgba(232, 236, 255, 0.14);
  border-radius: 0.6rem;
  background: rgba(255, 248, 239, 0.035);
  cursor: pointer;
}
.fulfillment-options label:has(input:checked) {
  border-color: rgba(242, 152, 72, 0.75);
  background: rgba(242, 152, 72, 0.08);
}
.fulfillment-options input {
  flex: 0 0 auto;
  width: 1rem;
  min-width: 1rem;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: #f29848;
}
.fulfillment-options label > span {
  display: grid;
  gap: 0.22rem;
}
.fulfillment-options strong {
  color: var(--cream);
  font-size: 0.76rem;
}
.fulfillment-options small,
.fulfillment-help {
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.45;
}
.fulfillment-help {
  display: block;
  margin-top: 0.5rem;
}
.class-only-fields[hidden] {
  display: none !important;
}
.product-current-file {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  min-height: 42px;
  color: var(--muted);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}
.product-current-file img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}
.product-current-file .mini-button {
  font-size: 0.69rem;
}

/* Reviews are a fixed grid; the reader chooses when to expand it. */
@keyframes review-arrow-flow {
  0%,
  100% {
    opacity: 0.18;
    transform: translateY(-2px);
  }
  50% {
    opacity: 1;
    transform: translateY(2px);
  }
}
@media (max-width: 700px) {
  .fulfillment-options {
    grid-template-columns: 1fr;
  }
}

/* Let service cards turn with a slower, even pace on pointer and touch. */

/* Reviews follow the cream testimonial layout in the supplied reference. */

/* Home projects use the same archive cards in a normal grid, so page scrolling stays natural. */
@keyframes review-arrow-flow-up {
  0%,
  100% {
    opacity: 0.18;
    transform: translateY(2px);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
.section-heading span,
.page-hero h1 span,
.page-hero h1 em {
  color: var(--accent);
}
.get-started-nav {
  color: #171719;
  background: #f2e8d9;
  border-color: #f2e8d9;
}
.get-started-nav:hover {
  color: #171719;
  background: #fff8ef;
  border-color: #fff8ef;
}

/* Home service cards retain the 3D flip, with the warm orange reverse face. */
.service-index {
  display: none !important;
}
.text-link span,
.page-hero a span {
  display: none !important;
}

/* The Services page starts with a title-only tile; clicking opens its simple service summary. */

/* Secure one-use review and email-approval pages. */
.review-invite-brand img {
  display: block;
  width: 190px;
  max-height: 62px;
  object-fit: contain;
}

/* CMS review link controls and profile photo. */

/* Final responsive and interaction refinements for the review update. */
.page-hero h1 span,
.closing-band h2 span {
  color: var(--accent);
}

/* Final behavior: reviews lift on hover; client marks keep a steady marquee. */

/* Case studies introduce the brief before the gallery and finish with clear next steps. */

/* Close controls stay clear on the warm reverse face and never capture page scrolling. */

/* CMS supplied profile and learning imagery. */
.closing-band > p {
  max-width: 48ch;
  margin: 0.8rem auto 0;
  color: var(--cream-dim);
  line-height: 1.65;
}

/* Orange accents carry through titles, the footer year and process markers. */
.title-accent {
  display: inline !important;
  color: var(--accent) !important;
}
.footer-bottom #year {
  color: var(--accent) !important;
}
.project-year,
.year-label {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* Branded enquiry receipt shown after a successful brief submission. */
.receipt-letterhead {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 248, 239, 0.12);
  background: rgba(255, 255, 255, 0.025);
}
.receipt-letterhead > div {
  display: grid;
  gap: 0.3rem;
}
.receipt-letterhead strong {
  color: var(--cream);
  font-size: 0.86rem;
  letter-spacing: 0.09em;
}
.receipt-letterhead span {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
@media (max-width: 560px) {
  .receipt-letterhead {
    padding-inline: 1rem;
  }
}

/* Latest color pass: keep the requested headings and card text in one clear tone. */
body[data-page="portfolio"] .page-hero h1,
body[data-page="portfolio"] .page-hero h1 span,
body[data-page="learn"] .page-hero h1,
body[data-page="learn"] .page-hero h1 span,
body[data-page="cart"] .page-hero h1,
body[data-page="cart"] .page-hero h1 span,
body[data-page="get-started"] .page-hero h1,
body[data-page="get-started"] .page-hero h1 span,
.portfolio-closing h2,
.portfolio-closing h2 span {
  color: var(--cream) !important;
}

/* Service card titles, details and cost labels use the same cream palette. */
.service-price-block > span {
  color: var(--cream-dim) !important;
}

/* Product catalogue cards keep their labels and title accents consistent. */

/* Keep titles consistent; reserve orange for emphasis within body copy. */
h1 span,
h2 span,
h3 span,
.title-accent {
  color: var(--cream) !important;
}
.contact-hero h1.contact-page-title span {
  color: var(--cream) !important;
}
.copy-highlight {
  color: var(--accent) !important;
  font-weight: 650;
}
body[data-page="services"] .page-hero h1 span {
  color: var(--accent) !important;
}

/* Flipped service cards follow the approved breakdown, list and investment layout. */
.service-breakdown-heading {
  display: grid;
  gap: 0.62rem;
  padding-right: 2.35rem;
}
.service-breakdown-heading h2,
.service-breakdown-heading h3 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: uppercase;
}
.service-breakdown-rule {
  width: 100%;
  height: 1px;
  flex: none;
  margin-top: 1.15rem;
  background: rgba(255, 255, 255, 0.34);
}

/* Service card fronts follow the supplied icon, description and price composition. */
.service-front-icon {
  display: grid;
  width: 4.1rem;
  height: 4.1rem;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 1.05rem;
  background: rgba(255, 248, 239, 0.045);
  color: var(--accent);
}
.service-front-icon img {
  display: block;
  width: 2rem;
  height: 2rem;
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  mix-blend-mode: normal;
}
.service-front-icon svg {
  display: block;
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}
.service-card-description {
  display: block;
  margin: 0.75rem 0 0;
  color: rgba(255, 248, 239, 0.66);
  font-size: clamp(0.96rem, 1.15vw, 1.12rem);
  font-weight: 450;
  line-height: 1.65;
  text-align: left;
}
.service-front-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(255, 248, 239, 0.11);
}
@media (max-width: 700px) {
  .service-front-icon {
    width: 3.65rem;
    height: 3.65rem;
  }
  .service-card-description {
    font-size: 0.98rem;
  }
}

/* The supplied wordmark is paired with the full studio name. */
.site-nav .brand-mark,
.footer-brand .brand-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.08rem;
}
.site-nav .brand-mark img {
  width: 100%;
  max-width: 150px;
  max-height: 28px;
  object-fit: contain;
  object-position: left center;
}
.footer-brand .brand-mark img {
  width: 100%;
  max-width: 170px;
  max-height: 30px;
  object-fit: contain;
  object-position: left center;
}
.brand-studio-label {
  display: block;
  color: var(--cream-dim);
  font-size: 0.43rem;
  font-weight: 650;
  letter-spacing: 0.24em;
  line-height: 1.15;
}
@media (max-width: 700px) {
  .site-nav .brand-mark img {
    max-height: 22px;
  }
  .brand-studio-label {
    font-size: 0.4rem;
  }
}

/* The homepage keeps its circular arrow cue; detail-page cards use a longer format. */

/* Homepage service-card overview and editable highlight list. */
p .copy-highlight {
  color: var(--cream) !important;
}

.receipt-letterhead .receipt-specialties {
  display: grid;
  gap: 0.22rem;
  margin: 0;
  padding: 0;
  color: var(--cream);
  list-style: none;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.35;
}
.receipt-letterhead .receipt-specialties li::before {
  content: "•";
  padding-right: 0.45rem;
  color: var(--accent);
}
.receipt-contact {
  margin-top: 1.7rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 248, 239, 0.15);
}
.receipt-contact h3 {
  margin: 0 0 0.65rem;
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.receipt-contact ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.receipt-contact li,
.receipt-contact a {
  color: var(--cream-dim);
  font-size: 0.83rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.receipt-contact li a {
  display: grid;
  gap: 0.1rem;
  text-decoration: none;
}
.receipt-contact li a span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.receipt-contact a:hover {
  color: var(--cream);
}

/* Keep the homepage card arrow optically centered in its circular control. */

/* Full-bleed client logo ribbon with a continuous sequence sized to the viewport. */
@keyframes client-logo-marquee {
  to {
    transform: translateX(var(--client-logo-distance, -50%));
  }
}

/* Let the expanded Services cards scroll while allowing page scroll to continue at their edges. */

/* Homepage artwork: close, curved poster ribbon with a large central focus. */

/* Optional project payments; direct account cards remain absent until the owner publishes one. */
.direct-payment-section,
.manual-payment-request {
  width: min(100%, 920px);
  margin-inline: auto;
}
.manual-payment-request {
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}
.direct-payment-section {
  display: grid;
  gap: 1.35rem;
}
.manual-payment-request {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}
.admin-record .manual-method-preview {
  display: grid;
  place-items: stretch;
  width: auto;
  height: auto;
  margin: 0 0 0.6rem;
  padding: 0.6rem;
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 0.55rem;
  color: var(--cream-dim);
  font-size: 0.68rem;
  letter-spacing: normal;
}
#crypto-payment-methods-list .manual-method-preview-row strong {
  overflow-wrap: anywhere;
  word-break: break-word;
}
#manual-payment-methods-list .admin-record .record-main p {
  white-space: pre-line;
}

/* Private payment request and email approval pages */
.private-payment-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--cream-dim);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.private-payment-topline a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
}
.private-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.private-review-actions .button {
  min-width: 170px;
}
.private-method-choices {
  display: grid;
  gap: 0.55rem;
  max-height: 185px;
  overflow: auto;
}
.private-method-choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 248, 239, 0.1);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}
.private-method-choice[hidden] {
  display: none !important;
}
.private-method-choice input {
  width: auto;
  accent-color: #f29848;
}
.private-method-choice span {
  display: grid;
  gap: 0.2rem;
}
.private-method-choice strong {
  color: var(--cream);
  font-size: 0.75rem;
}
.private-method-choice small {
  color: var(--cream-dim);
  font-size: 0.66rem;
}
@media (max-width: 700px) {
  .private-payment-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
  .private-review-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .private-review-actions .button {
    width: 100%;
  }
}
@media print {
  .private-payment-topline {
    display: none;
  }
}

/* Main Services cards use a raised charcoal glass front, independently styled from Home. */

/* Journal identity, About role hierarchy, legal pages and FAQ flip cards */
.legal-rich-content {
  color: var(--cream-dim, #c6beb2);
  font-size: 1rem;
  line-height: 1.85;
}
.legal-rich-content p {
  margin: 0 0 1rem;
  color: inherit;
}
.legal-rich-content h2,
.legal-rich-content h3 {
  color: var(--cream);
  margin: 1.8rem 0 0.8rem;
}
.legal-rich-content ul,
.legal-rich-content ol {
  padding-left: 1.3rem;
  margin: 0.8rem 0;
}
.legal-rich-content li {
  margin: 0.45rem 0;
}
.legal-rich-content .journal-text-small {
  font-size: 0.86em;
}
.legal-rich-content .journal-text-large {
  font-size: 1.22em;
}
.legal-rich-content .journal-text-xl {
  font-size: 1.42em;
}

/* FAQ header alignment and card contrast requested for the public FAQ page. */

/* More separation between the homepage service tiles and their section background. */

/* Keep multi-line headings composed, with clear and even title-to-copy spacing. */
:where(h1, h2, h3) {
  text-wrap: balance;
}
:where(p, li) {
  text-wrap: pretty;
}
:where(
  .page-hero > p:not(.eyebrow),
  .section-heading > p:not(.eyebrow),
  .news-article-heading .news-excerpt,
  .faq-intro
) {
  max-width: 62ch;
  text-wrap: pretty;
}
:where(
  .page-hero h1,
  .section-heading h1,
  .section-heading h2,
  .case-page h1,
  .news-article-heading h1,
  .contact-page-title,
  .closing-band h2
) {
  text-wrap: balance;
}
.page-hero h1 + p:not(.eyebrow) {
  margin-top: 1rem;
}
.section-heading h2 + p:not(.eyebrow) {
  margin-top: 1rem;
}

/* Consistent vector arrows: no platform-specific emoji glyphs. */
.direction-arrow { width: 1.2em; height: 1.2em; vertical-align: middle; flex: 0 0 auto; }

/* Pointer clicks use a subtle border; keyboard navigation keeps a thin cream indicator. */
:is(a, button, [role="button"], input, textarea, select, [contenteditable="true"]):focus {
  outline: none !important;
  box-shadow: none !important;
}
:is(a, button, [role="button"]):focus-visible {
  outline: 1px solid var(--cream, #f7ebdd) !important;
  outline-offset: 3px !important;
}
:is(input, textarea, select, [contenteditable="true"]):focus {
  border-color: rgba(247, 235, 221, 0.65) !important;
}
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  /* Safari does not need to zoom when editable text is at least 16px. */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  textarea, select, [contenteditable="true"] {
    font-size: max(16px, 1rem) !important;
  }
}
