:root {
    --ink: #17201d;
    --ink2: #24302c;
    --paper: #f4f1e9;
    --paper2: #eae4d9;
    --white: #fff;
    --accent: #a36c45;
    --accent2: #caa47e;
    --muted: #6c746f;
    --line: rgba(23,32,29,.16);
    --radius: 2px;
    --shadow: 0 24px 70px rgba(23,32,29,.09);
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,input,select,textarea {
    font: inherit;
}

h1,h2,h3,p {
    margin-top: 0;
}

h1,h2,h3 {
    font-family: Georgia,"Times New Roman",serif;
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.03em;
}

h1 {
    font-size: clamp(3rem,6.2vw,6.7rem);
}

h2 {
    font-size: clamp(2.1rem,4vw,4.15rem);
}

h3 {
    font-size: 1.7rem;
}

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

.narrow {
    max-width: 850px;
}

.section-pad {
    padding: 120px 0;
}

.soft {
    background: var(--paper2);
}

.eyebrow {
    font-family: Inter,ui-sans-serif,sans-serif;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--accent);
    margin-bottom: 22px;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: -80px;
    background: #fff;
    padding: 10px 14px;
    z-index: 1000;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    height: 86px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244,241,233,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: .25s;
}

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

.header-inner {
    display: flex;
    align-items: center;
    gap: 38px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand strong {
    font-family: Georgia,serif;
    font-size: 1.18rem;
    font-weight: 500;
}

.brand small {
    font-size: .68rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-top: 5px;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    gap: 34px;
    flex: 1;
}

.desktop-nav a {
    font-size: .91rem;
    padding: 31px 0 28px;
    position: relative;
}

.desktop-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 18px;
    height: 1px;
    background: var(--accent);
    transition: .25s;
}

.desktop-nav a:hover:after,.desktop-nav a.active:after {
    right: 0;
}

.header-cta {
    border: 1px solid var(--ink);
    padding: 10px 18px;
    font-size: .86rem;
    transition: .2s;
}

.header-cta:hover {
    background: var(--ink);
    color: #fff;
}

.menu-toggle,.mobile-nav {
    display: none;
}

.hero {
    min-height: calc(100vh - 86px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right,transparent 0,transparent calc(25% - 1px),rgba(23,32,29,.055) 25%,transparent calc(25% + 1px),transparent calc(50% - 1px),rgba(23,32,29,.055) 50%,transparent calc(50% + 1px),transparent calc(75% - 1px),rgba(23,32,29,.055) 75%,transparent calc(75% + 1px));
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 72px;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
    position: relative;
}

.hero h1 {
    margin-bottom: 32px;
    max-width: 880px;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.lead {
    font-size: 1.15rem;
    color: var(--ink2);
    max-width: 720px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid var(--ink);
    font-weight: 650;
    font-size: .92rem;
    transition: .2s;
    cursor: pointer;
}

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

.btn.primary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.btn.ghost:hover {
    background: #fff;
}

.hero-note {
    font-size: .84rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
}

.hero-note span {
    width: 26px;
    height: 1px;
    background: var(--accent);
}

.drawing-card {
    background: var(--ink);
    color: #fff;
    padding: 34px 34px 30px;
    box-shadow: var(--shadow);
}

.drawing-label {
    font-size: .64rem;
    letter-spacing: .17em;
    opacity: .62;
}

.drawing-card svg {
    margin-top: 35px;
    stroke: var(--accent2);
    fill: none;
    stroke-width: 1.25;
}

.drawing-meta {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 22px;
}

.drawing-meta span {
    color: var(--accent2);
    font-family: Georgia,serif;
    font-size: 1.8rem;
}

.drawing-meta p {
    font-size: .8rem;
    line-height: 1.8;
    opacity: .75;
    margin: 0;
}

.split-heading {
    display: grid;
    grid-template-columns: .34fr 1fr;
    gap: 40px;
}

.split-heading h2 {
    max-width: 950px;
}

.split-heading div>p {
    max-width: 760px;
    font-size: 1.08rem;
    color: var(--muted);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 58px;
}

.section-head h2 {
    max-width: 850px;
    margin: 0;
}

.text-link {
    font-size: .9rem;
    font-weight: 650;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    min-height: 310px;
    padding: 34px;
    position: relative;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: .25s;
}

.service-card:hover {
    background: var(--ink);
    color: #fff;
}

.service-card .num {
    font-family: Georgia,serif;
    font-size: 1.2rem;
    color: var(--accent);
}

.service-card h3 {
    max-width: 440px;
    margin-top: 70px;
    margin-bottom: 12px;
}

.service-card p {
    max-width: 520px;
    color: var(--muted);
    margin: 0;
}

.service-card:hover p {
    color: rgba(255,255,255,.7);
}

.service-card .arrow {
    position: absolute;
    right: 32px;
    top: 32px;
    font-size: 1.5rem;
    transition: .25s;
}

.service-card:hover .arrow {
    transform: translate(4px,-4px);
}

.service-card.wide {
    grid-column: 1/-1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--line);
}

