/* ============================================================
   Det søde Hjørne — website styles
   Warm, cozy, pastel · rounded forms · gold + cream
   ============================================================ */

:root {
  --maxw: 1180px;
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Color / mood themes (toggled via Tweaks) ---- */
.theme-creme {
  --bg:        #F5EFE3;
  --bg-warm:   #F1E7D4;
  --surface:   #FCF8EF;
  --surface-2: #F7EFDF;
  --ink:       #4A3322;
  --ink-soft:  #7A6450;
  --ink-faint: #A2917E;
  --gold:      #BE8C2C;
  --gold-deep: #9E7220;
  --gold-soft: #E7D29A;
  --rose:      #E0A0B0;
  --rose-soft: #F3D9DF;
  --peach:     #EFC59C;
  --mint:      #B9D4BC;
  --line:      #E7DAC4;
  --dark:      #3B2A1C;
  --dark-2:    #4A3525;
}
.theme-pastel {
  --bg:        #FBF1EC;
  --bg-warm:   #F6E6DD;
  --surface:   #FFF9F5;
  --surface-2: #FBEDE6;
  --ink:       #5A4434;
  --ink-soft:  #897061;
  --ink-faint: #B19D8E;
  --gold:      #CBA24A;
  --gold-deep: #B0863A;
  --gold-soft: #EFDCB0;
  --rose:      #DE93A6;
  --rose-soft: #F7DEE4;
  --peach:     #F3C9A6;
  --mint:      #A7CBB0;
  --line:      #EFDFD4;
  --dark:      #4D3A40;
  --dark-2:    #5E4750;
}
.theme-vanilje {
  --bg:        #F6E9CF;
  --bg-warm:   #F0DEBD;
  --surface:   #FDF6E6;
  --surface-2: #F7ECD2;
  --ink:       #46321C;
  --ink-soft:  #7C6038;
  --ink-faint: #A8906A;
  --gold:      #C58A35;
  --gold-deep: #A06D22;
  --gold-soft: #E9CF96;
  --rose:      #DDA083;
  --rose-soft: #F1DBC8;
  --peach:     #ECB57F;
  --mint:      #C4CE99;
  --line:      #E6D4AE;
  --dark:      #3E2C18;
  --dark-2:    #4F3A21;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

#root { background: var(--bg); transition: background .5s var(--ease); }

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 800; line-height: 1.08; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

/* eyebrow / script flourish */
.eyebrow {
  font-family: "Parisienne", cursive;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 10px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep);
}
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gold); }

.lead { font-size: clamp(17px, 1.7vw, 19px); color: var(--ink-soft); max-width: 56ch; }
.h-display { font-size: clamp(40px, 6.4vw, 78px); letter-spacing: -.5px; }
.h-section { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 16px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff8ec; box-shadow: 0 12px 26px -10px color-mix(in oklab, var(--gold-deep) 80%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px color-mix(in oklab, var(--gold-deep) 75%, transparent); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--gold-soft), 0 12px 24px -14px rgba(74,51,34,.4); }
.btn-on-dark { background: rgba(255,255,255,.95); color: var(--dark); }
.btn-on-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.4); }
.btn-rose { background: var(--rose); color: #4a2230; }
.btn-rose:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(74,51,34,.5);
  padding: 11px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.nav-logo img { height: 46px; width: auto; transition: height .35s var(--ease); }
.nav.scrolled .nav-logo img { height: 40px; }
.nav-logo .nl-text { font-family: "Parisienne", cursive; font-size: 23px; color: var(--gold-deep); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 700; font-size: 15px; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--gold-deep); background: color-mix(in oklab, var(--gold-soft) 45%, transparent); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--line);
  align-items: center; justify-content: center; color: var(--ink);
}
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); z-index: 70;
  background: var(--surface); box-shadow: -20px 0 60px -20px rgba(74,51,34,.5);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; padding: 26px 24px; gap: 6px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: "Playfair Display", serif; font-weight: 700; font-size: 22px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(59,42,28,.4); opacity: 0; pointer-events: none; transition: opacity .35s; backdrop-filter: blur(2px); }
