/* Emmanuel Sell Land - selling site
   Light editorial system. Ink on paper, one moss accent, 3px radius everywhere. */

:root {
  --paper: #f9f9f7;
  --surface: #ffffff;
  --ink: #16181a;
  --ink-2: #43484c;
  --muted: #6d7378;
  --hairline: #e2e2dd;
  --accent: #2e4a3b;
  --accent-hover: #243b2f;
  --accent-quiet: #eef1ee;
  --on-accent: #ffffff;
  --focus: #2e4a3b;

  --r: 3px;
  --shell: 1240px;
  --nav-h: 68px;

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131513;
    --surface: #1a1d1b;
    --ink: #f2f3f0;
    --ink-2: #c8ccc6;
    --muted: #969b96;
    --hairline: #2c302d;
    --accent: #9dbfa8;
    --accent-hover: #b4d0bd;
    --accent-quiet: #1f2621;
    --on-accent: #10130f;
    --focus: #9dbfa8;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 767px) {
  .shell {
    padding: 0 18px;
  }
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--r);
}

/* Type scale */

.display {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 620;
  margin: 0;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.026em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}

.h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.014em;
  font-weight: 600;
  margin: 0;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0;
}

.body {
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.meta {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.005em;
  padding: 13px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.15s var(--ease), color 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
}

/* Header */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.masthead-in {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 620;
  letter-spacing: -0.02em;
  font-size: 17px;
  flex: none;
}

.brand img {
  max-height: 30px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}

.nav a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.masthead-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.masthead-phone {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--ink-2);
}

.masthead-phone:hover {
  color: var(--ink);
}

@media (max-width: 1023px) {
  .nav,
  .masthead-phone {
    display: none;
  }
  .masthead-cta {
    margin-left: auto;
  }
}

/* Hero */

.hero {
  padding: 84px 0 76px;
  border-bottom: 1px solid var(--hairline);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

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

.hero .lede {
  margin-top: 22px;
}

.hero-figure {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--accent-quiet);
  aspect-ratio: 4 / 3;
}

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

@media (max-width: 900px) {
  .hero {
    padding: 52px 0 56px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-figure {
    aspect-ratio: 16 / 10;
  }
}

/* Sections */

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--hairline);
}

@media (max-width: 767px) {
  .section {
    padding: 58px 0;
  }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

@media (max-width: 767px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }
}

/* Inventory */

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 767px) {
  .inventory-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.lot {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

a.lot:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.lot-figure {
  aspect-ratio: 3 / 2;
  background: var(--accent-quiet);
  overflow: hidden;
}

.lot-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

a.lot:hover .lot-figure img {
  transform: scale(1.03);
}

.lot-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.lot-place {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.lot-headline {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lot-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}

.lot-price {
  font-size: 1.22rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.lot-terms {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-quiet);
  padding: 4px 9px;
  border-radius: var(--r);
}

.lot-ask {
  align-self: flex-start;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 540;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease);
}

.lot-ask:hover {
  border-color: var(--accent);
}

.inventory-empty {
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 46px 32px;
  background: var(--surface);
  max-width: 60ch;
}

.inventory-empty .h3 {
  margin-bottom: 10px;
}

.lot-skeleton {
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}

.lot-skeleton .sk-fig {
  aspect-ratio: 3 / 2;
  background: var(--accent-quiet);
}

.lot-skeleton .sk-line {
  height: 12px;
  margin: 22px 24px 0;
  border-radius: var(--r);
  background: var(--accent-quiet);
}

.lot-skeleton .sk-line.short {
  width: 42%;
  margin-bottom: 26px;
}

@media (prefers-reduced-motion: no-preference) {
  .lot-skeleton .sk-fig,
  .lot-skeleton .sk-line {
    animation: sk 1.4s ease-in-out infinite;
  }
}

@keyframes sk {
  50% {
    opacity: 0.55;
  }
}

/* Terms band */

.figures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 40px;
}

.figure-val {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.figure-key {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* Process */

.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.process-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.process-figure {
  margin-top: 34px;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--accent-quiet);
}

.process-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .process {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* Lead capture */

.capture {
  background: var(--accent-quiet);
  border-bottom: 1px solid var(--hairline);
  padding: 92px 0;
}

@media (max-width: 767px) {
  .capture {
    padding: 58px 0;
  }
}

.capture-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .capture-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 30px;
}

.form-note {
  font-size: 14px;
  color: var(--muted);
  margin: 18px 0 0;
}

.form-card label {
  display: block;
  font-size: 14px;
  font-weight: 540;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.form-card input::placeholder,
.form-card textarea::placeholder {
  color: var(--muted);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}

.form-card button,
.form-card input[type="submit"] {
  width: 100%;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 560;
  padding: 13px 22px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}

.form-card button:hover,
.form-card input[type="submit"]:hover {
  background: var(--accent-hover);
}

/* Footer */

.footer {
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink-2);
}

.footer a:hover {
  color: var(--ink);
}

.footer address {
  font-style: normal;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}

.footer-base {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-base p {
  margin: 0;
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Property pages
   The body of a property page is assembled by the CRM from listing sections, so
   its markup cannot be targeted by class. These element-level rules give that
   content the same typography and rhythm as the rest of the site. They are scoped
   under .pp-page, which the first listing section opens. */

.pp-page {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}

@media (max-width: 767px) {
  .pp-page {
    padding: 34px 18px 56px;
  }
}

.pp-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 620;
  margin: 0 0 12px;
}

.pp-page h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.024em;
  font-weight: 600;
  margin: 48px 0 16px;
}

.pp-page h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.014em;
  margin: 32px 0 10px;
}

.pp-page p {
  color: var(--ink-2);
  max-width: 68ch;
  margin: 0 0 16px;
}

.pp-page a {
  color: var(--accent);
}

.pp-page img {
  border-radius: var(--r);
  margin: 0 0 18px;
}

.pp-page ul,
.pp-page ol {
  color: var(--ink-2);
  max-width: 68ch;
  padding-left: 20px;
  margin: 0 0 18px;
}

.pp-page li {
  margin-bottom: 6px;
}

.pp-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 15.5px;
}

.pp-page th,
.pp-page td {
  text-align: left;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.pp-page th {
  color: var(--muted);
  font-weight: 540;
  white-space: nowrap;
}

.pp-page iframe {
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
}

/* Designed blocks used by the custom listing sections */

.pp-sub {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0;
}

.pp-sub:empty {
  display: none;
}

.pp-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 34px;
}

.pp-price {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pp-ask {
  margin-top: 56px;
  padding: 34px;
  background: var(--accent-quiet);
  border-radius: var(--r);
}

.pp-ask h2 {
  margin-top: 0;
}

.pp-ask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Scroll reveal */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
