/*
Theme Name: DMC
Theme URI: http://localhost
Author: Adam
Description: Custom DMC local development theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dmc
*/

:root {
  --ink: #14151a;
  --muted: rgba(15, 19, 36, 0.68);
  --soft: #f6f6f6;
  --line: #d1d1d1;
  --navy: #21242b;
  --blue: #5fd5fb;
  --orange: #ff5c16;
  --green: #a7c757;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 24px 70px rgba(15, 19, 36, 0.14);
  --container: 1180px;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/3y9H6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiawA1Xp-1ed9594761d535c5.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600 700;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/GrgcKwrN6d3Uz8EwcLHZxwEfC4-d2835f64bac061e9.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/yDtI2UI8XcEg1W2je9XPN3Noo-a113a1cb4f38240c.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/syRNPWzAMIrcJ3wIlPIP43KjQs-452fe1601f59f9e0.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.55 "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site {
  min-height: 100vh;
  padding-top: 74px;
}

body.home .site {
  padding-top: 0;
}

body.admin-bar .site,
body.wpadminbar .site,
body:has(#wpadminbar) .site {
  padding-top: 74px;
}

body.home.admin-bar .site,
body.home.wpadminbar .site,
body.home:has(#wpadminbar) .site {
  padding-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  padding: 20px 0 18px;
  background: var(--navy);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header > .container {
  width: calc(100% - 128px);
  max-width: none;
}

body.admin-bar .site-header,
body.wpadminbar .site-header,
body:has(#wpadminbar) .site-header {
  top: 32px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 42px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 700;
}

.brand img,
.brand .custom-logo {
  width: 40px;
  height: 42px;
  object-fit: contain;
}

.nav-links,
.nav-actions,
.nav-links ul,
.nav-actions ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links {
  margin-left: 52px;
}

.nav-actions {
  margin-left: auto;
}

.nav-links a {
  color: #f2f0f0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color .3s cubic-bezier(.44, 0, .56, 1);
}

.nav-links a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links a[aria-current] {
  color: var(--orange);
  text-decoration: underline;
}

.button,
.nav-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: var(--navy);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.nav-actions a:hover {
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(15, 19, 36, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.nav-actions li:last-child a {
  background: var(--white);
  border: 1px solid #e7e7e7;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.site-main {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.front-page {
  padding: 0;
}

.front-page-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.hero {
  position: relative;
  min-height: 1200px;
  padding: 184px 0 80px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  filter: saturate(.75) brightness(1.24);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(33,36,43,.98) 0%, rgba(33,36,43,.7) 22%, rgba(196,199,203,.26) 73%, rgba(255,255,255,.18) 100%),
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.12), rgba(33,36,43,0) 42%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 31%;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 78%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(52px, 5.7vw, 78px);
  font-weight: 700;
}

.hero-copy {
  max-width: 800px;
  margin: 30px 0 34px;
  color: rgba(255,255,255,.88);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.45;
}

.hero-shot {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 48px));
  margin: 54px auto 0;
  border: 4px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 32px 90px rgba(33,36,43,.2);
  overflow: hidden;
  opacity: 1;
  transform: perspective(1200px) scale(.64346) rotateX(17.1139deg);
  transform-origin: center top;
  will-change: transform;
}

.hero-shot img {
  width: 100%;
  aspect-ratio: 1442 / 1082;
  object-fit: cover;
  object-position: top;
}

.section {
  padding: 92px 0;
  scroll-margin-top: 108px;
}

.section.alt {
  background: var(--soft);
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

h2 {
  font-size: clamp(38px, 5vw, 64px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.dark .section-heading p {
  color: rgba(255,255,255,.72);
}

.step-role-toggle {
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  margin: 28px auto 0;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.step-role-toggle__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.78);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.step-role-toggle__button:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.step-role-toggle__button.is-active,
.step-role-toggle__button[aria-selected="true"] {
  background: var(--blue);
  color: var(--navy);
}

.logo-carousel {
  width: 100%;
  padding: 72px 0 44px;
  overflow: hidden;
  background: var(--white);
}

.logo-carousel__track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.logo-carousel__rail {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(72px, 10vw, 156px);
  animation: logo-marquee 24s linear infinite;
  will-change: transform;
}

.logo-carousel__item {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(150px, 15vw, 230px);
  height: 110px;
}

.logo-carousel__item img {
  width: 100%;
  max-height: 96px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08);
}

.logo-carousel__track:hover .logo-carousel__rail {
  animation-play-state: paused;
}

@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - clamp(36px, 5vw, 78px))); }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid > .card:first-child,
.feature-card--large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 50%);
  column-gap: clamp(24px, 4vw, 48px);
  align-items: start;
  grid-column: 1 / -1;
  min-height: 420px;
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
  text-align: left;
}

