/* =========================
   RESET / BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
textarea,
button {
  font: inherit;
}

button {
  cursor: pointer;
}

/* =========================
   ROOT VARIABLES
========================= */

:root {
  --bg: #050505;
  --surface: #1a1a1a;
  --surface-muted: #282828;
  --text: #ffffff;
  --text-soft: #6b7280;
  --border: #333333;
  --primary: #cc1616;
  --primary-hover: #e01b1b;
  --secondary: #333333;
  --secondary-hover: #555555;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --container: 1200px;
  --section-pad: 5rem;
}

/* =========================
   GLOBAL
========================= */

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.88)),
    url('../images/seraphicabk.png') center center / cover fixed no-repeat;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--text-soft);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--section-pad) 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.section-text {
  max-width: 60ch;
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}

.placeholder-block {
  min-display: grid;
  place-items: center;
  padding: 1.5rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface-muted);
  color: var(--text-soft);
  text-align: center;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* =========================
   BUTTONS
========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  font-weight: 700;
  transition: 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.3);
}

.button-primary:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(204, 22, 22, 0.4);
}

.button-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: auto;
}

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-soft);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--text);
}

/* =========================
   HERO
========================= */

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy .hero-text-block {
  max-width: 680px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.hero-copy .section-text {
  max-width: 480px;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.hero-visual:hover {
  border-color: rgba(204, 22, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}

/* =========================
   SERVICES / FEATURES / PROCESS / PORTFOLIO / TESTIMONIALS / PRICING
========================= */

.service-card,
.feature-item,
.process-step,
.project-card,
.testimonial,
.pricing-card {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(204, 22, 22, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(204, 22, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}

.feature-item {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(204, 22, 22, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(204, 22, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}

.process-step {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(204, 22, 22, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.1);
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: rgba(204, 22, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}

.project-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(204, 22, 22, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  border-color: rgba(204, 22, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}

.project-card .placeholder-block {
  min-height: 180px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(204, 22, 22, 0.05) 100%);
  border-radius: calc(var(--radius) - 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  text-align: center;
  transition: all 0.3s ease;
}

.project-card:hover .placeholder-block {
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(204, 22, 22, 0.1) 100%);
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.1);
}

.testimonial {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(204, 22, 22, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.1);
  transition: all 0.3s ease;
  position: relative;
  padding: 2rem;
  text-align: center;
}

.testimonial:hover {
  border-color: rgba(204, 22, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}

.testimonial footer {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(204, 22, 22, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.1);
  transition: all 0.3s ease;
  position: relative;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: #CC1616;
}

.price-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-soft);
}

.pricing-card:hover {
  border-color: rgba(204, 22, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}

/* =========================
   ABOUT
========================= */

.about-image {
  padding: 1rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

/* =========================
   CTA
========================= */

.cta-panel {
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.cta-panel h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 800;
}

.cta-panel .section-text {
  margin-left: auto;
  margin-right: auto;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.cta-panel .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  font-weight: 700;
  transition: 0.2s ease;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.3);
}

.cta-panel .button:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(204, 22, 22, 0.4);
}


/* =========================
   CONTACT
========================= */

.contact-form {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-row label {
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #1a1a1a;
  color: var(--text);
  font-size: 1rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(31, 41, 55, 0.15);
  border-color: var(--primary);
  background: #1a1a1a;
}

/* =========================
   FOOTER
========================= */

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: start;
}

.site-footer nav ul {
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--text);
}


/* =========================
   RESPONSIVE
========================= */

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner,
  .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 4rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .main-nav ul {
    gap: 0.85rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}


/* =========================
   BACKGROUND GLOW EFFECT
========================= */

.bg-accent-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  background: radial-gradient(circle at 50% -10%, rgba(204, 22, 22, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 90% 40%, rgba(204, 22, 22, 0.1) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(204, 22, 22, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

/* =========================
   FEATURE LIST
========================= */

.feature-list {
  display: grid;
  gap: 2rem;
}

.feature-item {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(204, 22, 22, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(204, 22, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}












#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

}

#site-header > .site-header {
  position: static;
}

.placeholder-block {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  border-radius: 16px;

  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);

  transition: all 0.3s ease;
}

.placeholder-block:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}

.about-image .placeholder-block.media-card {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(204, 22, 22, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 8px rgba(204, 22, 22, 0.1);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.about-image .placeholder-block.media-card:hover {
  border-color: rgba(204, 22, 22, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(204, 22, 22, 0.1);
}



.about-image.hero-visual .placeholder-block {
  min-margin: 0;
}

.hero-copy h1 {
  max-width: none;
}


.hero-copy h1 {
  margin-bottom: 1.2rem;
}
.hero-copy .section-text {
  margin-bottom: 2rem;
}
.hero-actions {
  margin-top: 0.5rem;
}


.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}


.hero-visual {
  padding: 0;
}


.hero-image {
  width: 100%;
  height: auto;
  object-fit: unset;
}


.hero-visual {
  padding: 0;
}


.services .section-text {
  max-width: 72ch;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.service-card p {
  margin-bottom: 1.25rem;
}

.service-card-icon {
  margin-top: auto;
  min-height: 72px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


.services > .container > .section-text {
  max-width: none;
  width: 100%;
}


.service-card-icon {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card-icon img {
  width: 40px;
  height: 40px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  transition: all 0.2s ease;
}

.service-card:hover .service-card-icon img {
  opacity: 1;
  transform: scale(1.1);
}


.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-icon {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card-icon img {
  width: 52px;
  height: 52px;
  opacity: 0.95;
  filter: brightness(0) invert(1);
  transition: all 0.2s ease;
}

.service-card:hover .service-card-icon img {
  transform: scale(1.1);
}


.service-card-icon {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(204,22,22,0.08) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover .service-card-icon {
  border-color: rgba(204,22,22,0.35);
  box-shadow: 0 0 18px rgba(204,22,22,0.12), inset 0 0 0 1px rgba(255,255,255,0.04);
}


.process .project-card img {
  display: block;
  width: calc(100% + 1rem);
  object-fit: unset;
  margin: -0.5rem -0.5rem 1rem;
  border-radius: 12px;
}


.process .project-card img {
  width: calc(100% + 3rem);
  object-fit: unset;
  margin: -1.5rem -1.5rem 1rem;
  border-radius: 16px 16px 0 0;
}


.process .project-card {
  overflow: hidden;
}

.process .project-card img {
  display: block;
  width: calc(100% + 3rem);
  object-fit: unset;
  margin: -1.5rem -1.5rem 1rem;
  border-radius: 0;
}


.process .project-card {
  overflow: visible;
}

.process .project-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: unset;
  margin: 0 0 1rem 0;
  border-radius: 12px;
}


.about-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}


.cta-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.7;
}


.cta-note {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  opacity: 0.85;
}


.cta-note {
  line-height: 1.4;
}


.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-header .logo img {
  width: 176px;
  height: auto;
  object-fit: unset;
  display: block;
}

.site-header .site-name {
  line-height: 1;
}

.site-header .logo img {
  padding: 4px 0;
}

.site-footer .footer-logo {
  width: 440px;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.site-footer .footer-inner > div {
  text-align: center;
}

.site-footer .footer-inner > div p {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer .footer-inner > div p {
  max-width: 320px;
}

.site-footer .footer-inner {
  display: flex;
  justify-content: center;
}

.site-footer .footer-inner > div {
  text-align: center;
}

.site-footer .footer-copy {
  text-align: center;
  display: block;
  margin-top: 1rem;
}



.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding: 1.25rem;
}

.feature-visual .hero-image {
  display: block;
  width: min(100%, 460px);
  height: auto;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 18px rgba(204, 22, 22, 0.22))
    drop-shadow(0 0 42px rgba(204, 22, 22, 0.18));
}


.features .split-layout > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.feature-visual {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 2rem;
  padding: 1.25rem 0;
}

.feature-visual .hero-image {
  margin-left: auto;
  margin-right: auto;
}


.feature-visual .hero-image {
  transform: translateX(20px);
}


.feature-visual .hero-image {
  transform: translateX(-40px);
}


.feature-visual {
  margin-top: 0.5rem;
}


.feature-visual .hero-image {
  transform: translate(-40px, -70px);
}


.feature-visual .hero-image {
  transform: translate(-40px, -30px);
}


.testimonials h2 {
  margin-bottom: 0.75rem;
}

.testimonials .section-subtext {
  max-width: 72ch;
  margin-bottom: 2rem;
  color: var(--text-soft);
}

.testimonial p {
  font-size: 1.2rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text);
}

.testimonial footer {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}


.testimonials .section-subtext {
  max-width: none;
}


.portfolio .placeholder-block {
  padding: 0;
  overflow: hidden;
}











.portfolio .project-card {
  overflow: hidden;
}






.portfolio .section-text {
  max-width: none;
}


.contact .contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact .contact-left > * {
  max-width: 520px;
}

.contact-image {
  width: 75%;
  max-width: 360px;
  margin-top: 2rem;
  align-self: center;
  opacity: 0.9;
  pointer-events: none;
}


.contact .split-layout {
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 3rem;
}

.contact-left h2,
.contact-left p {
  max-width: 520px;
}

.contact-left p {
  line-height: 1.6;
}

.contact-image {
  width: 75%;
  max-width: 340px;
  margin-top: 2rem;
  opacity: 0.9;
}


.contact .split-layout {
  align-items: center;
  gap: 3rem;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
}

.contact-left h2,
.contact-left p {
  max-width: 540px;
}

.contact-left p + p {
  margin-top: 1.5rem;
}

.contact-image {
  width: min(78%, 340px);
  height: auto;
  margin-top: 2rem;
  margin-left: 0;
  filter: drop-shadow(0 0 24px rgba(204, 22, 22, 0.18));
  opacity: 0.95;
  pointer-events: none;
}


.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 3rem;
}

.contact-left h2,
.contact-left p {
  max-width: 540px;
}

.contact-image {
  width: 100%;
  max-width: 420px;
  margin-top: 2.5rem;
  align-self: flex-start;
}


.contact-image {
  margin-left: 2rem;
}


.contact-form {
  background: rgba(20, 20, 22, 0.88);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 10px 40px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(204, 22, 22, 0.08);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(204, 22, 22, 0.6);
  box-shadow: 0 0 0 1px rgba(204, 22, 22, 0.4);
}

.contact-form .button-primary {
  box-shadow:
    0 6px 20px rgba(204, 22, 22, 0.35),
    0 0 20px rgba(204, 22, 22, 0.15);
}


.contact-form label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-row {
  margin-bottom: 1.25rem;
}


.contact-form {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-2px);
}

.contact-form input,
.contact-form textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


/* Header button alignment fix */
.header-inner { align-items: center; }
.site-header .button { display: inline-flex; align-items: center; justify-content: center; }

/* Button hover consistency */
.button { transition: all 0.2s ease; }
.button:hover { transform: translateY(-1px); filter: brightness(1.1); }

/* Mobile spacing for split layouts */
@media (max-width: 768px) { .split-layout { gap: 2rem; } }

/* Heading spacing consistency */
.section h2 { margin-bottom: 1rem; }
.section .section-text { margin-bottom: 1.5rem; }

/* Footer mobile logo scale */
@media (max-width: 768px) { .footer-logo { max-width: 220px; width: 100%; height: auto; } }

/* Footer mobile centering fix */
@media (max-width: 768px) { .footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; } }


.project-image {
    padding: 0;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.project-image a {
    display: block;
    width: 100%;
    height: auto;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: unset;
    object-position: unset;
}

.portfolio .project-card {
    display: flex;
    flex-direction: column;
    height: auto;
}

.portfolio .project-card .placeholder-block,
.portfolio .project-card .project-image {
    flex-shrink: 0;
}

.portfolio .project-card h3 {
    margin-top: auto;
}

/* Portfolio sample images: equal height, crop from bottom */
.portfolio .project-card.sample-project .placeholder-block.project-image {
  min-padding: 0;
  margin: 0 0 1rem 0;
  overflow: hidden;
  border-radius: 12px;
}

.portfolio .project-card.sample-project .placeholder-block.project-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
  object-position: unset;
  border-radius: 10px;
}






