/* ============================================
   Standard Kitchen & Bath - Site Concept
   Design Language: Bold Contrast #3
     (type, spacing, motion ONLY)
   Colors: Prospect's ACTUAL brand palette
     - Accent #0056a7 / #1863dc: the two blues in
       standardkitchen.com's own stylesheet (link and accent colors)
     - Dark navy backgrounds: #0056a7 deepened in-family
     - #212121 text and #f4f4f4 light grey: their exact values
     - Crimson Text serif + Open Sans: their fonts
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Backgrounds: their #0056a7 blue, deepened in-family for dark sections */
  --bg-dark:       #211e1a;
  --bg-dark-2:     #17395c;
  --bg-light:      #f4f4f4;
  --bg-white:      #ffffff;

  /* Accent: their site's exact blues */
  --accent:        #0056a7;
  --accent-hover:  #003f7d;
  --accent-muted:  rgba(0,86,167,0.10);
  --accent-light:  #1863dc;
  --accent-bright: #c69a76;

  /* Text: #212121 is their site's own text color */
  --text-dark:     #212121;
  --text-body:     #454e5b;
  --text-muted:    #7f8893;
  --text-light:    #f5f8fb;
  --text-light-muted: rgba(245,248,251,0.65);

  /* Typography: their ACTUAL fonts */
  --font-display:  'Crimson Text', Georgia, serif;
  --font-body:     'Open Sans', 'Helvetica Neue', sans-serif;

  /* Layout */
  --max-width:     1100px;
  --gutter:        clamp(1.5rem, 4vw, 3rem);
  --nav-height:    80px;
  --ease-out:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth:   cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  font-weight: 400; font-size: 16px; line-height: 1.7;
  color: var(--text-body); background: var(--bg-white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(90%, var(--max-width)); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; color: var(--text-dark); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; font-family: var(--font-body); color: var(--text-dark); }

.eyebrow {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: block;
}

.section-intro { max-width: 640px; margin-top: 1.25rem; font-size: 1.02rem; }
.section-intro--center { margin-left: auto; margin-right: auto; }

/* -- Nav -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 var(--gutter); height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav--scrolled { background: rgba(33,30,26,0.97); box-shadow: 0 2px 20px rgba(0,0,0,0.18); backdrop-filter: blur(10px); }

.nav__logo { display: flex; align-items: center; gap: 0.75rem; }
.nav__logo img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }

.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__links a { font-size: 0.85rem; font-weight: 400; letter-spacing: 0.05em; color: var(--text-light); transition: color 0.3s; }
.nav__links a:hover { color: var(--accent-bright); }

.btn-pill {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1.8rem; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.05em; transition: all 0.3s var(--ease-out);
  cursor: pointer; border: none;
}
.btn-pill--accent { background: var(--accent); color: #ffffff; }
.btn-pill--accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(33,30,26,0.25); }
.btn-pill--dark { background: var(--bg-dark); color: var(--text-light); }
.btn-pill--dark:hover { background: var(--bg-dark-2); transform: translateY(-2px); }
.btn-pill--outline { background: transparent; color: var(--text-light); border: 1px solid rgba(255,255,255,0.4); }
.btn-pill--outline:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.btn-pill__icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: transform 0.3s var(--ease-out); }
.btn-pill:hover .btn-pill__icon { transform: rotate(45deg); }

/* -- Hero -- */
.hero { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; background: var(--bg-dark); overflow: hidden; }
.hero__bg { position: absolute; inset: -6% 0; background-size: cover; background-position: center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(24,21,17,0.86) 0%, rgba(24,21,17,0.55) 55%, rgba(24,21,17,0.35) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 720px; padding: calc(var(--nav-height) + 4rem) var(--gutter) 4rem; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 1.5rem;
}

