:root {
  --c-deep: #0D1B2A;
  --c-ocean: #1B4965;
  --c-mineral: #5C7A8A;
  --c-copper: #B08968;
  --c-sand: #DFD5C8;
  --c-ink: #2A3847;
  
  --f-body: 'Inter', sans-serif;
  --f-head: 'Space Grotesk', sans-serif;
  
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--c-sand);
  background: var(--c-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.8s var(--ease);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(13,27,42,0.9) 0%, transparent 100%);
  backdrop-filter: blur(15px);
}

.logo {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-sand);
  opacity: 0;
  animation: reveal 1.2s var(--ease) 0.4s forwards;
}

@keyframes reveal {
  to { opacity: 1; }
}

.nav-toggle {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  opacity: 0;
  animation: reveal 1.2s var(--ease) 0.6s forwards;
}

.nav-toggle span {
  width: 100%;
  height: 0.0625rem;
  background: var(--c-sand);
  transition: 0.5s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--c-ocean) 0%, var(--c-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.8s var(--ease);
  z-index: 999;
  display: none;
}

.nav.active {
  right: 0;
  display: flex;
}

.nav-list {
  list-style: none;
}

.nav-list li {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateX(-2rem);
}

.nav.active .nav-list li {
  animation: slideIn 0.8s var(--ease) forwards;
}

.nav.active .nav-list li:nth-child(1) { animation-delay: 0.1s; }
.nav.active .nav-list li:nth-child(2) { animation-delay: 0.2s; }
.nav.active .nav-list li:nth-child(3) { animation-delay: 0.3s; }
.nav.active .nav-list li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-list a {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-sand);
  letter-spacing: 0.02em;
}

.nav-list a:hover {
  color: var(--c-copper);
}

.intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 12vh 5vw 8vh;
  background: url('../gallery/bg-image-1.webp') center/cover no-repeat;
  position: relative;
}

.intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(13,27,42,0.8) 0%, rgba(27,73,101,0.75) 60%, rgba(42,56,71,0.8) 100%);
  pointer-events: none;
  z-index: 0;
}

.intro::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(176,137,104,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.intro-content {
  max-width: 42rem;
  position: relative;
  z-index: 2;
}

.intro-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-copper);
  margin-bottom: 2rem;
  opacity: 0;
  animation: reveal 1.5s var(--ease) 1s forwards;
}

.intro-title {
  font-family: var(--f-head);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--c-sand);
  margin-bottom: 2rem;
  opacity: 0;
  animation: reveal 1.5s var(--ease) 1.2s forwards;
}

.intro-text {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(223,213,200,0.75);
  max-width: 34rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: reveal 1.5s var(--ease) 1.4s forwards;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 0.0625rem solid;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: reveal 1.5s var(--ease) 1.6s forwards;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--c-copper);
  transition: 0.8s var(--ease);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background: rgba(176,137,104,0.15);
  color: var(--c-sand);
  border-color: var(--c-copper);
}

.btn-primary:hover {
  color: var(--c-deep);
}

.btn-outline {
  background: transparent;
  color: var(--c-sand);
  border-color: rgba(223,213,200,0.3);
}

.btn-outline:hover {
  color: var(--c-deep);
}

.fragment {
  padding: 8vh 5vw;
  position: relative;
}

.fragment-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 72rem;
  margin: 0 auto;
}

.fragment-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-copper);
  margin-bottom: 1.5rem;
}

.fragment-heading {
  font-family: var(--f-head);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-sand);
  margin-bottom: 1.5rem;
}

.fragment-body {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(223,213,200,0.7);
  margin-bottom: 1rem;
}

.visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--c-ink);
}

.visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,27,42,0.4) 100%);
  pointer-events: none;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.15);
  transition: 1.2s var(--ease);
}

.visual:hover img {
  transform: scale(1.08);
  filter: saturate(0.9) contrast(1.1);
}

.layer {
  padding: 12vh 5vw;
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-deep) 100%);
  position: relative;
}

.layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 60%, rgba(92,122,138,0.08) 0%, transparent 55%);
  pointer-events: none;
}

.layer-inner {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.grid-fluid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.card {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(27,73,101,0.25) 0%, rgba(42,56,71,0.25) 100%);
  border: 0.0625rem solid rgba(223,213,200,0.08);
  backdrop-filter: blur(8px);
  transition: 0.8s var(--ease);
}

.card:hover {
  background: linear-gradient(135deg, rgba(27,73,101,0.4) 0%, rgba(42,56,71,0.4) 100%);
  border-color: rgba(176,137,104,0.25);
  transform: translateY(-0.5rem);
}

.card-title {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c-sand);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(223,213,200,0.65);
}

.offset {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 72rem;
  margin: 0 auto;
}

.offset-visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-ink);
}

