:root {
  --ink: #f6f1e8;
  --muted: #bbb1a4;
  --paper: #11100e;
  --panel: #1b1916;
  --line: rgba(246, 241, 232, 0.14);
  --accent: #c7a46a;
  --accent-2: #84917f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-snap-type: y proximity;
  }

  .hero,
  .work {
    scroll-snap-align: start;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(18px, 4vw, 54px);
  background: linear-gradient(to bottom, rgba(17, 16, 14, 0.9), rgba(17, 16, 14, 0.18));
  backdrop-filter: blur(18px);
  transition: padding 220ms ease, border-color 220ms ease, background 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: 9px;
  background: rgba(17, 16, 14, 0.76);
  border-color: var(--line);
}

.brand {
  display: inline-block;
  flex: 0 0 auto;
  justify-self: start;
  align-self: center;
  width: fit-content;
  height: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  line-height: 0;
}

.brand-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 66px;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.language-switcher a {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 28px;
  padding: 0 7px;
  border: 1px solid rgba(246, 241, 232, 0.18);
  color: rgba(246, 241, 232, 0.66);
  font-size: 0.74rem;
  letter-spacing: 0;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.language-switcher a:hover,
.language-switcher a.is-current {
  border-color: rgba(199, 164, 106, 0.56);
  background: rgba(199, 164, 106, 0.12);
  color: var(--ink);
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(246, 241, 232, 0.78);
  font-size: 0.94rem;
}

nav a {
  position: relative;
  z-index: 1;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 180ms ease;
}

nav a.is-active,
nav a:hover {
  color: var(--ink);
}

.nav-indicator {
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 2px;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: translateX(var(--nav-x, 0)) scaleX(var(--nav-w, 1));
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

nav.has-indicator .nav-indicator {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 42vh clamp(18px, 5vw, 68px) 72px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.92), rgba(17, 16, 14, 0.2) 56%, rgba(17, 16, 14, 0.88)),
    linear-gradient(0deg, var(--paper), rgba(17, 16, 14, 0.12) 42%);
}

.hero-media {
  position: absolute;
  inset: 0;
  transform-origin: center;
  background-size: cover;
  background-position: center;
}

.hero-a {
  background-image:
    linear-gradient(135deg, rgba(18, 17, 15, 0.15), rgba(18, 17, 15, 0.52)),
    url("/assets/placeholders/hero-tetons.jpg");
}

.hero-b {
  opacity: 0.42;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(120deg, transparent 0 40%, rgba(255, 255, 255, 0.22) 40% 41%, transparent 41% 100%),
    linear-gradient(45deg, transparent 0 65%, rgba(199, 164, 106, 0.2) 65% 66%, transparent 66% 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  color: var(--accent);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 13vw, 9rem);
  line-height: 0.9;
  font-weight: 400;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 400;
}

h3 {
  font-size: 1.2rem;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.rich-text,
.story-list p,
.service p,
.faq p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #17120b;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.portfolio {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: 0;
  border-top: 0;
}

.portfolio .section-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.gallery {
  display: block;
  width: 100vw;
}

.work {
  display: block;
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.72)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.3)),
    var(--image),
    linear-gradient(135deg, var(--tone), #121212);
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  isolation: isolate;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
}

.work img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
  transform: scale(1.01);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), filter 650ms ease;
}

.work::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.08) 56%, rgba(0, 0, 0, 0.55)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.68));
  transition: background 250ms ease;
}

.work:hover::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.02) 58%, rgba(0, 0, 0, 0.48)),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.58));
}

.work:hover img {
  transform: scale(1.09);
  filter: saturate(0.9) contrast(1.09) brightness(1.04);
}

.work::before {
  content: attr(data-category);
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 76px);
  top: clamp(84px, 13vh, 132px);
  color: rgba(246, 241, 232, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work span {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 76px);
  bottom: clamp(86px, 14vh, 150px);
  font-family: Georgia, "Times New Roman", serif;
  max-width: min(780px, calc(100% - 44px));
  font-size: clamp(3.4rem, 10vw, 8.8rem);
  line-height: 0.88;
}

.work em {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 76px);
  bottom: clamp(52px, 9vh, 92px);
  color: rgba(246, 241, 232, 0.62);
  font-style: normal;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work.tall {
  grid-row: auto;
}

.work.wide {
  grid-column: auto;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 88px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.brand-showcase {
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 40%, rgba(199, 164, 106, 0.08), transparent 32%),
    #090908;
}

