.subpage {
  background: var(--paper);
}

.subpage .site-header [aria-current='page']::after {
  right: 0 !important;
}

.sub-hero {
  position: relative;
  min-height: 78svh;
  padding: 150px 0 75px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #f8f5ef;
  border-bottom: 1px solid var(--line);
}

.sub-hero::before {
  content: '';
  position: absolute;
  right: -10vw;
  top: 5vh;
  width: min(65vw,980px);
  aspect-ratio: 1;
  border: 1px solid rgba(29,41,43,.12);
  border-radius: 50%;
}

.sub-hero::after {
  content: '';
  position: absolute;
  right: 12vw;
  top: 24vh;
  width: min(25vw,400px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 8vw rgba(35,58,61,.04), 0 0 0 16vw rgba(35,58,61,.025);
}

.sub-hero--privacy::after { background: var(--wine); box-shadow: 0 0 0 8vw rgba(143,71,63,.045), 0 0 0 16vw rgba(143,71,63,.025); }

.sub-hero__grid {
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image: linear-gradient(rgba(29,41,43,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(29,41,43,.08) 1px,transparent 1px);
  background-size: 8.333% 25%;
}

.sub-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 70px;
  align-items: end;
}

.sub-hero__copy h1 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(100px,15vw,230px);
  font-weight: 300;
  letter-spacing: -.08em;
  line-height: .7;
}

.sub-hero__copy h1 span { color: var(--wine); }
.sub-hero__lead { margin: clamp(65px,8vh,105px) 0 0 clamp(0px,10vw,160px); color: rgba(29,41,43,.66); font-family: var(--serif); font-size: clamp(22px,2.1vw,33px); line-height: 1.65; }

.sub-hero__index {
  min-height: 310px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(29,41,43,.3);
  background: rgba(244,240,232,.55);
  backdrop-filter: blur(10px);
}

.sub-hero__index > span { color: var(--wine); font-family: var(--serif); font-size: 82px; font-weight: 300; line-height: .8; }
.sub-hero__index p,.sub-hero__index b { font-size: 7px; font-weight: 400; letter-spacing: .2em; line-height: 1.9; }
.sub-hero__index p { margin-top: 28px; }
.sub-hero__index i { flex: 1; width: 1px; margin: 22px 0 22px auto; background: rgba(29,41,43,.22); }
.sub-hero__index b { color: rgba(29,41,43,.48); }

.page-enter {
  animation: pageEnter 1.45s var(--ease-cinematic) both;
}

.sub-hero__copy h1.page-enter { animation-delay: .08s; }
.sub-hero__lead.page-enter { animation-delay: .15s; }
.sub-hero__index.page-enter { animation-delay: .2s; }

.profile-section,
.policy-section {
  padding: clamp(110px,13vw,210px) 0;
  background: var(--paper);
}

.profile-layout {
  display: grid;
  grid-template-columns: .72fr 1.8fr;
  gap: clamp(60px,9vw,145px);
  align-items: start;
}

