@font-face {
  font-family: "Playfair Display";
  src: url("/assets/playfair-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/playfair-display-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #081119;
  --ink: #070c11;
  --panel: #101a22;
  --text: #f3efe8;
  --muted: #b1bdc6;
  --champagne: #d8c2a1;
  --line: #ffffff26;
  --danger: #e3a5a2;
  --heading: "Playfair Display", Georgia, serif;
  --gutter: clamp(1.25rem, 4.5vw, 6rem);
  --sidebar: clamp(168px, 15.2vw, 330px);
  --measure: 1440px;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--navy);
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0 }
a { color: var(--champagne); text-underline-offset: .22em }
a:hover { color: var(--text) }
button, input, select, textarea { font: inherit }
button { cursor: pointer }
button:disabled { cursor: not-allowed; opacity: .6 }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px }
[hidden] { display: none !important }
.skip { position: fixed; z-index: 5; inset: 1rem auto auto 1rem; padding: .8rem 1rem; background: var(--ink); transform: translateY(-200%) }
.skip:focus { transform: none }
.shell, .page { width: min(100%, var(--measure)); margin-inline: auto; padding-inline: var(--gutter) }

.site-header {
  position: fixed;
  z-index: 3;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  overflow-y: auto;
  border-right: 2px solid #e7b566;
  background: #080f16 url("/assets/sidebar-marble.webp") center / cover no-repeat;
  box-shadow: 2px 0 10px #f0a8453d, inset -4px 0 17px #e9ad4526;
}
.site-header-inner { display: grid; align-content: start; gap: clamp(1.35rem, 5.3svh, 3.45rem); padding: clamp(.9rem, 3.2svh, 2.25rem) clamp(.55rem, .74vw, .95rem) 1.2rem }
.brand {
  /* Keep the original menu position when the artwork changes size. */
  --brand-emblem-height: min(12svh, clamp(95px, 9vw, 160px) * 56 / 96);
  --brand-text-height: calc(clamp(.9rem, 1.52vw, 1.68rem) * 1.12 + clamp(.51rem, .74vw, .75rem) * 1.35 + .58rem);
  position: relative;
  display: grid;
  justify-items: center;
  min-block-size: calc(var(--brand-emblem-height) + var(--brand-text-height));
  min-width: 0;
  text-align: center;
  text-decoration: none;
}
.brand-art { position: absolute; inset-block-start: calc(-1 * clamp(.45rem, 1.65svh, 1rem)); width: 100%; max-width: 17.5rem }
.brand-picture, .brand-picture img { display: block; width: 100% }
.brand-picture img {
  height: auto;
  max-height: 22svh;
  object-fit: contain;
  mix-blend-mode: lighten;
  mask-image: linear-gradient(90deg, transparent, #000 7% 93%, transparent), linear-gradient(180deg, transparent, #000 4% 95%, transparent);
  mask-composite: intersect;
}
.brand-tagline { display: block; color: var(--champagne); font-size: .65rem; font-weight: 650; line-height: 1.25; letter-spacing: .07em; text-transform: uppercase; overflow-wrap: anywhere }
.site-header nav { display: grid; gap: clamp(.27rem, 1.05svh, .68rem) }
.site-header nav a {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 1.45vw, 1.65rem);
  min-height: clamp(44px, 6.35svh, 66px);
  padding-inline: clamp(.65rem, 1.6vw, 1.8rem) .45rem;
  border: 1px solid transparent;
  border-radius: .96rem;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(.98rem, 1.37vw, 1.52rem);
  font-weight: 650;
  white-space: nowrap;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.site-header nav svg { width: clamp(24px, 2.08vw, 38px); flex: none; color: #f1cb83 }
.site-header nav a:hover { background: #a2733d26; border-color: #c78f5366 }
.site-header nav a[aria-current] { border-color: #edbc70; background: linear-gradient(110deg, #684723b0, #332419d9 72%, #aa6a31af); box-shadow: inset 0 0 11px #fbc87975, 0 0 12px #e7ad4631 }
.menu { display: none }
.home main, .interior main, body > footer { margin-left: var(--sidebar) }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: .55rem;
  padding: .72rem 1rem;
  border: 1px solid var(--line);
  border-radius: .42rem;
  background: #141e27;
  color: var(--text);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button svg { width: 1.1em; height: 1.1em; flex: none; color: var(--champagne) }
.button:hover { color: var(--text); background: #202d38; border-color: #ffffff48 }
.button.gold { color: #191714; background: var(--champagne); border-color: transparent }
.button.gold svg { color: currentColor }
.button.gold:hover { background: #e9d6ba }
.button.danger { color: var(--danger); border-color: #c47f7b65; background: #291c22 }
.button.danger svg { color: currentColor }
.button.danger:hover { background: #39252c; border-color: #d0918f }

.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: 100svh; background: #06111a }
.hero .shell { width: 100% }
.hero-art, .hero-art::after { position: absolute; inset: 0 }
.hero-art { z-index: -1 }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center }
.hero-art::after {
  content: "";
  background: linear-gradient(90deg, #030a1447, #040b1628 34%, transparent 68%),
              linear-gradient(180deg, transparent 57%, #02101a24 74%, #04111bd9 91%, #06131e 100%);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: clamp(1.15rem, 4svh, 2.75rem);
  padding-top: clamp(2.4rem, 10.4svh, 8.6rem);
  padding-bottom: clamp(1.25rem, 5.2svh, 4.4rem);
}
.hero h1, .page h1, .offline h1 {
  margin: 0;
  color: #f7f1e7;
  font-family: var(--heading);
  font-weight: 500;
  letter-spacing: -.04em;
}
.hero h1 { font-size: clamp(2.25rem, min(4.15vw, 8.15svh), 5.4rem); line-height: .98 }
.hero h1 > span, .hero-accent { display: block }
.hero-accent { color: #efc17e }
.hero h1::after { content: ""; display: block; width: clamp(3rem, 5.4vw, 6rem); height: 2px; margin-top: clamp(.85rem, 3.7svh, 2.35rem); background: #edbc70 }
.hero-copy { width: min(100%, 40rem) }
@media (min-width: 901px) {
  .hero-copy { translate: max(-40px, calc(12px - var(--gutter))) min(30px, 4.6svh) }
}
.hero-copy p { max-width: 56ch; margin: 0 0 clamp(.85rem, 3.5svh, 2.1rem); color: #f4f0ea; font-size: clamp(.94rem, 1.19vw, 1.29rem); line-height: 1.36; text-wrap: pretty; text-shadow: 0 1px 5px #000c }
.hero-copy em { color: #f1c17e; font-family: var(--heading); font-weight: 500 }
.hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1.5fr); width: min(100%, 40.5vw); gap: clamp(.45rem, .87vw, 1rem) }
.hero-actions .button {
  min-width: 0;
  min-height: clamp(44px, 6.45svh, 66px);
  padding-inline: .48rem;
  border-radius: .95rem;
  font-size: clamp(.85rem, 1.18vw, 1.3rem);
  font-weight: 700;
}
.hero-actions .button svg { width: clamp(16px, 1.4vw, 27px); height: clamp(16px, 1.4vw, 27px) }
.hero-actions .button span { text-wrap: balance }
.hero-actions .button.gold { border-color: #f1c781; background: linear-gradient(125deg, #f4d197, #c48949); color: #181511 }
.hero-actions .button.gold:hover { background: #ecd0a1 }
.hero-actions .button:not(.gold) { border-color: #e4ae63; background: #07121ddd }
.hero-actions .button:not(.gold):hover { border-color: var(--champagne); background: #1a2731 }

.hero-services { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; min-height: clamp(88px, 16.75svh, 175px); padding-block: .35rem clamp(.75rem, 2.7svh, 2rem) }
.hero-services .service-card { position: relative; align-items: center; justify-content: center; min-height: 72px; gap: clamp(.4rem, 1.25svh, .75rem); padding: .35rem; border: 0; border-radius: 0; text-align: center; background: transparent }
.hero-services .service-card + .service-card::before { content: ""; position: absolute; inset: .3rem auto .3rem 0; width: 1px; background: linear-gradient(transparent, #d5a45b91 20% 80%, transparent) }
.hero-services .service-card svg { width: clamp(28px, 2.45vw, 46px); color: #efc77b }
.hero-services .service-card strong { color: #f7f1e7; font-size: clamp(.84rem, 1.17vw, 1.35rem) }
.hero-services .service-card:hover strong { color: #f0c681 }
.service-grid, .detail-grid, .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 1rem }
.service-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: .65rem;
  min-width: 0;
  padding: clamp(1rem, 2.3vw, 1.75rem);
  border: 1px solid #ffffff18;
  border-radius: .65rem;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: background-color 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.service-card:hover { background: #18242d; border-color: #d8c2a17a; transform: translateY(-2px) }
.service-card svg { width: 1.75rem; height: auto; color: var(--champagne) }
.service-card strong { font: 500 clamp(1.15rem, 1.45vw, 1.5rem)/1.2 var(--heading); overflow-wrap: anywhere }
.service-card span { color: var(--muted); line-height: 1.57; max-width: 42ch }
.page .service-card { min-height: 11rem }
.page .service-card svg { margin-bottom: .25rem }
@media (min-width: 1180px) {
  .page .service-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) }
}

.interior main { background: linear-gradient(90deg, #081119 10%, #081119e3 44%, #0811193b), linear-gradient(180deg, transparent, var(--navy) 29rem), url("/assets/coastal-office-detail.webp?v=2") top right / auto 31rem no-repeat }
.administration main { background: linear-gradient(160deg, #0e1922, var(--navy) 34rem) }
.page { min-height: calc(100svh - 164px); padding-block: clamp(3.4rem, 7vw, 7.25rem) clamp(3.8rem, 7vw, 6rem) }
.page-heading { margin-bottom: clamp(1.7rem, 4vw, 3rem) }
.page h1, .offline h1 { font-size: clamp(2.45rem, 5.35vw, 5rem); line-height: 1.055; text-wrap: balance }
.page h1 { max-width: 20ch }
.intro { max-width: 59ch; margin: .95rem 0 0; color: #d5dde3; font-size: clamp(1.05rem, 1.55vw, 1.31rem); line-height: 1.63; text-wrap: pretty }
.eyebrow { color: var(--champagne); margin: 0 0 .65rem; text-transform: uppercase; font-size: .74rem; letter-spacing: .18em; font-weight: 650 }
.breadcrumb { color: var(--muted); margin: 0 0 1.2rem; font-size: .94rem }
.glass { min-width: 0; padding: clamp(1rem, 2.5vw, 2rem); background: var(--panel); border: 1px solid #ffffff18; border-radius: .65rem; overflow-wrap: anywhere }
.glass h2, .glass h3 { margin: 0 0 .68rem; color: var(--text); font: 500 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--heading) }
.glass h3 { font-size: 1.2rem }
.glass > :last-child { margin-bottom: 0 }
.glass p { line-height: 1.65; color: #cfd8e0 }
.prose { white-space: pre-wrap }
.about-steps { align-items: start }
.about-steps details { padding: 0 }
.about-steps summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .68rem .75rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: .65rem;
  cursor: pointer;
  list-style: none;
}
.about-steps summary::-webkit-details-marker { display: none }
.about-steps summary:hover { background: #ffffff08 }
.about-steps summary:focus-visible { outline-offset: -4px }
.about-step-title { color: var(--text); font: 500 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--heading) }
.about-step-intro { grid-column: 1 / -1; color: #cfd8e0; line-height: 1.65 }
.about-step-icon { color: var(--champagne); font: 1.35rem/1 system-ui, sans-serif }
.about-step-icon::before { content: "+" }
.about-steps details[open] .about-step-icon::before { content: "−" }
.about-step-detail { margin-inline: clamp(1rem, 2.5vw, 2rem); border-top: 1px solid #ffffff18 }
.about-step-detail p { margin: 0; padding-block: .9rem clamp(1rem, 2.5vw, 2rem) }
.price { color: var(--champagne); font-size: 1.16rem; font-weight: 600 }
.project { padding: 0; overflow: hidden }
.project img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover }
.project > div { padding: clamp(1rem, 2.6vw, 2rem) }
.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)) }
.portfolio-grid:has(> :only-child) { max-width: 48rem }
.privacy { max-width: 76ch }
.privacy h2:not(:first-child) { margin-top: 1.65rem }
.form { display: grid; gap: 1rem; max-width: 47.5rem }
.form + .form, .form + .glass, .glass + .form { margin-top: 1rem }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem }
label { display: grid; gap: .42rem; font-weight: 600 }
input, textarea, select { width: 100%; min-width: 0; min-height: 44px; padding: .65rem .76rem; color: var(--text); background: #0a131b; border: 1px solid #53616d; border-radius: .38rem }
::placeholder { color: #a3afb9 }
textarea { resize: vertical }
input[type="checkbox"] { width: 1.1rem; min-height: 0; accent-color: var(--champagne) }
input[type="file"] { overflow: hidden }
label.check { display: flex; align-items: center }
.form .button { justify-self: start }
.fineprint { color: var(--muted); font-size: .88rem; margin: .1rem 0 }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.25rem 0 0 }
.form .actions { margin: 0 }
.notice { max-width: 47.5rem; padding: .85rem 1rem; border: 1px solid #4c756a; border-radius: .5rem; background: #112c2a; color: #d9f1e4 }
.notice.error { border-color: #b77b77; color: #f5cdca; background: #2a1e25 }

.admin-page { padding-top: clamp(2.65rem, 5vw, 5rem) }
.admin-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 1rem }
.admin-nav { display: flex; flex-wrap: wrap; gap: .4rem; padding-bottom: .8rem; margin-bottom: 1.5rem; border-bottom: 1px solid #ffffff1a }
.admin-nav a { display: flex; align-items: center; min-height: 44px; padding: .35rem .7rem; border-radius: .35rem; color: var(--muted); text-decoration: none }
.admin-nav a[aria-current], .admin-nav a:hover { background: #1a2731; color: var(--champagne) }
.admin-grid { display: grid; grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr); gap: 1rem; align-items: start }
.admin-grid > section { min-width: 0 }
.admin-grid > section > .glass + .glass { margin-top: 1rem }
.admin-page .portfolio-grid { margin-top: 1.25rem }
.record-list { display: grid; gap: .38rem; margin-top: .85rem }
.record-list a { display: flex; flex-wrap: wrap; gap: .25rem .65rem; justify-content: space-between; min-height: 44px; padding: .68rem; color: var(--text); text-decoration: none; border: 1px solid #ffffff24; border-radius: .38rem }
.record-list a:hover { background: #1b2935; border-color: #d8c2a17a }
.record-list span { color: var(--muted); font-size: .86rem }

footer { color: var(--muted); background: var(--ink); border-top: 1px solid #ffffff17; font-size: .88rem }
.footer-inner, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.25rem }
.footer-inner { justify-content: space-between; min-height: 76px; padding-block: 1.1rem }
.install { background: none; padding: 0; color: var(--champagne); border: 0; text-decoration: underline; text-underline-offset: .22em }
.offline { min-height: 100svh; margin-inline: auto; padding: 5rem 1.25rem; max-width: 44rem }
.offline img { margin-bottom: 1rem }
.offline p { color: var(--muted); line-height: 1.6 }

@media (min-width: 901px) and (min-height: 540px) {
  .home .site-header-inner { padding-bottom: 5rem }
  .home > footer { position: fixed; z-index: 4; inset: auto auto 0 0; width: calc(var(--sidebar) - 2px); margin: 0; border: 0; background: linear-gradient(transparent, #050e16d9 48%) }
  .home .footer-inner { min-height: 0; padding: .7rem .62rem; justify-content: center; gap: .32rem; text-align: center; font-size: .68rem }
  .home .footer-links { justify-content: center; gap: .2rem .55rem }
}
@media (max-width: 900px) {
  :root { --gutter: clamp(1.2rem, 5.8vw, 2.4rem) }
  .home main, .interior main, body > footer { margin-left: 0 }
  .site-header { position: sticky; inset: 0 0 auto; width: auto; overflow: visible; border-right: 0; border-bottom: 1px solid #bb8e504d; box-shadow: none; background-position: center 21% }
  .site-header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem; padding: .8rem var(--gutter) }
  .brand { display: block; width: min(11.55rem, calc(100% - 3.25rem)); min-block-size: 0 }
  .brand-art { position: static; display: block; max-width: none }
  .brand-picture img { max-height: none }
  .site-header nav { width: 100%; gap: .2rem }
  .js .menu { display: grid; place-items: center; width: 45px; height: 45px; padding: 0; color: var(--text); background: #0c151dcf; border: 1px solid #d8c2a167; border-radius: 50% }
  .menu:hover, .menu[aria-expanded="true"] { background: #202b35 }
  .menu svg { width: 22px; pointer-events: none }
  .js .site-header nav { position: absolute; inset: calc(100% + .35rem) var(--gutter) auto auto; display: none; width: min(17rem, calc(100% - 2 * var(--gutter))); max-height: calc(100svh - 6rem); overflow: auto; padding: .5rem; background: #0b141d url("/assets/sidebar-marble.webp") center 22% / cover no-repeat; border: 1px solid #c3986066; border-radius: .65rem }
  .js .site-header nav.open { display: grid }
  .site-header nav a { gap: .75rem; padding-inline: .68rem; border-radius: .55rem }
  .site-header nav svg { width: 1.25rem }
  .hero { min-height: calc(100svh - 72px) }
  .hero-art { bottom: auto; height: min(100%, clamp(730px, 130vw, 1050px)) }
  .hero-art img { object-position: 91% center }
  .hero-inner { min-height: clamp(635px, calc(100svh - 84px), 880px); padding-top: clamp(2.65rem, 7.6svh, 6.2rem); padding-bottom: clamp(1.25rem, 3.1svh, 2.7rem); gap: clamp(12rem, 41vw, 20rem) }
  .hero h1 { font-size: clamp(2.15rem, 8.25vw, 4.1rem); line-height: 1.04 }
  .hero h1::after { width: 2.5rem; margin-top: 1.3rem }
  .hero-art::after { background: linear-gradient(90deg, #040d1752, transparent 85%), linear-gradient(180deg, transparent 44%, #08111936 65%, #06111a 99%) }
  .hero-copy p { margin-bottom: 1.08rem; line-height: 1.5 }
  .hero-actions { width: min(100%, 27rem); gap: .45rem }
  .hero-actions .button { min-width: 0; min-height: 52px; padding-inline: .5rem; font-size: clamp(.85rem, 3.5vw, 1rem); gap: .4rem }
  .hero-actions .button svg { width: .91rem; height: .91rem }
  .hero-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding-block: .55rem 1.4rem }
  .hero-services .service-card { border: 1px solid #bd9b6940; border-radius: .48rem; padding: .45rem .2rem; background: #0d1a25 }
  .hero-services .service-card + .service-card::before { display: none }
  .service-card { padding: 1rem }
  .interior main { background: linear-gradient(90deg, #081119f0 12%, #08111973), linear-gradient(180deg, transparent, var(--navy) 22rem), url("/assets/coastal-office-detail.webp?v=2") top right / auto 23rem no-repeat }
  .administration main { background: var(--navy) }
  .admin-grid, .form-grid { grid-template-columns: 1fr }
}
@media (max-width: 480px) {
  .hero-actions { grid-template-columns: max-content max-content minmax(0, 1fr) }
  .hero-actions a[href="/portefolje"] svg { display: none }
}
@media (max-width: 360px) {
  .hero h1 { font-size: clamp(1.75rem, 8.1vw, 2.05rem) }
  .hero-actions .button { padding-inline: .34rem }
  .hero-actions svg { display: none }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
}

