/* SLH Properties Limited — corporate site styles. Warm-dark architectural palette. */

:root {
  --slh-base: #2A2723;
  --slh-base-deep: #211E1A;
  --slh-accent: #C8613B;
  --slh-accent-soft: #d9825f;
  --slh-card: #F3EDE4;
  --slh-card-line: #e2d8c8;
  --slh-stone: #8A8378;
  --slh-ink: #2A2723;
  --slh-paper: #FBF8F3;
  --slh-line-blueprint: rgba(243, 237, 228, 0.14);
  --slh-shadow: 0 22px 55px rgba(20, 18, 15, 0.18);
  --slh-space: 20px;
  --slh-radius: 4px;
  --slh-maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--slh-ink);
  background: var(--slh-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

a { color: var(--slh-accent); }

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

.slh-shell {
  width: 100%;
  max-width: var(--slh-maxw);
  margin: 0 auto;
  padding-left: var(--slh-space);
  padding-right: var(--slh-space);
}

/* ---------- Header ---------- */
.slh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(42, 39, 35, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(243, 237, 228, 0.1);
}

.slh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.slh-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slh-card);
}

.slh-wordmark-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--slh-accent);
  position: relative;
  transform: rotate(45deg);
  flex: none;
}
.slh-wordmark-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(243, 237, 228, 0.55);
}

.slh-wordmark-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.slh-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slh-nav a {
  color: rgba(243, 237, 228, 0.82);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  padding: 9px 13px;
  border-radius: var(--slh-radius);
  transition: color 0.18s ease, background 0.18s ease;
}
.slh-nav a:hover { color: var(--slh-card); background: rgba(243, 237, 228, 0.07); }

.slh-nav-cta {
  border: 1px solid var(--slh-accent);
  color: var(--slh-accent-soft) !important;
}
.slh-nav-cta:hover {
  background: var(--slh-accent) !important;
  color: var(--slh-base) !important;
}

.slh-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 237, 228, 0.25);
  border-radius: var(--slh-radius);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.slh-nav-bar {
  width: 20px;
  height: 2px;
  background: var(--slh-card);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.slh-nav-toggle[aria-expanded="true"] .slh-nav-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.slh-nav-toggle[aria-expanded="true"] .slh-nav-bar:nth-child(2) { opacity: 0; }
.slh-nav-toggle[aria-expanded="true"] .slh-nav-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.slh-hero {
  position: relative;
  background: var(--slh-base);
  color: var(--slh-card);
  overflow: hidden;
  padding: 78px 0 88px;
}

.slh-blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--slh-line-blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--slh-line-blueprint) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

.slh-frame {
  position: absolute;
  border: 1.5px solid rgba(200, 97, 59, 0.4);
  display: block;
}
.slh-frame-a { right: 8%; top: 18%; width: 150px; height: 150px; }
.slh-frame-b { right: 16%; top: 30%; width: 92px; height: 118px; border-color: rgba(243, 237, 228, 0.22); }
.slh-frame-c { right: 4%; top: 42%; width: 64px; height: 70px; border-color: rgba(243, 237, 228, 0.16); }
.slh-roofline {
  position: absolute;
  right: 6%;
  top: 12%;
  width: 210px;
  height: 90px;
  border-top: 1.5px solid rgba(200, 97, 59, 0.5);
  border-right: 1.5px solid rgba(200, 97, 59, 0.5);
  transform: skewX(-30deg);
}

.slh-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.slh-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--slh-accent-soft);
  margin: 0 0 18px;
}

.slh-hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 22px;
}

.slh-hero-lead {
  font-size: 1.1rem;
  color: rgba(243, 237, 228, 0.82);
  max-width: 620px;
  margin: 0 0 30px;
}

.slh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Buttons ---------- */
.slh-btn {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--slh-radius);
  transition: transform 0.16s ease, background 0.18s ease, color 0.18s ease;
}
.slh-btn:hover { transform: translateY(-2px); }

.slh-btn-primary {
  background: var(--slh-accent);
  color: var(--slh-base);
  border: 1px solid var(--slh-accent);
}
.slh-btn-primary:hover { background: var(--slh-accent-soft); }

.slh-btn-ghost {
  background: transparent;
  color: var(--slh-card);
  border: 1px solid rgba(243, 237, 228, 0.4);
}
.slh-btn-ghost:hover { border-color: var(--slh-card); }

/* ---------- Sections ---------- */
.slh-section { padding: 70px 0; }

.slh-section-dark {
  background: var(--slh-base-deep);
  color: var(--slh-card);
}

.slh-section-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.slh-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--slh-accent);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--slh-accent);
  margin-bottom: 16px;
}
.slh-tag-light { color: var(--slh-accent-soft); }

.slh-section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
}

.slh-section-lead {
  color: var(--slh-stone);
  font-size: 1.05rem;
  margin: 0;
}
.slh-section-dark .slh-section-lead { color: rgba(243, 237, 228, 0.72); }

