/* shoots.page content pages — editorial system, scoped under .cp */

@font-face {
  font-family: "DM Sans Variable";
  src: url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Caslon Display";
  src: url("/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.cp {
  --paper: #fbf8f1;
  --ink: #302a23;
  --muted: #6b6256;
  --gold: #80602b;
  --champagne: #e7d4a8;
  --champagne-soft: #f3ead6;
  --line: #ded7c9;

  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans Variable", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.cp * {
  min-width: 0;
  box-sizing: border-box;
}

.cp ::selection {
  background: var(--champagne);
  color: var(--ink);
}

.cp :is(a, button, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.cp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  z-index: 30;
  text-decoration: none;
}

.cp-skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- header ---------- */

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

.cp-header-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}

.cp-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.cp-brand-sun {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.cp-brand-suffix {
  color: var(--gold);
}

.cp-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  scrollbar-width: none;
}

.cp-nav-toggle {
  display: none;
}

.cp-nav-burger {
  display: none;
}

.cp-nav-links {
  display: flex;
  gap: 4px;
}

.cp-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.cp-nav a:hover {
  color: var(--ink);
  background: var(--champagne-soft);
}

.cp-app-link {
  flex-shrink: 0;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.cp-app-link:hover {
  background: var(--gold);
}

/* ---------- hero ---------- */

.cp-main {
  display: block;
}

.cp-hero {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding: 44px 0 8px;
}

.cp-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.cp-breadcrumb a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.cp-breadcrumb-sep {
  color: var(--line);
}

.cp-breadcrumb span[aria-current] {
  color: var(--ink);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.cp-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
}

.cp-hero h1 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: balance;
}

.cp-hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.cp-lede {
  font-size: clamp(17.5px, 2.4vw, 20.5px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px;
  text-wrap: pretty;
}

.cp-updated {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}

.cp-updated time {
  font-weight: 500;
}

/* ---------- content blocks ---------- */

.cp-block {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 6px;
}

.cp-block-wide {
  width: min(960px, calc(100% - 40px));
}

.cp-block > h2,
.cp-note > h2,
.cp-limit > h2,
.cp-related > h2,
.cp-cta > h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(25px, 3.6vw, 33px);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 18px;
  text-wrap: balance;
}

.cp-block-intro {
  color: var(--muted);
  margin: -8px 0 20px;
}

.cp-prose {
  font-size: 16.5px;
}

.cp-prose p {
  margin: 0 0 16px;
}

.cp-prose p:last-child {
  margin-bottom: 0;
}

.cp-prose a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--champagne);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

.cp-prose a:hover {
  text-decoration-color: var(--gold);
}

.cp-prose ul,
.cp-prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.cp-prose li {
  margin-bottom: 8px;
}

.cp-prose li::marker {
  color: var(--gold);
}

.cp-prose strong {
  font-weight: 650;
}

.cp-prose code {
  font-size: 0.88em;
  background: var(--champagne-soft);
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-word;
}

/* lists */

.cp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.cp-list li {
  position: relative;
  padding-left: 30px;
}

.cp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
}

.cp-list-check li::before {
  background: var(--gold);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.cp-list-plain li::before {
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--champagne);
  border: 1.5px solid var(--gold);
}

.cp-list-numbered {
  counter-reset: cp-list;
}

.cp-list-numbered li {
  counter-increment: cp-list;
  padding-left: 38px;
}

.cp-list-numbered li::before {
  content: counter(cp-list);
  top: 0.1em;
  width: 24px;
  height: 24px;
  font-family: "Libre Caslon Display", Georgia, serif;
  color: var(--gold);
  font-size: 19px;
  text-align: center;
  line-height: 24px;
}

/* steps */

.cp-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 26px;
}

.cp-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.cp-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  background: var(--champagne-soft);
  color: var(--gold);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 21px;
  display: grid;
  place-items: center;
  padding-top: 2px;
}

.cp-step h3 {
  font-size: 18.5px;
  font-weight: 650;
  margin: 6px 0 8px;
  letter-spacing: -0.01em;
}

/* table */

.cp-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
}

.cp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}

