:root {
    --ink: #15171b;
    --muted: #73757d;
    --paper: #f7f7f5;
    --line: #deded9;
    --lime: #cdfb4b;
    --blue: #a8b8ff;
    --font: 'Manrope', sans-serif;
    --display: 'Space Grotesk', sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin: auto
}

.section {
    padding: 130px 0
}

.page-glow {
    position: absolute;
    width: 38rem;
    height: 38rem;
    z-index: -1;
    border-radius: 50%;
    filter: blur(95px);
    opacity: .32
}

.glow-one {
    background: #dce6ff;
    top: -12rem;
    right: -12rem
}

.glow-two {
    background: #f1fdd3;
    top: 80rem;
    left: -24rem
}

.site-header {
    height: 80px;
    display: flex;
    align-items: center
}

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

.brand {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.08em;
    color: var(--ink);
    text-decoration: none
}

.brand span {
    color: #86a827
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 29px
}

.nav-links a,
.footer a {
    color: var(--ink);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 700
}

.nav-cta {
    border: 1px solid var(--ink);
    border-radius: 99px;
    padding: 9px 16px
}

.nav-cta span {
    padding-left: 5px
}

.menu-toggle {
    display: none
}

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    align-items: center;
    gap: 40px;
    padding-top: 62px
}

.eyebrow,
.section-label {
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 800
}

.eyebrow {
    color: #686a70;
    margin: 0 0 20px
}

.eyebrow span {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--ink);
    vertical-align: middle;
    margin-right: 10px
}

.hero h1,
h2 {
    font-family: var(--display);
    line-height: 1.01;
    letter-spacing: -.065em;
    margin: 0
}

.hero h1 {
    font-size: clamp(3.5rem, 6vw, 5.7rem);
    max-width: 760px
}

.hero h1 em,
h2 em {
    font-style: normal;
    color: #758e2e
}

.hero-text {
    color: var(--muted);
    max-width: 490px;
    margin: 25px 0 30px
}

.hero-actions {
    display: flex;
    gap: 25px;
    align-items: center
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 23px;
    padding: 14px 19px;
    text-decoration: none;
    border-radius: 4px;
    font-size: .86rem;
    font-weight: 800
}

.button span {
    font-size: 1.15rem
}

.button-primary {
    background: var(--ink);
    color: #fff
}

.text-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--ink);
    font-size: .83rem;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 3px
}

.hero-art {
    height: 420px;
    position: relative;
    display: grid;
    place-items: center
}

.orbit {
    position: absolute;
    border: 1px solid #d9ded0;
    border-radius: 50%
}

.orbit-a {
    width: 400px;
    height: 400px
}

.orbit-b {
    width: 280px;
    height: 280px
}

.browser-card {
    width: min(360px, 90%);
    height: 255px;
    background: white;
    box-shadow: 0 32px 55px #2222;
    transform: rotate(-6deg);
    border: 1px solid #eee
}

.browser-top {
    height: 26px;
    border-bottom: 1px solid #eee;
    padding: 8px
}

.browser-top span {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d5d5d5;
    margin-right: 3px
}

.browser-top b {
    font-size: 6px;
    color: #aaa;
    margin-left: 35px
}

.browser-body {
    padding: 17px
}

.tiny-logo {
    font: 700 15px var(--display)
}

.tiny-nav {
    float: right;
    margin-top: -18px;
    font-size: 5px;
    color: #999
}

.browser-content {
    clear: both;
    padding-top: 34px
}

.browser-content p {
    font: 700 34px/1 var(--display);
    letter-spacing: -2px;
    margin: 0
}

.browser-content strong {
    color: #a6c949
}

.browser-shape {
    width: 120px;
    height: 90px;
    position: absolute;
    right: 15px;
    bottom: 10px;
    background: #d7f352;
    border-radius: 70% 30% 60% 40%;
    transform: rotate(22deg)
}

.floating-card {
    position: absolute;
    background: #fff;
    box-shadow: 0 14px 28px #3332;
    padding: 13px 15px
}

