/* Nick Remodeling LLC — premium craftsmanship palette */
:root {
  --charcoal: #1c1a17;
  --charcoal-soft: #2a2723;
  --cream: #f6f1e8;
  --cream-dark: #ebe4d6;
  --stone: #8a8175;
  --copper: #b8734a;
  --copper-deep: #9a5c38;
  --copper-glow: #d4a078;
  --ink: #1c1a17;
  --muted: #5c564c;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(28, 26, 23, 0.12);
  --header-h: 72px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1120px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--copper-deep); }
a:hover { color: var(--copper); }

:focus-visible {
  outline: 3px solid var(--copper-glow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--charcoal);
  margin-right: auto;
}

.wordmark-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--copper) 0%, var(--copper-deep) 55%, var(--charcoal) 100%);
  box-shadow: inset 0 0 0 2px rgba(246, 241, 232, 0.25);
}

.wordmark-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.wordmark-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--stone);
  font-size: 0.85em;
}

.nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}
.nav-list a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 560;
  font-size: 0.95rem;
}
.nav-list a:hover { color: var(--charcoal); }

.header-cta { display: none; white-space: nowrap; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(28, 26, 23, 0.12);
  border-radius: 10px;
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
}

.mobile-nav {
  border-top: 1px solid rgba(28, 26, 23, 0.08);
  background: var(--cream);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
}

@media (min-width: 860px) {
  .nav-list { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.95rem 1.45rem; font-size: 1.02rem; }

.btn-copper {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}
.btn-copper:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 232, 0.45);
}
.btn-ghost:hover {
  background: rgba(246, 241, 232, 0.12);
  color: var(--cream);
  border-color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(28, 26, 23, 0.2);
}
.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper-deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 26, 23, 0.35) 0%, rgba(28, 26, 23, 0.72) 55%, rgba(28, 26, 23, 0.9) 100%),
    linear-gradient(90deg, rgba(28, 26, 23, 0.55) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
  max-width: 40rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: 1rem;
  width: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--copper-glow);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.12rem;
  color: rgba(246, 241, 232, 0.88);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section { padding: 4.5rem 0; }

.section-header {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}
.section-header .eyebrow { color: var(--copper); }
.section-header h2,
.about-copy h2,
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--charcoal);
}
.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Services */
.services { background: var(--cream); }
.services-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(28, 26, 23, 0.06);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 8px 24px rgba(28, 26, 23, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--cream-dark);
  color: var(--copper-deep);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}
.service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 700;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* About */
.about { background: var(--cream-dark); }
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
}
.about-copy .eyebrow { color: var(--copper); }
.about-copy p { color: var(--muted); }
.about-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.about-points li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
  color: var(--charcoal-soft);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--copper);
}
.about-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-grid figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--charcoal);
  position: relative;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(28, 26, 23, 0.75));
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Process */
.process { background: var(--charcoal); color: var(--cream); }
.process .section-header .eyebrow { color: var(--copper-glow); }
.process .section-header h2 { color: var(--cream); }
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}
@media (min-width: 700px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.process-steps li {
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(246, 241, 232, 0.15);
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--copper-glow);
  margin-bottom: 0.5rem;
}
.process-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}
.process-steps p {
  margin: 0;
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.98rem;
}

/* Contact */
.contact { background: var(--cream); }
.contact-panel {
  background:
    linear-gradient(135deg, rgba(184, 115, 74, 0.08), transparent 40%),
    var(--white);
  border: 1px solid rgba(28, 26, 23, 0.08);
  border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.contact-copy .eyebrow { color: var(--copper); }
.contact-copy > p { color: var(--muted); max-width: 36rem; }

.contact-details {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0 1.5rem;
}
.contact-line {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid rgba(28, 26, 23, 0.06);
  transition: border-color 0.2s;
}
.contact-line:hover { border-color: var(--copper); }
.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--stone);
}
.contact-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(246, 241, 232, 0.75);
  padding: 2.5rem 0 2rem;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
}
.footer-brand strong {
  display: block;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.footer-brand p { margin: 0; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-contact a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 560;
}
.footer-contact a:hover { color: var(--copper-glow); }
.footer-copy {
  margin: 0.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 241, 232, 0.12);
  font-size: 0.88rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
  .footer-copy { grid-column: 1 / -1; }
}
