/* ============================================
   OUR RENTALS — brand system
   Color: linen paper, deep tide green, clay accent
   Type: Fraunces (display) + Work Sans (body)
   Signature: the "key tag" card
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --linen:   #F6F1E7;
  --linen-2: #EFE8D9;
  --ink:     #20271F;
  --tide:    #3C5E54;
  --tide-d:  #2A4239;
  --clay:    #B4633F;
  --clay-d:  #984F30;
  --fog:     #DCE2D6;
  --brass:   #A9863C;
  --white:   #FFFCF6;

  --serif: 'Fraunces', serif;
  --sans:  'Work Sans', sans-serif;

  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--linen);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(32,39,31,.055) 1px, transparent 0);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ── HEADER ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.1rem 0 1.2rem;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: .5rem;
}

.wordmark .dot { color: var(--clay); }

.site-tagline {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tide);
  padding: .4rem .85rem;
  border: 1px solid var(--fog);
  border-radius: 100px;
  background: var(--white);
}
@media (max-width: 560px) { .site-tagline { display: none; } }

.back-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--tide);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .2s;
}
.back-link:hover { color: var(--clay); gap: .6rem; }

/* ── HERO ── */
.hero {
  padding: 1.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 3rem; }
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-d);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero-eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--clay-d);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  max-width: 13ch;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--tide);
}

.hero p.lede {
  margin-top: 1.4rem;
  font-size: 1.1rem;
  color: #4B5642;
  max-width: 42ch;
  line-height: 1.7;
}

.hero-meta-row {
  display: flex;
  gap: 1.8rem;
  margin-top: 2.1rem;
  flex-wrap: wrap;
}
.hero-meta-row div {
  display: flex;
  flex-direction: column;
}
.hero-meta-row strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-meta-row span {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8A8475;
  margin-top: .15rem;
}

.hero-ctas {
  display: flex;
  gap: .8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .92rem;
  padding: .8rem 1.3rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 10px 22px -10px rgba(180,99,63,.6);
}
.btn-primary:hover { background: var(--clay-d); transform: translateY(-1px); }
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--fog);
}
.btn-ghost:hover { border-color: var(--tide); color: var(--tide-d); }

/* feature strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 2.2rem 0 1rem;
  border-top: 1px solid var(--fog);
  margin-top: 1rem;
}
@media (max-width: 760px) {
  .feature-strip { grid-template-columns: 1fr 1fr; }
}
.fstrip-item {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.fstrip-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--white);
  border: 1px solid var(--fog);
  display: grid;
  place-items: center;
}
.fstrip-icon svg { width: 21px; height: 21px; stroke: var(--tide); }
.fstrip-item h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.fstrip-item p {
  font-size: .85rem;
  color: #6F7A65;
  line-height: 1.5;
}

/* hero visual: stacked photo card with tag motif */
.hero-visual {
  position: relative;
}
.hero-visual .frame {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/4.6;
  box-shadow: 0 30px 60px -30px rgba(32,39,31,.4);
  border: 6px solid var(--white);
  transform: rotate(1.2deg);
}
.hero-visual .frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-visual .chip {
  position: absolute;
  bottom: -1.1rem;
  left: -1.1rem;
  background: var(--ink);
  color: var(--white);
  padding: .9rem 1.2rem;
  border-radius: 12px;
  transform: rotate(-2deg);
  box-shadow: 0 16px 30px -14px rgba(32,39,31,.55);
}
.hero-visual .chip .chip-eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C9CCC0;
}
.hero-visual .chip .chip-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: .15rem;
}
@media (max-width: 860px) {
  .hero-visual { max-width: 360px; margin: 0 auto; }
}

/* ── PROPERTY GRID ── */
.grid-section { padding: 1.5rem 0 5rem; }

.grid-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tide);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.grid-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--fog);
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.8rem;
}
@media (max-width: 700px) {
  .property-grid { grid-template-columns: 1fr; }
}

