:root {
  --page: #f4f6f0;
  --surface: #fafbf7;
  --text: #202c23;
  --secondary: #65715f;
  --border: #d5ddd0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --page: #111c15;
    --surface: #1c2a1f;
    --text: #edf2e7;
    --secondary: #acb9a0;
    --border: #354431;
  }
}
:root[data-theme=dark] {
  --page: #111c15;
  --surface: #1c2a1f;
  --text: #edf2e7;
  --secondary: #acb9a0;
  --border: #354431;
}
.nav.wrap { height: 102px; }
.nav .logo { font-weight: 600; letter-spacing: -1.65px; }
.nav nav { gap: 32px; }
.nav nav a { font-size: 12px; transition: color .2s; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 7px; }
.nav-cta { padding: 15px 23px; border: 1px solid transparent; }
.theme-toggle { opacity: .8; }
.gallery-hero {
  height: min(820px, calc(100svh - 102px));
  min-height: 650px;
  background:
    radial-gradient(ellipse at 70% 22%, #f4f9e946 0%, transparent 48%),
    linear-gradient(180deg, var(--page) 0%, #e6ebdf 13%, #bbc9ae 28%, #8a9e7c 41%, #577350 54%, #2d4b36 72%, #142b21 100%);
}
.gallery-label { top: 25px; left: 5.4%; right: 5.4%; color: #5a6853; font-size: 9px; letter-spacing: 1.25px; }
.gallery-label span:last-child { letter-spacing: 1.25px; }
.sculpture-canvas, .gallery-art {
  width: 80%; height: 96%; top: 39%; left: 57%;
  filter: saturate(.76) contrast(1.08);
}
.art-motion::before {
  content: ''; position: absolute; width: 27%; height: 6%;
  left: 43.5%; top: 72%;
  background: radial-gradient(ellipse, #08190a33, transparent 67%);
  filter: blur(15px); pointer-events: none;
}
.gallery-bottom { left: 5.4%; right: 5.4%; bottom: 106px; gap: 50px; }
.gallery-bottom h1 { font-size: clamp(65px, 6.8vw, 104px); font-weight: 500; line-height: 1.015; letter-spacing: -4.4px; }
.gallery-bottom h1 em { font-size: 1em; letter-spacing: -4.4px; color: #d5e4c5; }
.hero-action { width: 285px; padding-bottom: 3px; }
.hero-action>p { margin-bottom: 24px; max-width: 280px; font-size: 13px; line-height: 1.85; color: #c0ceba; }
.gallery-cta {
  min-height: 72px; padding: 13px 14px 13px 23px;
  background: #edf3e4; color: #283a25; border: 1px solid #f3f8ed;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 28px #081b1626, inset 0 1px #fff;
}
.gallery-cta .custom-icon {
  width: 43px; height: 43px; padding: 11px;
  border-radius: 5px; background: #d6e3c8; color: #30442d;
  transition: background .2s, transform .2s;
}
.gallery-cta:hover { transform: translateY(-2px); background: #fff; }
.gallery-cta:hover .custom-icon { background: #c2d6b1; transform: rotate(5deg); }
.hero-services {
  position: absolute; bottom: 28px; left: 5.4%; right: 5.4%; z-index: 3;
  border-top: 1px solid #c7dbb835; padding-top: 20px;
  display: flex; align-items: center; gap: 34px;
}
.hero-services a { display: flex; align-items: center; gap: 12px; color: #d0ddc6; font-size: 10px; }
.hero-services a>span { color: #92a88a; font-size: 8px; }
.hero-services a:hover { color: #fff; }
.hero-services .hero-explore { margin-left: auto; color: #a5b89e; gap: 14px; }
.hero-explore svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.gallery-hero .sculpture-toggle { top: 65px; right: 5.4%; width: 33px; height: 33px; }
.gallery-hero + .art-studio { padding-top: 175px; }
.art-studio::before { height: 105px; background: linear-gradient(180deg, #142b21 0%, #687f62 29%, #c2ceba 65%, var(--page) 100%); }
.art-studio h2 { font-size: clamp(31px, 2.85vw, 43px); line-height: 1.17; letter-spacing: -1.65px; }
.art-studio p:not(.eyebrow) { margin-top: 24px; line-height: 1.9; font-size: 13px; }
.art-services { padding-top: 0; }
.service-detail { border-bottom: 1px solid var(--border); }
.service-detail summary { display: flex; align-items: center; padding: 21px 0; list-style: none; gap: 14px; cursor: pointer; }
.service-detail:first-child summary { padding-top: 2px; }
.service-detail summary::-webkit-details-marker { display: none; }
.art-services .service-detail span { padding: 0; border: 0; font-size: 9px; color: var(--secondary); }
.service-detail strong { font-size: 13px; font-weight: 500; }
.service-detail svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; margin-left: auto; transition: transform .2s; }
.service-detail[open] svg { transform: rotate(45deg); }
.art-services .service-detail p { font-size: 11px; line-height: 1.8; margin: 0 0 21px; color: var(--secondary); }
.service-detail summary:hover { color: var(--accent); }
.ba { padding-bottom: 100px; }
.ba-frame { border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 20px 50px #1837190b; }
.ba-hint { margin-top: 24px; }
.art-contact { padding-block: 85px 105px; }
.art-contact h2 { max-width: 950px; font-size: clamp(46px, 5.5vw, 78px); line-height: 1.08; }
.art-email { padding-bottom: 16px; border-bottom-color: var(--text); }
footer .logo { letter-spacing: -1.5px; }
:root[data-theme=dark] .gallery-hero {
  background: radial-gradient(ellipse at 61% 30%, #5975484d, transparent 57%), linear-gradient(180deg,var(--page) 0%,#29412b 45%,#142b21 100%);
}
:root[data-theme=dark] .art-studio::before { background: linear-gradient(#142b21,var(--page)); }
@media(prefers-color-scheme:dark) {
  :root:not([data-theme=light]) .gallery-hero { background: radial-gradient(ellipse at 61% 30%, #5975484d, transparent 57%), linear-gradient(180deg,var(--page) 0%,#29412b 45%,#142b21 100%); }
  :root:not([data-theme=light]) .art-studio::before { background: linear-gradient(#142b21,var(--page)); }
}
@media(max-width:1100px) {
  .nav nav { gap: 22px; }
  .nav.wrap { gap: 17px; }
  .gallery-bottom h1,.gallery-bottom h1 em { font-size: 68px; letter-spacing: -3.5px; }
  .hero-action { width: 245px; }
  .gallery-cta { font-size: 12px; padding-left: 18px; min-height: 67px; }
  .hero-action>p { font-size: 12px; }
  .hero-services { gap: 27px; }
  .hero-services a { font-size: 9px; gap: 9px; }
  .gallery-label { font-size: 8px; }
  .art-studio { gap: 27px; grid-template-columns: .25fr 1.3fr 1fr; }
}
@media(max-width:800px) and (min-width:651px) {
  .gallery-bottom h1,.gallery-bottom h1 em { font-size: 59px; letter-spacing: -3px; }
  .hero-action { width: 205px; }
  .hero-services .hero-explore { display: none; }
  .hero-services { justify-content: space-between; }
  .art-studio { grid-template-columns: .45fr 2fr; }
  .art-services { grid-column: 2; display: block; }
}
@media(max-width:650px) {
  .nav.wrap { height: 80px; gap: 13px; }
  .nav-cta { padding: 11px 14px; font-size: 10px; }
  .nav-cta .custom-icon { width: 12px; }
  .gallery-hero { min-height: 0; height: 740px; }
  .gallery-label { left: 25px; right: 25px; top: 21px; font-size: 6px; letter-spacing: .7px; }
  .gallery-label span:last-child { letter-spacing: .7px; }
  .gallery-hero .sculpture-toggle { right: 24px; top: 58px; width: 29px; height: 29px; }
  .sculpture-canvas,.gallery-art { width: 132%; height: 72%; top: 32%; left: 50%; }
  .art-motion::before { left: 23%; width: 54%; height: 5%; top: 58%; }
  .gallery-bottom { left: 28px; right: 28px; bottom: 87px; }
  .gallery-bottom h1,.gallery-bottom h1 em { font-size: clamp(47px,12.5vw,62px); letter-spacing: -2.5px; line-height: 1.055; }
  .hero-action { width: 100%; margin-top: 27px; }
  .hero-action>p { display: none; }
  .gallery-cta { min-height: 64px; padding: 10px 11px 10px 19px; font-size: 13px; border-radius: 7px; }
  .gallery-cta .custom-icon { width: 42px; height: 42px; padding: 11px; }
  .hero-services { bottom: 29px; left: 28px; right: 28px; gap: 16px; justify-content: space-between; padding-top: 18px; }
  .hero-services a { font-size: 8px; gap: 7px; white-space: nowrap; }
  .hero-services a>span { font-size: 7px; }
  .hero-services .hero-explore { display: none; }
  .gallery-hero + .art-studio { padding-top: 120px; }
  .art-studio::before { height: 65px; }
  .art-studio h2 { font-size: 31px; letter-spacing: -1.4px; }
  .art-studio p:not(.eyebrow) { font-size: 13px; margin-top: 20px; }
  .art-services { margin-top: 30px; }
  .art-services .service-detail summary { padding: 18px 0; }
  .art-services .service-detail p { font-size: 12px; margin-top: 0; }
  .service-detail strong { font-size: 14px; }
  .ba { padding-bottom: 58px; }
  .art-contact { padding-block: 55px 60px; }
  .art-contact h2 { font-size: 38px; }
}
@media(max-width:370px) {
  .nav.wrap { gap: 9px; }
  .nav-cta { font-size: 9px; padding: 9px 10px; }
  .gallery-hero { height: 690px; }
  .gallery-bottom { left: 24px; right: 24px; }
  .gallery-bottom h1,.gallery-bottom h1 em { font-size: 44px; }
  .hero-services { left: 24px; right: 24px; gap: 8px; }
  .hero-services a { font-size: 7px; }
}
/* Softer light, fewer visual accents. */
:root{--page:#dce2d8;--surface:#e6ebe2;--text:#303a34;--secondary:#5e6961;--border:#d2d8d1}
.gallery-hero{
  background:linear-gradient(180deg,var(--page) 0%,#ccd5c8 16%,#b0bfae 31%,#8c9e8b 45%,#647d69 60%,#3d5846 77%,#263f30 100%);
}
.gallery-label{display:none}
.sculpture-canvas,.gallery-art{width:74%;height:80%;top:39%;left:56%;filter:saturate(.4) contrast(.92)}
.art-motion::before{display:none}
.gallery-bottom h1,.gallery-bottom h1 em{font-size:clamp(58px,6vw,86px);letter-spacing:-3.3px;line-height:1.08}
.gallery-bottom h1{color:#f1f3ee}
.gallery-bottom h1 em{color:#e0e6dc}
.hero-action>p{display:none}
.gallery-cta{background:#e9ede5;border-color:#e9ede5;box-shadow:none;border-radius:6px;min-height:66px;padding:17px 22px;font-size:14px}
.gallery-cta .custom-icon{width:22px;height:22px;padding:0;background:none;border-radius:0}
.gallery-cta:hover{background:#f4f6f0;transform:none}
.gallery-cta:hover .custom-icon{background:none;transform:none}
.hero-services{border-top-color:#d8e3cd40;gap:32px;bottom:29px;padding-top:20px}
.hero-services a{color:#dce4da;font-size:12px;letter-spacing:0}
.hero-services a>span{display:none}
.hero-services .hero-explore{font-size:11px;color:#ced9ce}
.gallery-hero .sculpture-toggle{top:27px;opacity:.7}
.art-studio::before{background:linear-gradient(180deg,#263f30 0%,#566f59 28%,#abbda5 63%,var(--page) 100%)}
:root[data-theme=dark]{--page:#1b251e;--surface:#243229;--text:#e9eee6;--secondary:#b1bdb0}
:root[data-theme=dark] .gallery-hero{background:linear-gradient(180deg,var(--page),#304638 50%,#263f30 100%)}
:root[data-theme=dark] .art-studio::before{background:linear-gradient(#263f30,var(--page))}
@media(prefers-color-scheme:dark){
  :root:not([data-theme=light]){--page:#1b251e;--surface:#243229;--text:#e9eee6;--secondary:#b1bdb0}
  :root:not([data-theme=light]) .gallery-hero{background:linear-gradient(180deg,var(--page),#304638 50%,#263f30 100%)}
  :root:not([data-theme=light]) .art-studio::before{background:linear-gradient(#263f30,var(--page))}
}
@media(max-width:1100px){.gallery-bottom h1,.gallery-bottom h1 em{font-size:64px;letter-spacing:-3px}.hero-services a{font-size:11px}}
@media(max-width:800px) and (min-width:651px){.gallery-bottom h1,.gallery-bottom h1 em{font-size:54px}}
@media(max-width:650px){
  .gallery-hero{height:690px}
  .sculpture-canvas,.gallery-art{width:120%;height:61%;top:32%;left:50%}
  .gallery-bottom h1,.gallery-bottom h1 em{font-size:clamp(43px,11.7vw,58px);letter-spacing:-2px;line-height:1.08}
  .gallery-bottom{bottom:90px}
  .hero-action{margin-top:26px}
  .gallery-cta{min-height:60px;font-size:13px;padding:17px 20px}
  .gallery-cta .custom-icon{width:20px;height:20px}
  .hero-services{gap:12px;bottom:28px;justify-content:space-between}
  .hero-services a{font-size:10px}
  .gallery-hero .sculpture-toggle{top:24px}
}
@media(max-width:370px){.gallery-hero{height:650px}.hero-services a{font-size:9px}}
.nav nav a{color:var(--text);font-size:13px}
@media(min-width:651px){.art-studio p:not(.eyebrow){font-size:14px}}
@media(max-width:1100px){.nav nav{gap:20px}.nav nav a{font-size:12px}}
.service-detail{scroll-margin-top:40px}

/* Lys fra siden, plass til figuren. */
:root { --hero-floor: #12271e; }
.gallery-hero,
:root[data-theme=dark] .gallery-hero {
  background:
    linear-gradient(180deg, var(--page) 0%, color-mix(in srgb,var(--page) 80%,transparent) 9%, color-mix(in srgb,var(--page) 30%,transparent) 24%, transparent 43%),
    radial-gradient(ellipse at 76% 40%, #859678 0%, #526e50 20%, #294733 45%, var(--hero-floor) 79%);
}
@media(prefers-color-scheme:dark) {
  :root:not([data-theme=light]) .gallery-hero {
    background:linear-gradient(180deg,var(--page) 0%,color-mix(in srgb,var(--page) 80%,transparent) 9%,color-mix(in srgb,var(--page) 30%,transparent) 24%,transparent 43%),radial-gradient(ellipse at 76% 40%,#859678 0%,#526e50 20%,#294733 45%,var(--hero-floor) 79%);
  }
}
.sculpture-canvas,.gallery-art { width:76%; height:92%; top:44%; left:70%; filter:saturate(.5) brightness(1.18) contrast(1.03); }
.gallery-bottom { top:35%; bottom:auto; display:block; pointer-events:none; }
.gallery-bottom h1,.gallery-bottom h1 em { font-size:clamp(68px,7vw,100px); letter-spacing:-4.5px; line-height:1.02; }
.gallery-bottom h1 { color:#f1f3ec; }
.gallery-bottom h1 em { color:#c0ceb5; }
.hero-action { margin-top:36px; width:270px; pointer-events:auto; }
.gallery-cta { background:#dbe5ce; border-color:#dbe5ce; border-radius:3px; }
.gallery-cta:hover { background:#edf2e5; }
.hero-services { bottom:35px; border-top-color:#aebfa52e; padding-top:23px; }
.hero-services a { color:#c9d5c0; }
.gallery-hero .sculpture-toggle { color:#455341!important; border-color:#45534144!important; }
.art-studio::before,
:root[data-theme=dark] .art-studio::before { background:linear-gradient(180deg,var(--hero-floor),var(--page)); }
@media(prefers-color-scheme:dark) { :root:not([data-theme=light]) .art-studio::before { background:linear-gradient(180deg,var(--hero-floor),var(--page)); } }
@media(min-width:651px) and (max-width:1000px) {
 .gallery-bottom { top:39%; }
 .gallery-bottom h1,.gallery-bottom h1 em { font-size:60px; letter-spacing:-3px; }
 .sculpture-canvas,.gallery-art { left:72%; width:90%; }
 .hero-action { width:240px; }
}
@media(max-width:650px) {
 .gallery-hero { height:725px; }
 .gallery-hero,:root[data-theme=dark] .gallery-hero { background:linear-gradient(180deg,var(--page) 0%,color-mix(in srgb,var(--page) 80%,transparent) 9%,color-mix(in srgb,var(--page) 30%,transparent) 24%,transparent 43%),radial-gradient(ellipse at 68% 34%,#839574 0%,#4c694a 29%,#284431 52%,var(--hero-floor) 83%); }
 .sculpture-canvas,.gallery-art { width:120%; height:61%; top:30%; left:53%; }
 .gallery-bottom { top:auto; bottom:100px; }
 .gallery-bottom h1,.gallery-bottom h1 em { font-size:clamp(46px,11.7vw,62px); letter-spacing:-2.5px; line-height:1.04; }
 .hero-action { margin-top:26px; width:100%; }
 .hero-services { bottom:30px; }
}

/* Samme inngang i begge fargetemaer. */
.nav.wrap{position:relative;isolation:isolate;--text:#303a34;--page:#dce2d8;--secondary:#5e6961;--accent:#3b5235;color:var(--text)}
.nav.wrap::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;background:#dce2d8;z-index:-1;pointer-events:none}
.gallery-hero{--page:#dce2d8}
:root[data-theme=dark] .gallery-hero .sculpture-toggle{color:#455341!important;border-color:#45534144!important}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .gallery-hero .sculpture-toggle{color:#455341!important;border-color:#45534144!important}}