.step {
    padding: 34px 32px 0 0;
}

.step+ .step {
    padding-left: 32px;
    border-left: 1px solid var(--line);
}

.step span,.value span {
    font-family: Georgia,serif;
    color: var(--accent);
    font-size: 1.2rem;
}

.step h3 {
    margin: 50px 0 16px;
}

.step p,.value p {
    color: var(--muted);
}

.cta-band {
    background: var(--ink);
    color: #fff;
    padding: 84px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-inner h2 {
    max-width: 850px;
    margin: 0;
}

.light-eye {
    color: var(--accent2);
}

.light-btn {
    color: #fff;
    border-color: rgba(255,255,255,.55);
}

.light-btn:hover {
    background: #fff;
    color: var(--ink);
}

.site-footer {
    background: #101613;
    color: #fff;
    padding: 76px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr 1fr;
    gap: 55px;
}

.brand-footer {
    min-width: 0;
    margin-bottom: 20px;
}

.footer-brand p,.footer-contact p {
    color: rgba(255,255,255,.62);
    max-width: 360px;
    font-size: .9rem;
}

.site-footer h2 {
    font-family: Inter,sans-serif;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--accent2);
    margin-bottom: 22px;
}

.site-footer .footer-grid>div:not(:first-child) a {
    display: block;
    font-size: .88rem;
    color: rgba(255,255,255,.76);
    margin: 10px 0;
}

.site-footer a:hover {
    color: #fff;
}

.text-link.light {
    display: inline !important;
    color: #fff !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 22px;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    font-size: .73rem;
    color: rgba(255,255,255,.42);
}

.page-hero {
    padding: 120px 0 95px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.page-hero:after {
    content: "";
    position: absolute;
    right: 6%;
    bottom: 0;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(163,108,69,.22);
    border-bottom: 0;
    border-radius: 110px 110px 0 0;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px;
    align-items: end;
}

.page-hero h1 {
    font-size: clamp(3.2rem,5.5vw,5.8rem);
    max-width: 900px;
    margin: 0;
}

.page-lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 10px;
}

.page-hero.compact {
    padding: 92px 0 76px;
}

.detail-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 50px;
    padding: 80px 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 110px;
}

.detail-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.detail-no {
    font-family: Georgia,serif;
    color: var(--accent);
    font-size: 1.5rem;
}

.detail-main {
    max-width: 930px;
}

.detail-main h2 {
    font-size: clamp(2.25rem,3.4vw,3.55rem);
}

.detail-main>p {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 810px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px 30px;
}

.check-list li {
    padding: 13px 0 13px 27px;
    border-top: 1px solid var(--line);
    position: relative;
    font-size: .94rem;
}

.check-list li:before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 28px;
}

.project-card {
    background: #fff;
}

.project-visual {
    height: 360px;
    position: relative;
    overflow: hidden;
    background: var(--ink);
}

