:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --paper-deep: #efede5;
  --ink: #20251f;
  --muted: #73776d;
  --line: #dcdcd2;
  --green: #314e3d;
  --green-light: #dce6d8;
  --orange: #d76c43;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  height: 82px;
  padding: 0 7.1%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(32 37 31 / 8%);
}

.wordmark,
.top-nav,
.header-contact,
.footer-links,
.footer-brand {
  display: flex;
  align-items: center;
}

.wordmark {
  gap: 10px;
  min-width: 210px;
}

.wordmark-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -2px;
  padding: 0 2px 4px 0;
}

.wordmark-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.top-nav {
  gap: 37px;
  height: 100%;
}

.nav-link {
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link-active {
  color: var(--ink);
}

.nav-link-active {
  position: relative;
}

.nav-link-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
}

.header-contact {
  min-width: 210px;
  justify-content: flex-end;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
}

.header-contact span,
.text-link span,
.all-stories-link span,
.footer-links span {
  color: var(--orange);
}

.hero {
  min-height: 552px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 87px 14.2% 74px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  column-gap: 10.8%;
  overflow: hidden;
}

.hero-copy {
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.45px;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

h1,
h2,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 24px 0 17px;
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 70px);
  font-weight: 500;
  letter-spacing: -3.2px;
  line-height: 1.05;
}

h1 em,
h2 em {
  color: var(--green);
  font-weight: 500;
}

.hero-intro {
  max-width: 420px;
  margin-bottom: 21px;
  color: #62675e;
  font-size: 14px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  font-size: 16px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 33px;
  color: #71756c;
  font-size: 10px;
  font-weight: 500;
}

.meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--orange);
}

.portrait-wrap {
  width: 100%;
  max-width: 335px;
  height: 355px;
  position: relative;
  justify-self: end;
  isolation: isolate;
}

.portrait-backdrop {
  position: absolute;
  z-index: -1;
  top: 16px;
  right: 9px;
  bottom: 19px;
  left: 22px;
  border-radius: 48% 48% 3px 3px;
  background: #dfe6d8;
  transform: rotate(2.8deg);
}

.portrait {
  width: calc(100% - 31px);
  height: 100%;
  margin-left: 1px;
  display: block;
  border-radius: 48% 48% 2px 2px;
  object-fit: cover;
  object-position: center 37%;
  background: #e5dfd1;
}

.portrait-caption {
  position: absolute;
  right: -28px;
  bottom: 27px;
  min-width: 157px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green);
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.35;
}

.caption-sparkle {
  color: var(--orange);
  font-family: var(--sans);
  font-size: 23px;
}

.portrait-index {
  position: absolute;
  top: 28px;
  right: -17px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
}

.hero-stamp {
  width: 78px;
  height: 78px;
  position: absolute;
  right: 8%;
  bottom: 49px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #b9c6b4;
  border-radius: 50%;
  color: var(--green);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.35;
  text-align: center;
  transform: rotate(10deg);
}

.stamp-star {
  margin-top: 3px;
  color: var(--orange);
  font-size: 13px;
}

.work-section {
  padding: 68px 7.1% 83px;
  background: var(--paper-deep);
}

.section-heading {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-eyebrow {
  margin-bottom: 13px;
}

.section-heading h2,
.about-note h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 39px);
  font-weight: 500;
  letter-spacing: -1.1px;
  line-height: 1.2;
}

.all-stories-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 6px;
  color: #555b51;
  font-size: 11px;
  white-space: nowrap;
}

.work-toolbar {
  max-width: 1260px;
  margin: 36px auto 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
  color: #686d64;
  cursor: pointer;
  font-size: 10px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-button:hover {
  border-color: #c7c9bd;
  color: var(--ink);
}

.filter-button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.search-box {
  width: 207px;
  height: 36px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d5d5ca;
  border-radius: 3px;
  background: var(--paper);
}

.search-box svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #878b81;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
}

.search-box input::placeholder {
  color: #96988f;
}

.search-box kbd {
  width: 17px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid #dddcd2;
  border-radius: 2px;
  color: #858980;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.results-count {
  max-width: 1260px;
  min-height: 14px;
  margin: 0 auto 12px;
  color: #81857c;
  font-size: 9px;
  letter-spacing: 0.2px;
}

