@font-face {
  font-family: PortfolioSans;
  src: url('assets/sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: PortfolioSans;
  src: url('assets/sans-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: PortfolioSerif;
  src: url('assets/serif-italic.ttf') format('truetype');
  font-style: italic;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: PortfolioSans, Arial, sans-serif;
  background: #f7f7f0;
  color: #173f45;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, summary, select { cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.7; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #237988; outline-offset: 5px; }
.wrap { width: min(1380px, calc(100% - 96px)); margin-inline: auto; }
.overline { font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.7; }
em { font-family: PortfolioSerif, Georgia, serif; font-weight: 400; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: white; padding: 16px; }
.skip-link:focus { top: 12px; }
.portfolio-nav { display: flex; align-items: center; justify-content: space-between; padding-block: 28px; border-bottom: 1px solid #d9dfd8; }
.portfolio-wordmark { font-size: 22px; letter-spacing: .07em; font-weight: 700; }
.portfolio-wordmark b { color: #337b77; }
.portfolio-wordmark small { display: block; font-size: 9px; letter-spacing: .3em; margin-top: 6px; }
.portfolio-nav nav { display: flex; gap: 32px; align-items: center; font-size: 13px; }
.portfolio-nav-cta { border: 1px solid #b8c8c2; border-radius: 30px; padding: 13px 21px; }
.portfolio-hero { padding-top: 70px; padding-bottom: 55px; }
.portfolio-hero-top, .portfolio-hero-bottom { display: flex; justify-content: space-between; gap: 30px; }
.portfolio-hero-top > span { font-size: 10px; letter-spacing: .1em; padding-top: 3px; }
.portfolio-hero h1 { font-size: clamp(42px, 6.8vw, 100px); line-height: 1.07; letter-spacing: -.06em; margin: 28px 0 32px; }
.portfolio-hero h1 em { color: #337b77; letter-spacing: -.055em; }
.portfolio-hero-bottom { align-items: flex-end; }
.portfolio-hero-bottom p { max-width: 610px; font-size: 17px; color: #52706f; }
.portfolio-hero-bottom a { display: flex; gap: 25px; align-items: center; font-weight: 700; font-size: 13px; white-space: nowrap; }
.portfolio-hero-bottom a span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #b8c8c2; border-radius: 50%; }
.portfolio-featured { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 22px; }
.portfolio-note { display: flex; align-items: center; gap: 22px; margin-top: 34px; padding: 22px 0 45px; border-bottom: 1px solid #d9dfd8; }
.portfolio-note > span { color: #53887b; font-size: 42px; }
.portfolio-note p { font-size: 13px; color: #52706f; }
.portfolio-note strong { color: #173f45; font-weight: 700; }
.portfolio-collection { padding: 75px 0 100px; }
.collection-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 28px; }
.collection-heading h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; margin-top: 12px; }
.collection-heading h2 span { font-weight: 400; color: #698981; }
.portfolio-search { display: block; font-size: 11px; font-weight: 700; color: #52706f; width: 330px; }
.portfolio-search input { display: block; width: 100%; margin-top: 8px; border: 1px solid #b6c9c0; padding: 14px 16px; border-radius: 7px; background: #fff; color: #173f45; font-size: 13px; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-filters button, .portfolio-empty button { padding: 11px 15px; border-radius: 30px; border: 1px solid #cbd6ce; color: #31554f; background: transparent; font-size: 12px; min-height: 40px; }
.portfolio-filters button[aria-pressed='true'] { background: #173f45; color: #fff; border-color: #173f45; }
.portfolio-filters button:hover { border-color: #31554f; }
.portfolio-count { font-size: 12px; margin: 22px 0; color: #52706f; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.portfolio-empty { text-align: center; padding: 70px 20px; background: #edf1e8; border-radius: 12px; }
.portfolio-empty p { margin: 15px auto; max-width: 560px; }
.portfolio-invitation { background: #173f45; color: #f8f5e9; padding: 90px 0; }
.portfolio-invitation h2 { font-size: clamp(40px, 5.3vw, 76px); line-height: 1.13; letter-spacing: -.04em; margin: 24px 0; }
.portfolio-invitation h2 em { color: #bdd8c3; }
.portfolio-invitation p:not(.overline) { max-width: 610px; color: #d2e1d7; font-size: 16px; }
.portfolio-primary { display: inline-flex; margin: 28px 0 20px; padding: 17px 25px; background: #e6ecd7; color: #173f45; border-radius: 40px; font-weight: 700; font-size: 14px; }
.portfolio-invitation .wrap > span { display: block; font-size: 12px; color: #c3d7cd; }
.portfolio-footer { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 25px; padding-block: 40px; }
.portfolio-footer nav { display: flex; gap: 22px; font-size: 12px; flex-wrap: wrap; }
.portfolio-footer p { flex: 0 0 100%; font-size: 11px; color: #52706f; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .portfolio-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-hero-top > span { display: none; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .portfolio-nav { padding-block: 20px; }
  .portfolio-wordmark { font-size: 17px; }
  .portfolio-nav nav { gap: 12px; }
  .portfolio-nav nav > a:first-child { display: none; }
  .portfolio-nav-cta { font-size: 11px; padding: 11px 14px; }
  .portfolio-hero { padding-top: 42px; padding-bottom: 30px; }
  .portfolio-hero h1 { margin-block: 22px; font-size: clamp(38px, 10vw, 62px); }
  .portfolio-hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .portfolio-hero-bottom p { font-size: 15px; }
  .portfolio-featured { grid-template-columns: 1fr; }
  .portfolio-featured .portfolio-card:not(:first-child) { display: none; }
  .portfolio-note { align-items: flex-start; gap: 15px; padding-bottom: 30px; }
  .portfolio-note > span { font-size: 30px; }
  .portfolio-collection { padding-block: 40px 60px; }
  .collection-heading { flex-direction: column; align-items: stretch; gap: 22px; }
  .portfolio-search { width: 100%; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 25px; }
  .portfolio-filters { gap: 6px; }
  .portfolio-filters button { font-size: 11px; padding: 10px 12px; }
  .portfolio-invitation { padding-block: 55px; }
  .portfolio-footer { padding-block: 30px 85px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
