@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-latin-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #f4f2ed;
  --bg-2: #ebe7e0;
  --bg-3: #e0dbd3;
  --fg: #1a1a18;
  --fg-muted: #5c5852;
  --line: rgb(26 26 24 / 0.12);
  --accent: #8f5a38;
  --accent-hover: #7a4c2f;
  --accent-press: #663f27;
  --accent-fg: #fff8f2;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-d: Outfit, "Segoe UI", sans-serif;
  --font-b: Outfit, "Segoe UI", sans-serif;
  --z-nav: 40;
  --z-overlay: 50;
  --z-modal: 60;
  --z-grain: 70;
  --shadow: 0 24px 60px rgb(26 26 24 / 0.1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141816;
  --bg-2: #1c2320;
  --bg-3: #252d28;
  --fg: #eef1ee;
  --fg-muted: #8f9a90;
  --line: rgb(238 241 238 / 0.12);
  --shadow: 0 24px 60px rgb(10 14 12 / 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}

h1, h2, h3 {
  font-family: var(--font-d);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.22;
  color: var(--fg);
}

img,
video {
  max-width: 100%;
  display: block;
}

img[data-lightbox] {
  cursor: zoom-in;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: calc(var(--z-modal) + 1);
  background: var(--accent);
  color: var(--accent-fg);
  padding: 12px 16px;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 767px) {
  .wrap {
    width: calc(100% - 32px);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgb(244 242 237 / 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

html[data-theme="dark"] .site-header {
  background: rgb(20 24 22 / 0.84);
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    backdrop-filter: none;
    background: var(--bg);
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
  max-width: min(220px, 48vw);
  display: block;
  background: #f3f1ec;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--fg-muted);
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-toggle,
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

.theme-btn:hover,
.nav-toggle:hover {
  background: var(--bg-3);
}

.theme-btn:active,
.nav-toggle:active,
.btn:active {
  transform: translateY(1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 120ms var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:active {
  background: var(--accent-press);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--bg-3);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100dvh - var(--nav-h));
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 48px 64px;
  max-width: 640px;
}

.hero h1 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  padding-bottom: 4px;
}

.hero p {
  margin: 0 0 32px;
  color: var(--fg-muted);
  font-size: 18px;
  max-width: 42ch;
}

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

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img {
    animation: kenburns 22s var(--ease) forwards;
  }
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}

.section {
  padding: 96px 0;
}

.section h2 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.lead {
  color: var(--fg-muted);
  max-width: 46ch;
  margin: 0 0 40px;
}

.doors {
  display: flex;
  height: min(78dvh, 820px);
  gap: 3px;
  background: var(--bg);
}

.door {
  position: relative;
  flex: 1 1 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--bg-2);
  cursor: zoom-in;
  min-width: 0;
  color: var(--fg);
  text-align: left;
}

@media (prefers-reduced-motion: no-preference) {
  .door {
    transition: flex 0.75s var(--ease);
  }
}

.doors:hover .door:hover,
.doors:focus-within .door:focus-visible,
.door.is-open {
  flex: 3.2 1 0;
}

.door img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

@media (prefers-reduced-motion: no-preference) {
  .door img {
    transition: transform 0.9s var(--ease);
  }

  .doors:hover .door:hover img,
  .door.is-open img,
  .door:focus-visible img {
    transform: scale(1);
  }
}

.door-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgb(10 14 12 / 0.78));
  opacity: 0;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: no-preference) {
  .door-caption {
    transition: opacity 280ms var(--ease), transform 280ms var(--ease);
  }
}

.doors:hover .door:hover .door-caption,
.door.is-open .door-caption,
.door:focus-visible .door-caption {
  opacity: 1;
  transform: none;
}