.card-result {
    right: 2%;
    top: 14%;
    width: 115px
}

.card-result small {
    display: block;
    color: #888;
    font-size: 9px
}

.card-result b {
    font: 700 25px var(--display)
}

.card-result sup {
    font-size: 11px
}

.card-result span {
    float: right;
    color: #83a329
}

.card-status {
    bottom: 4%;
    left: 0;
    font-size: 9px;
    font-weight: 800
}

.card-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c6f83f;
    display: inline-block;
    margin-right: 6px
}

.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 25px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.stats div {
    padding-left: 27px;
    border-left: 1px solid var(--line)
}

.stats div:first-child {
    border-left: 0;
    padding-left: 0
}

.stats strong {
    display: block;
    font: 700 2rem/1.3 var(--display);
    letter-spacing: -.07em
}

.stats strong span {
    color: #9abb32;
    font-size: 1rem
}

.stats span {
    font-size: .7rem;
    color: var(--muted)
}

.section-label {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 36px
}

.section-label span {
    color: #94ae3d
}

.about-content {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 80px
}

.about h2,
.section-heading h2,
.projects h2,
.process h2,
.contact h2 {
    font-size: clamp(2.5rem, 4.4vw, 4.3rem)
}

.about-copy {
    padding-top: 6px;
    color: var(--muted);
    font-size: .92rem
}

.about-copy p:first-child {
    margin-top: 0
}

.about-copy .text-link {
    margin-top: 15px
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 58px
}

.skill-chips span {
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 700
}

.services,
.process {
    background: #e9ebe5
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 50px
}

.section-heading p {
    width: 300px;
    color: var(--muted);
    font-size: .88rem;
    margin: 0
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px
}

.service-card {
    background: #f8f8f6;
    min-height: 315px;
    padding: 26px;
    position: relative;
    transition: transform .25s
}

.service-card:hover {
    transform: translateY(-7px)
}

.service-no {
    color: #8fa73c;
    font-size: .74rem;
    font-weight: 800
}

.service-icon {
    font-size: 1.9rem;
    margin: 40px 0 22px
}

.service-card h3 {
    font: 700 1.18rem var(--display);
    letter-spacing: -.04em;
    margin: 0
}

.service-card p {
    color: var(--muted);
    font-size: .81rem;
    max-width: 255px
}

.service-card>a {
    position: absolute;
    bottom: 25px;
    right: 27px;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.3rem
}

.projects-top {
    display: flex;
    justify-content: space-between;
    align-items: start
}

.projects h2 {
    margin-bottom: 45px
}

.project-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 35px 18px
}

.project {
    text-decoration: none;
    color: var(--ink)
}

.project-large {
    grid-row: span 2
}

.project-visual {
    height: 260px;
    position: relative;
    overflow: hidden
}

.project-large .project-visual {
    height: 550px
}

.visual-coffee {
    background: #e0d2bf
}

.visual-name {
    position: absolute;
    top: 12%;
    left: 10%;
    z-index: 1;
    color: #fbf3e8;
    font: 700 clamp(2rem, 4vw, 4rem)/.82 var(--display);
    letter-spacing: -.1em
}

.visual-name i {
    font-weight: 500
}