/* ---------- Cards ---------- */
.slh-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.slh-card {
  background: var(--slh-card);
  border: 1px solid var(--slh-card-line);
  border-radius: var(--slh-radius);
  padding: 30px 26px 32px;
  position: relative;
  box-shadow: var(--slh-shadow);
}
.slh-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 46px;
  background: var(--slh-accent);
}
.slh-card-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--slh-stone);
}
.slh-card h3 {
  font-size: 1.35rem;
  margin: 10px 0 12px;
}
.slh-card p { margin: 0; color: #4b463f; }

/* ---------- Steps ---------- */
.slh-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.slh-step {
  border: 1px solid rgba(243, 237, 228, 0.16);
  border-radius: var(--slh-radius);
  padding: 28px 24px;
  position: relative;
}
.slh-step-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(200, 97, 59, 0.85);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.slh-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.slh-step p { margin: 0; color: rgba(243, 237, 228, 0.75); }

/* ---------- Company facts ---------- */
.slh-facts {
  background: var(--slh-card);
  border: 1px solid var(--slh-card-line);
  border-radius: var(--slh-radius);
  padding: 12px 8px;
  box-shadow: var(--slh-shadow);
}
.slh-facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}
.slh-fact {
  padding: 18px 20px;
  border-bottom: 1px solid var(--slh-card-line);
}
.slh-fact:last-child { border-bottom: none; }
.slh-fact dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slh-stone);
  margin-bottom: 6px;
  font-weight: 600;
}
.slh-fact dd {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--slh-ink);
}

/* ---------- Contact ---------- */
.slh-contact { background: var(--slh-base); color: var(--slh-card); }
.slh-contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}
.slh-contact-copy h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 14px;
}
.slh-contact-copy p {
  color: rgba(243, 237, 228, 0.8);
  max-width: 460px;
  margin: 0 0 26px;
}
.slh-contact-card {
  font-style: normal;
  background: rgba(243, 237, 228, 0.06);
  border: 1px solid rgba(243, 237, 228, 0.18);
  border-radius: var(--slh-radius);
  padding: 26px 24px;
  line-height: 1.7;
}
.slh-contact-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  color: var(--slh-card);
}
.slh-contact-card a { color: var(--slh-accent-soft); }

/* ---------- Footer ---------- */
.slh-footer {
  background: var(--slh-base-deep);
  color: rgba(243, 237, 228, 0.72);
  padding: 44px 0;
  border-top: 1px solid rgba(243, 237, 228, 0.08);
}
.slh-footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.slh-footer-brand .slh-wordmark-text {
  color: var(--slh-card);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.slh-footer-brand p { margin: 0; font-size: 0.94rem; }
.slh-footer-meta p { margin: 0 0 5px; font-size: 0.9rem; }
.slh-footer-meta a { color: var(--slh-accent-soft); }

/* ---------- Entrance animation (defaults visible) ---------- */
.slh-rise {
  opacity: 1;
  animation: slh-rise-in 0.7s ease both;
}
.slh-rise:nth-child(2) { animation-delay: 0.06s; }
.slh-rise:nth-child(3) { animation-delay: 0.12s; }
.slh-rise:nth-child(4) { animation-delay: 0.18s; }

@keyframes slh-rise-in {
  from { opacity: 0.35; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Privacy page ---------- */
.slh-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 54px var(--slh-space) 72px;
}
.slh-legal h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  margin-bottom: 10px;
}
.slh-legal .slh-legal-intro { color: var(--slh-stone); font-size: 1.05rem; margin-bottom: 34px; }
.slh-legal h2 {
  font-size: 1.3rem;
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--slh-card-line);
}
.slh-legal p, .slh-legal li { color: #423d37; }
.slh-legal ul { padding-left: 20px; }
.slh-legal li { margin-bottom: 7px; }
.slh-legal-facts {
  background: var(--slh-card);
  border: 1px solid var(--slh-card-line);
  border-radius: var(--slh-radius);
  padding: 22px 24px;
  margin: 8px 0 4px;
}
.slh-legal-facts dl { margin: 0; display: grid; gap: 12px; }
.slh-legal-facts dt {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--slh-stone); font-weight: 600; margin-bottom: 3px;
}
.slh-legal-facts dd { margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 500; }
.slh-back {
  display: inline-block;
  margin-bottom: 26px;
  font-weight: 600;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
}
.slh-back::before { content: "← "; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .slh-cards { grid-template-columns: repeat(3, 1fr); }
  .slh-steps { grid-template-columns: repeat(3, 1fr); }
  .slh-facts-grid { grid-template-columns: 1fr 1fr; }
  .slh-fact { border-right: 1px solid var(--slh-card-line); }
  .slh-fact:nth-child(2n) { border-right: none; }
  .slh-fact-wide { grid-column: 1 / -1; }
  .slh-footer-inner { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .slh-contact-inner { grid-template-columns: 1.2fr 0.8fr; }
  .slh-legal-facts dl { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 719px) {
  .slh-nav-toggle { display: flex; }
  .slh-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--slh-base-deep);
    border-bottom: 1px solid rgba(243, 237, 228, 0.12);
    padding: 8px 16px 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, padding 0.28s ease;
  }
  .slh-nav.slh-nav-open { max-height: 360px; }
  .slh-nav a { padding: 13px 8px; border-bottom: 1px solid rgba(243, 237, 228, 0.06); }
  .slh-nav-cta { text-align: center; margin-top: 8px; }
  .slh-blueprint { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slh-rise { animation: none; opacity: 1; transform: none; }
  .slh-btn:hover { transform: none; }
}

@media (prefers-color-scheme: dark) {
  body { background: #1b1815; color: #ece5da; }
  .slh-section:not(.slh-section-dark):not(.slh-contact) { background: #1b1815; }
  .slh-section-lead { color: #b6ad9f; }
}
