/*
Theme Name: HDTheme (2026)
Theme URI: https://harmonicdesign.ca
Author: Harmonic Design
Author URI: https://harmonicdesign.ca
Description: This theme is for use on *** <strong>only</strong>
*/

:root {
    --paper: #fdfcfa;
    --ink: #1a1a20;
    --muted: #63636e;
    --line: #e8e6e0;
    --accent: #d75b1e;
    --accent-soft: #fdeada;
    --accent-deep: #b04510;
    --brand-light: #f47923;
    --quiz-bg: #cecbf6;
    --quiz-ink: #26215c;
    --quiz-mid: #3c3489;
    --shop-bg: #9fe1cb;
    --shop-ink: #04342c;
    --shop-mid: #085041;
    --inv-bg: #f5c4b3;
    --inv-ink: #4a1b0c;
    --inv-mid: #712b13;
    --radius: 14px;
    --display: "Fraunces", Georgia, serif;
    --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 92px;
}

body {
    font-family: var(--body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 0;
    z-index: 99;
}

.skip:focus {
    left: 0;
}

:focus-visible {
    outline: 2.5px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.svc_icon {
    width: 30px;
    height: 30px;
    color: var(--accent-deep);
    display: block;
    transition: transform .35s cubic-bezier(.3, 1.6, .4, 1);
}

.eyebrow {
    font-size: 12.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-deep);
    font-weight: 600;
    margin-bottom: 14px;
}

.section {
    padding: 96px 0;
}

.section_head {
    max-width: 560px;
    margin-bottom: 52px;
    text-wrap: balance;
}

.section_head p {
    color: var(--muted);
    margin-top: 12px;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* header */
header {
    top: 0;
    z-index: 50;
    background: rgba(253, 252, 250, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

header.scrolled {
    border-color: var(--line);
    position: sticky;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    font-family: var(--display);
    font-weight: 600;
    font-size: 19px;
    text-decoration: none;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mark {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transition: transform 300ms ease-in-out;
}

.logo:hover .mark {
    transform: scale(1.2);
}

.logo button {
    all: unset;
    color: var(--accent);
    cursor: pointer;
    font: inherit;
    padding: 0 2px;
    transition: transform 0.2s;
}

.logo button:hover {
    transform: scale(1.5);
}

.nav_links {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
}

.nav_links a {
    text-decoration: none;
    font-size: 14.5px;
    color: var(--muted);
    position: relative;
    transition: color 0.2s;
}

.nav_links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -5px;
    height: 2px;
    background: var(--accent);
    transition: right 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.nav_links a:hover {
    color: var(--ink);
}

.nav_links a:not(.btn):hover::after,
.nav_links a.active:not(.btn)::after {
    right: 0;
}

.nav_links a.active {
    color: var(--ink);
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 100px;
    transition:
        transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1),
        background 0.2s,
        box-shadow 0.25s;
    will-change: transform;
}

.btn_primary,
.nav_links a.btn_primary {
    background: var(--ink);
    color: var(--paper);
}

.btn_primary:hover {
    background: var(--accent-deep);
    box-shadow: 0 8px 24px rgba(215, 91, 30, 0.28);
}

.btn_ghost {
    border: 1.5px solid var(--line);
    color: var(--ink);
}

.btn_ghost:hover {
    border-color: var(--ink);
    background: #f6f4ee;
}

.nav .btn {
    padding: 9px 18px;
}

.wp-element-caption {
	  font-size: 0.8em;
}

.hdcallout {
	font-style: italic;
	margin-top: 2.2rem;
	margin-bottom: 2.2rem;
	padding: 2em 2em;
	text-align: center;
	transform: translate3d(-10px, -16px, 0) rotateX(1deg) rotateZ(3deg);
	box-shadow: 15px 15px 17px -10px var(--accent-soft);
	font-size: 1.1em;
	border-radius: var(--radius);
	background-color: #fff;
	border: 1px solid var(--line);
}

.hdcallout > :last-child {
	margin-bottom: 0;
}

.hdcallout > :first-child {
	margin-top: 0;
}

pre {
  background-color: #1e1e1e;
  color: #d4d4d4;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  border: 1px solid #2d2d2d;
}

pre code {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre;
}

code:not(pre code) {
font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1;
  white-space: pre;
  background-color: #f4f4f4;
  position: relative;
  padding: 4px;
  top: -2px;
  border-radius: 6px;
}

/* hero */
.hero {
    padding: 84px 0 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    max-width: 760px;
    margin: 0 auto 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    position: relative;
    white-space: nowrap;
}

.hero .sub {
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 34px;
    font-size: 18px;
}

.hero .eyebrow,
.hero h1,
.hero .sub,
.hero_ctas {
    animation: heroin 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
    text-wrap: balance;
}

.hero h1 {
    animation-delay: 0.08s;
}

.hero .sub {
    animation-delay: 0.16s;
}

.hero_ctas {
    animation-delay: 0.24s;
}

@keyframes heroin {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
}

.hero_ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.stickers {
    position: absolute;
    inset: 0;
    max-width: 1080px;
    margin: 0 auto;
    pointer-events: none;
}

.sticker {
    position: absolute;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 100px;
    border: 2px solid var(--ink);
    animation: float 5s ease-in-out infinite;
}

.sticker.s1 {
    background: #f4c0d1;
    color: #4b1528;
    top: 6%;
    right: 6%;
    transform: rotate(7deg);
}

.sticker.s2 {
    background: #fac775;
    color: #412402;
    top: 26%;
    left: 4%;
    transform: rotate(-5deg);
    animation-delay: -2.5s;
}

@keyframes float {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -9px;
    }
}

#wave {
    display: block;
    width: 100%;
    height: 190px;
    cursor: pointer;
    touch-action: pan-y;
}

@media (min-width: 760px) {
    #wave {
        height: 260px;
    }
}

.hint {
    font-size: 12.5px;
    color: var(--muted);
    opacity: 0.7;
    margin-top: -6px;
    padding-bottom: 8px;
}

/* scroll progress + ambient background */
#progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 60;
    will-change: transform;
}

#bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* word-split heading reveal */
.ws span {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.65em) rotate(2.5deg);
    transition:
        opacity 0.55s ease,
        transform 0.65s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.reveal.in .ws span,
.in .ws span {
    opacity: 1;
    transform: none;
}

/* staggered card + service entrances */
.cards .reveal:nth-child(1) {
    transition-delay: 0.03s;
}

.cards .reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.cards .reveal:nth-child(3) {
    transition-delay: 0.27s;
}

.svc .reveal:nth-child(1) {
    transition-delay: 0.03s;
}

.svc .reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.svc .reveal:nth-child(3) {
    transition-delay: 0.27s;
}

/* giant scroll-linked text strip */
.strip {
    overflow: hidden;
    padding: 56px 0 20px;
    user-select: none;
}

.strip_line {
    white-space: nowrap;
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(44px, 7.5vw, 92px);
    letter-spacing: -0.02em;
    line-height: 1.08;
    will-change: transform;
}

.strip_line.solid {
    color: var(--ink);
    opacity: 0.06;
}

.strip_line.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
    opacity: 0.5;
}

/* marquee scroll-velocity lean */
.marquee {
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* wave divider */
.divider {
    display: block;
    width: 100%;
    height: 70px;
    overflow: hidden;
}

.divider path {
    animation: driftx 7s linear infinite;
}

.divider path.d2 {
    animation-duration: 11s;
    animation-direction: reverse;
    opacity: 0.4;
}

.divider path.d3 {
    animation-duration: 16s;
    opacity: 0.18;
}

@keyframes driftx {
    to {
        transform: translateX(-120px);
    }
}

/* faq open animation */
.faq .faq_answer {
    animation: none;
}

.faq details[open] .faq_answer {
    animation: faqin 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes faqin {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* about */
.about {
    background: #fbfaf7;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about_grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: start;
}

.about_grid p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 16px;
}

.about_grid strong {
    color: var(--ink);
}

.care {
    border: 2.5px solid var(--ink);
    border-radius: 20px;
    padding: 30px 28px;
    background: var(--accent-soft);
    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1),
        box-shadow 0.35s;
}

.care:hover {
    transform: translateY(-5px) rotate(-0.5deg);
    box-shadow: 0 16px 36px rgba(26, 26, 32, 0.14);
}

.care h3 {
    font-size: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.care p {
    color: var(--ink);
    opacity: 0.75;
    font-size: 15px;
    margin-bottom: 18px;
}

/* Image Filter Effect */
.image_border_effect {
    padding: 1em;
    border-radius: 18px;
    overflow: hidden;
}

.image_border_effect>img {
    filter: url(#shadow);
    box-shadow: 0 4px 28px #ccc, 0 -4px 28px #fff;
}

/* expertise rows */
.expert {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
    margin-bottom: 76px;
    content-visibility: auto;
}

.expert:last-child {
    margin-bottom: 0;
}

.expert img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--line);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.expert.flip .image_border_effect img {
    transform: scaleX(-1);
}

.expert.flip:hover .image_border_effect img {
    transform: scaleX(-1) scale(1.02) rotate(0.5deg);
}

.expert:hover .image_border_effect img {
    transform: scale(1.02) rotate(0.5deg);
}

.expert.flip .image_border_effect {
    order: 2;
}

.expert h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.expert p {
    color: var(--muted);
    font-size: 15.5px;
}

.expert ul {
    margin: 14px 0 0 20px;
    color: var(--muted);
    font-size: 15px;
}

.expert li {
    margin-bottom: 7px;
}

.expert li::marker {
    color: var(--accent);
}

@media (max-width: 760px) {

    .about_grid,
    .expert {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .expert.flip img {
        order: 0;
    }

    .expert.flip .image_border_effect {
        order: 1 !important;
    }

    .expert.flip>div:last-child {
        order: 2;
    }

    .image_border_effect {
        padding: 0 !important
    }

    .image_border_effect>img,
	#featured_image > img {
        filter: none !important;
        box-shadow: none !important
    }
}


/* Second Round */
/* products */
.products {
    background: #fbfaf7;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    perspective: 1200px;
}

.card {
    border: 2.5px solid var(--ink);
    border-radius: 20px;
    padding: 30px 26px;
    text-decoration: none;
    position: relative;
    transform-style: preserve-3d;
    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1),
        box-shadow 0.35s;
    will-change: transform;
    display: block;
}

.card:hover {
    box-shadow: 0 18px 40px rgba(26, 26, 32, 0.16);
}

.card .glyph {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    display: block;
    transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.4, 1);
}

