:root {
  color-scheme: light;
  --ink: #1e2a2f;
  --muted: #657177;
  --line: #dde5e2;
  --paper: #fbfaf6;
  --soft: #f0f5ef;
  --green: #356f5a;
  --green-dark: #244f41;
  --gold: #c49a55;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(31, 46, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid rgba(221, 229, 226, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.estate-logo {
  display: block;
  color: var(--green-dark);
}

.estate-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
}

.logo-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.logo-ring-main {
  opacity: 0.76;
}

.logo-ring-accent {
  opacity: 0.95;
  stroke-linecap: round;
}

.logo-small,
.logo-main {
  fill: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.logo-small {
  font-size: 7.5px;
}

.logo-main {
  font-size: 15px;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
}

.brand-sub {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: #344247;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(20px, 6vw, 86px) 70px;
  background: var(--paper) url("./assets/hero.png") center / cover no-repeat;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.94) 0%, rgba(251, 250, 246, 0.74) 42%, rgba(251, 250, 246, 0.18) 78%),
    linear-gradient(0deg, rgba(30, 42, 47, 0.18), rgba(30, 42, 47, 0.02));
}

.hero-content {
  position: relative;
  width: min(690px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(34px, 5.2vw, 66px);
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
}

.hero-title-lockup {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-bottom: 24px;
}

.hero-title-lockup h1 {
  margin-bottom: 0;
}

.hero-logo {
  width: clamp(88px, 12vw, 132px);
  height: clamp(88px, 12vw, 132px);
  flex: 0 0 auto;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.25;
}

.hero-lead {
  width: min(100%, 620px);
  max-width: 620px;
  color: #405056;
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(53, 111, 90, 0.28);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(53, 111, 90, 0.24);
  color: var(--green-dark);
}

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

.band {
  background: var(--green-dark);
  color: var(--white);
}

.section,
.intro {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.intro .eyebrow {
  color: #d8c59a;
}

.intro p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
}

.property-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.property-summary {
  padding: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(160deg, rgba(53, 111, 90, 0.95), rgba(36, 79, 65, 0.98)),
    var(--green);
  color: var(--white);
}

.status {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff6d9;
  font-size: 13px;
  font-weight: 800;
}

.location {
  color: rgba(255, 255, 255, 0.78);
}

.price {
  margin: 30px 0 0;
  color: #fff3d2;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
}

.price-note {
  color: rgba(255, 255, 255, 0.76);
}

.text-link,
.map-link {
  display: inline-flex;
  margin-top: 16px;
  color: inherit;
  font-weight: 800;
  text-underline-offset: 5px;
}

.property-details,
.company-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.property-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 20px;
}

.property-details div,
.company-list div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.property-details div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.soft {
  background: var(--soft);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.company-list {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
}

.company-list div:last-child {
  border-bottom: 0;
}

.map-link {
  grid-column: 2;
  margin-top: -46px;
  justify-self: end;
  color: var(--green-dark);
}

.contact {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--paper);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(32px, 6vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(31, 46, 48, 0.1);
}

.contact-panel p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-top: 118px;
  }

  .hero-content {
    width: calc(100vw - 40px);
    max-width: 100%;
  }

  h1 {
    font-size: 34px;
    line-height: 1.22;
    word-break: break-all;
  }

  .hero-title-lockup {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }

  .hero-logo {
    width: 76px;
    height: 76px;
    margin-top: 2px;
  }

  .hero-lead {
    width: min(100%, 330px);
    max-width: 330px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.95) 0%, rgba(251, 250, 246, 0.85) 45%, rgba(251, 250, 246, 0.48) 100%),
      rgba(30, 42, 47, 0.08);
  }

  .intro-grid,
  .property-panel,
  .company-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    display: grid;
  }

  .property-details {
    grid-template-columns: 1fr;
    padding: 10px 16px;
  }

  .property-details div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .property-details div:last-child {
    border-bottom: 0;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .map-link {
    grid-column: auto;
    margin-top: 0;
    justify-self: start;
  }
}

@media (max-width: 440px) {
  .brand-name {
    font-size: 13px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .hero-title-lockup {
    gap: 10px;
  }

  .hero-logo {
    width: 66px;
    height: 66px;
  }

  .button {
    width: 100%;
  }
}
