/* =========================================================
   RESEARCHING.TECHNOLOGY
   GLOBAL SITE CSS
   ========================================================= */


/* =========================================================
   1. ROOT / RESET
   ========================================================= */

:root {
  --ink: #17343b;
  --ink-soft: #4f6468;

  --teal: #16776f;
  --teal-dark: #0f625d;
  --teal-soft: #e9f5f2;

  --cream: #faf6ec;
  --gold-soft: #f3e6c7;

  --white: #ffffff;
  --line: rgba(20, 70, 70, 0.10);

  --shadow-soft: 0 16px 45px rgba(24, 62, 65, 0.06);

  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;

  --container: 1180px;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  font-size: 16px;
  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


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


a {
  color: inherit;
}


p {
  margin-top: 0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  margin-top: 0;
}


main {
  display: block;
  width: 100%;
}


/* =========================================================
   2. CONTAINER
   ========================================================= */

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1,
h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-weight: 500;
}


h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}


h2 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}


h3 {
  font-size: 1.32rem;
  line-height: 1.3;
  letter-spacing: -0.018em;
}


.eyebrow,
.kicker {
  font-size: 0.72rem;
  line-height: 1.2;

  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;

  color: var(--teal);
}


/* =========================================================
   4. GLOBAL SECTIONS
   ========================================================= */

.section {
  padding: 5rem 0;
}


.section.compact {
  padding: 4rem 0;
}


.section + .section {
  border-top: 1px solid rgba(20, 70, 70, 0.065);
}


.section-head {
  max-width: 830px;
  margin-bottom: 2.6rem;
}


.section-head .eyebrow {
  margin-bottom: 0.7rem;
}


.section-head h2 {
  margin-bottom: 1rem;
}


.section-head p {
  max-width: 760px;
  margin-bottom: 0;

  color: var(--ink-soft);

  font-size: 1.06rem;
  line-height: 1.75;
}


/* =========================================================
   5. HEADER / NAV
   ========================================================= */

.site-header {
  position: relative;
  z-index: 20;

  width: 100%;

  border-bottom: 1px solid rgba(20, 70, 70, 0.08);

  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


.header-inner {
  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 2rem;
}


.site-branding a {
  text-decoration: none;
}


.site-title {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
}


.site-description {
  margin-top: 0.15rem;

  color: var(--ink-soft);

  font-size: 0.78rem;
}


.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}


.site-nav a {
  position: relative;

  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 600;
}


.site-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -7px;

  width: 100%;
  height: 1px;

  background: var(--teal);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.2s ease;
}


.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
  transform: scaleX(1);
}


/* =========================================================
   6. BUTTONS
   ========================================================= */

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 0.9rem;

  margin-top: 1.8rem;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 0.72rem 1.3rem;

  border: 1px solid rgba(20, 70, 70, 0.22);
  border-radius: 999px;

  color: var(--ink);

  background: rgba(255, 255, 255, 0.8);

  text-decoration: none;

  font-size: 0.9rem;
  line-height: 1;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}


.button:hover {
  transform: translateY(-1px);

  border-color: rgba(22, 119, 111, 0.35);

  background: #ffffff;

  box-shadow: 0 8px 24px rgba(20, 70, 70, 0.08);
}


.button.primary {
  color: #ffffff;

  border-color: var(--teal);

  background: var(--teal);
}


.button.primary:hover {
  border-color: var(--teal-dark);

  background: var(--teal-dark);
}


/* =========================================================
   7. GLOBAL CARDS
   ========================================================= */

.grid-2,
.grid-3 {
  display: grid;

  gap: 1.15rem;

  width: 100%;
}


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


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


.card {
  min-width: 0;

  padding: 1.65rem;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  background: rgba(255, 255, 255, 0.78);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}


.card:hover {
  transform: translateY(-2px);

  border-color: rgba(22, 119, 111, 0.20);

  box-shadow: var(--shadow-soft);
}


.card .eyebrow {
  margin-bottom: 0.7rem;
}


.card h3 {
  margin-bottom: 0.75rem;
}


.card p {
  margin-bottom: 0;

  color: var(--ink-soft);

  font-size: 0.96rem;
  line-height: 1.68;
}


/* =========================================================
   8. HOMEPAGE HERO
   ========================================================= */

.hero {
  position: relative;

  padding: 4.5rem 0 4rem;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 95% 5%,
      rgba(218, 231, 232, 0.48),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fdfbf7 56%,
      #f3f6f6 100%
    );
}


.home-hero .kicker {
  margin-bottom: 1.35rem;
}


.home-hero-image {
  display: block;

  width: 100%;
  max-width: 1180px;

  height: auto;

  margin: 0 0 2rem;

  border-radius: 24px;

  box-shadow: 0 18px 48px rgba(30, 67, 69, 0.06);
}


