/* Whitestone: architectural scale, photographic chapters and restrained motion. */
.ws-header {
  background: rgba(252, 248, 247, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.ws-nav .ws-nav-contact {
  border-color: var(--ws-primary);
  background: var(--ws-primary);
}

.ws-nav .ws-nav-contact:hover {
  border-color: var(--ws-wine);
  background: var(--ws-wine);
}

.ws-eyebrow {
  font-weight: 500;
  letter-spacing: .18em;
}

.ws-eyebrow::before {
  flex-basis: 24px;
  width: 24px;
  height: 1px;
  border-radius: 0;
}

.ws-section-heading {
  font-size: clamp(32px, 4.1vw, 59px);
  letter-spacing: -.045em;
  line-height: 1.4;
  text-wrap: balance;
}

.ws-split .ws-section-heading {
  font-size: clamp(28px, 3.1vw, 44px);
}

.ws-phrase {
  white-space: nowrap;
}

.ws-button {
  gap: 24px;
  padding: 14px 20px;
  font-weight: 500;
}

.ws-button > span:last-child {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

/* A photographic opening with an architectural frame. */
.ws-hero {
  background: var(--ws-wine);
}

.ws-hero::before {
  position: absolute;
  z-index: 0;
  inset: 18px 22px 130px;
  border: 1px solid rgba(255, 255, 255, .23);
  pointer-events: none;
  content: "";
}

.ws-hero-topline .ws-eyebrow {
  color: #f6ded8;
}

.ws-hero-index {
  color: #fff;
  background: rgba(93, 41, 48, .68);
}

.ws-hero-inner {
  display: flex;
  align-items: center;
  min-height: clamp(510px, calc(100svh - 250px), 700px);
  padding-block: 36px 88px;
}

.ws-hero-copy {
  width: 84%;
  max-width: 1120px;
}

.ws-hero-title {
  max-width: 100%;
  color: #fff;
  font-size: clamp(54px, 7.45vw, 114px);
  letter-spacing: -.06em;
  line-height: 1.3;
}

.ws-hero-line {
  display: block;
}

.ws-hero-title > .ws-hero-line:first-child {
  margin-bottom: .12em;
  color: #f5ded7;
  font-size: .7em;
  letter-spacing: -.04em;
}

.ws-hero-title > .ws-hero-line:last-child {
  color: #fff;
}

.ws-hero-description {
  margin-top: 26px !important;
  color: #f8eeeb;
  font-size: 14px;
  line-height: 2;
}

.ws-hero-actions {
  margin-top: 28px;
}

.ws-hero-actions .ws-button {
  border-color: #fff;
  color: var(--ws-wine) !important;
  background: #fff;
}

.ws-hero-actions .ws-button:hover {
  border-color: var(--ws-primary);
  color: #fff !important;
  background: var(--ws-primary);
}

.ws-hero-actions .ws-text-link {
  color: #fff !important;
}

.ws-hero-copy :focus-visible {
  outline-color: #fff;
}

.ws-hero-media > .ws-hero-image {
  object-position: 65% 40%;
}

.ws-hero-media::after {
  background: linear-gradient(90deg, rgba(93, 41, 48, .98), rgba(93, 41, 48, .91) 32%, rgba(93, 41, 48, .68) 53%, rgba(93, 41, 48, .12) 77%, rgba(93, 41, 48, 0));
}

.ws-hero-media::before {
  height: 130px;
  background: linear-gradient(180deg, rgba(252, 248, 247, 0), #fcf8f7);
}

.ws-hero-caption {
  bottom: 112px;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(255, 255, 255, .9);
  color: #fff;
  background: var(--ws-primary);
  font-size: 11px;
}

.ws-hero-note {
  min-height: 72px;
  border-top-color: rgba(93, 41, 48, .25);
}

.ws-brand-rail {
  padding-block: 28px 40px;
  color: var(--ws-wine);
  font-size: clamp(64px, 15.2vw, 220px);
  font-weight: 600;
  letter-spacing: -.075em;
  -webkit-text-stroke: 0;
}

.ws-intro-copy {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.ws-intro-heading {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.4;
}

.ws-intro-copy > div:last-child {
  padding: 10px 0 0 34px;
  border-left: 1px solid var(--ws-line);
}

/* Unequal photographic panels, keeping every image in one location. */
.ws-business {
  background: var(--ws-sand);
}

.ws-business-grid {
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: repeat(2, minmax(370px, auto));
  align-items: stretch;
  gap: 18px;
}

.ws-business-card:nth-child(n) {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 370px;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: var(--ws-wine);
}

.ws-business-card:first-child {
  grid-row: span 2;
}

.ws-business-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(93, 41, 48, .66), rgba(93, 41, 48, .35) 24%, rgba(93, 41, 48, .93) 65%, rgba(93, 41, 48, .99));
  pointer-events: none;
  content: "";
}

.ws-business-card:first-child::after {
  background: linear-gradient(180deg, rgba(93, 41, 48, .66), rgba(93, 41, 48, .1) 28%, rgba(93, 41, 48, .92) 67%, rgba(93, 41, 48, .99));
}

.ws-business-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: auto;
}

.ws-business-media > .ws-business-image {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 500ms var(--ws-ease);
}

.ws-business-card:hover .ws-business-image {
  transform: scale(1.035);
}

.ws-business-body {
  display: flex;
  flex: 1;
  align-items: flex-start;
  width: 100%;
  padding: 26px 30px;
}

.ws-business-body > .ws-business-category {
  align-self: stretch;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-bottom: auto;
  color: #fff;
  font-size: 10px;
  letter-spacing: .1em;
}

.ws-business-number {
  color: #fff;
  font-size: 48px;
  letter-spacing: -.06em;
}

.ws-business-body h3 {
  margin-top: 26px;
  color: #fff;
  font-size: 29px;
  line-height: 1.45;
}

.ws-business-card:first-child h3 {
  font-size: clamp(34px, 3.6vw, 52px);
}

.ws-business-body > p:not(.ws-business-category) {
  margin-top: 12px;
  color: #f8eeeb;
  font-size: 13px;
  line-height: 1.85;
}

.ws-business-tags {
  margin-top: 14px;
}

.ws-business .ws-tag {
  border-color: rgba(255, 255, 255, .45);
  color: #f8eeeb;
}

.ws-business .ws-text-link {
  align-self: stretch;
  margin-top: 18px;
  color: #fff !important;
  font-size: 12px;
}

.ws-business :focus-visible {
  outline-color: #fff;
}

.ws-system-feature {
  padding-block: 82px;
}

.ws-system-feature::before {
  background: linear-gradient(90deg, rgba(93, 41, 48, .98), rgba(93, 41, 48, .9) 42%, rgba(93, 41, 48, .35));
}

.ws-system-feature-visual {
  padding-top: 0;
}

.ws-system-chapter {
  display: block;
  margin-bottom: 26px;
  color: #f0d9d3;
  font-family: var(--ws-english);
  font-size: clamp(100px, 13vw, 186px);
  letter-spacing: -.09em;
  line-height: .9;
}

.ws-system-points {
  padding-inline: 24px;
  border-radius: 0;
  background: rgba(93, 41, 48, .87);
}

.ws-system-points > li {
  padding-block: 22px;
}

.ws-culture-section {
  padding-block: 100px;
}

.ws-culture > div {
  padding-left: 24px;
}

.ws-culture .ws-section-heading {
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.45;
}

/* Oversized mastheads make each route a distinct chapter. */
.ws-page-heading {
  padding-block: 20px 56px;
  border-bottom-color: var(--ws-wine);
  color: #fcf8f7;
  background: var(--ws-wine);
}

.ws-page-heading::before {
  background: linear-gradient(90deg, rgba(93, 41, 48, .98), rgba(93, 41, 48, .9) 32%, rgba(93, 41, 48, .55) 58%, rgba(93, 41, 48, .08) 85%);
}

.ws-page-heading .ws-breadcrumb,
.ws-page-heading .ws-eyebrow {
  color: #f0d9d3;
}

.ws-page-word {
  position: relative;
  z-index: 1;
  color: #fcf8f7;
  font-size: clamp(96px, 14.4vw, 208px);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: .94;
  -webkit-text-stroke: 0;
}

.ws-page-word > span {
  color: #e9aaa0;
}

.ws-page-heading--system .ws-page-word {
  font-size: clamp(70px, 10.2vw, 148px);
  line-height: .9;
}

.ws-page-heading-grid {
  width: min(860px, 72%);
  margin-top: 36px;
}

.ws-page-title {
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
}

.ws-page-heading .ws-lead {
  color: #f8eeeb;
  font-size: 14px;
}

.ws-page-heading .ws-anchor-nav {
  padding: 8px 18px;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(93, 41, 48, .84);
}

.ws-anchor-nav a {
  color: #fff;
}

.ws-split > .ws-photo,
.ws-message-photo .ws-photo {
  border-radius: 0;
}

.ws-message-photo figcaption {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ws-line);
}

.ws-values > li {
  grid-template-columns: 100px 1fr 1.15fr;
  gap: 24px;
  padding-block: 30px;
}

.ws-value-number {
  color: var(--ws-primary);
  font-size: 80px;
  font-weight: 500;
  letter-spacing: -.07em;
  -webkit-text-stroke: 0;
}

.ws-values h3 {
  font-size: 22px;
}

.ws-company-table {
  gap: 0;
  background: var(--ws-surface);
}

.ws-company-table > div {
  padding: 22px 24px;
}

.ws-company-table > div:nth-child(even):not(.ws-company-table-wide) {
  border-left: 1px solid var(--ws-line);
}

.ws-career-grid {
  gap: 16px;
  padding: 0;
  background: transparent;
}

.ws-career-card {
  min-width: 0;
  padding: 40px 30px 32px;
  overflow: hidden;
  border: 1px solid var(--ws-line);
  background: #fcf8f7;
}

.ws-career-card::before {
  top: 22px;
  right: 26px;
  left: auto;
  color: transparent;
  font-size: 78px;
  letter-spacing: -.07em;
  line-height: 1;
  -webkit-text-stroke: 1px #d8bab2;
}

.ws-career-card h3 {
  max-width: calc(100% - 108px);
  font-size: 25px;
}

.ws-career-card p {
  position: relative;
  margin-top: 28px;
}

.ws-career-card:nth-child(3n + 1) {
  border-color: var(--ws-wine);
  color: #f8eeeb;
  background: var(--ws-wine);
}

.ws-career-card:nth-child(3n + 1) h3 {
  color: #fff;
}

.ws-career-card:nth-child(3n + 1) p {
  color: #f8eeeb;
}

.ws-career-card:nth-child(3n + 1)::before {
  -webkit-text-stroke-color: rgba(255, 255, 255, .45);
}

.ws-benefit {
  padding: 28px 24px;
  border: 1px solid var(--ws-line);
  background: #fcf8f7;
}

#development-works .ws-benefit::before {
  top: 22px;
  color: transparent;
  font-size: 44px;
  -webkit-text-stroke: 1px #cfb2aa;
}