/* — KEY TAG CARD — signature element — */
.tag-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.4rem;
  border: 1px solid var(--fog);
  box-shadow: 0 1px 2px rgba(32,39,31,.04);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}

a.tag-card:hover {
  transform: translateY(-5px) rotate(-.4deg);
  box-shadow: 0 22px 36px -20px rgba(32,39,31,.32);
  border-color: var(--clay);
}

.tag-card.locked { opacity: .72; }
.tag-card.locked:hover { transform: none; box-shadow: 0 1px 2px rgba(32,39,31,.04); }

.tag-punch {
  position: absolute;
  top: -11px;
  left: 30px;
  width: 22px;
  height: 22px;
  background: var(--linen);
  border: 2px solid var(--fog);
  border-radius: 50%;
  z-index: 2;
}
.tag-punch::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  background: var(--linen);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--white);
}
.tag-card::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 41px;
  width: 1px;
  height: 13px;
  border-left: 1.5px dashed var(--fog);
}

.tag-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 1rem;
  background:
    repeating-linear-gradient(135deg, var(--linen-2) 0, var(--linen-2) 2px, var(--fog) 2px, var(--fog) 3px);
  position: relative;
}
.tag-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
a.tag-card:hover .tag-photo img { transform: scale(1.045); }

.tag-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tag-photo.placeholder svg { width: 46px; height: 46px; opacity: .35; }

.tag-serial {
  position: absolute;
  top: .65rem;
  left: .65rem;
  background: rgba(32,39,31,.8);
  backdrop-filter: blur(3px);
  color: var(--white);
  font-family: var(--serif);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .24rem .58rem;
  border-radius: 100px;
}

.tag-status {
  position: absolute;
  top: .65rem;
  right: .65rem;
  background: var(--tide);
  color: var(--white);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .27rem .58rem;
  border-radius: 100px;
}
.tag-status.soon { background: rgba(32,39,31,.55); }

.tag-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  margin-bottom: .3rem;
  color: var(--ink);
  letter-spacing: -.005em;
}

.tag-meta {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .84rem;
  color: var(--tide-d);
  font-weight: 600;
  margin-bottom: .7rem;
}
.tag-meta .m {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.tag-meta svg { width: 15px; height: 15px; stroke: var(--tide); flex-shrink: 0; }

.tag-divider {
  border-top: 1px dashed var(--fog);
  margin: .65rem 0;
}

.tag-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.tag-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--clay-d);
  line-height: 1.3;
}
.tag-price small {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .72rem;
  color: #8A8475;
}

.tag-view-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--linen-2);
  color: var(--tide-d);
  font-weight: 700;
  font-size: .82rem;
  padding: .55rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .25s, color .25s, transform .25s;
}
.tag-view-btn svg { width: 14px; height: 14px; transition: transform .25s; }
a.tag-card:hover .tag-view-btn { background: var(--clay); color: var(--white); }
a.tag-card:hover .tag-view-btn svg { transform: translateX(3px); }

.tag-locked-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  border: 1.5px solid var(--fog);
  color: #8A8475;
  font-weight: 700;
  font-size: .82rem;
  padding: .5rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.tag-locked-btn svg { width: 13px; height: 13px; }

/* ── FOOTER ── */
.site-footer {
  padding: 2.8rem 0 3.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--fog);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer .fmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
}
.site-footer .fmark .dot { color: var(--clay); }
.site-footer .fmeta {
  font-size: .82rem;
  font-weight: 500;
  color: #8A8475;
}

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */

.detail-header {
  padding: 1.4rem 0;
}

/* gallery */
.gallery {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px -32px rgba(32,39,31,.45);
}

