/* Senkada Labs — site styles */
:root {
  --ink: #1C1C1C;
  --ink-2: #242424;
  --line: #383532;
  --line-2: #4A4642;
  --text: #F4EEE6;
  --text-2: #CFC8BE;
  --text-3: #C9C1B6;
  --accent: #F0A23B;
  --accent-hover: #F7C27A;
  --red: #A63A35;
  --radius: 6px;
  --container: 1240px;
}

*, *::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(--ink);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
section[id] { scroll-margin-top: 16px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--accent); color: var(--ink); padding: 10px 16px;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.band { height: 10px; background: var(--red); border-bottom: 2px solid var(--accent); }
.band-bottom { border-bottom: 0; border-top: 2px solid var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  border: 0; cursor: pointer; transition: background-color .15s, border-color .15s, opacity .15s;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { border: 1.5px solid #5A5550; color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 22px; padding-bottom: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: .04em; color: var(--accent); }
.brand-name span { color: var(--text); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.site-nav a:not(.btn) { color: #E4DDD3; text-decoration: none; padding: 10px 0; }
.site-nav a:not(.btn):hover { color: var(--accent); }

/* Typography helpers */
.eyebrow { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.eyebrow-muted { color: var(--text-3); }
.eyebrow-light { color: #FBE3C0; }
.accent { color: var(--accent); }
h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; }
.lead { font-size: 19px; line-height: 1.65; color: var(--text-2); max-width: 560px; }
.lead-sm { font-size: 17px; line-height: 1.7; color: var(--text-2); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.hero-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.emblem {
  width: 100%; max-width: 480px; aspect-ratio: 1 / 1; background: var(--red);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 11%;
}
.emblem img { width: 100%; height: 100%; object-fit: contain; }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding-top: 0; }
.section-alt { background: var(--ink-2); }
.section-red { background: var(--red); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-bottom: 48px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.card svg { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; font-weight: 600; }
.card p { font-size: 15.5px; line-height: 1.65; color: var(--text-3); }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.project { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.project img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.project-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.project .tag { font-size: 13px; color: var(--accent); font-weight: 500; }
.project h3 { font-size: 24px; font-weight: 600; }
.project p:not(.tag) { font-size: 15.5px; line-height: 1.65; color: var(--text-3); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.about-head { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.about-head h2 { color: #fff; }
.about-body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.75; color: #fff; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--accent); padding-top: 20px; }
.steps span { font-size: 14px; font-weight: 600; color: var(--accent); }
.steps h3 { font-size: 19px; font-weight: 600; }
.steps p { font-size: 15px; line-height: 1.65; color: var(--text-3); }

/* Contact */
.contact {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start;
}
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-lines { display: flex; flex-direction: column; gap: 8px; font-size: 16px; padding-top: 8px; color: var(--text-2); }
.contact-form { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #E4DDD3; }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--ink); color: var(--text);
  font: inherit; font-size: 16px;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240, 162, 59, .25); }
.contact-form [aria-invalid="true"] { border-color: #E07B70; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { font-size: 15px; color: var(--text-2); }
.form-status.ok { color: #9FD8A4; }
.form-status.err { color: #F2A49B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.site-footer { border-top: 1px solid #333; padding: 32px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: #B9B2A8; }
.footer-inner a { color: #B9B2A8; }
.footer-inner a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .site-nav { gap: 4px 20px; }
  .hero { padding-top: 24px; padding-bottom: 72px; gap: 40px; }
  .section { padding: 72px 0; }
  .section-tight { padding-top: 0; }
  .card, .project-body { padding: 24px; }
}
