/*
Theme Name: Hooman Consulting
Description: A native WordPress theme for Hooman Consulting, with a designed homepage, About Hooman page, and support for existing WordPress pages and plugins.
Version: 1.0.5
Requires at least: 6.2
Requires PHP: 7.4
Author: Hooman Consulting
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hooman-consulting
*/

/* Progressive enhancement: all content remains readable without JavaScript. */
.reveal { opacity: 1; transform: none; }
#top, #paths, #services, #process, #contact { scroll-margin-top: 6.5rem; }
[hidden] { display: none !important; }
header.hc-scrolled, header.hc-menu-open {
  background: #f7f2ea;
  box-shadow: 0 1px 0 rgba(4,89,154,.18);
}
#mobile-nav.hc-open { opacity: 1; transform: none; pointer-events: auto; }
.admin-bar .hc-header { top: 32px; }
.admin-bar #mobile-nav { top: 104px; height: calc(100dvh - 104px); }
@media (max-width: 782px) {
  .admin-bar .hc-header { top: 46px; }
  .admin-bar #mobile-nav { top: 118px; height: calc(100dvh - 118px); }
}
@media (max-width: 600px) { #wpadminbar { position: fixed; } }
.hc-service-filter[aria-pressed="true"] { background: #f7f2ea; color: #04599a; }
.hc-service-filter[aria-pressed="false"] { background: transparent; color: rgba(247,242,234,.8); }
.hc-menu { display: flex; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.hc-menu a { font-size: 14px; font-weight: 500; color: #0c2435; }
.hc-menu a:hover, .hc-menu .current-menu-item > a { color: #04599a; }
.hc-header a[aria-current="page"] { color: #04599a; }
.hc-header a[aria-current="page"]::after { transform: scaleX(1); }
.hc-menu-mobile { list-style: none; padding: 0; margin: 0; }
.hc-menu-mobile a {
  display: block; padding: 20px 0; border-bottom: 1px solid rgba(4,89,154,.2);
  font: 30px 'Fraunces',Georgia,serif; color: #0c2435;
}
.hc-menu-footer { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; }
.hc-menu-footer a:hover { color: #fa8500; }
.hc-content { font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
.hc-content h1, .hc-content h2, .hc-content h3, .hc-content h4 {
  font-family: 'Fraunces',Georgia,serif; line-height: 1.2; color: #0c2435;
  margin: 1.5em 0 .6em;
}
.hc-content h2 { font-size: clamp(1.7rem,4vw,2.5rem); }
.hc-content h3 { font-size: 1.6rem; }
.hc-content p, .hc-content ul, .hc-content ol, .hc-content table, .hc-content blockquote { margin: 0 0 1.25em; }
.hc-content ul { list-style: disc; padding-left: 1.5em; }
.hc-content ol { list-style: decimal; padding-left: 1.5em; }
.hc-content a { color: #04599a; text-decoration: underline; text-underline-offset: 3px; }
.hc-content img { max-width: 100%; height: auto; border-radius: 12px; }
.hc-content table { width: 100%; border-collapse: collapse; }
.hc-content th, .hc-content td { padding: 10px; border: 1px solid #ccd9e0; text-align: left; }
.hc-content blockquote { border-left: 4px solid #fa8500; padding-left: 20px; }
.hc-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.hc-content textarea, .hc-content select {
  border: 1px solid #9aafb9; background: white; border-radius: 8px;
  padding: 10px 12px; max-width: 100%; color: #0c2435;
}
.hc-content input[type="submit"], .hc-content button[type="submit"] {
  background: #fa8500; border-radius: 999px; padding: 12px 24px; color: #14202b;
  font-weight: 600; cursor: pointer;
}
.hc-content .alignwide { max-width: 100%; }
.hc-pagination a, .hc-pagination span { padding: 8px 12px; display: inline-block; }
.hc-post + .hc-post { border-top: 1px solid #c6d2d9; margin-top: 40px; padding-top: 40px; }
.hc-contact-page { max-width: 1200px; margin: 0 auto; padding: 140px 24px 96px; }
.hc-contact-heading { max-width: 780px; margin-bottom: 48px; }
.hc-contact-heading h1 { font-size: clamp(42px,6vw,76px); line-height: 1.06; margin: 20px 0 24px; letter-spacing: -.035em; }
.hc-contact-heading h1 em { color: #04599a; }
.hc-contact-heading > p:last-child { max-width: 650px; font-size: 20px; line-height: 1.7; color: #52616b; }
.hc-enquiry-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 28px; align-items: start; }
.hc-contact-details { background: #0c2435; color: #f7f2ea; border-radius: 28px; padding: 36px; }
.hc-contact-details h2 { font-size: 36px; line-height: 1.15; margin: 20px 0 32px; }
.hc-contact-details a { display: block; padding: 22px 0; border-top: 1px solid #ffffff30; overflow-wrap: anywhere; }
.hc-contact-details a span { display: block; color: #b2c7d5; font-size: 14px; margin-bottom: 8px; }
.hc-contact-details a strong { font-size: 18px; font-weight: 500; }
.hc-contact-details a:hover strong { color: #fa8500; }
.hc-contact-details > p:last-child { margin-top: 24px; font-size: 14px; color: #b2c7d5; }
.hc-enquiry-form { background: #fffaf4; padding: 36px; border: 1px solid #d5dfe4; border-radius: 28px; }
.hc-enquiry-form > h2 { color: #0c2435; font-size: 32px; line-height: 1.2; margin: 0 0 28px; }
@media (max-width: 767px) {
  .hc-contact-page { padding: 116px 20px 64px; }
  .hc-enquiry-layout { grid-template-columns: minmax(0,1fr); }
  .hc-contact-details, .hc-enquiry-form { padding: 28px; border-radius: 24px; }
}
