
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --charcoal: #2a2a28;
  --ink: #1c1c1a;
  --ivory: #f7f3ec;
  --sheet: #fffdf9;
  --celadon: #6f8f7a;
  --celadon-deep: #547562;
  --blush: #d4b5a0;
  --mute: #6e6a62;
  --line: rgba(42,42,40,0.1);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --rail: 42vw;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); color: var(--charcoal); background: var(--ivory);
  line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

.shell { display: grid; grid-template-columns: minmax(260px, var(--rail)) 1fr; min-height: 100vh; }

.side {
  position: sticky; top: 0; height: 100vh; padding: 2rem 1.75rem;
  background: var(--sheet); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 20;
}
.side-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.side-brand img {
  width: 72px; height: 72px; object-fit: contain;
  animation: floatSoft 5s ease-in-out infinite;
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.side-brand h1 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05; letter-spacing: -0.02em;
}
.side-brand h1 em { font-style: italic; color: var(--celadon-deep); font-weight: 500; }
.side-brand p { font-size: 0.95rem; color: var(--mute); max-width: 18rem; }
.side-nav { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 2rem; }
.side-nav a {
  font-size: 0.92rem; font-weight: 500; padding: 0.35rem 0;
  border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s, padding-left 0.25s;
}
.side-nav a:hover, .side-nav a.is-active {
  color: var(--celadon-deep); border-bottom-color: var(--celadon); padding-left: 0.4rem;
}
.side-foot {
  font-size: 0.78rem; color: var(--mute); letter-spacing: 0.04em;
}
.side-foot a { color: var(--celadon-deep); font-weight: 600; }

.mobile-bar {
  display: none; position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,249,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); padding: 0.75rem 1rem;
  align-items: center; justify-content: space-between;
}
.mobile-bar img { width: 40px; height: 40px; object-fit: contain; }
.mobile-toggle {
  border: 1px solid var(--charcoal); background: transparent; padding: 0.45rem 0.7rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
}

.main { min-width: 0; }

