/*
Theme Name: EKVELOR Studio
Author: EKVELOR Studio
Description: Ein hochwertiges, dunkles WordPress-Block-Theme für EKVELOR Studio mit klaren Leistungsbereichen und einem Teaser für VALTENO Lifestyle. Seiten und Texte lassen sich im WordPress Site Editor bearbeiten.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ekvelor-studio
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, featured-images, wide-blocks
*/

:root {
  --ek-ink: #10120f;
  --ek-panel: #181b18;
  --ek-cream: #f0eee8;
  --ek-paper: #f8f7f3;
  --ek-sand: #d8c4a0;
  --ek-olive: #68705f;
  --ek-muted: #b9bbb2;
  --ek-line: rgba(240, 238, 232, .18);
  --ek-max: 1240px;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--ek-ink); color: var(--ek-cream); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
body, button, input, select, textarea { font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--ek-sand); }
:focus-visible { outline: 2px solid var(--ek-sand); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { overflow: clip; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-title, .wp-block-query-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.wp-block-heading { text-wrap: balance; }
.wp-block-separator { border-color: var(--ek-line); }

/* Header */
.ek-header { position: relative; z-index: 20; background: rgba(15,17,15,.96); border-bottom: 1px solid var(--ek-line); color: var(--ek-cream); }
.ek-header__inner { box-sizing: border-box; width: min(var(--ek-max), calc(100% - 64px)); margin-inline: auto !important; min-height: 88px; gap: 32px; }
.ek-wordmark { min-width: 170px; }
.ek-wordmark__main { margin: 0; font-size: 23px; font-weight: 500; letter-spacing: .22em; line-height: 1.2; }
.ek-wordmark__sub { margin: 4px 0 0; padding-left: 3px; font-size: 9px; letter-spacing: .58em; line-height: 1.2; color: var(--ek-sand); }
.ek-header .wp-block-navigation { color: var(--ek-cream); font-size: 12px; letter-spacing: .03em; }
.ek-header .wp-block-navigation a { text-decoration: none; transition: color .2s ease; }
.ek-header .wp-block-navigation a:hover { color: var(--ek-sand); }
.ek-header .wp-block-navigation__responsive-container-open { color: var(--ek-cream); }
.ek-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--ek-ink); color: var(--ek-cream); padding: 28px; }
.ek-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; }
.ek-header__cta { white-space: nowrap; }
.ek-header__cta .wp-block-button__link { border: 1px solid rgba(216,196,160,.65); padding: 10px 17px; font-size: 11px; letter-spacing: .04em; }

