/*
Theme Name: Accelimark
Theme URI: https://accelimark.com/
Author: Accelimark
Description: Custom block theme for Accelimark Marketing Consultancy.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: accelimark
*/

:root {
  --acc-cobalt: #2357ff;
  --acc-navy: #0d2257;
  --acc-ink: #15191d;
  --acc-muted: #5d6570;
  --acc-neutral: #f2f3f1;
  --acc-line: #dce0e4;
  --acc-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--acc-white);
  color: var(--acc-ink);
  font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 98px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--acc-cobalt);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-light { color: #aebeff; }
.accelimark-page h1,
.accelimark-page h2,
.accelimark-page h3,
.accelimark-page p { margin-top: 0; }
.accelimark-page h1,
.accelimark-page h2,
.accelimark-page h3 { letter-spacing: -.035em; line-height: 1.05; }
.accelimark-page h1 { font-size: clamp(54px, 7vw, 94px); font-weight: 600; }
.accelimark-page h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 600; margin-bottom: 28px; }
.accelimark-page h3 { font-weight: 600; }
.large-copy { font-size: 21px; line-height: 1.6; }
.acc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.acc-button:hover { transform: translateY(-2px); }
.acc-button-primary { background: var(--acc-cobalt); color: var(--acc-white); }
.acc-button-primary:hover { background: var(--acc-navy); color: var(--acc-white); }
.acc-button-white { background: var(--acc-white); color: var(--acc-navy); }
.acc-text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--acc-navy);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #aeb8cb;
  padding-bottom: 4px;
}
.acc-text-link span { color: var(--acc-cobalt); }

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #edf0f2;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.acc-logo { display: inline-flex; align-items: flex-end; gap: 11px; color: var(--acc-navy); font-size: 24px; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.acc-logo svg { width: 29px; height: 28px; color: var(--acc-cobalt); flex: none; }
.acc-logo svg rect { fill: var(--acc-navy); }
.acc-logo-inverse { color: var(--acc-white); }
.acc-logo-inverse svg { color: var(--acc-white); }
.acc-logo-inverse svg rect { fill: var(--acc-white); }
.nav-main { color: #3f4650; font-size: 13px; font-weight: 600; }
.nav-main .wp-block-navigation__container { gap: 29px; }
.nav-main a:hover { color: var(--acc-cobalt); }
.nav-main .nav-cta a { border: 1px solid var(--acc-navy); border-radius: 3px; padding: 10px 16px; color: var(--acc-navy); }
.nav-main .nav-cta a:hover { background: var(--acc-navy); color: var(--acc-white); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 78px; padding-block: 62px 80px; }
.hero-copy { padding-top: 15px; }
.hero h1 { max-width: 760px; margin-bottom: 28px; }
.hero h1 span { color: var(--acc-cobalt); }
.hero-deck { max-width: 680px; color: #4f5864; font-size: clamp(19px, 2vw, 23px); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 39px; }
.hero-portrait { position: relative; min-height: 570px; overflow: hidden; background: #e8e9e8; }
.hero-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; filter: grayscale(1) contrast(.98); }
.portrait-rule { position: absolute; z-index: 2; top: 0; left: 0; width: 8px; height: 31%; background: var(--acc-cobalt); }
.portrait-caption { position: absolute; z-index: 3; left: 0; bottom: 0; background: var(--acc-navy); color: var(--acc-white); padding: 17px 22px 18px; min-width: 205px; }
.portrait-caption strong, .portrait-caption span { display: block; }
.portrait-caption strong { font-size: 14px; }
.portrait-caption span { margin-top: 2px; color: #c8d1e7; font-size: 11px; }

.story-section { background: var(--acc-navy); color: var(--acc-white); padding-block: 88px; }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: start; }
.story-section h2 { margin: 0; }
.story-copy { border-left: 1px solid #385083; padding-left: 45px; color: #cfd6e3; }
.story-copy p:last-child { margin-bottom: 0; }
.split-heading { border-bottom: 1px solid var(--acc-line); padding-bottom: 38px; }
.problem-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; margin-top: 50px; }
.problem-intro { color: var(--acc-ink); }
.problem-intro .large-copy { color: var(--acc-ink); margin-bottom: 24px; }
.symptom { display: grid; grid-template-columns: 55px 1fr; gap: 17px; padding: 18px 0; border-bottom: 1px solid var(--acc-line); align-items: baseline; }
.symptom:first-child { border-top: 1px solid var(--acc-line); }
.symptom span { color: var(--acc-cobalt); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.symptom p { margin: 0; color: var(--acc-navy); font-size: 19px; font-weight: 600; }

.capabilities { background: var(--acc-neutral); }
.section-heading { max-width: 790px; }
.heading-deck { color: #58616b; max-width: 680px; font-size: 18px; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 48px; background: #d8dcdf; border: 1px solid #d8dcdf; }
.capability-card { min-height: 235px; padding: 38px 42px; background: var(--acc-white); }
.capability-card h3 { margin: 0 0 16px; color: var(--acc-navy); font-size: 25px; }
.capability-card p { color: #5b636d; max-width: 480px; margin-bottom: 0; }

.method-section { background: var(--acc-cobalt); color: var(--acc-white); padding-block: 96px 102px; }
.method-heading { max-width: none; display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: end; }
.method-heading h2 { margin-bottom: 0; }
.method-heading > p { color: #dbe3ff; font-size: 18px; margin-bottom: 6px; max-width: 510px; }
.method-flow { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); margin: 62px 0 0; padding: 0; position: relative; }
.method-flow::before { content: ""; position: absolute; top: 23px; left: 8.333%; right: 8.333%; height: 1px; background: rgba(255,255,255,.48); }
.method-step { position: relative; min-width: 0; text-align: center; }
.method-node { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 47px; height: 47px; margin: 0 auto 29px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: var(--acc-cobalt); color: var(--acc-white); }
.method-node span { font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.method-content { min-height: 274px; padding: 27px 21px 25px; border-left: 1px solid rgba(255,255,255,.28); text-align: left; }
.method-step:last-child .method-content { border-right: 1px solid rgba(255,255,255,.28); }
.method-step h3 { margin: 0 0 10px; font-size: 27px; }
.method-step strong { display: block; min-height: 40px; margin-bottom: 14px; color: var(--acc-white); font-size: 13px; line-height: 1.45; }
.method-step p { color: #dbe3ff; margin-bottom: 0; font-size: 13px; line-height: 1.62; }

.about-section { display: grid; grid-template-columns: 1fr .9fr; gap: 95px; align-items: center; }
.about-image-wrap { position: relative; min-height: 555px; background: #ececec; overflow: hidden; }
.about-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% 50%; }
.about-image-wrap::after { content: ""; position: absolute; right: 0; bottom: 0; width: 76px; height: 76px; background: var(--acc-cobalt); mix-blend-mode: multiply; }
.about-copy { max-width: 515px; }
.about-copy h2 { font-size: clamp(38px, 4vw, 55px); }
.about-copy > p:not(.eyebrow) { color: #535d67; font-size: 18px; line-height: 1.65; }
.about-copy .acc-text-link { margin-top: 12px; }

.cta-section { background: var(--acc-navy); color: var(--acc-white); padding-block: 70px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-inner h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 0; }

.site-footer { background: #09183e; color: var(--acc-white); padding-block: 52px 38px; border-top: 1px solid #25365f; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 55px; align-items: center; }
.footer-inner > p { margin: 0; color: #b7c0d2; font-size: 14px; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid #263761; margin-top: 17px; padding-top: 25px; color: #8490aa; font-size: 11px; }

.contact-main { min-height: 700px; background: var(--acc-neutral); padding-block: 90px 120px; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.1fr; gap: 110px; align-items: start; }
.contact-intro h1 { font-size: clamp(48px, 6vw, 74px); margin-bottom: 28px; }
.contact-intro > p:not(.eyebrow) { color: #59626c; font-size: 18px; max-width: 450px; }
.contact-note { border-top: 1px solid #cfd4d8; margin-top: 42px; padding-top: 25px; color: var(--acc-navy) !important; font-size: 14px !important; }
.contact-form-wrap { background: var(--acc-white); padding: 45px 48px 50px; border-top: 5px solid var(--acc-cobalt); }
.contact-form-wrap h2 { font-size: 28px; margin-bottom: 34px; }
.acc-field { display: grid; gap: 8px; margin-bottom: 22px; }
.acc-field label { color: var(--acc-navy); font-size: 12px; font-weight: 700; }
.acc-field input, .acc-field textarea { width: 100%; border: 1px solid #cfd4d8; border-radius: 2px; background: #fff; color: var(--acc-ink); padding: 13px 14px; outline: none; }
.acc-field input:focus, .acc-field textarea:focus { border-color: var(--acc-cobalt); box-shadow: 0 0 0 2px #e6ebff; }
.acc-field textarea { min-height: 150px; resize: vertical; }
.acc-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.acc-form-status { margin: 0 0 20px; padding: 12px 14px; border-radius: 2px; font-size: 13px; }
.acc-form-status.success { background: #e8f5ee; color: #176b48; }
.acc-form-status.error { background: #f9eaea; color: #8f2c2c; }

.standard-page { min-height: 620px; padding-block: 90px 120px; }
.standard-page h1 { font-size: clamp(46px, 6vw, 72px); }

@media (max-width: 900px) {
  .shell { width: min(100% - 36px, 720px); }
  .section { padding-block: 76px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 48px; padding-block: 70px 76px; }
  .hero-portrait { min-height: 620px; }
  .story-grid, .problem-grid, .method-heading, .about-section, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .story-copy { border-left: 0; border-top: 1px solid #385083; padding: 35px 0 0; }
  .problem-grid { margin-top: 35px; }
  .method-flow { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .method-flow::before { display: none; }
  .method-content { min-height: 260px; border-top: 1px solid rgba(255,255,255,.28); }
  .method-step:nth-child(3) .method-content { border-right: 1px solid rgba(255,255,255,.28); }
  .about-copy { max-width: 650px; }
  .wp-block-navigation__responsive-container.is-menu-open { padding: 28px; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 36px; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 8px; align-items: stretch; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

@media (max-width: 620px) {
  .shell { width: calc(100% - 30px); }
  .header-inner { min-height: 72px; }
  .acc-logo { font-size: 21px; }
  .acc-logo svg { width: 26px; height: 25px; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 52px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-portrait { min-height: 495px; }
  .story-section { padding-block: 78px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { padding: 34px 30px; }
  .method-flow { grid-template-columns: 1fr; row-gap: 0; margin-top: 48px; }
  .method-step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; text-align: left; }
  .method-node { margin: 0; }
  .method-step::before { content: ""; position: absolute; z-index: 0; left: 23px; top: 47px; bottom: 0; width: 1px; background: rgba(255,255,255,.42); }
  .method-step:last-child::before { display: none; }
  .method-content { min-height: 0; padding: 4px 0 39px; border: 0 !important; }
  .method-step h3 { font-size: 26px; }
  .method-step strong { min-height: 0; }
  .cta-inner, .footer-meta { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { grid-column: auto; }
  .contact-main { padding-block: 60px 90px; }
  .contact-form-wrap { padding: 35px 24px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
