:root {
  --bg: #322f35;
  --fg: #f4f4f4;
  --muted: #b3b3b3;
  --acc: #ffd54a;
  --card: #322f35;
  --line: #262626;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(#322f35);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 5
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px
}

.nav a {
  color: var(--fg);
  text-decoration: none;
  margin-left: 18px;
  opacity: .9
}

.nav a:hover {
  opacity: 1
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.logo {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
}

.brand-title {
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: .5px
}

.hero {
  padding: 80px 0;
  background: linear-gradient(180deg, #121212 0%, #0f0f0f 100%)
}

.hero h1 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 10px
}

.hero p {
  max-width: 512px;
  margin: 0 0 20px;
  color: var(--muted)
}

.cta {
  display: inline-block;
  background: var(--acc);
  color: #322f35;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line)
}

.section.alt {
  background: #121212
}

h2 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 28px;
  margin: 0 0 16px
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px
}

.grid.two {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px
}

@media (max-width:900px) {
  .grid.two {
    grid-template-columns: 1fr
  }
}

.checklist {
  padding-left: 16px
}

.checklist li {
  margin: 6px 0
}

.roadmap {
  padding-left: 16px
}

.roadmap li {
  margin: 6px 0
}

.muted {
  color: var(--muted)
}

.button {
  display: inline-block;
  background: var(--acc);
  color: #1a1a1a;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-card {
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.news-card h3 {
  margin: 0;
}

.news-card a {
  text-decoration: none;
  color: inherit;
}

.news-card a:hover {
  text-decoration: underline;
}

@media (max-width:900px) {
  .news-grid {
    grid-template-columns: 1fr
  }
}

.news-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-decoration: none;
  color: var(--fg)
}

.news-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3
}

.news-item small {
  color: var(--muted)
}

.featured {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center
}

@media (max-width:700px) {
  .featured {
    grid-template-columns: 1fr
  }
}

.featured img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line)
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  text-align: center;
  color: var(--muted)
}

.etsy-placeholder {
  display: grid;
  place-items: center;
  min-height: 200px;
  text-align: center
}

/* clickable image */
.clickable-image {
  cursor: pointer;
  width: 100%;
  height: auto;
  transition: transform 0.15s ease;
}

.clickable-image:hover {
  transform: scale(1.02);
}

/* modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.show {
  display: flex;
}

.modal .modal-image {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  animation: zoomIn 0.3s ease-out;
  margin: 0 auto;
  display: block;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal .close {
  position: fixed;
  right: 1rem;
  top: 1rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  z-index: 1100;
}

.modal .close:hover {
  opacity: 0.7;
}

@media (max-width: 720px) {
  .modal {
    padding: 1rem;
  }

  .modal .close {
    font-size: 1.6rem;
    top: 0.6rem;
    right: 0.6rem;
  }

  .modal .modal-image {
    max-width: 95vw;
    max-height: 95vh;
  }
}

/* target the granddadbike image by filename in the src */
img[src*="granddadbike"] {
  width: 512px;
  height: 290px;
  object-fit: cover;
  /* use 'contain' if you prefer no cropping */
  display: block;
  margin-left: auto;
  /* keep it right-aligned in its column */
}

/* responsive: use natural/aspect-preserving sizing on small screens */
@media (max-width: 720px) {
  img[src*="granddadbike"] {
    width: 100%;
    height: auto;
    margin-left: 0;
  }
}

.featured-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.featured-info h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
}

.featured-info p {
  margin: 0 0 12px 0;
}

.featured-specs {
  margin: 16px 0;
}

.featured-specs ul {
  padding-left: 20px;
  margin: 0;
}

.featured-specs li {
  margin: 6px 0;
}

img emailicon.svg {
  width:40px;
  height:40px;
  outline:none;
}

img instagramicon.svg {
  width:40px;
  height:40px;
  outline:none;
}