.display {
  font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em;
}
.display-xl { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.display-lg { font-size: clamp(2rem, 4vw, 3.1rem); }
.display-md { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.soft { color: var(--mute); font-weight: 400; max-width: 32rem; }
.note {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--celadon-deep); font-weight: 600; margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.85rem 1.3rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-fill { background: var(--celadon); color: #fff; }
.btn-fill:hover { background: var(--celadon-deep); }
.btn-soft { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-soft:hover { background: var(--charcoal); color: var(--sheet); }

.fold {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  display: grid; grid-template-columns: 1fr 1fr;
}
.fold i {
  background: var(--ivory); display: block;
  transition: transform 0.9s var(--ease);
}
.fold.is-open i:first-child { transform: translateX(-105%); }
.fold.is-open i:last-child { transform: translateX(105%); }

.atelier-hero {
  padding: 2.5rem 2rem 3rem; position: relative;
}
.sheet-stack {
  position: relative; margin-top: 1.5rem;
}
.sheet-card {
  background: var(--sheet); border: 1px solid var(--line);
  padding: 1.5rem; box-shadow: 0 20px 50px rgba(42,42,40,0.06);
}
.sheet-card.back {
  position: absolute; inset: 12px -10px auto 18px; height: 100%;
  background: #efe8dc; z-index: -1; transform: rotate(1.5deg);
}
.sheet-card.mid {
  position: absolute; inset: 6px -4px auto 8px; height: 100%;
  background: #f3eee4; z-index: -1; transform: rotate(-1deg);
}
.atelier-hero h2 {
  margin: 0.4rem 0 1rem;
  opacity: 0; transform: translateY(20px) rotate(-1deg);
  transition: 0.8s var(--ease);
}
html.js .atelier-hero.is-live h2,
html:not(.js) .atelier-hero h2 { opacity: 1; transform: none; }
.hero-photo {
  margin-top: 1.75rem; overflow: hidden; border-radius: 2px;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}
.hero-photo img {
  width: 100%; height: clamp(260px, 42vh, 460px); object-fit: cover;
  transform: scale(1.08); transition: transform 1.4s var(--ease);
}
html.js .atelier-hero.is-live .hero-photo img,
html:not(.js) .hero-photo img { transform: scale(1); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.35rem; }

.block { padding: 2.5rem 2rem; border-top: 1px solid var(--line); }
.block-head { margin-bottom: 1.75rem; max-width: 36rem; }

.cascade { display: flex; flex-direction: column; gap: 1.25rem; }
.cascade article {
  display: grid; grid-template-columns: 140px 1fr; gap: 1.25rem; align-items: center;
  background: var(--sheet); padding: 1rem; border: 1px solid var(--line);
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.cascade article.is-in, html:not(.js) .cascade article { opacity: 1; transform: none; }
.cascade article:nth-child(even) { transform: translateX(-40px); }
.cascade article:nth-child(even).is-in, html:not(.js) .cascade article:nth-child(even) { transform: none; }
.cascade img { width: 140px; height: 110px; object-fit: cover; }
.cascade h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.3rem; }
.cascade p { font-size: 0.92rem; color: var(--mute); }

.soft-mosaic {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem;
}
.soft-mosaic .big, .soft-mosaic .small { overflow: hidden; position: relative; }
.soft-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.soft-mosaic .big { min-height: 360px; }
.soft-mosaic .stack { display: grid; gap: 1rem; }
.soft-mosaic .small { min-height: 170px; }
.caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem;
  background: linear-gradient(transparent, rgba(28,28,26,0.7));
  color: #fff; font-family: var(--font-display); font-size: 1.15rem;
}

.peel {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 1s var(--ease);
}
.peel.is-in, html:not(.js) .peel { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

.quote-soft {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic; line-height: 1.3; max-width: 18ch; color: var(--celadon-deep);
}

.page-intro {
  padding: 2.5rem 2rem 1.5rem; border-bottom: 1px solid var(--line);
}
.page-intro .cover {
  margin-top: 1.25rem; overflow: hidden; max-height: 320px;
}
.page-intro .cover img { width: 100%; height: 320px; object-fit: cover; }

.contact-soft {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem;
}
.panel-soft {
  background: var(--sheet); border: 1px solid var(--line); padding: 1.75rem;
}
.form-grid { display: grid; gap: 0.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
label { display: grid; gap: 0.3rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
input, textarea, select {
  width: 100%; padding: 0.8rem 0.9rem; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; color: var(--charcoal);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--celadon); }
.form-note { font-size: 0.88rem; color: var(--mute); }
.form-success { display: none; padding: 0.85rem; background: var(--celadon); color: #fff; border-radius: 8px; }
.form-success.is-show { display: block; }

.legal { padding: 2rem; max-width: 680px; }
.legal h2 { font-family: var(--font-display); font-size: 1.3rem; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { margin-bottom: 0.65rem; color: var(--mute); }
.legal ul { padding-left: 1.1rem; list-style: disc; }

.fade { opacity: 0; transform: translateY(18px); transition: 0.7s var(--ease); }
.fade.is-in, html:not(.js) .fade { opacity: 1; transform: none; }

.site-end {
  padding: 2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  font-size: 0.82rem; color: var(--mute);
}

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .side.is-open {
    display: flex; position: fixed; inset: 0; height: auto; z-index: 60;
  }
  .mobile-bar { display: flex; }
  .soft-mosaic, .cascade article, .contact-soft { grid-template-columns: 1fr; }
  .cascade img { width: 100%; height: 180px; }
  .form-row { grid-template-columns: 1fr; }
  .atelier-hero, .block, .page-intro { padding-left: 1.25rem; padding-right: 1.25rem; }
}


.prose { max-width: 40rem; }
.prose p { margin-bottom: 1.05rem; color: var(--mute); font-size: 1.02rem; }
.prose h2 { margin: 1.5rem 0 0.75rem; }
