/* Klipperiet reuses the portfolio's typography, themes and button treatments. */
.edit-hero .hero-intro { padding-block: 48px 52px; }
.edit-hero h1 { font-size: clamp(64px, 7.7vw, 110px); }
.edit-board { margin: 0; padding: 25px 36px 22px; color: #f5f4ef; background: #222722; border-radius: 4px; }
.board-top, .edit-board figcaption { display: flex; justify-content: space-between; gap: 20px; }
.board-top { color: #c1c6bb; font-size: 9px; }
.board-flow { display: grid; grid-template-columns: 1fr 36px 1.6fr 36px .8fr; gap: 28px; align-items: center; padding: 34px 0; }
.board-label { display: block; color: #c1c6bb; font-size: 9px; letter-spacing: .1em; margin-bottom: 22px; }
.board-note { display: block; margin-top: 18px; color: #c1c6bb; font-size: 10px; }
.source-files { display: flex; padding: 10px 0 4px 8px; }
.source-file { display: flex; flex-direction: column; justify-content: center; width: 82px; height: 108px; flex-shrink: 0; background: #363e34; border: 1px solid #687260; border-radius: 3px; transform: rotate(-9deg); }
.source-file + .source-file { margin-left: -24px; transform: translateY(-6px); background: #42483c; }
.source-file:last-child { transform: rotate(9deg); background: #4b5142; }
.source-file svg { width: 48px; margin-inline: auto; color: #ffad49; }
.source-file span { font-size: 6px; text-align: center; margin-top: 12px; }
.flow-arrow { width: 36px; color: #98a28f; }
.edit-timeline { position: relative; border: 1px solid #57604f; border-radius: 3px; padding: 14px; background: #2c332b; }
.timeline-ruler { display: flex; justify-content: space-between; font-size: 8px; color: #c1c6bb; margin-bottom: 15px; }
.timeline-track { display: flex; gap: 5px; height: 30px; margin-top: 7px; }
.timeline-track span { display: flex; align-items: center; padding-inline: 10px; border-radius: 2px; font-size: 8px; }
.track-film span { flex: 1; background: #ffad49; color: #242a23; }
.track-film span:nth-child(2) { flex: 1.3; }
.track-text { padding-left: 16%; height: 21px; }
.track-text span { background: #88bafa; color: #242a23; flex: 1; }
.track-sound { height: 23px; }
.track-sound span { width: 100%; background: repeating-linear-gradient(90deg, #6e7e63 0 2px, #536349 2px 5px); color: #fff; }
.timeline-playhead { position: absolute; left: 43%; top: 35px; bottom: 10px; width: 1px; background: #f5f4ef; }
.timeline-playhead::before { content: ''; position: absolute; top: -4px; left: -3px; width: 7px; height: 7px; background: #f5f4ef; transform: rotate(45deg); }
.board-output { justify-self: center; }
.output-phone { position: relative; width: 115px; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; border: 3px solid #687260; }
.output-phone img { width: 100%; height: 100%; object-fit: cover; }
.output-phone::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 25%, #101710bb); }
.output-phone > span { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 16px; font-size: 18px; font-weight: 700; letter-spacing: -.05em; line-height: 1.1; }
.output-phone .output-format { bottom: auto; top: 9px; left: auto; font-size: 8px; letter-spacing: 0; background: #ffad49; color: #242a23; padding: 4px 6px; border-radius: 2px; }
.edit-board figcaption { padding-top: 17px; border-top: 1px solid #4b5544; font-size: 10px; }
.edit-board figcaption span:last-child { color: #c1c6bb; font-size: 9px; }
.edit-process { display: grid; grid-template-columns: .9fr 1.3fr; gap: 100px; align-items: start; }
.process-intro { position: sticky; top: 135px; }
.process-intro h2, .inquiry-copy h2 { font-size: clamp(36px, 4.2vw, 58px); font-weight: 500; letter-spacing: -.055em; }
.process-intro > p:not(.eyebrow), .inquiry-copy > p:not(.eyebrow) { max-width: 355px; font-size: 13px; margin-top: 24px; line-height: 1.9; color: var(--muted); }
.process-intro .text-link { margin-top: 24px; }
.process-meter { max-width: 220px; margin-top: 56px; font-size: 12px; font-variant-numeric: tabular-nums; }
.process-meter > span:first-child { font-size: 35px; letter-spacing: -.05em; }
.process-meter > span:nth-child(2) { color: var(--muted); }
.process-meter-track { margin-top: 12px; height: 2px; background: var(--line); }
.process-meter-track i { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(.25); transform-origin: left; transition: transform .4s; }
.process-steps { margin: 0; padding: 0; list-style: none; }
.process-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding-bottom: 56px; }
.process-step:last-child { padding-bottom: 0; }
.process-step:not(:last-child)::before { content: ''; position: absolute; top: 46px; bottom: 5px; left: 21px; width: 1px; background: var(--line); }
.step-number { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); font-size: 11px; transition: background .4s, color .4s, border-color .4s; }
.is-current .step-number { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.step-content > .eyebrow { color: var(--muted); font-size: 9px; margin: 3px 0 12px; }
.step-content h3 { font-size: 26px; font-weight: 500; letter-spacing: -.04em; }
.step-content > p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 16px; }
.step-visual { display: flex; align-items: center; min-height: 88px; gap: 15px; margin-top: 24px; padding: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; transition: border-color .4s, transform .4s; }
.is-current .step-visual { border-color: var(--muted); transform: translateY(-3px); }
.share-visual { flex-wrap: wrap; gap: 7px 12px; }
.share-visual > .icon { font-size: 24px; }
.share-visual > span:not(.visual-label) { font-size: 12px; overflow-wrap: anywhere; }
.visual-label { flex-basis: 100%; padding-left: 36px; font-size: 8px; letter-spacing: .1em; color: var(--muted); }
.style-visual { gap: 14px; flex-wrap: wrap; }
.format-outline { display: grid; place-items: center; border: 1px solid var(--muted); font-size: 9px; border-radius: 2px; }
.format-portrait { width: 29px; height: 50px; border-color: var(--ink); }
.format-square { width: 40px; height: 40px; }
.format-landscape { width: 64px; height: 36px; }
.style-visual > span { font-size: 10px; color: var(--muted); margin-left: auto; }
.quote-symbol { display: grid; place-items: center; width: 44px; height: 44px; background: var(--bg); border: 1px solid var(--line); border-radius: 50%; font-family: Georgia, serif; font-style: italic; font-size: 21px; }
.quote-visual strong { display: block; font-size: 13px; font-weight: 600; }
.quote-visual div > span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.quote-visual > .icon { margin-left: auto; font-size: 22px; }
.delivery-visual { justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; }
.delivery-file .icon { font-size: 24px; margin-right: 10px; }
.delivery-ready { color: var(--muted); font-size: 10px; }
.scope-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.scope-list > div { border-top: 1px solid var(--line); padding-top: 24px; }
.scope-list .eyebrow { color: var(--muted); font-size: 9px; }
.scope-list h3 { margin-top: 26px; font-size: 21px; font-weight: 500; letter-spacing: -.04em; }
.scope-list p { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 300px; }
.edit-scope .section-heading > p { max-width: 330px; }
.edit-inquiry { display: grid; grid-template-columns: .9fr 1.3fr; gap: 100px; }
.inquiry-copy .text-link { margin-top: 30px; font-size: 11px; overflow-wrap: anywhere; }
.inquiry-form { min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { margin-bottom: 24px; min-width: 0; }
.form-field label { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 700; }
.form-field label span { font-weight: 400; color: var(--muted); }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: var(--muted); opacity: 1; }
.inquiry-form textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 11px; line-height: 1.8; color: var(--muted); margin-top: 8px; }
.inquiry-form .button { margin-top: 18px; }
#inquiry-status:empty { display: none; }
#inquiry-backup { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; font-size: 12px; }
#inquiry-backup[hidden] { display: none; }
#inquiry-backup summary { cursor: pointer; }
#inquiry-backup textarea { margin-top: 16px; font-size: 12px; }
.copy-inquiry { padding: 0; background: transparent; margin-top: 12px; }
.edit-page-footer { border-top: 1px solid var(--line); }
@media(max-width:1100px) {
  .board-flow { gap: 16px; grid-template-columns: 1fr 24px 1.6fr 24px .8fr; }
  .flow-arrow { width: 24px; }
  .edit-process, .edit-inquiry { gap: 50px; grid-template-columns: .9fr 1.2fr; }
  .step-content h3 { font-size: 23px; }
  .style-visual > span { flex-basis: 100%; }
  .scope-list { gap: 28px; }
}
@media(max-width:760px) {
  .edit-hero .hero-intro { padding-block: 30px 36px; }
  .edit-hero h1 { font-size: clamp(60px, 11vw, 82px); }
  .edit-board { padding: 20px; }
  .board-top { font-size: 8px; }
  .board-top span:last-child { display: none; }
  .board-flow { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
  .board-source, .board-edit { width: 100%; max-width: 340px; margin-inline: auto; }
  .board-source { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .board-source .board-label { margin: 0; }
  .board-source .board-note { grid-column: 1 / -1; }
  .source-files { justify-self: end; padding: 5px 8px 0 0; }
  .source-file { width: 60px; height: 75px; }
  .source-file + .source-file { margin-left: -29px; }
  .source-file svg { width: 35px; }
  .source-file span { font-size: 5px; margin-top: 6px; }
  .board-flow > .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .board-label { font-size: 8px; margin-bottom: 14px; }
  .board-output { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; width: 100%; max-width: 340px; }
  .output-phone { width: 100px; justify-self: end; margin-right: 10px; }
  .edit-board figcaption { flex-direction: column; gap: 5px; }
  .edit-process, .edit-inquiry { grid-template-columns: 1fr; gap: 42px; }
  .process-intro { position: static; }
  .process-intro > p:not(.eyebrow), .inquiry-copy > p:not(.eyebrow) { max-width: 480px; }
  .process-meter { display: none; }
  .process-step { gap: 16px; padding-bottom: 38px; grid-template-columns: 36px minmax(0, 1fr); }
  .step-number { width: 36px; height: 36px; }
  .process-step:not(:last-child)::before { left: 17px; top: 40px; }
  .step-content h3 { font-size: 23px; }
  .step-visual { padding: 15px; }
  .share-visual > span:not(.visual-label) { font-size: 10px; }
  .scope-list { grid-template-columns: 1fr; gap: 30px; }
  .scope-list h3 { margin-top: 14px; }
  .scope-list p { max-width: 460px; }
  .inquiry-form input, .inquiry-form select, .inquiry-form textarea { font-size: 16px; }
}
@media(max-width:480px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .process-step { gap: 13px; }
  .quote-visual { gap: 10px; }
  .quote-symbol { width: 35px; height: 35px; flex-shrink: 0; }
  .quote-visual strong { font-size: 12px; }
  .quote-visual div > span { font-size: 9px; }
  .inquiry-submit { width: 100%; gap: 15px; }
}