.folio-label { color: var(--wine); font-size: 8px; letter-spacing: .22em; text-transform: uppercase; }
.profile-intro { position: sticky; top: 120px; }
.profile-intro h2 { margin-top: 30px; font-family: var(--serif); font-size: clamp(58px,6vw,95px); font-weight: 300; letter-spacing: -.06em; line-height: .76; }
.profile-intro h2 em { color: var(--sage); }
.profile-intro > p:last-child { margin-top: 50px; color: #74756f; font-size: 12px; }

.profile-list { border-top: 1px solid var(--ink); }
.profile-list > div { min-height: 94px; padding: 25px 4px; display: grid; grid-template-columns: minmax(120px,.55fr) 1.45fr; gap: 35px; border-bottom: 1px solid var(--line); }
.profile-list dt { padding-top: 3px; color: #777a74; font-size: 8px; letter-spacing: .18em; }
.profile-list dd { font-family: var(--serif); font-size: clamp(21px,2vw,30px); font-weight: 300; line-height: 1.6; }
.profile-list dd small { margin-left: 15px; color: var(--wine); font-family: var(--sans); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.profile-list__capital { background: rgba(201,187,157,.16); }
.profile-list__business dd { font-family: var(--sans); }
.profile-list__business ol { list-style: none; }
.profile-list__business li { padding: 14px 0; display: grid; grid-template-columns: 42px 1fr; border-bottom: 1px solid var(--line); color: #626660; font-size: 12px; }
.profile-list__business li:first-child { padding-top: 0; }
.profile-list__business li:last-child { padding-bottom: 0; border-bottom: 0; }
.profile-list__business b { color: var(--wine); font-size: 8px; font-weight: 400; letter-spacing: .16em; }

.sub-contact { padding: clamp(100px,12vw,190px) 0; background: var(--teal); color: #f5f1e9; }
.sub-contact__inner { display: grid; grid-template-columns: .5fr 2fr .65fr; gap: 6vw; align-items: start; }
.sub-contact h2 { font-family: var(--serif); font-size: clamp(58px,7.5vw,115px); font-weight: 300; letter-spacing: -.065em; line-height: .78; }
.sub-contact h2 em { color: #b9bcb0; }
.sub-contact .square-link { margin: 0 0 0 auto; border-color: rgba(255,255,255,.65); }
.sub-contact .square-link:hover { background: var(--paper); color: var(--ink); }

.policy-layout { display: grid; grid-template-columns: .76fr 1.8fr; gap: clamp(55px,9vw,145px); align-items: start; }
.policy-summary { position: sticky; top: 115px; padding-top: 8px; }
.policy-summary > p:nth-child(2) { margin-top: 34px; color: #696c67; font-size: 12px; }
.policy-summary nav { margin-top: 45px; border-top: 1px solid var(--line); }
.policy-summary nav a { padding: 12px 0; display: block; border-bottom: 1px solid var(--line); color: #777a74; font-size: 8px; letter-spacing: .12em; transition: color .25s,padding-left .35s var(--ease); }
.policy-summary nav a:hover { padding-left: 8px; color: var(--wine); }

.policy-body { border-top: 1px solid var(--ink); }
.policy-article { scroll-margin-top: 110px; padding: 54px 0 65px; display: grid; grid-template-columns: 70px 1fr; border-bottom: 1px solid var(--line); }
.policy-article > span { color: var(--wine); font-family: var(--serif); font-size: 28px; }
.policy-article h2 { font-family: var(--serif); font-size: clamp(30px,3vw,44px); font-weight: 300; }
.policy-article p,.policy-article li { color: #686b66; font-size: 12px; }
.policy-article h2 + p { margin-top: 28px; }
.policy-article p + p { margin-top: 18px; }
.policy-article ul { margin-top: 22px; padding-left: 0; list-style: none; }
.policy-article li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px dotted rgba(29,41,43,.18); }
.policy-article li::before { content: '—'; position: absolute; left: 0; color: var(--wine); }
.policy-article a { border-bottom: 1px solid currentColor; }
.policy-article--contact { background: rgba(201,187,157,.14); padding-inline: 25px; }
.policy-article dl { margin-top: 30px; border-top: 1px solid var(--line); }
.policy-article dl > div { padding: 16px 0; display: grid; grid-template-columns: 140px 1fr; border-bottom: 1px solid var(--line); }
.policy-article dt { color: #777a74; font-size: 8px; letter-spacing: .16em; }
.policy-article dd { font-family: var(--serif); font-size: 22px; }

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(42px); clip-path: inset(0 0 100%); }
  to { opacity: 1; transform: none; clip-path: inset(0); }
}

@media (max-width: 980px) {
  .profile-layout,.policy-layout { grid-template-columns: .55fr 1.45fr; gap: 55px; }
  .sub-contact__inner { grid-template-columns: 1fr 2fr; }
  .sub-contact .square-link { grid-column: 2; margin-top: 40px; }
}

@media (max-width: 720px) {
  .sub-hero { min-height: 760px; padding: 120px 0 60px; }
  .sub-hero::before { width: 110vw; right: -45vw; top: 18vh; }
  .sub-hero::after { width: 48vw; right: -5vw; top: 25vh; }
  .sub-hero__inner { grid-template-columns: 1fr; gap: 45px; }
  .sub-hero__copy h1 { font-size: clamp(88px,27vw,135px); }
  .sub-hero__lead { margin: 55px 0 0; font-size: 22px; }
  .sub-hero__index { width: 160px; min-height: 190px; margin-left: auto; padding: 16px; }
  .sub-hero__index > span { font-size: 54px; }
  .sub-hero__index p { margin-top: 16px; }
  .sub-hero__index i { margin-block: 12px; }
  .profile-section,.policy-section { padding: 100px 0; }
  .profile-layout,.policy-layout { grid-template-columns: 1fr; gap: 65px; }
  .profile-intro,.policy-summary { position: static; }
  .profile-list > div { grid-template-columns: 1fr; gap: 10px; }
  .profile-list dd { font-size: 23px; }
  .profile-list__business li { grid-template-columns: 32px 1fr; }
  .sub-contact__inner { grid-template-columns: 1fr; }
  .sub-contact h2 { font-size: 59px; }
  .sub-contact .square-link { grid-column: 1; margin: 30px 0 0 auto; }
  .policy-summary nav { display: none; }
  .policy-article { padding: 42px 0 52px; grid-template-columns: 42px 1fr; }
  .policy-article h2 { font-size: 29px; }
  .policy-article--contact { padding-inline: 14px; }
  .policy-article dl > div { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-enter { animation: none !important; }
}
