/* =====================================================
   PHIL HOMEPAGE
===================================================== */

@import url(
  "https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800&display=swap"
);


:root {
  --phil-navy: #262262;
  --phil-purple: #392c75;
  --phil-lavender: #4f50a2;
  --phil-pink: #f282aa;
  --phil-white: #ffffff;

  --phil-white-04: rgba(255, 255, 255, 0.04);
  --phil-white-06: rgba(255, 255, 255, 0.06);
  --phil-white-08: rgba(255, 255, 255, 0.08);
  --phil-white-10: rgba(255, 255, 255, 0.10);
  --phil-white-14: rgba(255, 255, 255, 0.14);
  --phil-white-18: rgba(255, 255, 255, 0.18);
  --phil-white-25: rgba(255, 255, 255, 0.25);
  --phil-white-40: rgba(255, 255, 255, 0.40);

  --phil-container-width: 1080px;
  --phil-content-padding: clamp(1.25rem, 4vw, 3rem);

  --phil-radius-small: 14px;
  --phil-radius-medium: 22px;
  --phil-radius-large: 32px;

  --phil-section-space: clamp(4rem, 8vw, 7.5rem);
}


/* =====================================================
   PAGE FOUNDATION
===================================================== */

html {
  box-sizing: border-box;
}

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


body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 78% 70%,
      rgba(79, 80, 162, 0.23),
      transparent 34rem
    ),
    linear-gradient(
      180deg,
      var(--phil-purple) 0%,
      var(--phil-navy) 100%
    );
  color: var(--phil-white);
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}


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


a {
  color: inherit;
}


button,
input,
textarea,
select {
  font: inherit;
}


.phil-homepage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}


.phil-homepage::before {
  content: "";
  position: absolute;
  top: 7%;
  right: -14rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: rgba(79, 80, 162, 0.10);
  filter: blur(1px);
  pointer-events: none;
}


.phil-home-container {
  position: relative;
  z-index: 1;
  width: min(
    calc(100% - (var(--phil-content-padding) * 2)),
    var(--phil-container-width)
  );
  margin: 0 auto;
}


.phil-home-section {
  position: relative;
  padding: var(--phil-section-space) 0;
}


.phil-home-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--phil-white);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


.phil-section-heading {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}