.feature-grid > .card:first-child .feature-card__copy,
.feature-card--large .feature-card__copy {
  grid-column: 1;
  align-self: start;
}

.feature-grid > .card:not(:first-child),
.feature-card--small {
  min-height: 248px;
}

.card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 19, 36, 0.05);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card img {
  width: 100%;
  height: 132px;
  margin-bottom: 20px;
  border-radius: 12px;
  object-fit: cover;
}

.feature-grid > .card:first-child img,
.feature-card--large img {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: 100%;
  height: auto;
  min-height: 300px;
  margin: 0;
  aspect-ratio: 1024 / 769;
  object-fit: cover;
  opacity: .88;
  transform: translate(150px, 140px) scale(.94);
  transform-origin: center bottom;
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  will-change: transform, opacity;
}

.feature-grid > .card:first-child.is-visible img,
.feature-card--large.is-visible img {
  opacity: 1;
}

.feature-grid > .card:not(:first-child) img,
.feature-card--small img {
  width: 24px;
  height: 24px;
  margin-bottom: 22px;
  border-radius: 0;
  object-fit: contain;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 26px;
  align-items: stretch;
}

.quote-main {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 24px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.quote-main blockquote {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.quote-main strong {
  color: var(--blue);
}

.quote-person {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.quote-person img {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
}

.quote-person b {
  display: block;
}

.quote-person span {
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

.quote-stack {
  display: grid;
  gap: 16px;
}

.mini-quote {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.mini-quote p {
  margin: 0 0 14px;
  color: var(--muted);
}

.mini-quote b {
  display: block;
}

.mini-quote span {
  color: #888;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.faq-question::after {
  content: "v";
  flex: 0 0 auto;
  transition: transform .22s ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .25s ease, opacity .2s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  max-height: 520px;
  opacity: 1;
}

.steps {
  display: grid;
  gap: 28px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 90px minmax(0, .9fr) minmax(320px, 1fr);
  gap: 26px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  counter-increment: step;
}

.step[hidden] {
  display: none;
}

.step-num {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--blue);
  color: var(--navy);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.step-num::before {
  content: counter(step, decimal-leading-zero);
}

.step h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 32px;
}

.step p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.step img {
  width: 100%;
  max-height: 260px;
  border-radius: 16px;
  object-fit: cover;
  object-position: top;
}

[data-step-perspective] {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
  transform: perspective(1200px) scale(.86) rotateX(18deg) rotateY(-7deg);
  transform-origin: center center;
  will-change: transform, opacity;
}

[data-animate],
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}

[data-animate].is-visible,
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

h1, h2, h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: 0;
  line-height: 1;
}

.entry-title {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
}

.entry-content {
  max-width: 780px;
}

.entry-content p {
  margin: 0 0 18px;
  color: var(--muted);
}

.post-meta {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 64px 0 34px;
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 40px;
  align-items: start;
}

.footer-brand img,
.footer-logo img,
.footer-logo .custom-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 420px;
  margin: 0 0 18px;
  color: var(--muted);
}

.footer-links ul,
.footer-menu {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--navy);
}

.linkedin {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  color: #0a66c2;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(15, 19, 36, .08);
}

.linkedin::before { content: "in"; }

