:root {
  --bg: #f7f2e8;
  --surface: rgba(255, 252, 247, 0.7);
  --surface-strong: rgba(255, 252, 247, 0.9);
  --border: rgba(30, 43, 65, 0.14);
  --border-strong: rgba(30, 43, 65, 0.2);
  --text: #1c2738;
  --muted: #5b6472;
  --deep-blue: #24364f;
  --warm-gold: #c89333;
  --olive: #707259;
  --shadow: 0 24px 60px rgba(36, 54, 79, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 88px;
}

.hero,
.philosophy,
.what-lives-here,
.contact {
  position: relative;
}

.hero {
  text-align: center;
  padding: 8px 0 20px;
}

.logo-frame {
  width: min(430px, 100%);
  margin: 10px auto 8px;
}

.hero-logo {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(36, 54, 79, 0.06));
}

.eyebrow,
.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.73rem;
  color: var(--warm-gold);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

h1 {
  margin: 4px 0 6px;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--deep-blue);
}

.tagline {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.24em;
  text-transform: lowercase;
  color: var(--muted);
}

.hero-copy,
.section-copy {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.philosophy {
  margin: 10px auto 56px;
  padding: 0;
  max-width: 880px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.philosophy-line {
  margin: 0;
  text-align: center;
  font-size: clamp(0.88rem, 1.45vw, 0.98rem);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--warm-gold);
}

.what-lives-here,
.contact {
  padding: 36px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading-centered .section-copy {
  margin-left: auto;
  margin-right: auto;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--deep-blue);
}

.section-copy {
  margin-left: 0;
}

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

.feature-card {
  padding: 28px;
  min-height: 220px;
  border: 1px solid transparent;
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.feature-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--muted);
}

.card-warm {
  border-color: rgba(200, 147, 51, 0.22);
}

.card-warm h3 {
  color: #7a5220;
}

.card-olive {
  border-color: rgba(112, 114, 89, 0.22);
}

.card-olive h3 {
  color: #5a5c46;
}

.card-ink {
  border-color: rgba(36, 54, 79, 0.18);
}

.card-ink h3 {
  color: var(--deep-blue);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 40px;
  align-items: start;
}

.contact-form {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.contact-form .hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.94rem;
  color: var(--deep-blue);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(36, 54, 79, 0.16);
  border-radius: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(200, 147, 51, 0.8);
  box-shadow: 0 0 0 3px rgba(200, 147, 51, 0.14);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.form-note {
  margin: 6px 0 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.form-note[data-state="success"] {
  color: #3f6b46;
}

.form-note[data-state="error"] {
  color: #8a3b2c;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.contact-form button {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  color: #fffdf8;
  background: linear-gradient(135deg, #c89333 0%, #af7420 100%);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 12px 24px rgba(175, 116, 32, 0.24);
}

.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(175, 116, 32, 0.28);
}

.contact-form button:active {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 32px, 1120px);
    padding-top: 24px;
  }

  .card-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-copy {
    line-height: 1.8;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
    padding-bottom: 56px;
  }

  .philosophy,
  .feature-card,
  .contact-form {
    border-radius: 22px;
  }

  .logo-frame {
    width: min(320px, 100%);
  }

  .feature-card,
  .contact-form {
    padding: 22px;
  }

  .tagline {
    letter-spacing: 0.28em;
  }
}
