/* Paper Comet Studios: inner pages (services, work, start, ideas, privacy, thanks, 404).
   Loads after home.css and reuses its tokens, buttons, bar and footer. */

.subpage .bar-brand { opacity: 1; }
.subpage .bar-links a[aria-current="page"]:not(.bar-cta) { color: var(--cream); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.subpage main { background: var(--deep); }

/* page head: a short slice of the night sky, with the Catalinas along the bottom */
.ph { position: relative; overflow: hidden; padding: clamp(130px, 15vw, 190px) var(--pad) clamp(110px, 12vw, 170px);
  background: radial-gradient(90% 70% at 70% 0%, rgba(244,185,66,.07), transparent 60%), linear-gradient(170deg, var(--sky-top) 0%, var(--sky-mid) 70%, var(--sky-bot) 100%); }
.ph::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image: radial-gradient(1.2px 1.2px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 27% 61%, #fff, transparent), radial-gradient(1.4px 1.4px at 41% 14%, #FFF8EA, transparent),
    radial-gradient(1px 1px at 58% 38%, #fff, transparent), radial-gradient(1.6px 1.6px at 73% 19%, #FFE7A8, transparent), radial-gradient(1px 1px at 86% 52%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 93% 11%, #fff, transparent), radial-gradient(1px 1px at 7% 70%, #fff, transparent), radial-gradient(1px 1px at 66% 66%, #fff, transparent); }
.ph-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.ph .room-dot { fill: var(--gold); }
.ph .room-name { color: var(--gold); }
.ph h1 { font: 600 clamp(40px, 6.2vw, 84px)/1.02 var(--serif); letter-spacing: -0.015em; max-width: 13em; text-wrap: balance; }
.ph-lede { margin-top: 22px; max-width: 36em; font-size: clamp(17px, 1.7vw, 21px); color: rgba(246,238,223,.78); }
.ph-ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 10vw, 150px); z-index: 1; }
.sky-ctas.left { justify-content: flex-start; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(246,238,223,.24); text-decoration: none; font-size: 15px; color: rgba(246,238,223,.88); background: rgba(10,18,40,.35); }
.jump a:hover { border-color: var(--gold); color: var(--cream); }

/* a service block: title and intro on the left, the price ledger on the right */
.svc { padding: clamp(64px, 8vw, 110px) var(--pad); border-top: 1px solid rgba(246,238,223,.07); scroll-margin-top: 70px; }
.svc-alt, .svc:nth-of-type(even) { background: #0D1631; }
.svc-inner { max-width: var(--max); margin: 0 auto; }
.svc .svc-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(30px, 6vw, 96px); align-items: start; }
.svc-head h2 { font-size: clamp(32px, 3.8vw, 50px); }
.svc-head > p { margin-top: 16px; color: rgba(246,238,223,.74); max-width: 30em; }
.svc-more { margin-top: 18px; color: rgba(246,238,223,.8); }
@media (min-width: 901px) { .svc .svc-head { position: sticky; top: 100px; } }

.offers { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(246,238,223,.12); }
.of { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 24px 0 26px; border-top: 1px solid rgba(246,238,223,.12); }
.of-n { font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); }
.of-p { font: 600 clamp(24px, 2.4vw, 32px)/1 var(--serif); color: var(--gold); white-space: nowrap; }
.of-p small { font: 500 14px/1 var(--sans); color: rgba(246,238,223,.6); }
.of-q { font: italic 400 clamp(20px, 2vw, 25px)/1 var(--serif); color: rgba(246,238,223,.8); }
.of-d { grid-column: 1 / -1; color: rgba(246,238,223,.74); max-width: 40em; font-size: 17px; }