@media (max-width: 980px) {
  .container { width: min(100% - 40px, var(--container)); }
  .nav-shell { padding: 0 32px; }
  .site-header > .container { width: calc(100% - 40px); }
  .nav-links,
  .nav-actions {
    margin-left: 0;
  }
  .nav-links,
  .nav-actions {
    position: fixed;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 0;
    background: rgba(33,36,43,.96);
    box-shadow: 0 18px 42px rgba(0,0,0,.22);
  }
  .nav-links ul,
  .nav-actions ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links { top: 96px; }
  .nav-actions { top: 318px; }
  body.menu-open .nav-links,
  body.menu-open .nav-actions,
  .nav-links.is-open,
  .nav-actions.is-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .hero { min-height: 980px; padding-top: 140px; }
  .hero-shot {
    width: min(860px, calc(100% - 40px));
    margin-top: 48px;
  }
  .feature-grid,
  .testimonial-wrap { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 72px 1fr; }
  .step img { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { padding: 16px 0; }
  .site-header > .container { width: min(100% - 28px, var(--container)); }
  .nav-shell { padding: 0 20px; }
  .site-main {
    width: min(100% - 28px, var(--container));
    padding: 48px 0 64px;
  }
  .hero { min-height: 820px; padding-top: 122px; }
  .hero-copy { font-size: 17px; }
  .hero-shot {
    width: calc(100% - 24px);
    margin-top: 72px;
    transform: perspective(1200px) scale(.64346) rotateX(17.1139deg);
  }
  .section {
    padding: 66px 0;
    scroll-margin-top: 128px;
  }
  .logo-carousel {
    padding: 54px 0 32px;
  }
  .logo-carousel__rail {
    gap: 58px;
    animation-duration: 18s;
  }
  .logo-carousel__item {
    width: 132px;
    height: 86px;
  }
  .feature-grid,
  .testimonial-wrap { grid-template-columns: 1fr; }
  .feature-grid > .card:first-child,
  .feature-card--large {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .feature-grid > .card:first-child img,
  .feature-card--large img {
    grid-column: 1;
    grid-row: auto;
    width: min(100%, 420px);
    min-height: 220px;
    margin-bottom: 20px;
    transform: translateX(120px) scale(.94);
  }
  .feature-grid > .card:first-child .feature-card__copy,
  .feature-card--large .feature-card__copy {
    grid-column: 1;
  }
  .step { grid-template-columns: 1fr; }
  .step-num {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar .site,
  body.wpadminbar .site,
  body:has(#wpadminbar) .site {
    padding-top: 74px;
  }

  body.home.admin-bar .site,
  body.home.wpadminbar .site,
  body.home:has(#wpadminbar) .site {
    padding-top: 0;
  }

  body.admin-bar .site-header,
  body.wpadminbar .site-header,
  body:has(#wpadminbar) .site-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .logo-carousel__rail {
    transform: none !important;
  }
}

  .dmc-terms-wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 24px;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2933;
    line-height: 1.65;
    background: #ffffff;
  }

  .dmc-terms-wrapper * {
    box-sizing: border-box;
  }

  .dmc-terms-title {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 32px;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .dmc-terms-section {
    margin-bottom: 34px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;
  }

  .dmc-terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .dmc-terms-wrapper h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #0f172a;
    font-weight: 700;
  }

  .dmc-terms-wrapper h3 {
    font-size: 20px;
    line-height: 1.35;
    margin: 24px 0 12px;
    color: #111827;
    font-weight: 700;
  }

  .dmc-terms-wrapper p {
    margin: 0 0 16px;
    font-size: 16px;
  }

  .dmc-terms-wrapper ul {
    margin: 0 0 18px 22px;
    padding: 0;
  }

  .dmc-terms-wrapper li {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .dmc-terms-wrapper strong {
    color: #111827;
    font-weight: 700;
  }

  .dmc-terms-contact {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    margin-top: 18px;
  }

  .dmc-terms-contact p {
    margin-bottom: 8px;
  }

  .dmc-terms-contact p:last-child {
    margin-bottom: 0;
  }

  @media (max-width: 768px) {
    .dmc-terms-wrapper {
      padding: 36px 18px;
    }

    .dmc-terms-title {
      font-size: 34px;
    }

    .dmc-terms-wrapper h2 {
      font-size: 23px;
    }

    .dmc-terms-wrapper h3 {
      font-size: 18px;
    }
  }
