@font-face{font-family:"Archivo";font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url("/assets/archivo-latin-ext-5717f37059.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Archivo";font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url("/assets/archivo-latin-e3a28eade2.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--brand:#ff005e;--brand-deep:#ad0040;--on-brand:#17151c;--on-deep:#ffffff;--ink:#17151c;--ink-2:#5d5b60;--paper:#ffffff;--stone:#ececed;--line:#dadadb;--button-text:#ff005e}
/* The „Portofoliu” design (FAZA 30, E8; Ovi, 14.10): the projects first, wide heavy type, the client's colour as large plates. The colours
   come before this sheet as custom properties (SiteColors), the type's @font-face too (its files are published beside the pages). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Archivo", system-ui, sans-serif; font-stretch: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo { font-weight: 800; font-stretch: 125%; font-size: 20px; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.logo span { color: var(--brand); }
.logo img { display: block; height: 36px; width: auto; max-width: 220px; }
nav { display: flex; gap: 28px; font-size: 15px; white-space: nowrap; flex-shrink: 0; }
nav a { text-decoration: none; color: var(--ink-2); }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
nav a.call { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--brand); }

.intro { padding: 48px 0 40px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; }
.intro h1, .page-head h1 { margin: 0; font-stretch: 125%; font-weight: 800; font-size: clamp(42px, 6vw, 84px); line-height: .98; letter-spacing: -.03em; overflow-wrap: anywhere; }
.intro p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 30em; }
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(38px, 5vw, 72px); }
.page-head p { margin: 20px 0 0; color: var(--ink-2); font-size: 18px; max-width: 38em; }

/* The plates: the projects as the first thing a visitor sees. With fewer than three, the big one takes the whole row. */
.plates { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.plates.n1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.plates.n2 { grid-template-rows: 420px; }
.plate { position: relative; overflow: hidden; text-decoration: none; color: var(--on-brand); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: var(--brand); }
/* The drawing keeps to the plate's upper part, so it never runs under the project's name. */
.plate svg { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 96px); }
.plate.big svg { height: calc(100% - 150px); }
.plates.n3 .plate.big { grid-row: 1 / 3; }
.plate.dark { background: var(--brand-deep); color: var(--on-deep); }
.plate.stone { background: var(--stone); color: var(--ink); }
.plate.stone svg { color: var(--brand); }
.plate .name { position: relative; z-index: 1; font-stretch: 125%; font-weight: 750; font-size: 24px; line-height: 1.1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.plate.big .name { font-size: 36px; max-width: 14em; }
.plate .where { position: relative; z-index: 1; margin-top: 6px; font-size: 15px; opacity: .85; }
/* A work's picture fills its plate; a shade rising from the bottom keeps the name readable on any photo. */
.plate.photo { color: #fff; background: var(--brand-deep); }
.plate.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .25) 42%, rgba(0, 0, 0, 0) 68%); }
.plate.photo .where { opacity: .92; }

section { padding: 120px 0 0; }
.page-head + section, .page-head + .plates + section { padding-top: 56px; }
h2 { margin: 0 0 32px; font-stretch: 125%; font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -.025em; }
.more { display: inline-block; margin-top: 24px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--brand); }

/* The index of works: real facts, so a table. */
table { width: 100%; border-collapse: collapse; font-size: 16px; }
caption { text-align: left; color: var(--ink-2); margin-bottom: 14px; }
th { text-align: left; font-weight: 600; font-size: 14px; color: var(--ink-2); padding: 0 16px 12px 0; border-bottom: 2px solid var(--ink); }
td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { font-weight: 650; font-stretch: 112%; }
td.year { font-variant-numeric: tabular-nums; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font-size: 13px; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.services h3 { margin: 0 0 8px; font-stretch: 112%; font-size: 20px; letter-spacing: -.01em; }
.services h3::before { content: ""; display: block; width: 28px; height: 4px; background: var(--brand); margin-bottom: 16px; }
.services p { margin: 0; color: var(--ink-2); font-size: 16px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about .statement { font-stretch: 112%; font-weight: 600; font-size: 28px; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.about p { color: var(--ink-2); margin: 0 0 16px; }

.contact { margin-top: 120px; background: var(--brand); color: var(--on-brand); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 80px; padding-bottom: 80px; }
.contact.alone .wrap { grid-template-columns: 1fr; }
.contact h2, .contact h1 { color: inherit; margin: 0 0 32px; font-stretch: 125%; font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -.025em; }
.contact.first { margin-top: 24px; }
.contact .phone { display: block; font-stretch: 125%; font-weight: 800; font-size: clamp(32px, 4vw, 56px); text-decoration: none; letter-spacing: -.02em; margin: 8px 0 12px; }
.contact address { font-style: normal; opacity: .9; }
.contact address a { text-decoration: none; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, textarea { font: inherit; font-weight: 400; padding: 13px 14px; border: 0; background: color-mix(in srgb, var(--on-brand) 12%, transparent); color: inherit; border-bottom: 2px solid color-mix(in srgb, var(--on-brand) 55%, transparent); border-radius: 0; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--on-brand); outline-offset: 2px; }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button { justify-self: start; font: inherit; font-weight: 700; font-stretch: 112%; background: var(--on-brand); color: var(--button-text); border: 0; padding: 14px 26px; cursor: pointer; }
.contact.note .wrap { padding-top: 56px; padding-bottom: 56px; }

.message { padding: 72px 0 24px; max-width: 40em; }
.message h1 { margin: 0 0 16px; font-stretch: 125%; font-weight: 800; font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -.025em; }
.message p { color: var(--ink-2); font-size: 18px; }

footer { background: var(--brand-deep); color: color-mix(in srgb, var(--on-deep) 78%, transparent); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.contact + footer, main + footer { margin-top: 0; }
main.plain + footer { margin-top: 120px; }

@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  nav a:not(.call) { display: none; }
  header .bar { height: 64px; gap: 16px; }
  .logo { font-size: 17px; }
  .logo img { height: 30px; }
  .intro { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .intro p, .page-head p { font-size: 17px; }
  .page-head { padding-top: 28px; }
  .plates, .plates.n2 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .plates .plate.big { grid-row: auto; min-height: 300px; }
  .plate.big .name { font-size: 28px; }
  section { padding-top: 72px; }
  thead { display: none; }
  tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 2px 0; }
  td:first-child { grid-column: 1 / -1; }
  td.place { color: var(--ink-2); }
  td.tagscell { grid-column: 1 / -1; padding-top: 8px; }
  td.phase { display: none; }
  .services { grid-template-columns: 1fr; gap: 28px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about .statement { font-size: 22px; }
  .contact { margin-top: 72px; }
  .contact .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 48px; }
  main.plain + footer { margin-top: 72px; }
}