.phil-section-heading h2 {
  margin: 0;
  color: var(--phil-white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

/* =====================================================
   HOME LINK
===================================================== */

.phil-header-home {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100px;


  text-decoration: none;

  opacity: 0.35;

  transition:
    opacity 180ms ease,
    transform 180ms ease;
}


.phil-header-home:hover {
  opacity: 1;
  transform: translateY(-2px);
}


.phil-header-home img {
  display: block;

  width: 100px;
  height: auto;

  object-fit: contain;
}


.phil-header-home:focus-visible {
  outline: 3px solid #f282aa;
  outline-offset: 4px;
}


/* =====================================================
   HOMEPAGE TOP SECTION
===================================================== */
/* =====================================================
   HOMEPAGE INTRODUCTION
===================================================== */

.phil-home-top {
  position: relative;
  padding:
    clamp(2.5rem, 5vw, 4.5rem)
    0
    clamp(4rem, 8vw, 7rem);
}


.phil-home-intro-grid {
  display: grid;

  grid-template-columns:
    minmax(230px, 280px)
    repeat(3, minmax(0, 1fr));

  grid-template-areas:
    "character intro intro intro"
    "character thought popular newest";

  column-gap: clamp(1.75rem, 3.5vw, 3.5rem);
  row-gap: clamp(3rem, 5vw, 4.5rem);

  align-items: start;
}


/* =====================================================
   PHIL CHARACTER
===================================================== */

.phil-home-character {
  grid-area: character;
  align-self: stretch;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  width: 100%;
  min-width: 0;
  height: 100%;

  overflow: visible;
}


.phil-home-character img {
  display: block;

  width: auto;
  height: clamp(430px, 38vw, 560px);

  max-width: none;
  max-height: none;

  object-fit: contain;
  object-position: top center;

  transform: translateX(15px);
}


/* =====================================================
   INTRODUCTORY TEXT
===================================================== */

/* =====================================================
   PHIL THOUGHT IMAGE
===================================================== */

.phil-thought-image {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 170px;

  margin: 0.75rem 0 1.25rem;
}


.phil-thought-image img {
  display: block;

  width: auto;
  height: 170px;

  max-width: none;
  max-height: none;

  object-fit: contain;
}

.phil-home-intro-copy {
  grid-area: intro;
  align-self: start;
  max-width: 720px;
  padding-top: 0.35rem;
}


.phil-home-intro-greeting {
  margin: 0 0 0.15rem;

  color: var(--phil-white);

  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}


.phil-home-intro-copy h1 {
  display: flex;
  flex-direction: column;

  margin: 0;

  color: var(--phil-white);
  line-height: 1.05;
}


.phil-home-intro-copy h1 strong {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}


.phil-home-intro-copy h1 span {
  margin-top: 0.15rem;

  font-size: clamp(1.4rem, 2.7vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
}


/* =====================================================
   FEATURED CONTENT
===================================================== */

.phil-featured-grid {
  display: contents;
}


.phil-feature-card {
  min-width: 0;
}


.phil-thought-card {
  grid-area: thought;
}


.phil-feature-card:nth-child(2) {
  grid-area: popular;
}


.phil-feature-card:nth-child(3) {
  grid-area: newest;
}


.phil-feature-card h2 {
  margin: 0 0 1.25rem;

  color: var(--phil-white);

  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.15;
}


.phil-feature-card p {
  margin: 1rem 0 0;

  color: var(--phil-white);

  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.45;
}


.phil-feature-project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}


.phil-feature-project-link:hover p {
  text-decoration: underline;
  text-decoration-color: var(--phil-pink);
  text-underline-offset: 0.22em;
}


/* =====================================================
   FEATURED IMAGES
===================================================== */

.phil-feature-project-image {
  width: 100%;
  aspect-ratio: 1.45 / 1;

  overflow: hidden;

  background: var(--phil-white-08);
  border: 1px solid var(--phil-white-18);
}


.phil-feature-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.phil-thought-image {
  display: flex;
  width: 100%;
  height: 125px;
  align-items: center;
  justify-content: center;
}


.phil-thought-image img {
  width: auto;
  max-width: 120px;
  height: 120px;
  object-fit: contain;
}


/* =====================================================
   METRIC CARDS
===================================================== */

.phil-metrics-section {
  padding-top: clamp(3rem, 6vw, 6rem);
}


.phil-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
}


.phil-metric-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  background: var(--phil-white-06);
  border: 1px solid var(--phil-white-25);
  border-radius: var(--phil-radius-medium);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(38, 34, 98, 0.12);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}


.phil-metric-card:hover {
  transform: translateY(-4px);
  background: var(--phil-white-10);
  border-color: var(--phil-white-40);
}


.phil-metric-value {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--phil-pink);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}


.phil-metric-title {
  display: block;
  max-width: 430px;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.18;
}


.phil-metric-description {
  display: block;
  max-width: 470px;
  margin-top: 1.2rem;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.42;
}

/* =====================================================
   OPERATIONS
===================================================== */

.phil-operations-section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(6rem, 10vw, 10rem);
}


.phil-operations-section .phil-section-heading {
  max-width: 850px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}


.phil-operations-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.75rem);
}


/* =====================================================
   OPERATION ROW
===================================================== */

.phil-operation-row {
  display: grid;
  grid-template-columns:
    minmax(250px, 290px)
    minmax(0, 1fr);

  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}


/* =====================================================
   SHARED CARD APPEARANCE
===================================================== */

