/* socratisp.com — global stylesheet, shared by every page.
   No media queries: responsiveness comes from clamp(), flex-wrap and auto-fit grids.
   Palette: bg #EEF1EC | text/dark #14241F | accent #0F6E5C (hover #0A4A42)
            muted #4A5A54 / #33433D | borders #C5CEC7 / #DDE3DC | alt bg #E3E8E1 */

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #EEF1EC;
  color: #14241F;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #14241F; text-decoration: none; }
a:hover { color: #0B4A3E; }
a:focus-visible { outline: 3px solid #14241F; outline-offset: 3px; border-radius: 4px; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; } /* no image can ever push a page wider than the screen */
h1, h2, h3, strong { font-weight: 700; }
h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.018em; }
p { text-wrap: pretty; }
button, a.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 28px; background: #0F6E5C; color: #FFFFFF; font-size: 18px; font-weight: 650; border: none; border-radius: 8px; cursor: pointer; }
button:hover, a.btn:hover { background: #0A4A42; }
a.secondary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
a.secondary:hover { color: #0B4A3E; }

/* ---------- Layout ---------- */
.container { max-width: 1328px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.stack { display: flex; flex-direction: column; gap: 1em; }
.grid { display: grid; gap: 2em; }

.section { padding: clamp(64px, 7vw, 96px) 0; }
.section-tight { padding: clamp(56px, 6vw, 80px) 0; }
.section-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.section-services { padding-bottom: clamp(48px, 5vw, 72px); }
.section-alt { background: #E3E8E1; }
.section-dark { background: #14241F; color: #EEF1EC; }
.section-dark h2 { color: #EEF1EC; }

/* ---------- Utilities ---------- */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-sm { margin-bottom: clamp(28px, 3vw, 40px); }
.mb-md { margin-bottom: clamp(32px, 4vw, 48px); }
.mb-lg { margin-bottom: clamp(32px, 4vw, 56px); }
.mt-20 { margin-top: 20px; }
.balance { text-wrap: balance; }
.meta { font-size: 15px; color: #4A5A54; }
.h3-20 { font-size: 20px; }
.h3-21 { font-size: 21px; }

/* ---------- Icons ---------- */
.checkmark { display: inline-block; width: 6px; height: 12px; margin: 0 4px 4px 6px; border-right: 2.5px solid #0F6E5C; border-bottom: 2.5px solid #0F6E5C; transform: rotate(45deg); flex: none; }
.dash { display: inline-block; width: 14px; height: 2.5px; margin: 13px 1px 0; background: #5F7069; flex: none; }

/* ---------- Header ---------- */
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 20; padding: 10px 16px; background: #14241F; color: #EEF1EC; font-weight: 600; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #EEF1EC; }
section[id] { scroll-margin-top: 80px; }

.site-header { position: sticky; top: 0; z-index: 10; padding: 12px 0; background: rgb(238 241 236 / 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #C5CEC7; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 720; letter-spacing: -0.01em; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: #0F6E5C; color: #FFFFFF; font-size: 14px; font-weight: 700; letter-spacing: 0; border-radius: 6px; flex: none; }
a.btn.btn-sm { min-height: 40px; padding: 0 20px; font-size: 16px; }

/* Mobile first: burger button + dropdown panel. The checkbox is the (CSS-only) toggle. */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 8px; cursor: pointer; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 22px; height: 2px; background: #14241F; border-radius: 2px; transition: transform 0.2s, background 0.2s; }
.nav-burger span { position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
.nav-burger span::before { top: -7px; }
.nav-burger span::after { top: 7px; }
.nav-toggle:checked + .nav-burger span { background: transparent; }
.nav-toggle:checked + .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid #14241F; outline-offset: 2px; }

.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; max-height: calc(100vh - 70px); overflow-y: auto; padding: 8px clamp(20px, 5vw, 64px) 24px; background: #EEF1EC; border-bottom: 1px solid #C5CEC7; box-shadow: 0 16px 24px rgb(20 36 31 / 0.1); }
.nav-toggle:checked ~ .site-nav { display: flex; }
.site-nav a:not(.btn) { display: flex; align-items: center; min-height: 56px; font-size: 20px; font-weight: 500; border-bottom: 1px solid #DDE3DC; }
.site-nav a:not(.btn)[aria-current] { color: #0F6E5C; font-weight: 650; }
.site-nav a.btn.btn-sm { justify-content: center; min-height: 50px; margin-top: 20px; font-size: 17px; }

/* Desktop: hide the burger, show the links inline. The only breakpoint in the site. */
@media (min-width: 820px) {
  .nav-burger { display: none; }
  .site-nav { display: flex; position: static; flex: 1 1 auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 28px; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav a:not(.btn) { display: inline-flex; min-height: 40px; font-size: inherit; font-weight: inherit; border: 0; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color 0.15s; }
  .site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current] { text-decoration-color: #0F6E5C; }
  .site-nav a.btn.btn-sm { min-height: 40px; margin-top: 0; font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero-layout { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.hero-copy { flex: 1 1 400px; max-width: 580px; }
.hero-copy .actions { margin-bottom: 28px; }
.lead { font-size: clamp(19px, 1.6vw, 22px); margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 28px; }

.checklist-card { flex: 1 1 420px; background: #F8FAF7; border: 1px solid #C5CEC7; border-radius: 12px; padding: 18px 28px; }
.checklist-card h3 { font-size: 16px; font-weight: 650; padding: 16px 0; border-bottom: 1px solid #C5CEC7; margin: 0; }
.checklist-card .check-item { padding: 13px 0; border-bottom: 1px solid #DDE3DC; }
.checklist-card .meta { margin-top: 14px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-text { font-size: 17px; font-weight: 500; }
.check-sub { display: block; font-size: 15px; font-weight: 400; color: #4A5A54; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 36px 48px; }
.stat { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid #3F514A; }
.stat-value { font-size: clamp(44px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.03em; font-weight: 720; }
.stat p { font-size: 17px; line-height: 1.5; color: #C9D4CE; margin: 0; }

/* ---------- Selected work ---------- */
.work-list { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 72px); }
.feature { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; }
.feature-body { flex: 1 1 380px; }

/* Featured project card (Grabbit) */
.feature-card { padding: clamp(24px, 4vw, 48px); background: #F8FAF7; border: 1px solid #C5CEC7; border-radius: 16px; }
.feature-card .shot-feature { flex: 1 1 400px; min-width: 0; } /* lets a real image shrink beside the text instead of wrapping */
.feature-card .actions { gap: 0 22px; }
.feature-card .actions a { font-size: 16px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 14px; font-size: 15px; color: #4A5A54; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; background: #0F6E5C; color: #FFFFFF; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; }
.feature-title { margin-bottom: 14px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.028em; }
.feature-lead { max-width: 34em; margin-bottom: 28px; color: #33433D; }
.milestones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-bottom: 28px; }
.milestones li { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 2px solid #0F6E5C; }
.milestone-value { font-size: clamp(26px, 2.4vw, 32px); font-weight: 720; line-height: 1; letter-spacing: -0.02em; }
.milestone-label { font-size: 14px; line-height: 1.35; color: #4A5A54; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px 64px; }
.card-result { font-size: 16px; font-weight: 600; margin: 0; }

.spec { display: grid; grid-template-columns: 96px 1fr; gap: 10px 20px; padding-top: 16px; border-top: 1px solid #C5CEC7; font-size: 16px; margin: 0; }
.spec dt { color: #4A5A54; font-weight: 600; }
.spec dd { margin: 0; }

.also-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px 48px; }
.also-list li { padding-top: 16px; border-top: 1px solid #C5CEC7; }
.also-list strong { font-size: 19px; }
.also-list p { margin: 4px 0 0; font-size: 16px; }
.also-list .meta { font-size: 15px; }

/* Placeholder boxes for screenshots and photos */
.shot { aspect-ratio: 16 / 9; padding: 24px; display: flex; align-items: center; justify-content: center; text-align: center; background: #DDE3DC; border: 1.5px dashed #7F9189; border-radius: 10px; font-size: 15px; color: #3D4D47; }
.shot-feature { flex: 1.3 1 420px; }
.shot-portrait { flex: 0 1 320px; aspect-ratio: 4 / 5; }
.portrait-photo { display: block; flex: 0 1 320px; width: 100%; max-width: 320px; min-width: 0; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 20%; border: 1px solid #C5CEC7; border-radius: 10px; }

/* Real screenshots of client sites */
.work-shot-link { display: block; }
.work-shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border: 1px solid #C5CEC7; border-radius: 10px; }

.quote { padding: 28px clamp(20px, 3vw, 40px); background: #E6EBE5; border: 1.5px dashed #7F9189; border-radius: 10px; }
.quote blockquote { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; font-weight: 500; margin: 0; }
.quote figcaption { margin-top: 12px; font-size: 15px; color: #3D4D47; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 32px 40px; }
.steps li { padding-top: 18px; border-top: 2px solid #14241F; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 17px; margin: 0; }
.step-num { font-size: 16px; font-weight: 700; color: #0F6E5C; margin-bottom: 6px; }

/* ---------- Services ---------- */
.h2-narrow { max-width: 18em; }
.service-groups { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 52px); }
.group-label { font-size: 16px; margin-bottom: 14px; color: #4A5A54; }
.service-list { padding: 0; border-bottom: 1px solid #C5CEC7; }
.service-list li { display: flex; flex-wrap: wrap; gap: 4px 48px; padding: 18px 0; border-top: 1px solid #C5CEC7; align-items: baseline; }
.service-list a { flex: 1 1 280px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.service-list p { flex: 2 1 380px; margin: 0; color: #33433D; }

/* ---------- Website examples ---------- */
.intro { max-width: 44em; color: #33433D; margin-bottom: clamp(28px, 3vw, 40px); }
.example-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px 40px; }
.example-list li { padding-top: 14px; border-top: 1px solid #C5CEC7; }
.example-list strong { font-size: 18px; }
.example-list p { font-size: 16px; color: #33433D; margin: 4px 0 0; }

/* ---------- Fit ---------- */
.split-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 36px 64px; }
.fit-list { display: flex; flex-direction: column; gap: 12px; }
.fit-note { margin: clamp(28px, 3vw, 40px) 0 0; padding-top: 20px; border-top: 1px solid #B9C4BC; font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: center; }
.about-copy { flex: 1.5 1 420px; }
.about-copy p { max-width: 38em; }
.about-copy p + p { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 32px 64px; }
.faq-item { padding-top: 20px; border-top: 1px solid #C5CEC7; }
.faq-item h3 { margin-bottom: 8px; font-size: 21px; }
.faq-item p { color: #33433D; margin: 0; }

/* ---------- Closing CTA ---------- */
.cta-title { margin-bottom: 24px; font-size: clamp(36px, 4.6vw, 66px); text-wrap: balance; }
.cta-text { max-width: 34em; color: #C9D4CE; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; margin-bottom: 8px; }
.link-light { display: inline-flex; align-items: center; min-height: 44px; color: #EEF1EC; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.link-light:hover { color: #EEF1EC; }

/* ---------- Footer ---------- */
/* The footer follows the dark closing CTA directly, so it has no top padding or full-width border:
   the divider sits inside the container and the two read as one closing block. */
.site-footer { padding: 0 0 28px; background: #14241F; color: #C9D4CE; }
.site-footer a { color: #EEF1EC; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: text-decoration-color 0.15s; }
.site-footer a:hover { color: #FFFFFF; text-decoration-color: #EEF1EC; }
.site-footer a:focus-visible { outline-color: #EEF1EC; }
.site-footer .brand-mark { background: #EEF1EC; color: #14241F; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 5vw, 72px); padding: clamp(40px, 5vw, 56px) 0; border-top: 1px solid #3F514A; }
.footer-brand { flex: 1.6 1 300px; }
.footer-grid > nav, .footer-contact { flex: 1 1 200px; }
.footer-brand p { max-width: 22em; margin-top: 16px; font-size: 16px; color: #C9D4CE; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #C9D4CE; border: 1px solid #3F514A; border-radius: 8px; transition: color 0.15s, border-color 0.15s; }
.social a:hover { color: #FFFFFF; border-color: #C9D4CE; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-heading { display: block; padding-bottom: 6px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #9FB0A8; }
.footer-grid nav a { display: block; padding: 9px 0; font-size: 16px; }
.footer-email { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 600; }
.footer-contact p { margin: 2px 0 10px; font-size: 16px; }
.footer-contact .footer-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 20px; border-top: 1px solid #3F514A; font-size: 15px; color: #9FB0A8; }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-bar a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; color: #C9D4CE; }

/* ---------- Inner pages ---------- */
/* Shared by the service, work, about, contact, examples and legal pages. */
.page-title { max-width: 15em; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; text-wrap: balance; }
.page-lead { max-width: 36em; }
.h3-card { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.018em; }

.point-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 32px 40px; }
.point-grid li { padding-top: 18px; border-top: 1px solid #C5CEC7; }
.point-grid h3 { margin-bottom: 6px; font-size: 21px; }
.point-grid p { font-size: 17px; color: #33433D; margin: 0; }
.point-grid .meta { margin-bottom: 6px; font-size: 15px; color: #4A5A54; }

.check-list .check-item { padding: 14px 0; border-top: 1px solid #C5CEC7; }
.check-list .check-item:last-child { border-bottom: 1px solid #C5CEC7; }
.proof { max-width: 34em; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; font-weight: 500; }

/* Website examples */
.example-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px 40px; }
.example-card .shot { aspect-ratio: 16 / 10; }
.example-card img { display: block; width: 100%; height: auto; border: 1px solid #C5CEC7; border-radius: 10px; }
.example-card h2 a, .example-list a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.example-card p { font-size: 16px; color: #33433D; margin: 0; }
.example-card p.mb-12 { margin-bottom: 12px; }

/* Contact form */
.contact-layout { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 96px); align-items: flex-start; }
.contact-form-wrap { flex: 2 1 480px; max-width: 760px; }
.contact-aside { flex: 1 1 260px; padding-top: 20px; border-top: 1px solid #C5CEC7; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px 24px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 600; }
.field-note { font-weight: 400; color: #4A5A54; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; background: #F8FAF7; color: #14241F; font: inherit; font-size: 17px; font-weight: 400; border: 1px solid #7F9189; border-radius: 8px; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #14241F; outline-offset: 2px; }
/* Invalid fields, only once the visitor has interacted with them or tried to submit. */
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border: 2px solid #B3261E; background: #FBF1F0; }
.check-label input:user-invalid { outline: 2px solid #B3261E; outline-offset: 2px; }
.field + .meta { margin-top: 8px; }
.check-label { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; font-size: 16px; }
.check-label input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: #0F6E5C; }
.check-label a { text-decoration: underline; text-underline-offset: 3px; }
.form-alert { margin-bottom: 20px; padding: 14px 18px; background: #14241F; color: #EEF1EC; font-size: 16px; border-radius: 8px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button:disabled { opacity: 0.6; cursor: progress; }

/* Legal text */
.prose { max-width: 46em; }
.prose h2 { margin: 36px 0 10px; font-size: 24px; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #33433D; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
