/* coolcoders — existing dark / mint system, fewer empty zones. */
body.df {--df-width:1120px;--df-ease:cubic-bezier(.4,0,.2,1);}
body.df > nav {z-index:106;}
body.df :is(h1,h2,h3) {text-wrap:balance;}
body.df > section:not(.hero) {padding-block:80px;padding-inline:max(24px,calc((100% - var(--df-width))/2));}
body.df .section-header {margin-bottom:40px;}
body.df .section-header h2 {font-size:clamp(29px,3.3vw,44px);line-height:1.16;letter-spacing:-.025em;max-width:28ch;margin-inline:auto;}
body.df .section-header p {font-size:16px;line-height:1.75;max-width:65ch;}
body.df .section-tag {font-size:11px;letter-spacing:.13em;line-height:1.5;}
body.df .hero {min-height:100vh;height:auto;padding-top:144px;padding-bottom:88px;}
body.df .hero-desc {font-size:16px;line-height:1.75;max-width:52ch;}
body.df .hero-headline {line-height:1.06;letter-spacing:-.035em;max-width:19ch;}
body.df :is(.services-grid,.projects-grid) {grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:var(--df-width);}
body.df .service-card {padding:28px;border-radius:12px;}
body.df .service-card h3 {font-size:18px;line-height:1.35;}
body.df .service-card p {font-size:15px;line-height:1.7;}
body.df .service-icon {width:44px;height:44px;border-radius:10px;margin-bottom:20px;}
body.df .project-card {padding:28px;border-radius:12px;}
body.df .project-card h3 {font-size:19px;line-height:1.35;overflow-wrap:anywhere;}
body.df .project-card p {font-size:15px;line-height:1.7;}
body.df .project-tech {padding-top:20px;border-top:1px solid var(--border);gap:6px;}
body.df #stack {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px 48px;align-items:center;}
body.df #stack .section-header {grid-column:1/-1;margin-bottom:8px;}
body.df .stack-wrapper {margin:0;min-width:0;width:100%;}
body.df .stack-category {text-align:left;margin-bottom:28px;}
body.df .stack-row {justify-content:flex-start;gap:10px;}
body.df .stack-category-label {letter-spacing:.1em;color:var(--text-secondary);}
body.df .stack-pill {font-size:12px;padding:9px 13px;}
body.df #stack .terminal-block {margin:0;min-width:0;width:100%;max-width:none;}
body.df .terminal-body {font-size:13px;line-height:1.9;overflow-wrap:anywhere;}
body.df .workflow-grid {gap:24px;}
body.df .workflow-step {padding:0 12px;}
body.df .workflow-step h3 {line-height:1.4;}
body.df .workflow-step p {font-size:14px;line-height:1.75;}
body.df #philosophy:has(.df-art) {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:center;}
body.df #philosophy:has(.df-art) .philosophy-content {text-align:left;min-width:0;}
body.df .philosophy-content p {font-size:16px;line-height:1.8;max-width:65ch;}
body.df .big-quote {font-style:normal;line-height:1.35;letter-spacing:-.02em;text-wrap:balance;}
body.df .df-art {margin:0;min-width:0;}
body.df .df-art img {display:block;width:100%;height:auto;}
body.df #team .services-grid {grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;}
body.df .numbers-strip {margin-top:40px;padding-top:32px;border-top:1px solid var(--border);}
body.df .faq-list {max-width:860px;border:1px solid var(--border);border-radius:12px;background:var(--bg-card);padding:0 24px;}
body.df .faq-item:last-child {border-bottom:0;}
body.df .faq-question {padding-block:22px;font-size:16px;line-height:1.45;gap:20px;}
body.df .faq-answer p {font-size:15px;line-height:1.75;max-width:72ch;}
body.df .page-header {padding-top:152px!important;padding-bottom:56px!important;}
body.df .page-header h1 {max-width:25ch;margin-inline:auto;line-height:1.1;letter-spacing:-.03em;}
body.df .page-header-sub {font-size:17px;line-height:1.7;max-width:65ch;}
body.df .content-section:has(> .service-detail) {max-width:1200px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:24px;}
body.df .content-section > .service-detail {margin-bottom:0;min-width:0;display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:0;}
body.df .service-detail {padding:32px;border-radius:12px;}
body.df .service-detail h3 {font-size:23px;line-height:1.3;margin-bottom:18px;}
body.df .service-detail p {font-size:16px;line-height:1.75;max-width:65ch;}
body.df .service-detail p + p {padding-top:18px;margin-top:18px;border-top:1px solid var(--border);}
body.df .service-detail .tech-used {margin-top:24px;gap:8px;}
body.df .about-text {max-width:75ch;font-size:16px;line-height:1.8;}
body.df .contact-card {padding:28px;min-width:0;}
body.df .contact-card a {overflow-wrap:anywhere;line-height:1.4;}
body.df .legal-content {max-width:1100px;padding-inline:24px;}
body.df .df-chapter {display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;padding:28px 24px;border-top:1px solid var(--border);}
body.df .df-chapter:nth-child(3n+2) {background:var(--bg-card);border-radius:8px;}
body.df .df-chapter-head h2 {font-size:21px;margin:0;line-height:1.3;}
body.df .df-chapter-body {min-width:0;overflow-wrap:anywhere;}
body.df .df-chapter-body :is(p,li) {font-size:16px;line-height:1.75;max-width:75ch;}
body.df .df-chapter-body > :first-child {margin-top:0;}
body.df .df-chapter-body > :last-child {margin-bottom:0;}
body.df .reveal {opacity:1;transform:none;transition:none;}
body.df :is(a,button,input,textarea):focus-visible {outline:2px solid var(--accent);outline-offset:4px;}
body.df :is(.btn-primary,.btn-secondary,.project-link) {transition:color .2s var(--df-ease),background-color .2s var(--df-ease),border-color .2s var(--df-ease);}
body.df .footer-inner {max-width:var(--df-width);line-height:1.8;gap:32px;}
@media(max-width:1000px) {
 body.df :is(.services-grid,.projects-grid) {grid-template-columns:repeat(2,minmax(0,1fr));}
 body.df .service-card,body.df .project-card {padding:24px;}
 body.df #stack {gap:32px;}
 body.df .df-chapter {grid-template-columns:180px minmax(0,1fr);gap:24px;padding-inline:20px;}
}
@media(max-width:767px) {
 body.df > section:not(.hero) {padding-block:56px;padding-inline:20px;}
 body.df .hero {min-height:100vh;padding:128px 24px 64px;}
 body.df .hero-headline {font-size:clamp(34px,8.4vw,54px);}
 body.df .hero-desc {font-size:15px;}
 body.df .section-header {margin-bottom:32px;}
 body.df :is(.services-grid,.projects-grid),body.df #team .services-grid {grid-template-columns:minmax(0,1fr);}
 body.df #stack,body.df #philosophy:has(.df-art) {grid-template-columns:minmax(0,1fr);}
 body.df .df-art {max-width:520px;}
 body.df .workflow-grid {grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px;}
 body.df .workflow-grid::before {display:none;}
 body.df .workflow-step {padding:0;}
 body.df .faq-list {padding-inline:18px;}
 body.df .page-header {padding-top:128px!important;padding-bottom:48px!important;}
 body.df .service-detail {padding:24px;}
 body.df .content-section:has(> .service-detail) {grid-template-columns:minmax(0,1fr);padding-inline:20px;}
 body.df .df-chapter {display:block;padding:24px 16px;}
 body.df .df-chapter-head h2 {margin-bottom:20px;}
 body.df .legal-content {padding-inline:12px;}
}
body.df .legal-content {max-width:860px;}
body.df .df-chapter,body.df .df-chapter:nth-child(3n+2) {display:block;background:transparent;border:0;border-radius:0;padding:24px 0;}
body.df .df-chapter-head h2 {margin:0 0 18px;max-width:100%;overflow-wrap:break-word;}
@media(prefers-reduced-motion:reduce) {
 body.df *,body.df *::before,body.df *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
