.v-photo-site {
  --photo-white: #fffaf1;
  --photo-header-height: 88px;
  --photo-dock-space: calc(3.6rem + env(safe-area-inset-bottom, 0px));
  --photo-width: min(1440px, calc(100% - clamp(36px, 11vw, 180px)));
  margin: 0;
  padding-block-end: var(--photo-dock-space);
  color: var(--photo-white);
  background: none;
  font-weight: var(--vargli-text-weight);
}

.v-photo-shell { width: var(--photo-width); margin-inline: auto; }
.v-photo-site a:focus-visible,
.v-photo-site summary:focus-visible { outline-color: var(--photo-white); }

.v-photo-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  isolation: isolate;
  color: var(--photo-white);
}

.v-photo-header::before, .v-photo-header::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  pointer-events: none;
}
.v-photo-header::before { background: linear-gradient(180deg, #1b1814bc, #1b181438 83%, transparent); }
.v-photo-header::after {
  background: #231f1af5;
  opacity: 0;
  transition: opacity .38s ease;
}
.v-photo-header[data-v-header-tone="dark"]::after { opacity: 1; }

.v-photo-header-inner {
  min-height: var(--photo-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
  border-bottom: 1px solid #fffaf154;
}

.v-photo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  flex: none;
}

.v-photo-brand svg { width: 39px; height: 34px; flex: none; }
.v-photo-brand span { font: var(--vargli-display-weight) 34px/.78 var(--v-photo-heading-serif); letter-spacing: -.035em; }
.v-photo-brand small { display: block; margin-top: 7px; font: var(--vargli-label-weight) 9px/1 var(--sans); letter-spacing: .17em; }

.v-photo-menu { position: relative; }
.v-photo-menu summary {
  display: grid;
  place-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  border: 1px solid #fffaf18a;
  list-style: none;
  cursor: pointer;
}
.v-photo-menu summary::-webkit-details-marker { display: none; }
.v-photo-menu summary span { width: 18px; height: 1px; background: currentColor; }
.v-photo-menu[open] summary span:first-child { transform: translateY(5px) rotate(45deg); }
.v-photo-menu[open] summary span:nth-child(2) { visibility: hidden; }
.v-photo-menu[open] summary span:last-child { transform: translateY(-5px) rotate(-45deg); }
.v-photo-menu:not([open]) nav { display: none; }
.v-photo-menu nav {
  position: absolute;
  inset: calc(100% + 7px) 0 auto auto;
  width: min(250px, calc(100vw - 36px));
  max-height: max(5rem, calc(100vh - var(--photo-header-height) - var(--photo-dock-space) - 1rem));
  max-height: max(5rem, calc(100svh - var(--photo-header-height) - var(--photo-dock-space) - 1rem));
  overflow-y: auto;
  padding: 6px;
  display: grid;
  border: 1px solid #ffffff70;
  background: linear-gradient(#101719d4, #101719ed), url('/vargli/assets/vargli-lodge.webp') center/cover;
}
.v-photo-menu nav a {
  line-height: 1.25;
  padding: .6rem .8rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: var(--vargli-label-weight);
  text-decoration: none;
}
.v-photo-menu nav a:hover,
.v-photo-footer a:not(.v-photo-brand):hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.v-photo-site main [id] {
  scroll-margin-block-start: calc(var(--photo-header-height) + 1rem);
}

.v-photo-dock {
  position: fixed;
  z-index: 20;
  inset: auto 0 0;
  display: grid;
  min-height: var(--photo-dock-space);
  padding-inline: max(.6rem, env(safe-area-inset-left, 0px)) max(.6rem, env(safe-area-inset-right, 0px));
  padding-block-end: env(safe-area-inset-bottom, 0px);
  border-block-start: 1px solid #e8e4de;
  background: #fff;
  color: #27231f;
}

.v-photo-dock-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  width: min(100%, 39rem);
  margin-inline: auto;
  align-items: stretch;
}

.v-photo-dock a {
  display: flex;
  min-height: 44px;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .35rem .2rem;
  font: var(--vargli-label-weight) clamp(.78rem, 2.7vw, .92rem)/1.2 var(--sans);
  text-decoration: none;
  text-align: center;
}
.v-photo-dock a > span { display: inline-flex; gap: .25rem; align-items: center; }
.v-photo-dock a:hover > span { text-decoration: underline; text-underline-offset: .22em; }
.v-photo-dock a:focus-visible { outline-color: #27231f; outline-offset: -3px; }
.v-photo-dock svg { width: .85rem; height: .85rem; flex: none; }
.v-photo-dock small {
  margin-block-start: .12rem;
  font-size: clamp(.65rem, 2.2vw, .72rem);
  font-variant-numeric: tabular-nums;
  color: #5e5044;
}
.v-photo-dock small:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  .v-photo-header::after { transition: none; }
}

.v-photo-cta, .v-photo-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: .7rem;
  color: inherit;
  border-bottom: 1px solid currentColor;
  font: var(--vargli-label-weight) .9rem/1.25 var(--sans);
  text-decoration: none;
}
.v-photo-cta svg, .v-photo-link svg { width: 1.1rem; height: 1.1rem; flex: none; }
.v-photo-cta { padding: .65rem 1rem; border: 1px solid currentColor; }
.v-photo-cta:hover { background: #fffaf12b; }
.v-photo-link:hover { color: #ffdbbc; }
.v-photo-site :is(.v-text-link, .v-event time, .v-event-meta) { font-weight: var(--vargli-label-weight); }

.v-photo-panel, .v-photo-footer {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  align-items: end;
}

.v-photo-panel > .v-photo-media, .v-photo-footer > .v-photo-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
  z-index: -2;
}

.v-photo-panel::before, .v-photo-footer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(0deg, #101411d9 0%, #10141185 39%, #10141113 75%);
  pointer-events: none;
}

.v-photo-home {
  --photo-ink: #26231f;
  --photo-section-gap: clamp(28px, 5.5vw, 88px);
  --photo-reveal-distance: clamp(16px, 4vw, 52px);
  background: #fff;
  text-align: center;
}

.v-photo-home > main { overflow-x: hidden; overflow-x: clip; }

.v-photo-home > main > section + section,
.v-photo-home > .v-photo-footer {
  margin-block-start: var(--photo-section-gap);
}

.v-photo-home .v-photo-header-inner { position: relative; justify-content: center; }
.v-photo-home .v-photo-menu { position: absolute; inset-inline-end: 0; }
.v-photo-home .v-photo-menu nav a { justify-content: center; }

.v-photo-explore {
  --photo-frame-inline: clamp(12px, 4vw, 66px);
  --photo-frame-block: clamp(18px, 4vw, 56px);
}

.v-photo-panel .v-photo-text { position: relative; }
.v-photo-cover {
  min-height: max(635px, 95svh);
  --photo-focus: right 49%;
  padding-block: 112px max(clamp(56px, 11vh, 130px), calc(var(--photo-dock-space) + 1rem));
}

.v-photo-cover::before {
  background: linear-gradient(180deg, #12191ebb 0%, #12191e08 29%, #11161705 55%, #1116179b 100%), linear-gradient(90deg, #0d1216dc 0%, #0d12168f 34%, #0d12161f 72%);
}

.v-photo-cover h1 {
  margin: 0;
  font: var(--vargli-display-weight) clamp(58px, 10.3vw, 163px)/.9 var(--v-photo-heading-serif);
  letter-spacing: -.035em;
}

.v-photo-cover h1 [data-v-photo-title-line] { display: block; }
.v-photo-cover-copy { position: relative; }
.v-photo-cover-actions { margin-top: clamp(22px, 4vh, 42px); }
.v-photo-cover-actions .v-photo-cta { min-height: 52px; padding-inline: 1.15rem; }

.v-photo-carousel {
  --carousel-controls-offset: clamp(15px, 4.5vw, 42px);
  position: relative;
  isolation: isolate;
  overflow: clip;
  inline-size: 100%;
  touch-action: pan-y pinch-zoom;
  min-height: clamp(420px, 73vh, 780px);
  min-height: clamp(420px, 73svh, 780px);
}

.v-photo-carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  isolation: isolate;
  align-items: end;
  visibility: hidden;
  opacity: 0;
}

.v-photo-explore > .v-photo-carousel-slide {
  inset: var(--photo-frame-block) var(--photo-frame-inline);
}

.v-photo-carousel-slide.is-current {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.v-photo-carousel-slide > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  object-position: var(--carousel-focus, center);
}

.v-photo-carousel-slide#kjokkenet { --carousel-focus: 68% 49%; }

.v-photo-carousel-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(0deg, #10110deb 0%, #10110d4d 34%, #10110d00 61%);
}

.v-photo-carousel-copy {
  padding-block: 32px clamp(85px, 11vw, 132px);
}

.v-photo-carousel-copy .v-photo-cta {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: .25rem 0;
  font: var(--vargli-display-weight) clamp(1.6rem, 4.9vw, 3.35rem)/1.06 var(--v-photo-heading-serif);
  letter-spacing: -.025em;
}

.v-photo-carousel-copy .v-photo-cta:hover {
  background: transparent;
  color: #ffdbbc;
}

.v-photo-home .v-dishes-note ul { justify-content: center; }

.v-photo-carousel-controls {
  position: absolute;
  z-index: 2;
  bottom: calc(var(--carousel-controls-offset) + var(--photo-frame-block, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #fffaf1;
}

.v-photo-carousel-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.v-photo-carousel-controls button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: -4px;
}

.v-photo-carousel-controls svg { width: 16px; height: 16px; display: block; }
.v-photo-carousel-toggle .v-photo-carousel-play,
.v-photo-carousel-toggle[data-v-photo-paused] .v-photo-carousel-pause { display: none; }
.v-photo-carousel-toggle[data-v-photo-paused] .v-photo-carousel-play { display: block; }

.v-photo-carousel-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.v-photo-chef {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(30px, 7vw, 110px);
  max-width: 1120px;
  color: var(--photo-ink);
}

.v-photo-chef-portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: clip;
}

.v-photo-chef-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 91% 38%;
}

.v-photo-chef .v-photo-chef-role {
  margin: 0 0 .85rem;
  font: var(--vargli-label-weight) .76rem/1.3 var(--sans);
  letter-spacing: .19em;
  text-transform: uppercase;
}

.v-photo-chef h2 {
  margin: 0 auto;
  max-width: 13ch;
  font: var(--vargli-display-weight) clamp(3.1rem, 6.5vw, 6.8rem)/.93 var(--v-photo-heading-serif);
  letter-spacing: -.04em;
  text-wrap: balance;
}

.v-photo-chef .v-photo-chef-note {
  margin: 1.3rem auto 0;
  max-width: 36ch;
  font-size: clamp(1rem, 1.65vw, 1.18rem);
  line-height: 1.75;
}

.v-photo-chef .v-photo-link { margin-top: 1rem; }

.v-photo-events {
  padding-block: clamp(12px, 2vw, 23px);
  color: var(--photo-ink);
}

.v-photo-event-menu { max-width: 640px; }
.v-photo-event-menu > summary {
  display: grid;
  min-height: 52px;
  place-items: center;
  padding-block: .45rem;
  list-style: none;
  cursor: pointer;
}
.v-photo-event-menu > summary::-webkit-details-marker { display: none; }
.v-photo-events h2 {
  display: flex;
  align-items: center;
  gap: .52em;
  margin: 0;
  font: var(--vargli-display-weight) clamp(1.8rem, 4vw, 3.25rem)/1 var(--v-photo-heading-serif);
  letter-spacing: -.025em;
}
.v-photo-events h2 svg { width: .55em; height: .55em; flex: none; }
.v-photo-event-menu[open] h2 svg { transform: rotate(180deg); }
.v-photo-events [data-v-events] { display: grid; gap: .6rem; margin: .75rem auto .6rem; }
.v-photo-events .v-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  border: 0;
  padding: .85rem 1rem;
}
.v-photo-events .v-event time { margin: 0; color: inherit; }
.v-photo-events .v-event h3 { font: var(--vargli-display-weight) 1.7rem/1.1 var(--v-photo-heading-serif); letter-spacing: -.02em; }
.v-photo-events .v-event a { font-size: .78rem; margin: 0; }
.v-photo-site .v-text-link:hover { color: #ffdbbc; }
.v-photo-events :is(.v-text-link, .v-photo-link):hover,
.v-photo-chef .v-photo-link:hover { color: #794633; }

.v-photo-home :is(.v-photo-events, .v-photo-chef, .v-photo-footer) :is(a, summary):focus-visible {
  outline-color: currentColor;
}

.v-photo-footer { min-height: 155px; align-items: center; }
.v-photo-footer::before { background: #1b1510e0; }
.v-photo-home > .v-photo-footer { color: var(--photo-ink); background: #fff; }
.v-photo-home > .v-photo-footer::before { content: none; }
.v-photo-footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 54px);
  padding-block: clamp(40px, 6vw, 85px) 24px;
  text-align: center;
}

.v-photo-footer-about p { max-width: 26ch; margin: .9rem auto 0; font-size: .9rem; }
.v-photo-footer h2 { margin: 0 0 .3rem; font: var(--vargli-display-weight) 1.85rem/1.05 var(--v-photo-heading-serif); }
.v-photo-footer nav { display: flex; flex-direction: column; align-items: center; }
.v-photo-footer :is(nav a, .v-photo-footer-internal) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .86rem;
  text-decoration: none;
}
.v-photo-footer-internal { grid-column: 1 / -1; justify-self: center; }

@media (prefers-reduced-motion: no-preference) {
  .v-photo-hero-active > .v-photo-media {
    animation: v-photo-hero-image-enter 900ms ease-out;
  }

  @keyframes v-photo-hero-image-enter {
    from { opacity: .55; transform: translateX(-1.5%) scale(1.045); }
    to { opacity: 1; transform: none; }
  }

  .v-photo-untyped { opacity: 0; }

  .v-photo-hero-active:not(.v-photo-hero-complete) .v-photo-cover-actions {
    visibility: hidden;
  }

  .v-photo-hero-complete .v-photo-cover-actions:not(:focus-within) {
    animation: v-photo-reveal-cta 1200ms ease-out 240ms both;
  }

  @keyframes v-photo-reveal-cta { from { opacity: 0; } to { opacity: 1; } }

  .v-photo-carousel-slide.is-entering { animation: v-photo-slide-enter 850ms ease-in-out both; }
  .v-photo-carousel-slide.is-leaving { animation: v-photo-slide-underlay 850ms step-end both; }
  @keyframes v-photo-slide-enter { from { opacity: 0; } to { opacity: 1; } }
  @keyframes v-photo-slide-underlay {
    from { visibility: visible; opacity: 1; }
    to { visibility: hidden; opacity: 0; }
  }

  .v-photo-reveal-pending:not(:focus-within) { opacity: 0; }
  .v-photo-reveal-enter { animation: v-photo-side-reveal 760ms cubic-bezier(.2,.75,.25,1); }
  .v-photo-reveal-enter[data-v-photo-reveal="left"] {
    --photo-reveal-from: calc(-1 * var(--photo-reveal-distance));
  }
  @keyframes v-photo-side-reveal {
    from { opacity: 0; transform: translateX(var(--photo-reveal-from, var(--photo-reveal-distance))); }
    to { opacity: 1; transform: none; }
  }

  .v-photo-pending:not(:focus-within) { opacity: 0; }
  .v-photo-media.v-photo-enter { animation: v-image-enter 950ms ease-out both; }
  .v-photo-text.v-photo-enter { animation: v-copy-enter 650ms cubic-bezier(.2,.75,.25,1) both; }
  @keyframes v-image-enter { from { opacity: 0; transform: scale(1.024); } to { opacity: 1; transform: scale(1); } }
  @keyframes v-copy-enter { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 900px), (max-height: 550px) and (pointer: coarse) {
  .v-photo-site { --photo-header-height: 73px; }
  .v-photo-cover {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    padding-block: 76px max(clamp(21px, 9vh, 72px), calc(var(--photo-dock-space) + .75rem));
  }
  .v-photo-cover h1 { font-size: clamp(40px, min(13vw, 15vh), 110px); }
  .v-photo-cover h1 { font-size: clamp(40px, min(13vw, 15svh), 110px); }
}

@media (max-width: 760px) {
  .v-photo-chef { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .v-photo-chef-portrait { aspect-ratio: 5 / 6; }
  .v-photo-chef-copy { padding-inline: .5rem; }
}

@media (max-width: 650px) {
  .v-photo-brand { gap: 5px; }
  .v-photo-brand svg { width: 28px; height: 27px; }
  .v-photo-brand span { font-size: 27px; }
  .v-photo-brand small { font-size: 8px; }
  .v-photo-header-inner { gap: 8px; }
  .v-photo-cover { --photo-focus: right 53%; }
  .v-photo-cover::before { background: linear-gradient(180deg, #14181992, transparent 31%, #14181965 48%, #141819e6 100%); }
  .v-photo-carousel {
    --carousel-controls-offset: 10px;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .v-photo-carousel-copy { padding-bottom: 65px; }
  .v-photo-footer-inner { grid-template-columns: minmax(0, 1fr); }
  .v-photo-footer nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 .85rem; }
}

@media print {
  .v-photo-header, .v-photo-dock, .v-photo-footer { display: none !important; }
  .v-photo-site { color: black; padding-block-end: 0; }
}