#development-works .ws-service-number {
  display: inline-block;
  max-width: calc(100% - 58px);
}

/* A strong closing invitation with a contrasting, usable contact panel. */
.ws-contact {
  padding-block: 56px 70px;
}

.ws-contact-word {
  font-size: clamp(70px, 14.4vw, 208px);
  font-weight: 500;
  letter-spacing: -.075em;
}

.ws-contact .ws-section-heading {
  font-size: clamp(32px, 3.6vw, 52px);
}

.ws-contact-actions {
  padding: 32px;
  border: 0;
  color: var(--ws-wine);
  background: #fcf8f7;
}

.ws-contact-actions .ws-contact-note {
  color: var(--ws-wine);
}

.ws-contact-actions .ws-contact-phone,
.ws-contact-actions .ws-text-link {
  color: var(--ws-primary) !important;
}

.ws-contact-actions :focus-visible {
  outline-color: var(--ws-wine);
}

.ws-footer-word {
  font-size: clamp(54px, 13.9vw, 200px);
  font-weight: 500;
  letter-spacing: -.075em;
}

@media (max-width: 1199px) {
  .ws-hero-inner {
    min-height: 550px;
  }

  .ws-hero-title {
    font-size: 7.4vw;
  }

  .ws-hero-caption {
    right: 36px;
    width: 120px;
    height: 120px;
    font-size: 10px;
  }

  .ws-intro-copy {
    gap: 32px;
  }

  .ws-intro-copy > div:last-child {
    padding-left: 24px;
  }

  .ws-business-body {
    padding: 24px;
  }

  .ws-business-category {
    gap: 12px;
    font-size: 9px;
  }

  .ws-business-number {
    font-size: 42px;
  }

  .ws-business-body h3 {
    font-size: 26px;
  }

  .ws-business-card:first-child h3 {
    font-size: 38px;
  }

  .ws-culture > div {
    padding-left: 0;
  }

  .ws-culture .ws-section-heading {
    font-size: 36px;
  }

  .ws-values > li {
    grid-template-columns: 80px 1fr 1.15fr;
    gap: 20px;
  }

  .ws-value-number {
    font-size: 64px;
  }

  .ws-company-table > div {
    padding: 20px;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 16px;
  }

  .ws-contact-actions {
    padding: 26px;
  }
}

