:root {
  --turquoise: #00d6d8;
  --yellow: #f2e500;
  --violet: #8f5bff;
  --ink: #020304;
  --ivory: #f8f7f3;
  --paper: #fffefa;
  --line: rgba(2, 3, 4, 0.18);
  --muted: #656565;
  --shell: 1480px;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --sans: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--yellow); color: var(--ink); }

.shell, .shell-wide { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.shell-wide { width: min(100%, 1760px); }
.section { padding-block: clamp(64px, 8vw, 128px); }
.mono, .eyebrow, .footer-title { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.accent { color: #6550e8; }
.sr-only, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; background: var(--yellow); padding: 12px 16px; font-weight: 800; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(248, 247, 243, .96); border-bottom: 1px solid var(--ink); backdrop-filter: blur(10px); }
.site-header.is-compact { box-shadow: 0 8px 28px rgba(2, 3, 4, .08); }
.site-header__inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; width: fit-content; font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 900; letter-spacing: -.055em; line-height: 1; }
.brand img { max-height: 44px; width: auto; }
.primary-nav { justify-self: center; }
.d240-menu { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.d240-menu a { position: relative; display: block; padding: 28px 0 24px; font-family: var(--mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; }
.d240-menu a::after { position: absolute; right: 0; bottom: 18px; left: 0; height: 3px; background: var(--turquoise); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .22s ease; }
.d240-menu a:hover::after, .d240-menu .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.cart-link { position: relative; justify-self: end; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; }
.cart-link svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.d240-cart-count { position: absolute; top: 1px; right: 0; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--turquoise); font: 500 .66rem/1 var(--mono); }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; }

.hero { display: grid; grid-template-columns: minmax(0, 62%) minmax(360px, 38%); min-height: min(850px, calc(100svh - 78px)); border-bottom: 1px solid var(--ink); }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 6vw, 110px) clamp(32px, 4vw, 80px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.eyebrow span { width: 12px; height: 12px; background: var(--yellow); }
.hero h1 { max-width: 1050px; margin: 0; font-size: clamp(3.6rem, 6.6vw, 8rem); font-weight: 900; letter-spacing: -.07em; line-height: .86; text-wrap: balance; }
.hero__lead { margin: 30px 0 34px; font-family: var(--mono); font-size: clamp(1rem, 1.4vw, 1.32rem); }
.hero-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 930px; margin-bottom: 28px; }
.mini-product { border: 1px solid var(--line); background: var(--paper); transition: transform .2s ease, border-color .2s ease; }
.mini-product:hover { border-color: var(--ink); transform: translateY(-4px); }
.mini-product .product-art { aspect-ratio: 1.25; }
.mini-product strong { display: block; min-height: 52px; padding: 11px 12px 2px; font-size: .72rem; line-height: 1.2; }
.mini-product small { display: block; padding: 4px 12px 12px; color: #008e91; font-family: var(--mono); font-size: .72rem; font-weight: 500; }
.product-art { display: flex; position: relative; overflow: hidden; align-items: flex-end; justify-content: space-between; background: var(--ink); color: var(--ivory); }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-art--type { padding: 14px; }
.product-art--type b { color: var(--turquoise); font: 500 1.5rem/1 var(--mono); }
.product-art--type em { writing-mode: vertical-rl; color: rgba(255,255,255,.64); font: normal 500 .55rem/1 var(--mono); letter-spacing: .08em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 58px; padding: 0 24px; font-family: var(--mono); font-size: .85rem; font-weight: 500; text-transform: uppercase; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { align-self: flex-start; min-width: 300px; background: var(--turquoise); }
.button--primary:hover { background: var(--ink); color: var(--ivory); }

/* CookieYes is an external CMP; this layer keeps its accessible controls in the portal's visual system. */
.cky-consent-container .cky-consent-bar,
.cky-modal .cky-preference-center {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  box-shadow: 12px 12px 0 var(--ink) !important;
  font-family: var(--sans) !important;
}
.cky-consent-container .cky-title,
.cky-modal .cky-preference-title,
.cky-modal .cky-accordion-btn { color: var(--ink) !important; font-family: var(--mono) !important; font-weight: 500 !important; letter-spacing: .035em; text-transform: uppercase; }
.cky-consent-container .cky-notice-des,
.cky-modal .cky-preference-content-wrapper { color: var(--ink) !important; }
.cky-consent-container .cky-btn,
.cky-modal .cky-btn,
.cky-btn-revisit-wrapper {
  min-height: 44px !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  background: var(--turquoise) !important;
  color: var(--ink) !important;
  font-family: var(--mono) !important;
  font-size: .72rem !important;
  font-weight: 500 !important;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.cky-consent-container .cky-btn:hover,
.cky-consent-container .cky-btn:focus-visible,
.cky-modal .cky-btn:hover,
.cky-modal .cky-btn:focus-visible { background: var(--yellow) !important; color: var(--ink) !important; opacity: 1 !important; outline: 2px solid var(--ink) !important; outline-offset: 2px; }
.cky-btn-revisit-wrapper { display: grid !important; place-items: center; width: 46px !important; height: 46px !important; }
.cky-btn-revisit-wrapper .cky-btn-revisit { min-height: 0 !important; }
.cky-modal .cky-switch input[type="checkbox"]:checked { background: var(--turquoise) !important; }
@media (max-width: 576px) {
  .cky-consent-container .cky-consent-bar { box-shadow: 0 -8px 0 var(--ink) !important; }
}
.hero__visual { display: flex; position: relative; flex-direction: column; justify-content: space-between; min-height: 100%; padding: clamp(30px, 5vw, 80px); overflow: hidden; background: var(--ink); color: var(--ivory); border-left: 1px solid var(--ink); }
.hero__visual.has-image { padding: 0; }
.hero__visual.has-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.hero-wordmark { margin-block: auto; font-size: clamp(3.1rem, 6vw, 7rem); font-weight: 900; letter-spacing: -.075em; line-height: .76; }
.hero-wordmark span { display: block; }
.hero-wordmark span:nth-child(2) { color: var(--turquoise); }
.hero-wordmark span:nth-child(3) { color: var(--yellow); }
.hero__visual > p { margin: 0; color: rgba(255,255,255,.55); font: 500 .72rem/1.4 var(--mono); letter-spacing: .08em; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 900; letter-spacing: -.04em; }
.section-heading a, .section-heading span { font-family: var(--mono); font-size: .75rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { border: 1px solid var(--line); background: var(--paper); }
.product-card__media { display: block; aspect-ratio: 1.16; overflow: hidden; background: var(--ink); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-art--large { padding: 24px; }
.product-art--large b { color: var(--violet); font: 500 clamp(2rem, 4vw, 4.5rem)/1 var(--mono); }
.product-art--large em { color: rgba(255,255,255,.58); font: normal 500 .65rem/1 var(--mono); }
.product-card__body { padding: 22px; }
.product-card__body p { margin: 0 0 10px; color: var(--muted); }
.product-card h3 { min-height: 56px; margin: 0; font-size: 1.05rem; letter-spacing: -.03em; line-height: 1.2; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; font-family: var(--mono); font-size: .82rem; font-weight: 500; }
.product-card__meta span { color: #008e91; }
.product-card__meta a { display: grid; place-items: center; width: 38px; height: 38px; background: var(--yellow); }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; gap: clamp(48px, 8vw, 140px); }
.about__visual { display: flex; align-items: flex-end; justify-content: space-between; min-height: 570px; padding: clamp(28px, 4vw, 64px); overflow: hidden; background: #d7d6d1; border: 1px solid var(--line); }
.about__visual.has-image { padding: 0; }
.about__visual.has-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.about__number { font-size: clamp(7rem, 16vw, 15rem); font-weight: 900; letter-spacing: -.1em; line-height: .68; color: #62625e; }
.about__visual div { display: grid; gap: 5px; font-family: var(--mono); font-size: .72rem; writing-mode: vertical-rl; }
.about__content { align-self: center; max-width: 670px; }
.about__content h2 { max-width: 650px; margin: 14px 0 28px; font-size: clamp(2.5rem, 5vw, 5.6rem); font-weight: 900; letter-spacing: -.07em; line-height: .9; }
.about__copy { max-width: 600px; font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.about__copy p { margin: 0 0 1em; }
.text-link { display: inline-block; margin-top: 22px; border-bottom: 3px solid var(--turquoise); font: 500 .8rem/2 var(--mono); }

.section--dark { background: var(--ink); color: var(--ivory); }
.section-heading--dark { border-color: rgba(255,255,255,.36); }
.section-heading--dark span { color: var(--violet); }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.18); }
.project-card { display: grid; position: relative; grid-template-rows: auto 1fr auto; min-height: 390px; padding: 28px; border-right: 1px solid rgba(255,255,255,.18); transition: background .22s ease, color .22s ease; }
.project-card:last-child { border-right: 0; }
.project-card:hover { background: var(--turquoise); color: var(--ink); }
.project-card__number { color: var(--violet); font: 500 clamp(2.5rem, 5vw, 5.8rem)/1 var(--mono); }
.project-card:hover .project-card__number { color: var(--ink); }
.project-card h3 { margin: 12px 0; font-size: 1.4rem; line-height: 1.05; }
.project-card p { color: rgba(255,255,255,.62); }
.project-card:hover p { color: var(--ink); }
.project-card__arrow { justify-self: end; font-size: 1.6rem; }

.post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.post-card { display: grid; grid-template-rows: 220px 1fr; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.post-card__media { display: flex; align-items: flex-end; padding: 22px; overflow: hidden; background: var(--ink); color: var(--ivory); font: 500 .72rem/1 var(--mono); }
.post-card__media img { width: calc(100% + 44px); max-width: none; height: calc(100% + 44px); margin: -22px; object-fit: cover; filter: grayscale(1); }
.post-card__body { padding: 24px; }
.post-card__body p { margin: 0 0 12px; color: var(--muted); }
.post-card__body h2, .post-card__body h3 { margin: 0 0 22px; font-size: 1.15rem; line-height: 1.22; }

.newsletter { background: var(--turquoise); }
.newsletter__inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(40px, 8vw, 140px); padding-block: clamp(52px, 6vw, 90px); }
.newsletter h2 { margin: 6px 0; font-size: clamp(2rem, 4vw, 4.6rem); font-weight: 900; letter-spacing: -.07em; line-height: .9; }
.newsletter p { max-width: 520px; }
.newsletter__form form { display: grid; grid-template-columns: 1fr auto; }
.newsletter__form input[type="email"] { min-width: 0; min-height: 58px; padding: 0 20px; border: 1px solid var(--ink); background: var(--ivory); border-radius: 0; }
.newsletter__form button { min-height: 58px; padding: 0 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); font: 500 .8rem/1 var(--mono); cursor: pointer; }
.newsletter__form button:hover { background: var(--yellow); color: var(--ink); }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; font-size: .78rem; }
.consent input { margin-top: 4px; accent-color: var(--ink); }
.hp-field { position: absolute; left: -9999px; }
.form-status { grid-column: 1/-1; font-family: var(--mono); font-size: .8rem; }

.site-footer { padding: 70px 0 24px; background: var(--ink); color: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 54px; }
.brand--footer { margin-bottom: 26px; }
.footer-grid p, .footer-grid a { display: block; margin: 0 0 10px; color: rgba(255,255,255,.6); font-size: .82rem; }
.footer-grid a:hover { color: var(--turquoise); }
.footer-grid .footer-title { margin-bottom: 18px; color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 70px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.48); font: 400 .68rem/1.4 var(--mono); }

.content-shell { width: min(calc(100% - 48px), 920px); min-height: 60vh; margin-inline: auto; padding-block: clamp(64px, 10vw, 150px); }
.content-shell--wide { width: min(calc(100% - 48px), var(--shell)); }
.page-header { margin-bottom: 50px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.page-header h1 { max-width: 1100px; margin: 0; font-size: clamp(3rem, 7vw, 7.5rem); font-weight: 900; letter-spacing: -.075em; line-height: .88; }
.entry-content { font-size: 1.08rem; }
.entry-content > * { max-width: 780px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3 { margin-top: 2em; letter-spacing: -.04em; line-height: 1.05; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--turquoise); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.woocommerce .woocommerce-breadcrumb { margin-bottom: 30px; font: 400 .75rem/1.4 var(--mono); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; padding-bottom: 22px; border: 1px solid var(--line); background: var(--paper); }
.woocommerce ul.products li.product a img { margin: 0 0 22px; aspect-ratio: 1.08; object-fit: cover; background: var(--ink); }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-inline: 20px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 60px; padding: 0; font-size: 1.1rem; }
.woocommerce ul.products li.product .price { color: #008e91; font: 500 .9rem/1.4 var(--mono); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 0; background: var(--turquoise); color: var(--ink); font-family: var(--mono); font-size: .78rem; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--ink); color: var(--ivory); }
.woocommerce div.product div.images img { background: var(--ink); }
.woocommerce div.product .product_title { font-size: clamp(2.4rem, 5vw, 5.2rem); letter-spacing: -.065em; line-height: .9; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #6550e8; font: 500 1.5rem/1.4 var(--mono); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--turquoise); background: var(--paper); }
.woocommerce-message::before, .woocommerce-info::before { color: #008e91; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single { min-height: 48px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); }
.wc-block-cart, .wc-block-checkout { max-width: var(--shell); margin-inline: auto; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); }
  .hero-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-product:nth-child(n+3) { display: none; }
  .product-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { border-bottom: 1px solid rgba(255,255,255,.18); }
  .project-card:nth-child(2n) { border-right: 0; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 66px; }
  .shell, .shell-wide, .content-shell, .content-shell--wide { width: min(calc(100% - 28px), var(--shell)); }
  .site-header__inner { min-height: 66px; grid-template-columns: 1fr auto auto; gap: 14px; }
  .brand { font-size: 1.1rem; }
  .nav-toggle { display: flex; align-items: center; gap: 8px; padding: 10px; font: 500 .72rem/1 var(--mono); text-transform: uppercase; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 1px; background: var(--ink); content: ""; transition: transform .2s ease; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -6px; }
  .nav-toggle__bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .primary-nav { position: fixed; inset: 66px 0 auto; display: none; padding: 18px 14px 30px; background: var(--ivory); border-bottom: 1px solid var(--ink); }
  .primary-nav.is-open { display: block; }
  .d240-menu { display: block; }
  .d240-menu a { padding: 16px 10px; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .d240-menu a::after { display: none; }
  .cart-link { width: 38px; height: 38px; }

  .hero { display: block; min-height: auto; }
  .hero__content { min-height: calc(100svh - 66px); padding: 54px 6px 38px; }
  .hero h1 { max-width: 700px; font-size: clamp(3.25rem, 14vw, 6.2rem); }
  .hero__lead { margin: 24px 0 28px; }
  .hero-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mini-product:nth-child(3) { display: block; }
  .mini-product strong { font-size: .65rem; }
  .button--primary { width: 100%; min-width: 0; }
  .hero__visual { display: none; }

  .section { padding-block: 70px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { max-width: 70%; }
  .product-grid { gap: 10px; }
  .product-card__body { padding: 16px; }
  .product-card__media { aspect-ratio: 1; }
  .about { grid-template-columns: 1fr; gap: 42px; }
  .about__visual { min-height: 420px; }
  .about__content h2 { font-size: clamp(3rem, 12vw, 5.4rem); }
  .project-card { min-height: 320px; padding: 22px; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero-products { overflow-x: auto; grid-template-columns: repeat(3, 145px); padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .mini-product { scroll-snap-align: start; }
  .product-grid, .post-grid, .project-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .project-card { min-height: 260px; border-right: 0; }
  .post-card { grid-template-columns: 38% 62%; grid-template-rows: minmax(190px, auto); }
  .post-card__body { padding: 18px; }
  .post-card__body p:last-child { display: none; }
  .newsletter__form form { grid-template-columns: 1fr; }
  .newsletter__form button { margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { display: grid; gap: 8px; }
  .section-heading a, .section-heading span { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Portal and current WooCommerce blocks, shared with the HTML preview. */
:focus-visible { outline: 3px solid #6550e8; outline-offset: 4px; }
.empty-state { grid-column: 1 / -1; padding: 28px; }
.hero-products:empty { display: none; }
.hero h1, .hero-wordmark, .page-header h1, .product-card h3, .post-card h2, .post-card h3 { overflow-wrap: anywhere; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; font-size: .82rem; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-nav a { text-decoration: underline; text-underline-offset: 3px; }
.d240-commerce-page .entry-content > * { max-width: none; }
.d240-commerce-page .entry-content h2, .d240-commerce-page .entry-content h3 { margin-top: 1em; }
.d240-commerce-page :is(.wc-block-components-button, .wp-element-button), .comments-area input[type="submit"] { background: var(--turquoise); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; font-family: var(--mono); padding: 16px 24px; text-decoration: none; }
.d240-commerce-page .wc-block-components-button:hover { background: var(--ink); color: var(--ivory); }
.d240-commerce-page :is(.wc-block-components-text-input input, .wc-block-components-combobox-control input, .wc-block-components-textarea, select) { border-radius: 0; background: var(--paper); border-color: var(--ink); }
.d240-commerce-page :is(.wc-block-components-sidebar, .wc-block-components-order-summary) { background: var(--paper); }
.d240-commerce-page .entry-content a:not(.wc-block-components-button):not(.button) { text-decoration-color: #008487; }
.comments-area { margin-top: 48px; }
.comments-area input:not([type="checkbox"]), .comments-area textarea, .search-form input { max-width: 100%; padding: 12px; }
.comments-area textarea { width: 100%; }
.comment-list { padding-left: 24px; }
.newsletter__form form > div { grid-column: 1 / -1; }
.newsletter__form :is(input[type="email"], input[type="text"]) { max-width: 100%; }
.newsletter__form input[type="checkbox"] { width: auto; }
.menu-item-has-children { position: relative; }
.d240-menu .menu-item-has-children > a { display: inline-block; }
.submenu-toggle { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 12px; }
.d240-menu .sub-menu { position: absolute; left: 0; min-width: 220px; padding: 12px; margin: 0; list-style: none; background: var(--ivory); border: 1px solid var(--ink); z-index: 110; }
.d240-menu .sub-menu .sub-menu { position: static; }
.d240-menu .sub-menu a { padding: 12px; }
.d240-menu [hidden] { display: none !important; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 820px) {
  .primary-nav { display: block; position: static; grid-column: 1 / -1; width: 100%; }
  .nav-toggle { display: none; }
  .js-nav .nav-toggle { display: flex; }
  .js-nav .primary-nav { display: none; position: fixed; max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; }
  .js-nav .primary-nav.is-open { display: block; }
  .d240-menu .sub-menu { position: static; min-width: 0; }
  .admin-bar.js-nav .primary-nav { top: 98px; max-height: calc(100dvh - 98px); }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar.js-nav .primary-nav { top: 112px; max-height: calc(100dvh - 112px); }
}
@media (max-width: 600px) {
  .admin-bar #wpadminbar { position: fixed; }
}

/* Makeover: shared rhythm and accessible controls. */
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #6550e8; outline-offset: 5px; }
.header-actions { display:flex; align-items:center; justify-self:end; gap:8px; }
.header-search { position:relative; }
.header-search summary { display:grid; place-items:center; width:44px; height:44px; cursor:pointer; list-style:none; }
.header-search summary::-webkit-details-marker { display:none; }
.header-search svg { width:23px; fill:none; stroke:currentColor; stroke-width:1.8; }
.header-search form { position:absolute; right:0; top:calc(100% + 14px); width:min(350px,calc(100vw - 40px)); padding:22px; border:1px solid var(--ink); background:var(--paper); box-shadow:0 12px 35px #02030420; }
.header-search label { display:block; margin-bottom:8px; font-weight:600; }
.header-search form div { display:flex; }
.header-search input { min-width:0; width:100%; border:1px solid var(--line); padding:10px; }
.header-search button { border:1px solid var(--ink); background:var(--ink); color:var(--ivory); padding:10px; cursor:pointer; }
.social-links { display:flex; align-items:center; gap:8px; margin-right:auto; }
.social-links a { display:grid; place-items:center; width:44px; height:44px; border:1px solid #ffffff40; border-radius:50%; color:var(--ivory); }
.social-links a:hover { background:var(--turquoise); color:var(--ink); }
.social-links svg { width:20px; height:20px; fill:currentColor; }
.footer-bottom { align-items:center; gap:24px; color:#ffffffb8; }
.makeover-home h2 { margin:0 0 28px; max-width:1000px; font-size:clamp(2rem,4.2vw,4.6rem); line-height:1.06; font-weight:800; letter-spacing:-.055em; text-wrap:balance; }
.makeover-home .wp-block-group > p { max-width:72ch; margin:0 0 22px; font-size:clamp(1.05rem,1.25vw,1.2rem); line-height:1.75; }
.makeover-home .wp-block-group { margin-bottom:36px; }
.hero--makeover { grid-template-columns:minmax(0,58%) minmax(0,42%); min-height:680px; }
.hero--makeover .hero__content { padding:clamp(40px,5vw,90px); }
.hero--makeover h1 { font-size:clamp(2.7rem,5.15vw,6rem); line-height:1.02; letter-spacing:-.065em; overflow-wrap:normal; text-wrap:initial; }
.hero--makeover h1 span { display:block; }
.hero--makeover h1 span:nth-child(2) { color:#6350be; }
.hero--makeover .hero__lead { max-width:46ch; font-family:var(--sans); font-size:clamp(1.05rem,1.35vw,1.25rem); line-height:1.7; }
.hero__actions { display:flex; flex-wrap:wrap; align-items:center; gap:24px; }
.hero--makeover .button { min-width:0; gap:24px; }
.hero--makeover .hero__visual { display:block; padding:0; min-height:580px; isolation:isolate; }
.hero--makeover .hero__visual img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:58% center; filter:none; }
.hero__shade { position:absolute; inset:0; background:rgba(0,0,0,.4); z-index:1; }
/* Center the three lines at 75% of the photo, keeping room for the signature. */
.hero__profession { position:absolute; inset-inline:0; bottom:max(76px,calc(25% - 1.425em)); z-index:2; padding:0 clamp(28px,4vw,68px); font-size:clamp(3.2rem,6.2vw,7rem); line-height:.95; font-weight:850; letter-spacing:-.06em; color:white; }
.hero__profession span { display:block; }
.hero--makeover .hero__signature { position:absolute; bottom:30px; left:30px; right:30px; z-index:2; color:white; }
.home-trust { padding-block:44px; border-bottom:1px solid var(--line); }
.home-trust h2 { font-size:1.5rem; letter-spacing:-.025em; }
.home-trust .wp-block-group { margin-bottom:20px; }
.trust-labels { display:flex; gap:24px; flex-wrap:wrap; font:500 .8rem var(--mono); }
.trust-labels span { display:flex; align-items:center; gap:10px; }
.trust-labels span::before { content:'↗'; color:#6350be; font-size:1.3rem; }
.home-process .wp-block-group, .home-categories .wp-block-group { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.home-process h2, .home-categories h2 { grid-column:1/-1; }
.home-process .wp-block-group > p { padding-top:24px; border-top:2px solid var(--turquoise); }
.home-featured { background:#eeede8; }
.offer-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; margin-block:32px; }
.offer-card { display:flex; flex-direction:column; min-width:0; border:1px solid var(--line); background:var(--paper); }
.offer-card__art { position:relative; display:flex; flex-direction:column; justify-content:space-between; padding:22px; aspect-ratio:1.3; background:var(--ink); color:var(--turquoise); overflow:hidden; }
.offer-card:nth-child(2) .offer-card__art { background:var(--violet); color:var(--ink); }
.offer-card:nth-child(3) .offer-card__art { background:var(--turquoise); color:var(--ink); }
.offer-card:nth-child(4) .offer-card__art { background:var(--yellow); color:var(--ink); }
.offer-card__art img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.offer-card__mark { align-self:flex-end; font-size:5rem; line-height:1; }
.offer-card__body { flex:1; display:flex; flex-direction:column; padding:24px; }
.offer-card h3 { margin:0 0 16px; font-size:1.35rem; letter-spacing:-.035em; line-height:1.25; overflow-wrap:anywhere; }
.offer-card p { font-size:.95rem; }
.offer-card .eyebrow { font-size:.65rem; }
.offer-card__bottom { display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; margin-top:auto; padding-top:24px; border-top:1px solid var(--line); }
.offer-card__price { font-weight:700; font-size:1.3rem; }
.offer-card .text-link { font-size:.73rem; }
.catalog-notice { border-left:3px solid var(--violet); padding:18px 24px; background:var(--paper); }
.home-problem { background:var(--ink); color:var(--ivory); }
.home-problem h2 { color:var(--turquoise); }
.home-recommendation .wp-block-group { max-width:960px; }
.home-proof { background:#e9e7f0; }
.case-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.case-card { min-width:0; border:1px solid var(--line); background:var(--paper); }
.case-card__visual { display:flex; position:relative; flex-direction:column; justify-content:space-between; gap:20px; aspect-ratio:1.2; padding:28px; overflow:hidden; background:var(--ink); color:var(--ivory); }
.case-card__visual img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.case-card__visual strong { font-size:clamp(1.4rem,2.2vw,2.3rem); line-height:1.15; letter-spacing:-.04em; }
.case-card__visual > span:last-child { align-self:flex-end; color:var(--turquoise); font-size:2rem; }
.case-card:nth-child(2) .case-card__visual { background:#62509b; }
.case-card:nth-child(3) .case-card__visual { background:#134b4d; }
.case-card__body { padding:26px; }
.case-card h3 { font-size:1.4rem; line-height:1.25; letter-spacing:-.035em; }
.testimonial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:40px; }
.testimonial-grid figure { margin:0; padding:28px; background:var(--paper); }
.testimonial-grid blockquote { margin:0 0 18px; font-size:1.15rem; }
.home-categories .wp-block-group > p { margin:0; border:1px solid var(--ink); padding:28px; background:var(--turquoise); }
.home-categories .wp-block-group > p:nth-of-type(2) { background:var(--yellow); }
.home-categories .wp-block-group > p:nth-of-type(3) { background:#cbb5ff; }
.home-faq { border-block:1px solid var(--line); }
.home-faq .wp-block-group { max-width:1000px; margin-inline:auto; }
.home-faq details { border-top:1px solid var(--line); padding:22px 0; }
.home-faq summary { cursor:pointer; font-size:1.15rem; font-weight:600; min-height:32px; }
.home-faq details p { max-width:70ch; font-size:1.05rem; line-height:1.75; margin:18px 0 0; }
.story-gallery { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:24px; }
.story-gallery figure { grid-column:span 2; margin:0; }
.story-gallery figure:nth-child(-n+2) { grid-column:span 3; }
.story-gallery img { aspect-ratio:1.25; width:100%; object-fit:cover; }
.story-gallery figcaption { margin-top:12px; font:400 .78rem/1.6 var(--mono); }
.home-author { background:var(--turquoise); }
.author-grid { display:grid; grid-template-columns:1fr 1.2fr; align-items:center; gap:clamp(28px,6vw,100px); }
.author-photo img { width:100%; aspect-ratio:.9; object-fit:cover; }
.home-blog .post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin-bottom:28px; }
.home-blog article { border-top:2px solid var(--ink); padding-top:24px; }
.home-blog h3 { font-size:1.5rem; line-height:1.25; }
.home-newsletter { background:var(--ink); color:var(--ivory); }
.home-newsletter h2 { color:var(--yellow); }
.home-final { text-align:center; }
.home-final h2, .home-final .wp-block-group > p { margin-inline:auto; }
@media (max-width:1120px) {
 .site-header__inner { gap:16px; }
 .d240-menu { gap:20px; }
 .offer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .hero--makeover { min-height:600px; }
 .hero--makeover .hero__content { padding:36px; }
 .hero--makeover h1 { font-size:clamp(2.4rem,5vw,4rem); }
}
@media (min-width:821px) {
 .hero--makeover .hero__content { padding-left:0; }
 .hero__profession { bottom:max(116px,calc(25% - 1.425em + 40px)); }
}
@media (max-width:820px) {
 .header-actions { grid-column:3; grid-row:1; }
 .site-header__inner { grid-template-columns:1fr auto auto; gap:12px; }
 .hero--makeover { grid-template-columns:1fr; min-height:0; }
 .hero--makeover .hero__content { padding:48px 24px; }
 .hero--makeover h1 { font-size:clamp(1.8rem,8.5vw,4.4rem); }
 .hero--makeover .hero__visual { min-height:0; aspect-ratio:1.1; border-left:0; border-top:1px solid var(--ink); }
 .hero__profession { font-size:clamp(3.4rem,11vw,6rem); padding-inline:28px; }
 .home-process .wp-block-group, .home-categories .wp-block-group, .case-grid, .testimonial-grid, .author-grid { grid-template-columns:1fr; }
 .home-process .wp-block-group, .home-categories .wp-block-group { gap:18px; }
 .home-process .wp-block-group > p { margin-bottom:0; }
 .author-photo { max-width:560px; }
 .home-blog .post-grid { grid-template-columns:1fr; }
}
@media (max-width:560px) {
 .header-actions { gap:0; }
 .brand { font-size:1.05rem; }
 .offer-grid { grid-template-columns:1fr; }
 .offer-card__art { aspect-ratio:1.8; }
 .hero__actions { align-items:stretch; flex-direction:column; }
 .hero__actions .button { align-self:stretch; }
 .story-gallery { grid-template-columns:1fr; }
 .story-gallery figure, .story-gallery figure:nth-child(-n+2) { grid-column:1; }
 .footer-bottom { justify-items:start; gap:20px; }
 .social-links { margin-right:0; }
}

.d240-newsletter { max-width:760px; }
.d240-newsletter > label { display:block; margin-bottom:10px; }
.newsletter-input-row { display:flex; gap:12px; margin-bottom:20px; }
.newsletter-input-row input { flex:1; min-width:0; min-height:52px; padding:14px; border:1px solid #ffffff70; background:var(--paper); color:var(--ink); }
.newsletter-input-row button { padding:14px 22px; min-height:52px; border:0; background:var(--yellow); color:var(--ink); cursor:pointer; }
.newsletter-input-row button:disabled { opacity:.6; cursor:wait; }
.newsletter-consent { font-size:.9rem; line-height:1.7; }
.newsletter-consent input { width:18px; height:18px; vertical-align:middle; margin-right:10px; }
.d240-newsletter a { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:560px){.newsletter-input-row{flex-direction:column;}}
