/* Judy Beserra | Nest Real Estate, holding page
   Palette: Warm Cream bg, Deep Terracotta headlines, Deep Teal accents,
   Warm Taupe body, Dusty Rose dividers. Cormorant Garamond + Jost. */

:root {
  --cream: #F5EDE3;
  --cream-deep: #EFE3D5;
  --terracotta: #7D3A2C;
  --terracotta-dark: #62291E;
  --teal: #2E6B6B;
  --teal-dark: #245757;
  --rose: #C49A8A;
  --taupe: #8B6F5E;
  --taupe-dark: #6E5546;
  --ink-black: #1A1A1A;

  --serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --measure: 62ch;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--taupe);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover, a:focus-visible { color: var(--teal-dark); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

sup { font-size: 0.55em; vertical-align: super; line-height: 0; }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Name + brokerage lockup ---------- */

.lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(2.5rem, 7vw, 5rem);
}

.lockup__name { text-align: right; }

.name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.5rem + 2.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--terracotta);
  margin: 0;
}

.title {
  margin: 0.45rem 0 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(0.72rem, 0.65rem + 0.3vw, 0.85rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}

.lockup__divider {
  width: 1px;
  align-self: stretch;
  background: var(--rose);
  opacity: 0.8;
}

.lockup__brokerage { display: flex; align-items: center; }

/* The Nest wordmark is wide (about 2.5:1). Sizing it to the height of the
   name block keeps the two at roughly equal visual weight. */
.nest-logo {
  width: clamp(120px, 10rem + 6vw, 215px);
  height: auto;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  flex: 1;
}

.hero__photo {
  margin: 0 auto;
  width: min(100%, 320px);
}

.headshot {
  width: 100%;
  object-fit: contain;
  object-position: bottom center;
  /* Softens the straight crop line along the bottom of the cutout. */
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

.hero__copy {
  text-align: center;
  max-width: var(--measure);
  margin: 0 auto;
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.22;
  color: var(--terracotta);
  margin: 0 0 1.5rem;
}

.rule {
  width: 56px;
  height: 1px;
  background: var(--rose);
  margin: 0 auto 1.75rem;
}

.bio p { margin: 0 0 1rem; }
.bio p:last-child { margin-bottom: 0; }

.contact {
  margin: 2rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-weight: 400;
  font-size: 1.02em;
  letter-spacing: 0.02em;
}

.contact__link {
  padding: 0.25rem 0.1rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact__link:hover, .contact__link:focus-visible { border-bottom-color: var(--teal); }


.button {
  display: inline-block;
  background: var(--teal);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.button:hover, .button:focus-visible {
  background: var(--teal-dark);
  color: var(--cream);
  transform: translateY(-1px);
}

.coming-soon {
  margin: 2.25rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--taupe-dark);
}

/* ---------- Footer ---------- */

.footer {
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rose);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
}
.footer p { margin: 0.25rem 0; }

/* ---------- Wider screens ---------- */

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(260px, 5fr) 7fr;
    text-align: left;
  }
  .hero__photo { width: min(100%, 400px); margin: 0; }
  .hero__copy { text-align: left; margin: 0; }
  .rule { margin-left: 0; }
  .contact { align-items: flex-start; }
}

@media (max-width: 480px) {
  .lockup { flex-direction: column; gap: 1rem; }
  .lockup__name { text-align: center; }
  .lockup__divider { width: 48px; height: 1px; align-self: center; }
  .nest-logo { width: 150px; }
  .hero__photo { width: min(100%, 270px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