@media (max-width: 960px) {
  .ws-hero-inner {
    min-height: 510px;
  }

  .ws-hero-copy {
    width: 88%;
  }

  .ws-hero-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .ws-section-heading {
    font-size: 34px;
  }

  .ws-intro-heading {
    font-size: 42px;
  }

  .ws-business-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }

  .ws-business-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 480px;
  }

  .ws-business-card:nth-child(n + 2) {
    min-height: 440px;
  }

  .ws-business-card:first-child .ws-business-body {
    width: 64%;
    flex: 0 0 64%;
  }

  .ws-business-card:first-child::after {
    background: linear-gradient(90deg, rgba(93, 41, 48, .96), rgba(93, 41, 48, .66) 62%, rgba(93, 41, 48, .05));
  }

  .ws-business-body {
    padding: 24px;
  }

  .ws-business-category {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ws-business-body h3 {
    font-size: 27px;
  }

  .ws-system-feature {
    padding-block: 60px;
  }

  .ws-system-chapter {
    font-size: 112px;
  }

  .ws-culture .ws-section-heading {
    font-size: 27px;
  }

  .ws-page-title {
    font-size: 29px;
  }

  .ws-page-heading .ws-lead {
    font-size: 12px;
  }

  .ws-values > li {
    grid-template-columns: 70px 1fr;
  }

  .ws-values p {
    grid-column: 2;
  }

  .ws-career-card {
    padding: 30px 24px;
  }

  .ws-career-card::before {
    top: 20px;
    right: 22px;
    font-size: 56px;
  }

  .ws-career-card h3 {
    max-width: calc(100% - 70px);
    font-size: 23px;
  }

  .ws-contact .ws-section-heading {
    font-size: 30px;
  }

  .ws-contact-actions {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .ws-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .ws-hero::before {
    inset: 12px 10px 110px;
    border-color: rgba(255, 255, 255, .25);
  }

  .ws-hero-inner {
    align-items: flex-start;
    min-height: 480px;
    padding-block: 38px 145px;
  }

  .ws-hero-copy {
    width: 100%;
    padding-block: 0;
  }

  .ws-hero-title {
    font-size: clamp(34px, 10.6vw, 66px);
    letter-spacing: -.055em;
    line-height: 1.4;
  }

  .ws-hero-title > .ws-hero-line:first-child {
    margin-bottom: .15em;
    font-size: .78em;
  }

  .ws-hero-description {
    margin-top: 24px !important;
    font-size: 12px;
    line-height: 2;
  }

  .ws-hero-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .ws-hero-actions .ws-button {
    gap: 16px;
    padding-inline: 14px;
  }

  .ws-button > span:last-child {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .ws-hero-media > .ws-hero-image {
    object-position: 66% center;
  }

  .ws-hero-media::after {
    background: linear-gradient(180deg, rgba(93, 41, 48, .98), rgba(93, 41, 48, .94) 36%, rgba(93, 41, 48, .7) 58%, rgba(93, 41, 48, .05) 81%);
  }

  .ws-hero-caption {
    right: 22px;
    bottom: 110px;
    width: 88px;
    height: 88px;
    font-size: 8px;
  }

  .ws-hero-note {
    min-height: 0;
  }

  .ws-brand-rail {
    padding-block: 26px 30px;
    font-size: 15.2vw;
  }

  .ws-section-heading {
    font-size: clamp(28px, 8vw, 40px);
  }

  .ws-split .ws-section-heading {
    font-size: clamp(24px, 7.2vw, 38px);
    letter-spacing: -.05em;
  }

  .ws-intro-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ws-intro-heading {
    font-size: clamp(36px, 10.4vw, 48px);
  }

  .ws-intro-copy > div:last-child {
    padding: 0 0 0 18px;
  }

  .ws-business-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }

  .ws-business-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 490px;
  }

  .ws-business-card:first-child .ws-business-body {
    width: 100%;
    flex-basis: 100%;
  }

  .ws-business-card:first-child::after {
    background: linear-gradient(180deg, rgba(93, 41, 48, .66), rgba(93, 41, 48, .12) 20%, rgba(93, 41, 48, .94) 62%, rgba(93, 41, 48, .99));
  }

  .ws-business-body {
    padding: 26px;
  }

  .ws-business-category {
    align-items: center;
    flex-direction: row;
    font-size: 8px;
  }

  .ws-business-number {
    font-size: 54px;
  }

  .ws-business-body h3,
  .ws-business-card:first-child h3 {
    font-size: 30px;
  }

  .ws-system-feature {
    padding-block: 48px;
  }

  .ws-system-feature::before {
    background: linear-gradient(180deg, rgba(93, 41, 48, .94), rgba(93, 41, 48, .72) 50%, rgba(93, 41, 48, .96));
  }

  .ws-system-chapter {
    margin-bottom: 18px;
    font-size: 94px;
  }

  .ws-system-points {
    padding-inline: 18px;
  }

  .ws-system-points > li {
    padding-block: 18px;
  }

  .ws-culture-section {
    padding-block: 160px 44px;
  }

  .ws-culture .ws-section-heading {
    font-size: clamp(26px, 7.3vw, 38px);
  }

  .ws-page-heading {
    padding-block: 16px 184px;
  }

  .ws-page-heading::before {
    background: linear-gradient(180deg, rgba(93, 41, 48, .99), rgba(93, 41, 48, .97) calc(100% - 230px), rgba(93, 41, 48, .7) calc(100% - 170px), rgba(93, 41, 48, .04) calc(100% - 90px));
  }

  .ws-page-word {
    font-size: 16.5vw;
    letter-spacing: -.075em;
  }

  .ws-page-heading--system .ws-page-word {
    font-size: 13vw;
  }

  .ws-page-heading-grid {
    width: 100%;
    margin-top: 24px;
  }

  .ws-page-title {
    font-size: clamp(25px, 6.7vw, 39px);
  }

  .ws-page-heading .ws-lead {
    font-size: 11px;
  }

  .ws-page-heading .ws-anchor-nav {
    padding: 8px 12px;
  }

  .ws-page-heading > .ws-page-cover {
    top: auto;
    bottom: 0;
    height: 240px;
    object-position: 70% center;
  }

  .ws-values > li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px 18px;
    padding-block: 22px;
  }

  .ws-value-number {
    font-size: 48px;
  }

  .ws-values h3 {
    font-size: 19px;
  }

  .ws-company-table > div {
    padding: 18px;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }

  .ws-company-table > div:nth-child(even):not(.ws-company-table-wide) {
    border-left: 0;
  }

  .ws-career-grid {
    gap: 14px;
  }

  .ws-career-card {
    padding: 30px 22px;
  }

  .ws-career-card::before {
    top: 22px;
    right: 20px;
    font-size: 64px;
  }

  .ws-career-card h3 {
    max-width: calc(100% - 84px);
    font-size: 22px;
  }

  .ws-contact {
    padding-block: 38px 44px;
  }

  .ws-contact-word {
    gap: 8px;
    font-size: 16.5vw;
  }

  .ws-contact .ws-section-heading {
    font-size: clamp(28px, 7.5vw, 39px);
  }

  .ws-contact-actions {
    padding: 26px 22px;
  }

  .ws-contact-actions .ws-contact-note {
    font-size: 10px;
  }

  .ws-contact-actions .ws-contact-phone {
    min-height: 58px;
    font-size: clamp(25px, 7.5vw, 34px);
  }

  .ws-footer-word {
    font-size: 14vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-business-image {
    transition: none;
  }

  .ws-business-card:hover .ws-business-image {
    transform: none;
  }
}
