:root {
  font-family: Helvetica, Arial, "Nimbus Sans", sans-serif;
  color: #242323;
  background: #fff;
  font-size: 16px;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper, #fff); color: var(--ink, #242323); line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 5.3vw, 5.65rem); letter-spacing: -.065em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.2vw, 3.25rem); letter-spacing: -.045em; text-wrap: balance; }
h3 { font-size: clamp(1.22rem, 1.8vw, 1.53rem); letter-spacing: -.025em; }
p { max-width: 63ch; }
section[id] { scroll-margin-top: 1rem; }
.wrap { width: min(100% - 2 * clamp(1rem, 5vw, 4.5rem), 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 4; left: 1rem; top: .5rem; transform: translateY(-200%); padding: .7rem 1rem; background: #fff; color: #161616; }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--rule, #ddd); }
.header-inner { min-height: 5rem; display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2rem); }
.brand { display: block; margin-right: auto; flex: 0 0 auto; }
.brand img { width: clamp(6.7rem, 11vw, 8.6rem); height: auto; }
.header-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.85rem, 3vw, 2rem); }
.header-inner a:not(.brand) { font-size: .92rem; font-weight: 700; text-decoration: none; }
.header-inner a:not(.brand):hover { text-decoration: underline; text-underline-offset: .25em; }
.header-contact { padding: .55rem .95rem; border: 1px solid currentColor; }
.hero-inner { display: grid; align-items: center; gap: clamp(1.35rem, 5vw, 5rem); padding-block: clamp(2.65rem, 7vw, 6.25rem); }
.hero-copy { min-width: 0; }
.eyebrow { font-size: .92rem; font-weight: 700; margin-bottom: .75rem; color: var(--accent-text, #555); }
.intro { font-size: clamp(1.04rem, 1.55vw, 1.28rem); margin-block: 1.3rem 1.55rem; }
.button { display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; padding: .55rem 1.03rem; background: var(--button, #1d2722); color: var(--button-text, #fff); border: 1px solid var(--button, #1d2722); font-weight: 700; text-decoration: none; }
.button:hover { text-decoration: underline; text-underline-offset: .2em; }
.media { min-width: 0; }
.media a { display: block; }
.media img { width: 100%; height: auto; }
.media figcaption { margin-top: .42rem; font-size: .83rem; opacity: .8; }
.text-link { display: inline-block; margin-top: .72rem; font-weight: 700; text-underline-offset: .22em; }
.section { padding-block: clamp(2.8rem, 6vw, 5.3rem); }
.section h2 { margin-bottom: clamp(1.45rem, 3vw, 2.75rem); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.4rem); }
.service { border-top: 1px solid var(--rule, #ddd); padding-top: 1rem; }
.service p, .project p, .service-example p { margin-top: .7rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.4rem); }
.project { min-width: 0; }
.project > div { padding-top: .9rem; }
.project .media a { aspect-ratio: 1.58; display: grid; place-items: center; overflow: hidden; background: var(--matte, #efeeeb); }
.project .media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.project .annonce img, .project .sydnyt img, .project .video img { object-fit: contain; }
.project .annonce img { padding: .72rem; }
.service-example { margin-top: clamp(1.8rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 4vw, 3rem); }
.service-example img { border: 1px solid var(--rule); }
.about { border-top: 1px solid var(--rule, #ddd); }
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; gap: 1.2rem; }
.about h2 { margin: 0; }
.about p { font-size: clamp(1.04rem, 1.65vw, 1.24rem); }
.contact { background: var(--contact, #edeeea); padding-block: clamp(2.4rem, 5vw, 4.4rem); }
.contact-inner, .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.contact p { margin-top: .8rem; }
.contact address { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.3rem; font-style: normal; font-weight: 700; }
footer { border-top: 1px solid var(--rule, #ddd); }
.footer-inner { min-height: 3.7rem; font-size: .87rem; }
#image-viewer { width: min(92vw, 74rem); max-height: 91dvh; border: 0; padding: 1rem; background: #fff; color: #222; }
#image-viewer::backdrop { background: #17191bd4; }
#image-viewer form { display: flex; justify-content: flex-end; margin-bottom: .6rem; }
#image-viewer button { background: #fff; color: #222; border: 1px solid; padding: .55rem .8rem; font: inherit; cursor: pointer; }
#image-viewer img { width: auto; max-height: 72dvh; margin-inline: auto; object-fit: contain; }
#image-viewer figcaption { text-align: center; margin-top: .65rem; font-size: .9rem; }

.studio { --paper: #fcfaf8; --rule: #cec6be; --ink: #252421; --button: #203d35; --accent-text: #31574b; --contact: #f2dacf; }
.studio .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: clamp(1.4rem, 4.2vw, 4rem); }
.studio h1 { font-size: clamp(2.85rem, 5.55vw, 5.8rem); max-width: 11ch; }
.studio-visual { position: relative; padding: 0 0 2.6rem 1.35rem; isolation: isolate; }
.studio-visual::before { content: ""; position: absolute; z-index: -1; inset: .6rem .8rem 0 0; background: #efcfc1; }
.studio-visual .hero-image img { aspect-ratio: 1.18; object-fit: cover; }
.studio-visual .screen { position: absolute; width: 59%; right: 3%; bottom: 0; background: #fff; border: .45rem solid #fff; box-shadow: 0 0 0 1px #cab8af; }
.studio .services { background: #fff; border-block: 1px solid var(--rule); }
.studio .projects { background: #f4f1ed; }

.lokalt { --paper: #f9f5e9; --ink: #272921; --rule: #cbc8b9; --accent-text: #4a5740; --button: #33452e; --contact: #e8ebdd; --matte: #eee8d7; }
.lokalt .hero { border-bottom: 1px solid var(--rule); }
.lokalt .hero-inner { grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); padding-block: 0; gap: 0; }
.lokalt .hero-copy { padding: 3rem clamp(1rem, 3vw, 3.5rem) 3rem 0; }
.lokalt h1 { font-size: clamp(2.5rem, 4.7vw, 4.9rem); }
.lokalt .hero-image { position: relative; height: 100%; min-height: 29rem; }
.lokalt .hero-image a { height: 100%; }
.lokalt .hero-image img { width: 100%; height: 100%; object-fit: cover; }
.lokalt .hero-image figcaption { position: absolute; bottom: 0; left: 0; opacity: 1; background: var(--paper); padding: .3rem .6rem; }
.lokalt .about { border: 0; }
.lokalt .about-inner { grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); }
.lokalt .services { background: #eeebdf; }
.lokalt .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.lokalt .project-grid { grid-template-columns: 1.4fr 1fr 1fr; }

.projekter { --paper: #202225; --ink: #fbf8f6; --rule: #4f5257; --accent-text: #e0bfb4; --button: #f4d0c3; --button-text: #241e1c; --contact: #322c2e; --matte: #2d3034; }
.projekter .brand { background: #faf6f3; padding: .25rem .55rem; }
.projekter .hero-inner { padding-block: clamp(2rem,4vw,4rem) 1.2rem; }
.projekter .hero-copy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: .8rem clamp(1rem, 5vw, 4.4rem); align-items: end; }
.projekter .hero-copy .eyebrow { grid-column: 1/-1; margin: 0; }
.projekter h1 { font-size: clamp(2.7rem,6.6vw,6.4rem); text-wrap: initial; max-width: 13ch; }
.projekter .hero .intro { margin: 0; max-width: 32ch; padding-bottom: .42rem; }
.projekter .hero .button { justify-self: start; margin-top: .3rem; }
.projekter .projects { padding-top: clamp(1.6rem, 3vw, 2.2rem); }
.projekter .projects h2 { font-size: clamp(1.55rem,2.4vw,2.5rem); }
.projekter .project-grid { grid-template-columns: minmax(0,1.45fr) minmax(0,.8fr) minmax(0,1fr); row-gap: 2.2rem; }
.projekter .project .media a { height: clamp(10rem, 22vw, 19.5rem); aspect-ratio: auto; }
.projekter .project:nth-child(4) .media a { height: auto; aspect-ratio: 2.8; }
.projekter .services { background: #f6f1ec; color: #242323; --rule: #cbc1b9; }

.ydelser { --paper: #f4f6fb; --ink: #162645; --rule: #bec9de; --button: #203c76; --accent-text: #294983; --contact: #e0e8f7; --matte: #e1e8f3; }
.ydelser .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); padding-block: clamp(2.7rem,5vw,4.7rem); }
.ydelser h1 { font-size: clamp(2.6rem, 4.85vw, 5.1rem); }
.ydelser .service-visual { background: #dce5f6; position: relative; padding: 1.35rem 1.35rem 3.9rem; }
.ydelser .screen { width: 93%; }
.ydelser .screen img { border: 1px solid #bec9de; background: #fff; }
.ydelser .mini-map { position: absolute; right: 1.05rem; bottom: 1.05rem; width: 51%; border: 1px solid #bec9de; }
.ydelser .services { padding-top: 0; }
.ydelser .services h2 { margin-bottom: 1.35rem; }
.ydelser .service-grid { gap: .74rem; }
.ydelser .service { border: 1px solid var(--rule); background: #fff; padding: clamp(.85rem, 2vw, 1.35rem); }
.ydelser .projects { background: #fff; border-block: 1px solid var(--rule); }
.ydelser .about { border: 0; }
.direction-main { padding-block: clamp(1.8rem, 5vw, 4rem); }
.direction-main h1 { font-size: clamp(2.2rem, 4.75vw, 4.35rem); margin-bottom: 1.75rem; text-wrap: initial; }
.direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.direction { text-decoration: none; border: 1px solid #ccc9c5; display: block; background: white; }
.direction:hover h2 { text-decoration: underline; text-underline-offset: .12em; }
.direction img { width: 100%; height: auto; aspect-ratio: 1.59; object-fit: cover; object-position: top; background: #f0edea; border-bottom: 1px solid #ccc9c5; }
.direction div { padding: 1rem 1.15rem; }
.direction h2 { font-size: 1.45rem; }
.direction p { margin-top: .45rem; }
.direction span { display: block; margin-top: .75rem; font-weight: 700; }

@media (max-width: 60rem) {
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 1.4rem; }
}
@media (max-width: 46rem) {
  .studio .hero-inner, .lokalt .hero-inner, .ydelser .hero-inner,
  .about-inner, .lokalt .about-inner, .service-example { grid-template-columns: minmax(0,1fr); }
  .hero h1, .projekter h1 { font-size: clamp(2.6rem, 8.2vw, 4.1rem); }
  .studio h1 { max-width: 13ch; }
  .lokalt .hero-copy { padding: 2.25rem 0 1.6rem; }
  .lokalt .hero-image { min-height: 0; }
  .lokalt .hero-image img { aspect-ratio: 1.55; }
  .lokalt .hero-image figcaption { position: static; padding: .15rem 0 .45rem; }
  .projekter .hero-copy { display: block; }
  .projekter .hero-copy .eyebrow { margin-bottom: .7rem; }
  .projekter .hero .intro { margin-top: .9rem; margin-bottom: .8rem; }
  .project-grid, .lokalt .project-grid, .projekter .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 32rem) {
  .header-inner { min-height: 0; padding-block: .6rem; flex-wrap: wrap; justify-content: space-between; gap: .45rem .75rem; }
  .header-inner nav { order: 3; width: 100%; gap: 1.1rem; padding-bottom: .18rem; }
  .header-inner nav a { min-height: 2.4rem; display: inline-flex; align-items: center; }
  .header-contact { min-height: 2.65rem; display: inline-flex; align-items: center; }
  .service-grid, .lokalt .service-grid, .project-grid, .lokalt .project-grid,
  .projekter .project-grid, .direction-grid { grid-template-columns: minmax(0,1fr); }
  .projekter .project .media a { height: auto; aspect-ratio: 1.65; }
  .studio-visual { padding-left: .65rem; padding-bottom: 1.7rem; }
  .studio-visual .screen { border-width: .28rem; }
  .ydelser .service-visual { padding: .7rem .7rem 2.5rem; }
  .ydelser .mini-map { right: .6rem; bottom: .6rem; }
  .contact address { align-items: flex-start; }
}
