:root {
  color-scheme: light;
  --paper: #f4f3ee;
  --ink: #222e28;
  --muted: #667067;
  --line: #cbd0c5;
  --accent: #3156ce;
  --dark: #25352d;
  --secondary: #566257;
  --on-dark: #f4f3ee;
  --experience-muted: #b4c0b5;
  --experience-caption: #acbaad;
  --experience-heading: #d2dbc6;
  --experience-line: #516155;
  --selection-bg: #d6ddf4;
  --selection-ink: #222e28;
  --gutter: clamp(24px, 5.1vw, 80px);
  --header-height: 92px;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #000000;
  --ink: #f2f2f2;
  --muted: #b0b0b0;
  --line: #343434;
  --accent: #ffcf00;
  --dark: #000000;
  --secondary: #cccccc;
  --on-dark: #f2f2f2;
  --experience-muted: #c2c2c2;
  --experience-caption: #b0b0b0;
  --experience-heading: #f2f2f2;
  --experience-line: #343434;
  --selection-bg: #ffcf00;
  --selection-ink: #000000;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--selection-bg); color: var(--selection-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.05; font-weight: 500; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1360px); margin-inline: auto; }
.serif { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; letter-spacing: -.045em; }
.skip-link { position: fixed; top: 10px; left: 20px; z-index: 100; padding: 10px 20px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 30px; letter-spacing: -.045em; font-weight: 800; }
.brand-text > span { margin-top: 6px; font-size: 9px; letter-spacing: .19em; }
/* Okvir izostavlja prozirne rubove u prikazu; originalna PNG datoteka ostaje neizmijenjena. */
.brand-logo-frame { display: block; position: relative; width: 200px; aspect-ratio: 1188 / 419; overflow: hidden; flex-shrink: 0; }
.brand-logo { position: absolute; width: 107.744%; max-width: none; height: auto; left: -2.021%; top: -59.666%; }
.brand-logo-wordmark { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.theme-toggle { display: inline-flex; width: 64px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 0; background: none; cursor: pointer; }
.theme-track { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-items: center; position: relative; width: 60px; height: 30px; border: 1px solid var(--line); border-radius: 30px; }
.theme-thumb { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transition: transform .2s; }
.theme-track svg { position: relative; width: 15px; height: 15px; z-index: 1; }
.theme-sun { color: var(--paper); }
.theme-moon { color: var(--muted); }
[data-theme='dark'] .theme-thumb { transform: translateX(29px); }
[data-theme='dark'] .theme-sun { color: var(--muted); }
[data-theme='dark'] .theme-moon { color: var(--paper); }
[data-theme='dark'] .brand-logo:not(.brand-logo-wordmark) { clip-path: inset(0 64.5% 0 0); }
[data-theme='dark'] .brand-logo-wordmark { display: block; clip-path: inset(0 0 0 35.5%); filter: invert(1); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.7vw, 42px); margin-left: auto; }
.main-nav a { position: relative; display: flex; align-items: center; gap: 26px; min-height: 44px; font-size: 13px; }
.main-nav a::after { position: absolute; content: ''; bottom: 2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .2s; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { width: 100%; }
.main-nav .nav-contact { padding-left: 30px; border-left: 1px solid var(--line); }
.nav-contact span { font-size: 20px; }
.menu-toggle { display: none; background: none; border: 0; align-items: center; gap: 16px; padding: 12px 0 12px 12px; cursor: pointer; }
.menu-label { font-size: 12px; }
.menu-icon { display: flex; flex-direction: column; gap: 6px; width: 24px; }
.menu-icon i { display: block; height: 1.5px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded='true'] .menu-icon i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-icon i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.hero { padding-top: 32px; }
.hero-topline { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.eyebrow { font-size: 10px; letter-spacing: .14em; font-weight: 500; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.square { display: inline-block; background: var(--accent); width: 6px; height: 6px; flex-shrink: 0; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 5.5%; padding: 36px 0 45px; }
.hero-copy { padding-bottom: 5px; }
.hero h1 { font-size: clamp(58px, 6.4vw, 100px); letter-spacing: -.065em; line-height: .99; }
.hero h1 .serif { line-height: 1.1; }
.hero-description { margin-top: 32px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: var(--secondary); }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 32px; padding: 12px 22px; font-size: 13px; transition: background .2s, color .2s; }
.button-dark { background: var(--ink); color: var(--paper); margin-top: 30px; }
.button-dark:hover { background: var(--accent); }
.button span { font-size: 22px; line-height: 1; }
.brand-figure { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.brand-artwork { width: 100%; height: auto; max-height: 530px; object-fit: contain; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-bottom p { color: var(--muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 30px; font-size: 12px; min-height: 36px; }
.text-link:hover { color: var(--accent); }
.text-link > span { font-size: 18px; }
.section { padding-top: 110px; padding-bottom: 110px; display: grid; grid-template-columns: 19% 1fr; gap: 4%; }
.section-label { display: flex; gap: 18px; font-size: 10px; letter-spacing: .14em; line-height: 1.4; padding-top: 10px; }
.section-number { font-family: 'Courier New', monospace; color: var(--muted); }
h2 { font-size: clamp(34px, 3.75vw, 58px); letter-spacing: -.05em; }
.about-brand { margin-top: 46px; max-width: 210px; }
.about-brand .brand-logo-frame { width: 100%; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; margin-top: 42px; }
.lead { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.5; letter-spacing: -.02em; }
.about-columns > div { font-size: 14px; line-height: 1.75; color: var(--muted); }
.about-columns > div p + p { margin-top: 18px; }
.services { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; }
.section-heading > p { font-size: 12px; color: var(--muted); line-height: 1.6; padding-bottom: 4px; }
.service { border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service summary { list-style: none; display: grid; grid-template-columns: 44px 1fr 28px; gap: 10px; align-items: center; cursor: pointer; padding: 24px 0; }
.service summary::-webkit-details-marker { display: none; }
.service summary:hover h3 { color: var(--accent); }
.service h3 { font-size: clamp(20px, 2vw, 30px); letter-spacing: -.04em; line-height: 1.2; transition: color .2s; }
.service-index { font: 11px/1 'Courier New', monospace; color: var(--muted); }
.details-icon { width: 28px; height: 28px; position: relative; }
.details-icon::before, .details-icon::after { content: ''; position: absolute; background: var(--ink); width: 14px; height: 1px; top: 50%; left: 7px; }
.details-icon::after { transform: rotate(90deg); transition: transform .2s; }
.service[open] .details-icon::after { transform: rotate(0); }
.service[open] h3 { color: var(--accent); }
.service-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10%; padding: 0 38px 30px 54px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-body ul { list-style: none; margin: 0; padding: 0; font-size: 11px; }
.service-body li { padding-left: 13px; position: relative; }
.service-body li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.service-body li + li { margin-top: 5px; }
.experience { background: var(--dark); color: var(--on-dark); }
.experience .section-number { color: var(--experience-caption); }
.experience .serif { color: var(--experience-heading); }
.experience-columns { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.experience-columns > p:last-child { color: var(--experience-muted); font-size: 14px; line-height: 1.75; }
.client-list { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 6%; }
.client-list li { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--experience-line); font-size: 17px; letter-spacing: -.02em; gap: 20px; }
.client-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--experience-line); }
.client-list li > span:last-child { font: 9px/1.5 'Courier New', monospace; color: var(--experience-caption); }
.project-geography { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 10%; margin-top: 36px; }
.project-geography h3 { grid-column: 1 / -1; font-size: 22px; line-height: 1.3; letter-spacing: -.035em; }
.project-geography p { font-size: 14px; line-height: 1.75; color: var(--experience-muted); }
.contact { padding-bottom: 95px; }
.contact-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-arrow { font-size: 90px; font-weight: 300; line-height: 1; color: var(--accent); }
.contact-intro { margin-top: 30px; max-width: 470px; font-size: 14px; color: var(--muted); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 6%; margin: 40px 0 0; }
.contact-details > div { border-top: 1px solid var(--line); padding-top: 15px; }
.contact-details dt { font-size: 10px; letter-spacing: .06em; color: var(--muted); }
.contact-details dd { margin: 9px 0 0; font-size: clamp(17px, 1.6vw, 23px); letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--accent); }
.placeholder { font-size: 15px; color: var(--muted); }
.contact-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 11px; color: var(--muted); }
.contact-note .square { background: var(--muted); width: 4px; height: 4px; }
.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; border-top: 1px solid var(--line); padding: 32px 0 22px; }
.footer-identity { display: flex; align-items: center; gap: 28px; }
.footer-brand { display: block; flex-shrink: 0; }
.footer-brand .brand-logo-frame { width: 170px; }
.footer-copy { display: flex; flex-direction: column; gap: 3px; }
.site-footer strong { font-size: 12px; font-weight: 500; }
.footer-copy > span { font-size: 10px; color: var(--muted); }
.site-footer > p { grid-column: 1 / -1; font-size: 9px; color: var(--muted); padding-top: 18px; }
@media (min-width: 1700px) { .hero-grid { padding-block: 54px; } }
@media (max-width: 1024px) {
  :root { --gutter: 40px; --header-height: 80px; }
  .header-inner { gap: 16px; }
  .hero h1 { font-size: clamp(58px, 7.3vw, 76px); }
  .hero-grid { gap: 4%; }
  .section { grid-template-columns: 15% 1fr; gap: 5%; padding-block: 80px; }
  .section-label { gap: 10px; font-size: 9px; }
  .about-columns, .experience-columns { gap: 6%; }
  .main-nav { gap: 20px; }
  .main-nav .nav-contact { padding-left: 20px; gap: 18px; }
  .service-body { gap: 7%; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; --header-height: 68px; }
  .header-inner { flex-wrap: wrap; gap: 0; height: auto; min-height: var(--header-height); }
  .brand { order: 1; }
  .header-actions { order: 2; margin-left: auto; }
  .brand { min-height: var(--header-height); }
  .brand-text strong { font-size: 25px; }
  .brand-text > span { font-size: 8px; margin-top: 5px; }
  .brand-logo-frame { width: 128px; }
  .js .menu-toggle { display: inline-flex; }
  .menu-toggle { position: relative; padding: 0; min-width: 44px; height: 44px; justify-content: center; }
  .menu-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .main-nav { order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 20px; margin-left: 0; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .main-nav a { justify-content: space-between; padding: 15px 0; font-size: 20px; border-top: 1px solid var(--line); min-height: 54px; }
  .main-nav a::after { bottom: 8px; max-width: 32px; }
  .main-nav .nav-contact { border-left: 0; padding-left: 0; }
  .hero { padding-top: 26px; }
  .eyebrow { font-size: 9px; letter-spacing: .09em; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) clamp(104px, 30vw, 145px); column-gap: 18px; row-gap: 22px; padding: 34px 0 28px; }
  .hero-copy { display: contents; }
  .hero h1 { grid-column: 1 / -1; grid-row: 1; font-size: clamp(56px, 13.2vw, 86px); line-height: .99; letter-spacing: -.065em; }
  .hero-description { grid-column: 1; grid-row: 2; margin-top: 0; font-size: 16px; }
  .hero-description .desktop-break { display: none; }
  .button-dark { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin-top: 0; }
  .brand-figure { grid-column: 2; grid-row: 2; align-self: center; width: 100%; max-width: 145px; }
  .brand-artwork { max-height: 160px; }
  .hero-bottom { align-items: start; gap: 22px; padding-block: 18px; }
  .hero-bottom p { font-size: 10px; max-width: 160px; }
  .hero-bottom .text-link { gap: 12px; font-size: 10px; min-height: 28px; white-space: nowrap; }
  .section { display: block; padding-block: 65px; }
  .section-label { font-size: 9px; gap: 16px; margin-bottom: 26px; padding-top: 0; }
  .about-aside { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
  .about-aside .section-label { margin-bottom: 0; }
  .about-brand { margin-top: 0; width: 120px; flex-shrink: 0; }
  h2 { font-size: clamp(32px, 7.6vw, 48px); letter-spacing: -.05em; }
  .about-columns, .experience-columns { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .lead { font-size: 20px; }
  .about-columns > div, .experience-columns > p:last-child { font-size: 14px; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 28px; }
  .section-heading > p { font-size: 11px; }
  .service summary { grid-template-columns: 25px 1fr 25px; gap: 8px; padding: 22px 0; }
  .service h3 { font-size: 21px; }
  .service-index { font-size: 9px; }
  .service-body { grid-template-columns: 1fr; gap: 18px; padding: 0 25px 25px 33px; font-size: 13px; }
  .service-body ul { font-size: 11px; }
  .client-list { grid-template-columns: 1fr; margin-top: 32px; }
  .client-list li { font-size: 17px; padding-block: 18px; }
  .client-list li:nth-last-child(2) { border-bottom: 0; }
  .project-geography { grid-template-columns: 1fr; margin-top: 30px; gap: 20px; }
  .project-geography h3 { font-size: 21px; }
  .contact-heading { align-items: start; gap: 10px; }
  .contact-arrow { font-size: 48px; padding-top: 2px; }
  .contact-heading h2 { font-size: clamp(30px, 7.2vw, 48px); }
  .contact-intro { margin-top: 26px; font-size: 13px; }
  .contact-details { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .contact-details dd { font-size: 21px; }
  .placeholder { font-size: 15px; }
  .site-footer { padding-top: 24px; gap: 20px; }
  .footer-identity { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-brand .brand-logo-frame { width: 112px; }
  .footer-copy > span { max-width: 220px; font-size: 9px; }
  .site-footer .text-link { gap: 12px; font-size: 10px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .hero h1 { font-size: 54px; }
  .contact-arrow { display: none; }
  .service h3 { font-size: 19px; }
  .desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  :root, :root[data-theme] { --paper: white; --ink: #222e28; --muted: #667067; --line: #cbd0c5; --secondary: #566257; }
  .site-header { position: static; }
  [data-theme='dark'] .brand-logo:not(.brand-logo-wordmark) { clip-path: none; }
  [data-theme='dark'] .brand-logo-wordmark { display: none; }
  .main-nav, .menu-toggle, .theme-toggle, .button, .hero-bottom .text-link, .site-footer > a { display: none !important; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .section { padding-block: 32px; break-inside: avoid; }
  .experience { background: white; color: black; }
  .experience .serif, .experience-columns > p:last-child, .project-geography p { color: #444; }
}