.cp-table caption {
  text-align: left;
  padding: 12px 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.cp-table th,
.cp-table td {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}

.cp-table thead th {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom-color: var(--champagne);
}

.cp-table tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.cp-table tbody tr:last-child th,
.cp-table tbody tr:last-child td {
  border-bottom: 0;
}

/* note + limit cards */

.cp-note,
.cp-limit {
  width: min(760px, calc(100% - 40px));
  margin: 34px auto 6px;
  padding: 24px 28px;
  border-radius: 16px;
}

.cp-note {
  background: var(--champagne-soft);
  border: 1px solid var(--champagne);
}

.cp-limit {
  background: var(--ink);
  color: var(--paper);
}

.cp-limit h2 {
  color: var(--paper);
}

.cp-limit .cp-prose {
  color: #d8d0c2;
}

.cp-limit .cp-prose a {
  color: var(--champagne);
}

.cp-limit .cp-prose strong {
  color: var(--paper);
}

/* faq */

.cp-faq {
  display: grid;
  gap: 10px;
}

.cp-faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
  padding: 0;
}

.cp-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  font-size: 16px;
  position: relative;
}

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

.cp-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 24px;
  color: var(--gold);
  transition: rotate 0.15s ease;
}

.cp-faq-item[open] summary::after {
  rotate: 45deg;
}

.cp-faq-item .cp-prose {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15.5px;
}

/* copyable asset */

.cp-asset {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  overflow: hidden;
}

.cp-asset-text {
  margin: 0;
  padding: 22px 24px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ink);
}

.cp-copy {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cp-copy:hover {
  background: var(--champagne-soft);
  border-color: var(--champagne);
}

/* gallery (examples) */

.cp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cp-gallery-item {
  margin: 0;
}

.cp-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
  background: var(--champagne-soft);
}

.cp-gallery-item figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 2px 0;
}

/* tool mount */

.cp-tool {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf8;
  padding: 26px 26px 30px;
  min-height: 120px;
}

/* cta */

.cp-cta {
  width: min(960px, calc(100% - 40px));
  margin: 44px auto 8px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 22px;
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
}

.cp-cta h2 {
  color: var(--paper);
}

.cp-cta .cp-prose {
  color: #d8d0c2;
  max-width: 560px;
  margin-inline: auto;
}

.cp-button {
  display: inline-block;
  margin-top: 22px;
  background: var(--champagne);
  color: var(--ink);
  font-weight: 650;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.cp-button:hover {
  background: var(--paper);
}

/* related */

.cp-related {
  width: min(960px, calc(100% - 40px));
  margin: 46px auto 0;
  padding-bottom: 10px;
}

.cp-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.cp-related-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cp-related-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.cp-related-title {
  color: var(--ink);
  font-weight: 650;
  font-size: 15.5px;
  line-height: 1.35;
}

.cp-related-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* hub grids */

.cp-hub-grid {
  width: min(1060px, calc(100% - 40px));
  margin: 26px auto 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.cp-hub-card {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf8;
  padding: 22px 24px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cp-hub-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.cp-hub-card-title {
  color: var(--ink);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cp-hub-card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* footer */

.cp-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: #f6f1e6;
}

.cp-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 44px 0 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.cp-footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 0;
  max-width: 240px;
}

.cp-footer-col {
  display: grid;
  gap: 9px;
  align-content: start;
}

.cp-footer-col h3 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 8px;
  font-weight: 600;
}

.cp-footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
}

.cp-footer-col a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.cp-footer-fine {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 30px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- small screens ---------- */

@media (max-width: 720px) {
  .cp {
    font-size: 16px;
  }

  .cp-header-inner {
    width: calc(100% - 28px);
    gap: 12px;
    padding: 13px 0;
  }

  .cp-brand {
    font-size: 19px;
  }

  .cp-nav {
    order: 3;
    flex-basis: auto;
    margin-left: 0;
    position: relative;
  }

  .cp-nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
  }

  .cp-nav-burger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }

  .cp-nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    flex-direction: column;
    gap: 2px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    min-width: 170px;
    box-shadow: 0 14px 40px rgba(41, 37, 29, 0.14);
    z-index: 30;
  }

  .cp-nav-links a {
    padding: 11px 14px;
    border-radius: 10px;
  }

  .cp-nav-toggle:checked ~ .cp-nav-links {
    display: flex;
  }

  .cp-header-inner {
    flex-wrap: nowrap;
  }

  .cp-app-link {
    margin-left: auto;
    padding: 8px 15px;
  }

  .cp-hero,
  .cp-block,
  .cp-note,
  .cp-limit {
    width: calc(100% - 28px);
  }

  .cp-block-wide,
  .cp-cta,
  .cp-related,
  .cp-hub-grid {
    width: calc(100% - 28px);
  }

  .cp-step {
    gap: 13px;
  }

  .cp-step-number {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .cp-table th,
  .cp-table td {
    padding: 10px 13px;
  }

  .cp-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .cp-footer-brand {
    grid-column: 1 / -1;
  }
}
