@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&display=swap');

/* ARTY Design colour preview: keeps the original yellow brand accent while
   allowing the complete site to be compared in black, soft grey and white. */

:root {
  --arty-display-font: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
}

/* Compact navigation logo: black AD/ARTY plus thin ARTY-yellow DESIGN. */
.nav-logo {
  position: relative !important;
}

.nav-logo > img.arty-nav-logo {
  height: 36px !important;
  width: auto !important;
  clip-path: inset(0 36% 0 0) !important;
}

.nav-logo > img.arty-nav-logo-overlay {
  position: absolute;
  left: 0;
  top: 50%;
  display: block !important;
  width: auto;
  height: 36px;
  transform: translateY(-50%);
  clip-path: inset(-12% -3% -12% 61.5%);
  filter: none !important;
  pointer-events: none;
}

@media (max-width: 768px) {
  .nav-logo > img.arty-nav-logo,
  .nav-logo > img.arty-nav-logo-overlay {
    height: 31px !important;
  }
}

/* A cleaner geometric display style, chosen to sit more naturally beside the
   ARTY wordmark than the original extra-condensed headline face. */
h1,
h2,
h3,
.section-title,
.service-title-link,
.cap-name,
.make-name,
.mat-name,
.nest-title,
.project-group h3,
.example-card strong,
.arty-service-modal-title {
  font-family: var(--arty-display-font) !important;
  font-weight: 800 !important;
  letter-spacing: 0.015em !important;
  line-height: 1.04 !important;
}

.block h2,
.cta h2 {
  font-family: var(--arty-display-font) !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.02 !important;
}

[style*="font-family: 'Anton'"][style*="font-size: clamp"],
[style*="font-family:'Anton'"][style*="font-size:clamp"] {
  font-family: var(--arty-display-font) !important;
  font-weight: 800 !important;
}