.gallery-main {
  position: relative;
  aspect-ratio: 16/9.5;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.gallery-slide { flex: 0 0 100%; height: 100%; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}
.gal-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(246,241,231,.9);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.gal-btn:hover { background: var(--white); transform: scale(1.06); }

.gallery-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(32,39,31,.72);
  backdrop-filter: blur(3px);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .32rem .7rem;
  border-radius: 100px;
}

.gallery-thumbs {
  display: flex;
  gap: .5rem;
  padding: .85rem;
  overflow-x: auto;
  background: var(--ink);
  scrollbar-width: thin;
}
.gallery-thumbs img {
  width: 68px; height: 50px;
  object-fit: cover;
  border-radius: 7px;
  opacity: .5;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.gallery-thumbs img:hover { opacity: .85; }
.gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--clay);
  transform: translateY(-2px);
}

/* detail body */
.detail-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3.5rem;
  padding: 3rem 0 5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .detail-body { grid-template-columns: 1fr; gap: 2rem; }
}

.detail-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tide);
  margin-bottom: .7rem;
}

.detail-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -.015em;
  margin-bottom: 1.1rem;
  color: var(--ink);
  line-height: 1.12;
}

.detail-badges {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.badge {
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .8rem;
  border-radius: 100px;
  background: var(--linen-2);
  color: var(--tide-d);
  border: 1px solid var(--fog);
}
.badge.avail {
  background: #EBF2EC;
  color: #2E6B49;
  border-color: #CFE3D3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.badge.avail .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2E6B49;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* icon spec bar */
.spec-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  margin-bottom: 2rem;
}
@media (max-width: 560px) { .spec-bar { grid-template-columns: 1fr 1fr; } }
.spec-item {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 13px;
  padding: .9rem .6rem;
  text-align: center;
}
.spec-item svg { width: 21px; height: 21px; stroke: var(--tide); margin-bottom: .45rem; }
.spec-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.spec-item span {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #8A8475;
  margin-top: .1rem;
}

.detail-section { margin-bottom: 2.4rem; }
.detail-section h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .8rem;
  color: var(--ink);
  letter-spacing: -.005em;
}
.detail-section p {
  color: #4B5642;
  font-size: 1rem;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .92rem;
  color: var(--ink);
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 11px;
  padding: .7rem .8rem;
}
.feature-item .ic {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--linen-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-item svg { width: 16px; height: 16px; stroke: var(--tide-d); }

/* sidebar inquiry card */
.inquiry-card {
  position: sticky;
  top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 16px;
  padding: 1.7rem;
  box-shadow: 0 20px 40px -28px rgba(32,39,31,.3);
}

.inquiry-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--clay-d);
  margin-bottom: .25rem;
  letter-spacing: -.01em;
}
.inquiry-sub {
  font-size: .83rem;
  color: #8A8475;
  margin-bottom: 1.3rem;
}

.inquiry-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: .65rem 0;
  border-top: 1px dashed var(--fog);
}
.inquiry-row span:first-child { color: #8A8475; font-weight: 500; }
.inquiry-row span:last-child { font-weight: 600; color: var(--ink); text-align: right; }

.btn-clay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  margin-top: 1.4rem;
  background: var(--clay);
  color: var(--white);
  font-weight: 700;
  font-size: .94rem;
  letter-spacing: .01em;
  padding: .95rem 1rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background .2s, transform .2s;
  box-shadow: 0 10px 22px -10px rgba(180,99,63,.6);
}
.btn-clay svg { width: 16px; height: 16px; }
.btn-clay:hover { background: var(--clay-d); transform: translateY(-1px); }

.btn-row {
  display: flex;
  gap: .6rem;
  margin-top: .7rem;
}
.btn-outline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: .85rem;
  padding: .75rem .5rem;
  border-radius: 100px;
  border: 1.5px solid var(--fog);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-outline svg { width: 15px; height: 15px; }
.btn-outline:hover { border-color: var(--tide); color: var(--tide-d); }

@media (prefers-reduced-motion: reduce) {
  .gallery-track, .tag-card { transition: none; }
}