.scrim.show { opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 132px; padding-bottom: clamp(60px,8vw,110px); }
.hero-blob { position: absolute; border-radius: 50%; opacity: .5; pointer-events: none; }
.hero-center { text-align: center; position: relative; z-index: 2; }
.hero-center .hero-logo { width: min(420px, 78%); margin: 0 auto 6px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 14px; color: var(--ink-soft);
}

.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.hero-split .hero-logo { width: min(320px, 70%); margin-bottom: 18px; }
.hero-media { position: relative; }
.hero-media image-slot { width: 100%; height: clamp(360px, 46vw, 540px); display: block; }
.hero-badge {
  position: absolute; right: -14px; bottom: -16px; z-index: 3;
  background: var(--surface); border-radius: 50%; width: 128px; height: 128px;
  display: grid; place-content: center; text-align: center; padding: 12px;
  box-shadow: 0 18px 40px -16px rgba(74,51,34,.55); transform: rotate(-8deg);
  border: 2px dashed var(--gold-soft);
}
.hero-badge b { font-family: "Playfair Display", serif; font-size: 26px; color: var(--gold-deep); display: block; }
.hero-badge span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

.hero-full { position: relative; z-index: 2; }
.hero-full .hero-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(59,42,28,.6); }
.hero-full image-slot { width: 100%; height: clamp(460px, 72vh, 720px); display: block; }
.hero-full .hero-overlay {
  position: absolute; inset: 0; display: grid; align-items: end;
  background: linear-gradient(180deg, rgba(40,28,17,0) 30%, rgba(40,28,17,.66) 100%);
  padding: clamp(26px, 5vw, 60px);
}
.hero-full .hero-card { max-width: 640px; }
.hero-full .hero-card h1, .hero-full .hero-card p { color: #fff7ea; }
.hero-full .hero-card .eyebrow { color: var(--gold-soft); }
.hero-full .hero-logo { width: min(260px, 64%); margin-bottom: 14px; background: var(--surface); border-radius: 18px; padding: 14px 18px; box-shadow: 0 16px 36px -16px rgba(0,0,0,.5); }

/* ---------- generic cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border-radius: var(--r-md); padding: 30px;
  box-shadow: 0 22px 44px -32px rgba(74,51,34,.55); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-grid { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 24px); justify-content: center; }
.product-grid .product-card { flex: 1 1 300px; max-width: 362px; }
.product-card { text-align: left; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -28px rgba(74,51,34,.5); }
.scoop-ico { width: 64px; height: 64px; margin-bottom: 18px; }
.product-card h3 { font-size: 23px; margin-bottom: 8px; }
.product-card p { color: var(--ink-soft); font-size: 15.5px; }
.tag { display:inline-block; margin-top:14px; font-size:12.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color: var(--gold-deep); }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-media image-slot { width: 100%; height: clamp(340px, 42vw, 480px); display: block; }
.about-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.stat-row { display: flex; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.stat b { font-family: "Playfair Display", serif; font-size: 36px; color: var(--gold-deep); display: block; line-height: 1; }
.stat span { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }

/* ---------- event freezer (feature band) ---------- */
.event { background: var(--dark); color: #f6ead3; border-radius: clamp(28px, 4vw, 48px); overflow: hidden; position: relative; }
.event-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,60px); align-items: center; padding: clamp(40px, 6vw, 76px); position: relative; z-index: 2; }
.event .eyebrow { color: var(--gold-soft); }
.event h2 { color: #fdf3e0; }
.event p { color: #e7d6bd; }
.event-occasions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 26px 0 30px; }
.occ { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 15.5px; color: #f3e6cf; }
.occ .dot { width: 22px; height: 22px; border-radius: 50%; background: color-mix(in oklab, var(--gold) 70%, #fff 5%); display: grid; place-content: center; flex: none; color: var(--dark); font-size: 13px; font-weight: 900; }
.event-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.event-media { position: relative; }
.event-media image-slot { width: 100%; height: clamp(320px, 40vw, 460px); display: block; }
.event-note { margin-top: 14px; font-size: 13.5px; color: #cbb795; }

/* inquiry form (inside event) */
.inq {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-md); padding: 22px; backdrop-filter: blur(4px);
}
.inq h4 { font-family: "Playfair Display", serif; font-size: 21px; margin: 0 0 4px; color: #fdf3e0; }
.inq .sub { font-size: 13.5px; color: #cbb795; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: #e7d6bd; }
.field input, .field textarea, .field select {
  font-family: "Nunito", sans-serif; font-size: 15px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.96); color: #3b2a1c; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 35%, transparent); }
.field.err input, .field.err textarea { border-color: #e08a8a; }
.field .msg { font-size: 12px; color: #f3c9c9; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.success {
  display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
}
.success .ok { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: #2c4a32; display: grid; place-content: center; flex: none; font-size: 22px; }

/* light inquiry/contact form variant */
.field.light label { color: var(--ink-soft); }
.field.light input, .field.light textarea, .field.light select { border-color: var(--line); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; }
.gallery image-slot { width: 100%; height: 100%; display: block; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-cap { font-size: 13px; color: var(--ink-faint); margin-top: 14px; font-weight: 700; }

/* ---------- jobs ---------- */
.job-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 38px; }
.job-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.job-card .jc-body { padding: 34px; }
.job-card .jc-side { background: var(--surface-2); padding: 34px; border-left: 1px solid var(--line); }
.job-card h3 { font-size: 28px; margin-bottom: 6px; }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.chip { font-size: 12.5px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--rose-soft); color: #7a3a4c; }
.chip.g { background: color-mix(in oklab, var(--gold-soft) 55%, transparent); color: var(--gold-deep); }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-line .ci { width: 38px; height: 38px; border-radius: 12px; background: var(--surface); display: grid; place-content: center; flex: none; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--gold-deep); }
.contact-line .ct b { display: block; font-size: 14px; color: var(--ink); }
.contact-line .ct span { font-size: 13px; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px,4vw,52px); }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px; }
.info-item .ii-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; flex: none; background: color-mix(in oklab, var(--gold-soft) 50%, transparent); color: var(--gold-deep); }
.info-item h4 { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 3px; }
.info-item p { font-size: 16px; color: var(--ink); font-weight: 700; }
.placeholder-val { color: var(--ink-faint); font-style: italic; font-weight: 600; }
.map { border-radius: var(--r-md); overflow: hidden; min-height: 320px; position: relative; border: 1px solid var(--line); }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.hours-row:last-child { border-bottom: 0; }
.hours-row span:first-child { font-weight: 700; }
.hours-row .open { color: var(--gold-deep); font-weight: 800; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #e7d6bd; padding: clamp(48px,6vw,76px) 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer h5 { font-family: "Parisienne", cursive; font-size: 30px; color: var(--gold-soft); margin: 0 0 4px; font-weight: 400; }
.footer .ftag { font-size: 14px; color: #cbb795; }
.footer-col b { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #cbb795; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-weight: 600; color: #ecdfc9; font-size: 15px; transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 13px; color: #b7a585; flex-wrap: wrap; gap: 10px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* floating decorative scoops */
.float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* optional script-style section headings (Tweak) */
.script-headings .h-section { font-family: "Parisienne", cursive; font-weight: 400; line-height: 1.18; letter-spacing: 0; }
.script-headings .eyebrow { font-family: "Playfair Display", serif; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-split, .about-grid, .event-inner, .contact-grid, .job-head, .job-card { grid-template-columns: 1fr; }
  .hero-split .hero-media { order: -1; }
  .cols-3 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cols-3, .cols-2, .event-occasions { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; }
  .stat-row { gap: 22px; }
  .h-display { font-size: clamp(34px, 11vw, 52px); }
}
