:root { --bg: #0e0e0e; --bg2: #171615; --fg: #f3efe6; --muted: #a39d92; --line: #2a2826; --accent: #e8b23a; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font: 17px/1.55 "Archivo", system-ui, -apple-system, Arial, sans-serif; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1; letter-spacing: -.02em; margin: 0 0 16px; }
h1 { font-size: clamp(52px, 12vw, 128px); font-weight: 900; letter-spacing: -.04em; line-height: .92; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(32px, 7vw, 56px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 800; }
p { margin: 0 0 14px; }
.kicker { text-transform: uppercase; letter-spacing: .2em; font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 14px; }
.lede { font-size: 20px; color: var(--muted); max-width: 640px; }
.btn { display: inline-block; background: var(--accent); color: #111; font-weight: 800; text-decoration: none; padding: 14px 22px; border-radius: 999px; border: 2px solid var(--accent); }
.btn.ghost { background: none; color: var(--fg); border-color: var(--line); }
.btn.small { padding: 8px 14px; font-size: 15px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; max-width: 1160px; margin: 0 auto; }
.nav nav { display: flex; align-items: center; gap: 18px; }
.nav nav a:not(.btn) { color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; }
.logo { color: var(--fg); text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: -.02em; }
.logo span { color: var(--accent); }
@media (max-width: 520px) { .nav nav a[href="/portland-branding-agency/"] { display: none; } }

main > section { max-width: 1160px; margin: 0 auto; padding: 56px 20px; }
.hero { padding-top: 72px; padding-bottom: 80px; min-height: min(70vh, 640px); display: flex; flex-direction: column; justify-content: center; }
.hero.short { min-height: 0; padding-bottom: 40px; }
.band { border-top: 1px solid var(--line); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 28px; }
.card { display: block; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 24px; color: var(--fg); text-decoration: none; transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.num { display: block; font-weight: 800; color: var(--accent); font-size: 14px; margin-bottom: 18px; }

.split { display: grid; gap: 24px; }
.split p { color: var(--muted); }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--accent); padding-top: 16px; }
.steps li::before { content: "0" counter(s); font-weight: 800; color: var(--muted); font-size: 14px; display: block; margin-bottom: 10px; }
.steps p { color: var(--muted); }

.list article { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.list article:last-child { border-bottom: 0; }
.list h2 { font-size: clamp(26px, 5vw, 40px); }
.list p, .list li { color: var(--muted); }
.list ul { margin: 0; padding-left: 18px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 800; font-size: 19px; cursor: pointer; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.cta { text-align: center; border-top: 1px solid var(--line); padding: 88px 20px !important; }
.cta h2 { margin-bottom: 28px; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 40px 20px; }
.foot .logo { display: inline-block; margin-bottom: 10px; }
.foot .fine { font-size: 13px; margin-top: 18px; }
.note { font-size: 15px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 12px; }
@media (min-width: 1000px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input:not([type=checkbox]), .form textarea { font: inherit; color: var(--fg); background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 10px; }
.form legend { font-weight: 600; font-size: 15px; padding: 0 6px; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; accent-color: var(--accent); }
.form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 800; }
.hp { position: absolute; left: -9999px; }
.flash { padding: 16px; border-radius: 12px; font-weight: 600; }
.flash.ok { background: #2a2410; color: var(--accent); }
.flash.bad { background: #2a1414; color: #f19a9a; }
/* Photos (temporary Unsplash images, credited in data/photo-credits.md; swap by replacing files in app/img/) */
.hero.has-photo { display: grid; gap: 32px; align-items: center; }
.hero-photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--bg2); }
.hero-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; display: block; }
@media (min-width: 900px) {
  .hero.has-photo { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-photo { aspect-ratio: 5 / 6; }
}
.card.photo { padding: 0; overflow: hidden; }
.card.photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.85) contrast(1.05) brightness(.9); transition: filter .3s; }
a.card.photo:hover img { filter: none; }
.card.photo .num { margin: 20px 24px 12px; }
.card.photo h3, .card.photo p { margin-left: 24px; margin-right: 24px; }
.card.photo p { margin-bottom: 24px; }
@media (min-width: 900px) { .hero.has-photo h1 { font-size: clamp(64px, 7.4vw, 104px); } }
