/* ================================
   Root Variables
================================ */
:root {
    --bg: #8a8a8a;
    --text: #000;
    --text-muted: #050505;
    --link: #57d0f9;
    --text-subtle: #CCC;
    --accent: #000;
    --rule: #57d0f9;
    --rule-soft: #BBB;
}

/* ================================
   Base
================================ */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: Hind, sans-serif;
    font-weight: 300;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.page-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 32px 80px;
}

a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
    transition: border-color 0.1s, color 0.2s;
}
a:hover {
    color: #000  ;
    border-bottom-color: #000;
}
/* ================================
 Header / Nav                                                *
 ================================ */
.site-header {
    margin-bottom: 56px;
    text-align: center;
}

.brand-row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    border: none;
    color: var(--text);
    margin-bottom: 4px;
}
.brand-row:hover { color: #000; border: none; }

.logo-wrap {
    display: flex;
    height: 44px;
    align-items: flex-end;
    gap: 3px;
    padding: 0;
    width: fit-content;
    flex-shrink: 0;
}
.bar {
    width: 11px;
    background: #000;
    height: 0;
    animation: grow var(--dur) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.b1 { --h: 22px; --dur: 0.7s; animation-delay: 0.1s; }
.b2 { --h: 33px; --dur: 0.9s; animation-delay: 0.1s; }
.b3 { --h: 44px; --dur: 1.1s; animation-delay: 0.1s; }
@keyframes grow {
    from { height: 0; }
    to   { height: var(--h); }
}

.brand {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 0.92;
    text-align: left;
}

.brand-tagline {
    font-size: 1.0rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 28px;
}

.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 26px;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding-top: 18px;
    border-top: 2px solid var(--rule-soft);
}

.site-nav a {
    color: var(--text-muted);
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
}
.site-nav a:hover { color: #000; border-bottom-color: #000; }
.site-nav a.current { color: #000; border-bottom-color: #000; }

strong, b {
    font-weight: 700;
}

/* ================================
   Sections & Typography
================================ */


.section { margin-top: 56px; }


.section-header {
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rule-soft);
}

.section-title {
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.subdued {
    color: var(--text-muted);
    font-weight: 400;
}

h1, h2, h3 {
    color: var(--text);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: 1.85rem;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

h2 {
    font-size: 1.2rem;
    margin: 28px 0 8px;
    letter-spacing: -0.005em;
}

h3 {
    font-size: 0.95rem;
    margin: 20px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

p {
    margin: 0 0 14px;
    color: var(--text);
}

ul, ol { padding-left: 22px; margin: 8px 0 14px; }
li { margin-bottom: 6px; color: var(--text); }

.lead {
    font-size: 1.08rem;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.muted { color: var(--text-muted); font-size: 0.9rem; }

/* ================================
   Service cards (home page)
================================ */
.service-list { margin: 20px 0; }

.service-item {
    padding: 18px 0;
    border-bottom: 2px solid var(--rule-soft);
}
.service-item:last-child { border-bottom: none; }

.service-item h2 {
    font-size: 1.1rem;
    margin: 0 0 6px;
}

.service-item h2 a { border: none; }
.service-item h2 a:hover { color: var(--link); border: none; }

.service-item p {
    margin: 0 0 4px;
    color: var(--text-muted);
}

.service-item .more {
    font-size: 0.88rem;
    font-weight: 550;
    color: var(--link);
}

/* ================================
   Service detail cards (services page)
================================ */
.detail-meta {
    margin-top: 18px;
    padding: 14px 18px;
    background: rgba(0,0,0,0.08);
    border-left: 3px solid var(--rule);
    font-size: 0.92rem;
}

.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.detail-meta-row:last-child { margin-bottom: 0; }

.detail-meta-label {
    font-weight: 700;
    width: 140px;
    color: var(--text);
}
.detail-meta-value {
    flex: 1;
    min-width: 200px;
    color: var(--text-muted);
}

/* ================================
   Case study
================================ */
.case {
    margin: 36px 0;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rule-soft);
}
.case:last-child { border-bottom: none; }

.case h2 { margin-top: 0; }

.case-context {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 14px;
}

.case dl { margin: 14px 0 0; }
.case dt {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-top: 16px;
}
.case dd {
    margin: 6px 0 0;
    color: var(--text);
}

/* ================================
   FAQ
================================ */
.faq-item {
    margin: 22px 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule-soft);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1rem;
}

.faq-a { color: var(--text); }

/* ================================
   Contact
================================ */
.contact-block {
    margin: 24px 0;
    padding: 22px 0;
    border-top: 1px solid var(--rule-soft);
    border-bottom: 1px solid var(--rule-soft);
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.contact-row:last-child { margin-bottom: 0; }

.contact-label {
    font-weight: 700;
    width: 120px;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
}
.contact-value { flex: 1; min-width: 200px; color: var(--text); }

/* ================================
   Footer
================================ */
.site-footer {
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid var(--rule-soft);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.site-footer a { color: var(--text-muted); border-bottom-color: var(--rule); }
.site-footer a:hover { color: #000; border-bottom-color: #000; }

/* ================================
   Anchor offset
================================ */
:target { scroll-margin-top: 24px; }

/* ================================
   Responsive
================================ */
@media (max-width: 640px) {
    .page-container { padding: 40px 22px 60px; }
    h1 { font-size: 1.55rem; }
    .brand { font-size: 1.5rem; }
    .site-nav { gap: 16px; font-size: 0.88rem; }
    .detail-meta-label { width: 110px; }
    .contact-label { width: 100px; }
}