.coffee-circle {
    width: 70%;
    aspect-ratio: 1;
    position: absolute;
    bottom: -20%;
    right: -11%;
    border-radius: 50%;
    background: radial-gradient(circle at 46% 44%, #a97546 0 5%, #261912 6% 22%, #bd9164 23% 26%, #382117 27% 43%, #d7b289 44% 47%, #513322 48% 62%, #b38250 63%)
}

.coffee-label {
    position: absolute;
    bottom: 10%;
    left: 10%;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em
}

.visual-nova {
    background: #171a1d;
    display: grid;
    place-items: center;
    color: #fff;
    font: 700 40px var(--display);
    letter-spacing: -.08em
}

.visual-nova small {
    display: block;
    font: 500 7px var(--font);
    letter-spacing: .19em;
    text-align: center
}

.nova-ball {
    position: absolute;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, #8896ff, #efefff 48%, #5d65bd);
    filter: blur(.2px);
    transform: translate(32%, 20%)
}

.visual-pulse {
    background: #e7f549;
    padding: 30px;
    color: #141414;
    font: 700 45px var(--display);
    letter-spacing: -.1em
}

.visual-pulse small {
    font: 500 10px var(--font);
    display: block;
    letter-spacing: 0;
    margin-top: 52px
}

.visual-pulse i {
    position: absolute;
    width: 120px;
    height: 120px;
    right: -27px;
    bottom: -32px;
    background: #161616;
    border-radius: 50%
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 13px
}

.project-meta h3 {
    font: 700 1rem var(--display);
    margin: 0;
    letter-spacing: -.04em
}

.project-meta p {
    margin: 2px 0;
    color: var(--muted);
    font-size: .69rem
}

.project-arrow {
    width: 30px;
    height: 30px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: grid;
    place-items: center
}

.process-intro {
    display: flex;
    justify-content: space-between;
    align-items: end
}

.process-intro p {
    max-width: 350px;
    color: var(--muted);
    font-size: .88rem
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 65px 0 0;
    border-top: 1px solid #cfd1cb;
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.process-list li {
    padding: 22px 25px 0;
    border-left: 1px solid #cfd1cb
}

.process-list li:first-child {
    border: 0;
    padding-left: 0
}

.process-list span {
    color: #91a942;
    font-size: .75rem;
    font-weight: 800
}

.process-list h3 {
    font: 700 1rem var(--display);
    letter-spacing: -.04em;
    margin: 34px 0 6px
}

.process-list p {
    font-size: .75rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0
}

.testimonials {
    padding-bottom: 130px
}

.testimonial {
    background: #1d2023;
    color: #fff;
    min-height: 345px;
    padding: 46px 8%;
    position: relative
}

.quote-mark {
    font: 700 5rem/.6 Georgia;
    color: var(--lime)
}

blockquote {
    font: 600 clamp(1.5rem, 2.8vw, 2.55rem)/1.25 var(--display);
    letter-spacing: -.055em;
    max-width: 820px;
    margin: 28px 0 34px
}

.person {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: .74rem
}

.person .avatar {
    background: var(--blue);
    color: #1d2023;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: .65rem
}

.person strong,
.person span {
    display: block
}

.person span {
    color: #9fa1a3;
    font-size: .65rem
}

.rating {
    margin-left: auto;
    color: var(--lime);
    letter-spacing: 2px
}

.testimonial-nav {
    position: absolute;
    right: 8%;
    bottom: 42px
}

.testimonial-nav button {
    background: transparent;
    border: 1px solid #727477;
    color: white;
    width: 31px;
    height: 31px;
    margin-left: 5px
}

.contact {
    background: var(--lime);
    padding: 105px 0
}

.contact h2 {
    max-width: 800px
}

.contact-inner>p:not(.eyebrow) {
    font-size: .9rem;
    margin: 25px 0
}

.button-light {
    background: var(--ink);
    color: white
}

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

.footer p,
.footer div {
    font-size: .7rem;
    color: var(--muted)
}

.footer div {
    display: flex;
    gap: 16px
}

.footer div a {
    font-size: .7rem;
    color: var(--muted)
}

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

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

.delay-1 {
    transition-delay: .12s
}

.delay-2 {
    transition-delay: .24s
}

.delay-3 {
    transition-delay: .36s
}

@media(max-width:760px) {
    .container {
        width: min(100% - 38px, 1160px)
    }
    .site-header {
        height: 68px
    }
    .menu-toggle {
        display: flex;
        width: 35px;
        border: 0;
        background: none;
        flex-direction: column;
        gap: 5px;
        padding: 8px
    }
    .menu-toggle i {
        display: block;
        height: 1px;
        background: var(--ink);
        width: 100%
    }
    .nav-links {
        position: absolute;
        display: none;
        top: 62px;
        right: 19px;
        left: 19px;
        background: white;
        padding: 20px;
        box-shadow: 0 15px 30px #2222;
        flex-direction: column;
        align-items: stretch;
        gap: 14px
    }
    .nav-links.open {
        display: flex
    }
    .nav-cta {
        text-align: center
    }
    .hero {
        grid-template-columns: 1fr;
        padding-top: 35px;
        min-height: auto
    }
    .hero-art {
        height: 330px;
        order: -1
    }
    .hero h1 {
        font-size: clamp(2.9rem, 14vw, 4.5rem)
    }
    .hero-actions {
        flex-wrap: wrap
    }
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 24px 0
    }
    .stats div:nth-child(3) {
        border-left: 0;
        padding-left: 0
    }
    .about-content,
    .section-heading,
    .process-intro {
        display: block
    }
    .about-copy {
        margin-top: 26px
    }
    .section {
        padding: 82px 0
    }
    .section-heading p,
    .process-intro p {
        width: auto;
        margin-top: 20px
    }
    .service-grid,
    .project-grid {
        grid-template-columns: 1fr
    }
    .project-large {
        grid-row: auto
    }
    .project-large .project-visual {
        height: 390px
    }
    .projects-top .text-link {
        display: none
    }
    .process-list {
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
        gap: 28px 0
    }
    .process-list li {
        padding: 0 16px;
        border-left: 1px solid #cfd1cb
    }
    .process-list li:first-child,
    .process-list li:nth-child(3) {
        padding-left: 0;
        border-left: 0
    }
    .process-list h3 {
        margin-top: 20px
    }
    .testimonial {
        padding: 40px 25px 78px
    }
    .rating {
        display: none
    }
    .testimonial-nav {
        left: 25px;
        right: auto;
        bottom: 25px
    }
    .footer {
        height: auto;
        padding: 30px 0;
        flex-wrap: wrap;
        gap: 15px
    }
    .footer p {
        order: 3;
        width: 100%
    }
    .orbit-a {
        width: 300px;
        height: 300px
    }
    .orbit-b {
        width: 220px;
        height: 220px
    }
    .card-result {
        right: 0
    }
    .section-label {
        margin-bottom: 25px
    }
}


/* Theme and layout polish — the dark view is the default experience. */

html {
    overflow-x: clip;
}

body {
    --ink: #f5f6f2;
    --muted: #a5a9af;
    --paper: #101214;
    --line: #2c3032;
    --surface: #191c1f;
    --nav-surface: #191c1f;
    --section-tint: #1a1e1c;
    background: var(--paper);
    overflow-x: clip;
}

.glow-one {
    background: #293764;
    opacity: .25;
}

.glow-two {
    background: #405617;
    opacity: .18;
}

.theme-toggle {
    order: 1;
    margin-left: auto;
    margin-right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: transparent;
    color: var(--ink);
    font: 700 .68rem var(--font);
    cursor: pointer;
}

.theme-toggle-icon {
    color: var(--lime);
    font-size: 1rem;
    line-height: 1;
}

.nav-links {
    order: 2;
}

.menu-toggle {
    order: 3;
}

.services,
.process {
    background: var(--section-tint);
}

.service-card {
    background: var(--surface);
}

.browser-card,
.floating-card {
    background: var(--surface);
    border-color: #34393b;
}

.browser-top {
    border-color: #34393b;
}

.browser-top span {
    background: #697073;
}

.browser-top b,
.tiny-nav {
    color: #8f9698;
}

.testimonial {
    background: #222629;
}

.testimonial-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rating {
    margin: 0;
}

.testimonial-nav {
    position: static;
    display: flex;
    gap: 5px;
}

.testimonial-nav button {
    margin: 0;
}

.footer {
    border-top: 1px solid var(--line);
}

.nav-links.open {
    background: var(--nav-surface);
}


/* The light alternative preserves the original, airy colour palette. */

.light-theme {
    --ink: #15171b;
    --muted: #73757d;
    --paper: #f7f7f5;
    --line: #deded9;
    --surface: #f8f8f6;
    --nav-surface: #fff;
    --section-tint: #e9ebe5;
}

.light-theme .glow-one {
    background: #dce6ff;
    opacity: .32;
}

.light-theme .glow-two {
    background: #f1fdd3;
    opacity: .32;
}

.light-theme .browser-card,
.light-theme .floating-card {
    background: #fff;
    border-color: #eee;
}

.light-theme .browser-top {
    border-color: #eee;
}

.light-theme .browser-top span {
    background: #d5d5d5;
}

.light-theme .browser-top b,
.light-theme .tiny-nav {
    color: #999;
}

.light-theme .testimonial {
    background: #1d2023;
}

.light-theme .footer {
    border-top: 0;
}

@media (max-width: 760px) {
    .nav {
        position: relative;
    }
    .theme-toggle {
        margin-left: auto;
        margin-right: 8px;
        padding: 7px 9px;
    }
    .theme-toggle-text {
        display: none;
    }
    .nav-links {
        z-index: 10;
    }
    .hero,
    .about-content,
    .project,
    .service-card,
    .testimonial,
    .contact-inner {
        min-width: 0;
    }
    .hero-art {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .browser-card {
        width: min(330px, 82vw);
    }
    .floating-card {
        max-width: calc(100% - 18px);
    }
    .card-status {
        left: 9px;
    }
    .card-result {
        right: 9px;
    }
    .testimonial {
        padding: 38px 24px;
    }
    .testimonial-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
    .testimonial-controls {
        width: 100%;
        justify-content: space-between;
    }
    .rating {
        display: block;
        font-size: .8rem;
    }
    .testimonial-nav {
        position: static;
    }
    .footer {
        border-top: 1px solid var(--line);
    }
}


/* Buttons retain a strong contrast in both themes. */

.button-primary,
.button-light {
    background: #080a0b;
    color: #fff;
    border: 1px solid #3b4143;
}

.button-primary:hover,
.button-light:hover {
    background: #252b2d;
}


/* The bright contact panel deliberately always uses dark text. */

.contact {
    color: #15171b;
}

.contact .eyebrow {
    color: #384019;
}

.contact .eyebrow span {
    background: #15171b;
}

.contact .button-light {
    background: #15171b;
    border-color: #15171b;
    color: #fff;
}


/* Extra-small screens: every section uses the same centred, safe width. */

@media (max-width: 760px) {
    .container {
        width: calc(100% - 36px);
        max-width: 1160px;
        margin-right: auto;
        margin-left: auto;
    }
    .hero {
        gap: 28px;
    }
    .hero-art {
        height: 310px;
        padding-inline: 6px;
        justify-items: center;
    }
    .browser-card {
        width: min(310px, 78vw);
        transform: rotate(-4deg) scale(.92);
        transform-origin: center;
    }
    .orbit-a {
        width: min(280px, 78vw);
        height: min(280px, 78vw);
    }
    .orbit-b {
        width: min(210px, 58vw);
        height: min(210px, 58vw);
    }
    .floating-card {
        transform: scale(.9);
    }
    .card-status {
        left: 0;
        transform-origin: left bottom;
    }
    .card-result {
        right: 0;
        transform-origin: right top;
    }
    .project-visual,
    .project-large .project-visual {
        height: 300px;
    }
    .testimonial-bottom,
    .testimonial-controls {
        min-width: 0;
    }
}


/* Real project previews used in the portfolio section. */

.visual-image {
    background: #202427;
}

.visual-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 11, .04) 45%, rgba(8, 10, 11, .55));
    pointer-events: none;
}