.door-caption strong {
  display: block;
  font-family: var(--font-d);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.door-caption span {
  color: rgb(238 241 238 / 0.8);
  font-size: 14px;
}

.stack {
  position: relative;
}

.stack-card {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}

.stack-card + .stack-card {
  border-top: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .stack-card:nth-child(even) .stack-photo {
    order: 2;
  }
}

.stack-photo {
  position: relative;
  overflow: hidden;
  min-height: 50dvh;
}

.stack-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  cursor: zoom-in;
}

.stack-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
}

.stack-text h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 40px);
}

.pan-intro h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.stack-text p {
  color: var(--fg-muted);
  max-width: 40ch;
  margin: 0 0 24px;
}

.pan-wrap {
  overflow: hidden;
  background: var(--bg-2);
}

.pan-track {
  display: flex;
  align-items: stretch;
  height: 100dvh;
  width: max-content;
}

.pan-intro {
  width: min(420px, 36vw);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.pan-shot {
  width: min(520px, 70vw);
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}

.pan-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pan-shot figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  margin: 0;
  font-size: 14px;
  background: rgb(20 24 22 / 0.72);
  padding: 8px 12px;
}

.player {
  position: relative;
  background: #1a1a18;
  aspect-ratio: 16 / 9;
  max-width: 1100px;
  overflow: hidden;
}

.player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1a18;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  cursor: pointer;
}

.play-btn:hover {
  background: var(--accent-hover);
}

.play-btn:active {
  background: var(--accent-press);
  transform: translate(-50%, -50%) translateY(1px);
}

.player.is-playing .play-btn {
  display: none;
}

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}

.bento article {
  background: var(--bg-2);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.bento article:first-child {
  grid-row: 1 / span 2;
  min-height: 560px;
}

.bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.bento .card-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(transparent 20%, rgb(10 14 12 / 0.82));
  color: #eef1ee;
}

.bento h3 {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #eef1ee;
}

.bento p {
  margin: 0;
  color: rgb(238 241 238 / 0.82);
  max-width: 36ch;
}

.contact {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 500;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  border-radius: 0;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--fg-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

.field .error {
  color: #e07060;
  font-size: 14px;
  margin: 0;
}

.field .hint {
  color: var(--fg-muted);
  font-size: 14px;
}

.form-status {
  padding: 16px;
  border: 1px solid var(--line);
  display: none;
}

.form-status.is-ok {
  display: block;
  border-color: #6a9a72;
  color: #215c32;
}

.form-status.is-err {
  display: block;
  border-color: #e07060;
  color: #e07060;
}

html[data-theme="dark"] .form-status.is-ok {
  color: #b7d4bb;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  height: 72px;
  width: auto;
  max-width: 200px;
  background: #f3f1ec;
}

.footer-row p {
  margin: 0;
  color: var(--fg-muted);
  max-width: 36ch;
}

.lightbox {
  padding: 0;
  border: 0;
  max-width: min(1200px, 94vw);
  max-height: 92dvh;
  background: var(--bg);
  color: var(--fg);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgb(10 14 12 / 0.82);
}

.lightbox img {
  max-height: 80dvh;
  width: 100%;
  object-fit: contain;
  background: #101412;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.lightbox-close,
.lightbox-nav {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--bg-3);
}

.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 32px 24px 40px;
    order: 2;
  }

  .hero-media {
    order: 1;
    min-height: 52dvh;
    position: relative;
  }

  .hero-media img {
    position: relative;
    height: 52dvh;
  }

  .stack-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .stack-photo {
    min-height: 56dvh;
  }

  .stack-text {
    padding: 40px 24px 56px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento article:first-child {
    grid-row: auto;
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px;
    z-index: var(--z-overlay);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }

  .doors {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 70dvh;
    -webkit-overflow-scrolling: touch;
  }

  .door {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .door-caption {
    opacity: 1;
    transform: none;
  }

  .pan-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .pan-track {
    height: 70dvh;
  }

  .pan-intro,
  .pan-shot {
    width: 82vw;
    scroll-snap-align: start;
  }

  .hero-copy {
    padding-inline: 24px;
  }

  .section {
    padding: 64px 0;
  }
}
