/* akhann.com — one small stylesheet, no framework.
   Colours: near-black ink on warm white, one orange from the 2018 "k" wordmark.
   Text colours were checked for AA contrast on --paper and --paper-2. */

:root {
  --ink: #14120f;
  --ink-2: #47433c;
  --ink-3: #66615a;
  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --line: #e2dccf;
  --accent: #e8531d;
  --accent-ink: #b23d0e;
  --accent-btn: #c2410c;   /* button fill: white text on it is 5.2:1 */
  --accent-btn-hover: #9a3412;
  --ok: #2f7d4f;
  --radius: 14px;
  --maxw: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; color: var(--paper); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); font-weight: 300; letter-spacing: -0.025em; }
h1 strong, h2 strong { font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 300; }
h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.small { font-size: .92rem; color: var(--ink-3); }
.muted { color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 500; font-size: 1.02rem; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent-btn); color: #fff; font-weight: 600; }
.btn--primary:hover { background: var(--accent-btn-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: transparent; color: var(--paper); border-color: rgba(250, 248, 244, .55); }
.btn--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 12px 20px; font-size: .96rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.arrow::after { content: '\2192'; transition: transform .15s ease; }
.btn:hover .arrow::after, a:hover > .arrow::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { display: block; padding: 10px 12px; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; border-radius: 8px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.nav .btn { margin-left: 10px; white-space: nowrap; }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-toggle {
    display: none; align-items: center; gap: 8px; background: none; border: 2px solid var(--ink); color: var(--ink);
    font: inherit; font-weight: 500; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  }
  .js .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; }
  .site-header .wrap { flex-wrap: wrap; }
  .nojs-nav { width: 100%; }
}

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.band { background: var(--paper-2); }
.band--dark { background: var(--ink); color: #d9d3c7; }
.band--dark h2, .band--dark h3 { color: var(--paper); }
.band--dark .eyebrow { color: #ff8a5b; }
.band--dark a:not(.btn) { color: #ffb08d; }
.band--dark .lead { color: #d9d3c7; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .note { margin-top: 1.2rem; font-size: .95rem; color: var(--ink-3); }
.proof { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 0; margin: 2.2rem 0 0; font-size: .95rem; color: var(--ink-2); }
.proof li { display: flex; align-items: center; gap: 10px; }
.proof li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.page-hero { padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 18em; }
.crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-3); }

@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* asset board (the hero illustration) */
.board { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(20, 18, 15, .25); }
.board-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.board-top strong { font-weight: 500; color: var(--ink); }
.board-top span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.board .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; }
.board .ico svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.board .what { flex: 1; min-width: 0; line-height: 1.3; }
.board .what b { display: block; color: var(--ink); font-weight: 500; }
.board .what small { color: var(--ink-3); font-size: .88rem; }
.pill { flex: none; font-size: .8rem; font-weight: 500; color: var(--ok); background: #e7f3ec; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pill--watch { color: #8a4a00; background: #fdf0d9; }
.board-foot { margin-top: 14px; font-size: .82rem; color: var(--ink-3); }

/* trust card (home hero) */
.trust { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(20, 18, 15, .25); }
.trust li { padding: 18px 24px; border-top: 1px solid var(--line); }
.trust li:first-child { border-top: 0; }
.trust b { display: block; color: var(--ink); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.005em; }
.trust span { color: var(--ink-2); font-size: .98rem; }

/* web apps band (home): heavier than the websites section on purpose */
.apps .app-card { background: #1d1b17; border: 1px solid #36322c; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; }
.apps .app-card .ico { width: 48px; height: 48px; border-radius: 12px; background: #2b2822; display: grid; place-items: center; margin-bottom: 1.1rem; }
.apps .app-card .ico svg { width: 24px; height: 24px; stroke: #ffb08d; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.apps .app-card .tag { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #ff8a5b; margin-bottom: .35rem; }
.apps .app-card h3 { color: var(--paper); font-size: 1.45rem; margin: 0 0 .4em; }
.apps .app-card p { margin: 0; color: #d9d3c7; }
.apps .apps-more { margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: #d9d3c7; }
.apps .apps-more p { margin: 0; }
.behind { padding: clamp(28px, 4vw, 44px) 0; text-align: center; }
.behind p { margin: 0 auto; max-width: 44rem; color: var(--ink); font-size: 1.15rem; }
.behind b { font-weight: 500; }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card--link:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 18px 36px -24px rgba(20, 18, 15, .4); color: inherit; }
.card--link .more { margin-top: auto; padding-top: 1rem; font-weight: 500; color: var(--accent-ink); }
.band .card { background: var(--paper); }

.problem { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; }
.problem h3 { font-size: 1.15rem; margin-bottom: .3em; }
.problem p { margin: 0; }

.num { font-size: .9rem; font-weight: 500; color: var(--accent-ink); letter-spacing: .1em; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: '0' counter(s); display: block; font-size: .9rem; font-weight: 500; color: var(--accent-ink); letter-spacing: .1em; margin-bottom: .6rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { font-size: .98rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg) translateY(-50%); transform-origin: center; }
.ticks b { color: var(--ink); font-weight: 500; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.split--wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

/* ---------- work ---------- */
.work-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(20, 18, 15, .45); color: inherit; }
.work-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.work-card .body { padding: 20px 22px 24px; }
.work-card h3 { margin-bottom: .15em; }
.work-card .tag { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.work-card p { margin: .5em 0 0; font-size: .98rem; }
.work-card .visit { display: inline-block; margin-top: .9rem; font-weight: 500; color: var(--accent-ink); }

/* ---------- faq ---------- */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 500; font-size: 1.12rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--accent-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 44rem; }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- call to action band ---------- */
.cta { text-align: left; }
.cta .split { align-items: center; }
.cta h2 { margin-bottom: .3em; }
.cta .btn-row { margin-top: 0; justify-content: flex-start; }
@media (min-width: 861px) { .cta .btn-row { justify-content: flex-end; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 500; color: var(--ink); font-size: .98rem; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff; width: 100%;
  border: 1.5px solid #bdb6a8; border-radius: 10px; padding: 13px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .9rem; color: var(--ink-3); }
.contact-card { background: var(--paper-2); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.contact-card dl { margin: 0; display: grid; gap: 16px; }
.contact-card dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.contact-card dd { margin: 2px 0 0; color: var(--ink); font-size: 1.12rem; }
.contact-card a { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: #0b0a08; border-top: 1px solid #2b2722; color: #bdb6a8; padding: 56px 0 28px; font-size: .98rem; }
.site-footer a { color: #e9e3d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: var(--paper); font-size: .85rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .tagline { margin: 12px 0 0; max-width: 20rem; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid #36322c; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* prose pages (privacy) */
.prose h2 { font-size: 1.5rem; font-weight: 500; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* error / thank-you */
.center-page { min-height: 60vh; display: grid; align-items: center; }
