/* Artistry website — route D.
   An ice-white wall, ink borrowed from the art, nothing competing with the work.
   --wall / --ink / --muted / --line are set per page and recoloured by site.js
   from whichever artwork is hanging in the hero. */

:root {
  --wall: #f4f7f9;
  --ink: #141a1f;
  --muted: #525d67;
  --line: #dce2e6;
  --paper: #ffffff;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --hang-shadow: 0 1px 1px rgba(0, 0, 0, 0.18), 0 8px 14px -6px rgba(0, 0, 0, 0.18),
    0 40px 56px -28px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.7s ease, color 0.7s ease;
}

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

a {
  color: inherit;
}

a:hover {
  opacity: 0.8;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

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

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(56px, 8vw, 112px) 0;
}

.section--paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--ink {
  background: var(--ink);
  color: var(--wall);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.grid-2--end {
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 260px), 100%), 1fr));
  gap: var(--gap, 20px);
}

/* Type */

.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.section--ink .eyebrow {
  color: inherit;
  opacity: 0.8;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  text-wrap: balance;
}

h1 {
  font-weight: 800;
  font-size: clamp(50px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

h2 {
  font-weight: 800;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h3 {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 36ch;
}

.muted {
  color: var(--muted);
}

.section--ink .muted {
  color: inherit;
  opacity: 0.88;
}

/* Nav with mobile menu */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--wall);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.7s ease;
}

.nav__row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.wordmark small {
  font-family: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  font-size: 15px;
  font-weight: 600;
}

.nav__links a,
.nav__sheet a {
  text-decoration: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

.nav__burger .icon-close,
.nav[data-open="true"] .nav__burger .icon-menu {
  display: none;
}

.nav[data-open="true"] .nav__burger .icon-close {
  display: block;
}

.nav__sheet {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 28px;
  border-top: 1px solid var(--line);
}

.nav__sheet a {
  min-height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}

@media (max-width: 480px) {
  .wordmark small {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav[data-open="true"] .nav__sheet {
    display: flex;
  }
}

/* Buttons */

.btn {
  height: 54px;
  padding: 0 24px;
  border-radius: 27px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.btn--ink {
  background: var(--ink);
  color: var(--wall);
}

.btn--small {
  height: 44px;
  padding: 0 18px;
  font-size: 15px;
  border: 0;
}

.btn--block {
  width: 100%;
}

.section--ink .btn {
  border-color: var(--wall);
  color: var(--wall);
}

.section--ink .btn--wall {
  background: var(--wall);
  color: var(--ink);
}

.store {
  height: 58px;
  padding: 0 22px;
  border-radius: 29px;
}

.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* The hang */

.hook {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hook::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.55;
}

.hook::after {
  content: "";
  width: 1px;
  height: var(--wire, 28px);
  background: var(--ink);
  opacity: 0.35;
}

.hung {
  box-shadow: var(--hang-shadow);
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* Home hero */

.hero {
  padding: clamp(40px, 7vw, 96px) 0;
}

.hero figure {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero__art {
  min-height: clamp(380px, 42vw, 540px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: clamp(0px, 6vw, 80px);
}

.hero__art img {
  max-width: min(100%, 400px);
  max-height: clamp(300px, 36vw, 470px);
}

.room-thumb {
  position: absolute;
  right: 0;
  bottom: 140px;
  width: clamp(130px, 14vw, 180px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.4);
}

.room-thumb img,
.room img.room__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.room-thumb__art,
.room__art {
  position: absolute;
  transition: all 0.6s ease;
}

.room-thumb__art {
  object-fit: cover;
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.4);
}

.room-thumb span {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #141414;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.label {
  width: min(100%, 460px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.label__meta {
  font-size: 15px;
  color: var(--muted);
}

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

.label__hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.choices {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.choices .btn {
  flex: 1;
}

@media (max-width: 560px) {
  .room-thumb {
    display: none;
  }
  .hero__art {
    padding-right: 0;
  }
}

/* Salon wall */

.salon {
  columns: 4 220px;
  column-gap: 36px;
}

.salon figure {
  margin: 0 0 40px;
  break-inside: avoid;
  display: flex;
  flex-direction: column;
  align-items: center;
  --wire: 16px;
}

.salon img {
  width: 88%;
}

.salon figcaption {
  align-self: stretch;
  margin: 14px 6% 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
}

.salon figcaption b {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.01em;
}

.rule-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list > li,
.rule {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.rule strong,
.rule-list strong {
  font-size: 19px;
}

/* Taste feed */

.feed-card {
  margin: 0;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 340px;
  --wire: 12px;
}

.feed-card .tag {
  align-self: flex-start;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ink) 8%, var(--wall));
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.feed-card .art {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

.feed-card img {
  width: 76%;
  box-shadow: 0 14px 20px -12px rgba(0, 0, 0, 0.45);
}

.feed-card figcaption {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feed-card figcaption b {
  font-family: var(--display);
  font-size: 16px;
}

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

.feed-card--wild {
  background: var(--ink);
  color: var(--wall);
  box-shadow: none;
}

.feed-card--wild .tag {
  background: var(--wall);
  color: var(--ink);
}

.feed-card--wild .hook::before,
.feed-card--wild .hook::after {
  background: var(--wall);
}

.feed-card--wild figcaption span {
  color: inherit;
  opacity: 0.8;
}

/* Wall demo */

.room {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
}

.room__art {
  box-sizing: border-box;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25), 0 18px 24px -10px rgba(0, 0, 0, 0.45);
}

.room__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room__chip {
  position: absolute;
  left: 16px;
  top: 16px;
  height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  color: #141414;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.picker button {
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  overflow: hidden;
}

.picker button[aria-pressed="true"] {
  border: 3px solid var(--ink);
}

.picker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frames {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.frames button {
  height: 40px;
  padding: 0 14px 0 8px;
  border-radius: 20px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.frames button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--wall);
}

.frames i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

/* Cards with icons */

.icon-card {
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icon-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--wall);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-card p {
  color: var(--muted);
  font-size: 15px;
}

.cta-band {
  border-radius: 26px;
  background: var(--ink);
  color: var(--wall);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-band b {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.cta-band .btn {
  background: var(--wall);
  color: var(--ink);
  border: 0;
}

/* Galleries: hero form, floating cards, dashboard, pricing, faq, form */

.form-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(16, 32, 40, 0.06), 0 0 0 1px var(--line);
  max-width: 540px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--wall);
  color: var(--ink);
}

.field textarea {
  height: auto;
  padding: 12px 14px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 10px;
}

.fields .full {
  grid-column: 1 / -1;
}

.reassure {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 6px 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.float-stage {
  margin: 0;
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.float-stage > img {
  width: min(88%, 440px);
}

.float-card {
  position: absolute;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 16px 36px -16px rgba(16, 32, 40, 0.4), 0 0 0 1px var(--line);
  font-size: 13px;
  line-height: 1.4;
}

.float-card--match {
  left: 0;
  top: 18px;
  max-width: 250px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-card--match .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--wall);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.float-card--lead {
  right: 0;
  bottom: 8px;
  width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.float-card--lead .head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.float-card--lead q {
  quotes: "\201C" "\201D";
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--wall);
}

.float-card--lead .reply {
  height: 38px;
  border-radius: 19px;
  background: var(--ink);
  color: var(--wall);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 560px) {
  .float-stage {
    min-height: 0;
    gap: 16px;
  }
  .float-card {
    position: static;
  }
}

.dash {
  border-radius: 26px;
  background: var(--wall);
  box-shadow: 0 0 0 1px var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.dash__head small {
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  font-family: var(--text);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.dash table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 14px;
}

.dash th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  padding: 0 12px;
}

.dash th:first-child,
.dash td:first-child {
  text-align: left;
}

.dash td {
  background: var(--paper);
  padding: 10px 12px;
  text-align: right;
}

.dash td:first-child {
  border-radius: 14px 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.dash td:last-child {
  border-radius: 0 14px 14px 0;
  font-weight: 700;
}

.dash td img {
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.billing {
  display: flex;
  padding: 4px;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.billing button {
  height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.billing button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--wall);
}

.tier {
  border-radius: 26px;
  padding: 30px 28px;
  background: var(--wall);
  box-shadow: 0 0 0 1.5px var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tier--featured {
  background: var(--ink);
  color: var(--wall);
  box-shadow: none;
}

.tier__name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.tier__name small {
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--wall);
  color: var(--ink);
  display: flex;
  align-items: center;
  font-family: var(--text);
  font-size: 12px;
  letter-spacing: 0;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tier__price b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 52px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tier__price span,
.tier__tag {
  font-size: 14px;
  opacity: 0.85;
}

.tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.tier li {
  display: flex;
  gap: 10px;
}

.tier li::before {
  content: "✓";
  font-weight: 700;
}

.tier .btn {
  margin-top: auto;
}

.tier--featured .btn {
  background: var(--wall);
  color: var(--ink);
  border-color: var(--wall);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 60ch;
}

.signup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 26px;
  background: var(--wall);
  color: var(--ink);
}

.signup .field input,
.signup .field select {
  background: var(--paper);
  height: 52px;
}

.checks {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checks li::before {
  content: "✓ ";
  font-weight: 700;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* Footer */

.footer .wrap {
  padding-top: 36px;
  padding-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer a {
  text-decoration: none;
}

.footer .wordmark {
  font-size: 22px;
  color: var(--ink);
}