.phil-operation-identity,
.phil-operation-prompt {
  color: var(--phil-white);
  background: var(--phil-white-06);
  border: 1px solid var(--phil-white-25);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(38, 34, 98, 0.12);

  text-decoration: none;

  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}


/* =====================================================
   OPERATION IDENTITY CARD
===================================================== */

.phil-operation-identity {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  padding: 1.4rem 1.25rem 1rem;

  overflow: hidden;

  border-radius: 22px;

  text-align: center;
  text-decoration: none;
}


.phil-operation-identity h3 {
  width: 100%;
  margin: 0 0 0.75rem;

  color: var(--phil-white);

  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 800;
  line-height: 1.08;

  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}


.phil-operation-identity:hover,
.phil-operation-identity:focus,
.phil-operation-identity:visited {
  text-decoration: none;
}


.phil-operation-identity:hover h3,
.phil-operation-identity:focus h3,
.phil-operation-identity:visited h3 {
  text-decoration: none;
}


/* =====================================================
   OPERATION IMAGES
===================================================== */

.phil-operation-identity img {
  display: block;

  width: auto;
  height: 185px;

  max-width: 96%;
  max-height: 185px;

  margin: auto auto 0;

  object-fit: contain;
  object-position: center bottom;

  transition: transform 180ms ease;
}


.phil-operation-identity:hover img {
  transform: scale(1.045);
}


/* =====================================================
   OPERATION PROMPT CARD
===================================================== */

.phil-operation-prompt {
  display: flex;
  min-height: 260px;
  align-items: center;

  padding: clamp(1.5rem, 4vw, 3.25rem);

  border-radius: 42px;
}


/* =====================================================
   PROMPT PILL
===================================================== */

.phil-operation-plus {
  display: flex;
  width: 62px;
  min-width: 62px;
  height: 66px;

  align-items: center;
  justify-content: center;

  color: var(--phil-white);
  background: var(--phil-navy);

  border: 3px solid var(--phil-white);
  border-right: 0;
  border-radius: 999px 0 0 999px;

  font-size: 2rem;
  font-weight: 300;
}


.phil-operation-prompt > span:last-child {
  display: flex;
  min-height: 66px;
  flex: 1;

  align-items: center;

  padding:
    0.9rem
    1.75rem
    0.9rem
    0.75rem;

  color: var(--phil-white);
  background: var(--phil-navy);

  border: 3px solid var(--phil-white);
  border-left: 0;
  border-radius: 0 999px 999px 0;

  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  line-height: 1.25;
}


/* =====================================================
   HOVER AND FOCUS
===================================================== */

.phil-operation-identity:hover,
.phil-operation-prompt:hover {
  transform: translateY(-4px);

  background: var(--phil-white-10);
  border-color: var(--phil-white-40);
}


.phil-operation-prompt:hover .phil-operation-plus,
.phil-operation-prompt:hover > span:last-child {
  background: var(--phil-purple);
}


.phil-operation-identity:focus-visible,
.phil-operation-prompt:focus-visible {
  outline: 3px solid var(--phil-pink);
  outline-offset: 5px;
}


/* =====================================================
   TABLET
===================================================== */

