/* Lash Ark — mobile first. Base rules = phone (one column). Wider layouts only inside min-width queries. */

:root {
  --cream: #f7f1e5;
  --mist: #e9e5e1;
  --sand: #dccfc4;
  --plum: #261922;
  --taupe: #6c5b58;
  --cherry: #75192a;
  --cherry-deep: #5c1220;
  --skin: #e6c3ae;
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: 20px;
  --hdr: 72px;
}
@media (min-width: 768px) { :root { --pad: 32px; } }
@media (min-width: 1024px) { :root { --hdr: 84px; } }
@media (min-width: 1100px) { :root { --pad: 48px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--hdr);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--cherry);
  outline-offset: 4px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- type ---------- */
.label {
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.sec-label { color: var(--cherry); margin: 0 0 16px; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 1.9rem + 7vw, 6.75rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--cherry);
  margin: 0;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.375rem, 1.7rem + 2.9vw, 3.75rem);
  line-height: 1.05;
  color: var(--cherry);
  margin: 0;
}
.h2 .l { display: block; }
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2rem);
  line-height: 1.15;
  color: var(--plum);
  margin: 0;
}
.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.55;
}
.small { font-size: 0.875rem; line-height: 1.5; color: var(--taupe); }
.body-p { margin-top: 24px; max-width: 46ch; }

/* ---------- buttons & links ---------- */
.ar {
  width: 12px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--cherry);
  border-radius: 100px;
  background: var(--cherry);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover { background: var(--cherry-deep); border-color: var(--cherry-deep); }
.btn:active { transform: scale(0.98); }
.btn:hover .ar { transform: translate(2px, -2px) rotate(8deg); }

.btn--ghost { background: transparent; color: var(--cherry); border-color: var(--cherry); }
.btn--ghost:hover { background: var(--mist); border-color: var(--cherry); }

.btn--cream { background: var(--cream); color: var(--cherry); border-color: var(--cream); }
.btn--cream:hover { background: var(--mist); border-color: var(--mist); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--cherry);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  text-decoration: none;
}
.tlink .u {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 2px;
}
.tlink:hover .u { animation: uline 300ms var(--ease); }
.tlink:hover .ar { transform: translate(2px, -2px) rotate(8deg); }
@keyframes uline {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  49% { background-size: 0 1px; background-position: 100% 100%; }
  50% { background-size: 0 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}

.inl {
  color: var(--cherry);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- notice ---------- */
.notice { background: var(--mist); }
.notice-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px var(--pad);
  text-align: center;
  color: var(--plum);
  text-decoration: none;
}
.notice-link:hover { color: var(--cherry); }

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--hdr);
  pointer-events: none;
}
.hdr-bar {
  pointer-events: auto;
  height: 72px;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  transition: height 240ms var(--ease);
}
.hdr.is-small .hdr-bar { height: 56px; }
.hdr-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wm {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  min-width: 0;
  color: var(--plum);
  text-decoration: none;
}
.wm-arc {
  display: block;
  width: 28px;
  height: 10px;
  color: var(--cherry);
  stroke-width: 12;
  overflow: visible;
}
.wm-word {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.nav { display: none; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--sand);
  border-radius: 100px;
  background: transparent;
  color: var(--plum);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  flex: none;
  transition: background-color 180ms var(--ease);
}
.menu-btn:hover { background: var(--mist); }
.menu-ico {
  width: 16px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.mnav-close .menu-ico { width: 12px; height: 12px; }

@media (min-width: 1024px) {
  .hdr-bar { height: 84px; }
  .hdr.is-small .hdr-bar { height: 64px; }
  .menu-btn { display: none; }
  .nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    color: var(--plum);
    transition: background-color 180ms var(--ease), color 180ms var(--ease);
  }
  .nav-link:hover { background: var(--mist); }
  .nav-book { margin-left: 12px; }
}

/* ---------- mobile menu ---------- */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 0 var(--pad) 40px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 240ms var(--ease), visibility 0s linear 240ms;
}
.mnav.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 240ms var(--ease), visibility 0s;
}
.mnav-top {
  flex: none;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--sand);
}
.mnav-links { list-style: none; margin: 32px 0 0; padding: 0; }
.mnav-links li {
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.mnav-links li:nth-child(2) { transition-delay: 40ms; }
.mnav-links li:nth-child(3) { transition-delay: 80ms; }
.mnav-links li:nth-child(4) { transition-delay: 120ms; }
.mnav:not(.is-open) .mnav-links li { opacity: 0; transform: translateY(10px); }
.mnav-links a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sand);
  font-family: var(--serif);
  font-size: clamp(2.375rem, 1.7rem + 2.9vw, 3.75rem);
  line-height: 1.05;
  color: var(--cherry);
  text-decoration: none;
}
.mnav-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 40px;
}
@media (min-width: 1024px) { .mnav { display: none; } }