.project-visual:before,.project-visual:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(202,164,126,.7);
}

.project-visual:before {
    width: 58%;
    height: 85%;
    left: 21%;
    bottom: -25%;
    border-radius: 180px 180px 0 0;
}

.project-visual:after {
    inset: 12% 8%;
    border-color: rgba(202,164,126,.22);
}

.project-visual span {
    position: absolute;
    right: 26px;
    top: 22px;
    color: var(--accent2);
    font-family: Georgia,serif;
    font-size: 1.5rem;
}

.arch-two {
    background: #2a312d;
}

.arch-two:before {
    width: 36%;
    left: 32%;
    height: 95%;
}

.arch-three {
    background: #57473b;
}

.arch-three:before {
    border-radius: 0;
    width: 68%;
    left: 16%;
    transform: rotate(8deg);
}

.arch-four {
    background: #222d2a;
}

.arch-four:before {
    width: 72%;
    left: 14%;
    height: 70%;
    bottom: 0;
    border-radius: 0;
}

.arch-five {
    background: #342b25;
}

.arch-five:before {
    width: 46%;
    left: 27%;
    height: 100%;
    bottom: -40%;
}

.project-info {
    padding: 30px 32px 34px;
}

.tag {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--accent);
    font-weight: 700;
}

.project-info h2 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.project-info p:last-child {
    color: var(--muted);
}

.contact-card {
    background: var(--paper2);
    display: flex;
    align-items: center;
    padding: 50px;
    min-height: 360px;
}

.contact-card h2 {
    font-size: 2.6rem;
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.about-visual {
    background: var(--ink);
    color: #fff;
    min-height: 510px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.monogram {
    font-family: Georgia,serif;
    font-size: 9rem;
    line-height: 1;
    color: var(--accent2);
    letter-spacing: -.08em;
}

.about-visual p {
    font-family: Georgia,serif;
    font-size: 1.55rem;
    line-height: 1.35;
}

.about-copy h2 {
    font-size: clamp(2.6rem,4vw,4.2rem);
}

.about-copy>p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.04rem;
}

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

.value {
    padding: 34px 28px 0 0;
}

.value+.value {
    border-left: 1px solid var(--line);
    padding-left: 28px;
}

.value h3 {
    margin: 48px 0 15px;
}

.credentials-note p:not(.eyebrow) {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 760px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 80px;
    align-items: start;
}

.contact-aside h2 {
    font-size: 3rem;
}

.contact-tips {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.contact-tips li {
    display: grid;
    grid-template-columns: 55px 1fr;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    font-size: .93rem;
}

.contact-tips span {
    color: var(--accent);
    font-family: Georgia,serif;
}

.availability {
    border-left: 2px solid var(--accent);
    padding-left: 20px;
    margin-top: 45px;
}

.availability strong {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.availability p {
    color: var(--muted);
    font-size: .9rem;
}

.form-card {
    background: #fff;
    padding: 46px;
    box-shadow: var(--shadow);
}

form label {
    display: block;
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 20px;
}

form label>span {
    color: var(--accent);
}

input,select,textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #cfc9be;
    background: transparent;
    border-radius: 0;
    padding: 12px 0;
    color: var(--ink);
    outline: none;
    transition: .2s;
}

textarea {
    resize: vertical;
    min-height: 155px;
}

/* Contact form service dropdown: match the light and dark form surfaces.
   Native option menus may also use the operating system's appearance. */
.form-card select {
    color-scheme: light;
    background-color: #ffffff;
    color: #17201d;
}

.form-card select option {
    background-color: #ffffff;
    color: #17201d;
}

html[data-theme="dark"] .form-card select {
    color-scheme: dark;
    background-color: #151d19;
    color: #f1eee7;
}

html[data-theme="dark"] .form-card select option {
    background-color: #151d19;
    color: #f1eee7;
}

input:focus,select:focus,textarea:focus {
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    margin: 28px 0 !important;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--ink);
}

.consent span {
    color: var(--muted) !important;
}

.consent a {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    margin-top: 8px;
}

.form-status {
    font-size: .85rem;
    margin: 15px 0 0;
    color: var(--muted);
}

.form-status.error {
    color: #9f3d33;
}

.form-status.success {
    color: #336c52;
}

.legal-copy {
    max-width: 850px;
}

.legal-copy h2 {
    font-size: 2rem;
    margin: 52px 0 15px;
}

.legal-copy p {
    color: var(--muted);
}

.legal-note {
    background: var(--paper2);
    padding: 24px;
    margin-top: 40px;
}

.success-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 90px 0;
}

