/* Sierra Connect Media -- ported from the approved static build.
   Tokens match the active Novamira design system exactly; do not
   hand-edit a value here without updating DESIGN.md to match. */

:root{
  --bg:#000000;
  --text:#EDEFF2;
  --muted:#9A9EA5;
  --nav-rest:#8C9198;
  --hover:#FFFFFF;
  --accent:#567FC0;
  --accent-nav:#8FB0DC;
  --focus:#40B754;
  --divider:rgba(237,239,242,0.12);
  --rail:330px;
  --pad:44px;
  --fade:250ms;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-weight:400;
  font-size:14px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow:hidden;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}

.wordmark,.nav,.counter,.caption,.prose h1,.prose .label,.field label,.submit{
  font-family:'Jost','Futura','Century Gothic','Inter',sans-serif;
}

.layout{display:grid;grid-template-columns:var(--rail) 1fr;height:100vh;height:100dvh}

.rail{
  padding:var(--pad) 32px;
  overflow-y:auto;
  scrollbar-width:none;
  border-right:1px solid var(--divider);
}

.rail::-webkit-scrollbar{
  display:none;
}

.railtop{display:none}

.wordmark{
  font-size:23px;
  font-weight:500;
  letter-spacing:0.13em;
  text-transform:uppercase;
  line-height:1.4;
  color:var(--text);
  display:block;
  margin-bottom:52px;
}
.wordmark .wm1{display:block;white-space:nowrap}
.wordmark .wm2{display:block;color:var(--muted);font-weight:300}

.nav{display:block}
.nav a,.nav button{
  display:block;width:100%;text-align:left;font:inherit;
  font-family:'Jost','Futura','Century Gothic','Inter',sans-serif;
  font-size:13px;font-weight:400;letter-spacing:0.13em;text-transform:uppercase;
  line-height:31px;color:var(--nav-rest);background:none;border:0;cursor:pointer;
  transition:color 150ms ease;
}
.nav a:hover,.nav button:hover{color:var(--hover)}
.nav a.is-active{color:var(--accent-nav);font-weight:500}
.nav-group{margin-bottom:34px}
.subtier{overflow:hidden;max-height:0;transition:max-height 240ms ease}
.subtier.is-open{max-height:280px}
.subtier a{padding-left:14px;font-size:12px;line-height:29px}

/* ---------- stage: the photograph is the page ---------- */
.stage{position:relative;padding:0;min-width:0;height:100vh;height:100dvh;overflow:hidden}
.viewer{position:absolute;inset:0;cursor:none}

/* Homepage: no click navigation, so keep the cursor visible */
.scm-landing .viewer{cursor:default}

/* Gallery: directional cursors set by JS based on mouse position */
.viewer.cursor-prev{cursor:w-resize}
.viewer.cursor-next{cursor:e-resize}
.viewer img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;opacity:1;transition:opacity var(--fade) ease}
.viewer.is-swapping img{opacity:0}
.stage--contain .viewer{padding:var(--pad) var(--pad) 90px}
.stage--contain .viewer img{object-fit:contain}

.meta{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  display:flex;align-items:flex-end;justify-content:space-between;gap:32px;
  padding:130px var(--pad) 30px;pointer-events:none;
  background:linear-gradient(to top,
    rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.80) 26%,
    rgba(0,0,0,0.45) 58%, rgba(0,0,0,0) 100%);
}
.meta a{pointer-events:auto}
.meta .note{color:rgba(237,239,242,0.88)}

.caption{font-size:14px;line-height:1.5;color:var(--text);letter-spacing:0.09em;text-transform:uppercase;font-weight:500;max-width:62ch}
.caption strong{font-weight:500;color:var(--text)}
.meta-text{min-width:0}

.note{font-size:13px;line-height:1.65;color:var(--muted);letter-spacing:0.01em;max-width:58ch;margin-top:9px}

.counter{font-size:12px;color:var(--muted);letter-spacing:0.13em;text-transform:uppercase;white-space:nowrap;display:flex;gap:22px;align-items:center}
.counter a{transition:color 150ms ease}
.counter a:hover{color:var(--hover)}
.counter .is-off{visibility:hidden}

.progress{position:absolute;left:0;right:0;bottom:0;z-index:3;height:2px;background:rgba(237,239,242,0.14)}
.progress-fill{position:absolute;left:0;top:0;height:2px;background:var(--accent);transition:width 250ms ease}

/* ---------- text routes ---------- */
.stage--text{padding:var(--pad);overflow-y:auto;height:100vh;height:100dvh;scrollbar-width:none}
.stage--text::-webkit-scrollbar{display:none}