.visual-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}

.project:hover .visual-image img {
    transform: scale(1.045);
}

.project-type {
    position: absolute;
    z-index: 1;
    left: 16px;
    bottom: 16px;
    padding: 6px 9px;
    background: rgba(9, 11, 12, .88);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}


/* Custom logo placement in the header and footer. */

.brand-logo {
    width: 156px;
    height: 52px;
    overflow: hidden;
    border-radius: 4px;
    background: #050505;
}

.brand-logo img,
.footer-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.footer-logo {
    width: 88px;
    height: 35px;
    overflow: hidden;
    border-radius: 3px;
    background: #050505;
}


/* Review wall and form. */

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(310px, .78fr);
    gap: 18px;
    align-items: start;
}

.reviews-panel,
.review-form {
    background: var(--surface);
    border: 1px solid var(--line);
}

.reviews-panel {
    padding: 38px;
}

.reviews-head {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.reviews-head h2 {
    font-size: clamp(2rem, 3.2vw, 3.35rem);
}

.reviews-head p,
.form-intro {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: .83rem;
}

.reviews-average {
    min-width: 82px;
    text-align: right;
}

.reviews-average strong {
    display: block;
    font: 700 2rem/1 var(--display);
    letter-spacing: -.08em;
}

.reviews-average span {
    display: block;
    color: var(--lime);
    letter-spacing: 1px;
    font-size: .8rem;
    white-space: nowrap;
}

.reviews-average small {
    color: var(--muted);
    font-size: .65rem;
}

.review-list {
    display: grid;
    gap: 11px;
    max-height: 450px;
    padding-right: 6px;
    margin-top: 18px;
    overflow: auto;
}

.review-card {
    padding: 17px;
    background: rgba(255, 255, 255, .035);
    border-left: 2px solid var(--lime);
}

.light-theme .review-card {
    background: #fff;
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.review-card-top strong {
    font: 700 .85rem var(--display);
}

.review-card-top span {
    color: var(--lime);
    font-size: .77rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.review-card p {
    margin: 8px 0 5px;
    color: var(--ink);
    font-size: .79rem;
    line-height: 1.65;
}

.review-card small {
    color: var(--muted);
    font-size: .66rem;
}

.review-form {
    padding: 32px;
}

.form-eyebrow {
    margin: 0;
    color: var(--lime);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .65rem;
    font-weight: 800;
}

.review-form h3 {
    margin: 9px 0 0;
    font: 700 1.55rem var(--display);
    letter-spacing: -.055em;
}

.review-form label,
.rating-input {
    display: block;
    margin-top: 19px;
    color: var(--ink);
    font-size: .72rem;
    font-weight: 800;
}

.review-form input[type="text"],
.review-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: var(--ink);
    font: 400 .82rem var(--font);
    resize: vertical;
}

.review-form input:focus,
.review-form textarea:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 2px rgba(205, 251, 75, .12);
}

.star-picker {
    display: flex;
    gap: 2px;
    margin-top: 5px;
}

.star-picker button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #62696c;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
    transition: transform .15s, color .15s;
}

