/* ============ inksiblis v3 — minimal light ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #faf9f7;
  --ink: #1a1a1a;
  --muted: #8f8b85;
  --line: rgba(26,26,26,0.10);
  --accent: #a67f7a;           /* dusty ink-rose, used sparingly */
  --floral: rgba(26,26,26,0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  position: relative;
  background: var(--bg); color: var(--ink);
  font-family: 'Inter', sans-serif; font-weight: 300;
  line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ============ WOMAN'S BACK + FLORAL (right side, runs the full page down to the footer) ============ */
.floral {
  position: absolute; top: 0; bottom: 0; right: 0; width: min(50vw, 720px); z-index: 0;
  pointer-events: none; padding-right: 1.5vw; overflow: hidden;
  /* continuing vine motif tiles down past the hero illustration, all the way to the bottom */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 420' fill='none'%3E%3Cpath d='M100 0 C70 60 130 110 100 170 C74 220 126 270 100 320 C78 360 122 390 100 420' stroke='%23a67f7a' stroke-width='1.6' stroke-linecap='round' opacity='0.4'/%3E%3Cpath d='M100 90 C82 100 70 118 64 138' stroke='%23a67f7a' stroke-width='1.4' stroke-linecap='round' opacity='0.4'/%3E%3Cpath d='M100 240 C118 250 130 268 136 288' stroke='%23a67f7a' stroke-width='1.4' stroke-linecap='round' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: min(22vw, 320px) auto;
}
.floral svg.figure { position: absolute; top: 0; right: 1.5vw; height: 122vh; width: auto; }
.floral .draw { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.floral .body-line { stroke: rgba(26,26,26,0.34); stroke-width: 1.5; }
.floral .ink-line { stroke: var(--accent); stroke-width: 1.9; }

/* ============ CURSOR ============ */
.cursor { position: fixed; top: 0; left: 0; width: 8px; height: 8px; border: 1px solid var(--ink); border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; z-index: 999; transition: width .25s, height .25s, background .25s, border-color .25s; }
.cursor.grow { width: 40px; height: 40px; background: rgba(166,127,122,0.10); border-color: var(--accent); }

/* ============ PROGRESS ============ */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 60; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* ============ NAV ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; padding: 28px 6vw; }
.brand { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.4rem; letter-spacing: 0.02em; }
.links { display: flex; gap: 30px; }
.links a { font-size: 0.82rem; letter-spacing: 0.03em; color: var(--muted); transition: color .25s; position: relative; }
.links a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--accent); transition: width .3s var(--ease); }
.links a:hover { color: var(--ink); } .links a:hover::after { width: 100%; }

/* ============ LAYOUT ============ */
main { position: relative; z-index: 1; }
section { max-width: 1160px; margin-left: auto; margin-right: auto; padding: 15vh 24px; }

/* ============ HERO ============ */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; padding: 0 24px; }
.hero__down { left: 24px; transform: none; }
.hero__eyebrow { font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.hero__title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(3.4rem, 11vw, 8rem); line-height: 1; letter-spacing: 0.01em; }
.hero__sub { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 300; color: var(--ink); margin: 26px 0 40px; line-height: 1.4; }
.hero__sub em { color: var(--accent); }
.hero__down { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.hero__down span { position: absolute; inset: 0; background: var(--accent); animation: drop 2s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ============ CTA ============ */
.cta { display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 15px 32px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .35s var(--ease), color .35s; }
.cta:hover { background: var(--ink); color: var(--bg); }
.cta--full { width: 100%; }

/* ============ LEAD / SECTION HEADS ============ */
.lead { margin-bottom: 40px; }
.lead .idx { display: block; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 14px; }
.lead h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
.lead p { color: var(--muted); margin-top: 12px; }

/* ============ WORK ============ */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work__item { position: relative; overflow: hidden; aspect-ratio: 4/5; background: #f0eeea; cursor: pointer; }
.work__item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .7s var(--ease), filter .5s; }
.work__item:hover img { transform: scale(1.05); filter: grayscale(0); }
.work__item--ph { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; }
.work__item--ph span { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--line); }
.work__more { text-align: center; margin-top: 36px; color: var(--muted); font-size: 0.95rem; }
.link { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.link:hover { color: var(--accent); }

/* ============ ABOUT ============ */
.about__lead { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 300; line-height: 1.35; margin-bottom: 22px; }
.about__p { color: var(--muted); max-width: 60ch; }

/* ============ BOOK ============ */
.book__intro { color: var(--muted); margin-bottom: 40px; max-width: 52ch; }
.book__form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { font-family: 'Inter'; font-weight: 300; font-size: 1rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 2px; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.form-msg { font-size: 0.9rem; min-height: 1.2em; }
.form-msg.ok { color: #2e7d5b; } .form-msg.err { color: #c0392b; }

/* ============ FOOTER ============ */
.foot { max-width: 780px; margin: 0 auto; padding: 8vh 24px 50px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); }
.foot span { font-size: 0.8rem; color: var(--muted); }
.foot__brand { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--ink) !important; }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(250,249,247,0.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 86vw; max-height: 84vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 24px; right: 30px; background: none; border: 0; color: var(--ink); font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) var(--d,0s), transform 1s var(--ease) var(--d,0s); }
.reveal.in { opacity: 1; transform: none; }

/* ============ NAV TOGGLE (hamburger) ============ */
.nav__toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 0; width: 44px; height: 44px; z-index: 101; }
.nav__toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .links {
    position: fixed; inset: 0; width: 100vw; height: 100dvh; flex-direction: column;
    justify-content: center; align-items: center; gap: 28px;
    background: var(--bg); overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .links.open { transform: none; }
  .links a { font-size: 1.15rem; display: flex; align-items: center; justify-content: center; min-height: 44px; }
  .nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  .nav.menu-open .nav__toggle span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
  .work__grid { grid-template-columns: 1fr; }
  .work__item--extra { display: none; }
  .work__grid.is-expanded .work__item--extra { display: block; }
  .work__expand {
    display: block; margin: 1.6rem auto 0; padding: .85rem 2.2rem; background: transparent;
    border: 1px solid var(--line); color: var(--ink); font-family: 'Inter', sans-serif;
    font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 50px; cursor: pointer;
  }
  .work__grid.is-expanded ~ .work__expand { display: none; }
  .floral { width: 100%; justify-content: center; opacity: 0.16; padding-right: 0; }
  section { margin-left: auto; margin-right: auto; }
  .hero { align-items: center; text-align: center; }
  .hero__down { left: 50%; transform: translateX(-50%); }
  body { cursor: auto; } .cursor { display: none; }
}
@media (min-width: 821px) {
  .work__expand { display: none; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor { display: none; } body { cursor: auto; }
  .floral .draw, .floral circle { stroke-dashoffset: 0 !important; }
}