/* Global type and buttons */
h1, h2, h3, h4, .ek-serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; }
.ek-eyebrow { margin: 0 0 19px; font-size: 10px; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; color: var(--ek-sand); }
.ek-section-title { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.08; margin: 0 0 20px; }
.ek-body-large { max-width: 620px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: #dfded8; }
.ek-muted { color: var(--ek-muted); }
.ek-button .wp-block-button__link, .wp-block-button.ek-button .wp-block-button__link { display: inline-flex; align-items: center; gap: 20px; border: 1px solid var(--ek-sand); border-radius: 0; background: var(--ek-sand); color: var(--ek-ink); padding: 14px 20px; font-size: 11px; line-height: 1.2; letter-spacing: .055em; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.ek-button--outline .wp-block-button__link { color: var(--ek-cream); background: transparent; border-color: rgba(240,238,232,.5); }
.ek-button .wp-block-button__link:hover { transform: translateY(-2px); background: var(--ek-cream); color: var(--ek-ink); border-color: var(--ek-cream); }

/* Hero */
.ek-hero { position: relative; isolation: isolate; min-height: 600px; display: flex; align-items: center; background: #11130f; overflow: hidden; color: var(--ek-cream); }
.ek-hero::before { content: ''; position: absolute; z-index: -2; inset: 0; background-image: url('assets/images/hero-automotive.jpg'); background-size: cover; background-position: center 47%; transform: scale(1.01); }
.ek-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(12,14,12,.97) 0%, rgba(12,14,12,.82) 34%, rgba(12,14,12,.28) 69%, rgba(12,14,12,.26) 100%), linear-gradient(0deg, rgba(10,12,10,.64), transparent 50%); }
.ek-container { width: min(var(--ek-max), calc(100% - 64px)); margin-inline: auto !important; }
.ek-hero__inner { padding-block: 104px 88px; }
.ek-hero__title { max-width: 720px; margin: 0 0 24px; font-size: clamp(56px, 8.2vw, 108px); line-height: .98; letter-spacing: -.055em; }
.ek-hero__copy { max-width: 520px; margin: 0 0 28px; color: #e0dfd8; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; }
.ek-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 74px; padding-top: 20px; border-top: 1px solid var(--ek-line); color: #d0cfc7; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.ek-hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.ek-hero__meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ek-sand); }

/* Service section */
.ek-services { background: var(--ek-cream); color: var(--ek-ink); padding: clamp(64px, 8vw, 112px) 0; }
.ek-services .ek-eyebrow { color: #777761; }
.ek-services__layout { gap: clamp(36px, 6vw, 90px); }
.ek-services__intro { flex-basis: 34% !important; }
.ek-services__cards { flex-basis: 66% !important; }
.ek-services .ek-section-title { max-width: 440px; }
.ek-services__intro > p:not(.ek-eyebrow) { max-width: 430px; color: #54564f; }
.ek-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ek-service-card { position: relative; min-height: 198px; padding: 25px 24px 24px; border: 1px solid #d8d5cc; background: rgba(255,255,255,.22); transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.ek-service-card:hover { transform: translateY(-3px); border-color: #aaa28e; background: #fbfaf6; }
.ek-service-card__num { display: block; margin-bottom: 32px; color: #7d806f; font-size: 10px; letter-spacing: .18em; }
.ek-service-card h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.15; }
.ek-service-card p { margin: 0; max-width: 300px; color: #5b5d55; font-size: 13px; line-height: 1.6; }
.ek-text-link { display: inline-flex; gap: 15px; align-items: center; margin-top: 25px; color: var(--ek-ink); font-size: 11px; text-decoration: none; border-bottom: 1px solid #aaa28e; padding-bottom: 7px; }
.ek-text-link:hover { color: #636956; }

/* Work / concept projects */
.ek-projects { padding: clamp(64px, 8vw, 104px) 0; background: #151815; color: var(--ek-cream); }
.ek-projects__head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.ek-projects__head .ek-section-title { max-width: 650px; margin-bottom: 0; }
.ek-projects__note { max-width: 340px; color: var(--ek-muted); font-size: 12px; margin-bottom: 4px; }
.ek-project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.ek-project-card { position: relative; display: flex; flex-direction: column; justify-content: end; min-height: 310px; padding: 18px; overflow: hidden; isolation: isolate; background: #242722; color: white; text-decoration: none; }
.ek-project-card::before { content: ''; position: absolute; z-index: -2; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.ek-project-card::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(9,11,9,.94) 0%, rgba(9,11,9,.32) 48%, rgba(9,11,9,.02) 100%); }
.ek-project-card:hover::before { transform: scale(1.05); }
.ek-project-card--brand::before { background-image: url('assets/images/project-branding.jpg'); }
.ek-project-card--social::before { background-image: url('assets/images/project-social.jpg'); }
.ek-project-card--products::before { background-image: url('assets/images/project-products.jpg'); }
.ek-project-card--auto::before { background-image: url('assets/images/project-automotive.jpg'); }
.ek-project-card__tag { margin: 0 0 8px; font-size: 9px; text-transform: uppercase; letter-spacing: .18em; color: var(--ek-sand); }
.ek-project-card h3 { margin: 0; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.12; }
.ek-project-card__sub { margin: 7px 0 0; color: #d7d6cf; font-size: 11px; }
.ek-projects__disclaimer { margin-top: 15px; color: #a5a79e; font-size: 11px; }

/* Valtino brand bridge */
.ek-valtino { background: #e7e3d9; color: #171a17; padding: clamp(64px, 8vw, 104px) 0; }
.ek-valtino__layout { gap: clamp(28px, 6vw, 84px); align-items: center; }
.ek-valtino__copy { flex-basis: 43% !important; }
.ek-valtino__visual { flex-basis: 57% !important; min-height: 365px; position: relative; background: #161916; color: #f2efe7; overflow: hidden; }
.ek-valtino__visual::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,14,12,.64), rgba(12,14,12,.05)), url('assets/images/project-products.jpg') center / cover; filter: saturate(.65); }
.ek-valtino__visual-inner { position: relative; padding: 42px; min-height: 365px; display: flex; flex-direction: column; justify-content: space-between; }
.ek-valtino__wordmark { font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: .17em; font-family: Georgia, 'Times New Roman', serif; }
.ek-valtino__caption { max-width: 250px; color: #e2dfd5; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.ek-valtino .ek-eyebrow { color: #777761; }
.ek-valtino .ek-section-title { font-size: clamp(36px, 4.4vw, 58px); }
.ek-valtino__copy > p:not(.ek-eyebrow) { color: #50534b; }

/* About */
.ek-about { padding: clamp(64px, 8vw, 100px) 0; background: var(--ek-paper); color: var(--ek-ink); }
.ek-about__layout { gap: clamp(36px, 8vw, 120px); align-items: start; }
.ek-about__intro { flex-basis: 45% !important; }
.ek-about__detail { flex-basis: 55% !important; padding-top: 7px; }
.ek-about__detail p { color: #55574f; }
.ek-about__values { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.ek-about__values span { padding: 8px 12px; border: 1px solid #d8d5cc; color: #4a4d45; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

/* CTA/contact */
.ek-contact { padding: clamp(62px, 8vw, 96px) 0; background: #131613; color: var(--ek-cream); border-top: 1px solid var(--ek-line); }
.ek-contact__inner { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.ek-contact .ek-section-title { max-width: 700px; margin-bottom: 16px; }
.ek-contact__copy { max-width: 600px; margin-bottom: 0; color: var(--ek-muted); }
.ek-contact__action { flex-shrink: 0; }
.ek-contact__notice { margin-top: 26px; border-top: 1px solid var(--ek-line); padding-top: 14px; color: #aeb0a6; font-size: 11px; }

/* Footer */
.ek-footer { background: #0c0e0c; border-top: 1px solid var(--ek-line); color: #d0d0c8; }
.ek-footer__inner { width: min(var(--ek-max), calc(100% - 64px)); margin-inline: auto !important; padding-block: 28px; }
.ek-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ek-footer .ek-wordmark__main { font-size: 18px; }
.ek-footer .ek-wordmark__sub { font-size: 8px; }
.ek-footer .wp-block-navigation { font-size: 11px; }
.ek-footer .wp-block-navigation a { text-decoration: none; }
.ek-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--ek-line); color: #92968c; font-size: 10px; }
.ek-footer__bottom a { text-decoration: none; }

/* Regular content pages */
.ek-page-shell { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding-block: 80px 110px; min-height: 55vh; }
.ek-page-shell > .wp-block-post-title { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; margin-bottom: 32px; }
.ek-page-shell .wp-block-post-content { max-width: 760px; }
.wp-block-post-content a { text-underline-offset: .2em; }

/* Responsive */
@media (max-width: 1000px) {
  .ek-header__inner, .ek-footer__inner, .ek-container { width: min(calc(100% - 40px), var(--ek-max)); }
  .ek-header__inner { min-height: 78px; }
  .ek-header__cta { display: none; }
  .ek-hero { min-height: 560px; }
  .ek-hero__inner { padding-block: 82px 66px; }
  .ek-services__intro, .ek-services__cards, .ek-valtino__copy, .ek-valtino__visual, .ek-about__intro, .ek-about__detail { flex-basis: 100% !important; }
  .ek-service-grid { margin-top: 22px; }
  .ek-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ek-project-card { min-height: 270px; }
  .ek-valtino__visual, .ek-valtino__visual-inner { min-height: 320px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 68px; }
  .ek-header__inner, .ek-footer__inner, .ek-container { width: calc(100% - 36px); }
  .ek-header__inner { min-height: 72px; gap: 16px; }
  .ek-wordmark__main { font-size: 20px; }
  .ek-hero { min-height: 650px; align-items: end; }
  .ek-hero::before { background-position: 62% center; }
  .ek-hero::after { background: linear-gradient(90deg, rgba(12,14,12,.9), rgba(12,14,12,.42)), linear-gradient(0deg, rgba(10,12,10,.82), rgba(10,12,10,.05) 100%); }
  .ek-hero__inner { padding-block: 110px 36px; }
  .ek-hero__title { font-size: clamp(52px, 15vw, 78px); }
  .ek-hero__copy { font-size: 15px; }
  .ek-hero__meta { gap: 12px 16px; margin-top: 44px; font-size: 8px; }
  .ek-services, .ek-projects, .ek-valtino, .ek-about, .ek-contact { padding-block: 58px; }
  .ek-section-title { font-size: clamp(35px, 10vw, 47px); }
  .ek-service-grid { grid-template-columns: 1fr; gap: 10px; }
  .ek-service-card { min-height: 0; padding: 22px; }
  .ek-service-card__num { margin-bottom: 22px; }
  .ek-projects__head { align-items: start; flex-direction: column; }
  .ek-project-grid { grid-template-columns: 1fr; gap: 12px; }
  .ek-project-card { min-height: 300px; }
  .ek-valtino__visual, .ek-valtino__visual-inner { min-height: 300px; }
  .ek-valtino__visual-inner { padding: 28px; }
  .ek-contact__inner { align-items: start; flex-direction: column; }
  .ek-footer__top { align-items: start; flex-direction: column; }
  .ek-footer .wp-block-navigation { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.ek-project-card > p:last-child { margin: 13px 0 0; }
.ek-project-card > p:last-child a { display: inline-block; color: #eee7d8; font-size: 10px; text-decoration: none; border-bottom: 1px solid rgba(216,196,160,.6); padding-bottom: 4px; }
.ek-project-card > p:last-child a:hover { color: var(--ek-sand); }

.ek-services a, .ek-valtino a, .ek-about a { color: #2e342b; }
.ek-services a:hover, .ek-valtino a:hover, .ek-about a:hover { color: #68705f; }


/* v1.1: Dedicated project and contact pages */
.ek-inner-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(78px, 10vw, 132px) 0 clamp(70px, 8vw, 105px); background: #151815; color: var(--ek-cream); }
.ek-inner-hero::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(12,14,12,.97) 0%, rgba(12,14,12,.82) 48%, rgba(12,14,12,.5) 100%), url('assets/images/hero-automotive.jpg') center 46% / cover; opacity: .9; }
.ek-inner-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(10,12,10,.45), transparent 55%); }
.ek-inner-hero__inner { padding-block: 10px; }
.ek-inner-hero__title { max-width: 900px; margin: 0 0 24px; font-size: clamp(46px, 7vw, 86px); line-height: 1.02; letter-spacing: -.05em; }
.ek-inner-hero__copy { max-width: 680px; color: #e0dfd8; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.ek-projects-page__disclaimer { max-width: 700px; margin-top: 28px; color: #c6c6bc; font-size: 12px; padding-left: 14px; border-left: 2px solid var(--ek-sand); }
.ek-projects-page__index { background: var(--ek-cream); color: var(--ek-ink); padding-block: 26px; border-bottom: 1px solid #d7d3c9; }
.ek-projects-page__index .ek-eyebrow { color: #6c7063; margin-bottom: 14px; }
.ek-projects-page__index-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ek-projects-page__index-links p { margin: 0; }
.ek-projects-page__index-links a { color: #272b25; text-decoration: none; font-size: 12px; border-bottom: 1px solid #c8c3b8; padding-bottom: 5px; }
.ek-projects-page__index-links a:hover { color: #68705f; border-color: #68705f; }
.ek-case-study { padding-block: clamp(58px, 8vw, 100px); scroll-margin-top: 86px; }
.ek-case-study--dark { background: #151815; color: var(--ek-cream); }
.ek-case-study--paper { background: var(--ek-paper); color: var(--ek-ink); }
.ek-case-study__layout { gap: clamp(30px, 7vw, 90px); align-items: center; }
.ek-case-study__copy { flex-basis: 46% !important; }
.ek-case-study__visual-column { flex-basis: 54% !important; }
.ek-case-study--reverse .ek-case-study__layout { flex-direction: row; }
.ek-case-study--paper .ek-eyebrow { color: #767967; }
.ek-case-study__copy .ek-section-title { max-width: 600px; font-size: clamp(34px, 4.3vw, 58px); }
.ek-case-study__copy > p:not(.ek-eyebrow):not(.ek-case-study__meta) { max-width: 540px; color: inherit; opacity: .82; }
.ek-case-study__meta { margin-top: 24px; color: var(--ek-sand); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.ek-case-study--paper .ek-case-study__meta { color: #747a67; }
.ek-case-study__link { display: inline-flex; margin-top: 15px; padding-bottom: 7px; color: inherit; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 12px; }
.ek-case-study__visual { position: relative; min-height: 400px; overflow: hidden; background-color: #262a25; background-position: center; background-size: cover; }
.ek-case-study__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,10,.02), rgba(10,12,10,.17)); }
.ek-case-study__visual--brand { background-image: url('assets/images/project-branding.jpg'); }
.ek-case-study__visual--social { background-image: url('assets/images/project-social.jpg'); }
.ek-case-study__visual--products { background-image: url('assets/images/project-products.jpg'); }
.ek-case-study__visual--auto { background-image: url('assets/images/project-automotive.jpg'); }
.ek-projects-page__cta { background: #10120f; color: var(--ek-cream); padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--ek-line); }
.ek-projects-page__cta-inner { max-width: 840px; text-align: center; }
.ek-projects-page__cta-inner .wp-block-buttons { justify-content: center; margin-top: 28px; }
.ek-contact-content { background: var(--ek-paper); color: var(--ek-ink); padding-block: clamp(58px, 8vw, 100px); }
.ek-contact-content__layout { gap: clamp(36px, 6vw, 88px); align-items: start; }
.ek-contact-content__intro { flex-basis: 40% !important; }
.ek-contact-content__form-column { flex-basis: 60% !important; }
.ek-contact-content__intro .ek-eyebrow { color: #777761; }
.ek-contact-content__intro > p:not(.ek-eyebrow) { max-width: 450px; color: #56584f; }
.ek-contact-points { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid #d9d6cd; }
.ek-contact-point { padding: 20px 0; border-bottom: 1px solid #d9d6cd; }
.ek-contact-point__number { margin: 0 0 8px; color: #7a7e6c; font-size: 9px; letter-spacing: .17em; }
.ek-contact-point h3 { margin: 0 0 6px; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.ek-contact-point p:last-child { margin: 0; max-width: 400px; font-size: 12px; color: #62645b; }
.ek-contact-form-panel { padding: clamp(24px, 4vw, 42px); background: #fff; border: 1px solid #e2dfd6; box-shadow: 0 14px 38px rgba(18,20,17,.04); }
.ek-contact-form-panel .ek-eyebrow { color: #777761; }
.ek-contact-form-panel__title { margin: 0 0 10px; font-size: clamp(28px, 3vw, 38px); }
.ek-contact-form-panel__copy { color: #62645b; font-size: 13px; margin-bottom: 26px; }
.ek-contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 16px; }
.ek-form-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.ek-form-field--full { grid-column: 1 / -1; }
.ek-form-field label { color: #22251f; font-size: 12px; font-weight: 600; }
.ek-form-optional { color: #888a80; font-weight: 400; margin-left: 5px; }
.ek-form-field input:not([type="checkbox"]), .ek-form-field select, .ek-form-field textarea { box-sizing: border-box; width: 100%; min-height: 47px; border: 1px solid #d4d2ca; border-radius: 0; background: #fbfaf7; color: #171a17; padding: 12px 13px; font: inherit; font-size: 14px; }
.ek-form-field textarea { min-height: 145px; resize: vertical; }
.ek-form-field input:focus, .ek-form-field select:focus, .ek-form-field textarea:focus { outline: 2px solid #777f6a; outline-offset: 1px; border-color: #777f6a; }
.ek-form-help { color: #6c6d64; font-size: 11px; }
.ek-form-field--privacy { padding-top: 2px; }
.ek-checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 11px !important; font-weight: 400 !important; line-height: 1.6; }
.ek-checkbox-label input { margin-top: 3px; accent-color: #454b3e; }
.ek-checkbox-label a { color: #3f4938; text-underline-offset: 3px; }
.ek-form-submit { display: inline-flex; width: 100%; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid var(--ek-ink); border-radius: 0; background: var(--ek-ink); color: var(--ek-cream); padding: 16px 18px; font-size: 12px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.ek-form-submit:hover { background: #33382f; border-color: #33382f; }
.ek-form-footnote { margin: 9px 0 0 !important; color: #74766d; font-size: 10px; line-height: 1.55; }
.ek-contact-form__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ek-form-notice { margin-bottom: 22px; padding: 16px 18px; border-left: 3px solid #68705f; background: #eef0e9; color: #24271f; font-size: 13px; line-height: 1.6; }
.ek-form-notice--error { border-left-color: #8c4b3f; background: #f5ece8; }
.ek-contact-bottom-cta { background: #e7e3d9; color: #171a17; padding-block: clamp(42px, 6vw, 72px); }
.ek-contact-bottom-cta__inner { max-width: 900px; }
.ek-contact-bottom-cta .ek-eyebrow { color: #777761; }
.ek-contact-bottom-cta .ek-section-title { font-size: clamp(32px, 4vw, 50px); }

@media (max-width: 800px) {
  .ek-case-study__copy, .ek-case-study__visual-column, .ek-contact-content__intro, .ek-contact-content__form-column { flex-basis: 100% !important; }
  .ek-case-study__visual { min-height: 340px; }
  .ek-case-study--reverse .ek-case-study__visual-column { order: 2; }
  .ek-case-study--reverse .ek-case-study__copy { order: 1; }
  .ek-contact-content__form-column { margin-top: 8px; }
}
@media (max-width: 600px) {
  .ek-inner-hero { padding-block: 68px 58px; }
  .ek-inner-hero__title { font-size: clamp(42px, 12vw, 58px); }
  .ek-projects-page__index-links { gap: 14px 20px; }
  .ek-case-study { padding-block: 52px; }
  .ek-case-study__layout { gap: 24px; }
  .ek-case-study__visual { min-height: 270px; }
  .ek-contact-content { padding-block: 52px; }
  .ek-contact-form-panel { padding: 22px 18px; }
  .ek-contact-form__grid { grid-template-columns: 1fr; gap: 16px; }
  .ek-form-field--full { grid-column: auto; }
}


/* v1.2.0: legal pages and clearly marked draft placeholders */
.ek-legal-body { background: var(--ek-paper); color: var(--ek-ink); padding-block: clamp(44px, 7vw, 88px); }
.ek-legal-body__inner { max-width: 850px !important; }
.ek-legal-body__inner h2 { margin-top: 2.1em; margin-bottom: .65em; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.ek-legal-body__inner h2:first-child { margin-top: 0; }
.ek-legal-body__inner p, .ek-legal-body__inner li { color: #4f524b; font-size: 14px; line-height: 1.8; }
.ek-legal-notice { margin: 0 0 34px !important; padding: 18px 20px; border-left: 3px solid #a98d60; background: #f2eee5; color: #3c3d36 !important; font-size: 13px !important; }
.ek-legal-notice strong { color: #171a17; }
.ek-legal-body__inner a { color: #30382d; text-underline-offset: 3px; }
.ek-legal-body__inner a:hover { color: #737a62; }
.ek-inner-hero--legal::before { background-position: 62% 46%; }
@media (max-width: 680px) {
  .ek-legal-body { padding-block: 38px; }
  .ek-legal-body__inner p, .ek-legal-body__inner li { font-size: 13px; }
  .ek-legal-notice { padding: 15px 16px; }
}