.offset-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,27,42,0.5) 100%);
  pointer-events: none;
}

.offset-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.15);
}

.offset-content {
  padding: 4rem 5vw;
  background: linear-gradient(135deg, var(--c-ocean) 0%, var(--c-deep) 100%);
  position: relative;
}

.offset-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(176,137,104,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.collection {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.item {
  background: linear-gradient(135deg, rgba(27,73,101,0.2) 0%, rgba(42,56,71,0.2) 100%);
  border: 0.0625rem solid rgba(223,213,200,0.08);
  overflow: hidden;
  transition: 0.8s var(--ease);
  backdrop-filter: blur(8px);
}

.item:hover {
  border-color: rgba(176,137,104,0.25);
  transform: translateY(-0.75rem);
}

.item-visual {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--c-ink);
  position: relative;
}

.item-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,27,42,0.3) 100%);
  pointer-events: none;
}

.item-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.15);
}

.item-info {
  padding: 2rem;
}

.item-name {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c-sand);
  margin-bottom: 0.5rem;
}

.item-price {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-copper);
  margin-bottom: 1rem;
}

.item-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(223,213,200,0.65);
}

.reach {
  background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-ink) 100%);
  padding: 12vh 5vw;
  position: relative;
}

.reach::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(92,122,138,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.reach-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.reach-heading {
  font-family: var(--f-head);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.reach-info p {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(223,213,200,0.75);
}

.reach-info a {
  color: var(--c-copper);
  border-bottom: 0.0625rem solid transparent;
}

.reach-info a:hover {
  border-bottom-color: var(--c-copper);
}

.field {
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--c-copper);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  background: rgba(27,73,101,0.2);
  border: 0.0625rem solid rgba(223,213,200,0.15);
  color: var(--c-sand);
  transition: 0.5s var(--ease);
  backdrop-filter: blur(8px);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-copper);
  background: rgba(27,73,101,0.3);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.check input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.check label {
  font-size: 0.875rem;
  line-height: 1.65;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(223,213,200,0.65);
}

.map-wrap {
  width: 100%;
  height: 18rem;
  margin-top: 3rem;
  border: 0.0625rem solid rgba(223,213,200,0.15);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.base {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-deep) 100%);
  padding: 3rem 5vw;
  text-align: center;
  font-size: 0.75rem;
  border-top: 0.0625rem solid rgba(223,213,200,0.08);
}

.base-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.base-links a {
  color: rgba(223,213,200,0.55);
}

.base-links a:hover {
  color: var(--c-copper);
}

.notice {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--c-ocean) 0%, var(--c-deep) 100%);
  padding: 1.5rem 5vw;
  border-top: 0.0625rem solid rgba(223,213,200,0.15);
  z-index: 2000;
  transition: 0.8s var(--ease);
  backdrop-filter: blur(15px);
}

.notice.active {
  bottom: 0;
}

.notice-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.notice-text {
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: center;
  color: rgba(223,213,200,0.75);
}

.notice-text a {
  color: var(--c-copper);
  text-decoration: underline;
}

.confirm {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-ocean) 100%);
}

.confirm-box {
  text-align: center;
  max-width: 38rem;
}

.confirm-box h1 {
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--c-sand);
}

.confirm-box p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(223,213,200,0.75);
  margin-bottom: 1rem;
}

.lost {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-ink) 100%);
}

.lost-box {
  text-align: center;
  max-width: 38rem;
}

.lost-box h1 {
  font-family: var(--f-head);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--c-copper);
}

.lost-box h2 {
  font-family: var(--f-head);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.lost-box p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2rem;
  color: rgba(223,213,200,0.75);
}

.doc {
  padding: 12vh 5vw 8vh;
  max-width: 48rem;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-ink) 100%);
  min-height: 100vh;
}

.doc h1 {
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--c-sand);
}

.doc h2 {
  font-family: var(--f-head);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--c-sand);
}

.doc p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(223,213,200,0.7);
  margin-bottom: 1rem;
}

.doc ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.doc li {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(223,213,200,0.7);
  margin-bottom: 0.5rem;
}

@media (min-width: 48rem) {
  .intro-title {
    font-size: 3.5rem;
  }
  
  .fragment-split {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
  
  .fragment-heading {
    font-size: 2.25rem;
  }
  
  .grid-fluid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .offset {
    grid-template-columns: 3fr 2fr;
  }
  
  .collection {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reach-inner {
    grid-template-columns: 1fr 1fr;
  }
  
  .notice-inner {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .notice-text {
    text-align: left;
  }
}

@media (min-width: 64rem) {
  .intro-title {
    font-size: 4.5rem;
  }
  
  .fragment-heading {
    font-size: 2.75rem;
  }
  
  .grid-fluid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .collection {
    grid-template-columns: repeat(3, 1fr);
  }
}
