:root {
  --brand-primary: #789a65;
  --brand-text: #071d37;
  --brand-text-subtle: #526073;
  --brand-bg: #ffffff;
  --brand-page-bg: #f5f4ed;
  --font-heading: "Satoshi", "Trebuchet MS", sans-serif;
  --font-body: "Inter", "Helvetica Neue", sans-serif;
  --line: rgba(7, 29, 55, .15);
  --paper-green: #e2ead9;
  --paper-blue: #dce9e8;
  --paper-warm: #eee9dc;
  --shadow: 8px 8px 0 rgba(7, 29, 55, .1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brand-text);
  background: var(--brand-bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: var(--brand-text);
  background: var(--brand-primary);
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 24px;
  padding: 10px 14px;
  color: var(--brand-bg);
  background: var(--brand-text);
}

.skip-link:focus {
  top: 20px;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px max(24px, calc((100% - 1180px) / 2));
  color: var(--brand-bg);
  background: var(--brand-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topline p {
  margin: 0;
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--brand-bg);
  border-bottom: 1px solid var(--line);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  gap: 28px;
}

.brand {
  display: block;
  min-height: 42px;
}

.brand img {
  width: 411px;
  max-height: 88px;
  object-fit: cover;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 21px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 38px 0 34px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .015em;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 27px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  padding: 116px 0 106px;
  background: var(--paper-green);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .7;
  background-image: linear-gradient(rgba(7, 29, 55, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 29, 55, .1) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(90deg, transparent, black 28%, black 80%, transparent);
}

.hero-content {
  position: relative;
}

.eyebrow,
.section-number,
.box-label {
  margin: 0 0 17px;
  color: var(--brand-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1,
h2,
h3 {
  font-family: var(--font-heading);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(54px, 7.5vw, 106px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .88;
}

.hero h1 em {
  color: var(--brand-primary);
  font-style: normal;
}

.hero-copy {
  max-width: 550px;
  margin: 35px 0 0;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  padding: 12px 19px;
  border: 1px solid var(--brand-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--brand-text);
}

.button-primary {
  color: var(--brand-bg);
  background: var(--brand-text);
}

.button-outline {
  background: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: color .2s ease;
}

.text-link:hover {
  color: var(--brand-primary);
}

.hero-stamp {
  position: absolute;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 49px;
  display: grid;
  width: 158px;
  height: 158px;
  place-items: center;
  border: 1px solid var(--brand-text);
  border-radius: 50%;
  text-align: center;
  transform: rotate(11deg);
}

.hero-stamp::before,
.hero-stamp::after {
  position: absolute;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--brand-primary);
  border-radius: 50%;
}

.hero-stamp::before {
  top: 20px;
}

.hero-stamp::after {
  bottom: 20px;
}

.hero-stamp span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
}

.hero-stamp strong {
  font-family: var(--font-heading);
  font-size: 25px;
  letter-spacing: -.07em;
  line-height: .8;
}

.section {
  padding: 110px 0;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .8fr);
  gap: 11%;
}

.split-intro h2,
.section-heading h2,
.feature-copy h2 {
  margin: 0;
  font-size: clamp(35px, 4.2vw, 61px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .98;
}

.intro-copy {
  padding-top: 4px;
}

.intro-copy p {
  margin: 0 0 22px;
  color: var(--brand-text-subtle);
  font-size: 17px;
}

.topic-section {
  background: var(--brand-text);
}

.topic-section .section-number,
.topic-section h2,
.topic-section .section-heading > p {
  color: var(--brand-bg);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 47px;
}

.section-heading > p {
  max-width: 350px;
  margin: 0;
  color: var(--brand-text-subtle);
  font-size: 14px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .27);
  border-left: 1px solid rgba(255, 255, 255, .27);
}

.topic-card {
  position: relative;
  display: flex;
  min-height: 398px;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  color: var(--brand-text);
  border-right: 1px solid rgba(255, 255, 255, .27);
  border-bottom: 1px solid rgba(255, 255, 255, .27);
  transition: transform .25s ease;
}

.topic-card:hover {
  z-index: 1;
  transform: translateY(-10px);
}

.topic-property {
  background: var(--paper-green);
}

.topic-services {
  background: var(--paper-warm);
}

.topic-living {
  background: var(--paper-blue);
}

.topic-guides {
  background: var(--brand-primary);
}

.topic-index {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.topic-card h3 {
  position: relative;
  z-index: 1;
  margin: auto 0 8px;
  font-size: 31px;
  letter-spacing: -.06em;
  line-height: .9;
}

.topic-card p {
  position: relative;
  z-index: 1;
  max-width: 220px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.card-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 27px;
}

.topic-art {
  position: absolute;
  top: 68px;
  right: 18px;
  left: 18px;
  height: 140px;
  opacity: .84;
}

.house-art {
  border-bottom: 8px solid var(--brand-text);
}

.house-art i {
  position: absolute;
  bottom: 0;
  display: block;
  width: 38px;
  background: var(--brand-text);
}

.house-art i:nth-child(1) {
  left: 4%;
  height: 69px;
}

.house-art i:nth-child(2) {
  left: 27%;
  height: 115px;
}

.house-art i:nth-child(3) {
  left: 52%;
  height: 87px;
}

.house-art i:nth-child(4) {
  left: 76%;
  height: 131px;
}

.service-art {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 3px solid var(--brand-text);
  border-bottom: 3px solid var(--brand-text);
}

.service-art i {
  display: block;
  width: 42px;
  height: 42px;
  border: 3px solid var(--brand-text);
  border-radius: 50%;
}

.city-art {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 8px solid var(--brand-text);
}

.city-art i {
  display: block;
  width: 15%;
  background: var(--brand-text);
}

.city-art i:nth-child(1) { height: 43%; }
.city-art i:nth-child(2) { height: 82%; }
.city-art i:nth-child(3) { height: 56%; }
.city-art i:nth-child(4) { height: 100%; }
.city-art i:nth-child(5) { height: 65%; }

.guide-art {
  display: grid;
  gap: 13px;
  padding: 10px 0;
}

.guide-art i {
  display: block;
  height: 16px;
  border: 3px solid var(--brand-text);
}

.guide-art i:nth-child(1) { width: 81%; }
.guide-art i:nth-child(2) { width: 62%; }
.guide-art i:nth-child(3) { width: 74%; }

.feature-section {
  background: var(--brand-page-bg);
}

.feature-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 9%;
}

.feature-visual {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  overflow: hidden;
  color: var(--brand-bg);
  background: var(--brand-primary);
}

.feature-visual::before,
.feature-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
}

.feature-visual::before {
  width: 370px;
  height: 370px;
}

.feature-visual::after {
  width: 540px;
  height: 540px;
}

.feature-visual p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(29px, 3.3vw, 46px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .85;
  text-align: center;
}

.sun-mark {
  position: absolute;
  z-index: 1;
  top: 63px;
  right: 72px;
  width: 19px;
  height: 19px;
  border: 2px solid var(--brand-bg);
  border-radius: 50%;
}

.visual-caption {
  position: absolute;
  z-index: 1;
  bottom: 21px;
  left: 24px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.feature-copy p:not(.section-number) {
  max-width: 530px;
  color: var(--brand-text-subtle);
  font-size: 17px;
}

.feature-copy .button {
  margin-top: 12px;
}

.journal-section {
  padding-bottom: 120px;
}

.content-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 66px;
}

.section-heading.compact {
  margin-bottom: 29px;
}

.section-heading.compact h2 {
  font-size: 44px;
}

.recent-posts {
  border: 1px dashed var(--line);
  background: var(--brand-page-bg);
}

.empty-posts {
  display: grid;
  min-height: 290px;
  padding: 34px;
  place-content: center;
  text-align: center;
}

.empty-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: var(--brand-bg);
  background: var(--brand-text);
  border-radius: 50%;
  font-size: 26px;
  line-height: 38px;
}

.empty-posts h3 {
  margin: 0 0 5px;
  font-size: 22px;
  letter-spacing: -.04em;
}

.empty-posts p {
  max-width: 330px;
  margin: 0;
  color: var(--brand-text-subtle);
  font-size: 13px;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
}

.sidebar-box {
  padding: 27px;
  border: 1px solid var(--line);
}

.sidebar-box h3 {
  margin: 0 0 17px;
  font-size: 29px;
  letter-spacing: -.06em;
  line-height: 1;
}

.partner-placeholders {
  display: grid;
  gap: 9px;
}

.partner-placeholders span {
  display: grid;
  min-height: 45px;
  place-items: center;
  color: var(--brand-text-subtle);
  border: 1px dashed var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.note-box {
  background: var(--paper-green);
}

.note-symbol {
  display: block;
  margin-bottom: 30px;
  font-size: 31px;
}

.note-box p {
  color: var(--brand-text-subtle);
  font-size: 13px;
}

.note-box a {
  display: inline-block;
  margin-top: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  color: var(--brand-bg);
  background: var(--brand-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding: 66px 0 52px;
}

.brand-footer {
  mix-blend-mode: multiply;
  filter: brightness(1) saturate(0%) invert(0);
}


.footer-brand > p {
  max-width: 220px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links p {
  margin: 0 0 8px;
  color: var(--brand-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.footer-links a {
  width: fit-content;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--brand-bg);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.page-not-found {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
}

.not-found-main {
  display: grid;
  place-items: center;
  padding: 80px 24px;
  background: var(--paper-green);
  text-align: center;
}

.not-found-content {
  max-width: 720px;
}

.not-found-code {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-primary);
  font-family: var(--font-heading);
  font-size: clamp(100px, 20vw, 250px);
  font-weight: 800;
  letter-spacing: -.13em;
  line-height: .7;
}

.not-found-content h1 {
  margin: 35px 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(39px, 6vw, 68px);
  letter-spacing: -.07em;
  line-height: .95;
}

.not-found-content p {
  max-width: 480px;
  margin: 0 auto 28px;
  color: var(--brand-text-subtle);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .site-nav ul {
    gap: 13px;
  }

  .site-nav a {
    font-size: 11px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-card {
    min-height: 340px;
  }

  .hero-stamp {
    right: 36px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 36px, 1180px);
  }

  .topline p:last-child {
    display: none;
  }

  .header-main {
    min-height: 76px;
  }

  .brand {
    width: 176px;
  }

  .menu-toggle {
    display: grid;
    width: 47px;
    gap: 4px;
    padding: 9px 0;
    cursor: pointer;
    justify-items: end;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-text);
    transition: transform .2s ease;
  }

  .menu-toggle b {
    margin-top: 2px;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    background: var(--brand-bg);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 590px;
    padding: 86px 0 75px;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 77px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-stamp {
    right: 23px;
    bottom: 26px;
    width: 116px;
    height: 116px;
  }

  .hero-stamp strong {
    font-size: 19px;
  }

  .hero-stamp span {
    font-size: 6px;
  }

  .section {
    padding: 75px 0;
  }

  .split-intro,
  .feature-layout,
  .content-sidebar,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 285px;
  }

  .feature-visual {
    min-height: 335px;
  }

  .feature-visual::before {
    width: 270px;
    height: 270px;
  }

  .feature-visual::after {
    width: 390px;
    height: 390px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 7px;
  }
}

@media (max-width: 420px) {
  .topline {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-stamp {
    display: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
