:root{font-family:-apple-system,BlinkMacSystemFont,"Inter","Helvetica Neue",Arial,sans-serif;--ink:#191d1c;--pine:#134638;--muted:#5c6461;--gutter:clamp(22px,6vw,95px);color:var(--ink);background:#fff;scroll-behavior:smooth;scroll-padding-top:78px}
*{box-sizing:border-box}body,p,h1,h2,h3,figure,fieldset{margin:0}a{color:inherit}.shell{width:min(1400px,calc(100% - 2 * var(--gutter)));margin-inline:auto}a:focus-visible,input:focus-visible+span{outline:3px solid #187d65;outline-offset:4px}.skip,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;inset:8px auto auto 8px;height:auto;width:auto;padding:14px;background:#fff;clip-path:none;z-index:12}
.masthead{position:sticky;top:0;z-index:8;background:rgb(255 255 255 / .89);backdrop-filter:saturate(1.35) blur(18px);border-bottom:1px solid #dedfdd}.nav{display:flex;align-items:center;justify-content:space-between;min-height:60px;gap:18px}.brand{display:inline-flex}.brand img{width:clamp(145px,13vw,190px);height:auto}.nav nav{display:flex;align-items:center;gap:clamp(14px,2.7vw,42px)}nav a{text-decoration:none;font-size:.9rem;font-weight:550}nav a:hover{text-decoration:underline;text-underline-offset:4px}.nav-contact{border-radius:30px;color:white;background:#163d32;padding:9px 19px}.nav-contact:hover{background:#235442;text-decoration:none}
.eyebrow{color:#486355;font-size:.88rem;font-weight:650;letter-spacing:.03em}.company h2,footer h2{font-size:clamp(2.4rem,4.15vw,4.75rem);line-height:1.025;letter-spacing:-.058em;font-weight:620;margin-top:9px}
.company,.contact-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(28px,6vw,105px);padding-block:clamp(48px,6vw,96px)}.company h2{color:#203e33}.about-text{font-size:clamp(1.05rem,1.37vw,1.28rem);line-height:1.54;color:#434c47;max-width:52ch}.about-text p+p{margin-top:.7em}
footer{background:#112a22;color:#f7faf7}footer .eyebrow{color:#b4cdc0}.contact-grid{padding-block:clamp(40px,4vw,65px)}footer h2{font-size:clamp(2.3rem,3.4vw,3.5rem)}.phone{font-size:clamp(1.35rem,2.05vw,2.1rem);letter-spacing:-.032em;display:inline-block;margin-top:17px;text-decoration:none}.phone:hover{text-decoration:underline}.registry h3{font-size:1.13rem;letter-spacing:-.025em}.registry address,.registry p{font-style:normal;color:#d9e1db;font-size:.92rem;line-height:1.6;margin-top:7px}.footer-base{border-top:1px solid #40564d;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-block:17px;font-size:.81rem;color:#cad6ce}.footer-base a{text-underline-offset:3px}
@media(max-width:740px){.company,.contact-grid{grid-template-columns:1fr;gap:24px}.company h2 br{display:none}.company h2 br::after{content:" "}.nav{min-height:55px}}
@media(max-width:450px){.nav{width:calc(100% - 28px);gap:8px}.brand img{width:124px}.nav nav{gap:12px}.nav nav a{font-size:.81rem}.nav-contact{padding:8px 11px}.footer-base{font-size:.76rem}}
@media(max-width:340px){.brand img{width:110px}.nav nav{gap:8px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Paper, ink and a single drawing plate fill the opening screen. */
.masthead { position: absolute; inset: 0 0 auto; background: transparent; border: 0; backdrop-filter: none; }
.masthead .nav { min-height: 76px; border-bottom: 1px solid #b7b9a9; }
.masthead .brand { mix-blend-mode: multiply; }
.drawing-hero {
  display: grid;
  align-items: center;
  min-height: max(650px,100svh);
  padding: 112px 0 55px;
  color: #202f28;
  background-color: #f6f5ee;
  background-image: repeating-linear-gradient(0deg,transparent 0 5px,#7d806107 5px 6px);
}
.drawing-spread { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.55fr); align-items: center; gap: clamp(16px,2.4vw,42px); }
.drawing-copy h1 { font-size: clamp(2.65rem,4.65vw,5.5rem); letter-spacing: -.065em; line-height: 1.04; font-weight: 600; }
.drawing-copy em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: #315944; letter-spacing: -.055em; font-size: 1.12em; }
.drawing-copy p { font-size: clamp(1.02rem,1.38vw,1.3rem); line-height: 1.5; max-width: 30ch; margin: 24px 0; color: #49534c; }
.hero-link { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 12px 22px; background: #193e31; color: #fff; border-radius: 99px; text-decoration: none; font-weight: 570; }
.hero-link:hover { background: #315b49; }
.drawing-plate { min-width: 0; }
.drawing-surface { position: relative; width: 100%; aspect-ratio: 1672 / 941; mix-blend-mode: multiply; }
.drawing-surface img, .drawing-surface canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.drawing-surface [hidden], #drawing-control[hidden] { display: none; }
.plate-caption { border-top: 1px solid #afb4a6; margin: 14px 3% 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 46px; font-size: .9rem; font-weight: 560; }
.plate-location { font-weight: 400; color: #536457; }
#drawing-control:focus-visible { outline: 2px solid #187d65; outline-offset: 3px; }
@media(max-width: 800px) {
  .drawing-hero { min-height: max(590px,100svh); padding: 99px 0 32px; }
  .drawing-spread { grid-template-columns: 1fr; gap: clamp(16px,4.1vh,38px); }
  .drawing-copy h1 { font-size: clamp(2.7rem,7.4vw,4.25rem); }
  .drawing-copy p { margin: 14px 0; max-width: 38ch; }
  .drawing-plate { width: min(100%,640px); margin: auto; }
  .plate-caption { margin: 8px 0 0; }
  .masthead .nav { min-height: 62px; }
}
@media(max-width: 400px) {
  .plate-caption { font-size: .8rem; gap: 6px; }
}

#drawing-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #214738;
  cursor: pointer;
}
#drawing-control:hover { background: #2147380c; border-radius: 50%; }
#drawing-control[hidden], #drawing-control svg path { display: none; }
#drawing-control[data-action="play"] .icon-play,
#drawing-control[data-action="pause"] .icon-pause,
#drawing-control[data-action="replay"] .icon-replay { display: inline; }

#kontakt .contact-grid { align-items: start; }
.contact-invite { margin: 15px 0 12px; max-width: 32ch; color: #d9e1db; line-height: 1.5; }
.contact-email { display: block; width: fit-content; max-width: 100%; margin-top: 10px; overflow-wrap: anywhere; text-underline-offset: 4px; }
.contact-form { display: grid; gap: 8px; min-width: 0; }
.contact-form label { font-weight: 550; }
.contact-form label:not(:first-of-type) { margin-top: 10px; }
.contact-form input:not([hidden]), .contact-form textarea {
  width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #789185;
  border-radius: 7px; background: #19382c; color: #fff; font: inherit;
}
.contact-form textarea { resize: vertical; min-height: 105px; }
.contact-form :is(input, textarea, button):focus-visible { outline: 2px solid #c0dbbc; outline-offset: 3px; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 8px; }
.contact-actions button {
  border: 0; border-radius: 999px; min-height: 44px; padding: 12px 22px; background: #eef3e9;
  color: #15372b; font: inherit; font-weight: 600; cursor: pointer;
}
.contact-actions button:hover { background: #dce9d8; }
.contact-actions small { color: #d3ded4; font-size: .83rem; }
.contact-actions a { text-underline-offset: 3px; }
#contact-confirmation { margin-top: 12px; }
.contact-registry { padding-bottom: 24px; }

.estate-gallery { padding: clamp(48px,6vw,94px) 0 0; }
.estate-shell { width: min(1080px,calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.estate-gallery h2 { text-align: center; font-size: clamp(2.35rem,4.15vw,4.75rem); line-height: 1.08; letter-spacing: -.056em; font-weight: 620; margin-bottom: clamp(36px,4.4vw,64px); }
.estate { padding: clamp(19px,2vw,30px) 0 clamp(24px,3vw,44px); border-top: 1px solid #cdd3cb; }
.estate-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.estate-location { font-size: .91rem; color: #52685b; }
.estate h3 { margin-top: 5px; font-size: clamp(1.7rem,3vw,2.8rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 580; }
.estate-link { color: var(--pine); text-underline-offset: 4px; font-size: .96rem; font-weight: 600; }
.estate-art { display: grid; margin: clamp(16px,2.5vw,32px) auto 0; width: 100%; }
#kielczow .estate-art { max-width: 820px; }
.estate-art img { grid-area: 1 / 1; display: block; width: 100%; height: auto; transition: opacity .33s ease; }
.colour-art { opacity: 0; }
.has-colour.show-colour .colour-art, .has-colour .estate-art:focus-visible .colour-art { opacity: 1; }
.has-colour.show-colour .line-art, .has-colour .estate-art:focus-visible .line-art { opacity: 0; }
.estate-switch { display: none; }
@media (hover:hover) and (pointer:fine) {
  .has-colour .estate-art:hover .colour-art { opacity: 1; }
  .has-colour .estate-art:hover .line-art { opacity: 0; }
}
@media (any-pointer:coarse), (hover:none) {
  .estate-switch:not([hidden]) { display: block; margin: 12px auto 0; background: white; border: 1px solid #a5b6a9; border-radius: 50px; color: var(--pine); padding: 10px 18px; min-height: 44px; font: inherit; cursor: pointer; }
  .estate-switch[aria-pressed=true] { color: white; background: var(--pine); }
}
@media (max-width:520px) {
  .estate-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .estate-location,.estate-link { font-size: .88rem; }
}