.success-card {
    text-align: center;
    max-width: 720px;
    margin: auto;
}

.success-card h1 {
    font-size: 4.5rem;
}

.success-card p {
    color: var(--muted);
    font-size: 1.05rem;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    margin: 0 auto 28px;
    color: var(--accent);
    font-size: 1.5rem;
}

.error-code {
    display: block;
    font-family: Georgia,serif;
    font-size: 6rem;
    color: var(--accent);
    line-height: 1;
}

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

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

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

@media (max-width:1000px) {
    .desktop-nav,.header-cta {
        display: none;
    }
    .menu-toggle {
        margin-left: auto;
        display: grid;
        gap: 7px;
        background: none;
        border: 0;
        padding: 10px;
    }
    .menu-toggle span {
        display: block;
        width: 28px;
        height: 1px;
        background: var(--ink);
        transition: .25s;
    }
    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4px) rotate(45deg);
    }
    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }
    .mobile-nav {
        display: flex;
        position: fixed;
        top: 86px;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 22px 24px 30px;
        flex-direction: column;
        gap: 0;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: .3s;
        z-index: 99;
    }
    .mobile-nav.open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-nav>a {
        padding: 14px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem;
    }
    .mobile-cta {
        margin-top: 16px !important;
        border: 1px solid var(--ink) !important;
        text-align: center;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }
    .hero {
        min-height: auto;
    }
    .hero-copy {
        padding-top: 40px;
    }
    .hero-visual {
        max-width: 620px;
    }
    .page-hero-grid,.about-grid,.contact-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .page-hero:after {
        display: none;
    }
    .steps,.value-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 36px;
    }
    .step+.step,.value+.value {
        border-left: 0;
        padding-left: 0;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-card.wide {
        grid-column: auto;
    }
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
    .footer-contact {
        grid-column: 1/-1;
    }
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-visual {
        max-width: 620px;
    }
}

