/* Profive — standalone, responsive PHP portfolio. No external assets required. */
:root {
  --ink: #292620;
  --ink-soft: #665e54;
  --charcoal: #28251f;
  --charcoal-soft: #373129;
  --accent: #a54829;
  --accent-deep: #80351e;
  --gold: #c39a5b;
  --surface: #ffffff;
  --fog: #f4efe7;
  --stroke: #e1d8cb;
  --radius: 18px;
  --max-width: 1192px;
  --shadow: 0 20px 48px rgba(65, 47, 26, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: #fffdfa; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.55; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button { font: inherit; }
.container { width: min(calc(100% - 56px), var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; top: -90px; left: 20px; z-index: 999; background: var(--accent); color: var(--charcoal); padding: 10px 16px; font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 16px; }

/* Header */
.site-header { position: relative; z-index: 50; background: #faf7f1; border-bottom: 1px solid var(--stroke); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 27px; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 10px; color: var(--ink); }
.brand-symbol { display: flex; width: 40px; height: 40px; color: var(--ink); }
.brand-symbol svg { width: 100%; height: 100%; }
.brand-name { display: block; font-size: 29px; font-weight: 850; letter-spacing: -.075em; line-height: .95; }
.brand-dot, .footer-logo span { color: var(--accent); }
.brand-name small { display: block; font-size: 8.5px; color: #756855; font-weight: 700; text-transform: uppercase; line-height: 1.6; letter-spacing: .16em; padding-top: 5px; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 2vw, 30px); margin-left: auto; }
.site-nav a { font-size: 13px; color: var(--ink-soft); font-weight: 600; white-space: nowrap; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav a.active { position: relative; }
.site-nav a.active::after { content: ''; position: absolute; height: 3px; width: 18px; border-radius: 3px; left: 0; bottom: -12px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-switch { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 800; color: #958673; white-space: nowrap; border-left: 1px solid var(--stroke); padding-left: 22px; }
.language-switch a { color: #766a59; transition: color .2s; }
.language-switch a:hover, .language-switch a.selected { color: var(--accent); }
.menu-toggle { display: none; width: 42px; height: 42px; cursor: pointer; border: 1px solid var(--stroke); border-radius: 10px; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 1px; }

/* Typography, shared */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 850; letter-spacing: .19em; line-height: 1.5; text-transform: uppercase; color: #964a29; }
.eyebrow-line { display: inline-block; height: 2px; width: 25px; background: var(--accent); }
.eyebrow { max-width: 100%; }
.eyebrow-line { flex-shrink: 0; }
.eyebrow-light { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.82; }
.gradient-text { background: linear-gradient(95deg, #9d4126 0%, #b87635 65%, #8f6b39 100%); color: transparent; -webkit-background-clip: text; background-clip: text; }
.section { padding: 104px 0; }
.section-muted { background: var(--fog); }
.section-title { font-size: clamp(30px, 3.2vw, 46px); font-weight: 820; letter-spacing: -.048em; line-height: 1.18; max-width: 690px; margin: 14px 0 0; }
.section-title-medium { font-size: clamp(29px, 2.65vw, 39px); }
.section-heading { margin-bottom: 45px; }
.section-heading-split { display: grid; grid-template-columns: 1.1fr .76fr; align-items: end; gap: 85px; }
.section-heading-split p { font-size: 16px; line-height: 1.85; color: var(--ink-soft); max-width: 440px; margin: 0 0 2px; }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 25px; border-radius: 11px; padding: 14px 20px; min-height: 52px; font-size: 13px; font-weight: 780; line-height: 1.3; transition: background .2s, transform .2s, border-color .2s; }
.btn > span:last-child { font-size: 21px; font-weight: 400; line-height: 1; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--accent); border: 1px solid var(--accent); }
.btn-primary:hover { background: #873a22; }
.btn-outline { border: 1px solid #b6a58e; color: #493c2d; background: transparent; }
.btn-outline:hover { border-color: var(--accent); }
.btn-text { color: #5a4935; padding-left: 5px; }
.btn-light { background: white; color: #3d2e20; }
.btn-light:hover { background: #fff1df; }
.hero-actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; margin-top: 33px; }

/* Main hero */
.hero { position: relative; overflow: hidden; color: var(--ink); background: radial-gradient(ellipse at 80% 28%, #efdfc8 0, transparent 48%), linear-gradient(150deg, #faf7f1 0%, #f2eadf 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .29; pointer-events: none; background-image: linear-gradient(rgba(128, 96, 59, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(128, 96, 59, .13) 1px, transparent 1px); background-size: 82px 82px; mask-image: linear-gradient(90deg, transparent 20%, black 100%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; min-height: 630px; padding-block: 88px 80px; gap: 40px; }
.hero-layout > *, .inner-hero-layout > * { min-width: 0; }
.hero .eyebrow, .inner-hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(43px, 4.7vw, 67px); line-height: 1.13; letter-spacing: -.066em; font-weight: 850; margin: 27px 0 26px; }
.hero .lead { max-width: 610px; color: #6c5d4c; margin: 0; }
.hero-visual { position: relative; padding: 25px 3px; }
.hero-copy { animation: hero-enter .45s ease-out both; }
.hero-visual { animation: hero-enter .6s ease-out both; }
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.visual-grid-glow { position: absolute; inset: -50px; border-radius: 50%; background: radial-gradient(ellipse, rgba(172, 121, 61, .18) 5%, transparent 63%); filter: blur(17px); }
.hero-device { position: relative; z-index: 1; border: 1px solid #5b4b38; background: #2f2b25; box-shadow: 0 34px 65px rgba(72, 48, 23, .18); border-radius: 16px; overflow: hidden; transform: rotate(-1.5deg);  color: #fff6e9; }
.device-head { height: 52px; display: flex; align-items: center; gap: 15px; background: #383127; border-bottom: 1px solid #504437; color: #c3ac8e; padding: 0 19px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: .09em; }
.device-dots { display: flex; gap: 6px; }
.device-dots i { width: 7px; height: 7px; background: #44607b; border-radius: 50%; }
.device-dots i:first-child { background: #ef887f; }
.device-dots i:nth-child(2) { background: #f1bd65; }
.device-dots i:nth-child(3) { background: #69c6aa; }
.device-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: #edc88c; }
.device-live b { height: 6px; width: 6px; border-radius: 50%; background: #edc88c; box-shadow: 0 0 11px #bb8b4d; }
.device-content { padding: 27px 30px 28px; }
.device-topline { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; opacity: .85; margin-bottom: 11px; }
.device-content h2 { font-size: 20px; letter-spacing: -.03em; line-height: 1.3; font-weight: 780; margin-bottom: 25px; }
.device-sequence { display: grid; gap: 11px; }
.device-sequence-item { display: flex; align-items: center; gap: 14px; min-height: 76px; border: 1px solid #554737; background: #3a3229; padding: 14px 16px; border-radius: 10px; }
.sequence-nr { border-radius: 7px; background: rgba(239, 187, 135, .12); color: var(--accent); padding: 7px; font-weight: 700; font-family: ui-monospace, monospace; font-size: 12px; }
.device-sequence-item strong { display: block; font-size: 13px; font-weight: 800; letter-spacing: .055em; }
.device-sequence-item small { display: block; margin-top: 2px; color: #d6c5b0; font-size: 10.5px; }
.sequence-arrow { margin-left: auto; font-size: 20px; color: #dcb589; }
.device-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 26px; color: #ceb28f; font-size: 9px; font-family: ui-monospace, monospace; }
.progress-track { display: block; height: 4px; background: #66503a; flex: 1; border-radius: 4px; overflow: hidden; }
.progress-track span { display: block; width: 77%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: inherit; }
.visual-float { position: absolute; z-index: 3; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #79634a; border-radius: 14px; backdrop-filter: blur(10px); box-shadow: 0 15px 25px rgba(0,0,0,.15); color: var(--accent); font-family: ui-monospace, monospace; font-weight: 800; font-size: 15px; }
.visual-float-a { left: -24px; top: 18%; background: rgba(71, 54, 36, .95); transform: rotate(-11deg); }
.visual-float-b { right: -20px; bottom: 13%; background: rgba(63, 49, 34, .97); transform: rotate(10deg); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; border-top: 1px solid #dccdb8; min-height: 119px; align-items: center; }
.metric { display: flex; align-items: center; gap: 14px; }
.metric:not(:first-child) { padding-left: 29px; border-left: 1px solid #dccdb8; }
.metric strong { color: var(--ink); font-size: 35px; letter-spacing: -.06em; line-height: 1; }
.metric span { color: #79664e; font-size: 12px; line-height: 1.45; max-width: 180px; }

/* Cards / services */
.section-services { padding-bottom: 114px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.service-card { display: flex; flex-direction: column; border: 1px solid var(--stroke); background: #fff; border-radius: var(--radius); min-height: 445px; padding: 29px 27px 23px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c5a989; }
.service-card-head { display: flex; align-items: flex-start; justify-content: space-between; color: #887866; font-size: 11px; font-family: ui-monospace, monospace; font-weight: 600; }
.service-glyph { font-family: ui-sans-serif, sans-serif; display: inline-flex; align-items: center; justify-content: center; font-size: 33px; font-weight: 750; border-radius: 12px; color: #80351e; background: #f8eadd; width: 56px; height: 56px; }
.service-card h3 { margin: 41px 0 12px; font-size: 24px; font-weight: 780; letter-spacing: -.045em; }
.service-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.85; min-height: 88px; margin-bottom: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { display: inline-flex; align-items: center; background: #f4efe8; border: 1px solid #e9dfd2; color: #6a5944; font-size: 11px; font-weight: 680; border-radius: 6px; padding: 5px 9px; }
.service-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--stroke); margin-top: auto; padding-top: 18px; font-size: 12px; font-weight: 780; color: #964a29; }
.service-link span:last-child { font-size: 21px; line-height: 1; }
.service-link:hover { color: #70321c; }

/* Selected experience */
.proof-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; }
.proof-intro .section-title { margin-bottom: 23px; }
.proof-intro > p { color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.proof-intro .small-disclaimer { border-left: 3px solid #c48860; color: #706558; font-size: 12px; padding-left: 17px; margin-top: 27px; }
.proof-list { display: grid; gap: 13px; }
.proof-item { display: grid; grid-template-columns: 29px 1fr; gap: 15px; padding: 19px 21px; border: 1px solid #e7dfd4; background: white; border-radius: 12px; }
.proof-index { color: #8b7a65; font-family: ui-monospace, monospace; font-size: 12px; padding-top: 3px; }
.proof-type { font-size: 10px; letter-spacing: .11em; color: #964a29; font-weight: 800; text-transform: uppercase; }
.proof-item h3 { font-size: 16px; letter-spacing: -.02em; margin: 2px 0 8px; }
.proof-item p { color: var(--ink-soft); font-size: 12px; line-height: 1.75; margin: 0; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.step { padding: 0 13px 0 0; border-top: 2px solid #e4dacd; }
.step-number { display: inline-flex; color: #964a29; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 750; margin-top: -2px; padding-top: 22px; border-top: 2px solid var(--accent); }
.step h3 { margin: 21px 0 12px; font-size: 20px; line-height: 1.35; font-weight: 780; letter-spacing: -.035em; }
.step p { color: var(--ink-soft); font-size: 14px; line-height: 1.86; max-width: 350px; }

/* Inner hero */
.inner-hero { color: var(--ink); background: radial-gradient(circle at 80% 28%, #ead8bd, transparent 42%), linear-gradient(145deg, #faf7f1 0%, #f2eadf 100%); overflow: hidden; }
.inner-hero-layout { display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: 86px; padding-block: 100px 108px; min-height: 540px; }
.inner-hero-copy h1, .contact-hero h1 { font-size: clamp(40px, 4.5vw, 62px); letter-spacing: -.062em; line-height: 1.15; margin: 25px 0; font-weight: 830; }
.inner-hero .lead { color: #6c5d4c; margin-bottom: 0; max-width: 690px; }
.inner-visual { border: 1px solid #655039; border-radius: 17px; overflow: hidden; background: #302920; box-shadow: 0 35px 90px rgba(0, 0, 0, .18); transform: rotate(1.3deg); }
.visual-top { display: flex; gap: 5px; align-items: center; border-bottom: 1px solid #665039; height: 45px; padding: 0 18px; }
.terminal-dot { height: 7px; width: 7px; border-radius: 50%; background: #406280; }
.terminal-dot:first-child { background: #fa9687; }
.terminal-dot:nth-child(2) { background: #f1c36e; }
.terminal-dot:nth-child(3) { background: #73d1a5; }
.visual-top small { margin-left: auto; color: #c8ae8d; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .035em; }
.inner-visual-core { padding: 29px 27px 30px; }
.flow-heading { color: #cdbb9d; font-size: 12px; display: flex; align-items: center; gap: 9px; margin-bottom: 21px; }
.flow-pulse { display: inline-block; height: 8px; width: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(239, 187, 135, .13); }
.workflow-row { display: flex; align-items: center; gap: 15px; background: #41362a; border: 1px solid #62503b; border-radius: 9px; margin-bottom: 10px; padding: 13px 15px; color: #f6ecdd; font-size: 13px; }
.workflow-row:last-child { margin-bottom: 0; }
.workflow-number { color: #edbc88; font-size: 11px; font-family: ui-monospace, monospace; }
.workflow-check { margin-left: auto; color: #edbc88; font-weight: 800; }
.section-overview { padding-block: 91px; }
.overview-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 100px; align-items: center; }
.large-body { font-size: 17px; line-height: 1.9; color: var(--ink-soft); margin: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.capability-card { border: 1px solid #e7dfd4; background: white; border-radius: 14px; padding: 30px; min-height: 224px; }
.capability-index { display: inline-flex; height: 36px; width: 36px; border-radius: 9px; background: #f8eadd; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 780; color: #964a29; }
.capability-card h3 { font-size: 19px; font-weight: 780; margin: 20px 0 9px; letter-spacing: -.03em; }
.capability-card p { color: var(--ink-soft); line-height: 1.8; font-size: 14px; margin: 0; }
.section-stack { background: #342c23; color: white; }
.stack-layout { display: grid; grid-template-columns: .75fr 1fr; gap: 75px; }
.section-stack .eyebrow { color: var(--accent); }
.stack-groups { display: grid; gap: 23px; }
.stack-group { border-bottom: 1px solid #5e4b36; padding-bottom: 23px; }
.stack-group:last-child { border-bottom: 0; padding-bottom: 0; }
.stack-group h3 { color: #e0c9aa; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.stack-group .tag { color: #e9d1b4; border-color: #6c533a; background: #473829; }
.spotlight-section { padding-block: 78px; }
.spotlight-box { display: grid; grid-template-columns: 60px 1fr; gap: 30px; padding: 40px 44px; background: #f7eee3; border: 1px solid #e8d6c0; border-radius: 17px; }
.spotlight-icon { background: #f0ddc5; border-radius: 13px; display: grid; place-items: center; width: 54px; height: 54px; color: #964a29; font-size: 27px; }
.spotlight-box h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.04em; margin: 10px 0 13px; }
.spotlight-box p { color: #675646; font-size: 14px; line-height: 1.85; margin-bottom: 0; max-width: 900px; }

/* CTA */
.section-cta { padding-top: 26px; padding-bottom: 100px; }
.cta-box { position: relative; display: flex; align-items: center; min-height: 380px; overflow: hidden; border-radius: 21px; background: linear-gradient(120deg, #362b21, #735037 97%); padding: 60px 68px; color: #fff; }
.cta-content { position: relative; z-index: 2; max-width: 710px; }
.cta-content h2 { font-size: clamp(29px, 3.2vw, 43px); line-height: 1.18; letter-spacing: -.048em; margin: 13px 0 19px; }
.cta-content p { color: #ecd8c0; line-height: 1.75; font-size: 15px; margin-bottom: 25px; max-width: 580px; }
.cta-art { position: absolute; width: 370px; height: 370px; right: -37px; top: 4px; display: grid; place-items: center; opacity: .47; }
.cta-art-circle { position: absolute; border: 1px solid rgba(213, 255, 251, .4); border-radius: 50%; }
.cta-art-circle-a { width: 310px; height: 310px; }
.cta-art-circle-b { width: 220px; height: 220px; transform: translate(25px, -20px); }
.cta-art-mark { font-size: 160px; font-weight: 800; line-height: 1; letter-spacing: -.1em; transform: rotate(-8deg); }
.cta-art-mark span { color: var(--accent); }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(45px); }
.cta-orb-a { width: 270px; height: 270px; background: rgba(220, 158, 79, .15); right: -80px; top: -80px; }
.cta-orb-b { width: 300px; height: 300px; background: rgba(208, 138, 55, .2); left: 18%; bottom: -200px; }

/* Contact */
.contact-hero { padding: 95px 0 108px; }
.contact-hero h1 { max-width: 820px; }
.contact-lead { max-width: 830px !important; }
.contact-section { padding-top: 85px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; }
.contact-card, .contact-topic-card { border-radius: 17px; border: 1px solid var(--stroke); padding: 39px; }
.contact-card h2 { font-size: 30px; margin: 10px 0 29px; letter-spacing: -.04em; }
.registry-list { margin: 0 0 31px; }
.registry-list > div { display: grid; grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr); gap: 15px; border-bottom: 1px solid var(--stroke); padding: 15px 0; }
.registry-list dt { font-size: 12px; color: #736759; font-weight: 650; }
.registry-list dd { margin: 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.registry-list dd a { color: #964a29; }
.text-link { color: #964a29; font-weight: 780; font-size: 13px; }
.text-link:hover { text-decoration: underline; }
.contact-side { display: grid; gap: 22px; align-content: start; }
.contact-topic-card { background: var(--fog); }
.contact-topic-card ul { list-style: none; padding: 0; margin: 27px 0 0; }
.contact-topic-card li { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid #dce5ee; color: #324c62; font-size: 14px; }
.contact-topic-card li:last-child { border-bottom: 0; }
.contact-topic-card li span { color: #07967a; font-weight: 850; }
.contact-email-box { position: relative; display: grid; gap: 8px; background: #132a43; color: #fff; border-radius: 14px; padding: 30px; overflow-wrap: anywhere; }
.contact-email-box > span:first-child { color: #8de3cc; font-size: 12px; font-weight: 700; }
.contact-email-box strong { font-size: 19px; }
.contact-email-box > span:last-child { position: absolute; right: 25px; top: 20px; font-size: 26px; color: #8de3cc; }
.contact-email-box-muted { background: #f4eee5; color: #5e5143; border: 1px dashed #d4c6b3; }
.contact-email-box-muted > span:first-child { color: #796651; }
.contact-email-box-muted p { color: #796651; margin: 4px 0 0; font-size: 13px; line-height: 1.7; }

/* Footer */
.site-footer { background: #29251f; color: white; }
.footer-top { display: grid; grid-template-columns: 1.5fr .67fr 1fr; gap: 80px; padding: 72px 0 64px; }
.footer-logo { font-size: 39px; font-weight: 850; letter-spacing: -.075em; line-height: 1; }
.footer-brand p { max-width: 295px; color: #c0ad95; font-size: 13px; line-height: 1.8; margin-top: 18px; }
.footer-menu, .footer-registry { display: flex; align-items: flex-start; flex-direction: column; }
.footer-menu h2, .footer-registry h2 { font-size: 12px; color: #fff1df; margin: 2px 0 22px; letter-spacing: .02em; }
.footer-menu a { color: #c0ad95; font-size: 12px; margin-bottom: 11px; }
.footer-menu a:hover { color: var(--accent); }
.footer-registry p { color: #c0ad95; font-size: 12px; line-height: 2; }
.footer-registry strong { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; color: #c6ae8d; border-top: 1px solid #554535; padding: 20px 0 27px; font-size: 11px; }
.footer-bottom a:hover { color: var(--accent); }
.footer-divider { margin: 0 9px; }

/* Responsive */
@media (max-width: 1150px) {
  .site-nav { gap: 16px; }
  .header-inner { gap: 16px; }
  .brand-name { font-size: 26px; }
  .brand-symbol { width: 35px; height: 35px; }
  .language-switch { padding-left: 12px; }
  .hero-layout { gap: 18px; }
  .hero h1 { font-size: clamp(42px, 4.9vw, 59px); }
  .proof-layout { gap: 45px; }
}
@media (max-width: 1000px) {
  .header-inner { height: 78px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; z-index: 80; top: 77px; left: 0; right: 0; padding: 22px max(28px, calc((100vw - var(--max-width)) / 2)); background: #faf7f1; border-bottom: 1px solid var(--stroke); box-shadow: 0 23px 38px rgba(0,0,0,.13); }
  .site-nav.open { display: grid; gap: 0; }
  .site-nav a { display: block; padding: 12px 0; font-size: 15px; }
  .site-nav a.active::after { display: none; }
  .no-js .header-inner { height: auto; flex-wrap: wrap; padding-block: 18px; }
  .no-js .site-nav { position: static; display: flex; flex-wrap: wrap; flex-basis: 100%; order: 3; padding: 10px 0 0; box-shadow: none; gap: 8px 22px; border: 0; }
  .no-js .menu-toggle { display: none; }
  .language-switch { border: 0; }
  .hero-layout { min-height: auto; grid-template-columns: 1fr .91fr; padding-block: 80px; }
  .hero h1 { font-size: clamp(38px, 5vw, 50px); }
  .hero .lead, .inner-hero .lead { font-size: 15px; line-height: 1.8; }
  .device-content { padding: 24px 20px; }
  .device-content h2 { font-size: 17px; }
  .device-sequence-item { padding: 12px; }
  .inner-hero-layout { gap: 38px; }
  .footer-top { gap: 45px; }
  .section { padding-block: 85px; }
  .section-cta { padding-top: 20px; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 36px), var(--max-width)); }
  .hero-layout { grid-template-columns: 1fr; gap: 28px; padding-block: 70px 35px; }
  .hero h1 { font-size: clamp(41px, 8vw, 56px); }
  .hero .lead { max-width: 590px; }
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; padding: 20px 22px; }
  .hero-device { transform: rotate(0); }
  .visual-float-a { left: 2px; }
  .visual-float-b { right: 1px; }
  .hero-metrics { min-height: 110px; }
  .metric { flex-direction: column; align-items: flex-start; gap: 7px; }
  .metric:not(:first-child) { padding-left: 18px; }
  .metric strong { font-size: 27px; }
  .metric span { font-size: 11px; }
  .section-heading-split, .proof-layout, .overview-grid, .stack-layout, .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-heading-split p { max-width: 650px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 25px; }
  .service-card h3 { margin-top: 23px; }
  .service-card p { min-height: 0; }
  .service-card .tag-list { margin-bottom: 20px; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .step h3 { margin-top: 12px; }
  .step p { max-width: none; margin-bottom: 0; }
  .proof-layout { gap: 38px; }
  .inner-hero-layout { grid-template-columns: 1fr; padding-block: 75px; }
  .inner-hero-copy h1 { max-width: 680px; }
  .inner-visual { max-width: 520px; width: 100%; justify-self: center; transform: none; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 0; }
  .stack-layout { gap: 34px; }
  .spotlight-box { padding: 30px; }
  .cta-box { padding: 45px 34px; }
  .cta-art { right: -150px; opacity: .15; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-hero { padding: 75px 0; }
  .contact-section { padding-top: 60px; }
}
@media (max-width: 470px) {
  .section { padding-block: 65px; }
  .section-cta { padding-top: 10px; }
  .header-inner { height: 72px; }
  .brand-name { font-size: 25px; }
  .brand-symbol { width: 34px; }
  .brand { gap: 7px; }
  .brand-name small { font-size: 7px; letter-spacing: .08em; }
  .site-nav { top: 71px; }
  .header-actions { gap: 9px; }
  .language-switch { font-size: 11px; gap: 6px; padding-left: 0; }
  .menu-toggle { width: 38px; height: 38px; padding: 8px; }
  .hero-layout { padding-top: 57px; }
  .hero h1 { font-size: 40px; margin: 22px 0; }
  .hero .lead { font-size: 14px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 13px 16px; gap: 14px; min-height: 49px; font-size: 12px; }
  .device-content { padding: 19px 14px; }
  .device-head { padding-inline: 12px; font-size: 9px; }
  .device-sequence-item { min-height: 65px; }
  .device-sequence-item strong { font-size: 11px; }
  .device-sequence-item small { font-size: 9px; }
  .visual-float { width: 45px; height: 45px; font-size: 12px; }
  .hero-metrics { padding-block: 26px; }
  .metric { gap: 7px; }
  .metric strong { font-size: 25px; }
  .metric span { font-size: 10px; }
  .section-title { font-size: 31px; }
  .section-heading { margin-bottom: 32px; }
  .inner-hero-layout { padding-block: 65px; }
  .inner-hero-copy h1, .contact-hero h1 { font-size: 39px; }
  .inner-visual-core { padding: 20px 16px; }
  .workflow-row { font-size: 12px; padding: 10px 9px; gap: 10px; }
  .overview-grid { gap: 15px; }
  .large-body { font-size: 15px; }
  .spotlight-box { grid-template-columns: 1fr; gap: 13px; padding: 25px; }
  .spotlight-box h2 { font-size: 21px; }
  .cta-box { min-height: 370px; padding: 40px 25px; }
  .cta-art { right: -200px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-block: 50px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding-bottom: 30px; }
  .contact-card, .contact-topic-card { padding: 26px 20px; }
  .registry-list > div { grid-template-columns: 1fr; gap: 5px; padding-block: 12px; }
}
@media (max-width: 360px) {
  .hero h1, .inner-hero-copy h1, .contact-hero h1 { font-size: 34px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .hero-visual { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .hero-visual, .inner-visual, .cta-art, .menu-toggle, .section-cta { display: none !important; }
  .hero, .inner-hero { color: black; background: white; }
  .hero h1, .inner-hero h1 { color: #111; }
  .gradient-text { background: none; color: #111; }
  .hero .lead, .inner-hero .lead { color: #333; }
  .section { padding-block: 25px; }
}

/* Warm accents on dark illustration and footer surfaces. */
.hero-device, .inner-visual, .visual-float, .section-stack, .cta-box, .site-footer { --accent: #efbb87; --gold: #dfcb9b; }
.brand-accent { fill: var(--accent); }
.contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; }
.contact-form-card { background: #fffdfa; border: 1px solid var(--stroke); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); min-width: 0; }
.contact-form-card h2 { font-size: 32px; letter-spacing: -.04em; line-height: 1.2; margin: 12px 0; }
.form-intro { color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.contact-form { position: relative; display: grid; gap: 23px; margin-top: 30px; }
.form-field { display: grid; gap: 8px; min-width: 0; }
.form-field label { font-size: 13px; font-weight: 750; }
.form-field label span { color: #796c5c; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #c8baaa; border-radius: 8px; background: #fff; padding: 12px 13px; color: var(--ink); font: inherit; font-size: 16px; }
.form-field textarea { resize: vertical; line-height: 1.7; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-field [aria-invalid="true"] { border-color: #a32424; }
.field-hint, .field-error { font-size: 12px; line-height: 1.7; margin: 0; }
.field-hint { color: #756958; }
.field-error { color: #a32424; }
.form-privacy-note { font-size: 12px; color: var(--ink-soft); line-height: 1.8; margin: 0; }
.form-privacy-note a, .form-notice a { text-decoration: underline; text-underline-offset: 3px; }
.form-privacy-note a { color: var(--accent); font-weight: 700; }
.form-submit-row { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }
.form-submit-row small { font-size: 11px; color: var(--ink-soft); }
.form-submit-row button { cursor: pointer; }
.form-submit-row button:disabled { opacity: .55; cursor: not-allowed; }
.form-notice { padding: 18px; border-radius: 9px; border: 1px solid; margin-top: 24px; font-size: 13px; line-height: 1.7; }
.form-notice p { margin: 6px 0 0; }
.form-notice ul { margin-bottom: 0; padding-left: 20px; }
.form-notice-error { background: #fff0e9; color: #8f2c22; border-color: #ddaa96; }
.form-notice-success { background: #edf3e6; color: #3c562b; border-color: #a8bf90; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-section { padding-top: 0; }
.privacy-details { border: 1px solid var(--stroke); border-radius: 12px; background: #faf7f1; }
.privacy-details summary { padding: 22px 26px; font-weight: 700; cursor: pointer; }
.privacy-details summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.privacy-content { max-width: 900px; padding: 0 26px 26px; }
.privacy-content h3 { font-size: 15px; margin: 24px 0 9px; }
.privacy-content p { font-size: 13px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 0; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-form-card { padding: 28px; }
}
@media (max-width: 470px) {
  .contact-form-card { padding: 24px 20px; }
  .contact-form-card h2 { font-size: 27px; }
  .privacy-details summary { padding: 18px; }
  .privacy-content { padding-inline: 18px; }
}