/* ---------- frames ---------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--skin);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.r-1x1 { aspect-ratio: 1 / 1; }
.r-3x4 { aspect-ratio: 3 / 4; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-3x2 { aspect-ratio: 3 / 2; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero-text, .hero-media { min-width: 0; }
.h-line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.1em;
  margin: -0.04em 0 -0.1em;
}
.h-line-in { display: block; }
.hero-lead { margin-top: 24px; max-width: 34ch; color: var(--plum); }
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}
.actions > * { min-width: 0; }
.hero-media { margin-top: 40px; }
.cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
  margin-top: 10px;
}
.cap .label { color: var(--taupe); }
.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--sand);
  color: var(--taupe);
}

@media (min-width: 768px) {
  .hero { padding: 48px 0 80px; }
  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 16px;
  }
  .hero-text {
    grid-column: 1 / 6;
    align-self: end;
    padding-bottom: 64px;
  }
  .hero-media { grid-column: 6 / 13; margin-top: 0; }
  .strip { margin-top: 48px; }
}
@media (min-width: 1024px) {
  .hero-text { padding-bottom: 160px; }
}

/* preview badge: phone = inside the empty left part of the bottom bar, PC = bottom-left corner */
body .ks-preview-badge { left: 12px; bottom: calc(19px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  body .ks-preview-badge { left: 8px; bottom: 8px; }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 1024px) {
  .section { padding: 80px 0; }
  .section.work { padding-bottom: 112px; }
}

/* work */
.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.work-head > * { min-width: 0; }
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}
.card { min-width: 0; }
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--sand);
  color: var(--taupe);
}
.card-top .num { transition: color 180ms var(--ease); }
.card .frame img { transition: transform 600ms var(--ease); }
.card .frame img[src="assets/work-2.jpg?v=2e7738f5"],
.card .frame img[src="assets/work-3.jpg?v=da84963d"] {
  position: absolute;
  max-width: none;
  width: 300%;
  height: 300%;
}
.card .frame img[src="assets/work-2.jpg?v=2e7738f5"] { left: -115%; top: -85%; }
.card .frame img[src="assets/work-3.jpg?v=da84963d"] { left: -58%; top: -76%; }
.card:hover .num, .card:active .num { color: var(--cherry); }
.card:hover .frame img, .card:active .frame img { transform: scale(1.04); }
.card-title { margin-top: 16px; }
.card .small { margin-top: 4px; }
.work-more { margin-top: 40px; }

@media (min-width: 768px) {
  .work-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 16px;
    align-items: end;
  }
  .wh-title { grid-column: 1 / 7; }
  .wh-text { grid-column: 8 / 13; }
  .wh-text .body-p { margin-top: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 16px; }
}
@media (min-width: 1100px) {
  .wh-text { grid-column: 9 / 13; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
  .card--small .frame { max-width: 290px; }
}

/* treatment */
.treat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.treat-grid > * { min-width: 0; }
.rule { position: relative; }
.rule::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--sand);
  transform-origin: left center;
}
.mrow {
  margin: 0 -12px;
  padding: 24px 12px;
  border-bottom: 1px solid var(--sand);
  transition: background-color 240ms var(--ease);
}
.mrow > * { min-width: 0; }
.mrow:hover { background: var(--mist); }
.mrow-tag { color: var(--taupe); margin-bottom: 10px; }
.mrow-title { transition: transform 240ms var(--ease); }
.mrow:hover .mrow-title { transform: translateX(8px); }
.mrow-desc { margin-top: 4px; color: var(--plum); }
.mrow-side { margin-top: 16px; }
.mrow-price { color: var(--taupe); }
.treat-note { margin-top: 16px; }

@media (min-width: 768px) {
  .mrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
  }
  .mrow-side {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }
}
@media (min-width: 1100px) {
  .treat-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 16px;
    align-items: start;
  }
  .treat-intro { grid-column: 1 / 5; }
  .treat-menu { grid-column: 6 / 13; padding-top: 40px; }
}

/* process */
.proc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.proc-grid > * { min-width: 0; }
.proc-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.proc-bw { filter: grayscale(1); }
.js .proc-color {
  clip-path: polygon(0 100%, 0 calc(100% - var(--d, 0%)), var(--d, 0%) 100%);
}
.p-cta { margin-top: 32px; }

