@font-face {
  font-family: Studio;
  src: url("/assets/dm.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: Print;
  src: url("/assets/serif.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: Print;
  font-style: italic;
  src: url("/assets/serif-italic.woff") format("woff");
  font-display: swap;
}

:root {
  --pine: #12372d;
  --moss: #264b39;
  --deep: #0d2a23;
  --paper: #f7f5ed;
  --ivory: #f5f2df;
  --leaf: #e1e8c6;
  --ink: #1b3027;
  --line: #b6beb0;
  --dark-line: #72877a;
  --edge: clamp(1.25rem, 4.7vw, 6.75rem);
  --rail: clamp(.75rem, 1.3vw, 1.7rem);
  --space: clamp(4.5rem, 7.7vw, 8.5rem);
  --sans: Studio, Arial, sans-serif;
  --print: Print, Georgia, serif;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
h1, h2, h3 { font-family: var(--print); font-weight: 400; line-height: 1.01; letter-spacing: -.035em; }
h2 { font-size: clamp(3.65rem, 6.4vw, 7rem); }
h2 em { font-weight: 400; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
figure { min-width: 0; }
ul { list-style: none; padding: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #b77632; outline-offset: 3px; }
.skip { position: fixed; top: 0; left: 0; z-index: 10; padding: .7rem 1rem; background: var(--paper); transform: translateY(-120%); }
.skip:focus { transform: none; }
.margin { width: calc(100% - 2 * var(--edge)); max-width: 100rem; margin-inline: auto; }

.mast {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: .88rem var(--edge);
  color: var(--ivory);
  background: var(--pine);
}
.mark { width: 2rem; display: block; }
.mark img { width: 100%; height: auto; }
.topnav, .actions { display: flex; align-items: center; }
.topnav { gap: clamp(1.5rem, 3vw, 3.6rem); }
.actions { justify-self: end; }
.topnav a, .simple-menu { display: inline-flex; align-items: center; min-height: 2.75rem; }
.topnav a:hover, .simple-menu:hover { text-decoration: underline; text-underline-offset: .35em; }
.book-link { padding: .58rem 1.25rem; border: 1px solid #b2c3a8; border-radius: 3rem; line-height: 1.45; }
.book-link:hover, .book-link:focus-visible { background: var(--leaf); color: var(--pine); }
.simple-menu, .mobile-only { display: none; }

.cover {
  position: relative;
  isolation: isolate;
  background: var(--pine);
  color: var(--ivory);
  height: clamp(30rem, 77svh, 62rem);
}
.cover-picture { position: absolute; inset: 0 var(--rail) 3.1rem; overflow: hidden; }
.cover-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.cover-title {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: clamp(1.6rem, 2.5vw, 3.1rem) var(--edge) clamp(1.55rem, 2.2vw, 2.8rem);
  background: var(--pine);
}
.cover-title h1 { width: clamp(21rem, 43vw, 48rem); }
.cover-title h1 img { width: 100%; height: auto; }
.cover-title p { margin-top: .75rem; font-size: clamp(1rem, 1.25vw, 1.25rem); }
.cover-caption { position: absolute; right: var(--edge); bottom: .7rem; color: #d4dec9; font: italic 1.28rem/1.25 var(--print); }

.essay { padding-block: var(--space); }
.essay-heading { display: grid; grid-template-columns: 1.35fr .75fr; gap: 3.5vw; align-items: end; margin-bottom: clamp(2.1rem, 4.2vw, 5rem); }
.essay-heading h2 { max-width: 11ch; }
.essay-heading h2 em { color: var(--moss); }
.essay-heading p, .wash-copy p, .history-copy p { max-width: 33rem; font-size: clamp(1.03rem, 1.25vw, 1.25rem); line-height: 1.58; }
.essay-heading p { max-width: 28rem; padding-bottom: .12rem; }
.pair { display: grid; grid-template-columns: 1.5fr .8fr; gap: clamp(1.75rem, 6vw, 8rem); align-items: start; }
.pair .portrait { margin-top: clamp(2.8rem, 6.8vw, 8rem); }
.photo-link, .salon-frame { position: relative; display: block; overflow: hidden; background: #a9b2a2; }
.photo-link { cursor: zoom-in; }
.photo-link img, .salon-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s cubic-bezier(.22, .68, .3, 1);
}
.photo-link:hover img, .salon a:hover .salon-frame img { transform: scale(1.022); }
.pair .detail .photo-link { aspect-ratio: 1.47; }
.pair .detail img { object-position: 55% 53%; }
.pair .portrait .photo-link { aspect-ratio: .82; }
.pair .portrait img { object-position: 55% 52%; }
figcaption { font-size: .9rem; padding-top: .65rem; line-height: 1.4; }
.enlarge {
  position: absolute; right: .75rem; bottom: .6rem; color: white; font-size: 1.65rem; line-height: 1;
  opacity: 0; text-shadow: 0 1px 5px #000; transition: opacity .2s;
}
.photo-link:is(:hover, :focus-visible) .enlarge { opacity: 1; }
.under { display: inline-block; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; font-size: 1rem; padding-block: .4rem; }
.under:hover { text-decoration-thickness: 2px; }

.wash-spread { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); color: var(--ivory); background: var(--moss); }
.wash-copy { align-self: center; padding: clamp(2.7rem, 4.7vw, 6rem) var(--edge); }
.wash-copy h2, .history-copy h2 { font-size: clamp(3.3rem, 5.5vw, 7.2rem); max-width: 12ch; }
.wash-copy h2 em, .history-copy h2 em { display: block; color: var(--leaf); }
.wash-copy p, .history-copy>p { margin-top: clamp(1.2rem, 2vw, 2.2rem); }
.wash-copy .under { margin-top: 1.2rem; }
.wash-photo { display: flex; }
.wash-photo .photo-link { width: 100%; min-height: clamp(23rem, 37vw, 46rem); }
.wash-photo img { position: absolute; inset: 0; object-position: 50% 57%; }
.wash-photo figcaption, .history figcaption { display: none; }

.salons { padding-block: var(--space); }
.salons>h2 { margin-bottom: clamp(2rem, 3.8vw, 4.6rem); }
.salon-spread { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: clamp(1rem, 2.5vw, 3.2rem); align-items: start; }
.salon:nth-child(2) { padding-top: clamp(2rem, 3.8vw, 4.75rem); }
.salon-frame { aspect-ratio: .87; }
.salon-frame img { object-position: 50% 57%; }
.salon:last-child .salon-frame { aspect-ratio: 1.15; }
.salon-caption { margin: 1rem 0 .35rem; }
.salon-caption h3 { font-size: clamp(2.5rem, 3.8vw, 4.5rem); margin-bottom: .35rem; }
.salon-caption span { font-size: 1rem; }

.history { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--pine); color: var(--ivory); }
.history>div:first-child, .history .plate { display: flex; }
.history .plate, .history .photo-link { width: 100%; }
.history .photo-link { min-height: clamp(24rem, 36vw, 45rem); }
.history .photo-link img { position: absolute; inset: 0; object-position: 50% 50%; }
.history-copy { align-self: center; padding: clamp(3rem, 4.8vw, 6rem) var(--edge); min-width: 0; }
.history-copy details { margin-top: 1.25rem; border-color: var(--dark-line); }
.history-copy details p { color: var(--ivory); }
.history-copy details img { width: 100%; height: 12rem; object-fit: cover; object-position: 50% 54%; margin: .7rem 0 1rem; }

.practical { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.95fr); gap: clamp(2.5rem, 8vw, 9rem); padding-block: var(--space); }
.practical h2, .salon-end h2 { font-size: clamp(2.9rem, 4.7vw, 5.5rem); margin-bottom: 1.4rem; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; min-height: 3.4rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; font-size: 1.04rem; padding: .65rem 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; font-family: Arial, sans-serif; font-weight: 400; }
details[open]>summary::after { content: "−"; }
details>p { max-width: 36rem; padding: 0 0 1.2rem; color: #415046; }
.treatment-image { width: min(100%, 23rem); padding-bottom: 1.3rem; }
.treatment-image .photo-link { aspect-ratio: 1.5; }
.treatment-image figcaption { display: none; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: .8rem 0; }
th, td { text-align: right; border-bottom: 1px solid var(--line); font-weight: 400; padding: .65rem 0 .65rem .4rem; }
thead th { font-size: .9rem; color: #425447; }
th:first-child { text-align: left; padding-left: 0; }
th a:hover { text-decoration: underline; }
.cancel { margin-top: 1rem; }

footer { background: var(--deep); color: var(--ivory); }
.footer-inner { max-width: 112rem; margin: auto; display: grid; grid-template-columns: 1fr 1.25fr .7fr; gap: clamp(2rem, 6vw, 7.2rem); padding: clamp(3rem, 5.6vw, 6.5rem) var(--edge); }
.footer-mark { width: 2.7rem; height: auto; margin-bottom: 1.1rem; }
footer h2 { font-family: var(--sans); font-size: 1rem; letter-spacing: normal; margin: 0 0 .65rem; }
footer ul li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-bottom: 1px solid var(--dark-line); }
footer ul li a { padding-block: .65rem; }
footer ul li>a+a { font-size: .94rem; }
.footer-nav { display: flex; flex-direction: column; align-items: start; gap: .6rem; }
footer a:hover, .lang a[aria-current], .lang a:hover, .visiting a:hover, .others a:hover { text-decoration: underline; text-underline-offset: .24em; }
.lang { font-size: 1rem; }
.lang span { margin: 0 .24rem; opacity: .65; }
.footer-nav .lang { margin-top: 1.25rem; }

.salon-cover { position: relative; isolation: isolate; overflow: hidden; color: var(--ivory); background: var(--pine); height: clamp(26rem, 67svh, 53rem); }
.salon-cover>.photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.salon-grunerlokka>img { object-position: center 63%; }
.salon-frogner>img { object-position: center 56%; }
.salon-kviteseid>img { object-position: center 55%; }
.salon-cover-name { position: absolute; left: 0; bottom: 0; padding: 1.1rem var(--edge) .15rem; background: var(--moss); }
.salon-cover-name p { font-size: 1rem; margin-bottom: .5rem; }
.salon-cover-name h1 { font-size: clamp(4.5rem, 8.6vw, 9.5rem); }
.salon-visit { background: var(--moss); color: var(--ivory); }
.salon-info { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr); gap: clamp(2.2rem, 5vw, 6rem); padding: clamp(2.75rem, 5.5vw, 6.5rem) 0; }
.salon-intro p { font: 400 clamp(1.9rem, 2.65vw, 3rem)/1.15 var(--print); }
.salon-intro .under { margin-top: 1rem; }
.visiting h2, .opening h2 { font: 400 1.4rem/1.2 var(--sans); letter-spacing: -.03em; margin-bottom: 1rem; }
.visiting a { display: table; margin-bottom: .6rem; overflow-wrap: anywhere; }
dl>div { display: flex; justify-content: space-between; gap: .6rem; border-bottom: 1px solid var(--line); padding: .3rem 0; }
.salon-info dl>div { border-color: var(--dark-line); }
.salon-album { display: grid; grid-template-columns: 1fr 1fr; gap: var(--edge); align-items: center; padding-top: var(--space); }
.salon-album .photo-link { aspect-ratio: .92; }
.salon-album .plate+.plate .photo-link { aspect-ratio: 1.12; }
.salon-end { display: grid; grid-template-columns: 1fr 1fr; gap: var(--edge); padding-block: var(--space); }
.salon-end dl { max-width: 29rem; margin: .8rem 0; }
.others a { display: table; padding: .4rem 0; font-size: 1.25rem; }

dialog { border: 0; }
dialog::backdrop { background: rgb(6 24 17 / .68); }
body:has(dialog[open]) { overflow: hidden; }
.sheet { width: min(35rem, calc(100% - 2rem)); max-height: 90vh; max-height: 90dvh; background: var(--pine); color: var(--ivory); padding: 0; }
.sheet-inner { padding: clamp(1.45rem, 4vw, 3rem); }
.dialog-head, .album-top, .album-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dialog-head h2 { font-size: clamp(2.8rem, 4.8vw, 4.6rem); }
.dialog-head button, .album-top button, .album-bottom button { padding: .65rem .1rem; text-decoration: underline; text-underline-offset: .3em; }
.book-list, .menu-list { margin: 1.5rem 0 0; }
.book-list a, .menu-list a { display: block; border-top: 1px solid var(--dark-line); padding: .95rem 0; }
.book-list a { display: flex; align-items: center; gap: 1rem; }
.book-list img { width: clamp(3.5rem, 6vw, 5rem); height: auto; }
.book-list a:hover .book-location, .menu-list a:hover { color: var(--leaf); }
.book-location, .menu-list a { font: 400 2.1rem/1.12 var(--print); }
.book-list small { display: block; font: .91rem/1.45 var(--sans); margin-top: .25rem; }
.sheet .lang { margin-top: 1.4rem; }
.lightbox { inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: 100%; max-height: 100%; margin: 0; background: var(--deep); color: var(--ivory); padding: 0; }
.album-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto; padding: max(1rem,env(safe-area-inset-top)) var(--edge) max(1rem,env(safe-area-inset-bottom)); gap: .75rem; }
.album-frame { min-height: 0; min-width: 0; display: grid; place-items: center; height: 100%; }
.album-frame img { width: 100%; height: 100%; min-height: 0; object-fit: contain; touch-action: pan-y; }
.album-bottom small { display: block; font-size: .85rem; opacity: .85; }
.album-bottom>div { display: flex; gap: 1.4rem; }

@media (min-width: 701px) and (max-width: 980px) {
  .salon-info { grid-template-columns: 1fr 1fr; }
  .salon-intro { grid-column: 1/-1; }
  .salon-intro p { max-width: 40rem; }
}
@media (max-width: 700px) {
  :root { --edge: 1.25rem; --rail: .625rem; --space: 3.8rem; }
  .mast { position: relative; display: flex; justify-content: space-between; min-height: 3.85rem; padding: .45rem var(--edge); }
  .mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 1.48rem; }
  .topnav, .wide-only { display: none; }
  .mobile-only { display: inline; }
  .actions { width: 100%; justify-content: space-between; }
  .simple-menu { display: inline-flex; gap: .45rem; }
  .menu-lines { display: block; width: 1rem; height: .4rem; border-block: 1px solid currentColor; }
  .book-link { padding: .42rem .82rem; min-height: 2.55rem; display: flex; align-items: center; }
  .cover { height: clamp(25.5rem, 76svh, 48rem); }
  .cover-picture { bottom: 2.1rem; }
  .cover-picture img { object-position: 52% 49%; }
  .cover-title { padding: 1.1rem 1.15rem 1.3rem var(--edge); }
  .cover-title h1 { width: min(67vw, 25rem); }
  .cover-title p { margin-top: .5rem; font-size: 1rem; }
  .cover-caption { right: var(--rail); bottom: .65rem; font-size: .95rem; }
  .essay-heading { grid-template-columns: 1fr; gap: 1.1rem; margin-bottom: 1.65rem; }
  h2 { font-size: clamp(3.25rem, 12.5vw, 5rem); }
  .essay-heading h2 { max-width: 12ch; }
  .essay-heading p { max-width: 34rem; }
  .pair { grid-template-columns: 1fr; gap: 1.85rem; }
  .pair .detail { margin-left: calc(-1 * var(--edge)); }
  .pair .detail .photo-link { aspect-ratio: 1.37; }
  .pair .detail figcaption { padding-left: var(--edge); }
  .pair .portrait { width: 76%; margin: 0 0 0 auto; }
  .wash-spread, .history { grid-template-columns: 1fr; }
  .wash-photo { grid-row: 1; }
  .wash-photo .photo-link { aspect-ratio: 1.37; min-height: 0; }
  .wash-copy, .history-copy { padding: 2.4rem var(--edge) 2.7rem; }
  .wash-copy h2, .history-copy h2 { max-width: 100%; font-size: clamp(3.15rem, 11.5vw, 4.6rem); }
  .wash-copy h2 em { display: inline; }
  .wash-copy p { margin-top: .8rem; }
  .salon-spread { grid-template-columns: 1fr; gap: 2.5rem; }
  .salon:nth-child(2) { padding-top: 0; }
  .salon-frame { aspect-ratio: 1.13; }
  .salon:last-child .salon-frame { aspect-ratio: 1.4; }
  .salon-caption h3 { font-size: 3.15rem; }
  .salon-caption { margin: .85rem 0 .15rem; }
  .history .photo-link { min-height: 0; aspect-ratio: 1.48; }
  .practical, .salon-info, .salon-end { grid-template-columns: 1fr; }
  .practical { gap: 3.15rem; }
  .salon-cover { height: 51svh; min-height: 20rem; }
  .salon-cover-name { padding: .9rem var(--edge) 0; }
  .salon-cover-name h1 { font-size: clamp(3.7rem, 14vw, 6rem); }
  .salon-info { gap: 2rem; }
  .salon-album { grid-template-columns: 1fr; gap: 1.45rem; }
  .salon-album .plate+.plate { margin-left: 12%; }
  .salon-end { gap: 2.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-inner>div:first-child { display: flex; align-items: center; gap: 1.2rem; }
  .footer-mark { width: 2.15rem; margin: 0; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }
  .footer-nav .lang { margin: 0 0 0 auto; }
  .album-bottom>div { gap: .9rem; }
}
@media (max-width: 520px) {
  .cover-caption { display: none; }
}
@media (max-width: 370px) {
  .footer-nav .lang { margin: 0; }
  .cover-title h1 { width: 72vw; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.contact-landing { padding-block: var(--space); }
.contact-landing h1 { font-size: clamp(3.5rem, 8vw, 8rem); }
.contact-intro { max-width: 42rem; margin-block: 1.5rem 3rem; font-size: 1.2rem; }
.contact-salons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 2rem; }
.contact-salons article { border-top: 1px solid var(--line); padding-top: 1.4rem; display: grid; justify-items: start; gap: .75rem; }
.contact-salons h2 { font-size: clamp(2.2rem,4vw,4rem); }
#teneste-farge h3 { font-size: 1.4rem; margin-top: 1.25rem; }
#analytics-settings { padding: 0; text-align: start; }
.analytics-notice { position: fixed; z-index: 12; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); width: min(26rem, calc(100% - 2rem)); max-height: 60svh; overflow: auto; padding: 1.25rem 1.5rem; background: var(--paper); color: var(--pine); border: 1px solid var(--dark-line); box-shadow: 0 3px 18px #12372d26; }
.analytics-notice h2 { font: 1.65rem/1.15 var(--print); }
.analytics-notice p { font: 1rem/1.45 var(--sans); margin: .6rem 0 .9rem; }
.analytics-notice div { display: flex; gap: .6rem; }
.ad-consent { display: flex; gap: .6rem; align-items: start; line-height: 1.4; margin: 0 0 1rem; cursor: pointer; }
.ad-consent input { flex: none; width: 1.1rem; height: 1.1rem; margin: .15rem 0; accent-color: var(--pine); }
.analytics-notice button { flex: 1; min-height: 2.75rem; padding: .4rem; border: 1px solid var(--pine); border-radius: .2rem; }
.analytics-notice button:hover { background: var(--leaf); }

