/* Innovatory Consulting — site styles. No build step; edit directly. */
:root {
  --ink: #1b2a55;   /* deep shade of the logo navy #25366D */
  --ink-2: #25366d;
  --accent: #38d6c4;
  --accent-ink: #0d7d72;
  --text: #1c2333;
  --muted: #5a6478;
  --bg: #f6f7fb;
  --card: #fff;
  --line: #e2e6ef;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(11 22 48 / 5%), 0 8px 24px rgb(11 22 48 / 6%);
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
h1, h2, h3, h4 { overflow-wrap: break-word; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw + .5rem, 3.8rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 85%); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand img { height: 52px; width: auto; }
@media (min-width: 821px) { .site-header .container { height: 88px; } .brand img { height: 64px; } .site-footer .brand img { height: 72px; } }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .8rem; border-radius: 8px; }
.nav a:hover { background: #eef1f7; }
.nav a[aria-current="page"] { color: var(--ink); background: #eef1f7; }
.nav .btn { margin-left: .5rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem; }
  .nav .btn { margin: .5rem 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 10px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff !important; }
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 6px 18px rgb(11 22 48 / 22%); }
.btn-accent { background: var(--accent); color: var(--ink) !important; }
.btn-accent:hover { background: #5be3d3; }
.btn-ghost { border-color: rgb(255 255 255 / 30%); color: #fff !important; }
.btn-ghost:hover { background: rgb(255 255 255 / 8%); }
.btn-outline { border-color: var(--line); color: var(--ink) !important; background: #fff; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--accent-ink); }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: .2rem; }

/* Hero */
.hero { position: relative; color: #cdd6ea; background: radial-gradient(1000px 500px at 85% -10%, rgb(56 214 196 / 22%), transparent 60%), radial-gradient(800px 500px at -10% 120%, rgb(88 112 255 / 22%), transparent 60%), var(--ink); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.hero .container { position: relative; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 58ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .9rem; }
.hero .eyebrow { color: var(--accent); }
.page-hero .container { padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }

/* Short screens such as phones in landscape: less vertical padding in heroes. */
@media (max-height: 500px) and (orientation: landscape) { .hero .container, .page-hero .container { padding: 2.5rem 0; } .facts { margin-top: 2rem; } .hero h1 { font-size: 2.2rem; } }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 10%); border-radius: var(--radius); overflow: hidden; margin-top: 3.5rem; max-width: 820px; }
.facts div { background: rgb(27 42 85 / 70%); padding: 1.25rem 1.4rem; }
.facts strong { display: block; color: #fff; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.1; }
.facts span { font-size: .9rem; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; margin-inline: auto; }

/* Cards */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.15rem, 4vw, 1.6rem); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.card:hover { border-color: #c9d2e3; }
@media (min-width: 980px) { .card-wide { grid-column: span 2; } }
.card-cta { background: #eef1f7; box-shadow: none; }
.card p { color: var(--muted); flex: 1; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e7faf7; color: var(--accent-ink); margin-bottom: 1rem; }
.icon svg { width: 22px; height: 22px; }

/* Services page */
.service { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; padding: 3rem 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service .intro { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #e7faf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230d7d72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.service-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.service-nav a { color: #dfe6f5; text-decoration: none; font-size: .9rem; border: 1px solid rgb(255 255 255 / 18%); padding: .4rem .8rem; border-radius: 999px; }
.service-nav a:hover { background: rgb(255 255 255 / 8%); }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Steps */
.steps { counter-reset: step; }
@media (min-width: 700px) { .grid.steps { grid-template-columns: repeat(3, 1fr); } }
.steps .card::before { counter-increment: step; content: "0" counter(step); font-weight: 700; color: var(--accent-ink); font-size: .9rem; letter-spacing: .1em; margin-bottom: .6rem; }

/* Salty Yak */
.yak-band { background: #0d0d0d; color: #d9cdb8; position: relative; overflow: hidden; }
.yak-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 10%, rgb(201 144 76 / 22%), transparent 60%); }
.yak-band .container { position: relative; }
.yak-band h2, .yak-band h3 { color: #fff; }
.yak-band .eyebrow { color: #d8a35f; }
.yak-intro { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
.yak-intro img { width: 140px; height: 140px; }
@media (max-width: 640px) { .yak-intro { grid-template-columns: 1fr; } .yak-intro img { width: 110px; height: 110px; } }
.app-card { background: #171717; border: 1px solid #2c2a27; border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .9rem; }
.app-card header { display: flex; align-items: center; gap: 1rem; }
.app-card img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.app-card h3 { margin: 0; }
.app-card p { margin: 0; color: #bdb3a3; flex: 1; }
.app-card .tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: #3a2e1d; color: #f6d39c; }
.app-card .tag.dev { background: #2b2b2b; color: #e6e1d8; border: 1px dashed #6b655c; }
.app-card .links { display: flex; flex-wrap: wrap; gap: .5rem; }
.app-card .links a { color: #f0d3a4; font-weight: 600; font-size: .92rem; }
.yak-band .btn-outline { background: transparent; color: #fff !important; border-color: #4a4540; }

/* App detail (apps page) */
.app-detail { display: grid; grid-template-columns: 96px 1fr; gap: 1.75rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.app-detail:first-of-type { border-top: 0; }
.app-detail img { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow); }
.app-detail .meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 1rem; }
.pill { font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: #eef1f7; color: var(--ink-2); }
.pill.live { background: #e3f8ee; color: #136c43; }
.pill.dev { background: #fff4de; color: #8a5a00; }
@media (max-width: 640px) { .app-detail { grid-template-columns: 1fr; } }

/* CTA */
.cta { background: var(--ink); color: #cdd6ea; border-radius: 24px; padding: clamp(2.25rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background-image: radial-gradient(600px 300px at 100% 0, rgb(56 214 196 / 22%), transparent 60%); }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { margin: 0; max-width: 52ch; }

/* Two-column prose */
.split > *, .grid > *, .form .row > * { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.prose p { font-size: 1.06rem; }

/* Contact */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.form label span.opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; padding: .75rem .9rem; border: 1px solid #cfd6e4; border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgb(56 214 196 / 35%); border-color: var(--accent-ink); }
.hp { position: absolute; left: -5000px; }
.form-status { padding: .9rem 1rem; border-radius: 10px; font-weight: 500; }
.form-status.ok { background: #e3f8ee; color: #136c43; }
.form-status.err { background: #fdecec; color: #9b1c1c; }
.contact-aside .card + .card { margin-top: 1rem; }
.contact-aside h3 { font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--ink); color: #9aa6c2; padding: 3.5rem 0 2rem; font-size: .94rem; }
.site-footer a { color: #cfd8ec; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .brand { display: inline-block; margin-bottom: 1rem; }
.site-footer .brand img { height: 64px; }
.footer-bottom { color: #b4bfd6; border-top: 1px solid rgb(255 255 255 / 10%); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a, .contact-aside a { overflow-wrap: anywhere; }
