/* About page (v13) — structure:
   1) photo+text, 2) approach, 3) projects + gallery link, 4) link to form */

:root{ --about3-radius: 18px; }

/* 1) Hero */
.about3-hero{ padding: 34px 0 14px; }

.about3-hero-grid{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--about3-radius);
  border: 1px solid rgba(0,124,208,.16);
  background:
    linear-gradient(180deg, rgba(0,124,208,.06), rgba(0,124,208,0) 55%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.about3-hero-media{
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10,20,30,.12), rgba(10,20,30,.38)),
    url("../img/about.webp") center/cover no-repeat;
  min-height: 420px;
}

.about3-hero-copy{ padding: 4px 2px 6px; }

.about3-kicker{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-bottom: 12px;
}

.about3-kicker-label{
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #007ccf;
}

.about3-dot{
  width:6px;
  height:6px;
  border-radius: 99px;
  background: #007ccf;
  box-shadow: 0 0 0 6px rgba(0,124,208,.10);
}

.about3-title{
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.12;
  margin: 0 0 12px;
  color: var(--text);
}

.about3-lead{ margin:0 0 14px; max-width: 62ch; line-height: 1.65; color: rgba(20,30,40,.86); }

.about3-actions{ display:flex; flex-wrap:wrap; gap: 12px; align-items:center; margin: 4px 0 14px; }

.about3-link{
  display:inline-flex;
  gap:8px;
  align-items:center;
  text-decoration:none;
  font-weight: 900;
  letter-spacing: .1px;
  color: #0b0f14;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,124,208,.18);
  background: rgba(0,124,208,.06);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.about3-link:hover{
  transform: translateY(-1px);
  border-color: rgba(0,124,208,.32);
  background: rgba(0,124,208,.09);
  box-shadow: 0 12px 26px rgba(0,124,208,.10);
}

.about3-stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.about3-stat{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  line-height: 1.2;
}

.about3-stat b{ display:block; margin-bottom: 3px; font-size: 14px; }
.about3-stat .muted{ font-weight: 700; font-size: 12px; }


/* 2) Approach */
.about3-text{ padding: 14px 0; }

.about3-text-box{
  padding: 18px;
  border-radius: var(--about3-radius);
  border: 1px solid rgba(0,124,208,.16);
  background:
    linear-gradient(180deg, rgba(0,124,208,.05), rgba(0,124,208,0) 55%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

.about3-text-head{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items:start; }
.about3-text-head .muted{ line-height: 1.65; margin: 6px 0 0; }

.about3-approach{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items:start;
}

.about3-approach-steps{ display:grid; gap: 12px; }

.about3-step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.about3-step:hover{
  transform: translateY(-2px);
  border-color: rgba(0,124,208,.22);
  box-shadow: 0 14px 30px rgba(0,124,208,.10);
}

.about3-step-num{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 900;
  color: #007ccf;
  border: 1px solid rgba(0,124,208,.20);
  background: rgba(0,124,208,.08);
  flex: 0 0 42px;
}

.about3-step-body b{ display:block; margin-bottom: 4px; font-size: 14px; }
.about3-step-body p{ margin:0; line-height: 1.6; }

.about3-approach-aside{ display:grid; gap: 12px; }

.about3-aside-card{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
}

.about3-aside-card b{ display:block; margin-bottom: 8px; font-size: 14px; }

.about3-checks{ list-style:none; padding:0; margin:0; display:grid; gap: 10px; }
.about3-checks li{ position:relative; padding-left: 26px; line-height: 1.55; color: rgba(20,30,40,.86); }
.about3-checks li::before{
  content:"";
  position:absolute;
  left:0;
  top: .28em;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  border: 1px solid rgba(0,124,208,.22);
  background: rgba(0,124,208,.08);
  box-shadow: 0 8px 18px rgba(0,124,208,.10);
}
.about3-checks li::after{
  content:"";
  position:absolute;
  left: 5px;
  top: .62em;
  width: 7px;
  height: 4px;
  border-left: 2px solid #007ccf;
  border-bottom: 2px solid #007ccf;
  transform: rotate(-45deg);
}

.about3-aside-note{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,124,208,.16);
  background: rgba(0,124,208,.06);
  line-height: 1.6;
  color: rgba(20,30,40,.86);
}


/* 3) Projects */
.about3-projects{ padding: 14px 0; }
.about3-projects-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.about3-projects-cta{ display:flex; justify-content:center; margin-top: 14px; }


/* 4) Form link */
.about3-formlink{ padding: 14px 0 34px; }

.about3-formlink-box{
  padding: 18px;
  border-radius: var(--about3-radius);
  border: 1px solid rgba(0,124,208,.16);
  background:
    linear-gradient(180deg, rgba(0,124,208,.06), rgba(0,124,208,0) 55%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  display:flex;
  gap: 14px;
  align-items:flex-end;
  justify-content:space-between;
}

.about3-formlink-title{
  margin: 10px 0 6px;
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 800;
  letter-spacing:-.02em;
  font-size: clamp(18px, 2.2vw, 28px);
}

.about3-formlink-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  justify-content:flex-end;
}


/* Responsive */
@media (max-width: 980px){
  .about3-hero-grid{ grid-template-columns: 1fr; }
  .about3-hero-media{ min-height: 340px; }
  .about3-stats{ grid-template-columns: 1fr; }
  .about3-text-head{ grid-template-columns: 1fr; }
  .about3-approach{ grid-template-columns: 1fr; }
  .about3-formlink-box{ flex-direction: column; align-items: flex-start; }

  /* Projects head: stack + full-width button earlier (not only at 520px) */
  .about3-projects-head{ flex-direction: column; align-items: stretch; }
  .about3-projects-head .about3-link{
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }

  /* Included projects component is nested on About page — neutralize extra wrapper spacing */
  .about3-projects .section{ padding: 0 !important; }
  .about3-projects .section > .container{ padding-left: 0 !important; padding-right: 0 !important; }
  .about3-projects .section .section-surface{ border-radius: var(--about3-radius); overflow:hidden; }
}

@media (max-width: 520px){
  .about3-hero{ padding: 24px 0 12px; }
  .about3-hero-grid{ padding: 14px; }
  .about3-hero-media{ min-height: 230px; }

  /* Actions: full width, centered */
  .about3-actions{ flex-direction: column; align-items: stretch; }
  .about3-actions .btn-cta,
  .about3-actions .about3-link{ width:100%; justify-content:center; text-align:center; }

  /* Stats: tighter */
  .about3-stats{ gap: 10px; }

  /* Projects head: stack + full width link */
  .about3-projects-head{ flex-direction: column; align-items: stretch; }
  .about3-projects-head .about3-link{ width:100%; justify-content:center; text-align:center; }

  /* Make project cards grid feel less "airy" on small screens */
  .about3-projects .grid-3{ gap: 14px; }

  .about3-text-box{ padding: 14px; }
  .about3-formlink-box{ padding: 14px; }

  /* Form CTA buttons: full width */
  .about3-formlink-actions{ width:100%; justify-content:stretch; }
  .about3-formlink-actions .btn-cta,
  .about3-formlink-actions .about3-link{ width:100%; justify-content:center; text-align:center; }
}


/* Fix hero title overflow */
.hero-title-small{font-size:20px;line-height:1.2;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