.hero .lede {
  max-width: 920px;

  margin: 0;

  color: var(--ink);

  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.7;
}


.hero-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 0.7rem;

  margin-top: 1.7rem;
}


.hero-meta span {
  display: inline-flex;
  align-items: center;

  min-height: 38px;

  padding: 0.45rem 0.75rem;

  border: 1px solid rgba(22, 119, 111, 0.14);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.65);

  color: var(--ink-soft);

  font-size: 0.76rem;
  line-height: 1.2;
}


/* =========================================================
   9. QUOTE PANEL
   ========================================================= */

.quote-panel {
  max-width: 900px;

  margin-top: 1.8rem;

  padding: 1.7rem 1.9rem;

  border-left: 4px solid var(--teal);
  border-radius: 0 18px 18px 0;

  background:
    linear-gradient(
      90deg,
      rgba(233, 246, 243, 0.88),
      rgba(250, 245, 232, 0.65)
    );

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.18rem;
  line-height: 1.65;
}


/* =========================================================
   10. ABOUT PAGE
   ========================================================= */

.grid-2.about-grid {
  align-items: start;
}


.prose {
  max-width: 760px;
}


.prose p {
  margin-bottom: 1.1rem;

  font-size: 1.05rem;
  line-height: 1.78;
}


.about-side {
  display: flex;
  flex-direction: column;

  gap: 1.2rem;

  align-items: flex-start;
}


.profile-card {
  display: flex;
  align-items: center;

  gap: 1.1rem;

  width: 100%;
  max-width: 580px;

  padding: 1rem;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  background: rgba(255, 255, 255, 0.8);
}


.profile-card img {
  width: 118px;
  height: 138px;

  flex: 0 0 auto;

  object-fit: cover;

  border-radius: 14px;
}


.profile-card-text {
  display: flex;
  flex-direction: column;

  gap: 0.25rem;
}


.profile-card-text strong {
  font-size: 1rem;
}


.profile-card-text span {
  color: var(--ink-soft);
  font-size: 0.84rem;
}


/* =========================================================
   11. RESEARCH PAGE
   ========================================================= */

.research-page {
  width: 100%;
  overflow: hidden;
}


/* HERO */

.research-page .research-hero {
  padding: 5.5rem 0 4rem;
}


.research-page .research-hero .container {
  max-width: 1180px;
}


.research-page .research-hero .eyebrow {
  margin-bottom: 1rem;
}


.research-page .research-hero h1 {
  max-width: 900px;

  margin: 0 0 1.5rem;

  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}


.research-page .research-hero p {
  max-width: 850px;

  margin: 0 0 1rem;

  font-size: 1.15rem;
  line-height: 1.75;
}


/* SECTIONS */

.research-page .research-section {
  padding: 4.5rem 0;
}


.research-page .research-section + .research-section {
  border-top: 1px solid rgba(20, 70, 70, 0.08);
}


.research-page .research-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}


.research-page .research-heading .eyebrow {
  margin-bottom: 0.65rem;
}


.research-page .research-heading h2 {
  margin: 0 0 1rem;

  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}


.research-page .research-heading p {
  margin: 0;

  color: var(--ink-soft);

  font-size: 1.08rem;
  line-height: 1.7;
}


/* RESEARCH ACCORDIONS */

.research-page .research-expertise-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 1rem;

  width: 100%;
  max-width: 900px;
}


.research-page .research-expertise {
  width: 100%;

  margin: 0;
  padding: 0;

  border: 1px solid rgba(20, 70, 70, 0.11);
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.76);

  overflow: hidden;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}


.research-page .research-expertise:hover {
  border-color: rgba(20, 110, 105, 0.22);

  box-shadow: 0 14px 40px rgba(20, 70, 70, 0.06);
}


.research-page .research-expertise[open] {
  border-color: rgba(20, 110, 105, 0.24);

  box-shadow: 0 16px 44px rgba(20, 70, 70, 0.07);
}


.research-page .research-expertise summary {
  position: relative;

  display: flex;
  align-items: center;

  gap: 1.25rem;

  width: 100%;

  padding: 1.55rem 4rem 1.55rem 1.65rem;

  cursor: pointer;
  list-style: none;
}


.research-page .research-expertise summary::-webkit-details-marker {
  display: none;
}


.research-page .research-expertise summary::after {
  content: "+";

  position: absolute;

  right: 1.6rem;
  top: 50%;

  transform: translateY(-50%);

  color: var(--teal);

  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;

  transition: transform 0.2s ease;
}


.research-page .research-expertise[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}