.card:hover .glyph {
    transform: scale(1.18) rotate(-8deg);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.card .tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 14px;
}

.card p.desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card .go {
    font-weight: 600;
    font-size: 14.5px;
}

.card .go::after {
    content: " →";
    transition: margin-left 0.25s;
}

.card:hover .go::after {
    margin-left: 5px;
}

.card.quiz {
    background: var(--quiz-bg);
    color: var(--quiz-ink);
}

.card.quiz .tag,
.card.quiz p.desc {
    color: var(--quiz-mid);
}

.card.shop {
    background: var(--shop-bg);
    color: var(--shop-ink);
}

.card.shop .tag,
.card.shop p.desc {
    color: var(--shop-mid);
}

.card.inv {
    background: var(--inv-bg);
    color: var(--inv-ink);
}

.card.inv .tag,
.card.inv p.desc {
    color: var(--inv-mid);
}

/* stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat b {
    font-family: var(--display);
    font-size: clamp(34px, 4.5vw, 50px);
    font-weight: 600;
    display: block;
    letter-spacing: -0.02em;
}

.stat span {
    color: var(--muted);
    font-size: 14px;
}

/* marquee */
.marquee {
    overflow: hidden;
    position: relative;
    padding: 6px 0;
}

.marquee_track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 38s linear infinite;
}

/* .marquee:hover .marquee_track {
	animation-play-state: paused;
} */

.marquee img {
    width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition:
        transform 0.35s,
        filter 0.35s;
    filter: grayscale(60%);
    aspect-ratio: 16 / 9;
}