@media (max-width:700px) {
    .container {
        width: min(calc(100% - 32px),var(--container));
    }
    .section-pad {
        padding: 78px 0;
    }
    .site-header {
        height: 74px;
    }
    .mobile-nav {
        top: 74px;
    }
    .brand {
        min-width: 0;
    }
    .brand img {
        width: 40px;
    }
    .brand strong {
        font-size: 1.05rem;
    }
    .brand small {
        font-size: .6rem;
    }
    .hero-grid {
        padding-top: 52px;
        padding-bottom: 62px;
    }
    .hero h1 {
        font-size: clamp(2.9rem,14vw,4.2rem);
    }
    .lead {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .drawing-card {
        padding: 25px;
    }
    .split-heading {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .section-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 38px;
    }
    .service-card {
        min-height: 260px;
        padding: 26px;
    }
    .service-card h3 {
        margin-top: 48px;
    }
    .steps,.value-grid {
        grid-template-columns: 1fr;
    }
    .step,.value {
        padding: 26px 0 !important;
        border-top: 1px solid var(--line) !important;
    }
    .step h3,.value h3 {
        margin-top: 30px;
    }
    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-band {
        padding: 60px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-brand {
        grid-column: 1/-1;
    }
    .footer-contact {
        grid-column: 1/-1;
    }
    .footer-bottom {
        gap: 15px;
        flex-direction: column;
    }
    .page-hero {
        padding: 76px 0 60px;
    }
    .page-hero h1 {
        font-size: clamp(2.9rem,12vw,4rem);
    }
    .detail-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 55px 0;
    }
    .check-list {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .project-visual {
        height: 300px;
    }
    .about-visual {
        min-height: 380px;
        padding: 30px;
    }
    .monogram {
        font-size: 7rem;
    }
    .form-card {
        padding: 28px 22px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-aside h2 {
        font-size: 2.5rem;
    }
    .success-card h1 {
        font-size: 3.2rem;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/*Light / dark theme*/

html {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #f1eee7;
    --ink2: #d1d7d3;
    --paper: #111714;
    --paper2: #18201d;
    --white: #151d19;
    --accent: #c99167;
    --accent2: #d6b28e;
    --muted: #9ea8a2;
    --line: rgba(244,241,233,.14);
    --shadow: 0 24px 70px rgba(0,0,0,.28);
}

.theme-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    padding: 0;
    cursor: pointer;
    transition: background .2s,border-color .2s,color .2s,transform .2s;
}

.theme-toggle:hover {
    background: var(--paper2);
    border-color: var(--accent);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.theme-icon {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-icon-sun {
    display: block;
}

html[data-theme="dark"] .site-header {
    background: rgba(17,23,20,.92);
}

html[data-theme="dark"] .hero-lines {
    background-image: linear-gradient(to right,transparent 0,transparent calc(25% - 1px),rgba(244,241,233,.045) 25%,transparent calc(25% + 1px),transparent calc(50% - 1px),rgba(244,241,233,.045) 50%,transparent calc(50% + 1px),transparent calc(75% - 1px),rgba(244,241,233,.045) 75%,transparent calc(75% + 1px));
}

html[data-theme="dark"] .header-cta:hover {
    background: var(--ink);
    color: #111714;
}

html[data-theme="dark"] .btn.primary {
    background: var(--ink);
    color: #111714;
}

html[data-theme="dark"] .btn.ghost:hover {
    background: var(--paper2);
}

html[data-theme="dark"] .drawing-card,
html[data-theme="dark"] .service-card:hover,
html[data-theme="dark"] .cta-band,
html[data-theme="dark"] .about-visual {
    background: #0c110f;
    color: #fff;
}

html[data-theme="dark"] .project-card,
html[data-theme="dark"] .form-card {
    background: #151d19;
}

html[data-theme="dark"] .project-visual {
    background: #0c110f;
}

html[data-theme="dark"] .arch-two {
    background: #202824;
}

html[data-theme="dark"] .arch-three {
    background: #40352e;
}

html[data-theme="dark"] .arch-four {
    background: #17211e;
}

html[data-theme="dark"] .arch-five {
    background: #29221e;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    border-bottom-color: rgba(244,241,233,.28);
}

html[data-theme="dark"] .skip-link {
    background: var(--paper2);
    color: var(--ink);
}

@media (max-width:1000px) {
    .theme-toggle {
        margin-left: auto;
    }
    .menu-toggle {
        margin-left: 0;
    }
}

@media (max-width:700px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .theme-icon {
        width: 18px;
        height: 18px;
    }
    .header-inner {
        gap: 8px;
    }
    .brand {
        margin-right: auto;
    }
}

/* Informacinis pranešimas apie svetainės statistiką. */

[hidden] {
    display: none !important;
}

.privacy-notice {
    position: fixed;
    right: auto;
    bottom: 20px;
    left: 20px;
    z-index: 1200;
    width: min(490px, calc(100% - 40px));
    padding: 16px 20px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 16px 45px rgba(0, 0, 0, .16);
}

.privacy-notice p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.6;
}

.privacy-notice a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Pranešimo patvirtinimas skirtas tik jam uždaryti, ne analitikos sutikimui. */
.privacy-notice-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 38px;
    margin-top: 14px;
    padding: 8px 16px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s ease;
}

.privacy-notice-dismiss:hover {
    opacity: .86;
}

.privacy-notice-dismiss:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.privacy-notice a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .privacy-notice {
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        padding: 13px 15px;
    }
}
