/*
Theme Name: DecoBois Cuisines Custom
Theme URI: http://localhost:8096/
Author: Top One Position
Description: Theme custom Gutenberg SSR pour DecoBois Cuisines.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: decobois
*/
:root {
        --ink: #211f1b;
        --ink-soft: #676157;
        --canvas: #ffffff;
        --canvas-deep: #e8e1d4;
        --surface: #ffffff;
        --surface-warm: #f3f3ef;
        --anthracite: #3d3a38;
        --anthracite-2: #504c49;
        --copper: #a96b2d;
        --copper-dark: #70431d;
        --sage: #9fa486;
        --sage-dark: #62694e;
        --line: rgba(33, 31, 27, 0.16);
        --white: #ffffff;
        --shadow: 0 18px 44px rgba(28, 25, 22, 0.08);
        --radius-xs: 8px;
        --radius-sm: 14px;
        --radius-md: 22px;
        --radius-lg: 30px;
        --container: 1180px;
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        background: var(--canvas);
        color: var(--ink);
        font-family: "IBM Plex Sans", sans-serif;
        font-size: 16px;
        line-height: 1.62;
      }

      body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        opacity: 0;
        background-image:
          linear-gradient(rgba(33, 31, 27, 0.06) 1px, transparent 1px),
          linear-gradient(90deg, rgba(33, 31, 27, 0.04) 1px, transparent 1px);
        background-size: 96px 96px;
        mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
      }

      img {
        max-width: 100%;
        display: block;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      button,
      input,
      select,
      textarea {
        font: inherit;
      }

      .site-header {
        position: fixed;
        z-index: 20;
        top: 18px;
        left: 50%;
        width: min(calc(100% - 28px), var(--container));
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 10px 12px 10px 16px;
        border: 1px solid rgba(251, 248, 241, 0.18);
        border-radius: 18px;
        background: rgba(36, 34, 30, 0.86);
        color: var(--white);
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
        backdrop-filter: blur(14px);
      }

      body.admin-bar .site-header {
        top: 50px;
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 210px;
      }

      .brand img {
        width: 176px;
        height: auto;
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.22));
      }

      .main-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.82);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0;
      }

      .main-nav-list {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        margin: 0;
        padding: 0;
        list-style: none;
      }

      .main-nav a {
        transition: color 180ms ease;
      }

      .main-nav a:hover {
        color: var(--white);
      }

      .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .mobile-nav-cta,
      .mobile-nav-cta.btn,
      .menu-toggle {
        display: none;
      }

      .menu-toggle {
        width: 44px;
        min-width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        color: var(--white);
        cursor: pointer;
        transition:
          background 180ms ease,
          border-color 180ms ease,
          transform 180ms ease;
      }

      .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.14);
        transform: translateY(-1px);
      }

      .menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition:
          transform 180ms ease,
          opacity 180ms ease;
      }

      .site-header.is-menu-open .menu-toggle span:first-child {
        transform: translateY(4px) rotate(45deg);
      }

      .site-header.is-menu-open .menu-toggle span:last-child {
        transform: translateY(-4px) rotate(-45deg);
      }

      .btn {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 0;
        border-radius: 8px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0;
        transition:
          transform 180ms ease,
          background 180ms ease,
          color 180ms ease,
          box-shadow 180ms ease;
        white-space: nowrap;
      }

      .btn:hover {
        transform: translateY(-1px);
      }

      .btn-primary {
        padding: 0 20px;
        background: var(--copper);
        color: var(--white);
        box-shadow: 0 10px 22px rgba(112, 67, 29, 0.22);
      }

      .btn-primary:hover {
        background: var(--copper-dark);
      }

      .btn-dark {
        padding: 0 22px;
        background: var(--anthracite);
        color: var(--white);
      }

      .btn-light {
        padding: 0 18px;
        background: rgba(251, 248, 241, 0.94);
        color: var(--ink);
      }

      .hero {
        position: relative;
        min-height: 260vh;
        overflow: visible;
        color: var(--white);
        background: var(--anthracite);
      }

      .hero-frame {
        position: sticky;
        top: 0;
        min-height: 640px;
        height: 100vh;
        display: grid;
        align-items: end;
        overflow: hidden;
      }

      .hero-media,
      .hero-slide {
        position: absolute;
        inset: 0;
      }

      .hero-media {
        z-index: 0;
      }

      .hero-media::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background:
          linear-gradient(90deg, rgba(25, 22, 18, 0.58) 0%, rgba(25, 22, 18, 0.26) 48%, rgba(25, 22, 18, 0.1) 100%),
          linear-gradient(to bottom, rgba(25, 22, 18, 0.06), rgba(25, 22, 18, 0.18));
      }

      .hero-slide {
        z-index: 1;
        background-position: center;
        background-size: cover;
        opacity: 0;
        transform: scale(1.04);
        will-change: opacity, transform;
      }

      .hero-slide.is-active {
        opacity: 1;
      }

      .hero-frame::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        z-index: 2;
        height: 30%;
        background: linear-gradient(to bottom, transparent, var(--canvas));
      }

      .hero-inner {
        position: relative;
        z-index: 3;
        width: min(calc(100% - 40px), var(--container));
        margin: 0 auto;
        padding: 160px 0 90px;
      }

      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 22px;
        color: rgba(255, 255, 255, 0.78);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .eyebrow::before {
        content: "";
        width: 38px;
        height: 1px;
        background: var(--copper);
      }

      .hero h1,
      .section-title,
      .quote-text,
      .form-panel h2 {
        margin: 0;
        font-family: "DM Serif Text", Georgia, serif;
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: 0;
      }

      .hero h1 {
        max-width: 770px;
        font-size: clamp(42px, 5.8vw, 76px);
      }

      .hero-copy {
        max-width: 610px;
        margin: 28px 0 0;
        color: rgba(255, 255, 255, 0.86);
        font-size: clamp(18px, 2vw, 22px);
        line-height: 1.5;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 34px;
      }

      .trust-bar {
        position: relative;
        z-index: 3;
        width: min(calc(100% - 40px), var(--container));
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow: hidden;
        border-right: 1px solid var(--line);
        border-left: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: var(--white);
      }

      .trust-item {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 14px;
        padding: 28px 22px;
        border-right: 1px solid var(--line);
      }

      .trust-item i {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(169, 107, 45, 0.28);
        border-radius: 8px;
        color: var(--ink);
        font-size: 18px;
      }

      .trust-item:last-child {
        border-right: 0;
      }

      .trust-item strong {
        color: var(--ink);
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }

      .trust-item span {
        display: block;
        margin-top: 6px;
        color: var(--ink-soft);
        font-size: 14px;
      }

      .section {
        width: min(calc(100% - 40px), var(--container));
        margin: 0 auto;
        padding: 92px 0;
      }

      .section-kicker {
        margin: 0 0 14px;
        color: var(--sage-dark);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.13em;
        text-transform: uppercase;
      }

      .section-title {
        max-width: 640px;
        color: var(--ink);
        font-family: "IBM Plex Sans", sans-serif;
        font-size: clamp(26px, 2.7vw, 38px);
        font-weight: 500;
        line-height: 1.14;
      }

      .section-lead {
        max-width: 600px;
        margin: 18px 0 0;
        color: var(--ink-soft);
        font-size: 16px;
        line-height: 1.65;
      }

      .expertise-board {
        display: grid;
        grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
        gap: 64px;
        align-items: stretch;
        margin-top: 56px;
      }

      .expertise-visual {
        position: sticky;
        top: 120px;
        min-height: 620px;
        overflow: hidden;
        border-radius: var(--radius-lg);
        background: var(--surface-warm);
      }

      .expertise-photo {
        position: absolute;
        inset: 0;
        opacity: 0;
        background-position: center;
        background-size: cover;
        transform: scale(1.03);
        transition: opacity 260ms ease;
      }

      .expertise-photo.is-active {
        opacity: 1;
      }

      .expertise-photo:nth-child(1) {
        background-image: url("assets/images/cabinetry-wall.webp");
      }

      .expertise-photo:nth-child(2) {
        background-image: url("assets/images/breakfast-nook.webp");
      }

      .expertise-photo:nth-child(3) {
        background-image: url("assets/images/materials-detail.webp");
      }

      .expertise-label {
        position: absolute;
        left: 22px;
        bottom: 22px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: var(--radius-xs);
        background: rgba(255, 255, 255, 0.88);
        color: var(--ink);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        backdrop-filter: blur(10px);
      }

      .expertise-list {
        border-top: 1px solid var(--ink);
      }

      .expertise-item {
        display: grid;
        grid-template-columns: 72px 1fr;
        gap: 28px;
        width: 100%;
        padding: 34px 0;
        border: 0;
        border-bottom: 1px solid var(--line);
        background: transparent;
        color: var(--ink);
        cursor: pointer;
        text-align: left;
        transition:
          background 180ms ease,
          padding-left 180ms ease;
      }

      .expertise-item:hover,
      .expertise-item.is-active {
        padding-left: 18px;
        background: #f7f7f4;
      }

      .expertise-item span {
        color: var(--copper-dark);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
      }

      .expertise-item h3 {
        margin: 0;
        font-size: clamp(21px, 2.2vw, 28px);
        font-weight: 500;
        line-height: 1.14;
      }

      .expertise-item p {
        max-width: 560px;
        margin: 14px 0 0;
        color: var(--ink-soft);
        font-size: 15px;
      }

      .expertise-item.is-active h3 {
        color: var(--copper-dark);
      }

      .showcase {
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        background: var(--white);
        color: var(--ink);
      }

      .showcase .section {
        width: min(calc(100% - 40px), 1280px);
      }

      .showcase .section-kicker {
        color: var(--sage-dark);
      }

      .showcase .section-title {
        color: var(--ink);
      }

      .showcase .section-lead {
        color: var(--ink-soft);
      }

      .gallery {
        display: grid;
        grid-template-columns: 1.35fr 0.85fr;
        gap: 14px;
        margin-top: 38px;
      }

      .gallery-main,
      .gallery-side {
        min-height: 560px;
        border-radius: var(--radius-lg);
        background-position: center;
        background-size: cover;
      }

      .gallery-main {
        background-image:
          linear-gradient(to top, rgba(0, 0, 0, 0.48), transparent 48%),
          url("assets/images/open-kitchen-dining.webp");
      }

      .gallery-side {
        display: grid;
        gap: 18px;
        min-height: auto;
        background: transparent;
      }

      .gallery-tile {
        min-height: 271px;
        border-radius: var(--radius-md);
        background-position: center;
        background-size: cover;
      }

      .gallery-tile:first-child {
        background-image: url("assets/images/joinery-detail.webp");
      }

      .gallery-tile:last-child {
        background-image: url("assets/images/renovation-kitchen.webp");
      }

      .quote-text {
        max-width: 860px;
        font-size: clamp(34px, 4.2vw, 58px);
      }

      .quote-meta {
        margin-top: 26px;
        color: rgba(255, 255, 255, 0.74);
        font-weight: 700;
      }

      .testimonials {
        border-top: 1px solid var(--line);
        background: var(--white);
        overflow: clip;
      }

      .testimonial-scroll {
        min-height: 280vh;
      }

      .testimonial-sticky {
        position: sticky;
        top: 0;
        min-height: 100vh;
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 72px;
        align-items: center;
        padding: 82px 0;
      }

      .testimonial-copy {
        align-self: center;
      }

      .testimonial-copy .section-title {
        max-width: 420px;
      }

      .testimonial-copy .section-lead {
        max-width: 440px;
      }

      .testimonial-scene {
        position: relative;
        height: 510px;
        perspective: 1000px;
      }

      .stack-card {
        position: absolute;
        top: 0;
        left: 50%;
        width: min(100%, 430px);
        height: 430px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 30px;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        background: var(--white);
        box-shadow: 0 24px 70px rgba(28, 25, 22, 0.14);
        transform: translateX(-50%);
        will-change: transform;
      }

      .stack-card:nth-child(1) {
        z-index: 4;
      }

      .stack-card:nth-child(2) {
        z-index: 3;
      }

      .stack-card:nth-child(3) {
        z-index: 2;
      }

      .stack-card:nth-child(4) {
        z-index: 1;
      }

      .review-stars {
        display: flex;
        gap: 3px;
        color: var(--copper-dark);
        font-size: 17px;
      }

      .review-text {
        margin: 28px 0;
        max-width: 330px;
        color: var(--ink);
        font-family: "IBM Plex Sans", Arial, sans-serif;
        font-size: clamp(18px, 1.6vw, 23px);
        font-weight: 500;
        line-height: 1.42;
        letter-spacing: 0;
      }

      .review-person {
        display: flex;
        align-items: center;
        gap: 14px;
      }

      .review-avatar {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--anthracite);
        color: var(--white);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
      }

      .review-person strong,
      .review-person span {
        display: block;
      }

      .review-person span {
        color: var(--ink-soft);
        font-size: 13px;
      }

      .faq-panel {
        margin-top: 34px;
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 46px;
        align-items: start;
        padding: 0;
        border-top: 1px solid var(--ink);
        background: var(--white);
      }

      .faq-head {
        position: sticky;
        top: 116px;
        padding-top: 24px;
      }

      .faq-head .section-kicker {
        margin-bottom: 18px;
      }

      .faq-head h3 {
        margin: 0 0 18px;
        max-width: 280px;
        font-size: clamp(28px, 2.5vw, 38px);
        line-height: 1.08;
      }

      .faq-head p {
        margin: 0;
        max-width: 260px;
        color: var(--ink-soft);
        font-size: 14px;
        line-height: 1.65;
      }

      .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 26px;
        border-top: 0;
      }

      .faq-item {
        min-height: 116px;
        border-top: 1px solid var(--line);
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 0;
        background: transparent;
        overflow: hidden;
        transition: border-color 180ms ease, background 180ms ease;
      }

      .faq-item[open] {
        border-color: rgba(183, 113, 43, 0.55);
        background: linear-gradient(180deg, rgba(183, 113, 43, 0.055), rgba(255, 255, 255, 0));
      }

      .faq-item summary {
        min-height: 74px;
        display: grid;
        grid-template-columns: 38px 1fr 24px;
        align-items: center;
        gap: 14px;
        padding: 18px 0 14px;
        cursor: pointer;
        color: var(--ink);
        font-weight: 700;
        list-style: none;
      }

      .faq-item summary::-webkit-details-marker {
        display: none;
      }

      .faq-index {
        color: var(--copper-dark);
        font-family: "DM Serif Text", Georgia, serif;
        font-size: 18px;
        font-weight: 400;
      }

      .faq-title {
        font-size: 15px;
        line-height: 1.38;
      }

      .faq-toggle {
        width: 24px;
        height: 24px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 50%;
        color: var(--copper-dark);
        font-size: 17px;
        transition: transform 180ms ease, color 180ms ease;
      }

      .faq-item[open] .faq-toggle {
        transform: rotate(45deg);
        color: var(--ink);
      }

      .faq-item p {
        margin: 0;
        padding: 0 28px 22px 52px;
        color: var(--ink-soft);
        font-size: 14px;
        line-height: 1.62;
      }

      .contact-wrap {
        display: grid;
        grid-template-columns: 0.92fr 1.08fr;
        gap: 26px;
        align-items: stretch;
      }

      .contact-intro {
        padding: 38px;
        border-radius: var(--radius-lg);
        background:
          linear-gradient(180deg, rgba(61, 58, 56, 0.9), rgba(61, 58, 56, 0.72)),
          url("assets/images/showroom-consultation.webp") center / cover;
        color: var(--white);
      }

      .contact-intro .section-kicker {
        color: var(--sage);
      }

      .contact-intro .section-title {
        color: var(--white);
        font-size: clamp(28px, 2.8vw, 36px);
      }

      .contact-intro p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 15px;
        line-height: 1.65;
      }

      .contact-list {
        display: grid;
        gap: 12px;
        margin-top: 28px;
      }

      .contact-list span {
        display: flex;
        align-items: center;
        gap: 12px;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 700;
      }

      .contact-list span::before {
        content: "\EB7B";
        width: 24px;
        height: 24px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(159, 164, 134, 0.18);
        color: var(--sage);
        font-family: remixicon;
        font-size: 16px;
      }

      .form-panel {
        padding: 34px;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        background: var(--white);
      }

      .form-panel h2 {
        font-size: clamp(28px, 2.4vw, 34px);
      }

      .form-panel .wpcf7 {
        margin-top: 22px;
      }

      .form-panel .wpcf7 form {
        margin: 0;
      }

      .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 0;
      }

      .field {
        display: grid;
        gap: 7px;
      }

      .field.full {
        grid-column: 1 / -1;
      }

      .wpcf7-form-control-wrap {
        display: block;
      }

      label {
        color: var(--ink-soft);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
      }

      input,
      select,
      textarea {
        width: 100%;
        min-height: 50px;
        border: 1px solid rgba(36, 33, 31, 0.16);
        border-radius: var(--radius-xs);
        background: var(--white);
        color: var(--ink);
        padding: 12px 14px;
        outline: 0;
      }

      textarea {
        min-height: 116px;
        resize: vertical;
      }

      input:focus,
      select:focus,
      textarea:focus {
        border-color: var(--copper);
        box-shadow: 0 0 0 4px rgba(189, 122, 44, 0.13);
      }

      .consent-field {
        margin-top: 2px;
      }

      .consent-field .wpcf7-form-control-wrap,
      .consent-field .wpcf7-form-control,
      .consent-field .wpcf7-list-item {
        display: block;
      }

      .consent-field .wpcf7-list-item {
        margin: 0;
      }

      .consent-field label {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        color: var(--ink-soft);
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0;
        line-height: 1.5;
        text-transform: none;
      }

      .consent-field input[type="checkbox"] {
        width: 16px;
        min-width: 16px;
        height: 16px;
        min-height: 16px;
        margin: 2px 0 0;
        padding: 0;
        border-radius: 4px;
        accent-color: var(--copper);
      }

      .consent-field a {
        color: var(--copper-dark);
        font-weight: 700;
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 2px;
      }

      .form-footer .wpcf7-submit {
        width: auto;
        min-width: 164px;
      }

      .form-footer .wpcf7-spinner {
        margin: 0 0 0 8px;
      }

      .wpcf7-not-valid-tip {
        margin-top: 6px;
        color: #9f3a2f;
        font-size: 12px;
        font-weight: 600;
      }

      .wpcf7 form .wpcf7-response-output {
        margin: 18px 0 0;
        padding: 12px 14px;
        border-radius: var(--radius-xs);
        color: var(--ink);
        font-size: 13px;
        line-height: 1.45;
      }

      .form-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin-top: 20px;
      }

      .privacy {
        max-width: 320px;
        margin: 0;
        color: var(--ink-soft);
        font-size: 12px;
        line-height: 1.5;
      }

      .site-footer {
        width: min(calc(100% - 40px), var(--container));
        margin: 0 auto;
        padding: 30px 0 38px;
        border-top: 1px solid var(--line);
        color: var(--ink-soft);
        font-size: 13px;
      }

      .footer-brand,
      .footer-links,
      .footer-copy {
        margin: 0;
      }

      .site-footer {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: end;
        gap: 10px 28px;
      }

      .footer-brand {
        display: grid;
        gap: 2px;
      }

      .footer-brand strong {
        color: var(--ink);
        font-size: 15px;
      }

      .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 14px;
      }

      .footer-links a {
        transition: color 180ms ease;
      }

      .footer-links a:hover {
        color: var(--ink);
      }

      .footer-copy {
        grid-column: 1 / -1;
        font-size: 12px;
      }

      .blog-hero {
        width: min(calc(100% - 40px), var(--container));
        margin: 0 auto;
        padding: 168px 0 58px;
      }

      .blog-hero.compact {
        padding-bottom: 38px;
      }

      .blog-hero h1,
      .single-hero h1,
      .sidebar-card h2,
      .related-posts h2 {
        margin: 0;
        color: var(--ink);
        font-family: "IBM Plex Sans", sans-serif;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.08;
      }

      .blog-hero h1 {
        max-width: 760px;
        font-size: clamp(38px, 5vw, 68px);
      }

      .blog-hero p:not(.section-kicker) {
        max-width: 620px;
        margin: 18px 0 0;
        color: var(--ink-soft);
        font-size: 18px;
      }

      .blog-layout,
      .single-layout {
        width: min(calc(100% - 40px), var(--container));
        margin: 0 auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 42px;
        align-items: start;
        padding-bottom: 80px;
      }

      .category-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 26px;
      }

      .category-pills a,
      .post-category-link {
        display: inline-flex;
        min-height: 36px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 0 14px;
        color: var(--ink-soft);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        transition:
          border-color 180ms ease,
          color 180ms ease,
          background 180ms ease;
      }

      .category-pills a:hover,
      .category-pills a.is-active,
      .post-category-link:hover {
        border-color: rgba(169, 107, 45, 0.48);
        background: rgba(169, 107, 45, 0.08);
        color: var(--copper-dark);
      }

      .post-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
      }

      .post-card {
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: var(--white);
        box-shadow: 0 14px 34px rgba(28, 25, 22, 0.06);
      }

      .post-card-image {
        display: block;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        background: var(--surface-warm);
      }

      .post-card-image img,
      .related-card img,
      .single-hero > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 500ms ease;
      }

      .post-card:hover .post-card-image img,
      .related-card:hover img {
        transform: scale(1.035);
      }

      .post-card-body {
        padding: 22px;
      }

      .post-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        color: var(--sage-dark);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }

      .post-card h2 {
        margin: 12px 0 10px;
        font-size: 24px;
        line-height: 1.15;
      }

      .post-card p {
        margin: 0;
        color: var(--ink-soft);
        font-size: 14px;
      }

      .read-link {
        display: inline-flex;
        margin-top: 18px;
        color: var(--copper-dark);
        font-size: 13px;
        font-weight: 800;
      }

      .blog-sidebar {
        position: sticky;
        top: 124px;
        display: grid;
        gap: 16px;
      }

      .sidebar-card {
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: var(--white);
        padding: 22px;
      }

      .sidebar-card h2 {
        font-size: 20px;
      }

      .sidebar-card p {
        margin: 12px 0 18px;
        color: var(--ink-soft);
        font-size: 14px;
      }

      .sidebar-list {
        display: grid;
        gap: 12px;
        margin: 16px 0 0;
        padding: 0;
        list-style: none;
        color: var(--ink-soft);
        font-size: 14px;
      }

      .sidebar-list a {
        color: var(--ink);
        font-weight: 600;
      }

      .sidebar-list a:hover {
        color: var(--copper-dark);
      }

      .single-post-wrap {
        padding-top: 0;
      }

      .single-hero {
        position: relative;
        width: 100%;
        min-height: clamp(640px, 78vh, 820px);
        margin: 0 0 58px;
        display: grid;
        align-items: end;
        overflow: hidden;
        border-radius: 0;
        background: var(--anthracite);
      }

      .single-hero > img {
        position: absolute;
        inset: 0;
        z-index: 0;
      }

      .single-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background:
          linear-gradient(90deg, rgba(25, 22, 18, 0.74) 0%, rgba(25, 22, 18, 0.44) 38%, rgba(25, 22, 18, 0.1) 78%),
          linear-gradient(0deg, rgba(25, 22, 18, 0.62) 0%, rgba(25, 22, 18, 0.08) 58%);
        pointer-events: none;
      }

      .single-hero-content {
        position: relative;
        z-index: 2;
        width: min(calc(100% - 40px), var(--container));
        margin: 0 auto;
        padding: 152px 0 68px;
        color: var(--white);
      }

      .single-hero .post-category-link {
        min-height: auto;
        border: 0;
        border-radius: 0;
        padding: 0;
        color: rgba(255, 255, 255, 0.78);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.12em;
      }

      .single-hero .post-category-link:hover {
        background: transparent;
        color: var(--white);
      }

      .single-hero h1 {
        max-width: 720px;
        margin-top: 12px;
        color: var(--white);
        font-size: clamp(34px, 3.7vw, 58px);
        font-weight: 650;
        line-height: 1.04;
        text-wrap: balance;
      }

      .single-hero .post-meta {
        margin-top: 16px;
        color: rgba(255, 255, 255, 0.72);
        font-size: 11px;
      }

      .single-content {
        min-width: 0;
      }

      .single-content > * {
        max-width: 760px;
      }

      .single-content p,
      .single-content li {
        color: var(--ink-soft);
        font-size: 18px;
      }

      .single-content h2,
      .single-content h3 {
        margin: 38px 0 12px;
        color: var(--ink);
        line-height: 1.16;
      }

      .single-content a {
        color: var(--copper-dark);
        font-weight: 700;
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
      }

      .post-nav {
        max-width: 760px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 12px;
        align-items: center;
        margin-top: 48px;
        padding-top: 24px;
        border-top: 1px solid var(--line);
        font-size: 13px;
        font-weight: 800;
      }

      .post-nav > div:last-child {
        text-align: right;
      }

      .related-posts {
        max-width: 920px;
        margin-top: 58px;
      }

      .related-posts h2 {
        margin-top: 8px;
        font-size: 28px;
      }

      .related-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        margin-top: 22px;
      }

      .related-card {
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        background: var(--white);
        text-decoration: none;
      }

      .related-card img {
        aspect-ratio: 4 / 3;
      }

      .related-card span {
        display: block;
        padding: 14px;
        color: var(--ink);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.25;
      }

      .blog-pagination {
        margin-top: 34px;
      }

      .content-page {
        width: min(calc(100% - 40px), var(--container));
        margin: 0 auto;
        padding: 138px 0 84px;
      }

      .content-hero {
        display: grid;
        grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
        gap: 32px 72px;
        align-items: start;
        padding-bottom: 32px;
        border-bottom: 1px solid var(--line);
      }

      .content-hero .section-kicker {
        grid-column: 1;
        grid-row: 1;
        margin-top: 8px;
      }

      .content-hero h1 {
        grid-column: 2;
        grid-row: 1 / span 2;
        max-width: 720px;
        margin: 0;
        color: var(--ink);
        font-family: "IBM Plex Sans", sans-serif;
        font-size: clamp(38px, 4.4vw, 58px);
        font-weight: 650;
        letter-spacing: 0;
        line-height: 1.03;
      }

      .content-hero p:not(.section-kicker) {
        grid-column: 1;
        grid-row: 2;
        max-width: 320px;
        margin: 0;
        color: var(--ink-soft);
        font-size: 15px;
        line-height: 1.65;
      }

      .content-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 42px;
        align-items: start;
        padding-top: 42px;
      }

      .content-main {
        max-width: 780px;
      }

      .content-main h2 {
        margin: 36px 0 12px;
        color: var(--ink);
        font-size: 26px;
        line-height: 1.16;
      }

      .content-main h2:first-child {
        margin-top: 0;
      }

      .content-main p,
      .content-main li {
        color: var(--ink-soft);
        font-size: 17px;
      }

      .content-main p {
        margin: 0 0 16px;
      }

      .content-main strong {
        color: var(--ink);
      }

      .content-main .wp-block-group {
        margin: 22px 0;
        padding: 24px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: var(--surface);
        box-shadow: 0 14px 34px rgba(28, 25, 22, 0.05);
      }

      .content-main .wp-block-group h2 {
        margin-top: 0;
      }

      .content-aside {
        position: sticky;
        top: 124px;
      }

      .legal-page {
        width: min(calc(100% - 40px), 1080px);
        padding-top: 128px;
      }

      .legal-page .content-hero {
        grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
        gap: 28px 72px;
        padding-bottom: 30px;
      }

      .legal-page .content-hero h1 {
        max-width: 620px;
        font-size: clamp(36px, 4vw, 54px);
      }

      .legal-page .content-shell {
        display: block;
        max-width: 820px;
        padding-top: 38px;
        margin-left: auto;
      }

      .legal-page .content-main {
        max-width: none;
      }

      .legal-page .content-main h2 {
        margin-top: 34px;
        padding-top: 22px;
        border-top: 1px solid var(--line);
        font-size: 22px;
        font-weight: 700;
      }

      .legal-page .content-main h2:first-child {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
      }

      .legal-page .content-main p,
      .legal-page .content-main li {
        font-size: 16px;
        line-height: 1.75;
      }

      .legal-page .content-main .wp-block-group {
        margin: 18px 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
      }

      @media (max-width: 980px) {
        body.menu-open {
          overflow: hidden;
        }

        .main-nav {
          position: absolute;
          top: calc(100% + 10px);
          right: 0;
          left: 0;
          display: flex;
          flex-direction: column;
          align-items: stretch;
          gap: 10px;
          padding: 12px;
          border: 1px solid rgba(251, 248, 241, 0.18);
          border-radius: 16px;
          background: rgba(36, 34, 30, 0.96);
          box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
          opacity: 0;
          pointer-events: none;
          transform: translateY(-8px) scale(0.98);
          visibility: hidden;
          transition:
            opacity 180ms ease,
            transform 180ms ease,
            visibility 180ms ease;
        }

        .site-header.is-menu-open .main-nav {
          opacity: 1;
          pointer-events: auto;
          transform: translateY(0) scale(1);
          visibility: visible;
        }

        .main-nav-list {
          align-items: stretch;
          flex-direction: column;
          gap: 2px;
        }

        .main-nav a {
          display: flex;
          min-height: 46px;
          align-items: center;
          justify-content: space-between;
          border-radius: 10px;
          padding: 0 12px;
          font-size: 15px;
          color: rgba(255, 255, 255, 0.9);
        }

        .main-nav a:hover {
          background: rgba(255, 255, 255, 0.08);
        }

        .mobile-nav-cta,
        .mobile-nav-cta.btn {
          display: inline-flex;
          width: 100%;
          margin-top: 4px;
        }

        .menu-toggle {
          display: inline-flex;
        }

        .site-header {
          top: 10px;
        }

        body.admin-bar .site-header {
          top: 56px;
        }

        .brand {
          min-width: auto;
        }

        .brand img {
          width: 150px;
        }

        .trust-bar,
        .expertise-board,
        .contact-wrap,
        .testimonial-sticky,
        .faq-panel {
          grid-template-columns: 1fr;
        }

        .faq-head {
          position: static;
        }

        .expertise-visual {
          position: relative;
          top: auto;
          min-height: 440px;
        }

        .trust-item {
          border-right: 0;
          border-bottom: 1px solid var(--line);
        }

        .trust-item:last-child {
          border-bottom: 0;
        }

        .gallery {
          grid-template-columns: 1fr;
        }

        .gallery-main {
          min-height: 440px;
        }

        .gallery-side {
          grid-template-columns: repeat(2, 1fr);
        }

        .testimonial-scroll {
          min-height: auto;
        }

        .testimonial-sticky {
          position: relative;
          top: auto;
          min-height: auto;
          gap: 38px;
          padding: 0;
        }

        .testimonial-scene {
          height: auto;
          display: grid;
          gap: 16px;
        }

        .stack-card {
          position: relative;
          left: auto;
          width: 100%;
          height: auto;
          min-height: 320px;
          transform: none;
        }

        .faq-panel {
          gap: 24px;
        }

        .faq-grid {
          grid-template-columns: 1fr;
        }

        .blog-layout,
        .single-layout,
        .content-shell,
        .single-hero {
          grid-template-columns: 1fr;
        }

        .blog-sidebar {
          position: static;
        }

        .content-aside {
          position: static;
        }

        .single-hero {
          min-height: 520px;
        }

        .related-grid {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 640px) {
        .header-actions .btn-light {
          display: none;
        }

        .site-header {
          width: calc(100% - 20px);
          gap: 10px;
          padding: 9px 9px 9px 12px;
        }

        .brand img {
          width: 132px;
        }

        .header-actions .btn-primary {
          display: none;
        }

        .hero {
          min-height: 230vh;
        }

        .hero-frame {
          min-height: 86vh;
        }

        .hero-slide {
          background-position: 62% center;
        }

        .hero-inner {
          width: min(calc(100% - 28px), var(--container));
          padding-bottom: 72px;
        }

        .section {
          width: min(calc(100% - 28px), var(--container));
          padding: 62px 0;
        }

        .blog-hero {
          width: min(calc(100% - 28px), var(--container));
          padding: 136px 0 42px;
        }

        .blog-hero h1 {
          font-size: clamp(34px, 12vw, 46px);
        }

        .blog-hero p:not(.section-kicker) {
          font-size: 16px;
        }

        .blog-layout,
        .single-layout,
        .content-page {
          width: min(calc(100% - 28px), var(--container));
        }

        .content-page {
          padding: 126px 0 64px;
        }

        .content-hero {
          grid-template-columns: 1fr;
          gap: 18px;
          padding-bottom: 28px;
        }

        .content-hero .section-kicker,
        .content-hero h1,
        .content-hero p:not(.section-kicker) {
          grid-column: auto;
          grid-row: auto;
        }

        .content-hero h1 {
          font-size: clamp(32px, 10vw, 42px);
        }

        .content-shell {
          gap: 28px;
          padding-top: 28px;
        }

        .legal-page {
          padding-top: 118px;
        }

        .legal-page .content-hero {
          grid-template-columns: 1fr;
          gap: 16px;
        }

        .legal-page .content-hero h1 {
          font-size: clamp(34px, 10vw, 42px);
        }

        .legal-page .content-shell {
          max-width: none;
          margin-left: 0;
          padding-top: 30px;
        }

        .post-grid {
          grid-template-columns: 1fr;
        }

        .post-card-body,
        .sidebar-card,
        .single-hero-content {
          padding: 20px;
        }

        .single-post-wrap {
          padding-top: 0;
        }

        .single-hero {
          min-height: 74vh;
        }

        .single-hero-content {
          width: min(calc(100% - 28px), var(--container));
          padding: 136px 0 46px;
        }

        .single-hero h1 {
          max-width: 340px;
          font-size: clamp(28px, 9vw, 38px);
        }

        .single-content p,
        .single-content li {
          font-size: 16px;
        }

        .post-nav {
          grid-template-columns: 1fr;
        }

        .post-nav > div:last-child {
          text-align: left;
        }

        .trust-bar {
          width: min(calc(100% - 28px), var(--container));
          margin-top: -28px;
        }

        .expertise-board {
          gap: 30px;
          margin-top: 38px;
        }

        .expertise-visual {
          min-height: 360px;
        }

        .expertise-item {
          grid-template-columns: 1fr;
          gap: 8px;
          padding: 26px 0;
        }

        .gallery-side {
          grid-template-columns: 1fr;
        }

        .gallery-main,
        .gallery-tile {
          min-height: 300px;
          border-radius: var(--radius-md);
        }

        .step {
          grid-template-columns: 1fr;
          gap: 14px;
        }

        .faq-panel {
          margin-top: 28px;
          gap: 18px;
        }

        .faq-item summary {
          grid-template-columns: 32px 1fr 24px;
          gap: 12px;
          padding: 16px 0 13px;
        }

        .faq-index {
          font-size: 16px;
        }

        .faq-toggle {
          width: 24px;
          height: 24px;
        }

        .faq-item p {
          padding: 0 6px 20px 44px;
        }

        .contact-intro,
        .form-panel {
          padding: 24px;
          border-radius: var(--radius-md);
        }

        .form-grid {
          grid-template-columns: 1fr;
        }

        .form-footer {
          align-items: stretch;
          flex-direction: column;
        }

        .form-footer .btn {
          width: 100%;
        }

        .form-footer .wpcf7-submit {
          width: 100%;
        }

        .site-footer {
          grid-template-columns: 1fr;
        }

        .footer-links {
          justify-content: flex-start;
        }
      }