@media (min-width: 768px) {
  .proc-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 16px;
  }
  .proc-media { grid-column: 1 / 6; }
  .proc-text { grid-column: 7 / 12; align-self: center; }
}

/* studio */
.studio { background: var(--mist); }
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.studio-grid > * { min-width: 0; }
.arc-big {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-top: 32px;
  color: var(--cherry);
  stroke-width: 2.45;
  overflow: visible;
}
.st-p1 { color: var(--plum); }
.st-p2 { margin-top: 16px; max-width: 46ch; }
.st-line { margin-top: 24px; color: var(--taupe); }

@media (min-width: 1024px) {
  .studio-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 16px;
    align-items: end;
  }
  .st-a { grid-column: 1 / 7; }
  .st-b { grid-column: 7 / 12; padding-bottom: 10px; }
  .arc-big { width: 360px; stroke-width: 1.5; margin-top: 40px; }
}

/* faq */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.faq-grid > * { min-width: 0; }
.acc { margin: 0 -12px; }
.acc-item { border-bottom: 1px solid var(--sand); }
.acc-h { margin: 0; font-weight: 400; }
.acc-q {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2rem);
  line-height: 1.15;
  color: var(--plum);
  transition: background-color 240ms var(--ease);
}
.acc-q:hover { background: var(--mist); }
.acc-q-t { min-width: 0; }
.acc-q-tx { display: inline-block; transition: transform 240ms var(--ease); }
.acc-q:hover .acc-q-tx { transform: translateX(8px); }
.acc-plus { flex: none; width: 16px; height: 16px; }
.acc-plus-i {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  transition: transform 360ms var(--ease);
}
.acc-plus-i::before, .acc-plus-i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7.5px;
  width: 16px;
  height: 1.5px;
  background: var(--cherry);
}
.acc-plus-i::after { transform: rotate(90deg); }
.acc-item.is-open .acc-plus-i { transform: rotate(45deg); }

.acc-a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 360ms var(--ease);
}
.acc-a-in { overflow: hidden; min-height: 0; }
.acc-a-in p { padding: 0 12px 24px; max-width: 52ch; color: var(--plum); }
.js .acc-item:not(.is-open) .acc-a { grid-template-rows: 0fr; }
.js .acc-item:not(.is-open) .acc-a-in { visibility: hidden; transition: visibility 0s linear 360ms; }

@media (min-width: 1100px) {
  .faq-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 16px;
    align-items: start;
  }
  .faq-head { grid-column: 1 / 5; }
  .acc { grid-column: 6 / 13; margin: 0; }
}

/* book */
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.book-grid > * { min-width: 0; }
.book-photo { margin-top: 40px; }
.req-form { display: block; }
.form-title { color: var(--plum); margin-bottom: 24px; }
.field { display: grid; gap: 10px; margin-top: 16px; min-width: 0; }
.field label { font-size: 0.875rem; font-weight: 500; line-height: 1.5; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 2px;
  color: var(--plum);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 180ms var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--taupe); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 2px; }
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23261922' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-send { margin-top: 32px; }
.form-note {
  margin-top: 24px;
  padding: 24px;
  background: var(--mist);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.form-note.is-on { opacity: 1; transform: none; }
.form-note[hidden] { display: none; }
.form-note:focus { outline: none; }
.form-note-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 12px; }

@media (min-width: 1024px) {
  .book-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 16px;
    align-items: start;
  }
  .book-a { grid-column: 1 / 7; }
  .book-b { grid-column: 8 / 13; padding-top: 32px; }
  .book-photo { margin-top: 48px; }
}

/* ---------- footer ---------- */
.foot {
  background: var(--cherry);
  color: var(--cream);
  padding: 64px 0 128px;
}
.foot :focus-visible { outline-color: var(--cream); }
.foot-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.foot-h {
  font-family: var(--serif);
  font-size: clamp(2.375rem, 1.7rem + 2.9vw, 3.75rem);
  line-height: 1.05;
  color: var(--cream);
  max-width: 14ch;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: 48px;
  padding: 10px 0;
  border-top: 1px solid var(--cherry-deep);
  border-bottom: 1px solid var(--cherry-deep);
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--cream);
  transition: color 180ms var(--ease);
}
.foot-links a:hover { color: var(--sand); }
.foot-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.foot-info > * { min-width: 0; }
.foot-info .label { color: var(--sand); margin-bottom: 4px; }
.foot-val { min-height: 44px; display: flex; align-items: center; }
.foot .tlink { color: var(--cream); }
.foot-wm-wrap { margin-top: 64px; overflow: hidden; }
.foot-wm {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  will-change: transform;
}
.foot-arc {
  display: block;
  width: clamp(96px, 22vw, 280px);
  height: auto;
  color: var(--cream);
  stroke-width: 4;
  overflow: visible;
}
.foot-word {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: min(18.5vw, 236px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--cream);
}
.foot-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--cherry-deep);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--sand);
}

