/*
Theme Name: Agely Studio
Description: Agely ettevõtte arenduslehe kujundus, Klay näidisest inspireeritud.
Version: 1.0.0
*/

:root {
  --paper: #faf8f7;
  --ink: #30282a;
  --muted: #655c5f;
  --rose: #c39dab;
  --line: #d9d0d3;
  --soft: #ede6e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  line-height: 1.7;
}

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

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

button {
  font: inherit;
}

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

figure,p,h1,h2,h3 {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(44px,5.1vw,76px);
}

h2 {
  font-size: clamp(34px,4vw,54px);
}

h3 {
  font-size: 27px;
}

p {
  color: var(--muted);
}

a:focus-visible,button:focus-visible {
  outline: 3px solid #845364;
  outline-offset: 6px;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  position: absolute;
  top: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-bar .site-header {
  top: 60px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  object-fit: contain;
}

.brand>span {
  font-family: Georgia,serif;
  line-height: 1;
  letter-spacing: -2px;
}

.brand-dot {
  color: var(--rose);
}

.desktop-nav {
  display: flex;
}

.desktop-nav a:hover,.text-link:hover {
  color: #8d596e;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  height: 1px;
  width: 20px;
  background: var(--ink);
}

.mobile-nav {
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  padding: 25px 40px;
  min-width: 240px;
  box-shadow: 0 14px 30px #30282a15;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: block;
  padding: 8px 0;
}

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  max-height: 1060px;
  overflow: hidden;
  background: #ddd4ce;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-position: 60% center;
  transform: scaleX(-1);
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-copy {
  z-index: 1;
  position: relative;
  max-width: 700px;
  width: 56%;
  margin: 100px 0 75px 6.2%;
}

.eyebrow {
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
  line-height: 1.5;
}

.hero-copy h1 {
  max-width: 650px;
}

.hero-description {
  line-height: 1.8;
  margin-top: 27px;
  color: #655c5f;
}

.hero-actions {
  display: flex;
  margin-top: 38px;
}

.outline-button {
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 14px 23px;
  font-size: 13px;
  line-height: 1.6;
  transition: .2s;
}

.outline-button:hover {
  background: var(--ink);
  color: white;
}

.outline-button span {
  font-size: 20px;
  line-height: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.8;
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-bottom>span:last-child {
  font-size: 24px;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 110px 6.2%;
}

.about-section {
  display: grid;
  gap: 12%;
  align-items: start;
}

.about-copy p+p {
  margin-top: 20px;
}

.about-copy .text-link {
  margin-top: 22px;
}

.services-section {
  background: #f0e9eb;
  max-width: none;
}

.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 52px;
}

.row-heading>p {
  max-width: 250px;
}

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

.service-image {
  display: block;
  overflow: hidden;
  margin-bottom: 24px;
}

.service-image img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform .5s;
}

.service-image:hover img {
  transform: scale(1.035);
}

.service-number {
  font-size: 11px;
  letter-spacing: .12em;
  color: #694953;
  margin-bottom: 13px;
}

.service-card h3 {
  font-size: 27px;
  margin-bottom: 15px;
}

.service-card>p:not(.service-number) {
  max-width: 300px;
}

.wide-banner {
  height: 450px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wide-banner>figure {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.wide-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}

.wide-banner:after {
  content: "";
  position: absolute;
  inset: 0;
}

.banner-copy {
  position: relative;
  z-index: 1;
  margin-left: 54%;
  padding-right: 8%;
  max-width: 650px;
}

.banner-copy h2 {
  font-size: 44px;
}

.banner-copy .outline-button {
  margin-top: 28px;
}

.gallery-grid {
  display: grid;
}

.gallery-grid figure {
  overflow: hidden;
}

.gallery-grid figure:nth-child(2) {
  margin-top: 65px;
}

.contact-section {
  background: var(--soft);
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13%;
}

.contact-intro>p:not(.eyebrow) {
  max-width: 490px;
  margin-top: 26px;
}

.contact-intro .outline-button {
  margin-top: 30px;
}

.contact-email {
  display: inline-block;
  margin-top: 28px;
  border-bottom: 1px solid var(--ink);
  font-size: 22px;
  overflow-wrap: anywhere;
}

.contact-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 35px;
}

.contact-people p {
  font-size: 13px;
}

