/* Native blocks retain the Mahogany layout while remaining individually editable. */
.wp-block-group, .wp-block-image, .wp-block-video { box-sizing: border-box; }
.wp-block-group > * { min-width: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; width: 100%; }
.wp-block-group > .wp-block-image { margin-block: 0; }
.wp-block-group.is-layout-flow > * { margin-block-start: 0; }
.wp-block-group.is-layout-flow > p { margin-bottom: var(--space-5); }
.wp-block-group.is-layout-flow > .section { margin-block-end: 0; }
.project-lead.wp-block-post-featured-image { margin: 0 0 var(--space-7); }
.project-lead img { width: 100%; }
.service-row summary { font-family: var(--font-heading); font-size: clamp(1.5rem,3.5vw,3rem); line-height: 1.2; font-weight: 500; }
.metrics-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: var(--space-7); }
.metric { display: flex; flex-direction: column; padding-left: var(--space-7); }
.metric:first-child { padding-left: 0; }
.metric + .metric { border-left: 1px solid var(--color-border); }
.metric .metric-label { font-size: var(--text-sm); }
.metric .metric-value { order: -1; margin-bottom: var(--space-2); color: var(--color-mahogany); font-family: var(--font-accent); font-size: clamp(2.5rem,6vw,5rem); line-height: 1; font-weight: 500; }
.main-navigation { margin-left: auto; }
.site-top .wp-block-navigation__container { gap: clamp(16px,2vw,32px); }
.site-top .wp-block-navigation-item:last-child > a { padding: 12px 20px; background: var(--color-mahogany); color: white; border-radius: var(--radius-sm); }
.site-top .wp-block-navigation a { min-height: 44px; display: inline-flex; align-items: center; }
.site-nav .brand { flex-shrink: 0; margin: 0; }
.site-nav .brand img, .footer-top .brand img { width: 84px; height: 76px; object-fit: contain; }
.footer-top .wp-block-navigation__container { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.footer-contact { font-style: normal; overflow-wrap: anywhere; }
.site-bottom .footer-wordmark { margin: 0; }
.site-bottom .footer-social-links { gap: 10px; }
.site-bottom .footer-social-links a { padding: 12px; min-width: 44px; min-height: 44px; }
.footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0; }
.footer-top .wp-block-navigation { align-self: start; }
.cta-photo > .wp-block-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .65; pointer-events: none; }
.cta-photo > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.cta-photo::before { z-index: 1; }
.cta-photo > .wrap { position: relative; z-index: 2; }
.cta .wrap > p:last-child { margin-bottom: 0; }
.wp-block-buttons .wp-block-button__link { font: inherit; font-weight: 600; background: var(--color-mahogany); color: white; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm); }
.wp-block-button.secondary .wp-block-button__link { background: transparent; color: var(--color-mahogany); border: 1px solid currentColor; }
.wp-block-button.light .wp-block-button__link { background: var(--color-champagne); color: var(--color-mahogany); }
.wp-block-button__link:hover { background: var(--color-mahogany-hover); }
.wp-block-button__link:focus-visible, .wp-block-navigation a:focus-visible, .wp-block-navigation button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.standalone-link { margin: 0; }
.masthead-bottom > .standalone-link { flex-shrink: 0; }
.mahogany-project-query .portfolio-grid { padding: 0; list-style: none; }
.mahogany-project-query .wp-block-post { min-width: 0; }
.mahogany-project-query .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.mahogany-project-query .wp-block-post-featured-image img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.mahogany-project-query .card { padding: 24px 0; border: 0; background: transparent; }
.mahogany-project-query .wp-block-post-title a { color: inherit; text-decoration: none; }
.mahogany-project-query .wp-block-post-excerpt__more-text { display: none; }
.mahogany-project-query .project-link { display: inline-flex; min-height: 44px; align-items: center; }
.logos > .wp-block-image { width: 100%; }
.mahogany-showreel { margin: 0; }
.mahogany-showreel video { width: 100%; max-width: 100%; max-height: 720px; display: block; }
.ds-swatch-color { min-height: 140px; }
.ds-spacing-sample { background: var(--color-mahogany); }
.is-disabled { pointer-events: none; opacity: .5; }
@media(max-width:767px){
 .metric { padding-left: var(--space-3); }
 .metric .metric-label { font-size: .6875rem; }
 .site-nav .brand img { width: 62px; height: 56px; }
 .site-top .wp-block-navigation__responsive-container.is-menu-open { padding: 32px; }
 .site-top .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch; gap: 20px; width: 100%; }
 .site-top .wp-block-navigation__responsive-container.is-menu-open a { font-size: 1.5rem; }
}

