@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-italic.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #000000;
  --muted: #5c5c5c;
  --plum: #000000;
  --paper: #ededeb;
  --field: #ffffff;
  --soft: #ededeb;
  --shade: #ededeb;
  --line: #d0d0ce;
  --section-rule: 1px solid var(--line);
  --accent-rule: 2px solid var(--violet);
  --craft-gutter: clamp(16px, 3vw, 44px);
  --craft-width: 1280px;
  --craft-space: clamp(48px, 6vw, 86px);
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: var(--sans);
}

body {
  background: var(--field);
  color: var(--ink);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
}

html { scroll-behavior: auto; }

.wrap, .wide {
  width: min(var(--craft-width), calc(100% - 2 * var(--craft-gutter)));
}

h1, h2, h3 { font-weight: 400; }
h1 { font-size: clamp(39px, 6vw, 82px); letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.03em; }
h3 { font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; }
.project-label { margin-bottom: 8px; font-weight: 600; }

.band { padding-block: var(--craft-space); }
/* The page canvas runs continuously through the content and footer. */
main > .band, .projects, .craft-home .contact, .footer {
  background: transparent;
  color: var(--ink);
}
main > .band { border-bottom: 0; }
.footer { border-top: 0; }

.header {
  background: var(--field);
  border-bottom: 0;
}
.header::before, .header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  pointer-events: none;
}
.header::before { background: #7554ff25; }
.header::after {
  background: var(--violet);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}
.header-row { min-height: 80px; gap: 38px; }
.header-actions { flex: 1; min-width: 0; }
.desktop-nav { margin-inline: auto; }
.desktop-nav a, .mobile-nav nav a { font-size: 16px; font-weight: 600; }
.header .round { border-radius: 50%; background: transparent; }
.header-contact { background: var(--soft); font-family: var(--mono); }
.header-contact-row { justify-content: flex-start; gap: 3px 24px; }

.brand img { display: block; width: 124px; height: auto; }
.footer .brand img { width: 154px; }
.header-actions { justify-self: end; flex-wrap: nowrap; }
.desktop-nav { gap: clamp(12px, 1.55vw, 24px); }

.pill, .quote-button, .form button {
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 550;
}

.pill {
  padding: 9px 14px;
  border-color: var(--line);
  background: var(--field);
  color: var(--ink);
}

.pill:hover, .round:hover { box-shadow: none; border-color: var(--violet); }

.link-arrow, .form button::after {
  display: inline-block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  background: currentColor;
  vertical-align: middle;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.text-accent { color: var(--violet); }
.text-link { text-underline-offset: .25em; }
.text-link:hover { text-decoration-color: var(--violet); }

.craft-hero {
  padding-block: 0;
}
.hero-heading {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 42px;
  align-items: stretch;
  padding-block: clamp(30px, 4.4vw, 64px) clamp(26px, 3vw, 42px);
}
.hero-heading h1 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(36px, 4.25vw, 65px);
  font-weight: 330;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-summary {
  align-self: end;
  display: grid;
  gap: 22px;
}

.hero-summary p {
  max-width: 37ch;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.5;
  color: var(--muted);
}

.hero-summary .actions { gap: 12px 18px; font-size: 14px; }

.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 16px 26px;
  background: var(--wash);
  color: var(--plum);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.quote-button:hover { background: var(--wash); }

.media-slot {
  position: relative;
  display: grid;
  min-width: 0;
  place-content: center;
  isolation: isolate;
  border: 1px solid var(--line);
  background-color: var(--soft);
  background-image:
    linear-gradient(to right, #00000013 1px, transparent 1px),
    linear-gradient(to bottom, #00000013 1px, transparent 1px);
  background-size: 14px 14px;
  text-align: center;
  color: var(--plum);
}
.media-caption {
  font: 400 11px/1.4 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.media-cross {
  color: var(--violet);
  font: 400 35px/1 var(--mono);
  margin-bottom: 8px;
}
.media-caption {
  justify-self: center;
  margin-inline: 10px;
  padding: 6px 9px;
  background: var(--field);
}
.media-footer { border-inline: 0; }
.hero-video {
  display: block;
  width: 100%;
  height: clamp(280px, 42vw, 584px);
  object-fit: cover;
  background: #000000;
}
.hero-pixel-map {
  display: block;
  width: 100%;
  height: clamp(280px, 42vw, 584px);
  background: #000;
  overflow: hidden;
}
.hero-tiles { position: relative; flex: none; height: min(clamp(220px, 27vw, 400px), max(170px, 100svh - 480px)); background: linear-gradient(180deg, #ffffff 0%, #f3f0ff 38%, #ffffff 92%); touch-action: pan-y; cursor: pointer; }
.hero-tiles canvas { display: block; position: absolute; inset: 0 auto auto 0; }
.hero-pixel-map.is-fallback { background: #000 url("assets/frenia-pixel-map-hero.webp") center / cover no-repeat; }
/* Pixel kursor (assets/pixel-map-cursor/cursor.js) */
.pixel-cursor {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.pixel-cursor-on .pixel-cursor { opacity: 1; }
.pixel-cursor-on, .pixel-cursor-on body { cursor: none; }
.media-work { aspect-ratio: 1.28; }
.media-small { aspect-ratio: 1.65; }
.media-footer { min-height: clamp(136px, 22vw, 270px); margin-bottom: 42px; background-color: #aaa6ff; }

.craft-intro { padding-top: var(--craft-space); }
.craft-intro > p {
  max-width: 35ch;
  font-size: clamp(26px, 3.8vw, 52px);
  line-height: 1.09;
  letter-spacing: -.026em;
}
.craft-intro span { color: var(--muted); }

.craft-gallery {
  padding-block: clamp(42px, 5vw, 72px) 0;
}
.craft-section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.craft-section-title .text-link { font-size: 14px; flex: none; }
.project-strip {
  list-style: none;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  margin: 0;
  padding: 28px 0 16px;
  scroll-snap-type: x proximity;

}
.project-strip > li { flex: 1 0 min(76vw, 320px); min-width: 0; scroll-snap-align: start; }
.project-strip a { display: block; text-decoration: none; }
.project-strip a:hover .media-work { border-color: var(--violet); }
.project-strip :is(h3, p) { padding-inline: 14px; }
.project-strip h3 { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.project-strip p { color: var(--muted); font-size: 14px; }

.craft-columns { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 6vw, 84px); }
.craft-columns h2 { max-width: 16ch; }
.editorial-copy { max-width: 52ch; }
.editorial-copy > * + * { margin-top: 16px; }

.service-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: var(--section-rule);
  background: var(--line);
}

.craft-services .service-card {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: stretch;
  min-height: 0;
  padding: clamp(14px, 2vw, 24px);
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  transition: none; /* motion: hover boja odmah */
}

.craft-services .service-card:is(:hover, :focus-visible) { background-color: #ededeb; box-shadow: none; }
.service-visual, .article-visual {
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--violet);
  font: 400 25px/1 var(--mono);
}
.service-visual { aspect-ratio: 2.4; border: var(--section-rule); }
.craft-services .service-content { gap: 9px; }
.craft-services .service-content > span { font-size: 14px; }
.craft-services .service-content small { color: var(--plum); }

.article-list { border-top: var(--section-rule); }
.article-list .article-card { display: block; padding: 0; border-top: 0; border-bottom: var(--section-rule); }
.article-card a {
  display: grid;
  grid-template-columns: minmax(90px, 19%) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
  color: inherit;
  text-decoration: none;
}
.article-visual { aspect-ratio: 1.65; }
.article-card h3 { font-size: clamp(18px, 2.2vw, 27px); }
.article-card p { margin-top: 5px; color: var(--muted); font-size: 15px; }
.article-card .link-arrow { margin-inline-end: 4px; }
.article-card a:hover h3 { text-decoration: underline; }

.numbered-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
}
.craft-columns + .numbered-grid { margin-top: 28px; }
.numbered-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.numbered-grid h3 { margin-block: 12px 8px; font-size: 22px; }
.numbered-grid p { font-size: 15px; }

.craft-statement { padding-block: var(--craft-space); }
.craft-statement h2 {
  max-width: 13ch;
  margin-block: 14px 22px;
  font-size: clamp(39px, 7vw, 102px);
  line-height: .99;
  letter-spacing: -.042em;
}
.craft-statement p { max-width: 46ch; }
.craft-statement .text-link { margin-top: 20px; }

.craft-home .contact { background: #000000; color: var(--field); }
.craft-home .contact-copy h2 { font-size: clamp(34px, 5vw, 62px); line-height: 1.04; }
.contact-copy p, .form .hint { color: #ededeb; }
.contact-details:empty, .form [data-form-status]:empty { display: none; }
.form { padding: 0; background: transparent; color: inherit; border: 0; gap: 20px; }
.form label { font: 400 12px/1.5 var(--mono); }
.form :is(input, textarea, select) {
  padding-inline: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #aaa6ff;
  border-radius: 0;
  color: inherit;
}
.form :is(input, textarea, select):focus {
  outline: none;
  border-bottom-color: var(--violet);
  box-shadow: inset 0 -1px var(--violet);
}
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  min-width: 180px;
  padding: 12px 20px;
  background: transparent;
  color: var(--field);
  border-color: #aaa6ff;
}

.form button { font-size: 11px; line-height: 1; }
.form button::after { content: ""; width: 15px; height: 15px; }
.form button:hover { background: transparent; border-color: #aaa6ff; }
.quote-card, .placeholder,
.category, .scope, .pricing-card, .detail-block { border-radius: 2px; }
.footer { padding-block: 42px 56px; color: var(--ink); }
.craft-home + .footer { padding-top: 0; }
.craft-home + .footer > .media-footer { border-top: 0; }
.footer.plum .brand { color: var(--ink); }
.footer .footer-nav a { font-size: 14px; }
.page { padding-block: 42px 84px; }
.page > .section-head, .detail > .section-head { padding-bottom: 28px; }
.page-intro, .section-head > p:last-child:not(.eyebrow) { max-width: 55ch; }

@media (max-width: 850px) {
  .hero-heading, .craft-columns { grid-template-columns: 1fr; gap: 22px; }

  .numbered-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}

@media (max-width: 600px) {
  .craft-section-title h2 { font-size: 27px; }
  .craft-section-title .text-link { font-size: 12px; }

  .hero-heading h1 { font-size: clamp(29px, 7.7vw, 43px); }
  .header .brand img { width: 100px; }
  .header .quote-button { font-size: 10px; gap: 10px; padding-inline: 14px; min-height: 46px; }
  .service-matrix { grid-template-columns: 1fr; }
  .article-card a { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; }
  .article-card h3 { font-size: 17px; }
  .article-card p { font-size: 13px; }
  .project-strip, .numbered-grid { gap: 16px; }
  .media-small .media-caption { font-size: 9px; }
}

@media (max-width: 360px) {
  .header .brand img { width: 88px; }
  .header .quote-button { font-size: 9px; gap: 6px; padding-inline: 9px; }
  .header .quote-button .link-arrow { width: 13px; height: 13px; }
  .header-actions { gap: 5px; }
  .header .pill .disc { display: none; }
  .craft-section-title { flex-wrap: wrap; }
}

@property --stroke-fill {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.pill, .quote-button, .form button {
  position: relative;
  isolation: isolate;
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pill { min-height: 50px; padding: 13px 22px; font-size: 11px; }
.pill.plain { padding: 13px 22px; }
.pill::before, .quote-button::before, .form button::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from -90deg,
    var(--violet) 0deg var(--stroke-fill),
    transparent var(--stroke-fill) 360deg
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: --stroke-fill 260ms cubic-bezier(0.23, 1, 0.32, 1);
}

:is(.pill, .quote-button, .form button):is(:hover, :focus-visible)::before {
  --stroke-fill: 360deg;
}

.text-link, .service-content small {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
}
.craft-section-title .text-link { font-size: 16px; }
.craft-services .service-card h3, .numbered-grid h3 {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.35;
}
.header .quote-button { border: 1px solid #aaa6ff; }
.form button:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }

@media (max-width: 900px) {
  .header-row { gap: 18px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 15px; }
}
@media (max-width: 600px) {
  .header-row { min-height: 74px; gap: 10px; }
  .header-actions { flex: 0 1 auto; }
  .craft-section-title .text-link, .hero-summary .text-link { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pill::before, .quote-button::before, .form button::before { transition: none; }
}
/* Unified editorial rhythm and minimal navigation. */
:root { --craft-space: clamp(64px, 7.5vw, 108px); }
body { font-size: 16px; line-height: 1.65; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-weight: 520; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.045em; }
h3 { font-weight: 550; line-height: 1.25; }
.header { background: var(--field); }
.header-contact { background: #ededeb; color: var(--muted); font-family: var(--sans); font-size: 11px; }
.header-contact-row { min-height: 30px; justify-content: flex-end; gap: 28px; }
.header-contact-label { font-weight: 450; }
.header-row { min-height: 88px; gap: 48px; }
.header .brand img { width: 132px; }
.header-actions { gap: 16px; }
.desktop-nav { gap: 36px; }
.desktop-nav a, .mobile-nav nav a { font-family: var(--mono); font-weight: 400; letter-spacing: -.025em; }
.desktop-nav a { position: relative; padding-block: 12px; font-size: 15px; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--violet); text-decoration: none; }
.desktop-nav a::after { content: ''; position: absolute; inset: auto 0 6px; height: 1px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform: scaleX(1); }
.header .round { display: inline-grid; border: 1px solid var(--line); width: 44px; height: 44px; min-height: 44px; }
.header .round:hover { border-color: var(--violet); }
.header .round .icon { width: 20px; height: 20px; }
.pill, .pill.primary, .pill.plain, .quote-button, .header .quote-button, .form button, .article-card .pill {
  background: transparent; border: 1px solid var(--violet); color: var(--violet); box-shadow: none;
  min-height: 48px; padding: 13px 23px; gap: 16px; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .035em;
}
.pill:hover, .quote-button:hover, .form button:hover { background: transparent; border-color: var(--violet); box-shadow: none; }
.pill::before, .quote-button::before, .form button::before { padding: 2px; }
.pill .disc, .primary .disc { background: transparent; color: inherit; width: 18px; height: 18px; }
.form button { min-width: 0; }
.contact .form button, .cta-panel .pill { color: var(--wash); border-color: var(--violet); }
.link-arrow { width: 18px; height: 18px; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
a:hover > .link-arrow { transform: translateX(3px); }
.hero-heading { grid-template-columns: 1.65fr 1fr; gap: clamp(40px, 6vw, 96px); padding-block: clamp(48px, 5.6vw, 80px) clamp(40px, 4.4vw, 64px); }
.hero-heading h1 { font-weight: 380; line-height: 1.07; letter-spacing: -.04em; font-size: clamp(36px, 4.5vw, 66px); }
.hero-summary { gap: 28px; padding-bottom: 3px; }
.hero-summary p { font-size: clamp(16px, 1.3vw, 18px); max-width: 38ch; line-height: 1.65; }
.text-link { gap: 14px; line-height: 1.4; }
.craft-intro > p { max-width: 40ch; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.25; letter-spacing: -.035em; }
.craft-gallery { padding-top: var(--craft-space); }
.craft-section-title { align-items: center; }
.project-strip { gap: 24px; padding-top: 36px; }
.project-strip h3 { font-size: 23px; align-items: center; margin-top: 20px; margin-bottom: 6px; }
.project-strip :is(h3,p) { padding-inline: 24px; }
.craft-columns { grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 104px); align-items: start; }
.craft-columns h2 { max-width: 20ch; }
.editorial-copy { padding-top: 4px; line-height: 1.7; }
.editorial-copy > * + * { margin-top: 22px; }
.section-head { gap: 20px; margin-bottom: 40px; }
.section-head > p { color: var(--muted); max-width: 56ch; }
.craft-services .service-card { padding: clamp(20px, 2.4vw, 32px); gap: 26px; }
.service-visual { aspect-ratio: 1.9; }
.craft-services .service-content { gap: 18px; }
.craft-services .service-card h3 { font-family: var(--sans); font-size: clamp(21px, 2vw, 26px); font-weight: 560; letter-spacing: -.035em; line-height: 1.2; }
.craft-services .service-content > span { line-height: 1.65; color: var(--muted); }
.craft-services .service-content small { margin-top: 10px; font-size: 14px; color: var(--violet); }
.craft-columns + .numbered-grid { margin-top: 48px; }
.numbered-grid { gap: 28px; }
.numbered-grid h3 { font: 600 20px/1.35 var(--mono); letter-spacing: -.045em; margin-block: 24px 12px; color: var(--violet); }
.numbered-grid p { color: var(--muted); line-height: 1.65; }
.craft-statement h2 { max-width: 17ch; font-size: clamp(42px, 6.3vw, 88px); font-weight: 450; line-height: 1.06; margin-block: 0 28px; }
.craft-statement p { max-width: 48ch; color: var(--muted); }
.craft-statement .text-link { margin-top: 28px; }
.logo-grid { margin-block: 0 28px; }
.quote-card { padding: 28px; line-height: 1.65; }
.quote-card .note { margin-top: 24px; color: var(--muted); }
.faq-list summary { min-height: 76px; padding-block: 22px; font-size: 20px; font-weight: 550; letter-spacing: -.02em; }
.faq-list summary::after { font: 400 25px/1 var(--mono); }
.faq-list details p { padding-bottom: 28px; color: var(--muted); }
.article-card a { padding-block: 24px; gap: 36px; grid-template-columns: minmax(100px, 17%) minmax(0, 1fr) 24px; }
.article-card h3 { font-weight: 550; letter-spacing: -.035em; }
.article-card p { margin-top: 10px; }
.article-card a:hover h3 { color: var(--violet); text-decoration: none; }
.articles > .wrap > .text-link { margin-top: 28px; }
.contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); }
.craft-home .contact-copy h2 { font-weight: 500; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.12; max-width: 15ch; }
.contact-copy { align-content: start; gap: 28px; }
.contact-copy p { max-width: 38ch; }
.form { gap: 28px; padding-top: 4px; }
.form .grid-2 { gap: 28px; }
.form label { gap: 2px; font: 550 15px/1.35 var(--sans); }
.form label small { color: #aaa6ff; font-size: 13px; font-weight: 400; }
.form input, .form textarea { font: 400 16px/1.4 var(--sans); padding-block: 5px; }
.form input { min-height: 38px; }
.form textarea { min-height: 82px; }
.form-actions { margin-top: 4px; gap: 24px; }
.footer > .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; }
.footer .brand { grid-column: 1; margin-bottom: 20px; }
.footer p { grid-column: 1; color: var(--muted); font-size: 14px; }
.footer .footer-nav { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; gap: 16px 28px; align-content: start; }
.footer .legal-links { grid-row: 3; gap: 12px 24px; }
.footer .footer-nav a { font-weight: 550; }
.footer .legal-links a { font-size: 12px; font-weight: 400; color: var(--muted); }
.page h1 { font-weight: 480; }
.page .section-head { gap: 24px; }
.category h2, .detail-block h3 { font-weight: 550; }
@media(max-width: 1000px) {
 .header-row { gap: 28px; } .desktop-nav { gap: 24px; }
 .header .quote-button { padding-inline: 18px; }
 .hero-heading { gap: 36px; }
}
@media(max-width: 850px) {
 .hero-heading, .craft-columns, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
 .hero-heading h1 { max-width: 23ch; }
 .hero-summary p { max-width: 54ch; }
 .header .brand img { width: 112px; }
 .header-row { gap: 20px; }
 .desktop-nav { gap: 20px; }
 .header-actions { gap: 10px; }
 .craft-columns h2 { max-width: 25ch; }
}
@media(max-width: 700px) {
 .desktop-nav { display: none; } .mobile-nav { display: block; }
 .mobile-nav summary { display: grid; place-items: center; width: 36px; height: 44px; cursor: pointer; list-style: none; font-size: 24px; }
 .mobile-nav summary::-webkit-details-marker { display: none; }
 .mobile-nav nav { position: absolute; top: 100%; inset-inline: 0; padding: 20px var(--craft-gutter); background: var(--field); border-bottom: 1px solid var(--violet); display: grid; gap: 8px; }
 .mobile-nav nav a { padding: 12px 0; font-size: 20px; text-decoration: none; }
 .header-actions { flex: 0 1 auto; }
}
@media(max-width: 600px) {
 body { font-size: 15px; }
 .header-row { min-height: 76px; gap: 12px; }
 .header .brand img { width: 94px; }
 .header-contact-row { justify-content: space-between; gap: 5px 12px; font-size: 10px; }
 .header-contact-label { display: none; }
 .header .round { width: 38px; height: 38px; min-height: 38px; }
 .header-actions { gap: 8px; }
 .header .quote-button { padding: 12px 11px; min-height: 44px; font-size: 11px; gap: 8px; }
 .hero-heading { padding-block: 40px; gap: 28px; }
 .hero-heading h1 { font-size: clamp(32px, 8.1vw, 46px); }
 .hero-summary { gap: 20px; }
 .craft-section-title { gap: 20px; flex-wrap: wrap; }
 .craft-section-title h2 { font-size: 30px; }
 .project-strip { padding-top: 28px; gap: 16px; }
 .project-strip :is(h3,p) { padding-inline: 16px; }
 .craft-services .service-card { padding: 24px; gap: 24px; }
 .craft-services .service-card h3 { font-size: 25px; }
 .section-head { margin-bottom: 28px; gap: 16px; }
 .numbered-grid { grid-template-columns: 1fr; gap: 36px; }
 .numbered-grid h3 { margin-top: 20px; }
 .craft-columns + .numbered-grid { margin-top: 32px; }
 .faq-list summary { font-size: 18px; min-height: 70px; }
 .article-card a { grid-template-columns: 76px minmax(0, 1fr) 18px; gap: 16px; }
 .article-card h3 { font-size: 18px; }
 .article-card p { font-size: 13px; margin-top: 8px; }
 .contact-grid { gap: 40px; }
 .form { padding: 0; }
 .footer > .wrap { grid-template-columns: 1fr; }
 .footer .footer-nav, .footer .legal-links { grid-column: 1; grid-row: auto; margin-top: 24px; }
}
@media(prefers-reduced-motion: reduce) {
 .desktop-nav a::after, .link-arrow, .craft-services .service-card { transition: none; }
}
@media (max-width: 360px) {
 .header .brand img { width: 84px; }
 .header-row { gap: 8px; }
 .header-actions { gap: 6px; }
 .header .quote-button { padding-inline: 11px; gap: 7px; font-size: 10px; }
 .mobile-nav summary { width: 28px; }
 .header .round { width: 34px; height: 34px; min-height: 34px; }
 .header .round .icon { width: 18px; height: 18px; }
 .header .quote-button .link-arrow { display: none; }
}


/* Motion adapted to the existing content and native controls. */
.motion-link { position: relative; text-decoration: none; }
.motion-link::after {
  content: ''; position: absolute; inset: auto 0 -4px; height: 1px;
  background: var(--violet); transform: scaleX(0);
  transform-origin: var(--line-origin, left); transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.motion-link:hover { text-decoration: none; }
.motion-link:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.project-strip { cursor: grab; }
.project-strip.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.project-strip.is-dragging a { cursor: grabbing; }
.project-strip .media-work { transition: none; } /* motion: hover boja odmah */
.project-strip a:hover .media-work { background-color: #aaa6ff; }
.reel-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.reel-trigger::after { content: '↗'; position: absolute; bottom: 24px; right: 24px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ededeb; border-radius: 50%; color: #ededeb; background: #00000099; font-size: 24px; transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1); }
.reel-trigger:hover::after { transform: rotate(45deg); }
.reel-dialog { padding: 0; border: 0; background: #000000; width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.reel-dialog::backdrop { background: #000000e8; }
.reel-dialog video { display: block; width: 100%; max-height: 85vh; }
.reel-close { position: absolute; z-index: 1; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid #ededeb; border-radius: 50%; background: #000000; color: #ededeb; font-size: 28px; cursor: pointer; }
.mobile-nav[open] nav { animation: menu-enter 180ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.faq-list details[open] p { animation: menu-enter 200ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.form label { transition: none; }
.form label:focus-within { color: #aaa6ff; }
@keyframes menu-enter { from { opacity: 0; } to { opacity: 1; } } /* motion: izbornik i odgovori samo izblijede */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
 .motion-link::after, .project-strip .media-work, .reel-trigger::after, .form label { transition: none; }
 .mobile-nav[open] nav, .faq-list details[open] p { animation: none; }
}

/* Reference navigation: generous logo space, compact right-hand links. */
.header { background: var(--field); color: var(--ink); }
.header .brand img { filter: none; width: 140px; }
.header-row { min-height: 92px; }
.header-actions { flex: 0 1 auto; margin-left: auto; gap: 28px; }
.desktop-nav { margin: 0; gap: 30px; }
.desktop-nav a { font-family: var(--sans); font-size: 17px; font-weight: 550; letter-spacing: -.025em; }
.header .quote-button { font-family: var(--sans); font-size: 16px; font-weight: 550; letter-spacing: -.02em; text-transform: none; color: var(--violet); border-color: var(--violet); min-height: 46px; padding: 12px 25px; }
.header .quote-button .link-arrow { display: none; }
.header .round { border-color: var(--line); color: var(--ink); }
.header .round .icon { filter: none; }
.header .quote-button:hover, .header .round:hover { border-color: var(--violet); }
.mobile-nav nav { color: var(--ink); }
.mobile-nav summary { color: var(--ink); }
@media(max-width: 1000px) {
 .header-actions { gap: 18px; }
 .desktop-nav { gap: 24px; }
 .header .brand img { width: 124px; }
}
@media(max-width: 700px) {
 .header-row { min-height: 78px; }
 .header-actions { gap: 10px; }
 .header .brand img { width: 100px; }
 .header .quote-button { font-size: 13px; padding-inline: 16px; }
 .mobile-nav nav a { font-family: var(--sans); font-weight: 500; }
}
@media(max-width: 360px) {
 .header .brand img { width: 82px; }
 .header-actions { gap: 6px; }
 .header .quote-button { font-size: 12px; padding-inline: 10px; }
}
/* motion: maknuto produljivanje trajanja na 0,6–1 s; sve ostaje ispod 300 ms */

html.lenis.lenis-smooth { scroll-behavior: auto !important; }
.craft-gallery { padding-top: 0; margin-top: var(--craft-space); }
.gallery-panel { padding-block: 24px 32px; background: var(--field); }
.craft-gallery .project-strip { scroll-snap-type: none; scroll-behavior: auto; }
.project-strip > li { flex: 0 0 calc((100% - 48px) / 3); }
.project-strip .media-work { aspect-ratio: 1.15; }
.concept-card .media-work { background-image: none; padding: 24px; }
.concept-card:nth-child(3n + 1) .media-work { background-color: #aaa6ff; color: #000000; }
.concept-card:nth-child(3n + 2) .media-work { background-color: #000000; color: #ededeb; }
.concept-card:nth-child(3n) .media-work { background-color: #ededeb; color: #7554ff; }
.concept-wordmark { font: 550 clamp(28px, 4vw, 54px)/1.1 var(--sans); letter-spacing: -.045em; }
.concept-kind { font: 400 11px/1.5 var(--mono); margin-top: 18px; }
.concept-card h3 { display: block; }
@media(max-width: 600px) {
 .project-strip > li { flex-basis: 78vw; }
 .gallery-panel { padding-block: 18px 24px; }
 .project-strip { padding-top: 20px; }
}

.craft-gallery .project-strip { scrollbar-width: none; }
.craft-gallery .project-strip::-webkit-scrollbar { display: none; }

/* Services directory and service detail pages. */
.services-directory,
.service-page { background: var(--field); }
.services-directory .section-head { border: 0; }
.services-directory .category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px clamp(28px, 6vw, 96px);
  align-items: start;
  margin: 0;
  padding: clamp(28px, 4vw, 56px) 0;
  border: 0;
  border-top: 1px solid #d0d0ce;
  border-radius: 0;
  background: transparent;
}
.services-directory .category h2 {
  margin: 12px 0 0;
  color: var(--violet);
  font-family: var(--sans);
  font-size: clamp(23px, 3vw, 36px);
}
.service-list { margin: 0; padding: 0; list-style: none; }
.service-list li + li { border-top: 1px solid #d0d0ce; }
.services-directory .service-list a {
  min-height: 54px;
  padding-block: 14px;
  border: 0;
  font-size: clamp(16px, 1.5vw, 20px);
}
.services-directory .service-list a:hover { color: var(--violet); text-decoration: none; }
.services-directory .service-list .link-arrow { color: var(--violet); }

.service-hero {
  display: grid;
  align-items: end;
  min-height: calc(100vh - 122px);
  min-height: calc(100svh - 122px);
  padding-block: 32px clamp(32px, 6vw, 84px);
  background: var(--field);
  color: var(--ink);
}
.service-hero .section-head { margin: 24px 0 0; }
.service-hero h1 { max-width: 18ch; overflow-wrap: anywhere; }
.service-hero p { font-size: clamp(16px, 2vw, 22px); }
.service-page .detail > .stack { gap: 0; }
.service-page .detail :is(.scope, .detail-block, .cta-panel) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 20px clamp(28px, 6vw, 96px);
  padding: clamp(28px, 5vw, 64px) 0;
  border: 0;
  border-top: 1px solid #d0d0ce;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.service-page .detail h2 {
  color: var(--violet);
  font-size: clamp(23px, 3vw, 36px);
}
.service-page .detail > .stack > p {
  max-width: 68ch;
  padding-bottom: clamp(28px, 4vw, 56px);
}
.service-page .detail-block > .stack { margin: 0; }
.service-page .detail-block h3 { margin-top: 12px; }
.service-page .detail .tags span { padding: 0; background: transparent; color: var(--muted); }
.service-page .detail .tags span + span::before { content: '·'; margin-right: 8px; color: var(--violet); }
.service-page .cta-panel .text-link { grid-column: 2; justify-self: start; color: var(--violet); }

@media (max-width: 700px) {
  .services-directory .category,
  .service-page .detail :is(.scope, .detail-block, .cta-panel) { grid-template-columns: minmax(0, 1fr); }
  .services-directory .category h2 { margin-top: 0; }
  .service-hero { min-height: calc(100svh - 108px); }
  .service-page .cta-panel .text-link { grid-column: 1; }
}


.home-pricing .price-start strong { display: block; color: var(--violet); font-size: clamp(38px, 6vw, 76px); font-weight: 550; letter-spacing: -.05em; line-height: 1.15; }
.price-factors { margin: 10px 0 0; padding-inline-start: 20px; }
.price-factors li + li { margin-top: 5px; }
.price-recurring { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; }
.price-recurring > div { border-top: 1px solid #d0d0ce; padding-top: 14px; }
.price-recurring dt { font-weight: 550; }
.price-recurring dd { margin: 4px 0 0; }
.price-recurring dd:first-of-type { color: var(--violet); font-weight: 550; }
.price-recurring dd + dd, .price-list p { color: var(--muted); font-size: 15px; }
.pricing-page .section-head { border: 0; }
.price-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 22px clamp(24px, 5vw, 80px); align-items: start; padding-block: clamp(26px, 4vw, 56px); border-top: 1px solid #d0d0ce; }
.price-group h2 { color: var(--violet); font-size: clamp(23px, 3vw, 36px); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 24px; padding: 15px 0; }
.price-list li:first-child { padding-top: 0; }
.price-list li + li { border-top: 1px solid #d0d0ce; }
.price-list a {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 580;
  line-height: 1.3;
  text-decoration: none;
}
.price-list a:is(:hover, :focus-visible) {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.price-list p { margin: 5px 0 0; }
.price-list strong { white-space: nowrap; color: var(--violet); font-weight: 550; }
.price-group .note { margin: 16px 0; }
@media (max-width: 700px) { .price-group { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .price-list li, .price-recurring { grid-template-columns: 1fr; } }

.pricing-page .price-column-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  text-align: end;
}
.pricing-page .price-list strong { text-align: end; }
@media (max-width: 500px) {
  .pricing-page .price-column-label,
  .pricing-page .price-list strong { text-align: start; }
}
.project-process .numbered-grid { margin-top: clamp(28px, 5vw, 56px); }
.project-process .numbered-grid > li { border-top: 1px solid #d0d0ce; padding-top: 20px; }
.project-process .process-image { width: 100%; overflow: hidden; }
/* Contextual questions: shared open layout on every service page. */
.context-faq { margin-block: clamp(48px, 6vw, 88px); min-width: 0; }
.context-faq h2 { margin: 0 0 28px; font-size: clamp(27px, 3vw, 42px); line-height: 1.15; letter-spacing: -.035em; }
.context-faq .faq-list { margin: 0; }
.context-faq .faq-list summary { font-family: var(--sans); line-height: 1.4; letter-spacing: -.015em; }
.context-faq .faq-list summary::after { flex-shrink: 0; }
.context-faq .faq-list p { font-size: 16px; line-height: 1.75; max-width: 76ch; }
.faq-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.faq-topics a { padding: 20px 0; border-bottom: var(--section-rule); font-size: 18px; font-weight: 500; text-decoration: none; }
.faq-topics a:hover { color: var(--violet); }
.faq-list summary:focus-visible, .faq-topics a:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
#pitanja { scroll-margin-top: 150px; }
@media (max-width: 640px) { .faq-topics { grid-template-columns: 1fr; } .context-faq .faq-list summary { font-size: 18px; } }

/* DM Sans: optička os sama otvara sitni tekst, pa mu ne treba dodatno zbijanje. */
body { font-optical-sizing: auto; }
p, li, dd, small, .service-content > span { letter-spacing: 0; }
h1, h2, .page h1, .craft-statement h2, .category h2, .price-group h2, .craft-home .contact-copy h2, .craft-intro p { letter-spacing: -.01em; }
.hero-heading h1 { font-weight: 400; letter-spacing: -.01em; }
.header-contact { font-size: 12px; }

/* Kontrast na lavandi i svijetlosivoj. */
.concept-card:nth-child(3n) .media-work { color: #000000; }
.media-footer .media-cross { color: #000000; }

/* Hero na početnoj ispuni zaslon, a uzorak sjedi na njegovu vrhu, odmah ispod navigacije. --hero-top postavlja hero-uzorak.js. */
.craft-hero:has(.hero-tiles) { display: flex; flex-direction: column; min-height: calc(100vh - var(--hero-top, 122px)); min-height: calc(100svh - var(--hero-top, 122px)); }
.craft-hero:has(.hero-tiles) .hero-heading { flex: 1 0 auto; }
@media (max-width: 600px) { .craft-hero { --hero-top: 108px; } }

/* Hero naslov */
@property --glow { syntax: "<length>"; inherits: true; initial-value: 0px; }
.craft-hero .hero-heading { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 0; align-items: stretch; align-content: center; padding-block: min(clamp(40px, 5vw, 76px), 8vh); --glow: 0px; transition: --glow 240ms cubic-bezier(0.23, 1, 0.32, 1); }
.craft-hero .hero-heading.is-warm { --glow: 260px; }
.craft-hero .hero-heading h1 { max-width: none; font-size: clamp(38px, 5.7vw, 88px); font-weight: 480; line-height: 1.08; letter-spacing: -.01em; text-transform: none; text-wrap: nowrap; color: #000000; /* tipografija kao naslov stranice Usluge */ }
.hero-line { display: block; }
.craft-hero .hero-summary { align-self: stretch; align-content: space-between; gap: 24px; padding: 6px 0 6px clamp(28px, 3.4vw, 56px); border-left: 1px solid #cfcdd8; }
.craft-hero .hero-summary p { max-width: 38ch; font-size: clamp(17px, 1.4vw, 20px); font-weight: 480; line-height: 1.55; color: #3d3c44; text-wrap: pretty; }
.craft-hero .hero-summary .text-link { font-size: 17px; font-weight: 650; }
.glow { color: #7554ff; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .glow {
    display: inline-block;
    padding-bottom: .14em;
    margin-bottom: -.14em;
    color: transparent;
    background: radial-gradient(circle max(var(--glow, 0px), .1px) at var(--x, -999px) var(--y, -999px), #f97c34 0%, #f97c34 18%, #dd7272 42%, #c56aa8 62%, #a168f5 82%, #7554ff 100%) #7554ff;
    -webkit-background-clip: text;
    background-clip: text;
  }
}
@media (max-width: 850px) {
  .craft-hero .hero-heading { grid-template-columns: 1fr; gap: 28px; }
  .craft-hero .hero-heading h1 { font-size: clamp(25px, 7.5vw, 56px); }
  .craft-hero .hero-summary { padding: 26px 0 0; border-left: 0; border-top: 1px solid #cfcdd8; }
  .craft-hero .hero-summary p { max-width: 46ch; }
}
@media (forced-colors: active) { .glow { color: LinkText; background: none; } }

/* Gornja traka: bijela, samo e-mail. */
.header .header-contact { background: #ffffff; color: var(--muted); border-bottom: 1px solid #ededeb; }
.header .header-contact a { color: inherit; }
.header .header-contact a:hover { color: var(--violet); }
.header .header-contact-row { min-height: 36px; }
.header [data-header-email] a { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 550; letter-spacing: .01em; color: #000000; text-decoration: none; }
.header [data-header-email] a:hover { color: var(--violet); }

/* Pixel uzorak odmah ispod navigacije: ravan gornji rub, prema dolje se rastapa. */
.hero-tiles[data-tiles-from="top"] { height: clamp(110px, 18vh, 240px); background: linear-gradient(180deg, #f3f0ff 0%, #ffffff 90%); }
/* Traka ispod hero teksta: zrcalna, ravan donji rub, prema gore se rastapa. */
.craft-hero .hero-tiles[data-tiles-from="bottom"] { height: clamp(110px, 18vh, 240px); background: linear-gradient(0deg, #f3f0ff 0%, #ffffff 90%); }
/* Hero više ne puni cijeli zaslon: naslov sjedne oko polovice ekrana. */
/* Hero je točno visok kao ekran ispod navigacije: donja traka završava na dnu ekrana.
   Obje trake su jednako visoke i jednako guste (zrcalno), a tekst je točno između njih. */
.craft-hero:has(.hero-tiles[data-tiles-from="bottom"]) { min-height: 0; height: calc(100vh - var(--hero-top, 122px)); height: calc(100svh - var(--hero-top, 122px)); }
.craft-hero:has(.hero-tiles[data-tiles-from="bottom"]) .hero-heading { flex: none; padding-block: clamp(64px, 13vh, 160px); }
.craft-hero .hero-tiles[data-tiles-from="top"] { flex: 1 1 0; height: auto; min-height: 90px; }
.craft-hero .hero-tiles[data-tiles-from="bottom"] { flex: 1 1 0; height: auto; min-height: 90px; }
/* Rečenica ispod heroja: gotovo sama na ekranu, jednako daleko od pixela i od odabranih radova. */
.craft-home .craft-intro { display: grid; align-content: center; min-height: 82vh; min-height: 82svh; padding-block: 24px 0; } /* 24px gore izjednači razmak s gornjim paddingom galerije */
.craft-home .craft-intro + .craft-gallery { margin-top: 0; }
/* Završni vizual na dnu stranice: ravan donji rub, prema gore se rastapa. */
.footer .footer-tiles { margin-top: clamp(40px, 5vw, 72px); background: linear-gradient(0deg, #f3f0ff 0%, #ffffff 90%); }
.craft-home + .footer { padding-block: 56px 0; }

/* ===== frontend-design (28.11.2026) =====
   Boje: tinta #000000 (crna, kao logo), piksel #73717e, ljubičasta #7554ff, lavanda #aaa6ff, magla #f3f0ff, bijela.
   Jedina "hrabra" stvar su kvadratići 7 × 7 iz uzorka; sve ostalo je mirno.
   Skala naslova: 64 (hero) / 40 (sekcije) / 24 (stavke) / 18 (tekst) / 15 (sitno). */
.craft-home { --fd-ink: #000000; --fd-pixel: #73717e; --fd-rule: 1px solid #e4e2ea; }
.craft-home h2, .craft-home .craft-statement h2, .craft-home .contact-copy h2 { font-size: clamp(30px, 3.1vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--fd-ink); }
.craft-home .craft-statement h2 { max-width: 20ch; }
.craft-home .section-head { margin-bottom: clamp(28px, 3.4vw, 44px); }

/* Kvadratić: ista linija i veličina modula kao u heroju */
.tile-mark { display: block; width: 100%; height: 100%; }

/* Usluge: popis, ne kartice */
.craft-home .service-matrix { display: block; border: 0; border-top: var(--fd-rule); background: none; }
.craft-home .craft-services .service-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 40px); padding: 22px 0; border-bottom: var(--fd-rule); background: none; transition: none; }
.craft-home .craft-services .service-card:is(:hover, :focus-visible) { background: none; }
.craft-home .service-visual { width: 56px; height: 56px; aspect-ratio: auto; border: 0; background: none; }
.craft-home .craft-services .service-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: baseline; gap: 8px clamp(20px, 4vw, 64px); }
.craft-home .craft-services .service-card h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; color: var(--fd-ink); letter-spacing: -.02em; }
.craft-home .craft-services .service-card:is(:hover, :focus-visible) h3 { color: var(--violet); }
.craft-home .craft-services .service-content > span { max-width: 52ch; font-size: 16px; }

/* Proces: stvarni slijed 1–4 */
.craft-home .process-steps { counter-reset: none; }
.craft-home .process-steps > li { padding-top: 18px; border-top: 2px solid var(--fd-ink); }
.craft-home .step-no { display: block; font-size: clamp(40px, 4vw, 56px); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--violet); }
.craft-home .numbered-grid h3 { font: 600 clamp(19px, 1.6vw, 22px)/1.3 var(--sans); letter-spacing: -.02em; color: var(--fd-ink); margin-block: 20px 10px; }

/* SEO / AEO / GEO: kvadratić umjesto prazne slike */
.craft-home .trio-mark { display: block; width: 64px; height: 64px; }

/* Članci */
.craft-home .article-card a, .article-list .article-card a { grid-template-columns: 56px minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); }
.article-visual { width: 56px; height: 56px; aspect-ratio: auto; background: none; }
.article-card a:hover h3 { color: var(--violet); }

@media (max-width: 700px) {
  .craft-home .craft-services .service-card { grid-template-columns: 44px minmax(0, 1fr); align-items: start; }
  .craft-home .service-visual, .article-visual { width: 44px; height: 44px; }
  .craft-home .craft-services .service-content { grid-template-columns: 1fr; }
  .craft-home .article-card a, .article-list .article-card a { grid-template-columns: 44px minmax(0, 1fr) auto; }
}
/* ===== /frontend-design ===== */
/* ===== better-ui (28.11.2026): razmaci, konzistentnost, kontakt kao rečenica ===== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Jedan ritam: svaka sekcija ima isti razmak, a bijele sekcije dijeli tanka crta */
.craft-home { --craft-space: clamp(64px, 6.5vw, 96px); --fd-gap: clamp(32px, 4vw, 48px); }
.craft-home > :is(.band, .craft-statement) { padding-block: var(--craft-space); }
.craft-home > :is(.band, .craft-statement):not(.contact):not(.craft-services) { border-top: 1px solid #ecebf1; }
.craft-home > .craft-services { border-top: 1px solid #ecebf1; }
.craft-home .section-head, .craft-home .project-process h2 { margin-bottom: var(--fd-gap); }
.craft-home .craft-columns + .numbered-grid { margin-top: clamp(56px, 6vw, 88px); } /* uvod i znakovi SEO/AEO/GEO trebaju jasan odmak */
.craft-home .craft-columns { align-items: start; }
.craft-home .editorial-copy > :first-child { margin-top: 0; }

/* Linkovi u tekstu: jedan stil na cijeloj naslovnici */
.craft-home .text-link { font-size: 16px; font-weight: 600; color: var(--fd-ink); text-decoration: underline; text-decoration-color: #aaa6ff; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.craft-home .text-link:focus-visible { color: var(--violet); }
@media (hover: hover) { .craft-home .text-link:hover { color: var(--violet); text-decoration-color: currentColor; } }

/* Proces i SEO/AEO/GEO: isti razmaci i ista veličina znaka */
.craft-home .numbered-grid { gap: clamp(28px, 3vw, 40px); }
.craft-home .step-no { font-size: 48px; }
.craft-home .numbered-grid h3 { margin-block: 18px 10px; }
.craft-home .numbered-grid p { font-size: 16px; line-height: 1.65; max-width: 42ch; }
.craft-home .trio-mark { width: 56px; height: 56px; }

/* Održavanje: tekst lijevo, vizual desno */
.statement-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.craft-home .craft-statement h2 { margin-block: 0 20px; }
.craft-home .craft-statement .text-link { margin-top: 28px; }
.media-statement { aspect-ratio: 4 / 3; }
.media-statement img { display: block; width: 100%; height: 100%; object-fit: cover; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }

/* Cijene: lijevi stupac prati čitanje desnog */
.home-pricing .craft-columns > .stack:first-child { position: sticky; top: 140px; align-self: start; }
.home-pricing .price-start { color: var(--muted); }
.home-pricing h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; color: var(--fd-ink); margin-bottom: 4px; }

/* Kontakt: rečenica za nadopunjavanje */
.craft-home .contact-copy h2 { color: #ffffff; }
.craft-home .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.craft-home .madlib { gap: 0; padding-top: 0; }
.madlib-line { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.9; font-weight: 450; letter-spacing: -.01em; color: #ededeb; }
.craft-home .madlib label.blank { display: inline; gap: 0; font: inherit; color: inherit; }
.craft-home .madlib .blank :is(input, textarea) {
  display: inline-block; vertical-align: baseline; min-width: 6ch; max-width: 100%; min-height: 0;
  margin: 0 .1em; padding: 0 .15em 2px; border: 0; border-bottom: 2px solid var(--violet); border-radius: 0;
  background: transparent; color: #ffffff; font: inherit; line-height: 1.3; width: auto; field-sizing: content;
}
.craft-home .madlib .blank textarea { resize: none; overflow: hidden; width: auto; }
/* "Treba mi" i polje uvijek u istom redu: polje zauzme ostatak širine i raste prema dolje */
.madlib-line:has(textarea) { display: flex; align-items: baseline; gap: .3em; }
.madlib-line:has(textarea) .blank { flex: 1; min-width: 0; }
.craft-home .madlib .blank textarea { display: block; width: 100%; margin-inline: 0; }
.craft-home .madlib .blank :is(input, textarea)::placeholder { color: #8d8aa3; opacity: 1; }
.craft-home .madlib .blank :is(input, textarea):focus { outline: none; border-bottom-color: #aaa6ff; }
/* Klik: bez okvira; primjer nestane, ostaje ljubičasti kursor, a fokus pokazuje svjetlija podcrta */
.craft-home .madlib .blank :is(input, textarea) { caret-color: var(--violet); }
.craft-home .madlib .blank :is(input, textarea):focus-visible { outline: none; }
.craft-home .madlib .blank :is(input, textarea):focus::placeholder { color: transparent; }
@supports not (field-sizing: content) {
  .craft-home .madlib [name="name"], .craft-home .madlib [name="company"] { width: 11ch; }
  .craft-home .madlib [name="email"] { width: 14ch; }
  .craft-home .madlib [name="message"] { width: 100%; }
}
.craft-home .madlib .form-actions { margin-top: 40px; }
.craft-home .madlib [data-form-status] { margin-top: 16px; }

/* Hover samo na uređajima s mišem; na dodiru ne ostaje "zaglavljen" */
@media (hover: none) {
  a:hover > .link-arrow { transform: none; }
  .craft-home .craft-services .service-card:hover h3, .article-card a:hover h3 { color: inherit; }
}

@media (max-width: 850px) {
  .statement-grid, .craft-home .contact-grid { grid-template-columns: 1fr; }
  .home-pricing .craft-columns > .stack:first-child { position: static; }
}
@media (max-width: 600px) {
  .madlib-line { font-size: 21px; line-height: 1.85; }
  .madlib-end { display: none; } /* točka iza dugog odgovora inače padne sama u novi red */
}
/* ===== /better-ui ===== */
/* Zaglavlje: nestaje pri skrolanju dolje, vraća se pri skrolanju gore (site.js).
   Glatko klizanje: vraćanje 360 ms, skrivanje 280 ms, uz blagu sjenu dok lebdi iznad sadržaja. */
.header { transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.header.is-hidden { transform: translateY(-100%); transition-duration: 280ms; transition-timing-function: cubic-bezier(0.55, 0, 0.75, 0.2); box-shadow: none; }
.header.is-floating:not(.is-hidden) { box-shadow: 0 6px 16px -14px oklch(0 0 0 / 0.08); }
@media (prefers-reduced-motion: reduce) { .header, .header.is-hidden { transition: none; } }
/* ===== Hero: jedan debeli odlomak lijevo (04.12.2026) ===== */
.craft-hero .hero-heading { grid-template-columns: minmax(0, 1fr); }
.craft-hero .hero-heading h1.hero-statement {
  max-width: 19ch; margin: 0;
  font-size: clamp(30px, 3.9vw, 60px); font-weight: 650; line-height: 1.06; letter-spacing: -.025em;
  text-transform: none; text-wrap: pretty; white-space: normal; color: #000000;
}
.craft-hero .hero-statement .glow { display: inline; padding-bottom: 0; margin-bottom: 0; }
@media (max-width: 850px) { .craft-hero .hero-heading h1.hero-statement { font-size: clamp(30px, 8vw, 48px); max-width: 20ch; } }
/* ===== /hero ===== */
/* Hero bez pixel traka: visok kao ekran ispod navigacije, odlomak na sredini.
   Naglašene riječi stalno nose prijelaz ljubičasta → narančasta. */
.craft-hero { min-height: calc(100vh - var(--hero-top, 129px)); min-height: calc(100svh - var(--hero-top, 129px)); display: grid; align-content: center; }
.craft-hero .hero-statement .glow {
  color: transparent;
  background: linear-gradient(100deg, #7554ff 0%, #a168f5 38%, #c56aa8 62%, #dd7272 82%, #f97c34 100%);
  -webkit-background-clip: text; background-clip: text;
}
@media (forced-colors: active) { .craft-hero .hero-statement .glow { color: LinkText; background: none; } }
/* Uvod u radove: ista tipografija kao hero, manja; drugi dio rečenice siv */
.craft-home .craft-intro > p { max-width: 30ch; font-size: clamp(24px, 2.7vw, 40px); font-weight: 650; line-height: 1.12; letter-spacing: -.025em; color: #000000; text-wrap: pretty; }
.craft-home .craft-intro > p span { color: #8a8896; }
.craft-home .craft-intro .intro-link { justify-self: start; margin-top: clamp(24px, 3vw, 36px); }
/* Hero: gradient stalno teče, a pod mišem se oko pokazivača zagrije u narančastu (--x, --y, --glow iz hero-naslov.js) */
@property --flow { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.craft-hero .hero-statement .glow {
  background:
    radial-gradient(circle max(var(--glow, 0px), .1px) at var(--x, -999px) var(--y, -999px), #f97c34 0%, #f97c34 22%, rgb(249 124 52 / 0) 75%),
    linear-gradient(100deg, #7554ff 0%, #a168f5 18%, #c56aa8 32%, #dd7272 42%, #f97c34 50%, #dd7272 58%, #c56aa8 68%, #a168f5 82%, #7554ff 100%);
  background-size: 100% 100%, 200% 100%;
  background-position: 0 0, var(--flow) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hero-flow 9s linear infinite;
}
@keyframes hero-flow { to { --flow: 200%; } }
@media (prefers-reduced-motion: reduce) { .craft-hero .hero-statement .glow { animation: none; } }

/* Uvod u radove: blago siva traka cijelom širinom, početak siv, nastavak crn, strelica prema radovima */
.craft-home .craft-intro { background: #f4f4f2; box-shadow: 0 0 0 100vmax #f4f4f2; clip-path: inset(0 -100vmax); }
.craft-home .craft-intro > p { color: #000000; }
.craft-home .craft-intro > p .intro-lead { color: #6e6c79; }
.intro-down { justify-self: start; display: grid; place-items: center; width: 56px; height: 56px; margin-top: clamp(28px, 3.4vw, 44px); border: 1px solid var(--violet); border-radius: 50%; color: var(--violet); }
.intro-down .link-arrow { width: 22px; height: 22px; transform: rotate(90deg); transition: none; }
.intro-down:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
@media (hover: hover) { .intro-down:hover { background: var(--violet); color: #ffffff; } }
/* Uvod u radove: niži, centriran, tamniji sivi početak, strelica bez kruga */
.craft-home .craft-intro { min-height: 0; padding-block: clamp(72px, 9vw, 128px); justify-items: center; text-align: center; }
.craft-home .craft-intro > p { margin-inline: auto; max-width: 32ch; }
.craft-home .craft-intro > p .intro-lead { color: #55535f; }
.intro-down { justify-self: center; width: 44px; height: 44px; margin-top: clamp(20px, 2.4vw, 32px); border: 0; border-radius: 0; background: none; color: var(--violet); }
.intro-down .link-arrow { width: 30px; height: 30px; }
@media (hover: hover) { .intro-down:hover { background: none; color: #000000; } }
/* Uvod i Odabrani radovi na istoj, svjetlijoj sivoj traci */
.craft-home .craft-intro { background: #f7f7f5; box-shadow: 0 0 0 100vmax #f7f7f5; }
.craft-home .craft-gallery, .craft-home .craft-gallery .gallery-panel { background: #f7f7f5; }
.craft-home .craft-gallery .gallery-panel { padding-bottom: clamp(56px, 6vw, 88px); }
.craft-home .craft-gallery + .band { border-top: 0; }
/* ===== Pravi radovi: snimke stranica ===== */
.media-work img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.project-strip .media-work:has(img), .work-grid .media-work:has(img) { padding: 0; background: #ffffff; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; overflow: hidden; }
.project-strip .media-work img, .work-grid .media-work img { position: relative; z-index: 0; }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.work-grid a { display: grid; gap: 12px; color: inherit; text-decoration: none; }
.work-grid h2 { margin-top: 6px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; color: #000000; letter-spacing: -.02em; }
.work-grid p { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 44ch; }
@media (hover: hover) { .work-grid a:hover h2 { color: var(--violet); } }
.project-shot { margin: 0; }
.project-shot img { display: block; width: 100%; height: auto; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.project-shot-placeholder { aspect-ratio: 16 / 10; }
.portfolio-content .project-lead { max-width: 62ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: #3d3c44; }
.portfolio-info ul { margin: 4px 0 0; padding-left: 18px; }
.portfolio-info li + li { margin-top: 4px; }