@media screen and (max-width: 900px) {

  .phil-operation-row {
    grid-template-columns:
      minmax(210px, 245px)
      minmax(0, 1fr);
  }


  .phil-operation-identity,
  .phil-operation-prompt {
    min-height: 230px;
  }


  .phil-operation-identity img {
    height: 160px;
    max-height: 160px;
  }


  .phil-operation-prompt {
    padding: 1.5rem;
    border-radius: 30px;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width: 680px) {

  .phil-operation-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }


  .phil-operation-identity {
    min-height: 250px;
  }


  .phil-operation-identity img {
    height: 175px;
    max-height: 175px;
  }


  .phil-operation-prompt {
    min-height: 130px;
    padding: 1.25rem;
    border-radius: 24px;
  }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media screen and (max-width: 460px) {

  .phil-operation-identity {
    min-height: 225px;
  }


  .phil-operation-identity img {
    height: 150px;
    max-height: 150px;
  }


  .phil-operation-plus {
    width: 52px;
    min-width: 52px;
    height: 58px;
  }


  .phil-operation-prompt > span:last-child {
    min-height: 58px;
    padding-right: 1rem;
    font-size: 0.9rem;
  }

}


/* =====================================================
   FOCUS STATES
===================================================== */

.phil-feature-project-link:focus-visible,
.phil-metric-card:focus-visible,
.phil-operation-identity:focus-visible,
.phil-operation-prompt:focus-visible {
  outline: 3px solid var(--phil-pink);
  outline-offset: 5px;
}


/* =====================================================
   TABLET
===================================================== */

@media screen and (max-width: 900px) {

  .phil-home-intro-grid {
    grid-template-columns:
      145px
      repeat(2, minmax(0, 1fr));

    grid-template-areas:
      "character intro intro"
      "character thought thought"
      "character popular newest";

    column-gap: 2rem;
    row-gap: 3rem;
  }


.phil-home-character {
  min-height: 0;
}


.phil-home-character img {
  height: clamp(360px, 52vw, 470px);
  max-width: none;
}


  .phil-thought-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
    column-gap: 1.5rem;
  }


  .phil-thought-card h2 {
    grid-column: 1 / -1;
  }


  .phil-thought-card p {
    margin-top: 0;
  }

}

/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width: 680px) {

  .phil-home-intro-grid {
    grid-template-columns:
      105px
      minmax(0, 1fr);

    grid-template-areas:
      "character intro"
      "thought thought"
      "popular popular"
      "newest newest";

    column-gap: 1.25rem;
    row-gap: 2.75rem;
  }


.phil-home-character {
  align-self: start;
  height: auto;
  overflow: hidden;
}


.phil-home-character img {
  width: 105px;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  transform: none;
}


  .phil-home-intro-copy {
    align-self: center;
  }


  .phil-thought-card {
    display: block;
  }


  .phil-thought-image {
    justify-content: flex-start;
  }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media screen and (max-width: 460px) {

  .phil-home-intro-grid {
    grid-template-columns: 1fr;

    grid-template-areas:
      "character"
      "intro"
      "thought"
      "popular"
      "newest";

    text-align: center;
  }


  .phil-home-character img {
    max-width: 130px;
  }


  .phil-home-intro-copy {
    justify-self: center;
  }


  .phil-feature-card {
    text-align: left;
  }


  .phil-thought-image {
    justify-content: center;
  }

}





/* =====================================================
   ERROR PAGE
===================================================== */

.phil-error-page {
  display: flex;
  min-height: 65vh;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 7rem;
}


.phil-error-container {
  width: min(100%, 680px);
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
}


.phil-error-eyebrow {
  margin: 0 0 0.75rem;
  color: #f282aa;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.phil-error-container h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
}


.phil-error-message {
  max-width: 520px;
  margin: 1.5rem auto 0;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.55;
}


.phil-error-details {
  margin: 1.5rem auto 0;
  padding: 1rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  font-size: 0.9rem;
}


.phil-error-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}


.phil-error-button:hover {
  background: rgba(255, 255, 255, 0.16);
}


.phil-error-button:focus-visible {
  outline: 3px solid #f282aa;
  outline-offset: 4px;
}



/* =====================================================
   PHIL'S RESUME / ABOUT PHIL
===================================================== */

.phil-about {
  position: relative;
  width: min(
    calc(100% - (var(--phil-content-padding) * 2)),
    var(--phil-container-width)
  );
  margin: 0 auto;
  padding:
    clamp(3.5rem, 7vw, 6rem)
    0
    clamp(6rem, 10vw, 9rem);
}


/* =====================================================
   PAGE HEADER
===================================================== */