/* how it works */
.steps-band { padding: clamp(64px, 8vw, 110px) var(--pad); background: linear-gradient(180deg, var(--sky-top), var(--sky-mid)); }
.steps { list-style: none; margin: clamp(30px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.steps .orbit-n { margin-bottom: 18px; }
.steps h3 { font-size: clamp(21px, 2vw, 25px); }
.steps p { margin-top: 8px; color: rgba(246,238,223,.76); }

/* FAQ */
.faq { padding: clamp(64px, 8vw, 110px) var(--pad); background: #0D1631; }
.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(30px, 6vw, 96px); align-items: start; }
.faq-inner h2 { font-size: clamp(32px, 3.8vw, 50px); }
.faq-list { border-bottom: 1px solid rgba(246,238,223,.12); }
.faq details { border-top: 1px solid rgba(246,238,223,.12); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font: 600 clamp(19px, 1.8vw, 22px)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 22px; color: rgba(246,238,223,.78); max-width: 40em; }

/* closing call to action */
.cta-band { text-align: center; padding: clamp(80px, 10vw, 140px) var(--pad); background: linear-gradient(180deg, var(--sky-mid), var(--sky-top) 70%, var(--deep)); }
.cta-band h2 { max-width: 14em; margin: 0 auto; }
.cta-band > p { margin: 14px auto 30px; max-width: 32em; color: rgba(246,238,223,.76); font-size: 19px; }
.fine { font-size: 14px; color: rgba(246,238,223,.58); line-height: 1.55; }
.cta-band .fine { margin-top: 34px; }

/* work: the concept sites */
.svc-head-wide { grid-column: 1 / -1; max-width: 44em; }
.svc .svc-inner:has(.cs-grid), .svc .svc-inner:has(.sw-grid) { grid-template-columns: 1fr; }
.svc .svc-inner:has(.cs-grid) .svc-head, .svc .svc-inner:has(.sw-grid) .svc-head { position: static; }
.cs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 34px); }
.cs a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; text-decoration: none; height: 100%; }
.cs-shot { grid-column: 1 / -1; display: block; margin-bottom: 12px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #111; box-shadow: 0 0 0 1px rgba(246,238,223,.1), 0 30px 50px -30px rgba(0,0,0,.9); transition: transform .3s ease, box-shadow .3s ease; }
.cs-shot video { width: 100%; height: 100%; object-fit: cover; }
.cs-t { font: 600 22px/1.2 var(--serif); }
.cs-k { font-size: 14px; color: rgba(246,238,223,.6); align-self: center; }
.cs-d { grid-column: 1 / -1; font-size: 16px; color: rgba(246,238,223,.74); line-height: 1.5; }
.cs-go { grid-column: 1 / -1; margin-top: 8px; font-weight: 500; font-size: 16px; color: var(--gold); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.cs a:hover .cs-shot, .cs a:focus-visible .cs-shot { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--gold), 0 36px 60px -30px rgba(0,0,0,.9); }
.cs a:focus-visible { outline: none; }

/* work: studio pieces */
.sw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 34px); align-items: start; }
.sw { margin: 0; }
.sw img { width: 100%; border-radius: 6px; box-shadow: 0 0 0 1px rgba(246,238,223,.08), 0 26px 44px -28px rgba(0,0,0,.9); }
.sw:not(.sw-wide):not(.sw-full) img { aspect-ratio: 16 / 9; object-fit: cover; }
.sw-sq img { object-fit: contain !important; background: #EFE6D3; padding: 6px 0; }
.sw-wide { grid-column: span 2; }
.sw-full { grid-column: 1 / -1; }
.sw figcaption { margin-top: 12px; font-size: 16px; line-height: 1.5; color: rgba(246,238,223,.7); }
.sw figcaption b { display: block; font: 600 20px/1.3 var(--serif); color: var(--cream); }

/* forms */
.form-wrap { background: var(--deep); }
.svc .form-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.pform { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: 17px; padding: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.req, .opt { font-weight: 400; font-size: 14px; color: rgba(246,238,223,.55); }
.hint { font-size: 14px; color: rgba(246,238,223,.55); }
.pform input[type="text"], .pform input[type="email"], .pform select, .pform textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--cream); background: #111D3F; border: 1.5px solid rgba(246,238,223,.2); border-radius: 10px; padding: 13px 14px; transition: border-color .2s ease, background-color .2s ease; }
.pform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.pform textarea { resize: vertical; min-height: 120px; }
.pform input::placeholder, .pform textarea::placeholder { color: rgba(246,238,223,.38); }
.pform input:hover, .pform select:hover, .pform textarea:hover { border-color: rgba(246,238,223,.38); }
.pform input:focus, .pform select:focus, .pform textarea:focus { outline: none; border-color: var(--gold); background: #142249; }
.pform [aria-invalid="true"] { border-color: #FF8A73 !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(246,238,223,.28); font-size: 16px; color: rgba(246,238,223,.88); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.chip:hover span { border-color: var(--cream); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 500; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); }
.bot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pform .btn { justify-self: start; border: 0; cursor: pointer; }
.pform .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.ts-slot:empty { display: none; }
.form-status:empty { display: none; }
.form-status { padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(246,238,223,.16); background: rgba(244,185,66,.08); }
.form-status.is-error { background: rgba(255,138,115,.1); border-color: rgba(255,138,115,.45); }
.form-status h3 { margin-bottom: 6px; }
.form-status p { color: rgba(246,238,223,.82); }
.form-status p + p { margin-top: 8px; }
.form-done .form-status { background: rgba(54,169,154,.12); border-color: rgba(54,169,154,.5); }
.form-side { padding: clamp(24px, 3vw, 34px); border-radius: 16px; background: #0D1631; border: 1px solid rgba(246,238,223,.1); }
.form-side h2 { font-size: clamp(24px, 2.4vw, 30px); }
.form-side p { margin-top: 14px; color: rgba(246,238,223,.78); }
.mini-steps { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 8px; color: rgba(246,238,223,.82); }
.mini-steps li::marker { color: var(--gold); font-weight: 600; }
@media (min-width: 901px) { .form-side { position: sticky; top: 100px; } }

/* privacy and other prose */
.svc .prose { display: block; max-width: 44em; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: rgba(246,238,223,.8); }
.prose ul { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.prose p + p { margin-top: 12px; }

@media (max-width: 900px) {
  .svc .svc-inner, .faq-inner, .svc .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-wide { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cs-grid, .sw-grid { grid-template-columns: 1fr; }
  .sw-wide { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .contact-ctas .btn-big { width: 100%; }
}