.prose{max-width:66ch;padding-bottom:70px}
.prose h1{font-size:22px;font-weight:500;letter-spacing:0.13em;text-transform:uppercase;margin-bottom:42px;color:var(--text)}
.prose p{font-size:17px;line-height:1.75;color:var(--muted);margin-bottom:24px}
.prose p strong{color:var(--text);font-weight:500}
.prose a{color:var(--text);border-bottom:1px solid var(--divider);transition:border-color 150ms ease}
.prose a:hover{border-color:var(--accent-nav)}
.prose .lede{color:var(--text);font-size:19px;line-height:1.65}
.prose .quote{color:var(--text);font-size:19px;line-height:1.65;margin:38px 0;padding-left:24px;border-left:2px solid var(--accent)}
.prose .attrib{display:block;margin-top:14px;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:var(--muted)}
.prose .label{font-size:12px;letter-spacing:0.16em;text-transform:uppercase;color:var(--accent-nav);margin:46px 0 16px}

/* ---------- form ---------- */
.form{margin-top:34px;max-width:64ch}
.field{margin-bottom:22px}
.field label{display:block;font-size:10px;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.field input,.field textarea{width:100%;background:transparent;border:0;border-bottom:1px solid var(--divider);border-radius:0;padding:8px 0;color:var(--text);font:inherit;font-size:15px;transition:border-color 150ms ease}
.field input:focus,.field textarea:focus{outline:none;border-bottom-color:var(--accent)}
.submit{background:none;border:0;padding:0;font:inherit;font-size:12px;letter-spacing:0.12em;color:var(--text);cursor:pointer;border-bottom:1px solid var(--accent);padding-bottom:3px;transition:color 150ms ease}
.submit:hover{color:var(--hover)}

/* ---------- mobile ---------- */
@media (max-width:900px){
  :root{--pad:22px}
  body{overflow:auto}
  .layout{grid-template-columns:1fr;height:auto}
  .railtop{display:flex;align-items:center;justify-content:space-between;padding:16px var(--pad);border-bottom:1px solid var(--divider);position:sticky;top:0;z-index:20;background:var(--bg)}
  .railtop .wordmark{margin:0;font-size:15px}
  .menu-btn{background:none;border:0;color:var(--muted);font-family:'Jost','Inter',sans-serif;font-size:12px;letter-spacing:0.14em;text-transform:uppercase;cursor:pointer}
  .rail{padding:18px var(--pad) 26px;border-bottom:1px solid var(--divider);display:none}
  .rail.is-open{display:block}
  .rail>.wordmark{display:none}
  .nav a,.nav button{font-size:14px;line-height:36px}
  .stage{height:auto;min-height:0}
  .viewer{position:relative;inset:auto;cursor:pointer}
  .viewer img{height:auto;max-height:70vh;object-fit:cover}
  .meta{position:relative;padding:16px var(--pad) 26px;background:none;flex-direction:column;align-items:flex-start;gap:12px}
  .progress{position:relative}
  .stage--text{overflow:visible;height:auto;padding:26px var(--pad) 50px}
  .prose h1{font-size:19px;margin-bottom:30px}
}

/* ---------------------------------------------------------
   Realtor Resources
   --------------------------------------------------------- */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px 42px;
  margin-top: 42px;
  padding-bottom: 60px;
  max-width: 1000px;
}

.resource-card {
  margin: 0;
}

.resource-image {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
}

.resource-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity 200ms ease;
}

.resource-image:hover img {
  opacity: 0.82;
}

.resource-title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.resource-title a {
  color: var(--text);
  text-decoration: none;
}

.resource-title a:hover {
  color: var(--accent-nav);
}

.resource-read-more {
  display: inline-block;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-nav);
  padding-bottom: 4px;
}

.resource-read-more:hover {
  color: var(--accent-nav);
}


/* Mobile */
@media (max-width: 700px) {

  .resource-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-top: 36px;
  }

  .resource-title {
    font-size: 20px;
  }
}
/* ---------------------------------------------------------
   Article Tables
   --------------------------------------------------------- */

.prose .scm-article-table {
  width: 100%;
  margin: 32px 0 48px;
  overflow-x: auto;
}

.prose .scm-article-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(237, 239, 242, 0.35);
  font-size: 15px;
  line-height: 1.45;
}

.prose .scm-article-table th,
.prose .scm-article-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(237, 239, 242, 0.35);
}

.prose .scm-article-table th {
  color: #EDEFF2;
  font-weight: 600;
}

