/* Potential font pairings:
  body - font-family: "Open Sans", sans-serif;
  headings - font-family: "Montserrat", sans-serif;

  @import url('https://fonts.googleapis.com/css2?family=Raleway&family=Roboto%20Slab&display=swap');
  headings - font-family: 'Raleway', serif;
  
  body - font-family: 'Roboto Slab', sans-serif;
  
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  /* Body */
  font-family: "Roboto Slab", sans-serif;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
}
:root {
  --color-primary: #1f3a4d;
  --color-secondary: #6d8490;
  --color-text: #243038;
  --color-muted: #66737a;
  --color-background: #ffffff;
  --color-light: #f4f7f8;
  --container-width: 1440px;
  --space-section: 5rem;
  --radius: 12px;
}
body {
  color: var(--color-text);
  background: var(--color-background);
}
.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin-inline: auto;
}
.section {
  padding-block: var(--space-section);
}
.section-heading {
  max-width: 700px;
  margin-bottom: 3rem;
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
h1,
h2,
h3 {
  line-height: 1.15;
  font-family: "Raleway", serif;
}
h1 {
  font-size: clamp(2.75rem, 9vw, 6rem);
  margin: 0;
  text-align: center;
}
h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0;
}
h3 {
  font-size: 1.4rem;
}
p {
  max-width: 70ch;
}
/* ========================================
   Scroll functionality    
======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ========================================
   HEADER           
======================================== */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.logo img {
  width: 180px;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
}
.menu-toggle {
  display: block;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}
/* ========================================
   FOOTER           
======================================== */
.site-footer .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero {
  min-height: 80vh;
  display: grid;
  align-items: center;
  /* background: linear-gradient(135deg, #eef3f5, #ffffff);*/
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../images/hard-at-work-banner.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-light);
}
.hero .eyebrow {
  color: var(--color-light);
}
.hero-content {
  padding-block: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content > p:first-child {
  align-self: flex-start;
  padding-left: 1rem;
}
.hero-text {
  max-width: 650px;
  margin-block: 2rem;
  font-size: 1.15rem;
  text-align: center;
}
/* ========================================
   BUTTON
======================================== */
.button {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  margin-top: 2rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
/* ========================================
   SERVICES
======================================== */
.services {
  background: var(--color-light);
}
.services-grid {
  display: grid;
  gap: 1rem;
}
.service-card {
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
}
.service-card h3 {
  margin-top: 0;
}
.service-card h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.service-card h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
}
/* ========================================
   EXPERIENCE
======================================== */
.experience-intro {
  max-width: 850px;
  margin-bottom: 4rem;
}
.experience-intro p {
  line-height: 1.75;
}
/* ========================================
   FEATURED PROJECTS
======================================== */
.projects {
  display: grid;
  gap: 1.5rem;
}
.project {
  position: relative;
  padding: 2rem 0;
  border-top: 1px solid #d7dfe2;
}
.project:last-child {
  border-bottom: 1px solid #d7dfe2;
}
.project-category {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
}
.project h3 {
  max-width: 850px;
  margin: 0 0 0.75rem;
  font-family: "Roboto Slab", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
}
.project-type {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
}
/* ========================================
   PROJECT DETAILS
======================================== */
.project-details {
  margin-top: 1.5rem;
}
.project-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.project-details summary::-webkit-details-marker {
  display: none;
}
.project-details summary::after {
  content: "\2192";
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.project-details[open] summary::after {
  transform: rotate(90deg);
}
.project-details summary:hover {
  opacity: 0.7;
}
.project-details summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.project-story {
  max-width: 850px;
  padding-top: 1.75rem;
}
.project-story p {
  line-height: 1.75;
}
.project-story p + p {
  margin-top: 1.25rem;
}
/* ========================================
   PROJECT QUOTES
======================================== */
.project-story blockquote {
  margin: 2rem 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--color-secondary);
  font-family: "Roboto Slab", serif;
  font-size: 1.05rem;
  line-height: 1.7;
}
.project-attribution {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.7;
}
/* ========================================
   MORE EXPERIENCE
======================================== */
.more-experience {
  margin-top: 6rem;
}
.more-experience .section-heading {
  margin-bottom: 2rem;
}
.more-experience .section-heading h3 {
  margin-top: 0.5rem;
  font-family: "Roboto Slab", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.experience-list {
  border-top: 1px solid #d7dfe2;
}
.experience-list details {
  border-bottom: 1px solid #d7dfe2;
}
.experience-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
}
.experience-list summary::-webkit-details-marker {
  display: none;
}
.experience-list summary::after {
  content: "\002B";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s ease;
}
.experience-list details[open] summary::after {
  content: "\2212";
}
.experience-list summary:hover {
  opacity: 0.7;
}
.experience-list summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.experience-list summary strong {
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 1.05rem;
  line-height: 1.4;
}
.experience-list summary small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.65;
}
.experience-list-content {
  max-width: 800px;
  padding-bottom: 2rem;
}
.experience-list-content p {
  line-height: 1.75;
}
.experience-list-content blockquote {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-secondary);
  font-family: "Roboto Slab", serif;
  line-height: 1.7;
}
/* ========================================
   TESTIMONIALS
======================================== */
.experience-testimonials {
  margin-top: 3rem;
  padding-top: 3rem;
}
.experience-testimonials .section-heading {
  margin-bottom: 2.5rem;
}
.experience-testimonials .section-heading h3 {
  margin-top: 0.5rem;
  font-family: "Roboto Slab", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}