.research-page .research-number {
  flex: 0 0 auto;

  min-width: 2.7rem;

  color: var(--teal);

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.research-page .research-title-wrap {
  min-width: 0;
}


.research-page .research-title-wrap h3 {
  margin: 0;

  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}


.research-page .research-expertise-content {
  padding: 0 1.65rem 1.7rem 5.6rem;
}


.research-page .research-expertise-content h4 {
  margin: 0 0 0.75rem;

  color: var(--teal);

  font-size: 1rem;
  line-height: 1.4;
}


.research-page .research-expertise-content p {
  max-width: 720px;

  margin: 0 0 1.2rem;

  color: var(--ink-soft);

  font-size: 1rem;
  line-height: 1.7;
}


.research-page .research-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 0.55rem;
}


.research-page .research-tags span {
  display: inline-flex;
  align-items: center;

  padding: 0.48rem 0.72rem;

  border: 1px solid rgba(20, 70, 70, 0.11);
  border-radius: 999px;

  background: rgba(244, 249, 248, 0.75);

  font-size: 0.78rem;
}


/* FOUNDATIONS */

.research-page .research-foundations {
  max-width: 950px;

  padding: 2rem;

  border-radius: 22px;

  background:
    linear-gradient(
      135deg,
      rgba(233, 246, 243, 0.82),
      rgba(250, 245, 232, 0.78)
    );
}


.research-page .research-foundations h3 {
  margin: 0 0 1rem;
}


.research-page .research-foundation-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 0.65rem;
}


.research-page .research-foundation-tags span {
  display: inline-flex;
  align-items: center;

  padding: 0.55rem 0.8rem;

  border: 1px solid rgba(20, 70, 70, 0.1);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.72);

  font-size: 0.82rem;
}


/* METHODS */

.research-page .research-method-grid {
  display: grid !important;

  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

  gap: 1rem !important;

  width: 100% !important;
}


.research-page .research-method {
  display: block !important;

  width: 100% !important;
  min-width: 0 !important;

  padding: 1.5rem !important;

  border: 1px solid rgba(20, 70, 70, 0.1);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.68);
}


.research-page .research-method h3 {
  margin: 0 0 0.65rem !important;

  font-size: 1.05rem !important;
  line-height: 1.35 !important;
}


.research-page .research-method p {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;

  margin: 0 !important;

  color: var(--ink-soft);

  font-size: 0.92rem !important;
  line-height: 1.6 !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;

  columns: auto !important;
  column-count: auto !important;
}


/* QUESTIONS */

.research-page .research-question-grid {
  display: grid !important;

  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

  gap: 1rem !important;

  width: 100% !important;
}


.research-page .research-question {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;

  gap: 1rem !important;

  width: 100% !important;
  min-width: 0 !important;

  padding: 1.45rem !important;

  border: 1px solid rgba(20, 70, 70, 0.1);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.72);
}


.research-page .research-question-number {
  flex: 0 0 auto !important;

  width: 2rem !important;
  min-width: 2rem !important;

  color: var(--teal);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}


.research-page .research-question p {
  flex: 1 1 auto !important;

  display: block !important;

  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--ink);

  font-size: 0.98rem !important;
  line-height: 1.58 !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;

  columns: auto !important;
  column-count: auto !important;
  column-width: auto !important;

  writing-mode: horizontal-tb !important;
}


/* INTELLECTUAL FOUNDATIONS */

.research-page .research-intellectual {
  max-width: 900px;
}


.research-page .research-intellectual h2 {
  margin: 0 0 1.4rem;

  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}


.research-page .research-intellectual p {
  max-width: 820px;

  margin: 0 0 1rem;

  color: var(--ink-soft);

  font-size: 1.06rem;
  line-height: 1.75;
}


.research-page .research-closing-quote {
  max-width: 900px;

  margin-top: 2rem;

  padding: 1.75rem 2rem;

  border-left: 4px solid var(--teal);
  border-radius: 0 18px 18px 0;

  background:
    linear-gradient(
      90deg,
      rgba(232, 247, 244, 0.82),
      rgba(252, 247, 235, 0.62)
    );

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.18rem;
  line-height: 1.65;
}


/* =========================================================
   12. FOOTER
   ========================================================= */

.site-footer {
  margin-top: 4rem;

  padding: 2.7rem 0;

  border-top: 1px solid rgba(20, 70, 70, 0.08);

  background:
    linear-gradient(
      90deg,
      rgba(238, 248, 246, 0.72),
      rgba(251, 247, 237, 0.74)
    );
}


.footer-grid {
  display: grid;

  grid-template-columns: minmax(0, 1fr) auto;

  gap: 3rem;

  align-items: start;
}


.footer-title {
  margin-bottom: 0.35rem;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.2rem;
  font-weight: 500;
}


