:root {
  --paper: #f7f3eb;
  --ink: #201f1b;
  --muted: #595548;
  --rule: #cec3b1;
  --olive: #454735;
  --orange: #ff5a19;
}
.editorial { max-width: 1440px; }
.catalog-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 6vw;
  padding-block: clamp(40px,6vw,90px) clamp(28px,4.5vw,68px);
}
.catalog-head h1, .guide-cover h1 {
  font-size: clamp(3.4rem,7.8vw,7.8rem);
  line-height: .98;
}
.catalog-head em { color: var(--olive); }
.catalog-head p, .reading-intro {
  max-width: 41ch;
  color: var(--muted);
  font-size: clamp(1rem,1.45vw,1.32rem);
  line-height: 1.5;
}
.project-feature { border-top: 1px solid var(--rule); padding-block: clamp(20px,3vw,44px); }
.project-feature a {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(24px,5vw,80px);
}
.project-feature:nth-of-type(even) .project-plate { order: 1; }
.project-feature:nth-of-type(even) a { grid-template-columns: minmax(0,1fr) minmax(0,1.65fr); }
.project-plate {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px,3.8vw,66px);
  background: #c8cbb9;
  border-radius: 3px;
}
.project-plate[data-project="kst-trgovina"] { background: #ddcbb1; }
.project-plate img {
  width: 100%;
  border: 1px solid #28251635;
  box-shadow: 0 10px 24px #28251626;
  transition: transform .35s var(--ease);
}
.project-feature a:is(:hover,:focus-visible) .project-plate img { transform: translateY(-3px) scale(1.015); }
.project-caption { max-width: 42ch; }
.project-state, .entry-topic { font: 550 .82rem/1.4 var(--mono); color: var(--olive); }
.project-caption h2 { margin: 12px 0; font-size: clamp(2rem,3.8vw,4.25rem); }
.project-caption > p:last-of-type { color: var(--muted); font-size: clamp(1.05rem,1.65vw,1.5rem); }
.read-link, .back-link {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  min-height: 44px;
  font-size: .94rem;
  font-weight: 600;
}
.read-link { margin-top: clamp(8px,2vw,28px); text-decoration: underline; text-underline-offset: .35em; }
.read-link span, .entry-arrow { transition: transform .25s var(--ease); }
.project-feature a:is(:hover,:focus-visible) .read-link span { transform: translateX(5px); }
.guide-cover {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: clamp(230px,29vw,398px);
  margin-top: clamp(18px,2.8vw,44px);
  padding: clamp(24px,4vw,60px);
  color: #fffdf7;
  background: var(--olive);
}
.guide-cover img, .guide-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.guide-cover img { object-fit: cover; object-position: center 54%; }
.guide-cover::after { content: ""; background: linear-gradient(75deg,#252014e6,#252014a8 40%,transparent 85%); }
.guide-cover em { color: #fff0d4; }
.reading-index { display: grid; grid-template-columns: 1fr 2fr; gap: 7vw; margin-block: clamp(26px,4vw,60px); }
.reading-intro { max-width: 29ch; }
.reading-entry { border-top: 1px solid var(--rule); }
.reading-entry:last-child { border-bottom: 1px solid var(--rule); }
.reading-entry a { position: relative; display: block; padding: clamp(18px,2vw,32px) 3em clamp(18px,2vw,32px) 0; }
.reading-entry h2 { font-size: clamp(1.55rem,2.5vw,2.65rem); margin: .28em 0; letter-spacing: -.05em; }
.reading-entry p:last-of-type { color: var(--muted); max-width: 58ch; }
.entry-arrow { position: absolute; top: 20px; right: 4px; font-size: 1.5rem; }
.reading-entry a:is(:hover,:focus-visible) .entry-arrow { transform: translate(3px,-3px); }
.reading-entry a:is(:hover,:focus-visible) h2, .back-link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .13em; }
.back-link { margin-top: 18px; color: var(--olive); }
.back-link + .inner-head { padding-top: clamp(16px,2.5vw,44px); }
.editorial .inner-head h1 { max-width: 22ch; font-size: clamp(2.4rem,5vw,5.3rem); }
.editorial .inner-head > p:last-child { max-width: 68ch; }
.editorial .case-hero img { max-height: unset; width: min(100%,920px); }
.guide-layout aside { align-self: start; }
.byline { color: var(--muted); }
.contents { padding-top: 12px; }
.contents strong { font: 600 .83rem/1.4 var(--mono); }
.contents ol { margin-top: 10px; padding-left: 1.65rem; }
.contents li::marker { color: var(--olive); font: 500 .8rem var(--mono); }
.contents a { display: block; padding: 7px 0; line-height: 1.4; }
.contents a:hover { text-decoration: underline; }
.guide-layout section { scroll-margin-top: 22px; }
.reading-links { border-block: 1px solid var(--rule); padding-block: 22px; }
.reading-links h2 { margin-bottom: .4em; font-size: clamp(1.4rem,2.2vw,2.15rem); }
.reading-links a { margin-right: 24px; }
.editorial .next-step { background: var(--olive); border: 0; color: #fffdf5; }
.editorial .next-step p { color: #e9e5d8; }
.editorial .next-step .button { color: #20150f; }
.editorial :focus-visible { outline-color: #91602c; }
@media (min-width:761px) {
  .guide-layout .contents { max-width: 33ch; }
  .guide-layout aside { position: sticky; top: 18px; }
}
@media (max-width:760px) {
  .catalog-head, .reading-index { grid-template-columns: 1fr; gap: 18px; }
  .catalog-head p, .reading-intro { max-width: 54ch; }
  .project-feature a, .project-feature:nth-of-type(even) a { grid-template-columns: 1fr; gap: 16px; }
  .project-feature:nth-of-type(even) .project-plate { order: 0; }
  .project-caption h2 { margin: 5px 0; }
  .project-caption .read-link { margin-top: 0; }
  .guide-cover { min-height: clamp(172px,46vw,280px); }
  .guide-cover h1 { max-width: 9ch; }
  .reading-entry a { padding-right: 30px; }
  .entry-arrow { right: 0; }
  .editorial .guide-layout aside p { display: block; margin: 0; }
  .guide-layout section { scroll-margin-top: 78px; }
  .contents ol { margin-top: 6px; }
  .contents a { padding: 9px 0; }
}

@media (prefers-reduced-motion:no-preference) {
  .editorial :is(.catalog-head,.guide-cover,.inner-head) {
    animation: editorial-arrive .32s var(--ease) both;
  }
  @keyframes editorial-arrive {
    from { transform: translateY(5px); }
    to { transform: translateY(0); }
  }
}

.about-intro {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center; gap: clamp(32px,6vw,90px); padding-block: clamp(32px,5.5vw,82px);
}
.about-intro h1 { font-size: clamp(3.2rem,7.3vw,7.4rem); line-height: .97; margin: .22em 0; }
.about-intro em { color: var(--olive); }
.about-intro h1 + p { max-width: 49ch; font-size: clamp(1.04rem,1.4vw,1.29rem); color: var(--muted); }
.about-intro .button { margin-top: 22px; }
.portrait-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(10px,1.2vw,18px); align-items: start; }
.portrait-link:nth-child(2) { margin-top: clamp(24px,4vw,58px); }
.portrait-link img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; background: var(--cream); }
.portrait-link span { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; font-weight: 650; }
.portrait-link i { font-style: normal; color: var(--olive); }
.portrait-link small { color: var(--muted); }
.portrait-link:hover span { text-decoration: underline; text-underline-offset: .2em; }
.about-section { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.7fr); gap: 6vw; padding-block: clamp(28px,4.2vw,64px); border-top: 1px solid var(--rule); }
.about-section h2 { max-width: 16ch; font-size: clamp(1.9rem,3.4vw,3.55rem); }
.about-profiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3vw; }
.about-section h3 { margin: 6px 0 10px; font-size: clamp(1.35rem,2vw,2rem); }
.about-profiles article > p:last-child, .about-steps p, .about-resources > p { line-height: 1.6; color: var(--muted); max-width: 60ch; }
.about-steps { padding-left: 1.5em; }
.about-steps li { padding-left: .55em; }
.about-steps li::marker { color: var(--olive); font: 600 .85rem var(--mono); }
.about-steps li + li { margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 14px; }
.about-resources .button { margin-top: 15px; }
.service-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 18px; justify-items: start; }
.about-record { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--rule); padding-top: 24px; }
.about-record .line-link, .about-contact .line-link { min-height: 44px; }
.about-contact { display: grid; justify-items: start; }
.about-contact .line-link { color: white; }
.about-studio [id] { scroll-margin-top: 84px; }
@media(max-width:760px) {
  .about-intro,.about-section { grid-template-columns: 1fr; gap: 24px; }
  .about-profiles { gap: 22px; }
  .about-contact .line-link { font-size: .87rem; }
}
@media(max-width:540px) {
  .about-profiles,.service-links { grid-template-columns: 1fr; }
  .portrait-pair { gap: 12px; }
  .portrait-link:nth-child(2) { margin-top: 20px; }
}

.wide-nav .nav-link[aria-current="page"]::after { transform: scaleX(1); }