.star-picker button:hover,
.star-picker button.selected {
    color: var(--lime);
    transform: translateY(-2px);
}

.review-submit {
    margin-top: 23px;
    cursor: pointer;
}

.review-status {
    min-height: 20px;
    margin: 10px 0 0;
    color: var(--lime);
    font-size: .72rem;
    font-weight: 700;
}

@media (max-width: 760px) {
    .brand-logo {
        width: 120px;
        height: 43px;
    }
    .reviews-layout {
        grid-template-columns: 1fr;
    }
    .reviews-panel,
    .review-form {
        padding: 25px 20px;
    }
    .reviews-head {
        align-items: flex-start;
    }
    .reviews-average strong {
        font-size: 1.6rem;
    }
}


/* Full and half-star rendering for ratings. */

.stats strong b {
    font: inherit;
}

.rating-stars,
#average-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.star {
    display: inline-block;
    font-style: normal;
    color: #62696c;
}

.star.full {
    color: var(--lime);
}

.star.half,
.star-picker button.half {
    background: linear-gradient(90deg, var(--lime) 50%, #62696c 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.star-picker button.half:hover {
    transform: translateY(-2px);
}

.star-picker::after {
    content: 'Bal fél: 0,5 · jobb fél: 1 csillag';
    align-self: center;
    margin-left: 7px;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .star-picker::after {
        display: none;
    }
}