.story-pagination {
  max-width: 1260px;
  margin: 26px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.pagination-button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.pagination-button:hover:not(:disabled),
.pagination-button[aria-current="page"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.pagination-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.story-grid {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #e1dfd5;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.story-card:hover {
  box-shadow: 0 10px 24px rgb(38 45 35 / 8%);
  transform: translateY(-3px);
}

.story-cover {
  height: 172px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 17px 17px 14px;
  isolation: isolate;
}

.story-cover::before,
.story-cover::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.story-cover::before {
  width: 178px;
  height: 178px;
  right: 25px;
  bottom: -101px;
  border: 1px solid rgb(32 37 31 / 16%);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgb(32 37 31 / 4%), 0 0 0 27px rgb(32 37 31 / 4%), 0 0 0 43px rgb(32 37 31 / 4%);
}

.story-cover::after {
  width: 90px;
  height: 90px;
  right: 65px;
  bottom: -16px;
  border: 1px solid rgb(32 37 31 / 18%);
  border-radius: 50%;
}

.story-cover[data-art="tax"] {
  background: #e5d8cc;
}

.story-cover[data-art="saving"] {
  background: #dce4d3;
}

.story-cover[data-art="insurance"] {
  background: #d6dfe0;
}

.story-cover[data-art="retirement"] {
  background: #eadfbe;
}

.story-cover[data-art="gold"] {
  background: #e8d9aa;
}

.cover-number {
  color: rgb(32 37 31 / 54%);
  font-size: 9px;
  letter-spacing: 1px;
}

.cover-glyph {
  width: 82px;
  height: 82px;
  position: absolute;
  right: 39px;
  bottom: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(32 37 31 / 31%);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--serif);
  font-size: 34px;
  transform: rotate(-10deg);
}

.cover-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  color: rgb(32 37 31 / 72%);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.story-content {
  min-height: 207px;
  padding: 18px 19px 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.story-meta {
  width: 100%;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #81857c;
  font-size: 9px;
}

.story-category {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.story-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.35;
}

.story-summary {
  margin: 0 0 17px;
  color: #6f7369;
  font-size: 10px;
  line-height: 1.65;
}

.story-open {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.story-open span {
  color: var(--orange);
  font-size: 13px;
  transition: transform 160ms ease;
}

.story-open:hover span {
  transform: translate(2px, -2px);
}

.empty-state {
  max-width: 1260px;
  margin: 26px auto 0;
  padding: 30px;
  border: 1px dashed #c8c9be;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.about-section {
  max-width: 1260px;
  margin: 0 auto;
  padding: 78px 7.1% 85px;
}

.about-heading {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.78fr);
  align-items: end;
  gap: 44px;
}

.about-heading .eyebrow {
  margin-bottom: 12px;
}

.about-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 43px);
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.2;
}

.about-intro {
  max-width: 450px;
  margin: 0 0 2px;
  color: #72766c;
  font-size: 12px;
  line-height: 1.9;
}

.about-email {
  display: block;
  margin-top: 10px;
}

.about-email a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: start;
  gap: 17px;
}

.about-side {
  display: grid;
  gap: 17px;
}

.about-panel {
  min-width: 0;
  padding: 22px 23px;
  border: 1px solid var(--line);
  background: #fbfaf6;
}

