/* ANC/NOKO LLC — first-draft site styles */

:root {
  --navy: #163042;
  --navy-deep: #0e2230;
  --ink: #1c2328;
  --muted: #5c6770;
  --line: #e2dbd0;
  --cream: #f4f0e8;
  --paper: #fcfaf6;
  --white: #ffffff;
  --accent: #c45c26;
  --accent-hover: #a84c1e;
  --sage: #2f6b56;
  --sage-soft: #e7f1ec;
  --coming: #7a4e12;
  --coming-soft: #f7ead6;
  --shadow: 0 10px 30px rgba(14, 34, 48, 0.08);
  --radius: 16px;
  --header-h: 4.5rem;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: var(--sage); }
a:hover { color: var(--navy); }
strong { font-weight: 650; }

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  z-index: 100;
  border-radius: 6px;
}
.skip-link:focus { top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 250, 246, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

.logo-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: auto;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.45rem;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-radius: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
}
.logo-text span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: none;
  margin-left: auto;
  gap: 1.35rem;
}
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--accent); }

.header-phone {
  display: none;
  margin-left: 0.5rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.header-phone:hover {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.nav-toggle {
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--navy);
}

@media (max-width: 819px) {
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }
}

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
  .header-phone { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 650;
  font-size: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--paper);
}
.btn-card {
  width: 100%;
  background: var(--navy);
  color: var(--cream);
  border-radius: 10px;
  padding: 0.7rem 1rem;
}
.btn-card:hover {
  background: var(--accent);
  color: #fff;
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(196, 92, 38, 0.08), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 3.2rem 0 3.6rem;
}
.hero-inner { max-width: 46rem; margin-left: auto; margin-right: auto; }
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
  margin: 0 0 0.85rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.4rem;
}
.hero-subhead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--accent);
  margin: 0 0 1.15rem;
}
.lede {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 40rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}
.hero-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-strip {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 2.25rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.trust-strip li {
  margin: 0;
  color: var(--navy);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1.35;
}
.trust-strip a {
  color: var(--navy);
  text-decoration: none;
}
.trust-strip a:hover { color: var(--accent); }

/* Sections */
.section-head { margin-bottom: 1.75rem; }
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--muted); max-width: 40rem; }

.rentals { padding: 3.5rem 0 4rem; }

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
  margin-bottom: 0.75rem;
}
.filter {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 9rem;
  flex: 1 1 8.5rem;
}
.filter span {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.filter select {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23163042' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 2.2rem 0.65rem 0.85rem;
  font: inherit;
  color: var(--ink);
  width: 100%;
}
.filter select:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
.filter-clear {
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 0.65rem 0.25rem;
}
.filter-clear:hover { text-decoration: underline; }
.filter-status {
  min-height: 1.4em;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Grid / cards */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #d9d3c8;
  overflow: hidden;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.card-photo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, #d7e1e6, #c9c2b4);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem;
}
.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--coming-soft);
  color: var(--coming);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.badge-office {
  background: var(--sage-soft);
  color: var(--sage);
}
.card-body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}
.card-address {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.card-unit {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  color: var(--ink);
  font-size: 0.95rem;
  margin: 0.35rem 0 0.15rem;
}
.card-desc {
  margin: 0.25rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.card-price {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.card-price span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.card-avail {
  color: var(--sage);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: right;
}

.empty-state {
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--muted);
}

/* About / apply / contact */
.about {
  background: var(--navy-deep);
  color: #e8ecee;
  padding: 3.75rem 0;
}
.about .section-head h2,
.contact .section-head h2 { color: inherit; }
.about .section-head p,
.about .eyebrow { color: #d7b39a; }
.about-copy {
  max-width: 42rem;
}
.about-copy p { margin: 0 0 1rem; color: #d5dce0; }
.about-copy a { color: #f0d2bc; }
.about-copy a:hover { color: #fff; }

.apply { padding: 3.75rem 0; }
.steps {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  counter-increment: step;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-serif);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.steps strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
}
.steps span { color: var(--muted); }

.qualifications {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
}
.qualifications h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}
.qualifications p { margin: 0 0 0.8rem; color: var(--ink); }
.qualifications ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink);
}
.qualifications li { margin: 0.25rem 0; }

.contact {
  background: var(--cream);
  padding: 3.75rem 0;
  border-top: 1px solid var(--line);
}
.contact-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
a.contact-card:hover { border-color: var(--accent); }
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.contact-value {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-hint { color: var(--muted); font-size: 0.92rem; }

.site-footer {
  background: var(--navy-deep);
  color: #c5ced3;
  padding: 2.25rem 0 2.5rem;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  gap: 1rem;
}
.footer-inner strong {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.footer-inner p { margin: 0.35rem 0 0; }
.site-footer a { color: #f0d2bc; }
.copyright { opacity: 0.8; }
