/* ============================================================
   ELIAS VESTERGAARD — site.css
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: "EV Text"; src: url("/fonts/newsreader-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EV Sans"; src: url("/fonts/archivo-narrow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Base (normalize + webflow) ---------- */
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family: sans-serif; height: auto; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100%; }
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block; }
a { background-color: transparent; }
a:active, a:hover { outline: 0; }
img { border: 0; vertical-align: middle; max-width: 100%; display: inline-block; }
button, input, select, textarea { color: inherit; font: inherit; margin: 0; }
button { overflow: visible; text-transform: none; -webkit-appearance: button; cursor: pointer; }
input { line-height: normal; }
textarea { overflow: auto; }
p { margin-top: 0; margin-bottom: 10px; }
label { margin-bottom: 5px; font-weight: bold; display: block; }

.w-inline-block { max-width: 100%; display: inline-block; }
.w-hidden { display: none !important; }
.w-condition-invisible { display: none !important; }
.w-form { margin: 0 0 15px; }
.w-form-done { display: none; text-align: center; background-color: #ddd; padding: 20px; }
.w-form-fail { display: none; background-color: #ffdede; margin-top: 10px; padding: 10px; }
.w-input { display: block; width: 100%; height: 38px; padding: 8px 12px; margin-bottom: 10px; font-size: 14px; line-height: 1.42857143; color: #333; vertical-align: middle; background-color: #fff; border: 1px solid #ccc; border-radius: 0; outline: none; -webkit-appearance: none; appearance: none; }
textarea.w-input { height: auto; }
.w-button { display: inline-block; padding: 9px 15px; background-color: #3898ec; color: #fff; border: 0; line-height: inherit; text-decoration: none; cursor: pointer; border-radius: 0; -webkit-appearance: none; appearance: none; }
.w-radio { display: block; margin-bottom: 5px; padding-left: 20px; }
.w-radio::before, .w-radio::after { content: " "; display: table; grid-area: 1 / 1 / 2 / 2; }
.w-radio::after { clear: both; }
.w-form-label { display: inline-block; cursor: pointer; font-weight: normal; margin-bottom: 0; }
.w-radio-input { float: left; margin: 3px 0 0 -20px; line-height: normal; }
.w-form-formradioinput--inputType-custom { border: 1px solid #ccc; border-radius: 50%; width: 12px; height: 12px; }
.w-file-upload { margin-bottom: 10px; display: block; }
.w-file-upload-input { opacity: 0; z-index: -100; width: .1px; height: .1px; position: absolute; overflow: hidden; }
.w-file-upload-default, .w-file-upload-uploading, .w-file-upload-success { color: #333; display: inline-block; }
.w-file-upload-error { margin-top: 10px; display: block; }
.w-file-upload-label { cursor: pointer; background-color: #fff; border: 1px solid #ccc; margin: 0; padding: 8px 12px; font-size: 14px; font-weight: normal; display: inline-block; }
.w-file-upload-info { padding: 0 12px; line-height: 38px; display: inline-block; font-size: 14px; }
.w-file-upload-file { background-color: #fff; border: 1px solid #ccc; flex-grow: 1; justify-content: space-between; margin: 0; padding: 8px 9px 8px 11px; display: flex; }
.w-file-upload-file-name { font-size: 14px; font-weight: normal; display: block; }
.w-file-remove-link { cursor: pointer; width: auto; height: auto; margin-top: 3px; margin-left: 10px; padding: 3px; display: block; }
.w-icon-file-upload-remove::before { content: "×"; font-size: 18px; line-height: 1; }
.w-icon-file-upload-uploading { width: 20px; height: 20px; animation: spin .8s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.w-richtext p { margin-bottom: 0; }

/* ---------- Variables ---------- */
:root {
  --white: white;
  --mono: "EV Text", Georgia, serif;
  --font-size-sm: 16px;
  --font-size-md: 25px;
  --black: black;
  --sans-serif: "EV Sans", "Arial Narrow", sans-serif;
  --container: 6px;
  --mg-lg: 120px;
  --mg-md: 60px;
  --mg-xs: 12px;
  --font-size-lg: 19px;
  --smoke: #eee;
  --mg-rg: 40px;
  --mg-sm: 24px;
  --gutter-width: 120;
  --gutter-height: 20vw;
}

body { background-color: var(--white); font-family: var(--mono); color: var(--white); font-size: var(--font-size-sm); font-weight: 400; line-height: 120%; }
h1 { font-family: var(--mono); font-size: var(--font-size-md); margin-top: 0; margin-bottom: 0; font-weight: 400; line-height: 120%; }
h2 { font-size: var(--font-size-sm); margin-top: 0; margin-bottom: 0; line-height: 115%; }
p { font-family: var(--mono); color: var(--black); text-transform: uppercase; margin-bottom: 0; font-weight: 400; line-height: 120%; }
a { font-family: var(--sans-serif); color: var(--black); font-size: var(--font-size-sm); line-height: 120%; text-decoration: none; }
label { color: var(--black); font-size: var(--font-size-sm); margin-bottom: 0; padding: 0; font-weight: 400; display: block; }

/* ---------- Global embed ---------- */
a, button, input, label { -webkit-tap-highlight-color: transparent; outline: none; }
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; }
[data-preloader] { image-rendering: -webkit-optimize-contrast; image-rendering: high-quality; user-select: none; }
::selection { background: var(--black); color: var(--white); text-shadow: none; }

.loader-section { display: flex; }
html.loader-played #loader-section { display: none !important; }
.loader-item { display: none; }
.loader-item.active { display: block; }
.main-w, [data-preloader] { opacity: 0; }
.page-w {
  background-image:
    linear-gradient(var(--smoke) 1px, transparent 1px),
    linear-gradient(90deg, var(--smoke) 1px, transparent 1px);
  background-size:
    calc(100vw / var(--gutter-width)) var(--gutter-height),
    calc(100vw / var(--gutter-width)) var(--gutter-height);
}
[data-view] { will-change: opacity; }
[data-view="second"] { display: none; opacity: 0; }

@media (min-width: 992px) {
  .model-grid-item:hover .back,
  .model-grid-item:hover .opacity { opacity: 1; }
  .model-index-item:hover .index-anim,
  .model-index-item:hover .model-index-img-inner,
  .view-button:hover .selector { opacity: 1 !important; }
}

/* ---------- Layout ---------- */
.page-w { background-color: var(--white); width: 100%; margin-bottom: 0; }
.main-w { will-change: top, opacity; position: relative; }
.nav-section { z-index: 1000; width: 100%; padding: var(--container); mix-blend-mode: difference; justify-content: space-between; align-items: stretch; display: flex; position: fixed; top: 0; left: 0; }
.p-sm { font-size: var(--font-size-sm); }
.p-sm.align-center { text-align: center; }
.p-sm.align-center._w-60 { width: 60%; }
.p-sm p { font-size: var(--font-size-sm); text-transform: none; }
.menu-link { gap: 3px; color: var(--white); font-size: var(--font-size-sm); justify-content: flex-start; align-items: center; }
.menu-link:hover { font-family: var(--mono); }
.menu-link.w--current { pointer-events: none; font-family: var(--mono); letter-spacing: 0; }
.nav-items-w { z-index: 1000; gap: 3px; pointer-events: auto; display: flex; }
.nav-items-w.logo { position: absolute; left: 50%; transform: translate(-50%); }
.section { width: 100%; }
.section.pt-lg { padding-top: var(--mg-lg); }
.section.pt-lg.pb-md { padding-bottom: var(--mg-md); }
.section.pt-md { padding-top: var(--mg-md); }
.section.pt-md.relative { z-index: 2; position: relative; }
.section.relative { z-index: 1; position: relative; }
.section-inner { width: 100%; padding-top: var(--container); padding-bottom: var(--container); display: flex; }
.section-inner.align-center { justify-content: center; align-items: center; }
.section-inner.justify-between { justify-content: space-between; }
.hor-flex { display: flex; }
.hor-flex.justify-between { justify-content: space-between; align-items: flex-start; width: 100%; }
.hor-flex.justify-between.gap-8 { column-gap: var(--container); row-gap: var(--container); }
.hor-flex.gap-24 { gap: 24px; }
.hor-flex.align-center { justify-content: center; align-items: center; }
.hor-flex.align-center.gap-2 { gap: 2px; }
.hor-flex.align-center.gap-sm.index-anim { opacity: 0; }
.hor-flex.gap-sm { column-gap: var(--container); row-gap: var(--container); }
.view-button { gap: 4px; background-color: transparent; border: 0; padding: 0; transition: color .1s; display: flex; }
.view-button.active { pointer-events: none; display: flex; }
.hide { display: none; }
.vert-flex { flex-flow: column; width: 100%; display: flex; }
.vert-flex.align-center { justify-content: center; align-items: center; }
.vert-flex.gap-md { column-gap: var(--mg-md); row-gap: var(--mg-md); }
.vert-flex.gap-lg { column-gap: var(--mg-lg); row-gap: var(--mg-lg); }
.vert-flex.gap-xs { column-gap: var(--mg-xs); row-gap: var(--mg-xs); }
.nav-logo-img { height: calc(2.5 * var(--font-size-sm)); }
.main-inner { column-gap: var(--mg-md); row-gap: var(--mg-md); flex-flow: column; display: flex; }

/* ---------- Project index (list view) ---------- */
.model-index-collection-w { width: 100%; }
.model-index-list { flex-flow: column; width: 100%; display: flex; position: relative; }
.model-index-item { width: 100%; }
.model-index-link { gap: 6px; flex-flow: column; width: 100%; height: 100%; display: flex; }
.model-index-img-inner { z-index: 2; width: 100%; height: 100%; padding-right: var(--container); padding-left: var(--container); opacity: 0; pointer-events: none; justify-content: center; align-items: center; display: flex; position: fixed; top: 0; left: 0; }
.model-index-img { object-fit: contain; max-width: 100%; height: 100%; }
.model-index-title-inner { z-index: 1; column-gap: var(--container); row-gap: var(--container); justify-content: space-between; align-items: stretch; width: 100%; display: flex; position: relative; }
.model-index-mask { background-color: var(--black); justify-content: center; align-items: center; height: 100vh; display: flex; }

/* ---------- Footer ---------- */
.footer-section { width: 100%; padding-top: 120px; padding-bottom: var(--container); transition: opacity .6s cubic-bezier(.7, 0, .25, 1); }
.footer-inner { width: 100%; padding-top: var(--container); display: flex; }
.footer-inner.align-center { justify-content: center; align-items: center; }

/* ---------- Loader ---------- */
.loader-section { z-index: 5000; background-color: var(--white); will-change: top, opacity; width: 100%; height: 100svh; padding: 0; border: 0; cursor: pointer; position: fixed; inset: 0; overflow: hidden; }
.loader-collection-w { z-index: 1; width: 100%; height: 100%; display: flex; position: relative; }
.loader-list { width: 100%; height: 100%; }
.loader-item { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.loader-img { object-fit: cover; width: 100%; height: 100%; }
.loader-logo-inner { z-index: 2; width: 80%; padding-right: var(--container); padding-left: var(--container); mix-blend-mode: difference; justify-content: center; align-items: center; display: flex; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.loader-logo { width: 100%; }

/* ---------- About ---------- */
.clients-collection-w { justify-content: center; align-items: center; width: 75%; display: flex; }
.clients-list { column-gap: var(--container); grid-template-rows: repeat(10, auto); grid-template-columns: 1fr; grid-auto-columns: 1fr; grid-auto-flow: column; place-items: start center; width: 100%; display: grid; }
.clients-item { padding-right: var(--container); padding-left: var(--container); justify-content: center; align-items: center; display: flex; }
.contact-link { font-size: var(--font-size-lg); line-height: 115%; text-decoration: underline; }
.contact-link:hover { font-family: var(--mono); letter-spacing: 0; }
.contact-link.mono { font-family: var(--mono); }

/* ---------- Project grid ---------- */
.model-grid-collection-w { width: 100%; }
.model-grid-list { grid-template-rows: auto; grid-template-columns: 1fr 1fr 1fr 1fr; grid-auto-columns: 1fr; grid-auto-flow: row; justify-content: center; place-items: center stretch; width: 100%; display: grid; }
.model-grid-item { width: 100%; place-self: start center; }
.model-grid-link { flex-flow: column; justify-content: center; align-items: center; width: 100%; display: flex; position: relative; }
.model-grid-img-inner { aspect-ratio: 3 / 4; background-color: var(--black); justify-content: center; align-items: center; width: 100%; height: 100%; display: flex; position: relative; overflow: hidden; }
.model-grid-img { object-fit: cover; width: 100%; height: 100%; }
.model-grid-img.front { z-index: 1; filter: saturate(0%); will-change: opacity; position: absolute; top: 0; left: 0; }
.model-grid-img.back { z-index: 2; opacity: 0; will-change: opacity; position: relative; }
.model-grid-titles-inner { width: 100%; padding-top: calc(2 * var(--container)); padding-bottom: calc(2 * var(--container)); justify-content: space-between; align-items: center; display: flex; }

.square { background-color: var(--black); width: 6px; height: 6px; flex: none; top: calc(.6 * var(--font-size-sm)); justify-content: center; align-items: center; display: flex; position: relative; transform: translate(0, -50%); }
.square.selector { opacity: 0; top: 0; transform: none; }
.square.selector.active { opacity: 1; }
.square.no-rel { top: 4px; }
.square.opacity { opacity: 0; top: calc(.3 * var(--font-size-sm)); }
.p-md { font-size: var(--font-size-lg); text-transform: none; line-height: 110%; }
.p-md.align-center { text-align: center; }
.p-md.align-center._w-60 { width: 60%; }
.p-md p { font-size: var(--font-size-lg); text-transform: none; line-height: 110%; }

/* ---------- Project page ---------- */
.models-gallery-w { opacity: 1; width: 100%; }
.models-gallery-grid { flex-flow: column; justify-items: center; width: 100%; display: flex; }
.models-gallery-item { will-change: auto; width: 100%; height: 100dvh; transform-style: preserve-3d; justify-content: center; align-items: center; display: flex; overflow: hidden; transform: translate3d(0, 0, 0); }
.models-gallery-img-inner { background-color: var(--black); transform-origin: 50% 100%; will-change: transform; height: 100%; transform-style: preserve-3d; justify-content: center; align-items: center; display: flex; transform: translate3d(0, 0, 0); }
.models-gallery-img { object-fit: cover; max-width: 100%; height: 100%; }
.models-info-w { z-index: 999; column-gap: var(--mg-md); row-gap: var(--mg-md); flex-flow: column; justify-content: flex-start; align-items: center; width: 100%; }
.model-header { z-index: 1000; opacity: 0; mix-blend-mode: difference; padding: var(--container); position: fixed; top: 0; left: 50%; transform: translate(-50%, -100%); }
.model-progress { z-index: 1000; background-color: var(--black); pointer-events: none; transform-origin: 0% 50%; will-change: transform, opacity; width: 100%; height: 3px; transform-style: preserve-3d; position: fixed; bottom: 0; left: 0; transform: scale3d(0, 1, 1); }
.p-lg { font-size: var(--font-size-lg); }
.p-lg.align-center { text-align: center; }
.p-lg.align-center._w-60 { width: 60%; }
.p-lg.align-center.white { color: var(--white); }

/* ---------- Inquiry form ---------- */
.form-wrapper { justify-content: center; align-items: center; width: 100%; display: flex; flex-direction: column; }
.form { border-top: 1px solid var(--black); grid-template-rows: auto auto; grid-template-columns: 1fr 1fr; grid-auto-columns: 1fr; width: 100%; display: grid; }
.form-item { border-bottom: 1px solid var(--black); }
.form-item.border-right { border-right: 1px solid var(--black); }
.col-2 { column-gap: var(--mg-rg); row-gap: var(--mg-sm); grid-template-rows: auto; grid-template-columns: 1fr 1fr; grid-auto-columns: 1fr; display: grid; }
.col-2.no-gap { gap: 0; }
.span-2 { grid-area: span 1 / span 2 / span 1 / span 2; }
.place-center { place-self: center; }
.submit { padding: var(--mg-xs) var(--mg-sm); border: 1px solid var(--black); color: var(--black); font-family: var(--mono); font-size: var(--font-size-sm); text-transform: uppercase; background-color: transparent; }
.submit:hover { background-color: var(--black); color: var(--white); }
.field { border-style: solid; border-width: 0 0 1px; border-color: black black var(--black); width: 100%; color: var(--black); font-family: var(--mono); font-size: var(--font-size-sm); background-color: transparent; margin-bottom: 0; padding: 0; }
.field:focus { border-bottom-color: var(--black); }
.field::placeholder { color: var(--black); opacity: .35; }
.mt-lg { margin-top: var(--mg-lg); }
.radio { border: 1px solid var(--black); background-color: var(--white); box-shadow: 0 0 transparent; cursor: pointer; }
.radio.w--redirected-checked { border-color: var(--black); background-color: var(--black); }
.radio.w--redirected-focus { box-shadow: 0 0 #000; }
.radio-inner { cursor: pointer; position: relative; }
.radio-inner .w-form-label { color: var(--black); }
.area { min-width: 100%; max-width: 100%; height: 200px; min-height: 200px; max-height: 200px; color: var(--black); font-family: var(--mono); font-size: var(--font-size-sm); background-color: transparent; border: 0 solid #000; margin-bottom: 0; padding: 0; resize: none; }
.area::placeholder { color: var(--black); opacity: .35; }
.lowercase { text-transform: none; }
.mono { font-family: var(--mono); }
.underline { text-decoration: underline; }
.container-md { padding: var(--mg-md); }
.h-100 { height: 100%; }
.upload { width: 100%; height: 100%; margin-bottom: 0; position: relative; }
.upload.border-bottom { border-bottom: 1px solid var(--black); }
.upload.border-bottom.border-right, .upload.border-right { border-right: 1px solid var(--black); }
.default { flex-flow: column; justify-content: center; align-items: center; width: 100%; height: 100%; display: flex; }
.upload-button { column-gap: var(--mg-sm); row-gap: var(--mg-sm); color: var(--black); background-color: transparent; border: 0 solid #000; flex-flow: column; justify-content: center; align-items: center; width: 100%; height: 100%; padding: 0; display: flex; position: relative; }
.upload-button .w-file-upload-input { width: 100%; height: 100%; inset: 0; z-index: -1; }
.gray { opacity: .35; }
.uploading { justify-content: center; align-items: center; width: 100%; height: 100%; display: flex; }
.success { width: 100%; height: 100%; color: var(--black); background-color: transparent; justify-content: center; align-items: center; }
.w-file-upload-success.success:not(.w-hidden) { display: flex; }
.error { background-color: #ff8787; color: var(--black); margin-top: 0; }
._w-100 { width: 100%; }

/* ---------- Responsive ---------- */
@media screen and (max-width: 991px) {
  body { --font-size-sm: 15px; --mg-lg: 100px; --mg-md: 50px; --font-size-lg: 18px; --gutter-width: 80; --gutter-height: 35vw; }
  .p-sm.align-center._w-60 { width: 75%; }
  .nav-logo-img { height: calc(2 * var(--font-size-sm)); }
  .model-index-img-inner { display: none; }
  .loader-logo-inner { width: 90%; }
  .clients-list { justify-content: center; }
  .clients-item { width: 100%; }
  .contact-link:hover { font-family: var(--sans-serif); }
  .contact-link.mono:hover { font-family: var(--mono); }
  .model-grid-list { grid-template-columns: 1fr 1fr 1fr; }
  .model-grid-img.front { position: relative; }
  .model-grid-img.back { display: none; }
  .p-md.align-center._w-60 { width: 75%; }
  .models-gallery-item { height: auto; }
  .models-gallery-img-inner { height: 100%; }
  .models-gallery-img { width: 100%; max-width: none; height: 100%; }
}
@media screen and (max-width: 767px) {
  .model-header { display: none; }
  .min-h-full-mob { min-height: 50dvh; }
  .span-2-mob { grid-area: span 1 / span 2 / span 1 / span 2; }
}
@media screen and (max-width: 479px) {
  body { --font-size-sm: 14px; --mg-lg: 80px; --mg-md: 40px; --font-size-lg: 17px; --gutter-width: 40; --gutter-height: 50vw; }
  .nav-section { column-gap: var(--container); row-gap: var(--container); }
  .p-sm.align-center._w-60 { width: 85%; }
  .nav-items-w.logo { display: none; }
  .hor-flex.gap-24 { gap: 12px; }
  .hor-flex.align-center.gap-sm.index-anim { display: none; }
  .nav-logo-img { height: calc(1.75 * var(--font-size-sm)); }
  .model-index-title-inner { justify-content: center; }
  .loader-logo-inner { width: 100%; }
  .clients-collection-w { width: 85%; }
  .clients-list { grid-template-rows: repeat(15, auto); }
  .model-grid-list { grid-template-columns: 1fr 1fr; }
  .p-md.align-center._w-60, .p-md.align-center._w-85-mob { width: 85%; }
  .model-header { width: 100%; padding-top: var(--mg-md); pointer-events: none; }
}
