:root {
  --cream: #fff7ef;
  --cream-2: #fbf8f1;
  --blush: #fff1f2;
  --mint: #f4fbf5;
  --ink: #151719;
  --ink-2: #1d1718;
  --muted: rgba(21, 23, 25, 0.62);
  --muted-strong: rgba(21, 23, 25, 0.78);
  --crimson: #b11226;
  --crimson-soft: #f5c6cc;
  --teal: #177e6c;
  --mint-strong: #8fe0c7;
  --gold: #b88746;
  --white-soft: rgba(255, 250, 245, 0.76);
  --line: rgba(177, 18, 38, 0.1);
  --shadow: 0 18px 50px rgba(80, 28, 35, 0.1);
  --shadow-deep: 0 34px 90px rgba(80, 28, 35, 0.18);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(245, 198, 204, 0.58), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(143, 224, 199, 0.36), transparent 27rem),
    linear-gradient(180deg, var(--cream) 0%, var(--blush) 42%, #f8efe8 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(177, 18, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177, 18, 38, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

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

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.page-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 24px 34px 0;
  overflow: visible;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1080px, 100%);
  min-height: 66px;
  margin: 0 auto;
  padding: 10px 12px 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.14);
  isolation: isolate;
  overflow: hidden;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(110deg, #b11226, #f5c6cc, #8fe0c7, #b88746, #b11226);
  background-size: 260% 260%;
  animation: topbarChromatic 7s linear infinite;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.68) 42%, transparent 54%) -160% 0 / 48% 100% no-repeat,
    rgba(255, 250, 245, 0.84);
  animation: topbarGleam 5.8s ease-in-out infinite;
}

[id] {
  scroll-margin-top: 112px;
}

.brand,
.nav {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 160px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 54px;
  height: 54px;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  gap: 4px;
}

.nav a {
  position: relative;
  overflow: hidden;
  min-width: 56px;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent, rgba(245, 198, 204, 0.42), rgba(143, 224, 199, 0.28), transparent);
  opacity: 0;
  transform: translateX(-48%);
  transition: opacity 180ms ease;
}

.nav a:hover {
  color: var(--crimson);
  background: rgba(177, 18, 38, 0.08);
  transform: translateY(-1px);
}

.nav a:hover::before {
  opacity: 1;
  animation: menuGleam 1.25s ease-out;
}

.nav-action,
.primary-button,
.secondary-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-action,
.primary-button {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(21, 23, 25, 0.16);
}

.nav-action {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.nav-action::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.58) 46%, transparent 62%);
  transform: translateX(-130%);
  animation: actionGleam 4.8s ease-in-out infinite;
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(21, 23, 25, 0.08);
  box-shadow: 0 12px 30px rgba(80, 28, 35, 0.08);
}

.nav-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.88fr);
  gap: 54px;
  align-items: center;
  min-height: 760px;
  padding: 86px 22px 96px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--crimson);
  font-size: 13px;
  font-weight: 900;
}

.hero h1,
.section-heading h2,
.commission h2,
.join h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(76px, 11vw, 138px);
}

.hero-logo-title {
  width: min(540px, 92vw);
}

.hero-logo-title img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-subtitle {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted-strong);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.78;
}

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

.hero-art {
  position: relative;
  min-height: 620px;
  transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0);
  transition: transform 220ms ease-out;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 5% -7% 8% 8%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(177, 18, 38, 0.22), transparent 62%),
    conic-gradient(from 180deg, rgba(177, 18, 38, 0.2), rgba(143, 224, 199, 0.24), rgba(184, 135, 70, 0.2), rgba(177, 18, 38, 0.2));
  filter: blur(2px);
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  height: 620px;
  margin-left: auto;
  border: 12px solid rgba(255, 250, 245, 0.86);
  border-radius: 44px;
  object-fit: cover;
  box-shadow: 0 42px 110px rgba(80, 28, 35, 0.24);
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 5px;
  min-width: 168px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 250, 245, 0.62);
  border-radius: 22px;
  background: rgba(255, 250, 245, 0.78);
  box-shadow: 0 20px 44px rgba(80, 28, 35, 0.16);
  backdrop-filter: blur(16px);
}

.floating-card strong {
  font-size: 15px;
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
}

.card-a {
  left: 0;
  top: 106px;
}

.card-b {
  right: 0;
  top: 252px;
}

.card-c {
  left: 30px;
  bottom: 94px;
}

.intro,
.gallery,
.commission,
.join {
  padding: 88px 22px;
}

.section-heading {
  max-width: 710px;
  margin-bottom: 34px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.7fr);
  gap: 30px;
  align-items: end;
  max-width: none;
}

.section-heading h2,
.commission h2,
.join h2 {
  font-size: clamp(38px, 5.5vw, 72px);
}