.marquee img:hover {
    transform: scale(1.045) rotate(0.6deg);
    filter: grayscale(0);
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* services */
.svc {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
}

.svc article {
    border-top: 2.5px solid var(--ink);
    padding-top: 22px;
    transition: border-color 0.25s;
}

.svc article:hover {
    border-color: var(--accent);
}

.svc h3 {
    font-size: 21px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.svc p {
    color: var(--muted);
    font-size: 15.5px;
    margin-bottom: 14px;
}

.svc a {
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    color: var(--accent-deep);
}

.svc a:hover {
    text-decoration: underline;
}

/* faq */
.faq {
    max-width: 720px;
}

details {
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

summary {
    cursor: pointer;
    list-style: none;
    display: flex; 
	justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 4px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 18px;
    transition: color 0.2s;
    position: relative;
}

.hdaccordion__title-text {
    min-width: 0;    
}

.hdaccordion__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    line-height: 0;
}

.hdaccordion__icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: auto;
}

details[open] summary::after {
    transform: rotate(45deg);
}

summary:hover {
    color: var(--accent);
}

.hdaccordion__title {
    scroll-margin-top: 6rem;
}

.faq .faq_answer {
    padding: 0 4px 24px;
    color: var(--muted);
    max-width: 620px;
}

/* contact */
.contact {
    background: var(--ink);
    color: var(--paper);
    border-radius: 28px;
    padding: 64px 8%;
    position: relative;
    overflow: hidden;
}

.contact .eyebrow {
    color: #f8a869;
}

.contact h2 {
    font-size: clamp(30px, 4.5vw, 44px);
    max-width: 520px;
    margin-bottom: 10px;
}

.contact .lead {
    color: #b9b9c4;
    max-width: 480px;
    margin-bottom: 36px;
}

.contact .hdf-form {
    max-width: initial;
}

.contact label {
    font-size: 13.5px;
    font-weight: 600;
    display: block;
    color: #d5d5de;
}

.contact input,
.contact textarea,
.contact select {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 13px 15px;
    color: var(--paper);
    font: inherit;
    font-size: 15px;

    margin-top: 6px;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.contact input:focus,
.contact textarea:focus,
.contact select:focus {
    outline: none;
    border-color: #f8a869;
    background: rgba(255, 255, 255, 0.1);
}

.contact textarea {
    min-height: 110px;
    resize: vertical;
}

.contact .hdf-button {
    justify-self: start;
    border: none;
    cursor: pointer;
    background: var(--paper);
    color: var(--ink);
    border-radius: 18px;
    text-align: center;
    padding: 1em
}

.contact .hdf-button:hover {
    background: var(--brand-light);
}

.hdf_label_row {
    display: block;
    cursor: pointer;
    line-height: 1.4;
    padding: 0.15em 0;
    max-width: max-content;
}

.hdf-options-radio {
    display: inline-block;
    margin-right: 12px;
    top: 4px;
    position: relative;
}

.hdf-options-radio input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.hdf-options-radio .hdf_toggle {
    width: 2em;
    height: 1em;
    position: relative;
    cursor: pointer;
    display: block !important;
    font-size: 1em !important;
    margin: 0;
}


.hdf-options-radio .hdf_toggle::before {
    content: "";
    position: absolute;
    width: 2em;
    height: 1em;
    left: 0.1em;
    transition: background 0.1s ease;
    background: #dfdfdf;
    border-radius: 50px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 50%);
}

.hdf-options-radio .hdf_toggle::after {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    border-radius: 50px;
    left: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
    background: #555;
    z-index: 2;
}

.hdf-options-radio input[type="checkbox"]:checked+.hdf_toggle::before {
    background: #72c474;
    box-shadow: inset 0px 1px 1px rgba(84, 152, 140, 0.5);
}

.hdf-options-radio input[type="checkbox"]:checked+.hdf_toggle::after {
    left: 1.1em;
    background: #efefef;
}

.contact .ok {
    display: none;
    font-size: 18px;
    font-family: var(--display);
    font-weight: 600;
    padding: 18px 0;
}

.contact.sent .hdf-form {
    display: none;
}

.contact.sent .ok {
    display: block;
}

#confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* footer */
footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--line);
    margin-top: 96px;
}

.foot {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 36px;
    font-size: 14.5px;
    color: var(--muted);
}

.foot h3 {
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.foot a {
    color: var(--muted);
    text-decoration: none;
}

.foot a:hover {
    color: var(--accent);
}

.foot ul {
    list-style: none;
}

.foot li {
    margin-bottom: 7px;
}

.copyright {
    margin-top: 44px;
    font-size: 13.5px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* toast + notes */
#toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translate(-50%, 80px);
    background: var(--ink);
    color: var(--paper);
    padding: 13px 24px;
    border-radius: 100px;
    font-size: 14.5px;
    font-weight: 600;
    opacity: 0;
    transition:
        transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1),
        opacity 0.45s;
    z-index: 99;
    pointer-events: none;
}

#toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

@media (max-width: 920px) {

    .cards,
    .svc,
    #hd_products_grid {
        grid-template-columns: 1fr !important;
    }

    .svc {
        gap: 32px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    #sidebar_content {
        max-height: initial !important;
        position: static !important;
        overflow-y: initial !important;
    }

    .single #content {
        grid-template-columns: 1fr !important
    }
}

@media (max-width: 700px) {
    .section {
        padding: 64px 0;
    }

    .nav_links li:not(:last-child) {
        display: none;
    }

    .sticker {
        font-size: 11px;
        padding: 6px 11px;
    }

    .sticker.s1 {
        top: 10px;
        right: 8px;
    }

    .sticker.s2 {
        top: 10px;
        left: 8px;
    }

    .contact {
        padding: 44px 7%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    .marquee_track,
    .sticker {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* Single */

.wp-block-quote {
    box-sizing: border-box;
    overflow-wrap: break-word;
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
}

.hd_highlight_item {
    position: relative;
    z-index: 1;
    padding: 0.6em;
    text-wrap: balance;
}

.hd_highlight_item::after {
    content: "";
    height: 120%;
    background-color: #ecf6fb;
    width: 110%;
    position: absolute;
    left: -5%;
    bottom: -10%;
    z-index: -1;
    transform: rotate(-1deg);
}

.single .hero,
.wp-singular .hero {
    padding-bottom: 4rem;
}

.single #content {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-gap: 4rem;
}

.wp-block-paragraph {
    margin: 1em 0
}

.wp-block-heading {
    margin-top: 1em;
}

.wp-block-list {
    padding-left: 1em;
}

#featured_image {
    margin-bottom: 4rem;
    opacity: 0.8;
    transition: 0.4s opacity ease-in-out;
    border-radius: 0.6em;
    box-shadow: 0 0 22px #ddd, 0 0 22px #fff;
    background-color: #fff;
    padding: 0.6em;
    overflow: hidden;
}

#featured_image>img {
    display: block;
    border-radius: 0.4em;
    box-shadow: 0 4px 28px #ccc, 0 -4px 28px #fff;
    width: 100%;
    height: auto;
    filter: url(#shadow)
}

#featured_image:hover {
    opacity: 1;
}

#hd_products_grid {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr);
    grid-gap: 4rem;
}

#hd_products_grid #featured_image {
    margin-bottom: 1rem;
    opacity: 1;
}

.hd_product_item_content {
    padding: 0 0.6em;
}

#hdcomments {
    margin-top: 4rem;
}

#hdcomments #hdcomments_response {
    border-radius: 0.4em;
    border-color: #e1e1e1;
}

/* HD_TOC */
#article_nav_heading {
    margin-bottom: 1rem;
}

#toc_wrapper {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow: auto;
}

.hd_toc_item {
    display: block;
    color: #222;
    text-decoration: none;
    line-height: 1.6
}

.hd_toc_item:hover {
    text-decoration: underline;
}

.hd_toc_H2 {
    font-weight: bold;
    margin-top: 0.4em;
}

.hd_toc_H2:first-child {
    margin-top: 0;
}

.hd_toc_H3,
.hd_toc_H4,
.hd_toc_H5,
.hd_toc_H6 {
    font-size: 0.8em;
}

.hd_toc_H4 {
    padding-left: 1em;
}

.hd_toc_H4:before {
    content: "- ";
}

.hd_toc_H5 {
    padding-left: 2em;
}

.hd_toc_selected_animation {
    position: relative;
}

.hd_toc_selected_animation:before {
    animation-name: hd_toc_animation;
    animation-duration: 2s;
    animation-delay: 350ms;
    animation-iteration-count: 1;
    content: "";
    border-bottom: 2px dashed;
    width: 100%;
    position: absolute;
    bottom: -0.4em;
    opacity: 0;
}

@keyframes hd_toc_animation {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#sidebar_content {
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    position: sticky;
    top: 6rem;
}