/* Shared accessibility and responsive fixes. Load AFTER the page stylesheet. */
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #0075bd; outline-offset: 4px; }
.header :focus-visible, .footer :focus-visible { outline-color: #05c7f7; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 14px; background: white; color: #101c2c; }
.skip-link:focus { top: 12px; }
.menu-toggle { display: none; }
.nav_bar a[aria-current="page"] { color: #05c7f7; text-decoration: underline; text-underline-offset: 6px; }
.header_content { gap: 20px; }
.nav_bar a, .footer_navigation a { display: inline-flex; align-items: center; min-height: 44px; }
.footer_content { gap: 20px; }
.footer_navigation { gap: clamp(12px, 2.5vw, 40px); flex-wrap: wrap; }
.footer .social_links a, .info_social_links a { min-width: 44px; min-height: 44px; }
.copyright { margin-top: 16px; }
.hero_content > *, .contact_layout > *, .form_row > *, .service_div > *, .extra_content { min-width: 0; }
.hero_buttons { flex-wrap: wrap; }
.title_heading { font-size: clamp(34px, 4vw, 58px); text-wrap: balance; }
.featured_project_card { height: auto; min-height: 145px; overflow: visible; }
.featured_project_card .project_image { width: 38%; }
.project_details { height: auto; }
.contact_banner { padding: 20px clamp(20px, 4vw, 70px); gap: 24px; }
.skills_content { width: 92%; gap: 12px; }
.skill_div { gap: 10px; padding: 12px 8px; }
.skill_div svg { flex-shrink: 0; }
.section_header { gap: 14px; flex-wrap: wrap; }
.reviews_section { width: 88%; max-width: 1360px; margin: 28px auto; }
.reviews_section h2 { margin: 0 0 8px; font-size: 23px; }
.review-note { color: #506173; font-size: 14px; line-height: 1.5; }
.reviews_grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.review_card { margin: 0; padding: 22px; background: white; border: 1px solid #e1e7ed; border-radius: 12px; box-shadow: 0 4px 13px #0f1d2b12; }
.review_stars { color: #986400; font-size: 22px; letter-spacing: 3px; }
.review_card blockquote { margin: 14px 0; color: #263444; font-size: 15px; line-height: 1.6; }
.review_card figcaption { font-weight: 700; font-size: 14px; }
.review_card figcaption span { font-weight: 400; color: #506173; }
.contact_detail > div { min-width: 0; }
.contact_detail a, .contact_detail p { overflow-wrap: anywhere; }
.contact_form input, .contact_form select, .contact_form textarea { min-width: 0; font-size: 16px; }
.send_button { min-height: 46px; }
.project_filter_buttons_div { width: 92%; flex-wrap: wrap; }
.filter_button { min-height: 44px; height: auto; }
.project_collection_div { align-items: stretch; }
.change_projects_left_button, .change_projects_right_button { align-self: center; }
.custom_projects_div { gap: 24px; padding-inline: clamp(20px, 4vw, 70px); }
/* Retain the About page's portrait/sidebar + biography composition without fixed offsets. */
.about-page main { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(30px, 5vw, 80px); padding: 40px max(4%, calc((100% - 1360px) / 2)); align-content: start; }
.about-page .profile_picture { grid-column: 1; grid-row: 1 / 5; align-self: start; justify-self: center; width: 200px; height: 200px; margin: 0; }
.about-page .info_section { grid-column: 1; grid-row: 1 / 5; width: 100%; height: auto; min-height: 440px; align-self: start; margin: 100px 0 0; padding-bottom: 30px; }
.about-page .about_me_title { grid-column: 2; grid-row: 1; margin: 0 0 24px; font-size: clamp(38px, 4vw, 58px); }
.about-page .description_text { grid-column: 2; margin: 0 0 24px; width: auto; font-size: clamp(18px, 1.65vw, 24px); }
.about-page .main_intro { padding-inline: 28px; }
.about-page .profile_description { padding-inline: 28px; }
@media (max-width: 1100px) {
  .footer_content { grid-template-columns: 1fr; text-align: center; }
  .project_collection_div { gap: 12px; }
  .reviews_grid { gap: 16px; }
}
@media (max-width: 900px) {
  .header_content { width: 92%; flex-wrap: wrap; padding: 12px 0; }
  .nav_bar { width: 100%; flex-wrap: wrap; gap: 8px 20px; }
  .nav_bar a:not(.talk_button) { display: inline-flex; }
  .nav-ready .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #05c7f7; border-radius: 5px; background: transparent; color: #05c7f7; font-size: 16px; cursor: pointer; }
  .nav-ready .nav_bar { display: none; }
  .nav-ready .nav_bar.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0; }
  .nav-ready .nav_bar a { padding: 10px 12px; }
  .nav-ready .nav_bar .talk_button { align-self: flex-start; margin-top: 4px; }
  .about-page main { column-gap: 30px; grid-template-columns: minmax(230px, 0.8fr) minmax(0,1.2fr); }
}
@media (max-width: 750px) {
  .hero_content { grid-template-columns: minmax(0, 1fr); }
  .hero_buttons { gap: 12px; }
  .hero_buttons a { flex: 1 1 140px; min-width: 0; }
  .title_heading { font-size: clamp(34px, 7vw, 46px); }
  .bullet_text { font-size: 15px; }
  .profile_pic { height: auto; aspect-ratio: 1.8; }
  .skills_content { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; }
  .skill_div { justify-content: flex-start; }
  .skill_div p { font-size: 13px; }
  .skill_div svg { width: 26px; height: 26px; }
  .skill_div::after { display: none; }
  .featured_project_card .project_image { width: 100%; }
  .reviews_section { width: 92%; }
  .reviews_grid { grid-template-columns: minmax(0,1fr); }
  .contact_banner { padding: 18px; }
  .about-page main { display: flex; flex-direction: column; padding: 28px 4%; }
  .about-page .profile_picture { align-self: center; flex-shrink: 0; }
  .about-page .info_section { margin: -100px 0 32px; min-height: 0; align-self: stretch; }
  .about-page .about_me_title { margin-bottom: 20px; }
  .about-page .description_text { font-size: 18px; }
  .about-page .main_intro { text-align: center; }
  .project_collection_div { align-items: stretch; }
  .project_site_description, .services_site_description { line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