.brand-showcase img {
  width: min(520px, 82vw);
  height: auto;
  display: block;
}

.service,
.story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(17, 16, 14, 0.18), rgba(17, 16, 14, 0.88)),
    var(--image),
    linear-gradient(135deg, var(--panel), #11100e);
  background-size: cover;
  background-position: center;
  padding: 24px;
  min-height: 230px;
  isolation: isolate;
}

.service::before,
.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08));
}

.service h3,
.service p,
.service strong,
.service span,
.story-card span,
.story-card h3,
.story-card em {
  position: relative;
  z-index: 1;
}

.service strong {
  display: block;
  margin: 26px 0 8px;
  color: var(--accent);
  font-size: 1.55rem;
}

.service span {
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.92rem;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.story-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  width: 100%;
  color: var(--ink);
  text-align: left;
  cursor: zoom-in;
}

.story-card span {
  color: var(--accent-2);
  font-weight: 800;
}

.story-card h3 {
  margin: auto 0 10px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.story-card em {
  color: rgba(246, 241, 232, 0.72);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inquiry {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.social-card {
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 18px;
  align-items: center;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.social-card span {
  display: block;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.social-card strong {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.social-card a {
  color: var(--muted);
  border-bottom: 1px solid rgba(199, 164, 106, 0.5);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 116px;
  aspect-ratio: 1;
  border: 1px solid rgba(199, 164, 106, 0.4);
  background:
    linear-gradient(90deg, rgba(199, 164, 106, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(199, 164, 106, 0.18) 1px, transparent 1px),
    rgba(0, 0, 0, 0.18);
  background-size: 12px 12px;
  color: rgba(246, 241, 232, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form.compact {
  grid-template-columns: 1fr 0.55fr 1fr auto;
  align-items: end;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(246, 241, 232, 0.86);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

.full,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  min-height: 24px;
  color: var(--accent);
}

.uploaded-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.uploaded-card {
  min-height: 220px;
  display: grid;
  align-items: end;
  padding: 16px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 8px;
  text-align: right;
}

.site-footer small {
  max-width: 520px;
  color: rgba(187, 177, 164, 0.7);
}

dialog {
  width: min(900px, calc(100% - 28px));
  border: 1px solid var(--line);
  padding: 0;
  background: #11100e;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox-art {
  min-height: 520px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2)),
    var(--image),
    linear-gradient(135deg, var(--tone, #4c5a51), #111);
  background-size: cover;
  background-position: center;
}

dialog p {
  padding: 18px 22px;
  color: var(--muted);
}

.lightbox-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 22px 22px;
}

.lightbox-strip button {
  min-height: 118px;
  border: 1px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  filter: saturate(0.82) brightness(0.76);
  transition: filter 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lightbox-strip button:hover,
.lightbox-strip button.is-selected {
  border-color: var(--accent);
  filter: saturate(1) brightness(1);
}

.lightbox-strip button.is-selected {
  transform: translateY(-2px);
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
  color: var(--ink);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .site-header {
    position: fixed;
    display: grid;
    gap: 14px;
    padding: 14px 18px 12px;
  }

  .brand {
    width: fit-content;
    height: auto;
    padding: 0;
  }

  .brand-logo {
    width: 62px;
  }

  .brand-tools {
    gap: 10px;
  }

  .language-switcher a {
    min-width: 28px;
    height: 26px;
    padding-inline: 6px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 42vh 18px 52px;
  }

  h1 {
    font-size: clamp(3.4rem, 19vw, 5.8rem);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .gallery,
  .service-grid,
  .story-list,
  .split,
  .form,
  .form.compact,
  .uploaded-preview,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .portfolio {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 0;
  }

  .portfolio .section-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .brand-showcase {
    min-height: 260px;
  }

  .social-card {
    grid-template-columns: 1fr;
  }

  .work,
  .work.tall,
  .work.wide {
    grid-column: auto;
    grid-row: auto;
    height: 100vh;
    min-height: 100svh;
  }

  .work::before {
    top: 92px;
  }

  .work span {
    bottom: 96px;
    font-size: clamp(3rem, 17vw, 6.4rem);
    max-width: calc(100% - 36px);
  }

  .work em {
    bottom: 56px;
  }

  .lightbox-art {
    min-height: 58vh;
  }

  .lightbox-strip {
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    padding: 0 14px 14px;
  }

  .lightbox-strip button {
    min-height: 86px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer div {
    text-align: left;
  }
}
