/* caryprewitt.co v2. Palette pulled from Pablo's: lime plaster, old brick, saguaro green, Talavera tile blue. */
:root {
  --plaster: #EEEBE4;
  --plaster-2: #E2DDD2;
  --ink: #17231D;
  --brick: #8F3A28;
  --green: #1E3A2F;
  --tile: #1F4E9C;
  --muted: #55625A;
  --rule: #CFC7B8;
  --serif: 'Gloock', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { background: var(--plaster); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tile); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--plaster); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.55rem; line-height: 1.15; }
p + p { margin-top: 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.block { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); border-top: 1px solid var(--rule); }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.two > h2 { position: sticky; top: 104px; }
.two > div { max-width: 68ch; }
.big { font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.3; margin-bottom: 24px; }
.why p { font-size: 1.12rem; }
.after { margin-top: 32px; }

/* Header */
.top { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter); background: rgba(238, 235, 228, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.mark { font-family: var(--serif); font-size: 1.45rem; text-decoration: none; white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: 32px; }
.top ul { display: flex; gap: 26px; list-style: none; }
.top ul a { text-decoration: none; font-size: 0.98rem; color: var(--muted); }
.top ul a:hover, .top ul a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--brick); }
.menu { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); transition: transform .25s ease, top .25s ease; }
.menu span:first-child { top: 14px; } .menu span:last-child { top: 24px; }
body.open .menu span:first-child { top: 19px; transform: rotate(45deg); }
body.open .menu span:last-child { top: 19px; transform: rotate(-45deg); }

/* Buttons and links */
.btn { display: inline-block; background: var(--tile); color: #fff; text-decoration: none; font-weight: 500; padding: 15px 26px; border-radius: 2px; border: 1px solid var(--tile); transition: background .2s, color .2s; cursor: pointer; font-family: var(--sans); font-size: 1rem; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn-small { padding: 10px 18px; font-size: 0.92rem; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--plaster); }
.link { font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--brick); }
.link:hover { color: var(--brick); }
.link.light { color: var(--plaster); text-decoration-color: rgba(238,235,228,.5); }
.link.light:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }

/* Hero: the name is the memorable thing */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 104px); }
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.name { font-size: clamp(4.2rem, 11.2vw, 10.4rem); line-height: 0.86; letter-spacing: -0.035em; margin: 0 0 clamp(28px, 4vw, 48px) -0.04em; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.sub { color: var(--muted); max-width: 52ch; }
.hero-photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.statement { font-family: var(--serif); font-size: clamp(1.6rem, 2.7vw, 2.35rem); line-height: 1.22; margin-bottom: 22px; max-width: 26ch; }
.hero-photo { display: flex; flex-direction: column; }
.hero-photo img { width: 100%; flex: 1; min-height: 0; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }

/* Color bands */
.band { padding: clamp(72px, 10vw, 136px) 0; }
.band.brick { background: var(--brick); color: var(--plaster); }
.band.green { background: var(--green); color: var(--plaster); }
.band.plaster-dark { background: var(--plaster-2); }
.band + .wrap.block { border-top: 0; }

/* Services */
.svcs { display: grid; gap: 0; }
.svc { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 28px 0; border-top: 1px solid currentColor; border-color: rgba(23,35,29,.18); }
.brick .svc { border-color: rgba(238,235,228,.3); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc p { font-size: 1.02rem; }
.brick .svc p { color: rgba(238,235,228,.88); }
.fit { margin-top: 12px; font-size: .95rem !important; color: var(--muted); }
.fit strong { font-weight: 600; color: var(--ink); }

/* Steps: a real sequence */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 3rem; line-height: 1; display: block; margin-bottom: 10px; color: rgba(238,235,228,.55); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: rgba(238,235,228,.88); font-size: 1rem; }

/* Timeline: a real sequence, in order */
.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
.timeline li { position: relative; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--plaster); border: 2px solid var(--brick); }
.timeline li:last-child::before { background: var(--brick); }
.place { font-size: .92rem; color: var(--muted); }
.timeline h3 { margin: 2px 0 6px; }
.timeline.light::before { background: rgba(238,235,228,.35); }
.timeline.light li::before { background: var(--brick); border-color: var(--plaster); }
.timeline.light li:last-child::before { background: var(--plaster); }
.timeline.light .place, .timeline.light p { color: rgba(238,235,228,.85); }