.footer-small {
  max-width: 520px;

  color: var(--ink-soft);

  font-size: 0.82rem;
  line-height: 1.55;
}


.footer-contact {
  margin-top: 0.8rem;
}


.footer-contact a {
  color: var(--ink);

  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 600;
}


.footer-contact a:hover {
  color: var(--teal);

  text-decoration: underline;
}


.footer-links {
  display: flex;
  flex-direction: column;

  align-items: flex-end;

  gap: 0.45rem;
}


.footer-links a {
  color: var(--ink);

  text-decoration: none;

  font-size: 0.88rem;
  font-weight: 600;
}


.footer-links a:hover {
  color: var(--teal);
  text-decoration: underline;
}


/* =========================================================
   13. WORDPRESS CONTENT SAFETY
   ========================================================= */

.entry-content,
.page-content,
.site-main {
  min-width: 0;
}


.entry-content > * {
  max-width: 100%;
}


.entry-content p,
.entry-content li {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}


.wp-block-image img {
  height: auto;
}


/* =========================================================
   14. TABLET
   ========================================================= */

@media (max-width: 960px) {

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


  .research-page .research-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }


  .footer-grid {
    gap: 2rem;
  }

}


/* =========================================================
   15. MOBILE NAV / LAYOUT
   ========================================================= */

@media (max-width: 760px) {

  .container {
    width: min(calc(100% - 32px), var(--container));
  }


  .section {
    padding: 3.6rem 0;
  }


  .section.compact {
    padding: 3rem 0;
  }


  .header-inner {
    min-height: auto;

    padding: 1rem 0;

    flex-direction: column;
    align-items: flex-start;

    gap: 0.9rem;
  }


  .site-nav {
    width: 100%;

    flex-wrap: wrap;

    gap: 0.8rem 1.15rem;
  }


  .site-nav a {
    font-size: 0.84rem;
  }


  .hero {
    padding: 3rem 0 3.2rem;
  }


  .home-hero-image {
    margin-bottom: 1.5rem;

    border-radius: 16px;
  }


  .hero .lede {
    font-size: 1.08rem;
    line-height: 1.62;
  }


  .hero-meta {
    gap: 0.5rem;
  }


  .hero-meta span {
    min-height: 34px;

    padding: 0.4rem 0.65rem;

    font-size: 0.7rem;
  }


  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }


  .button-row {
    gap: 0.7rem;
  }


  .button {
    min-height: 46px;

    padding: 0.65rem 1.1rem;

    font-size: 0.84rem;
  }


  .quote-panel {
    padding: 1.35rem 1.4rem;

    font-size: 1.05rem;
  }


  .profile-card {
    align-items: flex-start;
  }


  .profile-card img {
    width: 96px;
    height: 116px;
  }


  .footer-grid {
    grid-template-columns: 1fr;

    gap: 1.5rem;
  }


  .footer-links {
    align-items: flex-start;
  }


  /* Research page */

  .research-page .research-hero {
    padding: 3.5rem 0 2.75rem;
  }


  .research-page .research-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }


  .research-page .research-hero p {
    font-size: 1rem;
    line-height: 1.65;
  }


  .research-page .research-section {
    padding: 3rem 0;
  }


  .research-page .research-heading {
    margin-bottom: 1.75rem;
  }


  .research-page .research-heading h2 {
    font-size: 2rem;
  }


  .research-page .research-expertise summary {
    gap: 0.75rem;

    padding: 1.25rem 3.4rem 1.25rem 1.15rem;
  }


  .research-page .research-expertise summary::after {
    right: 1.2rem;
  }


  .research-page .research-number {
    min-width: 2rem;

    font-size: 0.68rem;
  }


  .research-page .research-title-wrap h3 {
    font-size: 1.15rem;
  }


  .research-page .research-expertise-content {
    padding: 0 1.15rem 1.4rem;
  }


  .research-page .research-method-grid {
    grid-template-columns: 1fr !important;
  }


  .research-page .research-question-grid {
    grid-template-columns: 1fr !important;
  }


  .research-page .research-question {
    padding: 1.2rem !important;
  }


  .research-page .research-foundations {
    padding: 1.4rem;
  }


  .research-page .research-foundation-tags {
    gap: 0.5rem;
  }


  .research-page .research-closing-quote {
    padding: 1.4rem;

    font-size: 1.05rem;
  }

}


/* =========================================================
   16. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .container {
    width: min(calc(100% - 24px), var(--container));
  }


  .hero-meta span {
    width: auto;
  }


  .card {
    padding: 1.35rem;
  }


  .profile-card {
    flex-direction: column;
  }


  .profile-card img {
    width: 110px;
    height: 130px;
  }


  .research-page .research-expertise summary {
    padding-left: 1rem;
  }


  .research-page .research-expertise-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

}