:root {
	color-scheme: light;
	--color-ink: #18212b;
	--color-muted: #52635f;
	--color-paper: #fafbf9;
	--color-surface: #fff;
	--color-surface-soft: #f0f5f3;
	--color-line: #dce6e2;
	--color-accent: #147d79;
	--color-accent-strong: #0d5e5b;
	--font-body: Inter, "Segoe UI", sans-serif;
	--font-display: Inter, "Segoe UI", sans-serif;
	--font-size-h1: clamp(2.5rem, 5vw, 4.5rem);
	--font-size-h2: clamp(2rem, 4.2vw, 3.5rem);
	--font-size-h3: clamp(1.35rem, 2.4vw, 1.8rem);
	--font-size-h4: 1.25rem;
	--font-size-h5: 1.1rem;
	--font-size-h6: 1rem;
	--content-width: 82.5rem;
	--reading-width: 54rem;
	--space-1: .5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2rem;
	--space-6: 3rem;
	--space-8: 4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font: 400 1rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--color-accent-strong); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
::selection { background: #bce4de; color: var(--color-ink); }
.container { width: min(calc(100% - 3rem), var(--content-width)); margin-inline: auto; }
.reading-width { max-width: var(--reading-width); }
.skip-link { position: absolute; z-index: 20; top: .5rem; left: .5rem; padding: .75rem 1rem; transform: translateY(-160%); background: var(--color-surface); }
.skip-link:focus { transform: translateY(0); }
[hidden] { display: none !important; }

/* Header */
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--color-line); background: var(--color-paper); }
.site-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; grid-template-areas: "brand navigation account cart cta"; align-items: center; gap: clamp(.75rem, 1.8vw, 1.75rem); min-height: 5.1rem; }
.site-branding { grid-area: brand; }
.site-branding__link { display: inline-flex; align-items: center; gap: .65rem; color: var(--color-ink); text-decoration: none; }
.site-branding__mark { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border: 1px solid var(--color-ink); font-size: .9rem; font-weight: 750; letter-spacing: -.1em; }
.site-branding__mark span { color: var(--color-accent); }
.site-branding__name { font-size: 1.08rem; font-weight: 680; letter-spacing: -.045em; }
.primary-navigation { grid-area: navigation; justify-self: center; min-width: 0; }
.primary-navigation__list { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: clamp(.75rem, 1.6vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.primary-navigation__list > li { position: relative; display: flex; align-items: center; }
.primary-navigation a { color: var(--color-muted); font-size: .84rem; font-weight: 560; text-decoration: none; transition: color .18s ease; }
.primary-navigation a:hover, .primary-navigation a:focus-visible { color: var(--color-accent-strong); }
.primary-navigation .current-menu-item > a, .primary-navigation .current_page_item > a, .primary-navigation a[aria-current="page"] { color: var(--color-accent-strong); }
.primary-navigation__list > li > a { white-space: nowrap; }
.primary-navigation .sub-menu { display: block; margin: 0; padding: 0; list-style: none; }
.primary-navigation:not(.is-enhanced) .primary-navigation__list { flex-wrap: wrap; }
.primary-navigation:not(.is-enhanced) .primary-navigation__list > .menu-item-has-children { flex-wrap: wrap; }
.primary-navigation:not(.is-enhanced) .primary-navigation__list > .menu-item-has-children > .sub-menu { position: static; width: auto; flex-basis: 100%; padding: .25rem .65rem; border: 0; background: transparent; box-shadow: none; }
.primary-navigation.is-enhanced .sub-menu { display: none; }
.primary-navigation.is-enhanced .menu-item.is-submenu-open > .sub-menu { display: block; }
.primary-navigation__list > .menu-item-has-children > .sub-menu { position: absolute; z-index: 12; top: calc(100% + .9rem); left: -.9rem; width: min(21rem, calc(100vw - 2rem)); padding: .4rem; border: 1px solid var(--color-line); background: var(--color-paper); box-shadow: 0 .75rem 2rem rgb(24 33 43 / 10%); }
.primary-navigation__list > .menu-item-has-children > .sub-menu::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 1rem; content: ""; }
.primary-navigation .sub-menu li { display: block; }
.primary-navigation .sub-menu a { display: block; padding: .7rem .75rem; color: var(--color-ink); }
.primary-navigation .sub-menu a:hover, .primary-navigation .sub-menu a:focus-visible { background: var(--color-surface-soft); }
.menu-item-description { display: block; margin-top: .12rem; color: var(--color-muted); font-size: .72rem; font-weight: 400; line-height: 1.4; white-space: normal; }
.submenu-toggle { display: inline-grid; width: 1.75rem; height: 1.75rem; flex: 0 0 auto; place-items: center; margin-left: .15rem; padding: 0; border: 0; background: transparent; color: var(--color-muted); cursor: pointer; }
.submenu-toggle::before { width: .38rem; height: .38rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; content: ""; transform: translateY(-.1rem) rotate(45deg); }
.submenu-toggle[aria-expanded="true"]::before { transform: translateY(.1rem) rotate(225deg); }
.primary-navigation__mobile-actions { display: none; }
.site-header__icon-link { display: grid; width: 2rem; height: 2rem; place-items: center; color: var(--color-ink); }
.site-header__icon-link svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.site-header__icon-link:hover, .site-header__icon-link:focus-visible, .site-header__icon-link[aria-current="page"] { color: var(--color-accent-strong); }
.site-header__cta { grid-area: cta; justify-self: end; display: inline-flex; align-items: center; gap: .8rem; color: var(--color-ink); font-size: .84rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-header__cta span { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--color-line); color: var(--color-accent-strong); transition: background .2s ease, color .2s ease; }
.site-header__cta:hover span { background: var(--color-accent); color: white; }
.site-header__account { grid-area: account; }
.site-header__cart { grid-area: cart; }
.menu-toggle { display: none; grid-area: toggle; }

/* Shared type and actions */
h1, h2, h3, h4, h5, h6, p { margin-top: 0; }
h1, h2, h3 { color: var(--color-ink); font-family: var(--font-display); font-weight: 610; line-height: 1.08; letter-spacing: -.055em; }
h4, h5, h6 { color: var(--color-ink); font-family: var(--font-display); font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
h1 { margin-bottom: 1.5rem; font-size: var(--font-size-h1); }
h2 { margin-bottom: 0; font-size: var(--font-size-h2); }
h3 { margin-bottom: .75rem; font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }
.hero h1 { max-width: 10.5ch; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.25rem; color: var(--color-accent-strong); font-size: .7rem; font-weight: 720; letter-spacing: .13em; line-height: 1.45; text-transform: uppercase; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: 1.1rem; padding: .75rem 1.15rem; font-size: .87rem; font-weight: 650; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); text-decoration: none; }
.button--primary { background: var(--color-accent); color: #fff; }
.button--primary:hover { background: var(--color-accent-strong); color: #fff; }
.button--light { background: var(--color-paper); color: var(--color-ink); }
.button--light:hover { background: #dce6e2; color: var(--color-ink); }
.text-link { display: inline-flex; align-items: center; gap: .8rem; color: var(--color-ink); font-size: .88rem; font-weight: 620; text-decoration: none; }
.text-link span { color: var(--color-accent); transition: transform .2s ease; }
.text-link:hover span { transform: translate(2px, -2px); }
.section { padding-block: 32px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-heading > p { max-width: 28rem; margin: 0 0 .35rem; color: var(--color-muted); font-size: 1.02rem; }
.section-heading--split h2 { max-width: 13ch; }

/* Direction Canvas hero */
.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 9vw, 8rem) 0 5rem; background: var(--color-paper); }
.hero::before { position: absolute; inset: 0 0 2rem 48%; background-image: linear-gradient(to right, rgba(20,125,121,.055) 1px, transparent 1px), linear-gradient(to bottom, rgba(20,125,121,.055) 1px, transparent 1px); background-size: 2.5rem 2.5rem; content: ""; mask-image: linear-gradient(90deg, transparent, #000 22%, #000 82%, transparent); pointer-events: none; }
.hero__layout { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero__copy { position: relative; z-index: 1; padding-block: 1rem 2rem; }
.hero .eyebrow { max-width: 34rem; }
.status-dot, .product__status span { width: .48rem; height: .48rem; flex: 0 0 auto; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 .22rem rgba(20,125,121,.12); }
.hero__intro { max-width: 35rem; margin-bottom: 1.7rem; color: var(--color-muted); font-size: clamp(1.06rem, 1.55vw, 1.25rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.hero__index { margin: 3.7rem 0 0; color: var(--color-muted); font-size: .75rem; }
.hero__index span { margin-right: .75rem; color: var(--color-accent-strong); font-weight: 700; letter-spacing: .08em; }
.direction-canvas { position: relative; min-width: 0; padding: 1rem 1rem .8rem; border: 1px solid rgba(20,125,121,.18); background: rgba(250,251,249,.62); }
.direction-canvas__topline, .direction-canvas__caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--color-muted); font: 600 .59rem/1.4 var(--font-body); letter-spacing: .1em; }
.direction-canvas__drawing { display: block; width: 100%; height: auto; overflow: visible; }
.canvas-path { fill: none; vector-effect: non-scaling-stroke; }
.canvas-path--fine { stroke: #a9cbc5; stroke-dasharray: 2 7; stroke-width: 1; }
.canvas-path--main { stroke: var(--color-accent); stroke-linecap: square; stroke-linejoin: bevel; stroke-width: 2; stroke-dasharray: 920; stroke-dashoffset: 920; animation: path-draw 1.7s .2s ease-out forwards; }
.canvas-path--branch { fill: none; stroke: #94bdb7; stroke-dasharray: 3 6; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.canvas-node { fill: var(--color-paper); stroke: var(--color-accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.canvas-node--start { fill: var(--color-accent); }
.canvas-node--end { fill: #fff; stroke-width: 3; }
.canvas-node--branch { fill: var(--color-accent); }
.canvas-label, .canvas-note { fill: var(--color-accent-strong); font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 1.4px; }
.canvas-note { fill: var(--color-muted); font-size: 8px; font-weight: 600; }
.direction-canvas__caption { padding-top: .7rem; border-top: 1px solid var(--color-line); letter-spacing: .03em; }
.hero__rail { display: flex; justify-content: space-between; width: min(calc(100% - 3rem), var(--content-width)); margin: clamp(3rem, 7vw, 6.2rem) auto 0; padding-top: 1rem; border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: .62rem; font-weight: 650; letter-spacing: .12em; }
@keyframes path-draw { to { stroke-dashoffset: 0; } }

/* Capabilities */
.services { background: var(--color-surface-soft); }
.section-heading--split { align-items: end; }
.service-list { border-top: 1px solid #cbd8d4; }
.service-row { display: grid; grid-template-columns: 4rem minmax(14rem, 1.1fr) minmax(15rem, .95fr) minmax(10rem, .8fr); align-items: center; gap: 1.4rem; padding: 1.7rem .25rem; border-bottom: 1px solid #cbd8d4; }
.service-row__number { align-self: start; padding-top: .4rem; color: var(--color-accent-strong); font-size: .75rem; font-weight: 700; }
.service-row__title { display: flex; align-items: center; gap: .8rem; }
.service-row__title h3 { margin: 0; }
.service-row__title a { display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border: 1px solid #cbd8d4; color: var(--color-accent-strong); text-decoration: none; transition: background .2s ease; }
.service-row__title a:hover { background: #dce9e5; }
.service-row > p { max-width: 25rem; margin: 0; color: var(--color-muted); font-size: .9rem; }
.service-row__tag { justify-self: end; color: #65756f; font-size: .58rem; font-weight: 670; letter-spacing: .1em; text-align: right; }

/* Selected work */
.work { overflow: hidden; background: var(--color-paper); }
.section-heading--work { align-items: end; }
.section-heading--work h2 { max-width: 12ch; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.project--tvet { margin-top: clamp(3rem, 9vw, 8.5rem); }
.project-art { position: relative; display: flex; min-height: clamp(18rem, 35vw, 32rem); flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(1.2rem, 3vw, 2.2rem); color: var(--color-ink); text-decoration: none; }
.project-art:hover { text-decoration: none; }
.project-art__index, .project-art__note { position: relative; z-index: 1; color: currentColor; font-size: .59rem; font-weight: 680; letter-spacing: .12em; line-height: 1.6; }
.project-art__note { align-self: end; text-align: right; opacity: .66; }
.project-art__wordmark { position: relative; z-index: 1; font-size: clamp(4rem, 9vw, 8.5rem); font-weight: 720; line-height: .83; letter-spacing: -.09em; transition: transform .35s ease; }
.project-art:hover .project-art__wordmark { transform: translateX(.25rem); }
.project-art__wordmark > span { vertical-align: top; font-size: .17em; letter-spacing: 0; }
.project-art__descriptor { position: absolute; z-index: 1; right: 2rem; bottom: 5rem; font-size: .66rem; font-weight: 670; letter-spacing: .14em; line-height: 1.7; text-align: right; }
.project-art--ocake { min-height: clamp(22rem, 42vw, 35rem); background: #f2e9dd; }
.project-art--ocake::before { position: absolute; inset: 10% 10% 13% 31%; border: 1px solid rgba(115,91,71,.35); content: ""; transform: rotate(7deg); }
.project-art--ocake::after { position: absolute; top: 19%; right: 16%; width: clamp(7rem, 18vw, 15rem); aspect-ratio: 1; border: 1px solid rgba(115,91,71,.35); border-radius: 50%; content: ""; }
.project-art--ocake .project-art__wordmark { align-self: center; margin-top: .4em; color: #4f4038; }
.project-art--ocake .project-art__descriptor { color: #735b47; }
.project-art--tvet { min-height: clamp(19rem, 32vw, 27rem); background: #dfece8; }
.project-art--tvet::before { position: absolute; inset: 18% 12% 17% 20%; border: 1px solid rgba(20,125,121,.28); content: ""; transform: skewY(-9deg); }
.project-art--tvet .project-art__wordmark { align-self: center; margin-top: .2em; color: var(--color-accent-strong); font-size: clamp(4rem, 7.4vw, 7rem); }
.project-art--tvet .project-art__wordmark i { color: var(--color-ink); font-size: .44em; font-style: normal; letter-spacing: .24em; }
.project-art__route { position: absolute; top: 1.5rem; right: 1.5rem; display: flex; align-items: center; }
.project-art__route i { display: block; width: .45rem; height: .45rem; margin-left: 1.3rem; border: 1px solid var(--color-accent); border-radius: 50%; background: #dfece8; }
.project-art__route i + i { position: relative; }
.project-art__route i + i::before { position: absolute; top: 50%; right: 100%; width: 1.3rem; border-top: 1px solid #7aa9a1; content: ""; }
.project__meta { display: flex; justify-content: space-between; gap: 1.5rem; padding-top: 1.5rem; }
.project__meta .eyebrow { margin-bottom: .75rem; font-size: .61rem; }
.project__meta h3 { margin-bottom: .6rem; }
.project__meta h3 a { color: inherit; text-decoration: none; }
.project__meta h3 a span { color: var(--color-accent); font-size: .75em; }
.project__meta p { max-width: 32rem; margin-bottom: .35rem; color: var(--color-muted); font-size: .9rem; }
.project__number { color: var(--color-accent); font-size: .75rem; font-weight: 700; }
.project__technology { font-size: .75rem !important; }
.project__source-note { color: #75827e; }
.work__note, .products__note { margin: 2rem 0 0; color: #697873; font-size: .74rem; }
.work__note span { color: var(--color-accent); }

/* Products */
.products { background: var(--color-surface-soft); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.product { min-width: 0; }
.product__visual { position: relative; display: flex; min-height: clamp(15rem, 27vw, 23rem); flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(1.25rem, 3vw, 2rem); }
.product__visual::before { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(20,125,121,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(20,125,121,.08) 1px, transparent 1px); background-size: 2rem 2rem; content: ""; }
.product__visual-label, .product__visual-foot, .traffic-coordinates { position: relative; z-index: 1; font-size: .59rem; font-weight: 680; letter-spacing: .12em; }
.product__visual-foot { color: var(--color-muted); }
.product__visual--tags { background: #f9fbf8; }
.tag-cloud { position: relative; z-index: 1; display: flex; max-width: 27rem; flex-wrap: wrap; align-items: center; gap: .75rem; align-self: center; transform: rotate(-5deg); }
.tag-cloud i { padding: .65rem .9rem; border: 1px solid #cbd8d4; background: rgba(250,251,249,.92); color: #3c514b; font-size: clamp(.75rem, 1.3vw, 1.05rem); font-style: normal; }
.tag-cloud .tag-cloud__active { border-color: var(--color-accent); background: var(--color-accent); color: white; }
.product__visual--traffic { background: #e6eeeb; }
.traffic-line { position: relative; z-index: 1; display: flex; height: 6rem; align-items: center; justify-content: space-between; margin-inline: 1rem; }
.traffic-line::before { position: absolute; right: 0; left: 0; border-top: 1px solid #80aaa3; content: ""; }
.traffic-line i { position: relative; width: .78rem; height: .78rem; border: 2px solid var(--color-accent); border-radius: 50%; background: #e6eeeb; }
.traffic-line i:nth-child(2), .traffic-line i:nth-child(4) { transform: translateY(-1.4rem); }
.traffic-line i:nth-child(3) { width: 1.1rem; height: 1.1rem; background: var(--color-accent); }
.traffic-coordinates { align-self: center; margin-top: -1rem; color: var(--color-accent-strong); line-height: 1.8; }
.product__body { padding: 1.35rem .1rem 0; }
.product__body .eyebrow { margin-bottom: .65rem; font-size: .61rem; }
.product__body h3 { margin-bottom: .7rem; }
.product__body > p:not(.eyebrow) { max-width: 34rem; min-height: 3.3em; margin-bottom: 1.1rem; color: var(--color-muted); font-size: .91rem; }
.product__status { display: inline-flex; align-items: center; gap: .65rem; color: var(--color-muted); font-size: .8rem; }
.product__status span { width: .42rem; height: .42rem; box-shadow: none; }

/* Approach and insights */
.approach { background: var(--color-paper); }
.approach__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 10vw, 10rem); }
.approach__lead h2 { max-width: 11ch; margin-bottom: 1.5rem; }
.approach__lead > p:last-child { max-width: 31rem; margin-bottom: 0; color: var(--color-muted); font-size: 1rem; }
.approach-steps { align-self: center; margin: 0; padding: 0; list-style: none; }
.approach-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.3rem; padding-block: 1.35rem; border-bottom: 1px solid var(--color-line); }
.approach-steps li:first-child { border-top: 1px solid var(--color-line); }
.approach-steps li > span { padding-top: .3rem; color: var(--color-accent-strong); font-size: .72rem; font-weight: 700; }
.approach-steps h3 { margin-bottom: .4rem; }
.approach-steps p { margin: 0; color: var(--color-muted); font-size: .88rem; }
.insights { background: var(--color-surface-soft); }
.insights-list { border-top: 1px solid #cbd8d4; }
.insight-row { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 2rem; align-items: center; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid #cbd8d4; }
.insight-row time { color: var(--color-muted); font-size: .78rem; }
.insight-row h3 { margin: 0; }
.insight-row h3 a { color: inherit; text-decoration: none; }
.insight-row h3 a:hover { color: var(--color-accent-strong); }
.insight-row__arrow { justify-self: end; color: var(--color-accent-strong); text-decoration: none; }
.insights-empty { margin: 0; padding: 2rem 0; border-top: 1px solid #cbd8d4; color: var(--color-muted); }

/* Closing invitation and footer */
.contact-cta { position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 7rem); background: var(--color-ink); color: #fff; }
.contact-cta__inner { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.contact-cta .eyebrow { color: #9fd1c8; }
.contact-cta h2 { max-width: 12ch; margin-bottom: 1rem; color: #fff; }
.contact-cta__inner > div > p:last-child { max-width: 35rem; margin: 0; color: #c4cecb; font-size: 1rem; }
.contact-cta__node { position: absolute; top: -3rem; right: -1rem; width: 4.5rem; height: 4.5rem; border: 1px solid rgba(159,209,200,.55); border-radius: 50%; }
.contact-cta__node::before, .contact-cta__node::after { position: absolute; background: rgba(159,209,200,.45); content: ""; }
.contact-cta__node::before { top: 50%; right: 100%; width: 9rem; border-top: 1px solid rgba(159,209,200,.45); }
.contact-cta__node::after { top: 100%; left: 50%; height: 4rem; border-left: 1px solid rgba(159,209,200,.45); }
.site-footer { background: #111920; color: #fff; }
.site-footer__inner { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 2.6fr) auto; align-items: start; gap: 2rem; padding-block: 2.25rem 1.5rem; }
.site-footer__identity { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.site-footer__brand { color: #fff; font-size: 1rem; font-weight: 680; letter-spacing: -.04em; text-decoration: none; }
.site-footer__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer__groups > li > a { display: inline-block; margin-bottom: .55rem; color: #fff; font-size: .76rem; font-weight: 650; text-decoration: none; }
.site-footer__groups .sub-menu { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.site-footer__groups .sub-menu a, .site-footer__email { color: #c3ceca; font-size: .75rem; text-decoration: none; }
.site-footer__groups a:hover, .site-footer__groups a:focus-visible, .site-footer__email:hover { color: #fff; }
.site-footer__groups .current-menu-item > a, .site-footer__groups .current_page_item > a { color: #fff; }
.site-footer__email { justify-self: end; white-space: nowrap; }
.site-footer__copyright { margin: 1.25rem 0 0; color: #83918c; font-size: .68rem; }

/* Gutenberg and shared WordPress templates */
.page-heading { margin-bottom: var(--space-6); }
.page-heading h1 { max-width: none; }
.content-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.content-card { overflow: hidden; border: 1px solid var(--color-line); background: var(--color-surface); }
.content-card__image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.content-card__body { padding: var(--space-3); }
.content-card__title { max-width: 30ch; margin: 0 0 var(--space-2); font-size: clamp(1.65rem, 2.4vw, 2.35rem); line-height: 1.12; }
.content-card__title a { color: inherit; text-decoration: none; }
/* The article layout owns its vertical rhythm without inheriting generic section padding. */
.single-post__layout { min-width: 0; padding-block: 32px; }
.single-post__header { width: 100%; max-width: none; margin: 0 0 var(--space-3); }
.single-post__content { width: 100%; max-width: none; margin-inline: 0; font-size: 1.0625rem; line-height: 1.8; }
.single-post__date { margin: 0; color: var(--color-accent-strong); font-size: .76rem; font-weight: 700; letter-spacing: .08em; }
.single-post__title { max-width: none; margin-bottom: .75rem; line-height: 1.04; }
.single-post__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; }
.single-post__categories ul { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; padding: 0; list-style: none; }
.single-post__categories a { color: var(--color-muted); font-size: .82rem; text-decoration-thickness: 1px; }
.single-post__featured-image { width: min(100%, var(--content-width)); margin: 0 auto var(--space-6); }
.single-post__featured-image img { display: block; width: 100%; height: auto; }
.single-post .single-post__content > :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, pre, figure, table):not(.alignwide):not(.alignfull) { max-width: none; margin-inline: 0; }
.single-post .single-post__content :where(h1, h2, h3, h4, h5, h6):not(.alignwide):not(.alignfull) { margin-inline: 0; text-align: start; }
.single-post .single-post__content > .wp-block-separator:not(.is-style-wide):not(.alignwide):not(.alignfull) { width: 100%; }
.single-post__content > :where(h1, h2, h3, h4, h5, h6) { margin-block: clamp(2rem, 4vw, 3rem) .75rem; }
.single-post__content > :where(h1, h2, h3, h4, h5, h6):first-child { margin-top: 0; }
.single-post__content :where(h2) { margin-block: 2.5rem .75rem; font-size: clamp(1.55rem, 2.7vw, 2.25rem); line-height: 1.2; }
.single-post__content :where(h3) { margin-block: 2rem .65rem; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; }
.single-post__content > :where(p, ul, ol, blockquote, pre, figure, table) { margin-bottom: 1.5em; }
.single-post__content :where(pre, code) { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.single-post__content pre { overflow-x: auto; padding: 1rem 1.2rem; border: 1px solid var(--color-line); background: var(--color-surface-soft); font-size: .88em; line-height: 1.65; }
.single-post__content :where(ul, ol) { padding-inline-start: 1.5em; }
.single-post__content blockquote { color: var(--color-muted); }
.single-post__pages { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-line); }
.single-post__pages-label { color: var(--color-muted); }
.single-post__pages a, .single-post__pages > span:not(.single-post__pages-label) { padding: .3rem .55rem; border: 1px solid var(--color-line); }
:is(.entry-content, .editor-styles-wrapper) > :first-child { margin-top: 0; }
:is(.entry-content, .editor-styles-wrapper) > :last-child { margin-bottom: 0; }
:is(.entry-content, .editor-styles-wrapper) img { max-width: 100%; height: auto; }
:is(.entry-content, .editor-styles-wrapper) { overflow-wrap: anywhere; }
:is(.entry-content, .editor-styles-wrapper) :where(p, ul, ol, blockquote, figure, pre, table) { margin-block: 0 1.5rem; }
:is(.entry-content, .editor-styles-wrapper) :where(ul, ol) { padding-inline-start: 1.5rem; }
:is(.entry-content, .editor-styles-wrapper) :where(pre, table) { display: block; max-width: 100%; overflow-x: auto; }
:is(.entry-content, .editor-styles-wrapper) blockquote { margin-inline: 0; padding-inline-start: 1.5rem; border-inline-start: 3px solid var(--color-accent); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-image img { display: block; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-button__link { background: var(--color-accent); color: #fff; }
.input, input, textarea, select, button { font: inherit; }
input:not([type="checkbox"]):not([type="radio"]), textarea, select { max-width: 100%; padding: .7rem; border: 1px solid var(--color-muted); background: var(--color-surface); color: var(--color-ink); }
button, input[type="submit"] { cursor: pointer; }
.empty-state { padding-block: var(--space-6); }
.alignwide { width: min(88vw, 88rem); max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-inline: 50%; transform: translateX(-50%); }

/* WooCommerce shop and product-category archives. Keep core templates and controls intact. */
body.woocommerce-shop .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main {
	width: min(calc(100% - 3rem), var(--content-width));
	margin-inline: auto;
	padding-block: clamp(2rem, 4vw, 3.5rem);
}
body.woocommerce-shop .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
body.woocommerce-shop .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title {
	max-width: 18ch;
	margin-bottom: 1rem;
}
body.woocommerce-shop .woocommerce-products-header .term-description,
body.tax-product_cat .woocommerce-products-header .term-description,
body.tax-product_tag .woocommerce-products-header .term-description {
	max-width: var(--reading-width);
	color: var(--color-muted);
	font-size: 1.05rem;
}
body.woocommerce-shop .woocommerce-products-header .term-description > :last-child,
body.tax-product_cat .woocommerce-products-header .term-description > :last-child,
body.tax-product_tag .woocommerce-products-header .term-description > :last-child { margin-bottom: 0; }
body.woocommerce-shop .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
	float: left;
	margin: .65rem 1rem 1.5rem 0;
	color: var(--color-muted);
	font-size: .88rem;
}
body.woocommerce-shop .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
	float: right;
	max-width: 100%;
	margin: 0 0 1.5rem;
}
body.woocommerce-shop .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select {
	min-height: 3rem;
	border-color: var(--color-line);
	background: var(--color-surface);
	color: var(--color-ink);
	font-size: .88rem;
}
body.woocommerce-shop ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	align-items: stretch;
	gap: clamp(1.25rem, 2.4vw, 2rem);
	clear: both;
	margin: 0 0 var(--space-4);
	padding: 0;
	background: transparent;
	list-style: none;
}
body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after { display: none; content: none; }
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
	position: relative;
	display: flex;
	width: 100% !important;
	max-width: 28rem;
	flex-direction: column;
	float: none;
	margin: 0 !important;
	justify-self: start;
	padding: 1rem;
	border: 1px solid var(--color-line);
	background: var(--color-surface);
	transition: border-color .2s ease, box-shadow .2s ease;
}
body.woocommerce-shop ul.products li.product:only-child,
body.tax-product_cat ul.products li.product:only-child,
body.tax-product_tag ul.products li.product:only-child {
	grid-column: 1 / -1;
	justify-self: center;
	width: min(100%, 34rem) !important;
	max-width: 34rem;
}
body.woocommerce-shop ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover,
body.tax-product_tag ul.products li.product:hover {
	border-color: #b7cbc5;
	box-shadow: 0 .5rem 1.5rem rgba(24, 33, 43, .06);
}
body.woocommerce-shop ul.products li.product a img,
body.tax-product_cat ul.products li.product a img,
body.tax-product_tag ul.products li.product a img {
	display: block;
	width: 100% !important;
	height: auto;
	aspect-ratio: 4 / 3;
	margin: 0 0 1.1rem !important;
	background: var(--color-surface-soft);
	object-fit: contain;
}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
	max-width: none;
	margin: 0 0 .65rem;
	color: var(--color-ink);
	font-size: clamp(1.2rem, 1.7vw, 1.5rem);
	line-height: 1.3;
	letter-spacing: -.035em;
}
body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_tag ul.products li.product a.woocommerce-LoopProduct-link { color: inherit; text-decoration: none; }
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price {
	display: block;
	margin: 0 0 1rem;
	color: var(--color-ink);
	font-size: 1rem;
	font-weight: 650;
}
body.woocommerce-shop ul.products li.product .price del,
body.tax-product_cat ul.products li.product .price del,
body.tax-product_tag ul.products li.product .price del { color: var(--color-muted); font-weight: 400; }
body.woocommerce-shop ul.products li.product .price ins,
body.tax-product_cat ul.products li.product .price ins,
body.tax-product_tag ul.products li.product .price ins { text-decoration: none; }
body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button,
body.tax-product_tag ul.products li.product .button {
	display: inline-flex;
	min-height: 3.1rem;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin: auto 0 0;
	padding: .75rem 1rem;
	border: 1px solid var(--color-accent);
	border-radius: 0;
	background: var(--color-accent);
	color: #fff;
	font-size: .88rem;
	font-weight: 650;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}
body.woocommerce-shop ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover,
body.tax-product_tag ul.products li.product .button:hover { border-color: var(--color-accent-strong); background: var(--color-accent-strong); color: #fff; }
body.woocommerce-shop ul.products li.product .button:focus-visible,
body.tax-product_cat ul.products li.product .button:focus-visible,
body.tax-product_tag ul.products li.product .button:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
body.woocommerce-shop ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .onsale,
body.tax-product_tag ul.products li.product .onsale {
	top: 1.6rem;
	right: 1.6rem;
	left: auto;
	min-height: 0;
	padding: .45rem .6rem;
	border-radius: 0;
	background: var(--color-accent-strong);
	color: #fff;
	font-size: .72rem;
	line-height: 1;
}
body.woocommerce-shop .woocommerce-info,
body.woocommerce-shop .woocommerce-nothing-found,
body.tax-product_cat .woocommerce-info,
body.tax-product_tag .woocommerce-info {
	padding: 1.2rem 1.4rem;
	border-top-color: var(--color-accent);
	background: var(--color-surface-soft);
	color: var(--color-ink);
}
body.woocommerce-shop .woocommerce-pagination,
body.tax-product_cat .woocommerce-pagination,
body.tax-product_tag .woocommerce-pagination { margin-top: var(--space-4); }
body.woocommerce-shop .woocommerce-pagination ul,
body.tax-product_cat .woocommerce-pagination ul,
body.tax-product_tag .woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	border: 0;
}
body.woocommerce-shop .woocommerce-pagination ul li,
body.tax-product_cat .woocommerce-pagination ul li,
body.tax-product_tag .woocommerce-pagination ul li { border: 0; }
body.woocommerce-shop .woocommerce-pagination ul li a,
body.woocommerce-shop .woocommerce-pagination ul li span,
body.tax-product_cat .woocommerce-pagination ul li a,
body.tax-product_cat .woocommerce-pagination ul li span,
body.tax-product_tag .woocommerce-pagination ul li a,
body.tax-product_tag .woocommerce-pagination ul li span {
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: .65rem .8rem;
	border: 1px solid var(--color-line);
	background: var(--color-surface);
	color: var(--color-ink);
	line-height: 1.4;
}
body.woocommerce-shop .woocommerce-pagination ul li span.current,
body.tax-product_cat .woocommerce-pagination ul li span.current,
body.tax-product_tag .woocommerce-pagination ul li span.current { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }
body.woocommerce-shop .woocommerce-pagination a:focus-visible,
body.tax-product_cat .woocommerce-pagination a:focus-visible,
body.tax-product_tag .woocommerce-pagination a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* Align native cart and checkout blocks to the same page grid as their H1. */
body.woocommerce-cart .site-main .wp-block-woocommerce-cart.alignwide,
body.woocommerce-checkout .site-main .wp-block-woocommerce-checkout.alignwide {
	width: 100%;
	max-width: var(--content-width);
	margin-inline: auto;
	left: auto;
	right: auto;
	transform: none;
}

/* WooCommerce's Cart table must not inherit the editorial table overflow presentation. */
body.woocommerce-cart .wc-block-cart__main { min-width: 0; }
body.woocommerce-cart .wc-block-cart__main table.wc-block-cart-items { display: table; width: 100%; max-width: none; margin: 0; overflow: visible; }
body.woocommerce-cart .wc-block-cart__sidebar { align-self: start; }

/* Keep Cart quantity controls compact and unified while retaining native Blocks behavior. */
body.woocommerce-cart .wc-block-cart-item__quantity { display: flex; align-items: center; gap: .5rem; }
body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	box-sizing: border-box;
	width: 7.5rem;
	height: 2.5rem;
	border: 1px solid var(--color-line);
	border-radius: 0;
	background: var(--color-surface);
}
body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button {
	display: grid;
	flex: 0 0 2.1875rem;
	place-items: center;
	width: 2.1875rem;
	min-width: 2.1875rem;
	height: 2.375rem;
	min-height: 2.375rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--color-accent-strong);
	font-size: 1.2rem;
	font-weight: 650;
	line-height: 1;
}
body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button:hover:not(:disabled) { background: var(--color-surface-soft); }
body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button:disabled { color: var(--color-muted); cursor: not-allowed; opacity: .55; }
body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -3px; }
body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector__input {
	box-sizing: border-box;
	flex: 0 0 3rem;
	width: 3rem;
	min-width: 3rem;
	height: 2.375rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-right: 1px solid var(--color-line);
	border-left: 1px solid var(--color-line);
	border-radius: 0;
	background: transparent;
	color: var(--color-ink);
	font-size: .95rem;
	text-align: center;
}
body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector__input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -3px; }
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	display: grid;
	flex: 0 0 2.5rem;
	place-items: center;
	width: 2.5rem;
	min-width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-muted);
	cursor: pointer;
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover { color: #a00; }
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; }
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link svg { width: 1.25rem; height: 1.25rem; }
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name { font-size: 1rem; font-weight: 600; line-height: 1.4; }
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price { font-size: .95rem; font-weight: 550; }
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-metadata { color: var(--color-muted); font-size: .85rem; line-height: 1.5; }

/* On wide Cart layouts, keep product details, quantity controls and line total on one row. */
@media (min-width: 72rem) {
	body.woocommerce-cart .wc-block-cart-item__product .wc-block-cart-item__wrap {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		column-gap: 1.5rem;
		row-gap: .35rem;
	}
	body.woocommerce-cart .wc-block-cart-item__product .wc-block-cart-item__wrap > .wc-block-components-product-name,
	body.woocommerce-cart .wc-block-cart-item__product .wc-block-cart-item__wrap > .wc-block-cart-item__prices,
	body.woocommerce-cart .wc-block-cart-item__product .wc-block-cart-item__wrap > .wc-block-components-product-metadata {
		grid-column: 1;
		min-width: 0;
	}
	body.woocommerce-cart .wc-block-cart-item__product .wc-block-cart-item__wrap > .wc-block-cart-item__quantity {
		grid-column: 2;
		grid-row: 1 / span 3;
		align-self: center;
		justify-self: end;
	}
}

/* The cart's empty-state product recommendation should not sit in the first grid column alone. */
body.woocommerce-cart .wc-block-grid__products:has(> .wc-block-grid__product:only-child) {
	grid-template-columns: minmax(0, 1fr);
}
body.woocommerce-cart .wc-block-grid__product:only-child {
	width: min(100%, 34rem);
	margin-inline: auto;
}

/* Keep the logged-out account form at a comfortable reading width. */
body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register {
	max-width: 48rem;
	border-color: var(--color-line);
	background: var(--color-surface);
	padding: clamp(1.25rem, 3vw, 2rem);
}
body.woocommerce-account .woocommerce-form-login label,
body.woocommerce-account .woocommerce-form-register label { display: block; margin-bottom: .4rem; }
body.woocommerce-account .woocommerce-form-login input:not([type="checkbox"]),
body.woocommerce-account .woocommerce-form-register input:not([type="checkbox"]) {
	width: 100%;
	min-height: 3rem;
	border-color: var(--color-line);
	background: var(--color-paper);
}
body.woocommerce-account .woocommerce-form-login button[type="submit"],
body.woocommerce-account .woocommerce-form-register button[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content .button {
	min-height: 3rem;
	border: 1px solid var(--color-accent);
	border-radius: 0;
	background: var(--color-accent);
	color: #fff;
	font-weight: 650;
}
body.woocommerce-account .woocommerce-form-login button[type="submit"]:hover,
body.woocommerce-account .woocommerce-form-register button[type="submit"]:hover,
body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button:hover { border-color: var(--color-accent-strong); background: var(--color-accent-strong); color: #fff; }
body.woocommerce-account .woocommerce-form-login button[type="submit"]:focus-visible,
body.woocommerce-account .woocommerce-form-register button[type="submit"]:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content :is(button[type="submit"], .button):focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
body.woocommerce-account .site-main .entry-content > .woocommerce > h2 { margin-bottom: 1.25rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }

/* Logged-in WooCommerce account area: native endpoints in a clear portal layout. */
body.woocommerce-account .site-main .woocommerce:has(> .woocommerce-MyAccount-navigation):has(> .woocommerce-MyAccount-content) {
	display: grid;
	grid-template-columns: 16rem minmax(0, 1fr);
	grid-template-areas: "navigation content";
	align-items: start;
	gap: clamp(2rem, 5vw, 4rem);
}
body.woocommerce-account .site-main .woocommerce:has(> .woocommerce-MyAccount-navigation):has(> .woocommerce-MyAccount-content)::before,
body.woocommerce-account .site-main .woocommerce:has(> .woocommerce-MyAccount-navigation):has(> .woocommerce-MyAccount-content)::after { content: none; display: none; }
body.woocommerce-account .site-main .woocommerce:has(> .woocommerce-MyAccount-navigation):has(> .woocommerce-MyAccount-content) > .woocommerce-MyAccount-navigation { grid-area: navigation; }
body.woocommerce-account .site-main .woocommerce:has(> .woocommerce-MyAccount-navigation):has(> .woocommerce-MyAccount-content) > .woocommerce-MyAccount-content { grid-area: content; }
body.woocommerce-account .site-main .woocommerce > :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
	float: none;
	width: auto;
	max-width: none;
	min-width: 0;
	margin: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; border-top: 1px solid var(--color-line); list-style: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; border-bottom: 1px solid var(--color-line); }
body.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	min-height: 3rem;
	padding: .75rem 1rem;
	border-left: 3px solid transparent;
	color: var(--color-ink);
	font-size: .9rem;
	text-decoration: none;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	border-left-color: var(--color-accent);
	background: var(--color-surface-soft);
	color: var(--color-accent-strong);
}
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
body.woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }
body.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
body.woocommerce-account .woocommerce-MyAccount-content :is(input:not([type="checkbox"]), select, textarea) {
	min-height: 3rem;
	border: 1px solid var(--color-line);
	border-radius: 0;
	background: var(--color-surface);
	color: var(--color-ink);
}
body.woocommerce-account .woocommerce-MyAccount-content :is(input, select, textarea):focus-visible { border-color: var(--color-accent); outline: 3px solid var(--color-accent); outline-offset: 2px; }
body.woocommerce-account .woocommerce-MyAccount-content .shop_table { width: 100%; border-color: var(--color-line); }
body.woocommerce-account .woocommerce-MyAccount-content .shop_table :is(th, td) { padding: .8rem; border-color: var(--color-line); }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads .woocommerce-MyAccount-downloads-file.button.alt {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: #fff;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads .woocommerce-MyAccount-downloads-file.button.alt:hover {
	border-color: var(--color-accent-strong);
	background: var(--color-accent-strong);
	color: #fff;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-downloads .woocommerce-MyAccount-downloads-file.button.alt:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods tr.default-payment-method .payment-method-method::after {
	content: "Default";
	display: inline-block;
	margin-inline-start: .5rem;
	padding: .15rem .4rem;
	border: 1px solid var(--color-line);
	background: var(--color-surface-soft);
	color: var(--color-muted);
	font-size: .75rem;
	font-weight: 650;
	line-height: 1.2;
	vertical-align: middle;
}
@media (min-width: 48.0625rem) {
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
		display: table;
		width: 100%;
		max-width: none;
		margin: 0 0 1.5rem;
		overflow: visible;
		border: 1px solid var(--color-line);
		border-collapse: collapse;
		border-radius: 0;
		table-layout: auto;
	}
	body.woocommerce-account .woocommerce-MyAccount-content .shop_table :is(th, td) {
		padding: .7rem .85rem;
		border: 0;
		border-bottom: 1px solid var(--color-line);
		font-size: .9rem;
		line-height: 1.45;
		text-align: start;
		vertical-align: middle;
	}
	body.woocommerce-account .woocommerce-MyAccount-content .shop_table thead th {
		background: var(--color-surface-soft);
		font-size: .875rem;
		font-weight: 650;
	}
	body.woocommerce-account .woocommerce-MyAccount-content .shop_table .woocommerce-orders-table__cell-order-actions { text-align: end; }
}
body.woocommerce-account .woocommerce-MyAccount-content .shop_table .woocommerce-orders-table__cell-order-actions .button:not(.pay):not(.download),
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title > .edit {
	display: inline-flex;
	min-height: 2.125rem;
	align-items: center;
	justify-content: center;
	padding: .4rem .75rem;
	border: 1px solid var(--color-line);
	border-radius: 0;
	background: transparent;
	color: var(--color-ink);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}
body.woocommerce-account .woocommerce-MyAccount-content .shop_table .woocommerce-orders-table__cell-order-actions .button:not(.pay):not(.download):hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title > .edit:hover { border-color: var(--color-accent); background: var(--color-surface-soft); color: var(--color-accent-strong); }
body.woocommerce-account .woocommerce-MyAccount-content .shop_table .woocommerce-orders-table__cell-order-actions .button:not(.pay):not(.download):focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title > .edit:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
	position: relative;
	margin: 0 0 1.5rem;
	padding: .9rem 1rem .9rem 3.25rem;
	border: 1px solid var(--color-line);
	border-top: 3px solid var(--color-accent);
	border-radius: 0;
	background: var(--color-surface-soft);
	color: var(--color-ink);
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error { border-top-color: #a94336; background: #fbf1ef; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message { border-top-color: #477b5d; background: #f0f6f1; }
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-error, .woocommerce-info, .woocommerce-message)::before {
	top: 1rem;
	left: 1rem;
	font-size: 1rem;
	line-height: 1;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before { color: #a94336; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before { color: #477b5d; }
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) .button:not(.pay):not(.download) {
	float: none;
	min-height: 2.125rem;
	margin: .35rem .5rem .35rem 0;
	padding: .4rem .75rem;
	border: 1px solid var(--color-line);
	background: var(--color-paper);
	color: var(--color-ink);
	font-size: .875rem;
	line-height: 1.2;
}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) .button:not(.pay):not(.download):hover { border-color: var(--color-accent); background: var(--color-surface); color: var(--color-accent-strong); }
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) .button:not(.pay):not(.download):focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* Native WooCommerce notices and form controls use the shared theme palette and focus treatment. */
body.woocommerce-cart :is(.wc-block-components-notice-banner, .wc-block-components-validation-error),
body.woocommerce-checkout :is(.wc-block-components-notice-banner, .wc-block-components-validation-error) {
	border-radius: 0;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	min-height: 3rem;
	border-color: var(--color-line);
	border-radius: 0;
	background: var(--color-surface-soft);
	color: var(--color-ink);
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select__label { color: var(--color-muted); font-size: .82rem; font-weight: 550; }
body.woocommerce-checkout .wc-block-components-checkout-step__heading { margin-bottom: 1rem; color: var(--color-ink); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 650; }
body.woocommerce-checkout .wc-block-components-express-payment--checkout {
	border: 1px solid var(--color-line);
	border-radius: 4px;
	padding: 0 1rem 1rem;
}
body.woocommerce-checkout .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container { position: static; width: auto; height: auto; justify-content: center; margin: 0 0 .5rem; }
body.woocommerce-checkout .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::before,
body.woocommerce-checkout .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::after { content: none; }
body.woocommerce-checkout .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title { margin: 0; background: var(--color-paper); padding-inline: .5rem; }
body.woocommerce-checkout .wc-block-components-express-payment--checkout .wc-block-components-express-payment__content { margin: 0; border: 0; padding: 0; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
	border: 1px solid var(--color-line);
	border-radius: 0;
	background: var(--color-surface);
}
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title { padding: 1rem; color: var(--color-ink); font-weight: 650; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper { border-color: var(--color-line); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	min-height: 3.25rem;
	border: 1px solid var(--color-accent);
	border-radius: 0;
	background: var(--color-accent);
	color: #fff;
	font-weight: 650;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { border-color: var(--color-accent-strong); background: var(--color-accent-strong); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
body.woocommerce-checkout :is(.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input, .wc-block-components-textarea textarea):focus-visible {
	border-color: var(--color-accent);
	outline: 3px solid var(--color-accent);
	outline-offset: 2px;
}

/* WooCommerce single-product layout: keep native gallery, summary and tabs. */
body.single-product .woocommerce-breadcrumb {
	width: min(calc(100% - 2.5rem), var(--content-width));
	margin: clamp(2.5rem, 5vw, 4rem) auto 1.5rem;
	color: var(--color-muted);
}
body.single-product .site-main > div.product {
	display: grid;
	width: min(calc(100% - 2.5rem), var(--content-width));
	margin-inline: auto;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: clamp(2rem, 5vw, 5rem);
	row-gap: clamp(3rem, 7vw, 6rem);
	align-items: start;
}
body.single-product div.product > .woocommerce-product-gallery,
body.single-product div.product > .summary {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
}
body.single-product div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
body.single-product div.product > .summary { grid-column: 2; grid-row: 1; }
body.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
body.single-product div.product .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	background: var(--color-surface-soft);
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr));
	gap: .65rem;
	margin: .75rem 0 0;
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li { width: auto; float: none; margin: 0; }
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img { width: 100%; height: auto; }
body.single-product div.product .product_title {
	max-width: 22ch;
	margin: 0 0 1.25rem;
	line-height: 1.04;
	letter-spacing: -.055em;
	text-wrap: balance;
}
body.single-product div.product .summary > .price {
	margin: 0 0 1.25rem;
	color: var(--color-ink);
	font-size: 1.35rem;
	font-weight: 680;
}
body.single-product div.product .summary > .price del { color: var(--color-muted); font-size: .9em; font-weight: 400; }
body.single-product div.product .summary > .price ins { text-decoration: none; }
body.single-product div.product .woocommerce-product-details__short-description {
	margin-block: 0 1.5rem;
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.75;
}
body.single-product div.product form.cart { margin-block: 1.5rem; }
body.single-product div.product form.cart .quantity input.qty {
	min-height: 3.25rem;
	border: 1px solid var(--color-line);
	border-radius: 0;
	color: var(--color-ink);
}
body.single-product div.product form.cart .single_add_to_cart_button {
	min-height: 3.25rem;
	padding: .8rem 1.3rem;
	border: 1px solid var(--color-accent);
	border-radius: 0;
	background: var(--color-accent);
	color: #fff;
	font-weight: 650;
}
body.single-product div.product form.cart .single_add_to_cart_button:hover { border-color: var(--color-accent-strong); background: var(--color-accent-strong); }
body.single-product div.product :is(a, button, input, select):focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
body.single-product div.product .product_meta {
	margin-top: 1.75rem;
	padding-top: 1rem;
	border-top: 1px solid var(--color-line);
	color: var(--color-muted);
	font-size: .8rem;
	line-height: 1.7;
}
body.single-product div.product .product_meta > span { display: block; }
body.single-product div.product .summary iframe,
body.single-product div.product .summary embed,
body.single-product div.product .summary object { max-width: 100%; }
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > .up-sells,
body.single-product div.product > .related { grid-column: 1 / -1; min-width: 0; width: 100%; margin: 0; }
body.single-product div.product > .woocommerce-tabs { padding-top: 1.5rem; border-top: 1px solid var(--color-line); }
body.single-product div.product .woocommerce-tabs ul.tabs { padding: 0; border: 0; }
body.single-product div.product .woocommerce-tabs ul.tabs::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::after { display: none; }
body.single-product div.product .woocommerce-tabs ul.tabs li {
	margin: 0 .5rem .5rem 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
body.single-product div.product .woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	padding: .55rem .9rem;
	border: 1px solid var(--color-line);
	color: var(--color-ink);
}
body.single-product div.product .woocommerce-tabs ul.tabs li.active a { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }
body.single-product div.product .woocommerce-Tabs-panel--description {
	width: min(100%, 74rem);
	margin-inline: auto;
	color: var(--color-ink);
	font-size: 1rem;
	line-height: 1.8;
}
body.single-product div.product .woocommerce-Tabs-panel--description > :where(p, ul, ol, blockquote, figure, pre, h1, h2, h3, h4, h5, h6, details) { max-width: none; margin-inline: 0; }
body.single-product div.product .woocommerce-Tabs-panel--description > h1:first-child,
body.single-product div.product .woocommerce-Tabs-panel--description > h2:first-child,
body.single-product div.product .woocommerce-Tabs-panel--description > h3:first-child { margin-top: 1rem; }
body.single-product div.product .woocommerce-Tabs-panel--description > h1:first-of-type { margin-top: 1.25rem; }
body.single-product div.product .woocommerce-Tabs-panel--description > hr { width: 100%; margin: 2.5rem 0; border: 0; border-top: 1px solid var(--color-line); }
body.single-product div.product .woocommerce-Tabs-panel--description > :where(h1, h2, h3, h4, h5, h6) { color: var(--color-ink); line-height: 1.2; letter-spacing: -.035em; text-align: start; }
body.single-product div.product .woocommerce-Tabs-panel--description > h1 { margin-block: 2.5em .8em; }
body.single-product div.product .woocommerce-Tabs-panel--description > h2 { margin-block: 2.2em .75em; }
body.single-product div.product .woocommerce-Tabs-panel--description > h3 { margin-block: 1.8em .65em; }
body.single-product div.product .woocommerce-Tabs-panel--description > :where(h4, h5, h6) { margin-block: 1.6em .6em; }
body.single-product div.product .woocommerce-Tabs-panel--description > :where(p, ul, ol, blockquote, figure, pre) { margin-block: 0 1.4rem; }
body.single-product div.product .woocommerce-Tabs-panel--description :where(ul, ol) { padding-inline-start: 1.5em; }
body.single-product div.product .woocommerce-Tabs-panel--description li + li { margin-top: .35em; }
body.single-product div.product .woocommerce-Tabs-panel--description :where(img, video) { max-width: 100%; height: auto; }
body.single-product div.product .woocommerce-Tabs-panel--description blockquote { padding: .75rem 0 .75rem 1.25rem; border-inline-start: 3px solid var(--color-accent); color: var(--color-muted); }
body.single-product div.product .woocommerce-Tabs-panel--description table { width: 100%; margin: 2rem 0; border-collapse: collapse; }
body.single-product div.product .woocommerce-Tabs-panel--description :where(th, td) { min-width: 7rem; padding: .75rem; border: 1px solid var(--color-line); text-align: start; vertical-align: top; }
body.single-product div.product .woocommerce-Tabs-panel--description details { margin-block: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--color-line); background: var(--color-surface); }
body.single-product div.product .woocommerce-Tabs-panel--description summary { cursor: pointer; font-weight: 650; }
body.single-product div.product .woocommerce-Tabs-panel--description summary:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
body.single-product div.product .woocommerce-Tabs-panel--description > :last-child { margin-bottom: 0; }

/* Core Gutenberg blocks inherit the page container; intentional wide media keeps its own alignment rules. */
:is(.entry-content, .editor-styles-wrapper) > :where(.wp-block-columns, .wp-block-gallery, .alignwide, .alignfull) { max-width: none; }
:is(.entry-content, .editor-styles-wrapper) :is(h1, h2, h3, h4, h5, h6) { max-width: none; }
:is(.entry-content, .editor-styles-wrapper):not(.single-post__content) :is(h1, h2, h3, h4, h5, h6) { margin-block: clamp(1.5rem, 3vw, 2.25rem) .75rem; }
:is(.entry-content, .editor-styles-wrapper):not(.single-post__content) > :is(h1, h2, h3, h4, h5, h6):first-child { margin-block-start: 0; }
:is(.entry-content, .editor-styles-wrapper) :where(p, ul, ol, blockquote, figure, pre, .wp-block-buttons, .wp-block-details) { margin-block: 0 1.5rem; }
:is(.entry-content, .editor-styles-wrapper) :where(ul, ol) { padding-inline-start: 1.5em; }
:is(.entry-content, .editor-styles-wrapper) li + li { margin-block-start: .35em; }
:is(.entry-content, .editor-styles-wrapper) :where(img, video) { max-width: 100%; height: auto; }
:is(.entry-content, .editor-styles-wrapper) figure { margin-block: 0 1.75rem; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-image img { display: block; width: auto; max-width: 100%; border-radius: .15rem; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-image.alignfull img, :is(.entry-content, .editor-styles-wrapper) .wp-block-image.alignwide img { width: 100%; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-image figcaption, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery figcaption { margin-block: .65rem 0; color: var(--color-muted); font-size: .8rem; text-align: start; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); align-items: start; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-1 { grid-template-columns: 1fr; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery > .wp-block-image { width: 100% !important; margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery .wp-block-image img { width: 100%; max-width: 100%; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 3vw, 2.5rem); margin-block: 0 2rem; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-column { min-width: 0; flex: 1 1 0; overflow-wrap: anywhere; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-group { min-width: 0; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-button { max-width: 100%; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-button__link { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: 0; background: var(--color-accent); color: #fff; font-size: .9rem; font-weight: 650; line-height: 1.35; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-button__link:hover { background: var(--color-accent-strong); color: #fff; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-button__link:focus-visible, :is(.entry-content, .editor-styles-wrapper) a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-button.is-style-outline .wp-block-button__link { border-color: currentColor; background: transparent; color: var(--color-accent-strong); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-cover { min-height: clamp(18rem, 40vw, 34rem); padding: clamp(1.5rem, 5vw, 4rem); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-cover :where(h1, h2, h3, h4, p) { max-width: 40rem; color: inherit; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-cover__inner-container { width: 100%; }
:is(.entry-content, .editor-styles-wrapper) blockquote.wp-block-quote { padding: 1rem 0 1rem 1.5rem; border-inline-start: 3px solid var(--color-accent); color: var(--color-ink); font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.5; }
:is(.entry-content, .editor-styles-wrapper) blockquote.wp-block-quote p:last-of-type { margin-bottom: .5rem; }
:is(.entry-content, .editor-styles-wrapper) blockquote.wp-block-quote cite { color: var(--color-muted); font-size: .8rem; font-style: normal; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-separator { width: min(100%, var(--reading-width)); margin-block: 2.5rem; border: 0; border-top: 1px solid var(--color-line); opacity: 1; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-separator.is-style-wide { width: min(88vw, var(--content-width)); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-separator.is-style-dots { height: auto; border: 0; color: var(--color-accent); }
:is(.entry-content, .editor-styles-wrapper) figure.wp-block-table { max-width: 100%; overflow-x: auto; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-table table { width: 100%; border-collapse: collapse; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-table :where(th, td) { padding: .7rem .85rem; border: 1px solid var(--color-line); text-align: start; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-table thead { border-bottom: 2px solid var(--color-line); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-table figcaption { color: var(--color-muted); font-size: .8rem; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-details { padding: 1rem 1.1rem; border: 1px solid var(--color-line); background: var(--color-surface); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-details summary { cursor: pointer; font-weight: 650; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-details summary:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-details > :last-child { margin-bottom: 0; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-spacer { clear: both; }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.alignwide, :is(.entry-content, .editor-styles-wrapper) .wp-block-columns.alignwide { width: min(88vw, var(--content-width)); }
:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.alignfull, :is(.entry-content, .editor-styles-wrapper) .wp-block-columns.alignfull { width: 100vw; }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-section-intro { margin-block: var(--space-8); }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-eyebrow { margin-bottom: .8rem; color: var(--color-accent-strong); font-size: .7rem; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-service-row { padding-block: 1.5rem; border-block: 1px solid var(--color-line); }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-service-row .wp-block-heading, :is(.entry-content, .editor-styles-wrapper) .wd-pattern-project-feature .wp-block-heading, :is(.entry-content, .editor-styles-wrapper) .wd-pattern-product-feature .wp-block-heading { margin-block: 0 .8rem; }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-service-row .wp-block-column > :last-child, :is(.entry-content, .editor-styles-wrapper) .wd-pattern-project-feature .wp-block-column > :last-child, :is(.entry-content, .editor-styles-wrapper) .wd-pattern-product-feature .wp-block-column > :last-child { margin-bottom: 0; }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-project-feature, :is(.entry-content, .editor-styles-wrapper) .wd-pattern-product-feature { margin-block: var(--space-8); }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-project-feature__media .wp-block-image, :is(.entry-content, .editor-styles-wrapper) .wd-pattern-product-feature .wp-block-image { min-height: 16rem; background: var(--color-surface-soft); }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-project-feature__media .wp-block-image:empty::before, :is(.entry-content, .editor-styles-wrapper) .wd-pattern-product-feature .wp-block-image:empty::before { display: grid; min-height: 16rem; place-items: center; color: var(--color-muted); content: "Choose an image from the Media Library"; font-size: .85rem; }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-contact-cta { margin-block: var(--space-8); padding-inline: max(1.5rem, calc((100vw - var(--content-width)) / 2)); }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-contact-cta :where(h2, p) { color: #fff; }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-contact-cta .wp-block-button__link { background: #fff; color: var(--color-ink); }
:is(.entry-content, .editor-styles-wrapper) .wd-pattern-contact-cta .wp-block-button__link:hover { background: #dce6e2; color: var(--color-ink); }
.entry-content--wide > :where(.wp-block-columns, .wp-block-gallery, .alignwide, .alignfull) { max-width: none; }
.standard-page .page-heading h1 { max-width: none; font-size: clamp(2.5rem, 4.2vw, 3.5rem); line-height: 1.08; }
.standard-page .entry-content { font-size: 1rem; line-height: 1.65; }
.standard-page .entry-content > :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, pre, figure):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) { max-width: none; margin-inline: 0; }
.standard-page .entry-content :where(h1) { font-size: clamp(2.5rem, 4.2vw, 3.5rem); line-height: 1.08; }
.standard-page .entry-content h2 { margin-block: 2.5rem .75rem; font-size: clamp(1.55rem, 2.7vw, 2.25rem); line-height: 1.2; }
.standard-page .entry-content h3 { margin-block: 2rem .65rem; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; }
.standard-page .entry-content > :where(table, figure.wp-block-table):not(.alignwide):not(.alignfull) { width: 100%; max-width: 100%; margin-inline: 0; overflow-x: auto; }
.standard-page .entry-content > :where(.wp-block-separator, hr):not(.is-style-wide):not(.alignwide):not(.alignfull) { width: 100%; margin-inline: 0; }
:is(.entry-content, .editor-styles-wrapper) > .alignwide, .entry-content--wide > .alignwide { position: relative; left: 50%; width: min(88vw, var(--content-width)); margin-inline: 0; transform: translateX(-50%); }
:is(.entry-content, .editor-styles-wrapper) > .alignfull, .entry-content--wide > .alignfull { position: relative; left: 50%; width: 100vw; margin-inline: 0; transform: translateX(-50%); }

@media (max-width: 68rem) {
	.site-header__inner { gap: .8rem; }
	.primary-navigation__list { gap: clamp(.6rem, 1.2vw, 1rem); }
	.site-header__cta { gap: .45rem; }
	.service-row { grid-template-columns: 2.5rem minmax(12rem, 1fr) minmax(14rem, 1fr); }
	.service-row__tag { grid-column: 2 / -1; justify-self: start; }
	body.woocommerce-shop .site-main, body.tax-product_cat .site-main, body.tax-product_tag .site-main { width: min(calc(100% - 2.5rem), var(--content-width)); }
}
@media (max-width: 48rem) {
	.container, .hero__rail { width: min(calc(100% - 2rem), var(--content-width)); }
	body.single-product .site-main > div.product { width: min(calc(100% - 2rem), var(--content-width)); }
	body.woocommerce-account .site-main .woocommerce:has(> .woocommerce-MyAccount-navigation):has(> .woocommerce-MyAccount-content) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "navigation" "content"; gap: 1.75rem; }
	body.woocommerce-cart .wc-block-cart__main table.wc-block-cart-items { display: block; width: 100%; max-width: none; }
	body.woocommerce-cart .wc-block-cart__main table.wc-block-cart-items tbody { display: block; width: 100%; }
	body.woocommerce-cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row {
		display: grid;
		width: 100%;
		grid-template-columns: 4rem minmax(0, 1fr);
		column-gap: .75rem;
		row-gap: .5rem;
	}
	body.woocommerce-cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__image { grid-column: 1; grid-row: 1 / span 3; width: auto; padding-right: 0; }
	body.woocommerce-cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__product { grid-column: 2; grid-row: 1; min-width: 0; }
	body.woocommerce-cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__total { grid-column: 2; grid-row: 2; justify-self: end; width: auto; text-align: right; }
	body.woocommerce-cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__quantity { grid-column: 2; grid-row: 3; padding: 0; }
	body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector { width: 8.5rem; height: 2.875rem; }
	body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button { flex-basis: 2.75rem; width: 2.75rem; min-width: 2.75rem; height: 2.75rem; min-height: 2.75rem; }
	body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector__input { flex-basis: 2.875rem; width: 2.875rem; min-width: 2.875rem; height: 2.75rem; }
	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link { flex-basis: 2.75rem; width: 2.75rem; min-width: 2.75rem; height: 2.75rem; }
	body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: .35rem; border-top: 0; }
	body.woocommerce-account .woocommerce-MyAccount-navigation li { border: 1px solid var(--color-line); }
	body.woocommerce-account .woocommerce-MyAccount-navigation a { min-height: 2.75rem; padding: .65rem .8rem; border-left: 0; border-bottom: 2px solid transparent; }
	body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
	body.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible,
	body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { border-bottom-color: var(--color-accent); }
	body.woocommerce-account .woocommerce-MyAccount-content .shop_table { display: block; max-width: 100%; overflow-x: auto; }
	body.woocommerce-account .woocommerce-MyAccount-content .shop_table.shop_table_responsive > tbody { display: block; width: 100%; }
	body.woocommerce-account .woocommerce-MyAccount-content .shop_table.shop_table_responsive > tbody > tr { width: 100%; }
	body.woocommerce-account .woocommerce-MyAccount-content table.dlm-myaccount-table--license-details > tbody > tr > th { width: 7.5rem; min-width: 7.5rem; }
	body.woocommerce-account .woocommerce-MyAccount-content .shop_table .woocommerce-orders-table__cell-order-actions .button:not(.pay):not(.download),
	body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title > .edit,
	body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) .button:not(.pay):not(.download) { min-height: 2.75rem; }
	body.single-product .woocommerce-breadcrumb { width: min(calc(100% - 2rem), var(--content-width)); margin-top: 2rem; }
	.site-header__inner { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "brand cart toggle" "navigation navigation navigation"; min-height: 4.4rem; gap: 0 .5rem; padding-block: .65rem; }
	body.single-product .site-main > div.product { grid-template-columns: minmax(0, 1fr); row-gap: 2.75rem; }
	body.single-product div.product > .woocommerce-product-gallery,
	body.single-product div.product > .summary { grid-column: 1; grid-row: auto; }
	body.single-product div.product .product_title { max-width: 22ch; }
	body.single-product div.product .woocommerce-Tabs-panel--description { font-size: .96rem; }
	.menu-toggle { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; gap: .45rem; padding: .4rem .55rem; border: 1px solid var(--color-line); background: transparent; color: var(--color-ink); font-size: .8rem; }
	.menu-toggle__icon { display: grid; gap: .25rem; }
	.menu-toggle__icon i { display: block; width: .9rem; border-top: 1px solid currentColor; }
	.site-header__account, .site-header__cta { display: none; }
	.site-header__cart { width: 2.75rem; height: 2.75rem; }
	.primary-navigation { width: 100%; }
	.primary-navigation.is-enhanced { display: none; }
	.primary-navigation.is-open { display: block; }
	.primary-navigation__list { align-items: stretch; flex-direction: column; gap: 0; padding-block: .5rem; border-top: 1px solid var(--color-line); }
	.primary-navigation__list > li { display: flex; flex-wrap: wrap; }
	.primary-navigation__list > li > a { min-height: 2.75rem; flex: 1; align-content: center; padding: .55rem .15rem; font-size: .95rem; }
	.primary-navigation__list > .menu-item-has-children > .sub-menu { position: static; width: 100%; padding: 0 0 .5rem 1rem; border: 0; background: transparent; box-shadow: none; }
	.primary-navigation__list > .menu-item-has-children > .sub-menu::before { display: none; }
	.primary-navigation .sub-menu a { min-height: 2.75rem; padding: .55rem .75rem; }
	.primary-navigation__mobile-actions { display: grid; gap: 0; padding: .4rem 0 .5rem; border-top: 1px solid var(--color-line); }
	.primary-navigation__mobile-actions > a { display: flex; min-height: 2.75rem; align-items: center; padding-inline: .15rem; color: var(--color-ink); font-size: .95rem; font-weight: 600; text-decoration: none; }
	.primary-navigation__mobile-actions .primary-navigation__mobile-cta { justify-content: space-between; color: var(--color-accent-strong); }
	.primary-navigation__mobile-cta span { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--color-line); }
	.submenu-toggle { width: 2.75rem; height: 2.75rem; margin-left: .25rem; }
	.hero h1 { max-width: 11ch; }
	.hero { padding-top: 4rem; }
	.hero__layout { grid-template-columns: 1fr; gap: 2.8rem; }
	.hero__copy { padding-bottom: 0; }
	.hero__intro { max-width: 34rem; }
	.hero__index { margin-top: 2rem; }
	.direction-canvas { padding: .8rem .65rem .65rem; }
	.direction-canvas__topline, .direction-canvas__caption { font-size: .52rem; }
	.hero__rail { margin-top: 3rem; font-size: .52rem; }
	.hero__rail span:last-child { text-align: right; }
	.section-heading { align-items: flex-start; flex-direction: column; gap: 1.3rem; margin-bottom: 2rem; }
	.section-heading > p { max-width: 34rem; }
	.service-row { grid-template-columns: 2rem minmax(0, 1fr); gap: .55rem 1rem; padding-block: 1.35rem; }
	.service-row__number { grid-row: 1 / span 2; }
	.service-row__title { justify-content: space-between; }
	.service-row > p, .service-row__tag { grid-column: 2; }
	.service-row > p { font-size: .88rem; }
	.service-row__tag { font-size: .54rem; }
	.project-grid { grid-template-columns: 1fr; gap: 3rem; }
	.project--tvet { width: 90%; margin: 0 0 0 auto; }
	.project-art--ocake { min-height: 21rem; }
	.project-art--tvet { min-height: 18rem; }
	.project-art__wordmark { font-size: clamp(4.5rem, 19vw, 7rem); }
	.project-art--tvet .project-art__wordmark { font-size: clamp(3.25rem, 12vw, 4.8rem); }
	.project-art__descriptor { right: 1.2rem; bottom: 4.2rem; font-size: .58rem; }
	.project-art__note { font-size: .51rem; }
	.product-grid { grid-template-columns: 1fr; gap: 2.7rem; }
	.product__visual { min-height: 17rem; }
	.product__body > p:not(.eyebrow) { min-height: 0; }
	.approach__layout { grid-template-columns: 1fr; gap: 2.7rem; }
	.approach__lead h2 { max-width: 12ch; }
	.insight-row { grid-template-columns: 5.3rem minmax(0, 1fr) 1.2rem; gap: .8rem; }
	.insight-row time { font-size: .68rem; }
	.contact-cta__inner { align-items: flex-start; flex-direction: column; gap: 1.7rem; }
	.contact-cta__node { top: -2rem; right: 0; width: 2.8rem; height: 2.8rem; }
	.contact-cta__node::before { width: 4rem; }
	.site-footer__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 1rem; padding-block: 1.75rem 1.25rem; }
	.site-footer__identity { grid-column: 1; grid-row: 1; }
	.site-footer__navigation { grid-column: 1 / -1; grid-row: 2; }
	.site-footer__groups { gap: 1rem; }
	.site-footer__email { grid-column: 2; grid-row: 1; align-self: start; }
	.site-footer__copyright { margin-top: 1rem; }
	body.woocommerce-shop .site-main, body.tax-product_cat .site-main, body.tax-product_tag .site-main { width: min(calc(100% - 2rem), var(--content-width)); padding-block: 3.5rem; }
	body.woocommerce-shop .woocommerce-result-count, body.tax-product_cat .woocommerce-result-count, body.tax-product_tag .woocommerce-result-count { float: none; margin: 0 0 .75rem; }
	body.woocommerce-shop .woocommerce-ordering, body.tax-product_cat .woocommerce-ordering, body.tax-product_tag .woocommerce-ordering { float: none; width: 100%; margin-bottom: 1.25rem; }
	body.woocommerce-shop .woocommerce-ordering select, body.tax-product_cat .woocommerce-ordering select, body.tax-product_tag .woocommerce-ordering select { width: 100%; }
	body.woocommerce-shop ul.products li.product .button, body.tax-product_cat ul.products li.product .button, body.tax-product_tag ul.products li.product .button { width: 100%; }
	.content-list { grid-template-columns: 1fr; }
	:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-4, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-5, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-6, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-7, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-8 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	:is(.entry-content, .editor-styles-wrapper) .wp-block-columns { flex-direction: column; gap: 1.5rem; }
	:is(.entry-content, .editor-styles-wrapper) .wp-block-column { flex-basis: 100% !important; }
	:is(.entry-content, .editor-styles-wrapper) .wp-block-cover { min-height: 16rem; }
	:is(.entry-content, .editor-styles-wrapper) .wd-pattern-contact-cta { padding-inline: 1.25rem; }
	/* WooCommerce forces 24px around this Cart-only divider; trim it to clear the fixed verification badge. */
	body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-express-payment-continue-rule--cart { margin: .625rem 0 !important; }
}
@media (max-width: 22rem) {
	.site-header__inner { gap: 0 .2rem; }
	.site-branding__link { gap: .35rem; }
	.site-branding__mark { width: 1.8rem; height: 1.8rem; }
	.site-branding__name { font-size: .9rem; }
	.menu-toggle { gap: .3rem; padding-inline: .35rem; font-size: .72rem; }
	.site-header__cart { width: 2.6rem; }
	body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-express-payment-continue-rule--cart { margin: 0 !important; }
	body.single-product .site-main > div.product { row-gap: 2rem; }
	body.single-product div.product .woocommerce-tabs ul.tabs li { margin-right: .25rem; }
	body.single-product div.product .woocommerce-tabs ul.tabs li a { padding-inline: .65rem; font-size: .85rem; }
	body.single-product div.product .woocommerce-Tabs-panel--description table { display: block; width: 100%; max-width: 100%; overflow-x: auto; table-layout: auto; }
	body.single-product div.product .woocommerce-Tabs-panel--description :where(th, td) { padding: .5rem .45rem; font-size: .78rem; }
	.hero .eyebrow { font-size: .61rem; }
	.hero__actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
	.direction-canvas__topline { letter-spacing: .04em; }
	.canvas-label { font-size: 10px; }
	.project--tvet { width: 94%; }
	.project-art--ocake { min-height: 18rem; }
	.project-art--tvet { min-height: 16rem; }
	.site-footer__email { font-size: .68rem; }
	.site-footer__groups { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
	body.woocommerce-shop ul.products, body.tax-product_cat ul.products, body.tax-product_tag ul.products { grid-template-columns: minmax(0, 1fr); }
	:is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.has-nested-images, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-2, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-3, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-4, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-5, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-6, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-7, :is(.entry-content, .editor-styles-wrapper) .wp-block-gallery.columns-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