.prose .scm-article-table td {
  color: #EDEFF2;
  font-weight: 400;
}

@media (max-width: 700px) {
  .prose .scm-article-table table {
    min-width: 650px;
  }
}
/* Article heading colors */
.scm-article .article-content h2,
.scm-article .article-content h3,
.scm-article .article-content h4 {
  color: var(--text);
}
.scm-article .article-content ul,
.scm-article .article-content ol {
  margin: 18px 0 24px;
  padding-left: 22px;
}

.scm-article .article-content li {
  margin-bottom: 7px;
  line-height: 1.55;
}
/* ---------------------------------------------------------
   Article typography consistency
   --------------------------------------------------------- */

.scm-article .article-content,
.scm-article .article-content p,
.scm-article .article-content li,
.scm-article .article-content ul,
.scm-article .article-content ol,
.scm-article .article-content h1,
.scm-article .article-content h2,
.scm-article .article-content h3,
.scm-article .article-content h4,
.scm-article .article-content h5,
.scm-article .article-content h6,
.scm-article .article-content strong,
.scm-article .article-content em,
.scm-article .article-content span,
.scm-article .article-content div,
.scm-article .article-content table,
.scm-article .article-content th,
.scm-article .article-content td {
  color: #EDEFF2 !important;
  font-family: inherit !important;
}

/* Paragraphs */
.scm-article .article-content p {
  line-height: 1.7;
}

/* Article headings */
.scm-article .article-content h2,
.scm-article .article-content h3,
.scm-article .article-content h4 {
  color: #EDEFF2 !important;
  font-family: inherit !important;
}

/* Lists */
.scm-article .article-content li {
  color: #EDEFF2 !important;
  font-family: inherit !important;
  line-height: 1.6;
}

/* Table */
.scm-article .article-content .scm-article-table th,
.scm-article .article-content .scm-article-table td {
  color: #EDEFF2 !important;
  font-family: inherit !important;
}
/* Article list bullets and numbers */
.scm-article .article-content ul {
  list-style-type: disc !important;
  list-style-position: outside !important;
  padding-left: 24px !important;
}

.scm-article .article-content ol {
  list-style-type: decimal !important;
  list-style-position: outside !important;
  padding-left: 24px !important;
}

.scm-article .article-content li {
  display: list-item !important;
  padding-left: 4px;
  margin-bottom: 7px;
}
/* ---------------------------------------------------------
   Article FAQ Accordion
   --------------------------------------------------------- */

.scm-article .scm-faq {
  width: 100%;
  margin: 28px 0 48px;
  border-top: 1px solid var(--divider);
}

.scm-article .scm-faq-item {
  border-bottom: 1px solid var(--divider);
}

.scm-article .scm-faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 45px 20px 0;
  color: #EDEFF2 !important;
  font-family: inherit !important;
  font-weight: 600;
  line-height: 1.5;
}

/* Hide browser's default arrow */
.scm-article .scm-faq-item summary::-webkit-details-marker {
  display: none;
}

.scm-article .scm-faq-item summary::marker {
  display: none;
  content: "";
}

/* Custom + icon */
.scm-article .scm-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-nav);
  font-size: 22px;
  font-weight: 400;
}

/* Change + to − when open */
.scm-article .scm-faq-item[open] summary::after {
  content: "−";
}

.scm-article .scm-faq-answer {
  padding: 0 45px 20px 0;
}

.scm-article .scm-faq-answer p {
  margin: 0;
  color: #EDEFF2 !important;
  font-family: inherit !important;
  line-height: 1.7;
}
/* ---------------------------------------------------------
   Article Checklists
   --------------------------------------------------------- */

.scm-article .article-content ul.scm-checklist {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 20px 0 32px;
}

.scm-article .article-content ul.scm-checklist li {
  position: relative;
  list-style: none !important;
  padding-left: 32px;
  margin-bottom: 12px;
  color: #EDEFF2 !important;
  font-family: inherit !important;
  line-height: 1.55;
}

.scm-article .article-content ul.scm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 15px;
  height: 15px;
  border: 1.5px solid #EDEFF2;
  box-sizing: border-box;
}

/* About page refinements */

.prose .scm-about-photo {
  margin: 0 0 40px;
}

.prose .scm-about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.prose .scm-about-reviews {
  margin-top: 55px;
  margin-bottom: 40px;
}

.prose .scm-about-reviews .grwidget-embed {
  width: 100%;
}
/* Increase desktop navigation logo size */
@media (min-width: 901px) {
    .rail .wordmark--mark img {
        width: 200px !important;
        height: auto !important;
    }
}