.testimonial-grid blockquote {
  margin: 0;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0.75rem;
}
.testimonial-grid blockquote p {
  margin: 0;
  line-height: 1.7;
}
.testimonial-grid blockquote footer {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.7;
}
/* ========================================
   HOVER
======================================== */
@media (hover: hover) {
  .project {
    transition: padding 0.25s ease;
  }
  .project:hover {
    padding-left: 0.75rem;
  }
}
/* =========================================
   ABOUT SECTION
========================================= */
.about {
  background: #f5f6f5;
}
/* -----------------------------------------
   Section introduction
----------------------------------------- */
.about .section-heading {
  max-width: 850px;
  margin-bottom: 3.5rem;
}
.about .section-heading h2 {
  margin-bottom: 1.5rem;
}
.about .section-heading > p:not(.eyebrow) {
  max-width: 800px;
  line-height: 1.75;
}
.about .section-heading > p + p {
  margin-top: 1.25rem;
}
/* -----------------------------------------
   People grid
----------------------------------------- */
.about-grid {
  display: grid;
  gap: 2rem;
}
/* -----------------------------------------
   Person
----------------------------------------- */
.person {
  padding-block: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.person:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
/* -----------------------------------------
   Person top area
----------------------------------------- */
.person-top {
  display: grid;
  gap: 1.5rem;
}
/* -----------------------------------------
   Person image
----------------------------------------- */
.person-image {
  width: 130px;
  height: 165px;
  overflow: hidden;
}
.person-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* -----------------------------------------
   Person content
----------------------------------------- */
.person-content h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.15;
}
.person-role {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 600;
  opacity: 0.75;
}
.person-content > p:last-child {
  margin-bottom: 0;
  line-height: 1.7;
}
/* -----------------------------------------
   Expandable biography
----------------------------------------- */
.person-details {
  margin-top: 1.5rem;
  margin-left: 0;
}
/* Remove default browser marker */
.person-details summary {
  list-style: none;
}
.person-details summary::-webkit-details-marker {
  display: none;
}
/* Read more button */
.person-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: inherit;
}
/* Plus icon */
.person-details summary::after {
  content: "\002B";
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
/* Turn plus into minus */
.person-details[open] summary::after {
  content: "\2212";
}
/* Hover */
.person-details summary:hover {
  opacity: 0.7;
}
/* -----------------------------------------
   Expanded biography
----------------------------------------- */
.person-bio {
  max-width: 850px;
  padding-top: 1.5rem;
  padding-left: 0;
}
.person-bio p {
  margin-bottom: 1rem;
  line-height: 1.75;
}
.person-bio p:last-child {
  margin-bottom: 0;
}
/* ========================================
   CONTACT
======================================== */
.contact-grid {
  display: grid;
  gap: 3rem;
}
.contact-details {
  display: grid;
  gap: 2rem;
}
.contact-item h3 {
  margin-bottom: 0.4rem;
}
.contact-item a {
  display: block;
  margin-bottom: 0.3rem;
}
address {
  font-style: normal;
}
/* ========================================
   FOOTER
======================================== */
.site-footer {
  padding-block: 2rem;
  background: var(--color-primary);
  color: white;
}
/* -----------------------------------------
   accessibility
----------------------------------------- */
.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}
/* ======================================== PRIVACY POLICY ======================================== */ /* ---------- HERO ---------- */
.privacy-hero {
  padding: 6rem 1.25rem 4rem;
  background: linear-gradient(
    135deg,
    rgba(240, 244, 245, 0.95),
    rgba(225, 232, 235, 0.8)
  );
}
.privacy-hero .container {
  max-width: 1100px;
  margin-inline: auto;
}
.privacy-hero h1 {
  margin: 0.5rem 0 0;
  font-family: "Roboto Slab", serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-align: left;
}
.privacy-updated {
  margin: 1rem 0 0;
  color: #5f696d;
  font-size: 0.95rem;
} /* ---------- EYEBROW ---------- */
.privacy-hero .eyebrow {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.privacy-hero .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: currentColor;
} /* ---------- CONTENT ---------- */
.privacy-content {
  padding: 4rem 1.25rem 6rem;
  background: #ffffff;
}
.privacy-layout {
  max-width: 850px;
  margin-inline: auto;
}
.privacy-document {
  color: #30383b;
  font-size: 1rem;
  line-height: 1.8;
}
.privacy-document p {
  margin: 0 0 1.4rem;
}
.privacy-document h2 {
  position: relative;
  margin: 3.5rem 0 1.25rem;
  padding-top: 0.75rem;
  font-family: "Roboto Slab", serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
  font-weight: 500;
  color: #253238;
}
.privacy-document h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: currentColor;
} /* ---------- LISTS ---------- */
.privacy-document ul {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}
.privacy-document li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
} /* ---------- LINKS ---------- */
.privacy-document a {
  color: #315d6b;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.privacy-document a:hover {
  text-decoration-thickness: 2px;
}
.privacy-document a:focus-visible {
  outline: 3px solid rgba(49, 93, 107, 0.35);
  outline-offset: 4px;
} /* ---------- ADDRESS ---------- */
.privacy-document address {
  margin: 0 0 1.5rem;
  padding: 1.5rem;
  background: #f3f6f7;
  border-left: 3px solid #315d6b;
  font-style: normal;
  line-height: 1.7;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ========================================
   DESKTOP
======================================== */
@media (min-width: 768px) {
  .container {
    width: min(calc(100% - 4rem), var(--container-width));
  }
  .header-inner {
    justify-content: center;
  }
  .menu-toggle {
    display: none;
  }
  .site-nav {
    display: block;
  }
  .site-nav a {
    font-size: 1.5rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .experience-intro {
    margin-bottom: 5rem;
  }
  .project {
    padding-block: 3rem;
  }
  .project h3 {
    max-width: 900px;
  }
  .project-story {
    padding-top: 2rem;
  }
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .testimonial-grid blockquote {
    padding: 2rem;
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .about .section-heading {
    margin-bottom: 5rem;
  }
  .about-grid {
    gap: 0;
  }
  .person {
    padding-block: 3rem;
  }
  .person-top {
    grid-template-columns: 130px minmax(0, 800px);
    gap: 2.5rem;
  }
  .person-image {
    width: 130px;
    height: 160px;
  }
  .person-details {
    margin-left: 140px;
  }
  .person-bio {
    max-width: 850px;
  }
  .privacy-hero {
    padding: 8rem 2rem 5rem;
  }
  .privacy-content {
    padding: 6rem 2rem 8rem;
  }
  .privacy-document {
    font-size: 1.05rem;
  }
}
@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .person-top {
    grid-template-columns: 150px minmax(0, 850px);
    gap: 3rem;
  }
  .person-image {
    width: 150px;
    height: 180px;
  }
  .person-details {
    margin-left: 165px;
  }
  .projects {
    gap: 0;
  }
  .project {
    padding-block: 4rem;
  }
  .project h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  }
  .more-experience {
    margin-top: 3rem;
  }
  .experience-testimonials {
    margin-top: 3rem;
    padding-top: 3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