.phil-about-header {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(320px, 0.85fr);

  align-items: center;

  gap: clamp(2rem, 5vw, 5rem);

  width: 100%;

  margin-bottom: clamp(3rem, 6vw, 5rem);
}


.phil-about-header-copy {
  min-width: 0;
  align-self: center;
}


.phil-about-header h1 {
  margin: 0;

  color: var(--phil-white);

  font-size: clamp(2.6rem, 6vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}


.phil-about-intro {
  max-width: 700px;

  margin: 1.5rem 0 0;

  color: var(--phil-white);

  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 400;
  line-height: 1.55;
}

/* =====================================================
   HEADER IMAGE
===================================================== */

.phil-about-header-image {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  min-width: 0;
  overflow: hidden;
}


.phil-about-header-image img {
  display: block;

  width: 100%;
  height: auto;

  max-width: 440px;
  max-height: 430px;

  object-fit: contain;
  object-position: center;
}


/* =====================================================
   ACCORDION LIST
===================================================== */

.phil-about-sections {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* =====================================================
   ACCORDION PANEL
===================================================== */

.phil-about-section {
  overflow: hidden;

  color: var(--phil-white);
  background: var(--phil-white-06);

  border: 1px solid var(--phil-white-25);
  border-radius: var(--phil-radius-medium);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(38, 34, 98, 0.12);

  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}


.phil-about-section:hover {
  background: var(--phil-white-08);
  border-color: var(--phil-white-40);
}


.phil-about-section[open] {
  background: var(--phil-white-08);
  border-color: var(--phil-white-40);
}


/* =====================================================
   ACCORDION SUMMARY
===================================================== */

.phil-about-section summary {
  position: relative;

  display: flex;
  min-height: 88px;

  align-items: center;

  padding:
    1.4rem
    5.25rem
    1.4rem
    clamp(1.4rem, 3vw, 2.4rem);

  color: var(--phil-white);

  cursor: pointer;
  list-style: none;

  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;

  transition:
    background-color 180ms ease,
    color 180ms ease;
}


.phil-about-section summary::-webkit-details-marker {
  display: none;
}


.phil-about-section summary::marker {
  display: none;
  content: "";
}


.phil-about-section summary:hover {
  background: var(--phil-white-04);
}


.phil-about-section summary:focus-visible {
  outline: 3px solid var(--phil-pink);
  outline-offset: -3px;
}


/* =====================================================
   ACCORDION BUTTON
===================================================== */

.phil-about-section summary::after {
  content: "+";

  position: absolute;
  top: 50%;
  right: clamp(1.25rem, 3vw, 2rem);

  display: flex;
  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;

  color: var(--phil-white);
  background: var(--phil-navy);

  border: 2px solid var(--phil-white);
  border-radius: 50%;

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

  transform: translateY(-50%);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}


.phil-about-section[open] summary::after {
  content: "−";
  background: var(--phil-pink);
  transform:
    translateY(-50%)
    rotate(180deg);
}


/* =====================================================
   OPEN PANEL CONTENT
===================================================== */

.phil-about-three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: clamp(1.5rem, 3vw, 2.5rem);

  padding:
    clamp(1.75rem, 4vw, 3rem)
    clamp(1.4rem, 3vw, 2.4rem)
    clamp(2.25rem, 5vw, 3.75rem);

  border-top: 1px solid var(--phil-white-18);
}


/* =====================================================
   CONTENT COLUMNS
===================================================== */

.phil-about-column {
  min-width: 0;
}


.phil-about-column + .phil-about-column {
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  border-left: 1px solid var(--phil-white-18);
}


.phil-about-column h3 {
  margin: 0 0 1rem;

  color: var(--phil-pink);

  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}


.phil-about-column p {
  margin: 0;

  color: var(--phil-white);

  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.55;
}


.phil-about-column p + p {
  margin-top: 1rem;
}


.phil-about-column strong {
  font-weight: 700;
}


.phil-about-column em {
  color: rgba(255, 255, 255, 0.86);
}


/* =====================================================
   OPTIONAL LISTS
===================================================== */

.phil-about-column ul {
  margin: 1rem 0 0;
  padding: 0;

  list-style: none;
}


.phil-about-column li {
  position: relative;

  margin-top: 0.55rem;
  padding-left: 1.15rem;

  color: var(--phil-white);

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


.phil-about-column li::before {
  content: "";

  position: absolute;
  top: 0.62em;
  left: 0;

  width: 6px;
  height: 6px;

  background: var(--phil-pink);
  border-radius: 50%;
}


/* =====================================================
   OPTIONAL SECTION ICON
===================================================== */

.phil-about-summary-icon {
  display: flex;
  width: 54px;
  min-width: 54px;
  height: 54px;

  align-items: center;
  justify-content: center;

  margin-right: 1rem;

  background: var(--phil-white-08);
  border: 1px solid var(--phil-white-18);
  border-radius: 14px;
}


.phil-about-summary-icon img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}


/* =====================================================
   TABLET
===================================================== */

@media screen and (max-width: 900px) {

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


  .phil-about-column:nth-child(3) {
    grid-column: 1 / -1;

    padding-top: 1.75rem;
    padding-left: 0;

    border-top: 1px solid var(--phil-white-18);
    border-left: 0;
  }

}

@media screen and (max-width: 900px) {

  .phil-about-header {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(230px, 320px);

    gap: 2rem;
  }


  .phil-about-header-image img {
    max-width: 320px;
    max-height: 340px;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width: 680px) {

  .phil-about {
    width: min(
      calc(100% - 2rem),
      var(--phil-container-width)
    );

    padding-top: 2.75rem;
  }


  .phil-about-header {
    margin-bottom: 2.5rem;
  }


  .phil-about-section summary {
    min-height: 78px;

    padding:
      1.2rem
      4.5rem
      1.2rem
      1.25rem;

    font-size: 1.05rem;
  }


  .phil-about-section summary::after {
    right: 1rem;

    width: 40px;
    height: 40px;

    font-size: 1.45rem;
  }


  .phil-about-three-column {
    grid-template-columns: 1fr;
    gap: 0;

    padding:
      1.6rem
      1.25rem
      2rem;
  }


  .phil-about-column + .phil-about-column,
  .phil-about-column:nth-child(3) {
    grid-column: auto;

    margin-top: 1.6rem;
    padding-top: 1.6rem;
    padding-left: 0;

    border-top: 1px solid var(--phil-white-18);
    border-left: 0;
  }


  .phil-about-column p {
    font-size: 0.95rem;
  }

}

/* =====================================================
   ABOUT HEADER — MOBILE
===================================================== */

@media screen and (max-width: 680px) {

  .phil-about-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }


  .phil-about-header-copy {
    max-width: none;
  }


  .phil-about-header-image {
    justify-content: center;
  }


  .phil-about-header-image img {
    width: min(100%, 430px);

    max-width: 430px;
    max-height: none;
  }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media screen and (max-width: 460px) {

  .phil-about {
    width: calc(100% - 1.5rem);
  }


  .phil-about-header h1 {
    font-size: 2.55rem;
  }


  .phil-about-intro {
    font-size: 1rem;
    line-height: 1.5;
  }


  .phil-about-section {
    border-radius: 18px;
  }


  .phil-about-section summary {
    padding-left: 1rem;
    padding-right: 4rem;
  }


  .phil-about-section summary::after {
    right: 0.8rem;

    width: 36px;
    height: 36px;
  }


  .phil-about-three-column {
    padding:
      1.4rem
      1rem
      1.75rem;
  }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

  .phil-about-section,
  .phil-about-section summary,
  .phil-about-section summary::after {
    transition: none;
  }

}


/* =====================================================
   COWORKER IMAGES
===================================================== */

.phil-coworker-image {
  display: block;

  height: 200px;


  margin:
    0 auto
    1.5rem;

  object-fit: contain;
}


.phil-coworker-team-image {
  display: block;

height: 200px;

  margin:
    0 auto
    1.5rem;

  object-fit: contain;
}


/* =====================================================
   PHIL FOOTER
===================================================== */

.phil-footer {
  margin-top: 80px;
  background: #0e0c33;
  color: #ffffff;
}


/* =====================================================
   FOOTER CONTENT
===================================================== */

.phil-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.6fr);
  gap: 80px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 48px;
}