@media (min-width: 768px) {
  .foot-top { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .foot-info { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
  .foot { padding: 112px 0 40px; }
  .foot-arc { stroke-width: 1.8; }
}

/* ---------- mobile contact bar ---------- */
.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding: 0 12px env(safe-area-inset-bottom, 0px);
  background: var(--cream);
  border-top: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.mbar .btn {
  width: 62%;
  min-width: 0;
  padding: 0 16px;
  font-size: 0.875rem;
}
.js .mbar {
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 300ms var(--ease), visibility 0s linear 300ms;
}
.js .mbar.is-on {
  transform: none;
  visibility: visible;
  transition: transform 300ms var(--ease), visibility 0s;
}
@media (min-width: 1024px) { .mbar { display: none; } }

/* ---------- motion: hero entrance (JS only) ---------- */
.js .hero [data-h] { opacity: 0; transform: translateY(10px); }
.js .hero [data-hf] { opacity: 0; }
.js .h-line-in { transform: translateY(105%); }
.js .hero-frame { clip-path: inset(0 0 100% 0); }
.js .hero-frame img { transform: scale(1.08); }

.hero-in .hero [data-h],
.hero-in .hero [data-hf] {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur, 700ms) var(--ease) var(--dl, 0ms), transform var(--dur, 700ms) var(--ease) var(--dl, 0ms);
}
.hero-in .h-line-in { transform: none; transition: transform 900ms var(--ease) var(--dl, 0ms); }
.hero-in .hero-frame { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease) 200ms; }
.hero-in .hero-frame img { transform: none; transition: transform 1600ms var(--ease) 200ms; }

/* ---------- motion: scroll reveal (wrapper .rv observed; JS only) ---------- */
.js [data-r] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease) calc(var(--i, 0) * 80ms), transform 700ms var(--ease) calc(var(--i, 0) * 80ms);
}
.js .in [data-r] { opacity: 1; transform: none; }

.js .cards [data-r] { transition-delay: calc(var(--i, 0) * 110ms); }
.js .cards .frame {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 900ms var(--ease) calc(var(--i, 0) * 110ms + 80ms);
}
.js .cards.in .frame { clip-path: inset(0 0 0 0); }

.js .rule::before {
  transform: scaleX(0);
  transition: transform 800ms var(--ease) calc(var(--i, 0) * 80ms);
}
.js .in .rule::before { transform: scaleX(1); }
.js .rule [data-r="line"] { transition-delay: calc(var(--i, 0) * 80ms + 320ms); }

.js .arc-anim path {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1.5;
  transition: stroke-dashoffset 520ms var(--ease) calc(var(--i, 0) * 35ms + 240ms);
}
.js .arc-anim .arc-base { transition-duration: 900ms; transition-delay: 160ms; }
.js .in .arc-anim path { stroke-dashoffset: 0; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js [data-r],
  .js .hero [data-h],
  .js .hero [data-hf],
  .hero-in .hero [data-h],
  .hero-in .hero [data-hf] {
    transform: none !important;
    transition: opacity 150ms linear !important;
  }
  .js .h-line-in,
  .js .hero-frame img,
  .js .rule::before { transform: none !important; transition: none !important; }
  .js .hero-frame,
  .js .cards .frame,
  .js .proc-color { clip-path: none !important; transition: none !important; }
  .js .arc-anim path { stroke-dashoffset: 0 !important; transition: none !important; }
  .card:hover .frame img, .card:active .frame img,
  .mrow:hover .mrow-title,
  .acc-q:hover .acc-q-tx,
  .btn:hover .ar, .tlink:hover .ar,
  .btn:active,
  .acc-item.is-open .acc-plus-i { transform: none !important; }
  .acc-item.is-open .acc-plus-i::after { opacity: 0; }
  .acc-a, .hdr-bar, .mnav-links li { transition: none !important; }
  .mnav:not(.is-open) .mnav-links li { transform: none; }
  .form-note { transform: none; transition: opacity 150ms linear; }
  .js .mbar, .js .mbar.is-on { transition: opacity 150ms linear, visibility 0s; transform: none; opacity: 0; }
  .js .mbar.is-on { opacity: 1; }
  .foot-wm { transform: none !important; }
}

/* 사진 판 고르기용 감싸개 (optimize_images.py): 배치에 끼지 않음 */
picture{display:contents}