.contact-people a {
  display: inline-block;
  margin-top: 12px;
}

.person-name {
  font-size: 16px!important;
  color: var(--ink);
  margin-bottom: 4px;
}

.site-footer {
  background: #30282a;
  color: #faf8f7;
  padding: 60px 6.2% 23px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 52px;
}

.footer-brand {
  font: 54px Georgia,serif;
  letter-spacing: -3px;
}

.footer-top p {
  font-size: 14px;
  color: #cfc2c7;
  margin-right: auto;
  margin-left: 55px;
}

.footer-top>a:last-child {
  border-bottom: 1px solid #c39dab;
  font-size: 15px;
  padding-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid #65545c;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #cfc2c7;
}

.detail-page {
  padding-top: 190px;
  min-height: 75vh;
  max-width: 1280px;
}

.detail-page h1 {
  margin-bottom: 42px;
}

.detail-page>figure {
  margin: 30px 0 42px;
}

.detail-page>figure img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.prose {
  font-size: 18px;
  max-width: 830px;
  margin-bottom: 35px;
}

.prose ul {
  padding-left: 23px;
  margin-top: 24px;
}

.prose li {
  margin-bottom: 12px;
}

.detail-page>.gallery-grid {
  margin: 40px 0;
}

.detail-page .gallery-grid figure:nth-child(2) {
  margin-top: 0;
}

.editor-styles-wrapper {
  background: var(--paper);
}

.editor-styles-wrapper .hero {
  min-height: 650px;
}

.wp-site-blocks {
  padding: 0;
}

@media(min-width:1600px) {
  .hero-copy {
    width: 50%;
  }

  .services-section,.contact-section {
    padding-left: max(6.2%,calc((100vw - 1260px)/2));
    padding-right: max(6.2%,calc((100vw - 1260px)/2));
  }
}