/* =====================================================
   FOOTER BRAND
===================================================== */

.phil-footer-brand {
  max-width: 340px;
}

.phil-footer-logo {
  display: inline-block;
  color: #ffffff;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.phil-footer-logo:hover {
  color: #f282aa;
}

.phil-footer-brand p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.65;
}


/* =====================================================
   FOOTER NAVIGATION
===================================================== */

.phil-footer-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.phil-footer-navigation-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.phil-footer-navigation-group h2 {
  margin: 0 0 17px;
  color: #f282aa;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phil-footer-navigation-group a {
  position: relative;
  display: inline-block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.phil-footer-navigation-group a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.phil-footer-navigation-group a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(240, 88, 169, 0.5);
  outline-offset: 4px;
}


/* =====================================================
   ORGANIZATION SETUP LINK
===================================================== */

.phil-footer-navigation-group a[href="/setup_organization"] {
  margin-top: 5px;
  padding: 9px 13px;
  border: 1px solid rgba(240, 88, 169, 0.75);
  border-radius: 8px;
  color: #f282aa;
  font-weight: 800;
}

.phil-footer-navigation-group a[href="/setup_organization"]:hover {
  border-color: #f282aa;
  background: rgba(240, 189, 88, 0.12);
  color: #ffffff;
  transform: translateY(-1px);
}


