/*
Theme Name: Emre Arıcı Premium
Theme URI: https://emrearici.com.tr/
Author: Emre Arıcı
Author URI: https://emrearici.com.tr/
Description: Emre Arıcı için hazırlanmış hızlı, modern ve blok editörü uyumlu kişisel portföy teması.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: emrearici-premium
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ea-ink: #191b25;
  --ea-ink-soft: #303441;
  --ea-muted: #6d7180;
  --ea-line: rgba(25, 27, 37, 0.11);
  --ea-paper: #ffffff;
  --ea-canvas: #f8f6f2;
  --ea-cream: #f0e8dd;
  --ea-orange: #c7572c;
  --ea-orange-dark: #9e3e1d;
  --ea-purple: #5d3f8c;
  --ea-purple-soft: #eee9f7;
  --ea-success: #19745b;
  --ea-radius-sm: 14px;
  --ea-radius: 24px;
  --ea-radius-lg: 38px;
  --ea-shadow: 0 24px 70px rgba(34, 28, 22, 0.10);
  --ea-shadow-soft: 0 12px 36px rgba(34, 28, 22, 0.07);
  --ea-container: min(1180px, calc(100% - 40px));
  --ea-font: "Aptos", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ea-ink);
  background: var(--ea-canvas);
  font-family: var(--ea-font);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(199, 87, 44, 0.35);
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  color: #fff;
  background: var(--ea-ink);
  border-radius: 8px;
}

.ea-container {
  width: var(--ea-container);
  margin-inline: auto;
}

.site-main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--ea-line);
  box-shadow: 0 10px 32px rgba(25, 27, 37, 0.05);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.custom-logo-link,
.brand-default {
  display: inline-flex;
  align-items: center;
}

.custom-logo,
.brand-default img {
  width: auto;
  height: 48px;
  max-width: 300px;
  object-fit: contain;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation a {
  display: block;
  padding: 11px 13px;
  color: var(--ea-ink-soft);
  font-size: 15px;
  font-weight: 650;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
  color: var(--ea-orange-dark);
  background: rgba(199, 87, 44, 0.08);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  color: #fff !important;
  background: var(--ea-ink) !important;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(25, 27, 37, 0.14);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ea-ink);
  background: var(--ea-paper);
  border: 1px solid var(--ea-line);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.ea-hero {
  position: relative;
  padding: 58px 0 40px;
}

.ea-hero::before {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  content: "";
  background: radial-gradient(circle, rgba(93, 63, 140, 0.13), rgba(93, 63, 140, 0) 68%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--ea-paper);
  border: 1px solid rgba(25, 27, 37, 0.08);
  border-radius: var(--ea-radius-lg);
  box-shadow: var(--ea-shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 30px 72px 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 22px;
  color: var(--ea-orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  content: "";
  background: var(--ea-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(199, 87, 44, 0.10);
}

.hero-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-title span {
  display: block;
  color: var(--ea-purple);
}

.hero-description {
  max-width: 620px;
  margin: 27px 0 0;
  color: var(--ea-muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ea-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 750;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ea-button:hover {
  transform: translateY(-2px);
}

.ea-button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ea-orange), var(--ea-orange-dark));
  box-shadow: 0 16px 28px rgba(199, 87, 44, 0.22);
}

.ea-button--ghost {
  color: var(--ea-ink);
  background: #fff;
  border-color: var(--ea-line);
}

.ea-button svg {
  width: 18px;
  height: 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.hero-tags li {
  padding: 9px 13px;
  color: var(--ea-ink-soft);
  background: var(--ea-canvas);
  border: 1px solid var(--ea-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  margin: 18px;
  overflow: hidden;
  background: linear-gradient(155deg, #f5eee5 0%, #eadfce 100%);
  border-radius: 28px;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::before {
  top: -70px;
  right: -90px;
  width: 300px;
  height: 300px;
  background: rgba(93, 63, 140, 0.16);
  filter: blur(2px);
}

.hero-visual::after {
  bottom: -120px;
  left: -100px;
  width: 330px;
  height: 330px;
  background: rgba(199, 87, 44, 0.13);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.visual-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: var(--ea-ink);
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  box-shadow: 0 15px 34px rgba(25, 27, 37, 0.13);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 750;
}

.visual-badge--top {
  top: 26px;
  right: 26px;
}

.visual-badge--bottom {
  bottom: 26px;
  left: 26px;
}

.visual-badge i {
  width: 9px;
  height: 9px;
  background: var(--ea-success);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(25, 116, 91, 0.11);
}

.ea-section {
  padding: 104px 0;
}

.ea-section--white {
  background: var(--ea-paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 48px;
}

.section-kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--ea-orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-intro {
  margin: 0;
  color: var(--ea-muted);
  font-size: 17px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  background: var(--ea-paper);
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(199, 87, 44, 0.25);
  box-shadow: var(--ea-shadow-soft);
  transform: translateY(-8px);
}

.service-number {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--ea-orange-dark);
  background: rgba(199, 87, 44, 0.08);
  border-radius: 15px;
  font-size: 14px;
  font-weight: 850;
}

.service-card h3 {
  margin: auto 0 13px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0;
  color: var(--ea-muted);
  font-size: 15px;
  line-height: 1.66;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--ea-orange-dark);
  font-size: 14px;
  font-weight: 750;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.72fr);
  align-items: start;
  gap: 90px;
}

.about-copy .section-title {
  margin-bottom: 25px;
}

.about-copy p {
  color: var(--ea-muted);
  font-size: 18px;
}

.about-copy p:first-of-type {
  color: var(--ea-ink-soft);
  font-size: 21px;
}

.about-panel {
  padding: 34px;
  background: var(--ea-ink);
  border-radius: var(--ea-radius-lg);
  box-shadow: var(--ea-shadow);
}

.about-panel h3 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 22px;
}

.principle-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 15px;
}

.principle-list li:first-child {
  border-top: 0;
}

.principle-list strong {
  color: #fff;
}

.principle-list span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
  color: #fff;
  background: var(--ea-ink);
  border-radius: var(--ea-radius);
  isolation: isolate;
}

.project-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, transparent 24%, rgba(16, 17, 24, 0.92) 100%);
}

.project-card::after {
  position: absolute;
  top: -80px;
  right: -70px;
  z-index: -2;
  width: 260px;
  height: 260px;
  content: "";
  background: var(--project-accent, var(--ea-purple));
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.75;
}

.project-card:nth-child(2) {
  --project-accent: var(--ea-orange);
}

.project-card:nth-child(3) {
  --project-accent: #2f756c;
}

.project-card img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 500ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card .project-label {
  align-self: flex-start;
  padding: 7px 10px;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.project-card h3 {
  margin: 0;
  font-size: 29px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.project-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ea-paper);
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.post-card:hover {
  box-shadow: var(--ea-shadow-soft);
  transform: translateY(-5px);
}

.post-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ea-purple-soft), var(--ea-cream));
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(93, 63, 140, 0.60);
  font-size: 54px;
  font-weight: 850;
}

.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ea-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.23;
  letter-spacing: -0.025em;
}

.post-card p {
  margin: 14px 0 20px;
  color: var(--ea-muted);
  font-size: 15px;
}

.post-card .service-link {
  margin-top: auto;
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 60px;
  padding: 64px;
  overflow: hidden;
  color: #fff;
  background: var(--ea-ink);
  border-radius: var(--ea-radius-lg);
  box-shadow: var(--ea-shadow);
}

.contact-shell::after {
  position: absolute;
  top: -170px;
  right: -120px;
  width: 420px;
  height: 420px;
  content: "";
  background: radial-gradient(circle, rgba(199, 87, 44, 0.52), rgba(199, 87, 44, 0) 67%);
  pointer-events: none;
}

.contact-copy,
.contact-details {
  position: relative;
  z-index: 1;
}

.contact-copy .section-kicker {
  color: #f2a988;
}

.contact-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.contact-copy p {
  max-width: 600px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  transition: background 160ms ease;
}

a.contact-item:hover {
  background: rgba(255, 255, 255, 0.11);
}

.contact-item__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item small {
  display: block;
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item strong {
  color: #fff;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 34px 0;
  color: var(--ea-muted);
  border-top: 1px solid var(--ea-line);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--ea-ink);
  background: var(--ea-paper);
  border: 1px solid var(--ea-line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.footer-socials a:hover {
  color: var(--ea-orange-dark);
  border-color: rgba(199, 87, 44, 0.30);
  transform: translateY(-2px);
}

.inner-hero {
  padding: 74px 0 44px;
}

.inner-hero__shell {
  padding: 68px;
  background: linear-gradient(135deg, var(--ea-paper), #f1eaf7);
  border: 1px solid var(--ea-line);
  border-radius: var(--ea-radius-lg);
  box-shadow: var(--ea-shadow-soft);
}

.inner-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 70px;
  padding: 50px 0 110px;
}

.entry-content {
  min-width: 0;
  font-size: 18px;
}

.entry-content > * {
  max-width: 800px;
  margin-inline: auto;
}

.entry-content > .alignwide {
  max-width: 1080px;
}

.entry-content > .alignfull {
  max-width: none;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.7em;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.entry-content a {
  color: var(--ea-orange-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  padding: 26px 30px;
  color: var(--ea-ink-soft);
  background: var(--ea-paper);
  border-left: 4px solid var(--ea-orange);
  border-radius: 0 var(--ea-radius-sm) var(--ea-radius-sm) 0;
}

.entry-content img {
  border-radius: var(--ea-radius-sm);
}

.entry-meta {
  margin-top: 18px;
  color: var(--ea-muted);
  font-size: 14px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 30px 0 110px;
}

.pagination {
  grid-column: 1 / -1;
  margin-top: 30px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  place-items: center;
  background: var(--ea-paper);
  border: 1px solid var(--ea-line);
  border-radius: 11px;
}

.page-numbers.current {
  color: #fff;
  background: var(--ea-ink);
}

.not-found {
  padding: 130px 0;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--ea-purple);
  font-size: clamp(80px, 18vw, 180px);
  line-height: 0.9;
}

.not-found h1 {
  margin: 24px 0 10px;
  font-size: 44px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .header-cta {
    display: none;
  }

  .hero-shell {
    grid-template-columns: 1fr 0.83fr;
  }

  .hero-copy {
    padding-left: 48px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 290px;
  }
}

@media (max-width: 840px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    min-height: 74px;
  }

  .custom-logo,
  .brand-default img {
    height: 39px;
    max-width: 240px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 13px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--ea-line);
    border-radius: 18px;
    box-shadow: var(--ea-shadow-soft);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-navigation li,
  .primary-navigation a {
    width: 100%;
  }

  .primary-navigation a {
    padding: 12px 14px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 56px 44px 38px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .section-heading,
  .about-grid,
  .contact-shell,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .about-grid {
    gap: 28px;
  }

  .projects-grid,
  .blog-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-shell {
    gap: 40px;
  }

  .content-layout {
    gap: 30px;
  }
}

@media (max-width: 620px) {
  :root {
    --ea-container: min(100% - 26px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .custom-logo,
  .brand-default img {
    height: 32px;
    max-width: 200px;
  }

  .ea-hero {
    padding-top: 25px;
  }

  .hero-shell {
    border-radius: 26px;
  }

  .hero-copy {
    padding: 42px 25px 28px;
  }

  .hero-title {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .ea-button {
    width: 100%;
  }

  .hero-tags {
    margin-top: 28px;
  }

  .hero-visual {
    min-height: 470px;
    margin: 9px;
    border-radius: 20px;
  }

  .visual-badge--top {
    top: 18px;
    right: 18px;
  }

  .visual-badge--bottom {
    bottom: 18px;
    left: 18px;
  }

  .ea-section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .services-grid,
  .projects-grid,
  .blog-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 265px;
  }

  .project-card {
    min-height: 390px;
  }

  .about-panel,
  .contact-shell,
  .inner-hero__shell {
    padding: 30px 24px;
    border-radius: 25px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