.logo-marquee-group figure.wp-block-image { flex: 0 0 168px; width: 168px; }
@media(max-width:768px){ .logo-marquee-group figure.wp-block-image { flex-basis: 136px; width: 136px; } }

/* Restore the editorial card layout for native Query Loop markup. */
.page-id-9 .section-head h2 { max-width: none; white-space: nowrap; font-size: clamp(1.5rem,4.5vw,5rem); }
.mahogany-project-query .portfolio-grid > .wp-block-post { margin-block: 0; }
.mahogany-project-query .portfolio-grid > .wp-block-post:nth-child(3n + 2) { margin-top: var(--space-8); }
.mahogany-project-query .project-image { border-radius: 2px; }
.mahogany-project-query .project-image img { aspect-ratio: 4/5; height: auto; object-fit: cover; transition: transform 400ms var(--easing-standard); }
.mahogany-project-query .project-image:hover img { transform: scale(1.035); }
.mahogany-project-query .card { padding: var(--space-5) 0 0; }
.mahogany-project-query .card .wp-block-post-title { margin: 0 0 var(--space-3); font-size: var(--text-lg); line-height: 1.2; font-weight: 500; }
.mahogany-project-query .wp-block-post-excerpt { margin: 0 0 var(--space-3); font-size: var(--text-sm); line-height: 1.65; color: var(--color-text-muted); }
.mahogany-project-query .wp-block-post-excerpt p { margin: 0; }
.mahogany-project-query .project-link { gap: 8px; font-size: var(--text-sm); }
/* Saved native Social Icons use the site palette, including their backgrounds. */
.site-bottom .footer-social-links .wp-social-link { background-color: transparent !important; color: #000 !important; transition: background-color 160ms ease, color 160ms ease; }
.site-bottom .footer-social-links .wp-social-link:is(:hover, :focus-within) { background-color: var(--color-mahogany) !important; color: #fff !important; }
.site-bottom .footer-social-links .wp-social-link a { color: inherit; }
/* Match the navigation column to the G in the Satoshi footer wordmark. */
.site-bottom .footer-top { grid-template-columns: calc(2.74 * clamp(3rem,15.8vw,15rem) - var(--space-7)) minmax(94px,1fr) max-content; }
.site-bottom .footer-top .wp-block-navigation__container { flex-wrap: nowrap; gap: clamp(8px,1.6vw,24px); }
.site-bottom .footer-top .wp-block-navigation-item { white-space: nowrap; }
.site-bottom .footer-top .wp-block-navigation-item a { display: inline-flex; align-items: center; min-height: 44px; }
.site-bottom .footer-contact { font-size: var(--text-sm); margin-bottom: 0; }
/* Masonry is a style of the native Gallery block; photographs retain their proportions. */
.project-content .wp-block-gallery.project-gallery.is-style-mahogany-masonry {
 display: block; columns: var(--mahogany-gallery-columns,3); column-gap: 24px; margin: var(--space-7) 0 0;
}
.project-content .wp-block-gallery.project-gallery.is-style-mahogany-masonry > figure.wp-block-image {
 display: inline-block; vertical-align: top; width: 100% !important; max-width: 100%; margin: 0 0 24px !important;
 break-inside: avoid; page-break-inside: avoid; overflow: hidden; border-radius: var(--radius-sm);
}
.project-content .wp-block-gallery.project-gallery.is-style-mahogany-masonry > figure.wp-block-image img {
 display: block; width: 100% !important; height: auto !important; max-height: none; aspect-ratio: var(--mahogany-image-ratio,auto) !important; contain-intrinsic-size: none; object-fit: contain;
}
.project-content .wp-block-gallery.project-gallery.is-style-mahogany-masonry figcaption { position: static; padding: 12px; background: var(--color-surface); color: var(--color-text); }
@media(max-width:1100px) {
 .site-bottom .footer-top { grid-template-columns: 84px minmax(0,1fr); }
 .site-bottom .footer-top .wp-block-navigation { justify-self: end; }
 .site-bottom .footer-contact, .site-bottom .footer-social-links { grid-column: 2; }
}
@media(max-width:1024px) {
 .mahogany-project-query .portfolio-grid > .wp-block-post:nth-child(3n + 2) { margin-top: 0; }
 .mahogany-project-query .portfolio-grid > .wp-block-post:nth-child(even) { margin-top: var(--space-7); }
 .project-content .wp-block-gallery.project-gallery.is-style-mahogany-masonry { columns: 2; }
}
@media(max-width:768px) {
 .site-bottom .footer-top { grid-template-columns: minmax(0,1fr); }
 .site-bottom .footer-top .wp-block-navigation { justify-self: start; max-width: 100%; }
 .site-bottom .footer-contact, .site-bottom .footer-social-links { grid-column: auto; }
 .site-bottom .footer-top .wp-block-navigation__container { gap: clamp(3px,1vw,6px); font-size: clamp(.625rem,3vw,.75rem); }
 .mahogany-project-query .portfolio-grid > .wp-block-post:nth-child(even) { margin-top: 0; }
 .mahogany-project-query .project-image img { aspect-ratio: 4/3; }
}
@media(max-width:640px) {
 .project-content .wp-block-gallery.project-gallery.is-style-mahogany-masonry { columns: 1; column-gap: 16px; }
 .project-content .wp-block-gallery.project-gallery.is-style-mahogany-masonry > figure.wp-block-image { margin-bottom: 16px !important; }
}
@media(prefers-reduced-motion:reduce) { .mahogany-project-query .project-image img { transition: none; } }

/* Native Social Icons alongside the project enquiry form. */
.contact-social-links { gap: 12px; margin-top: 24px !important; padding: 0; }
.contact-social-links .wp-social-link { background: var(--color-mahogany); color: var(--color-white); }
.contact-social-links .wp-social-link a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; color: inherit; }
.contact-social-links .wp-social-link:hover { background: var(--color-mahogany-hover); }
.contact-social-links a:focus-visible { outline: 3px solid var(--color-mahogany); outline-offset: 4px; }

form[data-mahogany-enquiry] .enquiry-consent { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 12px; align-items: start; font-size: var(--text-sm); font-weight: 400; line-height: 1.6; }
form[data-mahogany-enquiry] .enquiry-consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--color-mahogany); cursor: pointer; }
.enquiry-consent a { text-decoration: underline; text-underline-offset: 3px; }
form[data-mahogany-enquiry] button:disabled { background: var(--color-border); color: var(--color-text-muted); cursor: not-allowed; opacity: .7; }
form[data-mahogany-enquiry] input[type="datetime-local"] { min-width: 0; max-width: 100%; }