/* Feature photo */
.feature { position: relative; max-width: var(--max); margin: 0 auto clamp(64px, 9vw, 120px); padding: 0 var(--gutter); }
.feature img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 2px; }
.feature-card { position: relative; background: var(--plaster); max-width: 520px; padding: 36px 40px; margin: -120px 0 0 clamp(16px, 5vw, 64px); border-top: 4px solid var(--tile); }
.feature-card h2 { margin-bottom: 12px; }
.feature-card p { margin-bottom: 18px; }

/* Club */
.club { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.club-mark { width: 100%; border: 1px solid rgba(238,235,228,.28); background: #24463A; }
.club h2, .club .title { margin-bottom: 14px; }
.club p { max-width: 56ch; color: rgba(238,235,228,.88); }
.quiet { font-family: var(--serif); font-size: 1.6rem; color: #D9C7A0; margin: 22px 0 !important; line-height: 1.2; }
.quiet.dark { color: var(--brick); }
.club .link { display: inline-block; margin-top: 6px; }
.sh-page { padding-top: clamp(56px, 8vw, 104px); }

/* Press */
.press { list-style: none; }
.press li { border-top: 1px solid var(--rule); }
.press li:last-child { border-bottom: 1px solid var(--rule); }
.press a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 20px; padding: 18px 0; text-decoration: none; }
.press .outlet { font-weight: 600; }
.press .hl { color: var(--muted); }
.press a:hover .hl { color: var(--brick); text-decoration: underline; text-underline-offset: 4px; }

/* Page heads */
.page-head { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.title { font-size: clamp(3.6rem, 10vw, 8.5rem); line-height: .9; letter-spacing: -0.03em; margin-bottom: 28px; }
.page-head .statement { max-width: 32ch; }
.about-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.about-head .statement { max-width: 40ch; font-size: clamp(1.35rem, 2.1vw, 1.8rem); }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.wide { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wide img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-family: var(--serif); font-size: 1.35rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--brick); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Form */
.inquiry { display: grid; gap: 18px; max-width: 640px; }
.inquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry label { display: grid; gap: 6px; font-size: .95rem; font-weight: 500; }
.inquiry input, .inquiry select, .inquiry textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: var(--plaster); border: 1px solid #B9B09F; border-radius: 2px; padding: 12px 14px; width: 100%; }
.inquiry textarea { resize: vertical; }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: 2px solid var(--tile); outline-offset: 0; border-color: var(--tile); }
.inquiry .btn { justify-self: start; }
.note { font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.bio { border-left: 3px solid var(--brick); padding: 6px 0 6px 20px; margin-top: 12px; font-size: 1.05rem; }

/* Footer */
.foot { background: var(--ink); color: rgba(238,235,228,.8); padding: 72px var(--gutter) 36px; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-name { font-family: var(--serif); font-size: 2rem; color: var(--plaster); margin-bottom: 8px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fine { max-width: var(--max); margin: 56px auto 0; font-size: .85rem; color: rgba(238,235,228,.5); }

/* Responsive */
@media (max-width: 1020px) {
  .top nav { position: fixed; inset: 69px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--plaster); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 24px; transform: translateY(-120%); transition: transform .3s ease; visibility: hidden; }
  body.open .top nav { transform: none; visibility: visible; }
  .top ul { flex-direction: column; gap: 0; }
  .top ul li { border-bottom: 1px solid var(--rule); }
  .top ul a { display: block; padding: 14px 0; font-size: 1.1rem; color: var(--ink); }
  .top nav .btn { margin-top: 18px; text-align: center; }
  .menu { display: block; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .two, .hero, .about-head, .club { grid-template-columns: 1fr; }
  .two > h2 { position: static; }
  .svc { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: 1fr; }
  .press a { grid-template-columns: 1fr; gap: 2px; }
  .feature img, .wide img { aspect-ratio: 4 / 3; }
  .feature-card { margin: -48px 12px 0; padding: 28px 24px; }
  .club-mark { width: 120px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:last-child { grid-column: span 2; aspect-ratio: 4 / 3; }
  .inquiry .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: span 2; }
}
.two > div > h2 { margin-bottom: 16px; }
@media (max-width: 820px) {
  .top { padding-top: 12px; padding-bottom: 12px; }
  .mark { font-size: 1.25rem; }
  .top nav { inset: 57px 0 auto 0; }
}
.band-intro { margin-top: 18px; max-width: 34ch; color: rgba(238,235,228,.88); font-size: 1.1rem; }
.two > div:first-child > h2 + .band-intro { }
@media (min-width: 821px) { .two > div:first-child:has(.band-intro) { position: sticky; top: 104px; } }
.hero + .feature { margin-top: 0; }

/* v3: the record */
.hero3 { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(32px, 4vw, 56px); }
.hero3 .name { font-size: clamp(4rem, 13vw, 11.5rem); margin-bottom: clamp(20px, 3vw, 36px); }
.hero3-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.hero3-row .statement { max-width: 34ch; margin: 0; }
.hero3-row .actions { margin-top: 0; justify-content: flex-end; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--ink); }
.stats div { padding: 18px 20px 0 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.stats dt { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1; color: var(--brick); }
.stats dd { margin-top: 8px; font-size: .95rem; color: var(--muted); max-width: 20ch; }
.hero-wide { margin-bottom: 0; }
.hero-wide figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.record { list-style: none; }
.record h3 { font-size: 1.7rem; margin: 4px 0 10px; }
.record p { font-size: 1.02rem; }
.r-meta { font-size: .9rem !important; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.r-meta span { color: var(--brick); font-weight: 500; }
.record.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.record.grid li { border-top: 2px solid var(--ink); padding-top: 18px; }
.record.line li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(24px, 5vw, 72px); padding: 28px 0; border-top: 1px solid var(--rule); }
.record.line li:last-child { border-bottom: 1px solid var(--rule); }
.record.line .r-meta { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; gap: 4px; padding-top: 8px; }
.record.line h3 { grid-column: 2; margin-top: 0; }
.record.line p:not(.r-meta) { grid-column: 2; max-width: 64ch; }
.about-head .sub { color: var(--muted); max-width: 60ch; margin-top: 8px; }
.block { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.band .ba { margin-top: 0; }
@media (max-width: 960px) { .record.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .hero3-row { grid-template-columns: 1fr; }
  .hero3-row .actions { justify-content: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { margin-top: 20px; }
  .record.grid { grid-template-columns: 1fr; gap: 28px; }
  .record.line li { grid-template-columns: 1fr; }
  .record.line .r-meta, .record.line h3, .record.line p:not(.r-meta) { grid-column: 1; grid-row: auto; }
  .record.line .r-meta { flex-direction: row; padding-top: 0; }
}
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr 1fr; } .stats div:nth-child(3) { padding-left: 14px; border-left: 1px solid var(--rule); } .stats div:nth-child(n+3) { margin-top: 0; } .stats div + div { padding-left: 14px; } .stats dt { font-size: 2.2rem; } .stats dd { font-size: .85rem; } }
.record.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.record.grid h3 { font-size: 1.45rem; }
.record.grid p:not(.r-meta) { font-size: .96rem; }
@media (max-width: 1100px) { .record.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .record.grid { grid-template-columns: 1fr; } }

/* press book */
.pb-quote { padding-bottom: clamp(32px, 5vw, 64px); }
.pb-quote blockquote { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.08; max-width: 22ch; color: var(--brick); }
.pb-quote p { margin-top: 14px; color: var(--muted); }
.pb-intro { color: var(--muted); }
.pb { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.pb li { border-top: 1px solid var(--rule); }
.pb a { display: grid; gap: 6px; padding: 22px 0 24px; text-decoration: none; }
.pb-out { font-weight: 600; font-size: .95rem; }
.pb-out i { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 8px; }
.pb-hl { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.pb-tk { color: var(--muted); font-size: .98rem; }
.pb a:hover .pb-hl { color: var(--brick); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 820px) { .pb { grid-template-columns: 1fr; } }
