/* Worley Studio — riso-print inspired: two spot inks overprinting on cool paper. */
:root {
  --blue: #2B4EA2;
  --yellow: #F6C033;
  --paper: #F6F7F5;
  --ink: #15171C;
  --grey: #555B67;
  --rule: #D5D9DF;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--grey); }

.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 10; text-decoration: none; }
.skip-link:focus { top: 12px; }

.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; justify-content: space-between; align-items: center; min-height: 68px; gap: 16px; }
.wordmark { font-family: var(--serif); font-size: 1.7rem; text-decoration: none; letter-spacing: -0.01em; }
.wordmark-small { font-size: 1.35rem; }
.site-header nav { display: flex; gap: 6px; align-items: center; font-weight: 500; font-size: 0.97rem; }
.site-header nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.site-header nav a:hover { background: #E7EAEE; }
.site-header nav .nav-cta { background: var(--blue); color: #fff; }
.site-header nav .nav-cta:hover { background: #22408A; }

.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--blue); border-color: var(--blue); }
.btn-line:hover { background: var(--yellow); }

/* Hero: the overprinted wordmark is the page's one loud moment */
.hero { padding: 56px 0 72px; border-bottom: 1px solid var(--rule); overflow: hidden; }
.overprint { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(4.5rem, 17vw, 15rem); line-height: 0.86; letter-spacing: -0.02em; margin: 0; }
.ink { display: block; }
.ink-yellow { color: var(--yellow); position: absolute; inset: 0; transform: translate(0.06em, 0.045em); }
.ink-blue { color: var(--blue); position: relative; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: no-preference) {
  .ink-yellow { animation: register 0.9s cubic-bezier(.2,.7,.2,1) 0.15s both; }
  @keyframes register { from { transform: translate(0.16em, 0.12em); opacity: 0; } to { transform: translate(0.06em, 0.045em); opacity: 1; } }
}
.hero-foot { margin-top: 48px; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.lead { font-size: 1.3rem; max-width: 30em; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.section { padding: 88px 0; border-bottom: 1px solid var(--rule); }

.services { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.service { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--rule); }
.service:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--rule); }
.service p { margin-top: 10px; color: var(--grey); max-width: 34em; }
.service-feature { grid-column: 1 / -1; padding: 36px 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 48px; }
.service-feature h3 { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; grid-row: span 2; }
.service-feature p { margin-top: 0; color: var(--ink); font-size: 1.15rem; }
.service-feature .service-note { color: var(--grey); font-size: 1rem; }
.service:not(.service-feature):nth-child(2) { padding-left: 0; border-left: 0; }
.service:not(.service-feature):nth-child(3) { padding-left: 28px; border-left: 1px solid var(--rule); }
.service:not(.service-feature):nth-child(4) { padding-left: 0; border-left: 0; }
.service:not(.service-feature):nth-child(5) { padding-left: 28px; border-left: 1px solid var(--rule); }

.work { background: var(--yellow); border-bottom-color: var(--ink); }
.work-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.work .muted { color: #4A3D12; margin-top: 12px; }
.work-card { display: grid; gap: 6px; text-decoration: none; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 26px 28px; box-shadow: 6px 6px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.work-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.work-title { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.work-desc { color: var(--grey); }
.work-link { margin-top: 8px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 12px; }
.steps p { margin-top: 8px; color: var(--grey); }

.pricing-intro { margin-top: 14px; max-width: 34em; }
.prices { margin: 36px 0 0; border-top: 2px solid var(--ink); }
.prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.prices dt { font-weight: 500; }
.prices dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; white-space: nowrap; color: var(--blue); }

.about-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
.about-copy p { font-size: 1.2rem; line-height: 1.6; max-width: 36em; }

.contact { background: var(--blue); color: #fff; border-bottom: 0; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.contact .muted { color: #D3DBEF; margin-top: 14px; }
.contact-email { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); text-decoration: none; border-bottom: 3px solid var(--yellow); overflow-wrap: anywhere; }
.contact-email:hover { color: var(--yellow); }

.site-footer { padding: 28px 0; background: var(--ink); color: #C6CAD2; font-size: 0.95rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer .wordmark { color: #fff; }

@media (max-width: 900px) {
  .work-row, .about-row, .contact-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .service-feature { grid-template-columns: 1fr; }
  .service-feature h3 { grid-row: auto; }
}
@media (max-width: 640px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(n) { padding: 24px 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .prices div { flex-direction: column; gap: 2px; }
}