.panel-heading {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.panel-number {
  color: var(--orange);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.panel-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.experience-list,
.detail-list,
.credential-list,
.skill-tags {
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-list {
  padding-left: 5px;
}

.experience-item {
  position: relative;
  padding: 0 0 23px 22px;
  border-left: 1px solid #d7d8ce;
}

.experience-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.experience-dot {
  width: 8px;
  height: 8px;
  position: absolute;
  top: 4px;
  left: -4.5px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  background: #fbfaf6;
}

.experience-item:first-child .experience-dot {
  background: var(--green);
}

.experience-item h4,
.detail-list h4,
.credential-list h4,
.skills-block h4 {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}

.experience-place {
  margin: 3px 0 0;
  color: #4f564d;
  font-size: 10px;
  font-weight: 500;
}

.experience-date {
  margin: 5px 0 0;
  color: #898b82;
  font-size: 9px;
}

.experience-description {
  max-width: 460px;
  margin: 8px 0 0;
  color: #777a71;
  font-size: 10px;
  line-height: 1.7;
}

.detail-list li {
  padding: 12px 0;
  border-top: 1px solid #e5e3da;
}

.detail-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-list p,
.credential-list p {
  margin: 3px 0 0;
  color: #6e7269;
  font-size: 10px;
  line-height: 1.55;
}

.detail-list span {
  display: block;
  margin-top: 4px;
  color: #898b82;
  font-size: 9px;
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.credential-list li {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.credential-icon {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 12px;
}

.credential-list h4 {
  font-size: 10px;
}

.credential-list p {
  font-size: 9px;
}

.skills-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e3da;
}

.skills-block h4 {
  margin-bottom: 10px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tags li {
  padding: 6px 9px;
  border: 1px solid #e0e1d7;
  border-radius: 2px;
  color: #63685f;
  font-size: 9px;
}

.site-footer {
  min-height: 84px;
  padding: 20px 7.1%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}

.footer-brand span {
  color: #999b92;
  font-size: 9px;
  font-weight: 400;
}

.site-footer > p {
  margin: 0;
  color: #868980;
  font-size: 10px;
}

.footer-links {
  gap: 19px;
}

.footer-links a {
  font-size: 10px;
}

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

@media (min-width: 1500px) {
  .hero {
    min-height: 605px;
  }

  .story-cover {
    height: 195px;
  }
}

@media (max-width: 1020px) {
  .site-header {
    padding-right: 5%;
    padding-left: 5%;
  }

  .hero {
    padding-right: 10%;
    padding-left: 10%;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 7%;
  }

  .hero-stamp {
    right: 3%;
  }

  .work-section {
    padding-right: 5%;
    padding-left: 5%;
  }

  .story-grid {
    gap: 12px;
  }

  .story-cover {
    height: 145px;
  }

  .story-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .story-title {
    font-size: 16px;
  }

  .about-section {
    padding-right: 5%;
    padding-left: 5%;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
    padding: 0 5%;
  }

  .wordmark,
  .header-contact {
    min-width: 0;
  }

  .wordmark-name {
    display: none;
  }

  .top-nav {
    gap: 21px;
  }

  .nav-link {
    font-size: 11px;
  }

  .header-contact {
    font-size: 11px;
  }

  .hero {
    min-height: 0;
    padding: 61px 7% 51px;
    grid-template-columns: 1fr 220px;
    column-gap: 20px;
  }

  .hero h1 {
    font-size: clamp(43px, 8vw, 58px);
    letter-spacing: -2.3px;
  }

  .hero-intro {
    font-size: 12px;
  }

  .hero-meta {
    gap: 7px;
    font-size: 9px;
  }

  .portrait-wrap {
    height: 290px;
  }

  .portrait-caption {
    right: -7px;
    min-width: 133px;
    padding: 10px;
    font-size: 10px;
  }

  .portrait-index {
    right: 0;
  }

  .hero-stamp {
    display: none;
  }

  .work-section {
    padding: 54px 5% 58px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .work-toolbar {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 27px;
  }

  .filter-list {
    gap: 4px;
  }

  .filter-button {
    padding: 0 10px;
    font-size: 9px;
  }

  .search-box {
    width: 100%;
  }

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

  .story-cover {
    height: 135px;
  }

  .cover-glyph {
    right: 25px;
  }

  .about-section {
    padding: 55px 7%;
  }

  .about-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-heading h2 {
    font-size: 32px;
  }

  .about-intro {
    font-size: 11px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-side {
    gap: 12px;
  }

  .about-panel {
    padding: 19px 18px;
  }

  .credential-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer {
    padding: 20px 5%;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 5%;
  }

  .wordmark-mark {
    width: 32px;
    height: 32px;
  }

  .top-nav {
    gap: 15px;
  }

  .hero {
    padding-top: 44px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: 53px;
  }

  .hero-intro {
    max-width: 370px;
  }

  .hero-meta {
    margin-top: 23px;
  }

  .portrait-wrap {
    width: min(75%, 275px);
    height: 280px;
    margin: 35px auto 0;
  }

  .portrait-caption {
    right: -20px;
  }

  .work-section {
    padding-right: 5%;
    padding-left: 5%;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .all-stories-link {
    font-size: 10px;
  }

  .filter-list {
    gap: 2px;
  }

  .filter-button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 8px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .story-cover {
    height: 157px;
  }

  .story-content {
    min-height: 0;
    padding: 17px;
  }

  .story-title {
    font-size: 19px;
  }

  .story-summary {
    font-size: 11px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links {
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