@media(max-width:1050px) {
  .desktop-nav {
    gap: 22px;
    margin-right: 20px;
  }

  .site-header {
    padding: 15px 24px;
  }

  .brand img {
    width: 55px;
  }

  .brand>span {
    font-size: 34px;
  }

  .hero-copy {
    width: 62%;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy h1 {
    font-size: 60px;
  }

  .services-grid {
    gap: 22px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .service-image img {
    height: 235px;
  }

  .section {
    padding: 85px 6.2%;
  }

  .contact-section {
    gap: 7%;
  }

  .gallery-grid img {
    height: 310px;
  }
}

@media(max-width:760px) {
  .site-header {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .admin-bar .site-header {
    top: 62px;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: 830px;
    height: auto;
    max-height: none;
    align-items: flex-start;
  }

  .hero-image img {
    object-position: 37% bottom;
  }

  .hero-copy {
    margin: 160px 7% 280px;
    width: 86%;
    max-width: 520px;
  }

  .hero-copy h1 {
    font-size: clamp(40px,8.8vw,58px);
  }

  .hero-copy .eyebrow {
    margin-bottom: 21px;
  }

  .hero-description {
    max-width: 330px;
    margin-top: 22px;
  }

  .hero-actions {
    flex-wrap: wrap;
    margin-top: 27px;
  }

  .hero-bottom {
    min-width: 0;
    padding: 20px 7%;
    gap: 20px;
  }

  .section {
    padding: 70px 7%;
  }

  .about-section,.contact-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .row-heading {
    display: block;
    margin-bottom: 35px;
  }

  .row-heading>p {
    margin-top: 22px;
  }

  .row-heading>.text-link {
    margin-top: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .service-card h3 {
    font-size: 29px;
  }

  .service-card>p:not(.service-number) {
    max-width: none;
  }

  .wide-banner {
    height: 430px;
  }

  .banner-copy {
    margin-left: 7%;
    padding-right: 7%;
    max-width: 480px;
  }

  .banner-copy h2 {
    font-size: 40px;
  }

  .gallery-grid figure:nth-child(2) {
    margin: 0;
  }

  .contact-people {
    gap: 15px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-top p {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-top>a:last-child {
    margin-right: 30%;
  }

  .footer-bottom {
    gap: 18px;
    align-items: flex-start;
  }

  .footer-bottom>a {
    white-space: nowrap;
  }

  .site-footer {
    padding: 45px 7% 24px;
  }

  .detail-page>figure img {
    min-height: 230px;
    object-fit: cover;
  }

  .prose {
    font-size: 16px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none!important;
  }
}

body {
  font-size: 17px;
}

.site-header {
  padding-top: 8px;
  padding-bottom: 8px;
}

.evul-stamp {
  display: block;
  flex: 0 0 86px;
}

.evul-stamp img {
  width: 86px;
  height: 86px;
}

.eyebrow {
  font-size: 15px;
  letter-spacing: .16em;
}

.hero-description {
  font-size: 18px;
  max-width: 430px;
}

.outline-button,.text-link {
  font-size: 16px;
}

.hero-bottom {
  font-size: 14px;
  letter-spacing: .05em;
}

.row-heading>p {
  font-size: 17px;
}

.services-grid>.service-card {
  margin-block-start: 0!important;
  margin-block-end: 0!important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-image {
  width: 100%;
}

.service-card .service-number {
  font-size: 15px;
}

.service-card h3 {
  min-height: 2.3em;
}

.service-card>p:not(.service-number) {
  font-size: 16px;
  min-height: 3.4em;
  line-height: 1.7;
}

.service-card .text-link {
  margin-top: 20px;
}

.contact-people p,.footer-top p,.footer-top>a:last-child {
  font-size: 16px;
}

.contact-people a {
  font-size: 17px;
}

.footer-bottom {
  font-size: 14px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  padding: 0 0 52px;
}

.footer-widgets h2 {
  font-size: 28px;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.footer-map p {
  color: #e4dce0;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  margin-bottom: 14px;
}

.footer-map>a,.credit-source {
  display: inline-block;
  font-size: 16px;
  border-bottom: 1px solid #c39dab;
}

.footer-credit #ssb-credit-score {
  margin-bottom: 16px;
}

.prose p+p {
  margin-top: 20px;
}

@media(max-width:1100px) {
  .desktop-nav {
    margin-right: 0;
  }
}

@media(max-width:900px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    height: 102px;
  }

  .evul-stamp {
    margin-left: auto;
  }

  .hero-copy {
    margin-top: 140px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .hero-bottom {
    font-size: 13px;
  }

  .service-card>p:not(.service-number) {
    min-height: 5.1em;
  }
}

@media(max-width:760px) {
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-nav a {
    font-size: 18px;
  }

  .hero-copy .eyebrow {
    font-size: 14px;
    letter-spacing: .08em;
  }

  .hero-description {
    font-size: 17px;
  }

  .row-heading>p {
    font-size: 17px;
  }

  .service-card h3 {
    min-height: 0;
  }

  .service-card>p:not(.service-number) {
    min-height: 0;
  }

  .contact-people p {
    font-size: 16px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    font-size: 14px;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-email {
    font-size: 21px;
  }
}

@media(max-width:380px) {
  .brand img {
    width: 42px;
  }

  .brand>span {
    font-size: 26px;
  }

  .site-header {
    gap: 9px;
    padding: 8px 12px;
  }

  .evul-stamp {
    flex-basis: 62px;
  }

  .evul-stamp img {
    width: 62px;
    height: 62px;
  }
}

.site-header {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 96px);
  max-width: 1160px;
  height: 126px;
  padding: 14px 34px;
  gap: 25px;
}

.brand {
  gap: 17px;
  flex-shrink: 0;
}

.brand img {
  width: 112px;
  height: 80px;
}

.brand>span {
  font-size: 37px;
}

.desktop-nav {
  font-size: 18px;
  gap: 24px;
  margin-left: auto;
  margin-right: 0;
  white-space: nowrap;
}

.hero-copy {
  margin-top: 145px;
}

.footer-credit .credit-score-widget__text-paragraph,.footer-credit .credit-score-widget__text-paragraph span,.footer-credit .credit-score-widget__company-name {
  font-size: 16px!important;
  line-height: 1.6;
}

.footer-credit .credit-score__year {
  font-size: 22px!important;
}

.footer-credit .credit-score__desc {
  font-size: 14px!important;
}

@media(max-width:1100px) {
  .site-header {
    padding: 12px 28px;
    gap: 20px;
  }

  .brand img {
    width: 100px;
    height: 74px;
  }

  .brand>span {
    font-size: 34px;
  }

  .desktop-nav {
    font-size: 17px;
    gap: 17px;
  }

  .brand {
    gap: 12px;
  }
}

@media(max-width:1000px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    width: calc(100% - 64px);
    max-width: 820px;
    height: 118px;
  }

  .evul-stamp {
    margin-left: auto;
  }

  .brand img {
    width: 110px;
    height: 80px;
  }

  .brand>span {
    font-size: 37px;
  }
}

@media(max-width:760px) {
  .site-header {
    width: calc(100% - 32px);
    height: 108px;
    padding: 12px 18px;
    gap: 15px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 82px;
    height: 66px;
  }

  .brand>span {
    font-size: 32px;
  }

  .hero-copy {
    margin-top: 195px;
  }

  .evul-stamp {
    flex-basis: 70px;
  }

  .evul-stamp img {
    width: 70px;
    height: 70px;
  }

  .detail-page {
    padding-top: 185px;
  }
}

@media(max-width:430px) {
  .brand>span {
    display: none;
  }

  .brand img {
    width: 102px;
    height: 76px;
  }

  .site-header {
    gap: 16px;
  }

  .hero-copy {
    margin-top: 190px;
  }
}

.footer-credit #ssb-credit-score {
  background: transparent;
  color: var(--paper);
  padding: 0;
}

.footer-credit .credit-score-widget {
  background: transparent!important;
  color: var(--paper)!important;
}

.footer-credit .credit-score-widget__company-name {
  color: var(--paper)!important;
}

.contact-form-panel {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 9%;
  border-top: 1px solid #c8b7bd;
  margin-top: 45px;
  padding-top: 55px;
  scroll-margin-top: 45px;
}

.form-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agely-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 16px;
}

.form-field input,.form-field textarea {
  width: 100%;
  border: 1px solid #b9a7ae;
  border-radius: 0;
  background: #faf8f780;
  color: var(--ink);
  font: 17px/1.6 Arial,Helvetica,sans-serif;
  padding: 12px 14px;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field input:focus,.form-field textarea:focus {
  outline: 2px solid #845364;
  outline-offset: 2px;
}

.full-width {
  grid-column: 1/-1;
}

.form-privacy {
  font-size: 15px;
  line-height: 1.6;
}

.form-submit {
  cursor: pointer;
  justify-self: start;
  background: transparent;
  color: var(--ink);
}

.form-submit:hover {
  background: var(--ink);
  color: var(--paper);
}

.form-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  padding: 16px 20px;
  background: #faf8f7;
  border-left: 3px solid #845364;
  margin-bottom: 24px;
  font-size: 17px;
  color: var(--ink);
}

.form-notice.is-success {
  border-left-color: #4c7348;
}

@media(max-width:760px) {
  .contact-form-panel {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 24px;
    padding-top: 40px;
  }

  .agely-contact-form {
    grid-template-columns: 1fr;
  }

  .form-privacy {
    font-size: 15px;
  }
}

.contact-section {
  column-gap: 13%;
  row-gap: 0;
}

.footer-credit .credit-score-widget__text-paragraph>span,.footer-credit .credit-score-widget__current-score {
  color: #b6dfb3!important;
}

@media(max-width:1050px) {
  .contact-section {
    column-gap: 7%;
  }
}

@media(max-width:760px) {
  .contact-section {
    row-gap: 28px;
  }
}

.compact-contact {
  grid-template-columns: 1fr 1.2fr;
  column-gap: 9%;
  padding-top: 80px;
  padding-bottom: 80px;
  align-items: start;
}

.compact-contact>.contact-intro,.compact-contact>.contact-form-panel {
  margin-block-start: 0!important;
}

.compact-contact .contact-form-panel {
  grid-column: auto;
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.compact-contact .contact-intro>.contact-email {
  margin-top: 28px;
}

.compact-contact .contact-people {
  margin-top: 28px;
  gap: 22px;
}

.compact-contact .contact-people>.wp-block-group {
  margin-block-start: 0!important;
}

.compact-contact .contact-address {
  margin-top: 30px;
  font-size: 16px;
}

.compact-contact .agely-contact-form {
  gap: 18px;
}

.compact-contact .form-field textarea {
  min-height: 140px;
}

.wide-banner:after {
  background: linear-gradient(90deg,rgba(38,28,30,.24),rgba(38,28,30,.67) 55%,rgba(38,28,30,.78));
}

.banner-copy,.banner-copy h2,.banner-copy .eyebrow {
  color: #fff;
}

.banner-copy .outline-button {
  color: #fff;
  border-color: #fff;
}

.banner-copy .outline-button:hover {
  background: #fff;
  color: var(--ink);
}

@media(max-width:760px) {
  .compact-contact {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 60px;
    row-gap: 35px;
  }

  .compact-contact .contact-form-panel {
    margin: 0;
    padding: 0;
  }

  .wide-banner:after {
    background: rgba(38,28,30,.6);
  }
}

.site-header {
  background: transparent;
  box-shadow: none;
  border: 0;
}

.hero-bottom {
  background: transparent;
  left: 6.2%;
  bottom: 28px;
  padding: 0;
  min-width: 0;
  width: auto;
  gap: 30px;
  max-width: 85%;
  color: var(--ink);
}

@media(max-width:760px) {
  .hero-bottom {
    left: 7%;
    bottom: 24px;
    width: 86%;
    max-width: none;
    font-size: 12px;
  }
}

.service-card ul.wp-block-list {
  margin: 0 0 22px;
  padding-left: 21px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.service-card ul.wp-block-list li {
  padding-left: 3px;
}

.service-card>.text-link {
  margin-top: auto;
}

.service-card>p:not(.service-number) {
  margin-bottom: 22px;
}

.form-submit {
  grid-column: 1/-1;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.agely-icon {
  display: inline-block;
  vertical-align: -.15em;
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.hero:after {
  background: linear-gradient(180deg,rgba(250,248,247,.98) 0%,rgba(250,248,247,.78) 15%,rgba(250,248,247,.24) 40%,transparent 72%),linear-gradient(90deg,rgba(250,248,247,.62) 0%,rgba(250,248,247,.38) 30%,transparent 65%);
}

@media(max-width:760px) {
  .hero:after {
    background: linear-gradient(180deg,rgba(250,248,247,.98) 0%,rgba(250,248,247,.8) 17%,rgba(250,248,247,.35) 38%,rgba(250,248,247,.1) 55%,transparent 75%);
  }
}

@media(min-width:1024px) {
  .hero-copy {
    margin-left: max(10%,calc((100% - 1160px)/2));
  }
}

.menu-toggle {
  border: 0;
  background: transparent;
  box-shadow: none;
}

@media(min-width:1001px) {
  .menu-toggle,.mobile-nav {
    display: none;
  }
}

.hero-copy .hero-bottom {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 26px;
  padding: 0;
  width: auto;
  max-width: 100%;
  min-width: 0;
  gap: 20px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .05em;
  background: transparent;
}

.hero-copy .hero-bottom>span:first-child {
  max-width: 440px;
}

@media(max-width:760px) {
  .hero-copy .hero-bottom {
    font-size: 13px;
    margin-top: 24px;
    gap: 14px;
  }
}

.news-section {
  max-width: none;
  background: radial-gradient(ellipse at 20% 50%,rgba(195,157,171,.16),transparent 65%),linear-gradient(180deg,transparent,rgba(195,157,171,.12) 35%,rgba(195,157,171,.16) 62%,transparent);
  padding-top: 90px;
  padding-bottom: 95px;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.news-image {
  display: block;
  width: 100%;
  overflow: hidden;
  margin-bottom: 22px;
}

.news-image img {
  width: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.news-image:hover img {
  transform: scale(1.035);
}

.news-card time {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

.news-card h3 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -.025em;
  margin-bottom: 24px;
}

.news-card>.text-link {
  margin-top: auto;
}

.news-card h3 a:hover {
  color: #845364;
}

@media(min-width:1600px) {
  .news-section {
    padding-left: max(6.2%,calc((100vw - 1260px)/2));
    padding-right: max(6.2%,calc((100vw - 1260px)/2));
  }
}

@media(max-width:1000px) {
  .news-grid {
    gap: 24px;
  }

  .news-card h3 {
    font-size: 23px;
  }

  .news-image img {
    height: 180px;
  }
}

@media(max-width:760px) {
  .news-section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .news-card h3 {
    font-size: 28px;
  }

  .news-image img {
    height: auto;
    aspect-ratio: 16/9;
  }

  .news-card>.text-link {
    margin-top: 0;
  }
}

.hero-actions>.wp-block-group,.hero-actions>a,.services-grid>.service-card,.gallery-grid>figure,.contact-people>.wp-block-group {
  margin-block-start: 0!important;
}

.hero-actions {
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 32px;
}

.about-section {
  padding-top: 70px;
  padding-bottom: 70px;
  column-gap: 8%;
  row-gap: 28px;
  grid-template-columns: .9fr 1.1fr;
}

.about-section>.wp-block-group {
  margin-block-start: 0!important;
}

.about-copy {
  padding-top: 42px;
}

.services-section {
  padding-top: 85px;
  padding-bottom: 85px;
}

.service-card>.service-image {
  margin-top: 0;
  margin-bottom: 20px;
}

.service-card>.service-number {
  margin-top: 0;
  margin-bottom: 14px;
}

.service-card>h3 {
  margin-top: 0;
  margin-bottom: 18px;
  min-height: 2.3em;
}

.service-card ul.wp-block-list {
  margin-top: 0;
  margin-bottom: 24px;
  min-height: 7.2em;
}

.gallery-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 30px;
  align-items: start;
}

.gallery-grid figure,.gallery-grid figure:nth-child(2) {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-section {
  padding-top: 85px;
  padding-bottom: 85px;
}

.news-card h3 {
  min-height: 2.5em;
}

.news-card time {
  display: block;
}

.news-image img {
  aspect-ratio: 16/9;
  height: auto;
}

.compact-contact .contact-people p {
  margin-top: 0;
}

.compact-contact .contact-people .person-name {
  margin-bottom: 5px;
}

.compact-contact .contact-people a {
  margin-top: 8px;
}

.compact-contact .contact-intro>.contact-address {
  margin-top: 28px;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 60px;
  border-top: 1px solid #65545c;
  padding-top: 24px;
  margin-bottom: 28px;
}

.footer-contacts p {
  color: #cfc2c7;
  font-size: 15px;
  line-height: 1.8;
}

.footer-contacts strong {
  color: var(--paper);
  font-weight: 400;
}

.footer-contacts a {
  display: inline-block;
  text-underline-offset: 4px;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-bottom {
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-bottom a {
  white-space: normal;
}

.prose {
  overflow-wrap: anywhere;
}

.prose blockquote {
  margin: 22px 0;
  padding-left: 20px;
  border-left: 2px solid var(--rose);
}

.footer-credit #ssb-credit-score {
  min-height: 190px;
}

.footer-credit #ssb-credit-score:empty {
  display: block;
}

.footer-credit .credit-score-widget {
  min-height: 190px;
}

.hero-image img {
  object-fit: cover;
}

.site-header {
  min-width: 0;
}

@media(max-width:1050px) {
  .about-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .services-section,.gallery-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .service-card>h3 {
    min-height: 2.6em;
  }

  .service-card ul.wp-block-list {
    min-height: 9em;
  }

  .news-card h3 {
    min-height: 3.75em;
  }
}

@media(max-width:760px) {
  .site-header {
    border-bottom: 1px solid var(--line);
  }

  .hero-copy {
    margin-bottom: 120px;
  }

  .hero-actions {
    align-items: center;
    gap: 20px;
  }

  .hero-actions>.text-link {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .about-section {
    grid-template-columns: 1fr;
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .about-copy {
    padding-top: 0;
  }

  .services-section,.gallery-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .service-card>h3,.service-card ul.wp-block-list,.news-card h3 {
    min-height: 0;
  }

  .service-image img {
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
  }

  .gallery-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: auto;
    max-height: none;
  }

  .footer-contacts {
    gap: 20px;
    flex-direction: column;
  }

  .detail-page h1 {
    font-size: clamp(32px,8.8vw,43px);
    overflow-wrap: anywhere;
  }

  .footer-credit #ssb-credit-score {
    min-height: 230px;
  }

  .footer-credit .credit-score-widget {
    min-height: 230px;
  }
}

@media(min-width:761px) and (max-width:1050px) {
  .detail-page {
    padding-top: 205px;
  }
}

.footer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-bottom: 28px;
  font-size: 16px;
}

.footer-services a {
  padding: 4px 0;
}

.footer-services a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose .policy-heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: normal;
  margin: 20px 0 0;
}
.prose .policy-heading + p { margin-top: 20px; }
.prose .policy-heading.is-plain { font-weight: 400; }
