:root { --clv-shadow: 0 24px 70px rgba(24,77,59,.12); --clv-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --clv-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-family:var(--clv-body); font-weight:400; letter-spacing:-.012em; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
h1,h2,h3,h4,h5,h6,.wp-block-site-title,.wp-block-navigation,.wp-element-button { font-family:var(--clv-display); }
.wp-site-blocks { min-height: 100vh; }
.clv-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(24,77,59,.08); }
.admin-bar .clv-header { top: 32px; }
.clv-brand-mark { display:inline-flex; align-items:center; gap:.75rem; font-weight:700; letter-spacing:-.045em; }
.clv-brand-mark::before { content:"CLV"; display:grid; place-items:center; width:44px; height:44px; border-radius:12px 12px 12px 4px; background:#184D3B; color:#fff; font-size:.73rem; letter-spacing:.06em; }
.clv-eyebrow { text-transform:uppercase; letter-spacing:.16em; font-size:.73rem; font-weight:700; }
.clv-hero { position:relative; overflow:hidden; min-height:min(900px, 90vh); display:flex; align-items:center; }
.clv-hero::after { content:""; position:absolute; width:480px; height:480px; border:1px solid rgba(255,255,255,.18); border-radius:50%; right:-120px; bottom:-250px; box-shadow:0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.025); pointer-events:none; }
.clv-hero-grid { position:relative; z-index:2; }
.clv-hero h1 { max-width:1040px; line-height:.92; letter-spacing:-.072em; text-wrap:balance; }
.clv-hero p.has-large-font-size { max-width:760px; line-height:1.62; }
.clv-glass-card { background:rgba(255,255,255,.92); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,.7); box-shadow:var(--clv-shadow); border-radius:28px; }
.clv-service-card { height:100%; overflow:hidden; border-radius:24px; box-shadow:0 16px 45px rgba(24,77,59,.10); transition:transform .25s ease, box-shadow .25s ease; }
.clv-service-card:hover { transform:translateY(-6px); box-shadow:0 24px 60px rgba(24,77,59,.16); }
.clv-service-card .wp-block-cover { min-height:440px; }
.clv-service-card .wp-block-cover__inner-container { align-self:flex-end; }
.clv-number { width:52px; height:52px; display:grid; place-items:center; border-radius:50%; background:#DDE8E1; color:#184D3B; font-weight:900; }
.clv-stat { border-left:1px solid rgba(255,255,255,.24); padding-left:1.4rem; }
.clv-feature-card { border:1px solid rgba(24,77,59,.12); border-radius:22px; height:100%; }
.clv-cta { position:relative; overflow:hidden; border-radius:34px; }
.clv-cta::before { content:""; position:absolute; inset:auto -80px -120px auto; width:340px; height:340px; border-radius:50%; background:rgba(255,255,255,.055); }
.clv-form { display:grid; gap:1rem; }
.clv-form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.clv-form label { display:block; font-weight:750; color:#184D3B; margin-bottom:.38rem; }
.clv-form input, .clv-form textarea { width:100%; box-sizing:border-box; border:1px solid #cbd8d1; border-radius:14px; padding:.9rem 1rem; font:inherit; background:#fff; }
.clv-form input:focus, .clv-form textarea:focus { outline:3px solid rgba(36,92,70,.18); border-color:#245C46; }
.clv-form button { border:0; border-radius:999px; padding:1rem 1.6rem; font:inherit; font-weight:800; color:#fff; background:#184D3B; cursor:pointer; }
.clv-alert { padding:1rem 1.15rem; border-radius:14px; margin-bottom:1rem; }
.clv-alert-success { background:#e7f5ed; color:#184D3B; }
.clv-alert-error { background:#fff0f0; color:#7a2020; }
.clv-footer a { color:inherit; }
@media (max-width: 781px) {
  .admin-bar .clv-header { top:46px; }
  .clv-hero { min-height:auto; }
  .clv-form-row { grid-template-columns:1fr; }
  .clv-service-card .wp-block-cover { min-height:360px; }
  .clv-stat { border-left:0; border-top:1px solid rgba(255,255,255,.24); padding-left:0; padding-top:1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } .clv-service-card { transition:none; } }


/* Version 1.1 — premium typography and true full-width page layouts */
.clv-page-main,
.clv-page-main > .wp-block-post-content,
.clv-page-main > .wp-block-post-content > * { box-sizing:border-box; }
.clv-page-main > .wp-block-post-content { width:100%; max-width:none; margin:0; padding:0; }
.clv-page-main > .wp-block-post-content > .alignfull { width:100%; max-width:none; margin-left:0; margin-right:0; }
.clv-page-main > .wp-block-post-content > .alignwide { width:min(calc(100% - 3rem), var(--wp--style--global--wide-size)); max-width:var(--wp--style--global--wide-size); margin-left:auto; margin-right:auto; }
.wp-block-group.alignfull > .alignwide,
.wp-block-cover.alignfull .alignwide { width:min(calc(100% - 3rem), var(--wp--style--global--wide-size)); max-width:var(--wp--style--global--wide-size); margin-left:auto; margin-right:auto; }
.wp-block-heading { text-wrap:balance; }
p { text-wrap:pretty; }
.wp-element-button { transition:transform .22s ease, box-shadow .22s ease, background-color .22s ease; }
.wp-element-button:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(24,77,59,.17); }
.wp-block-button__link span { display:inline-block; margin-left:.35rem; transition:transform .22s ease; }
.wp-block-button__link:hover span { transform:translateX(4px); }
.clv-feature-card { border-radius:18px; }
.clv-service-card { border-radius:18px; }
.wp-block-image img { border-radius:24px; }
@media (max-width: 781px) {
  .clv-page-main > .wp-block-post-content > .alignwide,
  .wp-block-group.alignfull > .alignwide,
  .wp-block-cover.alignfull .alignwide { width:min(calc(100% - 2rem), var(--wp--style--global--wide-size)); }
  .clv-hero h1 { letter-spacing:-.06em; }
}

/* Version 1.2 — refined mobile header and full-screen navigation */
.clv-header > .wp-block-group__inner-container,
.clv-header .alignwide {
  width: 100%;
}
.clv-header .wp-block-site-title {
  min-width: 0;
  margin: 0;
  line-height: 1.15;
}
.clv-header .wp-block-site-title a {
  color: #17241f;
  text-decoration: none;
}
.clv-header .wp-block-navigation__responsive-container-open,
.clv-header .wp-block-navigation__responsive-container-close {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(24,77,59,.14);
  border-radius: 50%;
  background: #f5f7f6;
  color: #184D3B;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.clv-header .wp-block-navigation__responsive-container-open:hover,
.clv-header .wp-block-navigation__responsive-container-close:hover {
  background: #e8efeb;
  border-color: rgba(24,77,59,.28);
  transform: none;
}
.clv-header .wp-block-navigation__responsive-container-open svg,
.clv-header .wp-block-navigation__responsive-container-close svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
}

@media (max-width: 781px) {
  .clv-header {
    padding: .75rem 1rem !important;
  }
  .clv-header .alignwide {
    gap: .8rem;
  }
  .clv-brand-mark {
    gap: .65rem;
    max-width: 170px;
    font-size: .98rem !important;
    letter-spacing: -.035em;
  }
  .clv-brand-mark::before {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 11px 11px 11px 4px;
    font-size: .67rem;
  }
  .clv-header .wp-block-group:has(> .wp-block-navigation) {
    gap: .55rem;
    margin-left: auto;
  }
  .clv-header .wp-block-buttons {
    display: none;
  }
  .clv-header .wp-block-navigation {
    display: flex;
  }
  .clv-header .wp-block-navigation__responsive-container-open {
    display: inline-flex;
  }
  .clv-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
  .clv-header .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    width: 100vw;
    height: 100dvh;
    padding: 1rem 1.25rem 2rem;
    box-sizing: border-box;
    overflow-y: auto;
    background: #184D3B !important;
    color: #fff !important;
    animation: clv-menu-in .24s ease-out both;
  }
  .admin-bar .clv-header .wp-block-navigation__responsive-container.is-menu-open {
    top: 46px;
    height: calc(100dvh - 46px);
  }
  .clv-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .clv-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    display: flex;
    min-height: calc(100dvh - 3rem);
    flex-direction: column;
  }
  .clv-header .wp-block-navigation__responsive-container-close {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.1);
    color: #fff;
  }
  .clv-header .wp-block-navigation__responsive-container-close:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.45);
  }
  .clv-header .wp-block-navigation__responsive-container-content {
    display: flex;
    flex: 1;
    padding-top: 5.5rem !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }
  .clv-header .wp-block-navigation__responsive-container-content::before {
    content: "Craft Line Vault";
    position: absolute;
    top: .65rem;
    left: 0;
    max-width: calc(100% - 70px);
    font-family: var(--clv-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.04em;
    color: #fff;
  }
  .clv-header .wp-block-navigation__container {
    width: 100%;
    gap: 0 !important;
    align-items: stretch !important;
  }
  .clv-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.17);
  }
  .clv-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: flex;
    width: 100%;
    padding: 1.05rem 0 !important;
    align-items: center;
    justify-content: space-between;
    color: #fff !important;
    font-family: var(--clv-display);
    font-size: clamp(1.75rem, 8vw, 2.7rem);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.055em;
    text-decoration: none;
  }
  .clv-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
    content: "↗";
    font-size: .85em;
    font-weight: 400;
    opacity: .7;
  }
  body:has(.wp-block-navigation__responsive-container.is-menu-open) {
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  .clv-brand-mark {
    max-width: 135px;
  }
  .clv-header .wp-block-navigation__responsive-container-open {
    width: 44px;
    height: 44px;
  }
  .clv-hero h1 {
    font-size: clamp(3.15rem, 14.5vw, 4.35rem) !important;
    line-height: .95;
    letter-spacing: -.065em;
  }
  .clv-hero p.has-large-font-size {
    font-size: 1.25rem !important;
    line-height: 1.5;
  }
}

