:root {
  --ink: #332831;
  --night: #392b35;
  --paper: #f6f3ea;
  --peach: #edd1bb;
  --clay: #a84c32;
  --faint: #d3cbc1;
  --muted: #645b5f;
  --display: "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-text-size-adjust: 100%;
}
*, *::after, *::before { box-sizing: border-box; }
body, h1, h2, h3, p, figure, fieldset { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #276ca6; outline-offset: 4px; }
.wrap { width: min(calc(100% - clamp(40px, 8vw, 132px)), 1420px); margin-inline: auto; }
.skip, .sr { position: absolute; }
.sr { width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { background: var(--paper); color: var(--ink); z-index: 2; padding: .7rem 1rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
header, .opening { background: var(--night); color: var(--paper); }
.header { display: flex; align-items: center; gap: 1.65rem; min-height: 80px; border-bottom: 1px solid #72616c; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 600; line-height: 1.2; font-size: 1.05rem; }
.brand small { font-size: .7em; }
.monogram { display: grid; place-items: center; background: var(--peach); color: var(--night); font-family: var(--display); font-weight: 500; font-size: 1.85rem; font-variant-ligatures: common-ligatures; letter-spacing: -.085em; width: 43px; height: 43px; padding-right: 3px; }
.private { font-size: .75rem; color: #e5d9da; }
.private b { font-weight: normal; padding-inline: .18rem; }
nav { margin-left: auto; display: flex; align-items: center; gap: 1.8rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 550; }
.nav-project { border-bottom: 1px solid #d3ad96; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
header :focus-visible, .opening :focus-visible { outline-color: #b8daef; }
.heading { display: grid; align-items: end; grid-template-columns: minmax(0, 1.95fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 76px); padding-block: clamp(34px, 4vw, 72px) clamp(29px, 3.4vw, 54px); }
.label { font-family: var(--body); font-size: .72rem; font-weight: 650; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
.location { color: #eac5ad; margin-bottom: .75rem; }
.location span { padding-inline: .4rem; }
h1, h2, .room-detail h3, #kvittering h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(58px, 6.15vw, 100px); line-height: .99; letter-spacing: -.055em; }
.mobile-br { display: none; }
.intro { max-width: 34ch; font-size: clamp(1rem, 1.18vw, 1.2rem); line-height: 1.52; color: #ece4e1; padding-bottom: .23rem; }
.opening { padding-bottom: clamp(38px, 4.8vw, 78px); }
.spread { display: grid; grid-template-columns: minmax(0, 1.73fr) minmax(0, 1fr); align-items: stretch; }
figure { min-width: 0; background: #eee7da; color: var(--ink); display: flex; flex-direction: column; }
.drawing { flex: 1; display: grid; place-items: center; min-height: 0; }
.drawing img { width: 100%; max-height: min(44vw, 650px); height: auto; display: block; object-fit: contain; }
figcaption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 34px; padding: .35rem clamp(15px, 1.7vw, 28px); border-top: 1px solid #aaa99b; font-size: .75rem; letter-spacing: .035em; background: #e7e5db; color: #4f494b; }
.guide { background: var(--peach); color: var(--ink); padding: clamp(27px, 3.65vw, 66px); display: flex; flex-direction: column; align-items: flex-start; }
.guide .label, .sheet-intro .label { color: #79412e; }
h2 { font-size: clamp(40px, 4vw, 67px); line-height: 1.04; letter-spacing: -.05em; }
.guide h2 { margin-top: .55rem; }
.chooser { display: flex; flex-wrap: wrap; gap: .35rem; min-width: 0; border: none; padding: 0; margin-block: 1.5rem clamp(24px, 2.6vw, 44px); }
.chooser label { position: relative; display: flex; cursor: pointer; }
.chooser input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chooser span { display: flex; align-items: center; min-height: 44px; padding: .4rem .75rem; color: var(--ink); border: 1px solid #a78071; font-size: .88rem; font-weight: 600; }
.chooser input:checked + span { background: var(--night); border-color: var(--night); color: var(--paper); }
.chooser input:focus-visible + span { outline: 3px solid #255a7c; outline-offset: 2px; }
.guide-notice { margin: 0 0 1rem; font-size: .89rem; line-height: 1.4; }
.chooser:disabled label { cursor: default; }
.chooser label:hover span { border-color: var(--night); }
.room-detail { border-top: 1px solid #a58073; padding-top: clamp(17px, 1.6vw, 29px); margin-bottom: 1.5rem; width: 100%; }
.room-detail h3 { font-size: clamp(26px, 2.4vw, 39px); letter-spacing: -.037em; line-height: 1.1; }
.room-detail p { line-height: 1.47; margin-top: .65rem; max-width: 36ch; }
.room-question { font-size: .9rem; color: #59444b; }
.action { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-height: 47px; padding: .73rem 1.1rem; background: var(--night); border: 1px solid var(--night); color: white; font-size: .91rem; font-weight: 650; line-height: 1.3; cursor: pointer; }
.action:hover { background: #57404e; }
.guide-action { margin-top: auto; }
.guide .action:focus-visible { outline-color: #255a7c; }
.project { padding: clamp(54px, 7vw, 112px) 0; }
.worksheet { width: min(100% - 48px, 800px); margin-inline: auto; }
.sheet-intro .label { margin-bottom: .65rem; }
.sheet-intro h2 { font-size: clamp(45px, 4.75vw, 78px); }
.sheet-intro > p:last-child { font-size: 1.04rem; line-height: 1.56; max-width: 52ch; margin-top: 1.05rem; color: var(--muted); }
.demo { background: #ebe7dd; font-size: .91rem; padding: .95rem 1.1rem; border-left: 3px solid var(--clay); line-height: 1.5; margin: 1.65rem 0 2rem; }
form { display: grid; gap: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem; }
.field { min-width: 0; }
.field label { font-size: .94rem; font-weight: 650; display: inline-block; margin-bottom: .5rem; }
.field label span { font-weight: 450; color: var(--muted); }
input[type="text"], select, textarea { width: 100%; min-height: 48px; border: 1px solid #8c817e; border-radius: 0; background: #fffdf8; font-size: 1rem; line-height: 1.45; padding: .72rem .8rem; }
textarea { resize: vertical; display: block; }
.unit-input { position: relative; }
.unit-input input { padding-right: 3rem; }
.unit-input > span { position: absolute; top: 50%; right: .8rem; transform: translateY(-50%); color: var(--muted); }
.hint { font-size: .91rem; line-height: 1.4; color: var(--muted); margin-bottom: .65rem; }
::placeholder { color: #746b6c; opacity: 1; }
.error { font-size: .87rem; color: #8d322b; line-height: 1.4; }
.error:not(:empty) { margin-top: .35rem; }
[aria-invalid="true"] { border: 2px solid #9b3d2f !important; }
form .action { justify-self: start; }
#kvittering { padding-block: 1.7rem; border-top: 1px solid var(--faint); }
#kvittering h2 { font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -.045em; }
#kvittering p { margin-block: .7rem 1.2rem; max-width: 43ch; line-height: 1.5; }
footer { background: #e9e4db; }
.footer { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; min-height: 100px; padding-block: 22px; }
.footer > div { display: grid; gap: .3rem; }
.footer strong { font-weight: 600; }
.footer span, .footer p { color: var(--muted); font-size: .8rem; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; font-size: .9rem; text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 1050px) {
  .header { gap: 1rem; }
  .spread { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .guide { padding: 28px; }
  .chooser { margin-block: 1rem 1.5rem; }
}
@media (max-width: 790px) {
  .nav-room { display: none; }
  .heading { grid-template-columns: minmax(0, 1.6fr) minmax(0, .85fr); gap: 1.5rem; }
  h1 { font-size: clamp(49px, 6.65vw, 58px); }
  .intro { font-size: .95rem; }
  .guide { padding: 20px; }
  .chooser span { padding-inline: .5rem; }
  .room-detail p { font-size: .94rem; }
}
@media (min-width: 681px) and (max-width: 900px) {
  .room-detail p { min-height: 4.41em; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .header { display: grid; grid-template-columns: 1fr auto; gap: .3rem .45rem; padding-block: 12px 11px; }
  .brand { gap: .5rem; font-size: .94rem; }
  .monogram { width: 35px; height: 35px; font-size: 1.65rem; }
  .private { grid-row: 2; grid-column: 1 / -1; font-size: .7rem; }
  nav { grid-row: 1; grid-column: 2; }
  nav a { min-height: 38px; font-size: .82rem; }
  .heading { display: block; padding-block: 25px 22px; }
  h1 { font-size: clamp(49px, 11vw, 70px); line-height: .98; }
  .mobile-br { display: block; }
  .location { margin-bottom: .6rem; font-size: .68rem; }
  .intro { margin-top: .85rem; max-width: 44ch; font-size: .96rem; padding: 0; }
  .spread { grid-template-columns: 1fr; }
  .drawing img { max-height: none; }
  figcaption { min-height: 28px; padding-inline: 12px; font-size: .7rem; }
  .guide { padding: 24px; }
  .chooser { margin-block: 1.1rem 1.2rem; }
  .chooser span { padding-inline: .8rem; }
  .room-detail { margin-bottom: 1.3rem; }
  .room-detail p { max-width: 44ch; }
  .opening { padding-bottom: 26px; }
  .worksheet { width: calc(100% - 40px); }
  .form-row { gap: 1rem; }
  .footer { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
  .footer p { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .form-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .hint { min-height: 2.8em; }
}
@media (max-width: 355px) {
  .wrap { width: calc(100% - 28px); }
  .brand { font-size: .82rem; }
  .guide { padding: 20px; }
  nav a { font-size: .77rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.practice, .planning-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 9vw, 150px); padding-block: clamp(54px, 6.7vw, 98px); }
.practice-intro h2, .planning-copy h2 { margin-block: .8rem 1.35rem; }
.practice-intro .label { color: #79412e; }
.practice-intro > p:not(.label) { color: var(--muted); max-width: 38ch; line-height: 1.6; }
.disciplines { padding: 0; margin: 0; }
.disciplines > div { position: relative; border-top: 1px solid #bab1a5; padding: 1.1rem 0 1.15rem 4.55rem; }
.disciplines > div:last-child { border-bottom: 1px solid #bab1a5; }
.disciplines dt { font-family: var(--display); font-size: clamp(26px, 2.2vw, 36px); line-height: 1.2; letter-spacing: -.035em; }
.disciplines dd { margin: .35rem 0 0; max-width: 55ch; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.swatch { position: absolute; top: 1.35rem; left: 0; display: block; height: 46px; width: 46px; border: 1px solid #918575; }
.tile { background-color: #bb8167; background-image: repeating-linear-gradient(0deg, transparent 0 12px, #e4c9b1 12px 13px), repeating-linear-gradient(90deg, transparent 0 12px, #e4c9b1 12px 13px); }
.floor { background: repeating-linear-gradient(100deg, #ccb18e 0 7px, #b69b77 8px 9px, #e2c6a0 10px 11px); }
.room { background: #b5c4bf; box-shadow: inset 9px -11px 0 #ac8977, inset 10px -12px 0 #f4ead9; }
.planning { background: #e1e7e2; }
.planning-grid { align-items: center; }
.planning-copy .label { color: #425c56; }
.planning-copy ol { padding-left: 1.3rem; margin: 0; max-width: 44ch; }
.planning-copy li { padding: .3rem 0 .3rem .3rem; line-height: 1.52; font-size: .95rem; }
.planning-copy li::marker { color: #375c53; font-weight: 650; }
.planning-copy strong { font-weight: 650; }
.sample { border-left: 1px solid #8eaaa0; padding: clamp(14px, 2vw, 32px) 0 clamp(14px, 2vw, 32px) clamp(24px, 4vw, 58px); }
.sample-label { color: #415a52; font-size: .77rem; letter-spacing: .035em; font-weight: 600; }
.sample-label b { padding-inline: .3rem; }
.sample blockquote { margin: .85rem 0 1.1rem; font-family: var(--display); font-size: clamp(25px, 2.45vw, 40px); line-height: 1.2; letter-spacing: -.027em; }
.sample blockquote::before { content: "«"; }
.sample blockquote::after { content: "»"; }
.sample-button, .edit { min-height: 44px; padding: .4rem 0; background: transparent; border: 0; font-weight: 600; font-size: .91rem; text-decoration: underline; text-underline-offset: .28em; color: var(--ink); cursor: pointer; }
.draft-status:not(:empty) { background: #e1e7e2; border-left: 2px solid #607b70; padding: .7rem .85rem; font-size: .9rem; }
.review { border-top: 1px solid var(--faint); padding-top: 1.4rem; }
.review h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.04em; line-height: 1.15; }
.summary { margin: 1rem 0 1.4rem; }
.summary > div { display: grid; grid-template-columns: minmax(100px, .6fr) minmax(0, 1.8fr); gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--faint); }
.summary dt { font-size: .85rem; font-weight: 650; color: var(--muted); }
.summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; }
@media (max-width: 900px) {
  .practice, .planning-grid { gap: 5vw; }
}
@media (max-width: 680px) {
  .practice, .planning-grid { grid-template-columns: 1fr; gap: 25px; padding-block: 43px; }
  .practice-intro h2 br { display: none; }
  .practice-intro h2 br::after { content: " "; }
  .guide h2 { margin-top: .35rem; }
  .disciplines > div { padding-left: 3.65rem; }
  .swatch { width: 36px; height: 36px; }
  .sample { border-left: 0; border-top: 1px solid #8eaaa0; padding: 21px 0 0; }
  .sample blockquote { font-size: 1.65rem; }
  .planning-copy h2 { margin-bottom: .85rem; }
}
@media (max-width: 1050px) { .nav-services { display: none; } }

.local-work { border-left: 2px solid #ba866c; padding-left: 1rem; margin-top: 1.6rem; }
.local-work h3 { font-size: .88rem; font-weight: 650; margin-bottom: .45rem; }
.local-work p { font-size: .88rem; color: var(--muted); line-height: 1.5; max-width: 42ch; }
.local-work p + p { margin-top: .3rem; }
.local-work strong { font-weight: 600; color: var(--ink); }

.draft-status:empty { display: none; }

.worksheet:not([data-step="edit"]) .sheet-intro > :not(.label), .worksheet:not([data-step="edit"]) > .demo { display: none; }
.worksheet:not([data-step="edit"]) .sheet-intro .label { margin-bottom: .9rem; }
.worksheet .review, .worksheet #kvittering { border-top: 0; padding: 0; }
.review h2, #kvittering h2 { width: fit-content; }
.review-help { color: var(--muted); max-width: 51ch; margin-top: .75rem; line-height: 1.5; }
