/* Summit Sites inner pages: black and white, matching the homepage. Floating pill nav, faint arcs, quiet greys */
:root {
  --bg: #f4f4f4;
  --white: #ffffff;
  --pill: #eaeaea;
  --line: #dadada;
  --ink: #111111;
  --muted: #666666;
  --faint: #a3a3a3;
  --font: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.gold { color: var(--faint); }

/* Floating pill nav (same as homepage) */
.bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 4px; width: fit-content; max-width: calc(100% - 2 * var(--gutter)); margin: calc(18px + env(safe-area-inset-top, 0px)) auto 0; background: var(--pill); border: 1px solid var(--line); border-radius: 12px; padding: 5px 5px 5px 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-style: italic; font-size: 1.05rem; letter-spacing: -0.01em; text-transform: uppercase; margin-right: 18px; white-space: nowrap; }
.logo svg { width: 22px; height: 22px; }
.bar nav { display: flex; align-items: center; gap: 4px; }
.bar nav a { text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 8px 14px; border-radius: 8px; white-space: nowrap; color: #2a2a2a; }
.bar nav a:hover { background: rgba(0, 0, 0, 0.05); }
.bar nav a[aria-current="page"] { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.bar nav a.cta { background: var(--ink); color: var(--white); margin-left: 6px; }
.bar nav a.cta:hover { background: #2b2b2b; }
.bar nav a.cta[aria-current="page"] { box-shadow: none; }
@media (max-width: 640px) {
  .bar { padding-left: 10px; gap: 0; }
  .logo { font-size: 0; margin-right: 4px; gap: 0; }
  .bar nav { gap: 0; }
  .bar nav a { padding: 8px 8px; font-size: 0.8rem; }
  .bar nav a.cta { padding: 8px 10px; margin-left: 2px; }
}

/* Page header */
.page-head { position: relative; overflow: hidden; }
.page-head .ridges { position: absolute; left: 50%; top: -420px; width: 1600px; height: 700px; transform: translateX(-50%); pointer-events: none; }
.page-head .inner { position: relative; z-index: 2; padding: 72px var(--gutter) 56px; max-width: 900px; margin: 0 auto; display: grid; justify-items: center; text-align: center; gap: 18px; }
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 14em; }
.page-head p { max-width: 34em; color: var(--muted); font-size: 1.05rem; }
.section { padding: 48px var(--gutter) 72px; max-width: 1100px; margin: 0 auto; }
.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 24px; }

/* Work */
.work { display: grid; gap: 20px; }
.case { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; background: var(--white); transition: border-color 0.2s ease; }
.case:hover { border-color: var(--ink); }
.case .shot { aspect-ratio: 16 / 10; max-width: 100%; filter: grayscale(1); transition: filter 0.35s ease; }
.case:hover .shot { filter: none; }
.case .shot svg { display: block; width: 100%; height: 100%; }
.case .info { padding: clamp(22px, 3vw, 40px); display: grid; gap: 14px; align-content: center; }
.case h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.case p { color: var(--muted); }
.case .go { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 0.78rem; font-weight: 500; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }
@media (max-width: 820px) { .case { grid-template-columns: 1fr; } }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.tier.top { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tier.top .label, .tier.top li, .tier.top .price small { color: #bdbdbd; }
.tier.top li::before { background: var(--white); }
.tier h3 { font-size: 1.6rem; }
.price { font-weight: 500; font-size: 2.8rem; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; flex: 1; }
.tier li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; color: #333333; }
.tier li::before { content: ""; width: 9px; height: 9px; margin-top: 8px; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.badge { position: absolute; top: -12px; right: 20px; background: var(--white); color: var(--ink); border: 1px solid var(--ink); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; }
.care { margin-top: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.care p { color: var(--muted); max-width: 42em; margin-top: 6px; }
.care .price { font-size: 2.2rem; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: var(--white); border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-size: 0.92rem; font-weight: 500; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { background: #2b2b2b; }
.tier.top .btn { background: var(--white); color: var(--ink); }
.btn-ghost { display: inline-block; background: var(--pill); border: 1px solid var(--line); border-radius: 10px; padding: 12px 20px; font-size: 0.92rem; font-weight: 500; text-decoration: none; text-align: center; }
.btn-ghost:hover { background: #e0e0e0; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 600; }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.1rem; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 10px; max-width: 46em; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.about dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.about dt { color: var(--muted); }
.about dd { margin: 0; font-weight: 500; }
.about .copy { display: grid; gap: 16px; }
.about .copy p { color: #333333; font-size: 1.05rem; max-width: 36em; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.email { font-weight: 500; font-size: clamp(1.3rem, 3.2vw, 2rem); letter-spacing: -0.03em; word-break: break-all; user-select: all; }
.copy-btn { background: var(--pill); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 16px; font: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer; }
form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 500; color: #333333; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
textarea { min-height: 90px; resize: vertical; }
.small { font-size: 0.85rem; color: var(--muted); }

.foot { background: var(--ink); color: #bdbdbd; padding: 40px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 24px 40px; align-items: start; font-size: 0.88rem; }
.foot-brand { display: grid; gap: 4px; }
.foot-brand b { color: var(--white); font-weight: 800; font-style: italic; font-size: 1.05rem; text-transform: uppercase; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { text-decoration: none; color: var(--white); }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-contact { display: grid; gap: 4px; justify-items: end; text-align: right; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } .foot-contact { justify-items: start; text-align: left; } }

.included { margin-top: 16px; padding: 26px 28px; border: 1px dashed var(--line); border-radius: 18px; display: grid; gap: 14px; }
.included ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.included li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; font-weight: 500; }

.what { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.what ol { margin: 0; padding: 0; list-style: none; counter-reset: what; display: grid; gap: 12px; }
.what li { counter-increment: what; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.what li::before { content: counter(what); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; }

/* Flow: smooth page changes, gentle entrance, next-page band */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.page-head .inner, main { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
main { animation-delay: 0.08s; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 48px var(--gutter); border-top: 1px solid var(--line); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.next b { font-weight: 500; font-size: clamp(1.8rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; }
.next:hover { background: var(--ink); color: var(--white); }
.next:hover .label { color: #bdbdbd; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .page-head .inner, main { animation: none; }
  .case .shot { transition: none; }
}