.section-heading p:not(.eyebrow),
.commission-copy p,
.join-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.request-form {
  border: 1px solid rgba(255, 250, 245, 0.74);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 245, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.feature-grid article {
  min-height: 230px;
  padding: 30px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-grid article:hover,
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: var(--crimson);
  background: rgba(245, 198, 204, 0.54);
  font-weight: 900;
}

.feature-grid h3,
.form-grid h3 {
  margin: 24px 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.feature-grid p,
.footer span {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.gallery {
  position: relative;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: 56px -34px 18px;
  z-index: -1;
  border-radius: 44px;
  background:
    linear-gradient(rgba(255, 247, 239, 0.68), rgba(255, 247, 239, 0.68)),
    url("./assets/framer-theme.jpg") center / cover;
  opacity: 0.55;
  filter: saturate(0.78);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  grid-auto-rows: 260px;
  gap: 18px;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--cream-2);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.work-card.tall {
  grid-row: span 2;
}

.work-card.wide {
  grid-column: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.work-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.work-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 20px;
  color: #fff;
  background: rgba(21, 23, 25, 0.42);
  backdrop-filter: blur(14px);
}

.work-card strong {
  font-size: 20px;
}

.work-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.commission,
.join {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.commission-copy,
.join-copy {
  display: grid;
  align-content: center;
  min-height: 390px;
  padding: 44px 0;
}

.section-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 28px;
}

.section-actions span {
  color: var(--muted);
  line-height: 1.6;
}

.commission-preview,
.join-preview {
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(255, 250, 245, 0.74);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(rgba(29, 23, 24, 0.42), rgba(29, 23, 24, 0.62)),
    url("./assets/framer-join.jpg") center / cover;
  color: var(--cream);
  box-shadow: var(--shadow-deep);
}

.join-preview {
  background:
    linear-gradient(rgba(29, 23, 24, 0.36), rgba(29, 23, 24, 0.66)),
    url("./assets/framer-wide-1.jpg") center / cover;
}

.commission-preview strong,
.join-preview strong {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.98;
}

.commission-preview span,
.join-preview span {
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 250, 245, 0.86);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 23, 25, 0.48);
  backdrop-filter: blur(14px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255, 250, 245, 0.74);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 198, 204, 0.5), transparent 24rem),
    rgba(255, 250, 245, 0.94);
  box-shadow: 0 34px 120px rgba(21, 23, 25, 0.34);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.modal-header h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 0.98;
}

.modal-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 23, 25, 0.08);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 28px;
  line-height: 1;
}

.form-note {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(177, 18, 38, 0.12);
  border-radius: 22px;
  background: rgba(245, 198, 204, 0.28);
}

.form-note span {
  color: var(--muted);
  line-height: 1.6;
}

.request-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.form-grid label,
.form-grid .field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.form-grid label.wide,
.form-grid .field.wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(21, 23, 25, 0.08);
  border-radius: 16px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-grid select[data-enhance-select] {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  z-index: 1;
}

.custom-select.is-open {
  z-index: 12;
}