@keyframes clv-menu-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Version 1.4 — Gutenberg-safe editable service cards */
.clv-service-card {
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:0 !important;
  background:#184D3B;
}
.clv-service-card > .wp-block-image,
.clv-service-card .clv-service-card-image {
  width:100%;
  margin:0;
}
.clv-service-card .clv-service-card-image img {
  display:block;
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:0;
}
.clv-service-card-copy {
  width:100%;
  box-sizing:border-box;
  padding:1.5rem;
  margin:0;
}
.clv-service-card-copy > :first-child { margin-top:0; }
.clv-service-card-copy > :last-child { margin-bottom:0; }
@media (max-width:781px) {
  .clv-service-card .clv-service-card-image img { height:260px; }
}

/* v1.5 Gutenberg-safe hero: standard Group + Image blocks layered with CSS. */
.clv-hero {
  position: relative;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
}
.clv-hero > .clv-hero-media,
.clv-hero > .clv-hero-grid {
  grid-area: 1 / 1;
}
.clv-hero > .clv-hero-media {
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: -2;
}
.clv-hero > .clv-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(24, 77, 59, .5);
  pointer-events: none;
}
.clv-hero > .clv-hero-grid {
  width: min(100% - 48px, var(--wp--style--global--wide-size));
  margin-inline: auto;
  align-self: center;
  padding-block: 96px;
}
@media (max-width: 600px) {
  .clv-hero { min-height: 620px; }
  .clv-hero > .clv-hero-grid {
    width: min(100% - 32px, var(--wp--style--global--wide-size));
    padding-block: 56px;
  }
}