.arty-theme-picker {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 19000;
  width: min(330px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(255, 196, 0, 0.7);
  background: rgba(12, 12, 12, 0.96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  color: #f5f5f0;
  font-family: 'Barlow', Arial, sans-serif;
}

.arty-theme-picker__label {
  display: block;
  margin: 0 0 8px;
  color: #FFC400;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arty-theme-picker__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.arty-theme-picker button {
  min-height: 38px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.arty-theme-picker button[aria-pressed="true"] {
  border-color: #FFC400;
  background: #FFC400;
  color: #050505;
}

.arty-theme-picker button:focus-visible {
  outline: 2px solid #FFC400;
  outline-offset: 2px;
}

/* Compact two-mode switch, positioned directly left of Contact Us. */
.arty-theme-toggle-item {
  display: flex !important;
  align-items: center !important;
}
.arty-theme-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 60px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  font-family: 'Barlow', Arial, sans-serif;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.arty-theme-toggle__word {
  color: rgba(255,255,255,.76);
  text-shadow: 0 1px 2px rgba(0,0,0,.8);
  transition: color .18s ease;
}
html[data-arty-theme="grey"] .arty-theme-toggle__word {
  color: rgba(0,0,0,.7);
  text-shadow: none;
}
html[data-arty-theme="black"] .arty-theme-toggle__word {
  color: rgba(255,255,255,.76);
}
.arty-theme-toggle__track {
  position: relative;
  width: 34px;
  height: 18px;
  border: 1px solid rgba(255,196,0,.75);
  border-radius: 999px;
  background: #deded9;
}
.arty-theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #050505;
  transition: transform .18s ease, background .18s ease;
}
.arty-theme-toggle.is-dark .arty-theme-toggle__track { background: #050505; }
.arty-theme-toggle.is-dark .arty-theme-toggle__thumb { transform: translateX(16px); background: #FFC400; }
.arty-theme-toggle:hover,
.arty-theme-toggle:focus-visible { color: #FFC400; background: transparent; outline: none; }
.arty-theme-toggle:focus-visible .arty-theme-toggle__track { outline: 2px solid #FFC400; outline-offset: 3px; }

@media (min-width: 769px) {
  body > nav > ul.nav-links > li.arty-theme-toggle-item {
    position: absolute !important;
    top: 0 !important;
    right: calc(3rem + 182px) !important;
    height: 60px !important;
    z-index: 10001 !important;
  }
}

/* V32: stronger contrast for the highlighted contact-page microcopy. */
.arty-contact-eyebrow {
  display: inline-block;
  width: fit-content;
}

.drop-browse {
  display: inline-block;
  padding: 0.12rem 0.32rem;
  background: #FFC400 !important;
  color: #050505 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-eyebrow {
  padding: 0.3rem 0.55rem;
  background: #050505 !important;
  color: #FFC400 !important;
}

@media (max-width: 768px) {
  .arty-theme-toggle { width: 100%; min-height: 52px; height: 52px; justify-content: flex-start; padding-inline: 1.25rem; }
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) {
  --muted: rgba(0, 0, 0, 0.64);
  --line: rgba(0, 0, 0, 0.15);
  --border-light: rgba(0, 0, 0, 0.15);
}

html[data-arty-theme="grey"] {
  --arty-page: #e3e3df;
  --arty-panel: #ededE9;
  --arty-card: #f7f7f4;
  --arty-soft: rgba(0, 0, 0, 0.035);
}

html[data-arty-theme="white"] {
  --arty-page: #ffffff;
  --arty-panel: #f3f3f0;
  --arty-card: #ffffff;
  --arty-soft: rgba(0, 0, 0, 0.025);
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]),
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) body {
  background: var(--arty-page) !important;
  color: #171717;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) body > nav,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .service-tabs,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nav-mobile {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #171717;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

html[data-arty-theme="grey"] body > nav,
html[data-arty-theme="grey"] .service-tabs,
html[data-arty-theme="grey"] .nav-mobile {
  background: rgba(237, 237, 233, 0.97) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nav-logo img,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) img.arty-nav-logo {
  filter: brightness(0);
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nav-links a,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nav-mobile a,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .service-tab {
  color: rgba(0, 0, 0, 0.7) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) h1,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) h2,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) h3,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) h4,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .service-title-link,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .cap-name {
  color: #171717;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .hero,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .services,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .section,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .page-hero,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nest-tool-section,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) main,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) footer {
  background-color: var(--arty-page) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-section-tab-list,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-original-gallery-copy,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .faq-item,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .example-card,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .make-item,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nest-tool-card {
  background: var(--arty-panel) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-uniform-card,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .uv-gallery figure,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .recent-gallery figure,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .project-shot {
  background: var(--arty-card) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-uniform-card img,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .uv-gallery figure img,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .recent-gallery figure img,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .project-shot img {
  background: #eeeeea !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-section-tab,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-uniform-card figcaption,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) figcaption,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) p,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) li,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .section-sub,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .cap-desc,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .example {
  color: rgba(0, 0, 0, 0.66);
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .hero-title,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .section-title,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .make-name,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nest-title,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .mat-name,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .hero-desc strong {
  color: #171717 !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .hero-desc,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .make-desc,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nest-desc,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nest-secondary,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nest-feature,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .btn-outline,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .drop-icon,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .drop-text,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .drop-types,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) label {
  color: rgba(0, 0, 0, 0.62) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .hero-title .outline {
  -webkit-text-stroke-color: rgba(0, 0, 0, 0.28);
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nest-tool-preview,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nest-mini-screen {
  background: var(--arty-card) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) [style*="background: #090909"],
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) [style*="background:#090909"] {
  background: var(--arty-page) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) [style*="color: rgba(255,255,255"],
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) [style*="color:rgba(255,255,255"] {
  color: rgba(0, 0, 0, 0.64) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) [style*="background: rgba(255,255,255"],
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) [style*="background:rgba(255,255,255"] {
  background: rgba(0, 0, 0, 0.055) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .service,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .cap-row,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) footer,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) section {
  border-color: rgba(0, 0, 0, 0.14);
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) input,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) textarea,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) select {
  border-color: rgba(0, 0, 0, 0.22) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: #171717 !important;
}

/* Native select menus must remain readable when a light theme is active. */
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) select option {
  background: #ffffff !important;
  color: #111111 !important;
}

.arty-upload-help {
  color: rgba(255, 255, 255, 0.62) !important;
}

.arty-upload-help .arty-upload-email {
  color: #FFC400 !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-upload-help {
  color: rgba(0, 0, 0, 0.72) !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-upload-help .arty-upload-email {
  color: #6b5100 !important;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) input::placeholder,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) textarea::placeholder {
  color: rgba(0, 0, 0, 0.48) !important;
}

/* Keep yellow calls-to-action strong and readable in every colour version. */
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .cta,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .ticker,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nav-cta,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .top-quote-cta,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .mobile-quote-bar {
  color: #050505;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .cta a,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) a.cta,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .nav-cta a,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .top-quote-link {
  background: #050505 !important;
  color: #FFC400 !important;
}

/* The photo detail overlay intentionally remains dark so images stay the focus. */
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-service-modal,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-service-modal-dialog,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-service-modal-image-wrap {
  color: #f5f5f0;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-service-modal-dialog { background: #111 !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-service-modal-image-wrap { background: #050505 !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-service-modal-title { color: #f5f5f0 !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-service-modal-description,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-service-modal-context { color: rgba(255, 255, 255, 0.72); }

/* Balanced hierarchy for every photograph's title and description. */
.arty-service-modal-title {
  font-size: clamp(1.4rem, 2vw, 2rem) !important;
  line-height: 1.14 !important;
  letter-spacing: 0.01em !important;
}

/* Primary contact details need strong contrast on the light website themes. */
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-primary,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) a.arty-contact-primary {
  color: #050505 !important;
}

/* Keep the top-right Contact Us button identical on every page and in every state. */
body > nav > ul.nav-links > li.nav-cta:last-child {
  display: flex !important;
  align-items: stretch !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body > nav > ul.nav-links > li.nav-cta:last-child > a,
body > nav > ul.nav-links > li.nav-cta:last-child > a:link,
body > nav > ul.nav-links > li.nav-cta:last-child > a:visited,
body > nav > ul.nav-links > li.nav-cta:last-child > a:hover,
body > nav > ul.nav-links > li.nav-cta:last-child > a:focus,
body > nav > ul.nav-links > li.nav-cta:last-child > a:active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 170px !important;
  height: 60px !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 0 1.45rem !important;
  border: 0 !important;
  border-left: 1px solid #FFC400 !important;
  border-radius: 0 !important;
  background: #FFC400 !important;
  box-shadow: none !important;
  color: #050505 !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

@media (max-width: 620px) {
  .arty-theme-picker {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}

/* Keep every service name contained within its category tab. */
.service-tabs .service-tab {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 56px !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  overflow: hidden !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-align: center !important;
  line-height: 1.16 !important;
}

@media (min-width: 901px) {
  .service-tabs .service-tab-row {
    align-items: stretch !important;
  }

  .service-tabs .service-tab {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0.68rem 0.35rem !important;
    font-size: clamp(0.62rem, 0.68vw, 0.75rem) !important;
    letter-spacing: 0.045em !important;
  }
}

@media (max-width: 900px) {
  .service-tabs .service-tab {
    flex: 0 0 172px !important;
    padding: 0.68rem 0.55rem !important;
  }
}

/* Final desktop navigation dimensions: identical on Home, Services and Contact. */
@media (min-width: 769px) {
  body > nav > ul.nav-links > li.nav-cta:last-child,
  body > nav > ul.nav-links > li.top-quote-cta:last-child {
    position: absolute !important;
    top: 0 !important;
    right: 3rem !important;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 0 0 170px !important;
    box-sizing: border-box !important;
  }

  body > nav > ul.nav-links > li.nav-cta:last-child > a,
  body > nav > ul.nav-links > li.nav-cta:last-child > a:link,
  body > nav > ul.nav-links > li.nav-cta:last-child > a:visited,
  body > nav > ul.nav-links > li.nav-cta:last-child > a:hover,
  body > nav > ul.nav-links > li.nav-cta:last-child > a:focus,
  body > nav > ul.nav-links > li.nav-cta:last-child > a:active {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #FFC400 !important;
    color: #050505 !important;
    font-family: 'Barlow', Arial, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    line-height: 1 !important;
    text-transform: none !important;
  }
}

/* V16: light, uncluttered information panel for every service photograph. */
.arty-service-modal {
  background: rgba(245, 245, 242, 0.88) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.arty-service-modal-dialog {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(5, 5, 5, 0.2) !important;
  box-shadow: 0 24px 70px rgba(5, 5, 5, 0.18) !important;
}

.arty-service-modal-image-wrap {
  background: rgba(255, 255, 255, 0.72) !important;
}

.arty-service-modal-copy {
  background: rgba(255, 255, 255, 0.88) !important;
}

.arty-service-modal-close {
  border-color: rgba(5, 5, 5, 0.28) !important;
  background: rgba(255, 255, 255, 0.58) !important;
  color: #050505 !important;
}

.arty-service-modal-close:hover,
.arty-service-modal-close:focus-visible {
  border-color: #FFC400 !important;
  background: #FFC400 !important;
  color: #050505 !important;
}

.arty-service-modal-label {
  color: #050505 !important;
}

.arty-service-modal-title {
  color: #FFC400 !important;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.arty-service-modal-description {
  color: rgba(5, 5, 5, 0.78) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.arty-service-modal-context {
  color: rgba(5, 5, 5, 0.68) !important;
}

/* V18: ensure theme-specific rules cannot turn project titles white. */
html .arty-service-modal .arty-service-modal-title,
html:is([data-arty-theme="grey"], [data-arty-theme="white"], [data-arty-theme="black"]) .arty-service-modal .arty-service-modal-title {
  color: #FFC400 !important;
}

/* Give every project-gallery card a restrained pop-out interaction. */
.arty-uniform-card {
  position: relative;
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.arty-uniform-card:hover,
.arty-uniform-card:focus-within {
  z-index: 2;
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(255, 196, 0, 0.72) !important;
  box-shadow: 0 18px 34px rgba(5, 5, 5, 0.2) !important;
}

/* V22: solid black material/process labels with yellow lettering. */
html body .tags > span {
  font-weight: 800 !important;
  background: #050505 !important;
  color: #FFC400 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.2rem 0.55rem !important;
  letter-spacing: 0.1em !important;
  line-height: 1.4 !important;
}

/* V20: consistent, medium-size headings throughout every service section. */
main.wrap .block > h2,
main.wrap .visual-feature > h2 {
  max-width: 100% !important;
  min-width: 0 !important;
  font-family: var(--arty-display-font) !important;
  font-weight: 800 !important;
  font-size: 1.625rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
}

main.wrap .block.arty-application-section {
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  column-gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  main.wrap .block.arty-application-section {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arty-uniform-card {
    transition: none;
  }

  .arty-uniform-card:hover,
  .arty-uniform-card:focus-within {
    transform: none;
  }
}

/* V29: stable capability-row lift. Never change row spacing on hover. */
#capabilities .cap-row {
  position: relative;
  z-index: 1;
  transform: translateY(0) scale(1) !important;
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease !important;
}

@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  #capabilities .cap-row:hover {
    z-index: 3;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: translateY(-6px) scale(1.012) !important;
    background: #FFC400 !important;
    border-color: transparent !important;
    box-shadow: 0 16px 30px rgba(5, 5, 5, 0.2) !important;
  }

  #capabilities .cap-row:hover .cap-num {
    color: rgba(5,5,5,.42) !important;
  }

  #capabilities .cap-row:hover .cap-name {
    color: #050505 !important;
  }

  #capabilities .cap-row:hover .cap-desc {
    color: rgba(5,5,5,.72) !important;
  }
}

@media (max-width: 768px), (hover: none) {
  #capabilities .cap-row,
  #capabilities .cap-row:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* V31: compact desktop navigation targets without vertical divider lines. */
@media (min-width: 769px) {
  body > nav > ul.nav-links > li:not(.nav-cta):not(.top-quote-cta):not(.arty-theme-toggle-item) {
    align-items: center !important;
  }

  body > nav > ul.nav-links > li:not(.nav-cta):not(.top-quote-cta):not(.arty-theme-toggle-item) > a {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: auto 0.55rem !important;
    padding: 0.45rem 0.6rem !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
}

/* V33: one shared Send Your Brief section on every main website page. */
.arty-contact-section,
.arty-contact-section * {
  box-sizing: border-box;
}

.arty-contact-section {
  display: block !important;
  width: 100%;
  padding: 3.5rem 3rem 3rem;
  border-top: 4px solid #FFC400 !important;
  background: #050505 !important;
  color: #f5f5f0;
}

.arty-contact-header {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.arty-contact-kicker {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .3rem .8rem;
  background: #FFC400;
  color: #050505;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.arty-contact-title {
  margin: 0;
  color: #f5f5f0 !important;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
}

.arty-contact-sub {
  max-width: 420px;
  margin: 0;
  padding-bottom: .5rem;
  color: rgba(255,255,255,.55) !important;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.65;
}

.arty-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.arty-contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.arty-contact-card,
.arty-quote-info-card {
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.1);
}

.arty-quote-info-card {
  border-color: rgba(255,196,0,.28);
  background: rgba(255,196,0,.06);
}

.arty-contact-section .arty-contact-eyebrow {
  display: block;
  width: fit-content;
  margin-bottom: .65rem;
  color: #FFC400 !important;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.arty-quote-info-card .arty-contact-eyebrow {
  margin-bottom: .75rem;
}

.arty-contact-section .arty-contact-primary {
  display: block;
  width: fit-content;
  color: #f5f5f0 !important;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.1rem;
  letter-spacing: .02em;
  line-height: 1.25;
  text-decoration: none;
}

.arty-contact-muted,
.arty-quote-info-card p {
  color: rgba(255,255,255,.55) !important;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: .83rem;
  font-weight: 300;
  line-height: 1.7;
}

.arty-contact-muted { margin-top: .3rem; }
.arty-quote-info-card p { margin: 0 0 .75rem; }
.arty-quote-info-card p:last-of-type { margin-bottom: 0; }

.arty-file-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}

.arty-file-tags span {
  padding: .25rem .55rem;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.62);
  font-family: 'Barlow', Arial, sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.arty-contact-form-column,
#quote-form {
  min-width: 0;
}

.arty-form-success {
  display: none;
  margin-bottom: 1.5rem;
  padding: 2rem;
  border: 2px solid #FFC400;
  background: rgba(255,196,0,.1);
}

.arty-form-success strong {
  color: #FFC400;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.3rem;
  letter-spacing: .02em;
}

.arty-form-success p {
  margin: .5rem 0 0;
  color: rgba(255,255,255,.68) !important;
  font-size: .88rem;
  line-height: 1.6;
}

.arty-form-success a { color: #FFC400; font-weight: 700; }

.arty-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.arty-form-field { margin-bottom: 1rem; }
.arty-upload-field { margin-bottom: 1.5rem; }

#quote-form label {
  display: block;
  margin-bottom: .4rem;
  color: rgba(255,255,255,.58) !important;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

#quote-form input,
#quote-form select,
#quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 0;
  outline: none;
  background: rgba(255,255,255,.05) !important;
  color: #f5f5f0 !important;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: .88rem;
}

#quote-form input,
#quote-form select { min-height: 48px; padding: .85rem 1rem; }
#quote-form textarea { min-height: 135px; padding: .85rem 1rem; line-height: 1.45; resize: vertical; }
#quote-form input::placeholder,
#quote-form textarea::placeholder { color: rgba(255,255,255,.45); opacity: 1; }

.arty-select-wrap { position: relative; }
.arty-select-wrap select { padding-right: 2.5rem !important; appearance: none; cursor: pointer; }
.arty-select-wrap > span {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: #FFC400;
  pointer-events: none;
}

#quote-form select option { background: #1a1a1a; color: #f5f5f0; }

.arty-contact-section .drop-zone {
  border: 2px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.arty-contact-section .drop-zone:hover,
.arty-contact-section .drop-zone:focus-visible,
.arty-contact-section .drop-zone.dragover {
  border-color: #FFC400;
  background: rgba(255,196,0,.06);
  outline: none;
}

.arty-contact-section .drop-zone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.arty-contact-section .drop-icon { margin-bottom: .25rem; color: rgba(255,255,255,.35); font-size: 1.8rem; line-height: 1; }
.arty-contact-section .drop-text { color: rgba(255,255,255,.58); font-size: .85rem; font-weight: 300; }
.arty-contact-section .drop-types { margin-top: .2rem; color: rgba(255,255,255,.38); font-size: .65rem; font-weight: 600; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }

.arty-contact-section .drop-file-list {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 0 1rem;
}

.arty-contact-section .drop-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .75rem;
  border-left: 2px solid #FFC400;
  background: rgba(255,196,0,.08);
  color: rgba(255,255,255,.72);
  font-size: .78rem;
}

.arty-contact-section .drop-file-item:last-child { margin-bottom: 1rem; }
.arty-contact-section .drop-file-remove { padding: .2rem .35rem; border: 0; background: transparent; color: rgba(255,255,255,.62); cursor: pointer; }
.arty-contact-section .drop-file-remove:hover { color: #ff5252; }

.arty-contact-section .arty-upload-help {
  margin: .5rem 0 0;
  color: rgba(255,255,255,.62) !important;
  font-size: .72rem;
  font-weight: 300;
  line-height: 1.5;
}

.arty-contact-section .arty-upload-email { color: #FFC400 !important; font-weight: 700; }

#form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 1.1rem 2.5rem;
  border: 0;
  background: #FFC400;
  color: #050505;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1rem;
  letter-spacing: .05em;
  cursor: pointer;
}

#form-submit:hover { background: #f5f5f0; }
#form-submit:disabled { cursor: wait; opacity: .7; }

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section {
  background: var(--arty-page) !important;
  color: #171717;
}

html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-header { border-bottom-color: rgba(0,0,0,.18); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-title { color: #171717 !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-sub { color: rgba(0,0,0,.66) !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-card { border-color: rgba(0,0,0,.16); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-quote-info-card { border-color: rgba(175,132,0,.38); background: rgba(255,196,0,.07); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .arty-contact-eyebrow { padding: .3rem .55rem; background: #050505 !important; color: #FFC400 !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .arty-contact-primary { color: #050505 !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-muted,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-quote-info-card p { color: rgba(0,0,0,.66) !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-file-tags span { background: rgba(0,0,0,.07); color: rgba(0,0,0,.7); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) #quote-form label { color: rgba(0,0,0,.72) !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) #quote-form input,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) #quote-form select,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) #quote-form textarea { border-color: rgba(0,0,0,.24) !important; background: rgba(255,255,255,.7) !important; color: #171717 !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) #quote-form input::placeholder,
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) #quote-form textarea::placeholder { color: rgba(0,0,0,.52); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) #quote-form select option { background: #fff; color: #171717; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .drop-zone { border-color: rgba(0,0,0,.18); background: rgba(255,255,255,.28); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .drop-icon { color: rgba(0,0,0,.58); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .drop-text { color: rgba(0,0,0,.65); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .drop-types { color: rgba(0,0,0,.6); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .drop-file-item { color: rgba(0,0,0,.74); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .drop-file-remove { color: rgba(0,0,0,.68); }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .arty-upload-help { color: rgba(0,0,0,.72) !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-contact-section .arty-upload-email { color: #5c4600 !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-form-success p { color: rgba(0,0,0,.72) !important; }
html:is([data-arty-theme="grey"], [data-arty-theme="white"]) .arty-form-success a { color: #5c4600; }

/* V34: keep each contact value on its own line beneath its label. */
.arty-contact-section .arty-contact-eyebrow + .arty-contact-primary {
  clear: both;
}

@media (max-width: 768px) {
  .arty-contact-section { padding: 2.8rem 1.05rem 3rem; }
  .arty-contact-header { display: flex; flex-direction: column; align-items: flex-start; gap: .95rem; margin-bottom: 1.45rem; padding-bottom: 1.2rem; }
  .arty-contact-title { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .arty-contact-sub { max-width: 100%; padding-bottom: 0; font-size: .91rem; line-height: 1.58; }
  .arty-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
  .arty-contact-card,
  .arty-quote-info-card { padding: 1.15rem; }
  .arty-form-grid { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  #quote-form input,
  #quote-form select,
  #quote-form textarea { font-size: 16px; }
  #quote-form textarea { min-height: 145px; }
  .arty-contact-section .drop-zone-inner { padding: 1.15rem .9rem; }
  #form-submit { min-height: 52px; padding: 1rem; }
}