/* Footer navigation follows the vertical orientation selected in Gutenberg. */
.site-bottom .footer-top .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 0; }
.site-bottom .footer-top .wp-block-navigation-item { width: 100%; }

.site-bottom .footer-top .wp-block-navigation-item a { min-height: 36px; }

/* Align the footer contact group with the header action's right edge. */
@media(min-width:769px) {
 .site-bottom .footer-contact, .site-bottom .footer-social-links { justify-self: end; }
}

/* Keep contact details and Social Icons together in one editable Group. */
.site-bottom .footer-contact-group { grid-column: 3; justify-self: end; }
.site-bottom .footer-contact-group .footer-social-links { margin-top: 16px; margin-bottom: 0; }
@media(max-width:1100px) { .site-bottom .footer-contact-group { grid-column: 2; } }
@media(max-width:768px) { .site-bottom .footer-contact-group { grid-column: auto; justify-self: start; max-width: 100%; } }

.site-bottom .footer-contact-group .footer-social-links { justify-self: start; justify-content: flex-start; margin-left: 0; margin-right: 0; }

/* Footer navigation is arranged as two intentional editorial columns. */
.site-bottom .footer-top .wp-block-navigation__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(max-content, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 0;
}
.site-bottom .footer-top .wp-block-navigation-item { width: auto; }
@media (max-width: 768px) {
  .site-bottom .footer-top .wp-block-navigation__container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

/* The editable footer wordmark follows the supplied logo's orange/red/burgundy gradient. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
 .site-bottom .footer-wordmark { background-image: var(--gradient-brand); background-repeat: no-repeat; background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
@media(forced-colors:active) {
 .site-bottom .footer-wordmark { background-image: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}

.page-id-12 .intro-bottom { justify-content: flex-end; }

/* Primary brand surfaces share the logo gradient; the solid red is its fallback. */
.site-top .wp-block-navigation-item:last-child > a,
.wp-block-button:not(.secondary):not(.light) .wp-block-button__link,
form[data-mahogany-enquiry] button[type="submit"]:not(:disabled),
.contact-social-links .wp-social-link {
 background-color: var(--color-mahogany);
 background-image: var(--gradient-brand);
}
.site-top .wp-block-navigation-item:last-child > a:hover,
.wp-block-button:not(.secondary):not(.light) .wp-block-button__link:hover,
form[data-mahogany-enquiry] button[type="submit"]:not(:disabled):hover,
.contact-social-links .wp-social-link:hover {
 background-image: linear-gradient(rgb(0 0 0 / 12%),rgb(0 0 0 / 12%)),var(--gradient-brand);
}

/* About: a four-stage process, built from editable Columns and text blocks. */
.page-id-11 .about-story .story-photo img { object-position: 40% center; }
.process-section { position: relative; isolation: isolate; overflow: hidden; background: var(--color-white); }
.process-section::before { content: ''; position: absolute; z-index: -1; top: 32px; right: max(var(--page-gutter),calc((100vw - var(--container-max))/2)); width: clamp(220px,28vw,400px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 20deg,var(--color-mahogany) 0deg 105deg,transparent 105deg 145deg,var(--color-ember) 145deg 240deg,transparent 240deg 285deg,var(--color-burgundy) 285deg 360deg); -webkit-mask: radial-gradient(transparent 53%,#000 54% 65%,transparent 66%); mask: radial-gradient(transparent 53%,#000 54% 65%,transparent 66%); opacity: .055; pointer-events: none; }
.process-header { max-width: 680px; margin-bottom: 72px !important; }
.process-header h2 { margin-bottom: 24px; font-size: clamp(2.5rem,4.8vw,4.5rem); }
.process-header .process-intro { max-width: 50ch; margin-bottom: 0; font-size: var(--text-md); color: var(--color-text-muted); }
.process-steps.wp-block-columns { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 40px; margin-bottom: 0; align-items: start; }
.process-steps > .process-step { position: relative; min-width: 0; }
.process-step .process-number { margin: 0 0 20px; font-family: var(--font-accent); font-size: clamp(3.5rem,5.4vw,5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--color-mahogany); }
@supports ((background-clip:text) or (-webkit-background-clip:text)) { .process-step .process-number { background-image: var(--gradient-brand); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; } }
.process-step h3 { max-width: 14ch; margin: 0 0 16px; font-size: clamp(1.5rem,2vw,2rem); font-weight: 500; line-height: 1.12; }
.process-step > p:last-child { max-width: 28ch; margin-bottom: 0; color: var(--color-text-muted); }
.process-step:not(:last-child)::before { content: ''; position: absolute; top: 38px; left: 108px; right: -16px; height: 1px; background: linear-gradient(90deg,var(--color-ember),var(--color-mahogany)); }
.process-step:not(:last-child)::after { content: ''; position: absolute; top: 34px; right: -16px; width: 8px; height: 8px; border-top: 1px solid var(--color-mahogany); border-right: 1px solid var(--color-mahogany); transform: rotate(45deg); }
@media(max-width:1024px) {
 .process-steps.wp-block-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 40px; }
 .process-step:nth-child(2)::before, .process-step:nth-child(2)::after { display: none; }
 .process-step .process-number { font-size: 64px; }
 .process-header { margin-bottom: 48px !important; }
}
@media(max-width:640px) {
 .process-section::before { width: 200px; top: 16px; right: -64px; opacity: .035; }
 .process-steps.wp-block-columns { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .process-step:not(:last-child) { padding-bottom: 28px; border-bottom: 1px solid var(--color-border); }
 .process-step::before, .process-step::after { display: none; }
 .process-step .process-number { font-size: 56px; margin-bottom: 16px; }
 .process-step h3, .process-step > p:last-child { max-width: none; }
}
@media(forced-colors:active) { .process-step .process-number { background-image: none; color: CanvasText; -webkit-text-fill-color: CanvasText; } }

/* Gutenberg button wrappers are containers; only their links carry the button paint. */
.wp-block-buttons > .wp-block-button.button {
  display: block;
  padding: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.project-slider .slider-track { scrollbar-width: none; }
.project-slider .slider-track::-webkit-scrollbar { display: none; }
.project-slider .slider-progress { display: none; }
.project-slider .slider-controls:not([hidden]) { justify-content: flex-end; }

/* Keep the projects divider visible above the final native Buttons block. */
.home .home-project + .wp-block-buttons { padding-top: 24px; }

/* Native Details blocks keep the FAQ editable and accessible without scripts. */
.mahogany-service-answers .faq-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(40px,7vw,112px); align-items: start; }
.faq-intro h2 { font-size: clamp(2.25rem,4vw,3.75rem); line-height: 1.08; margin: 0 0 28px; }
.faq-intro > p:not(.faq-eyebrow) { max-width: 36ch; color: var(--color-text-muted); }
.faq-intro .faq-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; margin: 0 0 22px; }
.faq-intro .faq-contact { margin-top: 32px; }
.faq-contact a { color: var(--color-mahogany); font-weight: 600; text-decoration: none; }
.faq-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.faq-item { border: 0; border-bottom: 1px solid var(--color-border); margin: 0; padding: 0; }
.faq-item > summary { position: relative; display: block; list-style: none; cursor: pointer; font-size: clamp(1rem,1.25vw,1.125rem); line-height: 1.45; font-weight: 600; padding: 24px 40px 24px 0; transition: color 180ms ease; }
.faq-item:first-child > summary { padding-top: 0; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: '+'; position: absolute; right: 0; top: 24px; color: var(--color-mahogany); font-size: 24px; line-height: 1; font-weight: 400; }
.faq-item:first-child > summary::after { top: 0; }
.faq-item[open] > summary::after { content: '−'; }
.faq-item > summary:is(:hover,:focus-visible) { color: var(--color-mahogany); }
.faq-item > summary:focus-visible { outline: 2px solid var(--color-mahogany); outline-offset: 5px; }
.faq-item > p { color: var(--color-text-muted); margin: 0 32px 24px 0; font-size: var(--text-base); line-height: 1.7; max-width: none; }
@media (max-width: 768px) {
  .mahogany-service-answers .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro h2 { margin-bottom: 20px; }
  .faq-intro .faq-contact { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .faq-item > summary { transition: none; } }
.mahogany-service-answers .faq-item > p:last-child { margin-bottom: 0; padding-bottom: 24px; }

/* A neutral photo CTA balances the brand-red accents elsewhere. */
.cta.cta-photo { background: #080808; }
.cta-photo::before { background: linear-gradient(90deg, rgb(0 0 0 / 84%), rgb(0 0 0 / 62%)); }
.cta-photo > .wp-block-image img { filter: grayscale(1); }
.cta-photo .cta-link > span:first-child { color: var(--color-mahogany); }

/* Supplied SVG chevrons: shared across directional buttons and accordions. */
:root {
  --chevron-right: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.5%207L14.5%2012L9.5%2017%22%20stroke%3D%22black%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  --chevron-left: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M14.5%2017L9.5%2012L14.5%207%22%20stroke%3D%22black%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  --chevron-up: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%2014.5L12%209.5L17%2014.5%22%20stroke%3D%22black%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  --chevron-down: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17%209.5L12%2014.5L7%209.5%22%20stroke%3D%22black%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
}

.service-row summary::after, .faq-item > summary::after,
.service-row[open] summary::after, .faq-item[open] > summary::after {
  content: ''; width: 24px; height: 24px; flex-shrink: 0;
  background: currentColor; -webkit-mask: var(--chevron-down) center/contain no-repeat;
  mask: var(--chevron-down) center/contain no-repeat;
}
.service-row[open] summary::after, .faq-item[open] > summary::after {
  -webkit-mask-image: var(--chevron-up); mask-image: var(--chevron-up);
}
.wp-block-button__link, .site-top .wp-block-navigation-item:last-child > a { display: inline-flex; align-items: center; gap: 10px; }
.wp-block-button__link::after, .site-top .wp-block-navigation-item:last-child > a::after,
form[data-mahogany-enquiry]:not([aria-busy="true"]) button[type="submit"]::after {
  content: ''; display: inline-block; width: 24px; height: 24px; flex-shrink: 0;
  background: currentColor; -webkit-mask: var(--chevron-right) center/contain no-repeat;
  mask: var(--chevron-right) center/contain no-repeat;
}
.lightbox-prev, .lightbox-next { display: inline-flex; align-items: center; justify-content: center; }
.lightbox-prev svg, .lightbox-next svg { width: 32px; height: 32px; }
@media (prefers-reduced-motion: no-preference) {
 .cta-link:is(:hover,:focus-visible) .cta-arrow > span { transform: translateX(4px); }
 .home-project:is(:hover,:focus-within) .project-link span { transform: translateX(4px); }
}

.project-slider .slide-caption {
  transition: background-color 180ms ease, color 180ms ease;
}
.project-slider .slide-caption:is(:hover, :focus-visible) {
  background: var(--color-mahogany);
  color: #f5f7fa;
}
.project-slider .slide-caption:is(:hover, :focus-visible) .icon-arrow { color: inherit; }
@media (prefers-reduced-motion: reduce) {
  .project-slider .slide-caption { transition: none; }
}

.showreel-intro a { transition: color 180ms ease; }
.showreel-intro a:is(:hover, :focus-visible),
.showreel-intro a:is(:hover, :focus-visible) .icon-arrow { color: var(--color-mahogany); }
@media (prefers-reduced-motion: reduce) { .showreel-intro a { transition: none; } }
.section-showreel .showreel-intro a:is(:hover, :focus-visible) { color: var(--color-mahogany); }

/* Project pagination: quiet dots expand into a brand pill for the current slide. */
.project-slider .slider-controls:not([hidden]) { justify-content: space-between; gap: 20px; }
.slider-pagination { display: flex; align-items: center; gap: 2px; }
.slider-pagination .slider-dot {
  appearance: none; display: grid; place-items: center; width: 28px; height: 36px;
  padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 18px;
  transition: width 320ms cubic-bezier(.2,.7,.2,1);
}
.slider-dot::before {
  content: ''; display: block; width: 10px; height: 10px; border-radius: 999px;
  background: #a8a5a3; transition: width 320ms cubic-bezier(.2,.7,.2,1), background-color 180ms ease;
}
.slider-pagination .slider-dot.is-current { width: 52px; }
.slider-dot.is-current::before { width: 40px; background: var(--gradient-brand); }
.slider-dot:not(.is-current):hover::before { background: var(--color-mahogany); }
.slider-dot:focus-visible { outline: 2px solid var(--color-mahogany); outline-offset: 2px; }
@media (max-width: 640px) {
  .project-slider .slider-controls:not([hidden]) { flex-wrap: wrap; gap: 8px 16px; }
  .slider-pagination { flex: 1 0 100%; justify-content: center; }
  .project-slider .slider-buttons { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .slider-pagination .slider-dot, .slider-dot::before { transition: none; }
}
@media (min-width: 1025px) {
  .postid-15 .project-content .project-gallery.is-style-mahogany-masonry { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 24px; columns: auto; }
  .postid-15 .project-content .project-gallery.is-style-mahogany-masonry > figure.wp-block-image { margin-bottom: 0 !important; }
}
.project-intro .intro-bottom { justify-content: flex-end; }

.awards-section {
    background-color: #1b232b;
    background-image: url('grain.svg'), radial-gradient(ellipse at 80% 15%, rgb(70 87 104 / 24%), transparent 65%);
    background-size: 180px 180px, 100% 100%;
    color: #edf2f7;
    border-top: 1px solid #33404d;
    --color-text: #edf2f7;
    --color-text-muted: #c5cfd9;
}
.awards-section :focus-visible { outline-color: #edf2f7; }
.awards-section .awards-pause:is(:hover, :focus-visible) { color: #fff; }
.awards-heading { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 16px 32px; margin-bottom: 48px; }
.awards-heading h2 { margin: 0; }
.awards-heading p { grid-column: 1; color: var(--color-text-muted); margin: 0; max-width: none; }
.awards-pause { grid-column: 2; grid-row: 1 / span 2; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: var(--color-text); padding: 10px 18px; min-height: 44px; cursor: pointer; font: inherit; font-size: 14px; }
.awards-pause:is(:hover,:focus-visible) { color: var(--color-mahogany); }
.awards-pause:focus-visible { outline: 2px solid var(--color-mahogany); outline-offset: 4px; }
.awards-marquee { overflow: hidden; }
.awards-marquee-track { display: flex; width: max-content; animation: mahogany-awards-scroll 42s linear infinite; }
.awards-marquee-group { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: 0 0 auto; }
.awards-marquee figure.wp-block-image { flex: 0 0 250px; width: 250px; margin: 0; }
.awards-marquee figure.wp-block-image img { display: block; width: 100%; height: 240px; object-fit: contain; }
@keyframes mahogany-awards-scroll { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
 .awards-heading { grid-template-columns: 1fr; margin-bottom: 32px; }
 .awards-pause { grid-column: 1; grid-row: auto; justify-self: start; }
 .awards-marquee-group { gap: 32px; padding-right: 32px; }
 .awards-marquee figure.wp-block-image { flex-basis: 190px; width: 190px; }
 .awards-marquee figure.wp-block-image img { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
 .awards-marquee-track { animation: none; width: 100%; }
 .awards-marquee-group { flex-wrap: wrap; justify-content: center; width: 100%; padding-right: 0; gap: 32px; }
 .awards-marquee-duplicate, .awards-pause { display: none; }
}
