:root {
  --ink: #182016;
  --paper: #f3f5ef;
  --lime: #d8f74c;
  --soft: #51594a;
  --rule: #cdcfc0;
  --gutter: clamp(20px, 5.2vw, 88px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: Commissioner, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--ink); background: #e7fa94; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.038em; }
p { line-height: 1.6; }
img { max-width: 100%; }
.frame { width: min(100% - var(--gutter) * 2, 1288px); margin-inline: auto; }
section[id] { scroll-margin-top: 20px; }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: 12px 16px; background: var(--lime); color: var(--ink); clip-path: inset(50%); }
.skip:focus-visible { clip-path: none; }

.site-header, .site-header nav, .brand, .hero-actions, .project-info, .form-actions, .site-footer .frame { display: flex; align-items: center; }
.site-header { justify-content: space-between; gap: 18px; min-height: 68px; }
.brand { gap: 8px; text-decoration: none; line-height: 1; font-weight: 850; font-size: 21px; letter-spacing: -.04em; }
.brand-slash { color: var(--lime); }
.site-header .brand-slash { -webkit-text-stroke: .5px #526215; }
.site-header nav { gap: clamp(16px, 3.2vw, 44px); }
.site-header nav a { min-height: 44px; display: grid; align-items: center; text-underline-offset: .3em; text-decoration-color: transparent; font-size: .9rem; font-weight: 700; transition: text-decoration-color .2s ease; }
.site-header nav a:hover, .site-header nav a:active { text-decoration-color: currentColor; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 51px; border: 1px solid transparent; border-radius: 6px; padding: 11px 16px; font-size: .94rem; font-weight: 760; line-height: 1.25; text-decoration: none; transition: background .18s, color .18s, transform .22s var(--ease); -webkit-tap-highlight-color: transparent; }
.button:active { transform: scale(.95); }
.button-ink { background: var(--ink); color: #f3facf; }
.button-ink:hover { background: #33432a; }
.button-ink:active { background: #435939; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover, .button-lime:active { background: #e9ff99; }
.button-price small { font-size: .79em; font-weight: 630; }
.button-price { white-space: nowrap; }
.text-link { border: 0; padding: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: .25em; font-size: .94rem; font-weight: 660; }
.text-link:hover, .text-link:active { text-decoration-thickness: 2px; }

.hero { position: relative; overflow: hidden; background: var(--lime); }
.hero-inner { position: relative; min-height: clamp(545px, 51vw, 720px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: clamp(26px, 5vw, 88px); align-items: center; padding-bottom: 32px; }
.hero-copy { position: relative; z-index: 1; padding-block: 65px; }
.hero h1 { font-size: clamp(3.25rem, 7.1vw, 6.25rem); font-weight: 840; line-height: .96; }
.hero p { max-width: 42ch; margin-top: 23px; font-size: clamp(1rem, 1.5vw, 1.16rem); color: #263520; }
.hero-actions { flex-wrap: wrap; gap: 13px 22px; margin-top: 25px; }
.offer-poster { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; min-height: clamp(270px, 32vw, 465px); padding: clamp(23px, 4vw, 59px); border-radius: 2px; position: relative; isolation: isolate; overflow: hidden; color: #effacb; background: #273720; box-shadow: 0 17px 40px #28380f42; text-decoration: none; transition: background .2s, box-shadow .22s; -webkit-tap-highlight-color: transparent; }
.offer-poster:hover { background: #2e4226; }
.offer-poster:active { background: #374e2f; box-shadow: 0 8px 20px #28380f36; }
.poster-label, .poster-note { font-size: clamp(.9rem, 1.4vw, 1.12rem); font-weight: 680; }
.poster-price { display: block; margin-top: 6px; color: var(--lime); font-size: clamp(5rem, 11vw, 11rem); font-weight: 820; letter-spacing: -.075em; line-height: .96; }
.poster-tax { margin-top: 5px; font-size: .89rem; font-weight: 670; color: #e2edc4; }
.poster-price-readable { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.poster-price-display { display: block; white-space: nowrap; transform-origin: left center; }
.poster-currency { margin-left: .14em; font-size: .46em; vertical-align: 23%; }
.is-price-counting .poster-price-display { transform: scale(.88); }
.is-price-counting .poster-currency { visibility: hidden; }
.is-price-locked .poster-price-display { animation: price-lock .38s var(--ease) both; }
.is-price-locked .poster-line .line-ink { animation: price-lock-line .42s ease-out; }
@keyframes price-lock {
  0% { transform: scale(.88); }
  42% { transform: scale(1.055); text-shadow: 0 0 .24em #d8f74c6b; }
  72% { transform: scale(.99); }
  100% { transform: none; }
}
@keyframes price-lock-line {
  38% { stroke-width: 5.2; }
}
.poster-line { display: block; width: min(100%, 450px); height: clamp(37px, 6vw, 81px); margin-block: 2px 6px; overflow: visible; fill: none; stroke: #668258; stroke-width: 1.5; stroke-linecap: round; }
.poster-line .line-ink { stroke: var(--lime); stroke-width: 2.8; stroke-dasharray: 1; stroke-dashoffset: var(--line-offset, .56); }
.poster-note { color: #e2edc4; }
.paper-edge { position: absolute; inset: auto 0 -1px; display: block; width: 100%; height: clamp(29px, 4vw, 57px); pointer-events: none; }

.work { padding-block: clamp(48px, 7vw, 104px) clamp(65px, 8vw, 116px); }
.section-head { display: flex; justify-content: space-between; gap: 15px 35px; align-items: baseline; margin-bottom: clamp(25px, 4vw, 46px); }
.section-head h2, .offer h2, .contact h2 { font-size: clamp(2.15rem, 5.1vw, 4.65rem); font-weight: 790; line-height: 1.04; }
.section-head p { color: var(--soft); max-width: 39ch; }
.projects { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; gap: clamp(20px, 4vw, 62px); }
.project:nth-child(even) { margin-top: clamp(18px, 4.5vw, 62px); }
.project-link { display: block; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.project-art { display: grid; place-items: center; aspect-ratio: 1.32; position: relative; isolation: isolate; overflow: hidden; border-radius: 2px; color: #fff3da; background: #39211a; }
.project-image { position: absolute; z-index: -2; inset: 0; scale: var(--project-zoom, 1); transition: scale .52s var(--ease); }
.project-image img { display: block; height: 100%; width: 100%; object-fit: cover; }
.project-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182016' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: var(--project-arrow-opacity, 0);
  transform: var(--project-arrow-position, translate(-6px, 6px) scale(.92));
  transition: opacity .18s ease, transform .32s var(--ease);
  pointer-events: none;
}
.project-link:focus-visible {
  --project-zoom: 1.12;
  --project-arrow-opacity: 1;
  --project-arrow-position: none;
}
@media (hover: hover) {
  .project-link:hover {
    --project-zoom: 1.12;
    --project-arrow-opacity: 1;
    --project-arrow-position: none;
  }
}
.project-art::after { content: ""; z-index: -1; position: absolute; inset: 0; background: #201a0e30; transition: background .18s; }
.project-link:active .project-art::after { background: #17120f72; }
.project-cafe img { object-position: 50% 57%; }
.project-arch { aspect-ratio: 1.14; background: #827c66; }
.filtri-word { font-size: clamp(3rem, 9.1vw, 8rem); font-weight: 870; letter-spacing: -.06em; transform: rotate(-6deg); }
.filtri-word span { color: #f29771; }
.tomi-word { font-family: Georgia, serif; font-size: clamp(2.6rem, 7.6vw, 6.1rem); letter-spacing: .13em; }
.project-doctor { place-items: end start; background: #d7e6ea; }
.project-doctor img { object-position: 64% 45%; }
.kedros-word { margin: 0 0 7% 7%; padding: 8px 14px 10px; background: #f8f2ed; color: #3a2936; font-size: clamp(.85rem, 1.65vw, 1.25rem); line-height: 1.02; letter-spacing: -.03em; }
.kedros-word strong { font-family: Georgia, serif; font-size: clamp(1.7rem, 4.2vw, 3.8rem); font-weight: 400; }
.project-garage { place-items: end start; background: #282721; }
.project-garage img { object-position: 58% center; }
.project-garage::after { background: linear-gradient(0deg, #19170dcc, #19170d00 52%); }
.ropi-word { margin: 0 0 6% 6%; color: #ffba68; font-size: clamp(3rem, 8.3vw, 7.5rem); font-weight: 900; line-height: .82; letter-spacing: -.035em; }
.project-info { justify-content: space-between; align-items: start; gap: 10px 24px; padding-top: 13px; }
.project-info h3 { font-size: clamp(1.35rem, 2.8vw, 2.05rem); line-height: 1.12; }
.project-info p { margin-top: 3px; color: var(--soft); font-size: .91rem; }
.project-action { flex: 0 0 auto; padding: 5px 0 4px; border-bottom: 1px solid var(--ink); font-size: .88rem; font-weight: 710; transition: color .18s, border-color .18s; }
.project-link:hover .project-action, .project-link:active .project-action { color: #4a640f; border-color: currentColor; }

.offer { padding-block: clamp(55px, 7vw, 105px) clamp(60px, 8vw, 115px); background: #e7eadd; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(235px, .7fr); gap: clamp(27px, 7vw, 108px); align-items: start; }
.scope { display: grid; gap: clamp(13px, 1.6vw, 21px); margin: 26px 0 0; padding: 0; list-style: none; }
.scope li { display: grid; grid-template-columns: 14px minmax(0, 1fr); align-items: baseline; gap: 11px; line-height: 1.4; font-weight: 610; }
.scope li::before { content: ""; width: 10px; height: 6px; border: solid #506520; border-width: 0 0 2px 2px; transform: translateY(-.12em) rotate(-45deg); }
.offer-price { border-radius: 12px; padding: clamp(24px, 4vw, 48px); color: var(--paper); background: var(--ink); }
.price { font-size: clamp(4.5rem, 9.6vw, 9rem); color: var(--lime); font-weight: 850; letter-spacing: -.065em; line-height: .85; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price span { font-size: .37em; margin-left: .2em; vertical-align: 25%; }
.price-tax { display: block; margin-top: 11px; color: #d7ddc9; font-weight: 680; }
.offer-price p { max-width: 30ch; margin-top: 16px; color: #d7ddc9; }
.offer-price .button { margin-top: 21px; }
.faq { padding-block: clamp(52px, 7vw, 100px); background: #faf9f2; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 58px); align-items: start; }
.faq h2 { font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 790; line-height: 1.05; }
.faq details { border-radius: 12px; }
.faq details + details { margin-top: 6px; }
.faq details[open] { background: #f0efe4; }
.faq details summary { padding-inline: 14px; }
.faq details summary span { color: #526521; }
.faq details p { padding-left: 14px; }
@media (hover: hover) {
  .faq details:hover { background: #f0efe4; }
}
details summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding: 10px 0; cursor: pointer; font-weight: 700; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary:active { color: #4b6509; }
details summary span { width: 17px; height: 17px; flex: 0 0 17px; align-self: center; position: relative; transition: transform .24s var(--ease); }
details summary span::before, details summary span::after { content: ""; position: absolute; inset: 8px 2px auto; height: 1.5px; background: currentColor; }
details summary span::after { transform: rotate(90deg); transition: transform .24s var(--ease); }
details[open] summary span { transform: rotate(180deg); }
details[open] summary span::after { transform: rotate(0); }
details p { color: var(--soft); padding: 0 30px 16px 0; max-width: 65ch; }
details[open] p { animation: answer-in .25s var(--ease) both; }
@keyframes answer-in { from { opacity: .4; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

.contact, .site-footer { color: var(--paper); background: var(--ink); }
.contact { padding-block: clamp(57px, 8vw, 112px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: clamp(25px, 6vw, 93px); }
.contact-grid > div > p { margin: 16px 0 13px; max-width: 40ch; color: #c9d0be; }
.contact a { color: var(--lime); }
.field + .field { margin-top: 13px; }
.field label { font-size: .92rem; font-weight: 670; display: block; margin-bottom: 7px; }
.field input, .field textarea { appearance: none; width: 100%; padding: 12px 13px; border: 1px solid #707b62; border-radius: 5px; background: #242e21; color: var(--paper); caret-color: var(--lime); transition: border-color .18s, background .18s; }
.field input:focus, .field textarea:focus { outline: 1px solid var(--lime); outline-offset: 0; border-color: var(--lime); background: #2a3625; }
.field textarea { resize: vertical; min-height: 100px; }
.form-actions { flex-wrap: wrap; gap: 12px 17px; margin-top: 13px; }
.form-note:not(:empty) { color: #c9d0be; font-size: .85rem; margin-top: 10px; }
.site-footer .frame { justify-content: space-between; border-top: 1px solid #58634e; gap: 18px; padding: 19px 0; }
.site-footer .brand { font-size: 18px; }
.site-footer .text-link { font-size: .85rem; }
.floating-action {
  position: fixed;
  z-index: 5;
  inset: auto auto 22px 50%;
  display: grid;
  padding: 6px;
  border-radius: 12px;
  background: var(--lime);
  box-shadow: 0 8px 26px #18201629;
  transform: translateX(-50%);
  translate: 0 0;
  transition: translate .28s var(--ease), visibility .28s;
}
.floating-action[inert] {
  translate: 0 calc(100% + 22px);
  visibility: hidden;
  transition-timing-function: ease-in, linear;
}
.floating-action .button { justify-content: space-between; gap: clamp(14px, 3vw, 40px); min-height: 44px; }

.legal-page { padding-block: clamp(44px, 7vw, 90px); }
.legal-page .frame { max-width: 760px; }
.legal-page h1 { margin-top: 21px; font-size: clamp(2.4rem, 6vw, 4.65rem); line-height: 1.05; }
.legal-page section { margin-top: 36px; }
.legal-page h2 { font-size: clamp(1.35rem, 2.8vw, 1.85rem); line-height: 1.2; }
.legal-page p { margin-top: 10px; }
.legal-page a { text-underline-offset: .22em; }

@media (min-width: 721px) {
  .frame { width: min(100% - var(--gutter) * 2, 1200px); }
  .hero { background: #e9ede3; }
  .hero-inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(30px, 5vw, 84px);
    padding-block: clamp(52px, 6vw, 90px);
  }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.85rem, 5.5vw, 5.35rem); }
  .hero p { margin-top: 21px; }
  .hero-actions { margin-top: 23px; }
  .paper-edge { display: none; }
  .offer-poster {
    min-height: clamp(265px, 25vw, 370px);
    padding: clamp(24px, 3.2vw, 49px);
    border-radius: 12px;
    background: var(--lime);
    color: var(--ink);
    box-shadow: none;
  }
  .offer-poster:hover { background: #e3fa78; }
  .offer-poster:active { background: #e9fb92; box-shadow: none; }
  .poster-price { color: var(--ink); font-size: clamp(4.5rem, 8.5vw, 8.75rem); }
  .poster-tax, .poster-note { color: #39462a; }
  .poster-line { height: clamp(35px, 4vw, 59px); stroke: #8da447; }
  .poster-line .line-ink { stroke: #334713; }

  .work { padding-block: clamp(58px, 6vw, 84px); }
  .section-head { align-items: end; gap: 24px; }
  .section-head h2, .offer h2, .contact h2 { font-size: clamp(2.15rem, 4.1vw, 3.9rem); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(18px, 2vw, 30px); }
  .project:nth-child(even) { margin-top: 0; }
  .project-art, .project-arch { aspect-ratio: 1.28; }
  .project-art { border-radius: 6px; }
  .filtri-word, .ropi-word { font-size: clamp(2.5rem, 5.2vw, 5rem); }
  .tomi-word { font-size: clamp(2.35rem, 4.3vw, 4.2rem); }
  .kedros-word { padding: 7px 10px 8px; font-size: .79rem; }
  .kedros-word strong { font-size: clamp(1.45rem, 3vw, 2.45rem); }
  .project-info { display: grid; gap: 8px; padding-top: 12px; }
  .project-info h3 { font-size: clamp(1.18rem, 1.75vw, 1.65rem); }
  .project-action { justify-self: start; }

  .offer { padding-block: clamp(60px, 6vw, 90px); }
  .offer-grid { gap: clamp(32px, 7vw, 100px); }
  .price { font-size: clamp(4.5rem, 8vw, 7.5rem); }
  .contact { padding-block: clamp(55px, 6vw, 86px); }
  .contact-grid { gap: clamp(34px, 5vw, 72px); }
}

@media (min-width: 1100px) {
  .projects { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filtri-word, .ropi-word { font-size: clamp(2.15rem, 4.1vw, 4rem); }
  .tomi-word { font-size: clamp(1.95rem, 3.45vw, 3.3rem); }
  .kedros-word strong { font-size: clamp(1.3rem, 2.05vw, 2rem); }
  .project-info { grid-template-rows: 1fr auto; min-height: 116px; }
}
@media (max-width: 720px) {
  .site-header { min-height: 60px; }
  .site-header nav { gap: 13px; }
  .site-header nav a { font-size: .82rem; }
  .hero-inner { display: block; min-height: auto; padding-bottom: 52px; }
  .hero-copy { padding: 35px 0 0; }
  .hero h1 { font-size: clamp(2.62rem, 11vw, 4.8rem); }
  .hero p { margin-top: 14px; }
  .hero-actions { margin-top: 18px; gap: 12px 14px; }
  .offer-poster { margin-top: 24px; min-height: 0; max-width: 520px; padding: 19px 22px 18px; }
  .poster-price { font-size: clamp(4.4rem, 17.5vw, 7.5rem); }
  .section-head { display: block; }
  .section-head p { margin-top: 8px; }
  .projects, .offer-grid, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .project:nth-child(even) { margin-top: 8px; }
  .project-arch { aspect-ratio: 1.32; }
  .price { font-size: clamp(4.5rem, 15vw, 6.6rem); }
  .contact-grid > div > p { margin-top: 10px; }
  .floating-action {
    inset: auto 0 0;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #8da330;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
}
@media (max-width: 380px) {
  .site-header { gap: 7px; }
  .brand { font-size: 18px; gap: 5px; }
  .site-header nav { gap: 8px; }
  .site-header nav a { font-size: .76rem; }
  .button { padding-inline: 12px; }
  .hero-actions .text-link { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .poster-line .line-ink { stroke-dashoffset: 0; }
  .project-image { scale: none; }
  .project-art::before { transform: none; }
  .button:active, details[open] summary span { transform: none; }
}