/* =====================================================
   DISABLED FUTURE LINKS
===================================================== */

.phil-footer-link-disabled {
  opacity: 0.42;
  pointer-events: none;
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.phil-footer-bottom {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.phil-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  line-height: 1.5;
}

/* =====================================================
   SIGNED-IN ORGANIZATION
===================================================== */

.phil-footer-organization-name {
  margin:
    0
    0
    0.85rem;

  color: #ffffff;

  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}


/* =====================================================
   FOOTER LOGOUT
===================================================== */

.phil-footer-logout-form {
  margin: 0;
  padding: 0;
}


.phil-footer-logout-button {
  display: inline-block;

  margin: 0;
  padding: 0;

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

  border: 0;

  font: inherit;
  font-size: 0.88rem;
  line-height: 1.4;

  text-align: left;

  cursor: pointer;

  transition:
    color 150ms ease,
    transform 150ms ease;
}


.phil-footer-logout-button:hover {
  color: #ffffff;
  transform: translateX(2px);
}


.phil-footer-logout-button:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(242, 130, 170, 0.5);
  outline-offset: 4px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

  .phil-footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .phil-footer-brand {
    max-width: 500px;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 680px) {

  .phil-footer {
    margin-top: 55px;
  }

  .phil-footer-inner {
    width: min(100% - 28px, 1180px);
    padding: 44px 0 36px;
  }

  .phil-footer-navigation {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .phil-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    width: min(100% - 28px, 1180px);
  }

}

.phil-footer-logout-form {
  margin: 0;
}


.phil-footer-logout-button {
  margin: 0;
  padding: 0;

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

  border: 0;

  font: inherit;
  font-size: 0.88rem;

  cursor: pointer;
}


.phil-footer-logout-button:hover {
  color: var(--phil-white);
}


.phil-footer-logout-button:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(242, 130, 170, 0.5);
  outline-offset: 4px;
}