.hero h1 { color: var(--text-light); margin-bottom: 1.5rem; font-size: clamp(2.6rem, 5.5vw, 4.3rem); }
.hero h1 em { font-style: italic; color: var(--accent-bright); }
.hero__sub { font-size: 1.1rem; color: var(--text-light-muted); line-height: 1.8; margin-bottom: 2.5rem; max-width: 560px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stagger { opacity: 0; }

/* -- Sections -- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--dark { background: var(--bg-dark); color: var(--text-light); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-light); }
.section--dark p { color: var(--text-light-muted); }
.section--dark .eyebrow { color: var(--accent-bright); }
.section--alt { background: var(--bg-light); }

/* -- Timeline (signature) -- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 0.55rem; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--accent) 0%, rgba(198,154,118,0.25) 100%); }
.timeline__item { position: relative; padding-top: 2rem; }
.timeline__item::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 4px rgba(198,154,118,0.2); }
.timeline__year { font-family: var(--font-display); font-size: 2rem; color: var(--accent-bright); line-height: 1; margin-bottom: 0.6rem; }
.timeline__item h4 { color: var(--text-light); margin-bottom: 0.5rem; }
.timeline__item p { font-size: 0.92rem; }
.timeline__memorial { margin-top: 3rem; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--accent-bright); border-top: 1px solid rgba(245,242,237,0.12); padding-top: 1.5rem; max-width: 560px; }

/* -- Feature grid -- */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.feature-card {
  padding: 2rem; background: var(--bg-white); border-radius: 4px;
  border: 1px solid rgba(33,30,26,0.08); transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(33,30,26,0.08); }
.feature-card__icon { color: var(--accent); margin-bottom: 1rem; }
.feature-card h4 { margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9rem; line-height: 1.7; }

/* -- Cabinet lines band -- */
.brands { background: var(--bg-light); padding: clamp(2.5rem, 5vw, 4rem) 0; text-align: center; border-top: 1px solid rgba(33,30,26,0.06); border-bottom: 1px solid rgba(33,30,26,0.06); }
.brands .eyebrow { margin-bottom: 1.5rem; }
.brands__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 3rem; }
.brands__list li { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--text-dark); position: relative; }
.brands__list li + li::before { content: ""; position: absolute; left: -1.65rem; top: 50%; width: 5px; height: 5px; transform: translateY(-50%) rotate(45deg); background: var(--accent); }
.brands__note { margin-top: 1.25rem; font-size: 0.95rem; color: var(--text-muted); font-style: italic; font-family: var(--font-display); }

/* -- Gallery strip -- */
.gallery-strip { display: flex; gap: 1rem; overflow-x: auto; padding: 2rem 0; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip__item { flex: 0 0 420px; height: 320px; overflow: hidden; scroll-snap-align: start; border-radius: 3px; }
.gallery-strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-smooth); }
.gallery-strip__item:hover img { transform: scale(1.05); }

/* -- Process -- */
.process__grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.75rem; margin-top: 3rem; }
.process__step { text-align: center; padding: 1.5rem 1rem; }
.process__number { font-family: var(--font-display); font-size: 2.6rem; font-weight: 400; color: var(--accent); line-height: 1; margin-bottom: 1rem; opacity: 0.55; }
.process__step h4 { margin-bottom: 0.75rem; font-size: 1rem; }
.process__step p { font-size: 0.88rem; }

/* -- Testimonials -- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.quote { border-left: 2px solid var(--accent-bright); padding-left: 1.5rem; }
.quote p { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.6; color: var(--text-light); }
.quote cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); }

/* -- CTA / Showroom -- */
.cta { text-align: center; background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%); }
.cta h2 { margin-bottom: 1rem; }
.cta p { margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; color: var(--text-light-muted); }
.cta__address { font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--accent-bright); margin-bottom: 2rem; }
.cta__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* -- Footer -- */
.footer { background: #191612; padding: 3rem 0 2rem; color: var(--text-light-muted); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer__logo img { height: 36px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 1rem; }
.footer__about { font-size: 0.9rem; line-height: 1.8; }
.footer h4 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer__links a { display: inline-block; transition: color 0.3s; }
.footer__links a:hover { color: var(--accent-bright); }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.8rem; }

/* -- Mobile -- */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 200; background: none; border: none; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-light); transition: all 0.3s var(--ease-out); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu { position: fixed; inset: 0; z-index: 150; background: rgba(33,30,26,0.98); backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-out); }
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.8rem; color: var(--text-light); transition: color 0.3s; padding: 0.25rem 1rem; }
.mobile-menu a:hover { color: var(--accent-bright); }

.reveal { opacity: 0; transform: translateY(30px); }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .timeline::before { display: none; }
  .process__grid { grid-template-columns: repeat(2,1fr); }
  .quotes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav__links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .hero { height: auto; min-height: 100svh; padding-top: 6rem; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .process__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn-pill { width: 100%; justify-content: center; }
  .cta__actions { flex-direction: column; align-items: center; }
  .footer__bar { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer__links a { padding-block: 0.65rem; }
  .gallery-strip__item { flex: 0 0 300px; height: 230px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-stagger { opacity: 1; transform: none; }
}