/* v1.6 — Gutenberg-safe hero with decorative artwork supplied by CSS. */
.clv-hero-v16 {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(820px, 88vh);
  overflow: hidden;
  isolation: isolate;
  background-color: #184D3B;
}
.clv-hero-v16::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../images/hero-merchandise.svg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: .72;
}
.clv-hero-v16::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(24,77,59,.98) 0%, rgba(24,77,59,.88) 43%, rgba(24,77,59,.28) 100%);
  pointer-events: none;
}
.clv-hero-v16 > .clv-hero-grid {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--wp--style--global--wide-size));
  margin-inline: auto;
  padding-block: 96px;
}
@media (max-width: 781px) {
  .clv-hero-v16 { min-height: auto; }
  .clv-hero-v16::before { background-position: 62% center; opacity: .46; }
  .clv-hero-v16::after { background: rgba(24,77,59,.72); }
  .clv-hero-v16 > .clv-hero-grid {
    width: min(calc(100% - 32px), var(--wp--style--global--wide-size));
    padding-block: 64px;
  }
}

/* Version 2.0 — Craft Framework premium components */
.clv-section { padding-block:clamp(4.5rem,8vw,8rem); }
.clv-section-tight { padding-block:clamp(3rem,5vw,5rem); }
.clv-section-heading { max-width:900px; margin-inline:auto; text-align:center; }
.clv-section-heading h2 { font-size:clamp(2.4rem,5vw,5rem); }
.is-style-clv-premium-card,
.clv-premium-card { overflow:hidden; height:100%; border:1px solid rgba(24,77,59,.10); border-radius:26px; background:#fff; box-shadow:0 20px 65px rgba(24,77,59,.09); transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease; }
.is-style-clv-premium-card:hover,
.clv-premium-card:hover { transform:translateY(-8px); box-shadow:0 30px 80px rgba(24,77,59,.16); }
.is-style-clv-premium-card img,
.clv-premium-card img { transition:transform .65s cubic-bezier(.2,.8,.2,1); }
.is-style-clv-premium-card:hover img,
.clv-premium-card:hover img { transform:scale(1.035); }
.is-style-clv-soft-panel { border-radius:32px; background:linear-gradient(145deg,#f7f8f7,#eef3f0); border:1px solid rgba(24,77,59,.08); box-shadow:inset 0 1px 0 rgba(255,255,255,.8); }
.is-style-clv-product-image img { aspect-ratio:4/3; object-fit:cover; border-radius:28px; box-shadow:0 24px 70px rgba(24,77,59,.12); }
.clv-logo-row { display:flex; flex-wrap:wrap; gap:clamp(2rem,5vw,5rem); align-items:center; justify-content:center; opacity:.68; filter:grayscale(1); }
.clv-testimonial { position:relative; padding:clamp(2rem,4vw,4rem); border-radius:32px; background:#fff; box-shadow:var(--clv-shadow); }
.clv-testimonial::before { content:'“'; position:absolute; top:.6rem; right:1.6rem; font:700 6rem/1 var(--clv-display); color:rgba(24,77,59,.08); }
.clv-framework-cta { display:inline-flex; align-items:center; gap:.45rem; border-radius:999px; }
.clv-framework-cta span { transition:transform .2s ease; }
.clv-framework-cta:hover span { transform:translateX(4px); }
.clv-reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease var(--clv-reveal-delay,0ms),transform .7s cubic-bezier(.2,.8,.2,1) var(--clv-reveal-delay,0ms); }
.clv-reveal.is-visible { opacity:1; transform:none; }
.block-editor-block-list__layout .clv-reveal { opacity:1!important; transform:none!important; }
@media (max-width:781px){.clv-section{padding-block:4rem}.is-style-clv-premium-card,.clv-premium-card{border-radius:20px}.is-style-clv-soft-panel{border-radius:24px}}
@media (prefers-reduced-motion:reduce){.clv-reveal{opacity:1;transform:none;transition:none}.is-style-clv-premium-card,.clv-premium-card,.is-style-clv-premium-card img,.clv-premium-card img{transition:none!important}}

/* Version 2.3 — Contact Form 7 premium styling */
.wpcf7 {
  width: 100%;
  max-width: 760px;
}
.wpcf7 form {
  display: grid;
  gap: 1.15rem;
  margin: 0;
}
.wpcf7 form > p {
  margin: 0;
}
.wpcf7 label {
  display: block;
  color: #184D3B;
  font-family: var(--clv-display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.35;
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: .5rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  border: 1px solid rgba(24,77,59,.20);
  border-radius: 16px;
  padding: .95rem 1.05rem;
  background: #fff;
  box-shadow: 0 8px 26px rgba(24,77,59,.045);
  color: #17241f;
  font-family: var(--clv-body);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.wpcf7 textarea {
  min-height: 190px;
  resize: vertical;
}
.wpcf7 input[type="text"]:hover,
.wpcf7 input[type="email"]:hover,
.wpcf7 input[type="tel"]:hover,
.wpcf7 input[type="url"]:hover,
.wpcf7 input[type="number"]:hover,
.wpcf7 select:hover,
.wpcf7 textarea:hover {
  border-color: rgba(24,77,59,.38);
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #245C46;
  box-shadow: 0 0 0 4px rgba(36,92,70,.12), 0 12px 32px rgba(24,77,59,.08);
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #78857f;
  opacity: 1;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.wpcf7 .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .75rem;
  align-items: start;
  color: #25332d;
  font-family: var(--clv-body);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
  cursor: pointer;
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: .08rem 0 0;
  border: 1px solid rgba(24,77,59,.3);
  border-radius: 6px;
  accent-color: #184D3B;
  cursor: pointer;
}
.wpcf7 input[type="submit"] {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.65rem;
  background: #184D3B;
  box-shadow: 0 14px 34px rgba(24,77,59,.20);
  color: #fff;
  font-family: var(--clv-display);
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: -.02em;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  background: #245C46;
  box-shadow: 0 18px 42px rgba(24,77,59,.25);
}
.wpcf7 input[type="submit"]:active {
  transform: translateY(0);
}
.wpcf7 form.submitting input[type="submit"] {
  opacity: .7;
  cursor: wait;
}
.wpcf7 .wpcf7-spinner {
  margin: 0 0 0 .75rem;
  vertical-align: middle;
}
.wpcf7 .wpcf7-not-valid {
  border-color: #b43b3b !important;
  box-shadow: 0 0 0 4px rgba(180,59,59,.08) !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  margin-top: .45rem;
  color: #9b2929;
  font-size: .83rem;
  font-weight: 600;
}
.wpcf7 form .wpcf7-response-output {
  margin: .25rem 0 0;
  border: 0;
  border-radius: 14px;
  padding: .95rem 1.1rem;
  background: #eef5f1;
  color: #184D3B;
  font-size: .92rem;
  line-height: 1.55;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  background: #fff0f0;
  color: #7a2020;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #e7f5ed;
  color: #184D3B;
}
@media (max-width: 781px) {
  .wpcf7 {
    max-width: none;
  }
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="url"],
  .wpcf7 input[type="number"],
  .wpcf7 select,
  .wpcf7 textarea {
    min-height: 54px;
    border-radius: 14px;
    padding: .85rem .95rem;
    font-size: 16px;
  }
  .wpcf7 textarea {
    min-height: 165px;
  }
  .wpcf7 input[type="submit"] {
    width: 100%;
  }
}