.select-trigger {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(21, 23, 25, 0.08);
  border-radius: 18px;
  padding: 7px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 16px 36px rgba(177, 18, 38, 0.07);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.select-trigger:hover,
.custom-select.is-open .select-trigger {
  border-color: rgba(177, 18, 38, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 4px rgba(177, 18, 38, 0.08), 0 18px 38px rgba(177, 18, 38, 0.1);
}

.select-trigger:focus-visible {
  outline: 0;
  border-color: rgba(177, 18, 38, 0.42);
  box-shadow: 0 0 0 4px rgba(177, 18, 38, 0.12), 0 18px 38px rgba(177, 18, 38, 0.1);
}

.select-icon,
.check-grid label::before {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: var(--crimson);
  background: linear-gradient(145deg, rgba(245, 198, 204, 0.72), rgba(255, 255, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(177, 18, 38, 0.1);
  font-size: 13px;
  font-weight: 950;
}

.select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.select-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(21, 23, 25, 0.44);
  border-bottom: 2px solid rgba(21, 23, 25, 0.44);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.custom-select.is-open .select-arrow {
  transform: rotate(225deg) translate(-2px, -1px);
}

.select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(177, 18, 38, 0.12);
  border-radius: 20px;
  background: rgba(255, 250, 245, 0.98);
  box-shadow: 0 24px 54px rgba(58, 18, 22, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.custom-select.is-open .select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.select-option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  padding: 6px 9px;
  color: var(--muted-strong);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.select-option:hover,
.select-option.is-selected {
  color: var(--ink);
  background: rgba(245, 198, 204, 0.28);
}

.select-option .select-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 12px;
}

.form-grid textarea {
  min-height: 132px;
  padding-top: 14px;
  resize: vertical;
}

.form-grid input[type="file"] {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-field {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.upload-drop {
  display: grid;
  flex: 0 0 132px;
  place-items: center;
  width: 132px;
  min-height: 154px;
  border: 1px dashed rgba(177, 18, 38, 0.32);
  border-radius: 18px;
  padding: 14px 12px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 198, 204, 0.45), transparent 34%),
    rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.upload-drop::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 15px;
  color: #fffaf5;
  background: var(--crimson);
  box-shadow: 0 14px 26px rgba(177, 18, 38, 0.22);
  font-size: 30px;
  line-height: 1;
}

.upload-drop strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.upload-drop small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.upload-field.is-dragging .upload-drop,
.upload-drop:hover {
  border-color: rgba(177, 18, 38, 0.62);
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 198, 204, 0.62), transparent 34%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(177, 18, 38, 0.09), 0 20px 42px rgba(177, 18, 38, 0.1);
  transform: translateY(-1px);
}

.upload-field.is-full .upload-drop {
  display: none;
}

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.upload-thumb {
  position: relative;
  overflow: hidden;
  flex: 0 0 132px;
  width: 132px;
  min-height: 154px;
  border: 1px solid rgba(21, 23, 25, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(58, 18, 22, 0.08);
}

.upload-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.upload-thumb span {
  display: block;
  overflow: hidden;
  padding: 8px 9px 10px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  color: #fffaf5;
  background: rgba(21, 23, 25, 0.72);
  box-shadow: 0 8px 18px rgba(21, 23, 25, 0.2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.upload-remove:hover,
.upload-remove:focus-visible {
  outline: 0;
  background: var(--crimson);
  transform: scale(1.06);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 0;
  border-color: rgba(177, 18, 38, 0.42);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(177, 18, 38, 0.09);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.check-grid label {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid rgba(21, 23, 25, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted-strong);
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.check-grid label::before {
  content: attr(data-icon);
}

.check-grid label::after {
  content: "";
  width: 21px;
  height: 21px;
  border: 2px solid rgba(21, 23, 25, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.72);
  transition: border-color 160ms ease, background 160ms ease;
}

.check-grid label:hover {
  transform: translateY(-1px);
  border-color: rgba(177, 18, 38, 0.2);
  box-shadow: 0 16px 32px rgba(177, 18, 38, 0.08);
}

.check-grid label:has(input:checked) {
  border-color: rgba(177, 18, 38, 0.36);
  color: var(--ink);
  background: rgba(245, 198, 204, 0.34);
  box-shadow: 0 18px 38px rgba(177, 18, 38, 0.12);
}

.check-grid label:has(input:checked)::after {
  border-color: var(--crimson);
  background: var(--crimson);
}

.check-grid input,
.checkline input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  opacity: 0;
}

.form-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(21, 23, 25, 0.08);
}

.checkline {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--muted);
  line-height: 1.65;
  cursor: pointer;
}

.checkline::before {
  content: "";
  width: 52px;
  height: 32px;
  border-radius: 999px;
  background: rgba(21, 23, 25, 0.12);
  box-shadow: inset 0 1px 3px rgba(58, 18, 22, 0.14);
  transition: background 180ms ease;
}

.checkline::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fffaf5;
  box-shadow: 0 6px 14px rgba(58, 18, 22, 0.18);
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.checkline:has(input:checked)::before {
  background: var(--crimson);
}

.checkline:has(input:checked)::after {
  transform: translate(20px, -50%);
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status.error {
  color: var(--crimson);
}

.form-status.success {
  color: var(--teal);
}

body.modal-open {
  overflow: hidden;
}

@keyframes topbarChromatic {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 260% 50%;
  }
}

@keyframes topbarGleam {
  0%,
  42% {
    background-position: -160% 0, 0 0;
  }
  72%,
  100% {
    background-position: 240% 0, 0 0;
  }
}

@keyframes menuGleam {
  from {
    transform: translateX(-52%);
  }
  to {
    transform: translateX(52%);
  }
}

@keyframes actionGleam {
  0%,
  46% {
    transform: translateX(-130%);
  }
  76%,
  100% {
    transform: translateX(130%);
  }
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 22px 42px;
  color: var(--muted);
}

.footer strong {
  color: var(--ink);
}

.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.44, 0, 0.56, 1);
}

.section-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .page-shell {
    padding: 18px 18px 0;
  }

  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero,
  .commission,
  .join,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 26px;
    min-height: auto;
    padding-top: 70px;
  }

  .hero-art {
    min-height: 520px;
  }

  .hero-art img {
    height: 520px;
    margin: 0 auto;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card.wide {
    grid-column: span 2;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-panel {
    max-height: 90vh;
  }

  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  [id] {
    scroll-margin-top: 178px;
  }

  .page-shell {
    padding: 12px 12px 0;
  }

  .brand {
    min-width: auto;
  }

  .nav-action {
    width: 100%;
  }

  .hero,
  .intro,
  .gallery,
  .commission,
  .join {
    padding: 58px 4px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-art {
    min-height: 470px;
  }

  .hero-art img {
    height: 470px;
    border-radius: 34px;
  }

  .floating-card {
    min-width: 142px;
    padding: 12px 13px;
  }

  .card-a {
    top: 60px;
  }

  .card-b {
    top: 218px;
  }

  .card-c {
    left: 8px;
    bottom: 72px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
  }

  .work-card.tall,
  .work-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 12px;
  }

  .modal-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .form-footer-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer-row button {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
  }
}
