/* =====================================================================
   SHAMSHER & CO WEBSITE STYLES

   This file controls the design. The main editable colors are directly
   below in the :root section.
   ===================================================================== */

:root {
  --black: #050505;
  --near-black: #111111;
  --white: #ffffff;
  --off-white: #f4f4f2;
  --light-grey: #e1e1df;
  --mid-grey: #6a6a68;
  --blue: #2251ff;
  --blue-dark: #183cc2;
  --max-width: 1440px;
  --side-space: clamp(22px, 5vw, 78px);
}

/* BASIC RESET --------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--black);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: Arial, Helvetica, sans-serif;
}

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

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

address {
  font-style: normal;
}

button {
  border: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.3rem, 7.2vw, 7.5rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 5.25rem);
}

h3 {
  font-size: clamp(1.7rem, 2.3vw, 2.45rem);
}

/* REUSABLE ELEMENTS --------------------------------------------------- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(90px, 10vw, 160px) var(--side-space);
}

.section-label {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label-light {
  color: #9fb2ff;
}

.section-heading-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: 60px;
  margin-bottom: clamp(60px, 8vw, 110px);
}

.section-heading-grid h2 {
  max-width: 1050px;
}

.section-introduction {
  max-width: 760px;
  margin-top: 28px;
  color: var(--mid-grey);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-light {
  color: var(--black);
  background: var(--white);
}

.button-light:hover {
  background: #dfe5ff;
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
}

.button-outline-light:hover {
  color: var(--black);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.text-link-light {
  color: var(--white);
}

/* HEADER -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-space);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 280px;
}

.logo-placeholder {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  flex: 0 0 52px;
  color: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1;
}

.brand-text small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-navigation a,
.header-call-link {
  transition: color 160ms ease;
}

.main-navigation a:hover,
.header-call-link:hover {
  color: #9fb2ff;
}

.header-call-link {
  justify-self: end;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--white);
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* HERO ---------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  min-height: calc(100vh - 84px);
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--white);
  background: var(--black);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 8vw, 135px) var(--side-space);
}

.hero-content h1 {
  max-width: 850px;
  margin: 28px 0 34px;
}

.hero-summary {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
}

.hero-image-wrap {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
  filter: saturate(0.8) contrast(1.04);
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.18), transparent 25%);
  pointer-events: none;
}

.hero-stat {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto minmax(110px, 170px);
  align-items: center;
  gap: 18px;
  padding: 24px 30px;
  color: var(--white);
  background: var(--blue);
}

.hero-stat strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
}

.hero-stat span {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

/* INFORMATION STRIP --------------------------------------------------- */
.information-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--light-grey);
}

.information-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  min-height: 125px;
  padding: 32px var(--side-space);
  border-right: 1px solid var(--light-grey);
}

.information-item:last-child {
  border-right: 0;
}

.information-item span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.information-item p {
  max-width: 250px;
  font-weight: 700;
}

/* SERVICES ------------------------------------------------------------ */
.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
}

.service-image-wrap {
  height: 285px;
  overflow: hidden;
  background: var(--off-white);
}

.service-image-wrap img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 350ms ease, filter 350ms ease;
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.035);
  filter: grayscale(0%);
}

.service-content {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "number title"
    ". text";
  gap: 16px 18px;
  min-height: 275px;
  padding: 32px;
}

.service-number {
  grid-area: number;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-content h3 {
  grid-area: title;
}

.service-content p {
  grid-area: text;
  color: var(--mid-grey);
}

/* FOUNDER ------------------------------------------------------------- */
.founder-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--white);
  background: var(--blue-dark);
}

.founder-number {
  display: grid;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11rem, 23vw, 25rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.founder-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 130px) var(--side-space);
}

.founder-content h2 {
  max-width: 850px;
  margin: 26px 0 34px;
}

.founder-content > p:not(.section-label) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.founder-content p strong {
  color: var(--white);
}

.founder-signature {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.founder-signature strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.founder-signature span {
  margin-top: 6px;
  color: #b9c5ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ABOUT / PRINCIPLES -------------------------------------------------- */
.about-section {
  background: var(--off-white);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.principle-card {
  min-height: 335px;
  padding: 32px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.principle-card span {
  display: block;
  margin-bottom: 85px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.principle-card h3 {
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.principle-card p {
  color: var(--mid-grey);
}

/* CONTACT ------------------------------------------------------------- */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--white);
  background: var(--black);
}

.contact-introduction,
.contact-details {
  padding: clamp(75px, 8vw, 135px) var(--side-space);
}

.contact-introduction {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-introduction h2 {
  max-width: 850px;
  margin: 28px 0 30px;
}

.contact-introduction > p:not(.section-label) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

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

.contact-detail {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-detail:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-detail span {
  display: block;
  margin-bottom: 10px;
  color: #9fb2ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-detail a,
.contact-detail address {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.35;
}

.contact-detail a:hover {
  color: #9fb2ff;
}

/* FOOTER -------------------------------------------------------------- */
.site-footer {
  display: grid;
  grid-template-columns: auto minmax(250px, 1fr) auto;
  align-items: start;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 45px var(--side-space);
  border-top: 1px solid var(--light-grey);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-space {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--mid-grey);
  border: 1px dashed var(--mid-grey);
  font-size: 0.52rem;
  font-weight: 700;
}

.footer-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 400;
  white-space: nowrap;
}

.footer-disclaimer {
  max-width: 760px;
  color: var(--mid-grey);
  font-size: 0.82rem;
}

.footer-copyright {
  color: var(--mid-grey);
  font-size: 0.82rem;
  white-space: nowrap;
}

/* TABLET -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .main-navigation {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px var(--side-space) 28px;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.17);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .menu-button {
    display: grid;
  }

  .header-call-link {
    margin-left: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-content {
    min-height: 660px;
  }

  .hero-image-wrap {
    min-height: 640px;
  }

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

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

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-introduction {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }
}

/* MOBILE -------------------------------------------------------------- */
@media (max-width: 720px) {
  .brand {
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 1.15rem;
  }

  .logo-placeholder {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .header-call-link {
    display: none;
  }

  .hero-content {
    min-height: 610px;
  }

  .hero-image-wrap {
    min-height: 480px;
  }

  .hero-stat {
    left: 0;
    right: auto;
  }

  .information-strip {
    grid-template-columns: 1fr;
  }

  .information-item {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid var(--light-grey);
  }

  .information-item:last-child {
    border-bottom: 0;
  }

  .section-heading-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .service-image-wrap {
    height: 260px;
  }

  .service-content {
    min-height: 0;
  }

  .founder-section {
    grid-template-columns: 1fr;
  }

  .founder-number {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 11rem;
  }

  .principle-card {
    min-height: 280px;
  }

  .principle-card span {
    margin-bottom: 55px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-copyright {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
