/* GoKronos — site styles
   Zilla Slab headings, Source Sans 3 text. Slate and sand, with the red from the logo flag. */

:root {
  --slate: #22304a;
  --slate-2: #33445f;
  --ink: #1d232e;
  --text: #39414f;
  --soft: #69707d;
  --sand: #f3ede2;
  --paper: #fffdf9;
  --line: #e2d9c9;
  --red: #d23f2a;
  --red-dark: #ab2f1d;
  --slab: "Zilla Slab", Rockwell, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --w: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.62 var(--sans); }
a { color: var(--slate); }
h1, h2, h3 { font-family: var(--slab); color: var(--slate); font-weight: 600; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 25px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.w { max-width: var(--w); margin: 0 auto; padding: 0 30px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 50; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .w { display: flex; align-items: center; height: 80px; gap: 36px; }
.brand { display: inline-flex; align-items: baseline; text-decoration: none; font-family: var(--slab); font-weight: 600; font-size: 30px; color: var(--slate); letter-spacing: -.01em; }
.brand .flag { display: inline-block; width: 11px; height: 26px; margin-right: 6px; position: relative; top: 2px; border-left: 2px solid var(--slate); }
.brand .flag::after { content: ""; position: absolute; left: 0; top: 0; border-left: 10px solid var(--red); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.brand b { color: var(--red); font-weight: 600; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 16px; }
.links a:hover { color: var(--red); }
.links a.cur { color: var(--slate); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.call { font-size: 15px; font-weight: 600; text-decoration: none; color: #fff; background: var(--slate); padding: 9px 14px; }
.call:hover { background: var(--slate-2); }
.menu-btn { display: none; margin-left: auto; font: 600 15px var(--sans); background: none; border: 2px solid var(--slate); color: var(--slate); padding: 7px 14px; cursor: pointer; }

/* buttons */
.btn { display: inline-block; text-decoration: none; font: 600 17px var(--sans); padding: 13px 24px; background: var(--red); color: #fff; border: 0; cursor: pointer; }
.btn:hover { background: var(--red-dark); }
.btn.slate { background: var(--slate); }
.btn.slate:hover { background: var(--slate-2); }
.btn.ghost { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 2px var(--slate); }
.btn.ghost:hover { background: var(--slate); color: #fff; }
.go { font-weight: 600; color: var(--red); text-decoration: none; }
.go:hover { text-decoration: underline; }
.go::after { content: " ›"; }

/* hero */
.hero { background: var(--sand); border-bottom: 1px solid var(--line); }
.hero .w { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; padding-top: 88px; padding-bottom: 88px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero p { font-size: 20px; max-width: 48ch; margin-bottom: 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--slate); padding: 28px 30px; }
.card h2 { font-size: 22px; margin-bottom: 14px; }
.card li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.card li span { font-weight: 400; color: var(--soft); font-size: 15px; text-align: right; }
.card .note { margin: 16px 0 0; font-size: 15px; color: var(--soft); }

/* sections */
.sec { padding: 88px 0; }
.sec.sand { background: var(--sand); }
.sec + .sec:not(.sand):not(.dark) { border-top: 1px solid var(--line); }
.sec.dark { background: var(--slate); color: #cfd6e3; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.headline { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: end; margin-bottom: 44px; }
.headline p { margin: 0; color: var(--soft); }
.dark .headline p { color: #aab4c6; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--slate); }
.three > div { padding: 26px 28px 8px 0; }
.three > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.three h3 { margin-bottom: 10px; }
.three p { font-size: 17px; }

.course { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.course .tag { display: inline-block; font-size: 14px; font-weight: 600; color: var(--red); margin-bottom: 10px; }
.course blockquote { margin: 0; font-family: var(--slab); font-size: 27px; line-height: 1.3; color: var(--slate); }

/* testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.quotes figure { margin: 0; padding: 28px 0 0; border-top: 1px solid #45567a; }
.quotes blockquote { margin: 0 0 14px; font-family: var(--slab); font-size: 24px; line-height: 1.35; color: #fff; font-weight: 500; }
.quotes figcaption { font-size: 15px; color: #aab4c6; }

/* page heading */
.ph { background: var(--sand); border-bottom: 1px solid var(--line); padding: 64px 0 52px; }
.ph p { max-width: 60ch; margin: 18px 0 0; font-size: 20px; color: var(--text); }

/* two-column with sticky side index (expertise, about) */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 24px; border-left: 3px solid var(--slate); padding-left: 18px; }
.toc strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.toc a { display: block; text-decoration: none; color: var(--text); padding: 5px 0; font-size: 16px; }
.toc a:hover { color: var(--red); }
.entry { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.entry:last-child { border-bottom: 0; margin-bottom: 0; }
.entry h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 14px; }
.entry .kind { font-size: 14px; font-weight: 600; color: var(--red); display: block; margin-bottom: 6px; }

/* services list */
.svc-list { border-top: 3px solid var(--slate); }
.svc-list > div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; padding: 36px 0; border-bottom: 1px solid var(--line); }

/* career table */
.jobs { width: 100%; border-collapse: collapse; border-top: 3px solid var(--slate); }
.jobs th { text-align: left; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.jobs td { padding: 22px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.jobs td:first-child { font-family: var(--slab); font-size: 26px; font-weight: 600; color: var(--slate); }
.jobs td:last-child { text-align: right; }
.jobs .btn { padding: 10px 20px; font-size: 16px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.addr { border-top: 3px solid var(--slate); }
.addr div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.addr span { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.addr a, .addr address { font-style: normal; color: var(--ink); font-size: 20px; text-decoration: none; }
.addr a:hover { color: var(--red); }
.formwrap { background: var(--sand); padding: 36px; }
.formwrap h2 { font-size: 30px; margin-bottom: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row2 .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
label small { font-weight: 400; color: var(--soft); font-size: 15px; }
input, textarea { width: 100%; font: 17px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #cfc5b2; padding: 12px 13px; border-radius: 2px; }
input:focus, textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 2px rgba(34,48,74,.15); }
textarea { min-height: 150px; resize: vertical; }
.no input, .no textarea { border-color: var(--red); background: #fdf3f1; }
.msg { display: none; color: var(--red-dark); font-size: 15px; margin-top: 4px; }
.no .msg { display: block; }
.formwrap .btn { margin-top: 22px; }
.ok { display: none; }
.sent .ok { display: block; }
.sent form { display: none; }

/* call to action strip */
.strip { background: var(--red); color: #fff; }
.strip .w { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.strip h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.strip p { margin: 6px 0 0; color: #ffe1db; }
.strip .btn { background: #fff; color: var(--red-dark); }
.strip .btn:hover { background: var(--sand); }

/* footer */
.bottom { background: #18212f; color: #9aa4b5; font-size: 16px; padding: 60px 0 28px; }
.bottom .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #2c3647; }
.bottom .brand { color: #fff; font-size: 27px; margin-bottom: 14px; }
.bottom .brand .flag { border-left-color: #fff; }
.bottom h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.bottom li { margin-bottom: 7px; }
.bottom a { color: #d6dce6; text-decoration: none; }
.bottom a:hover { color: #fff; text-decoration: underline; }
.bottom address { font-style: normal; }
.bottom .legal { padding-top: 22px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .hero .w, .headline, .course, .svc-list > div, .contact, .doc { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .three { grid-template-columns: 1fr; }
  .three > div, .three > div + div { padding: 24px 0 6px; border-left: 0; }
  .three > div + div { border-top: 1px solid var(--line); }
  .call { display: none; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .top { position: relative; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 4px 30px 18px; z-index: 20; }
  .menu-on .links { display: flex; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .links a.cur { text-decoration: none; color: var(--red); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .w { padding-left: 18px; padding-right: 18px; }
  .links { padding-left: 18px; padding-right: 18px; }
  .hero .w { padding-top: 52px; padding-bottom: 52px; }
  .sec { padding: 60px 0; }
  .ph { padding: 46px 0 38px; }
  .quotes { grid-template-columns: 1fr; }
  .jobs thead { display: none; }
  .jobs td { display: block; padding: 0; border: 0; text-align: left !important; }
  .jobs tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .jobs td:first-child { font-size: 23px; margin-bottom: 4px; }
  .jobs td:nth-child(2) { margin-bottom: 12px; color: var(--soft); }
  .row2 { grid-template-columns: 1fr; }
  .formwrap { padding: 24px 18px; }
  .bottom .cols { grid-template-columns: 1fr; }
}
