/* Studio process, individual offers and the project request, in the gancda brand. */
#start {
  color: var(--ink);
  background: var(--paper);
}

.gp-process { padding-block: clamp(4rem, 7vw, 7rem); }
.gp-title {
  margin: 0;
  max-width: 23ch;
  font-family: var(--display, sans-serif);
  font-size: clamp(2.25rem, 4.7vw, 4.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.035em;
  text-wrap: balance;
}
html[lang="ka"] .gp-title { font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.gp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3.15rem);
  margin: clamp(2rem, 4vw, 3.75rem) 0 0;
  padding: 0;
  list-style: none;
}
.gp-step {
  position: relative;
  min-width: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.gp-step-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.gp-step:first-child .gp-step-icon { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.gp-step h3, .gp-plan h3, .gp-draft h3 {
  margin: 1.2rem 0 .65rem;
  font-family: var(--display, sans-serif);
  font-size: clamp(1.22rem, 2vw, 1.56rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.gp-step p, .gp-plan p, .gp-request p {
  margin: 0;
  font-family: var(--body, sans-serif);
  font-size: 1rem;
  line-height: 1.58;
  overflow-wrap: break-word;
}
.gp-step p { color: var(--muted); }
.gp-pricing {
  border-top: 1px solid var(--line, #c7c7bd);
  padding-block: clamp(3.5rem, 6vw, 6.25rem) clamp(4.5rem, 8vw, 8rem);
}
/* the offer: no packages, one conversation */
.gp-offer { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start;
  padding: clamp(1.8rem, 4vw, 3.5rem); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.gp-offer::after { content: ""; position: absolute; width: 40%; aspect-ratio: 1; right: -12%; top: -26%; background: var(--mark, #C8102E); opacity: var(--wm-o, .2); -webkit-mask: url(assets/gancda-symbol.svg) center/contain no-repeat; mask: url(assets/gancda-symbol.svg) center/contain no-repeat; pointer-events: none; }
.gp-offer > * { position: relative; z-index: 1; min-width: 0; }
.gp-offer-mark { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); margin-bottom: 1.3rem; }
.gp-offer-mark svg { width: 1.6rem; height: 1.6rem; }
.gp-offer .gp-title { max-width: none; font-size: clamp(1.7rem, 3.1vw, 2.9rem); overflow-wrap: break-word; }
.gp-offer-intro > p { margin-top: 1.1rem; max-width: 40ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; }
.gp-offer-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.gp-offer-steps li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .9rem; align-items: start; font-size: 1.04rem; line-height: 1.55; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.gp-offer-steps li span { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: .95rem; }
.gp-offer .gp-offer-cta { margin-top: 1.6rem; }
.gp-offer .gp-terms { color: var(--muted); }
.gp-terms { margin: 1.25rem 0 0; font-size: .88rem; line-height: 1.5; }
.gp-button, .gp-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: fit-content;
  min-height: 44px;
  padding: .65rem 1.05rem;
  border: 1px solid currentColor;
  border-radius: 100px;
  background: transparent;
  color: inherit;
  font-family: var(--body, sans-serif);
  font-size: .94rem;
  line-height: 1.3;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.gp-button svg { flex: none; }
.gp-request {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding-block: clamp(3.5rem, 7vw, 6.7rem);
}
.gp-request::before { content: ""; position: absolute; width: min(520px, 70vw); aspect-ratio: 1; left: -12%; bottom: -36%; background: var(--mark, #C8102E); opacity: var(--wm-o, .2); -webkit-mask: url(assets/gancda-symbol.svg) center/contain no-repeat; mask: url(assets/gancda-symbol.svg) center/contain no-repeat; pointer-events: none; }
.gp-request-layout { position: relative; }
.gp-request-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 8rem); }
.gp-request-intro .gp-title { max-width: 13ch; }
html[lang="ka"] .gp-request-intro .gp-title { max-width: 14ch; }
.gp-request-intro > p { margin-top: 1.35rem; font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 37ch; }
.gp-direct { display: grid; gap: .3rem; margin-top: 2.25rem; }
.gp-direct span { font-size: .88rem; }
.gp-direct a { display: inline-flex; align-items: center; gap: .35rem; width: fit-content; color: inherit; text-decoration: underline; text-underline-offset: .2em; font-size: 1.08rem; font-weight: 600; }
.gp-form { min-width: 0; margin: .15rem 0 0; }
.gp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
.gp-fields label { display: flex; flex-direction: column; align-items: stretch; gap: .48rem; min-width: 0; color: var(--ink); font-size: .92rem; font-weight: 650; line-height: 1.4; }
.gp-fields small { font: inherit; font-weight: 450; opacity: .82; }
.gp-full { grid-column: 1 / -1; }
.gp-fields :is(input,select,textarea), .gp-draft-text {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1.5px solid var(--field-line, var(--line));
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  padding: .7rem .8rem;
  font: 450 1rem/1.4 var(--body, sans-serif);
}
.gp-fields select { padding-inline-end: .35rem; text-overflow: ellipsis; }
.gp-fields :is(input, select) { min-height: 46px; }
.gp-fields textarea, .gp-draft-text { resize: vertical; min-height: 84px; }
#start :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gp-fields :is(input,select,textarea):focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.gp-submit-row, .gp-draft-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 1.35rem; }
.gp-submit-row > p { flex: 1 1 170px; max-width: 33ch; font-size: .81rem; line-height: 1.4; }
.gp-button { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); padding-inline: 1.3rem; }
.gp-button:hover { filter: brightness(1.08); }
.gp-draft[hidden] { display: none; }
.gp-draft { margin-top: 2rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.gp-draft h3 { margin-top: 0; }
.gp-draft p { margin-block: .4rem 1rem; font-size: .94rem; }
.gp-draft .gp-status { margin-block: .7rem 0; }
.gp-draft .gp-status:empty { display: none; }
.gp-copy:hover { background: var(--surface-2); }
@media (max-width: 850px) {
  .gp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .gp-offer { grid-template-columns: 1fr; }
  .gp-request-layout { grid-template-columns: 1fr; }
  .gp-request-intro .gp-title { max-width: 20ch; }
  .gp-request-intro > p { max-width: 55ch; }
  .gp-direct { margin-top: 1rem; }
}
@media (max-width: 570px) {
  .gp-steps { grid-template-columns: 1fr; gap: 1.12rem; }
  .gp-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem .9rem; padding-top: 1.12rem; }
  .gp-step h3 { margin: .15rem 0 0; }
  .gp-step-icon { grid-row: span 2; width: 2.65rem; height: 2.65rem; }
  .gp-step p { grid-column: 2; font-size: .94rem; }
  .gp-offer { border-radius: 20px; }
  .gp-fields { grid-template-columns: 1fr; }
  .gp-draft { padding: 1rem; }
}

/* expert review fixes */
html[lang="ka"] .gp-process .gp-title, html[lang="ka"] .gp-request .gp-title { font-size: clamp(30px, 3.6vw, 52px); }
.gp-fields label:has([name=goal]) { grid-column: 1 / -1; }
.gp-err { margin: 0; font-size: .86rem; font-weight: 600; color: #B42318; }
:root[data-theme="dark"] .gp-err { color: #FF9B8A; }
.gp-fields [aria-invalid] { border-color: #B42318; }

/* the request goes straight to the studio (Nov 10) */
.gp-sent[hidden] { display: none; }
.gp-sent { margin-top: 1.4rem; padding: 1.6rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); outline: none; }
.gp-sent-mark { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.gp-sent-mark svg { width: 1.6rem; height: 1.6rem; }
.gp-sent:not(.fail) .gp-sent-mark { animation: gpPop .6s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes gpPop { from { transform: scale(.4) rotate(-40deg); opacity: 0; } }
.gp-sent h3 { margin: 1rem 0 .4rem; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.5rem); }
.gp-sent p { margin: 0 0 1.1rem; color: var(--muted); }
.gp-sent p a { color: var(--ink); font-weight: 650; }
.gp-sent.fail .gp-sent-mark { color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.gp-fields[hidden], .gp-submit-row[hidden] { display: none; }
.gp-button:disabled { opacity: .6; cursor: default; }
