@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Knewave";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/knewave-regular.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #18221d;
  background: #f6f1e7;
  font-family: "Inter", Arial, sans-serif;
}

a {
  color: #116149;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #783f12;
}

.site-header,
.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 1.1rem 0;
}

.site-header {
  border-bottom: 1px solid rgba(24, 34, 29, 0.16);
}

.brand,
.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  color: #18221d;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #f8f4ea;
  background: #18221d;
  border-radius: 6px;
}

.site-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a,
.site-footer a {
  color: #2e3d34;
  font-size: 0.95rem;
  font-weight: 700;
}

.shop-link {
  padding: 0.55rem 0.8rem;
  background: #e9d8b8;
  border-radius: 6px;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero,
.page-hero {
  padding: clamp(4rem, 9vw, 8rem) 0 3rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #875313;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
}

main h1,
main h2 {
  font-family: "Knewave", "Inter", Arial, sans-serif;
  font-weight: 400;
}

h1 {
  max-width: 860px;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
}

.home-title {
  display: grid;
  gap: 0.35rem;
}

.home-title-brush {
  color: #ca2b54;
  font-family: "Knewave", "Inter", Arial, sans-serif;
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.home-title-subline {
  color: #18221d;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1.1;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
}

.lead {
  max-width: 720px;
  color: #33453b;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 1rem;
  color: #fff;
  background: #116149;
  border-radius: 6px;
  font-weight: 800;
}

.button:hover,
.button:focus {
  color: #fff;
  background: #783f12;
}

.button-secondary {
  color: #18221d;
  background: #e9d8b8;
}

.section {
  padding: 3rem 0;
  border-top: 1px solid rgba(24, 34, 29, 0.14);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.section p {
  color: #33453b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  min-height: 220px;
  padding: 1.25rem;
  background: #fffaf0;
  border: 1px solid rgba(24, 34, 29, 0.14);
  border-radius: 8px;
}

.card h2 {
  font-size: 1.35rem;
}

.detail-panel h3 {
  font-family: "Knewave", "Inter", Arial, sans-serif;
  font-weight: 400;
}

.legal-text {
  max-width: 760px;
}

.site-footer {
  align-items: flex-start;
  margin-top: 3rem;
  border-top: 1px solid rgba(24, 34, 29, 0.16);
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: #58645f;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .brand,
  .site-nav,
  .split,
  .card-grid {
    display: block;
  }

  .site-nav {
    margin-top: 1rem;
  }

  .site-nav a,
  .site-footer a {
    display: inline-flex;
    margin: 0.4rem 0.75rem 0.4rem 0;
  }

  .card {
    margin-bottom: 1rem;
  }
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hero-with-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 2rem;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(24, 34, 29, 0.18);
  border-radius: 8px;
}

.image-card {
  overflow: hidden;
  padding: 0;
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eee4d2;
}

.image-card h2,
.image-card p,
.image-card a {
  margin-right: 1.25rem;
  margin-left: 1.25rem;
}

.image-card h2 {
  margin-top: 1.25rem;
}

.image-card a {
  display: inline-flex;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .hero-with-image {
    display: block;
  }

  .hero-image {
    margin-top: 2rem;
    aspect-ratio: 16 / 10;
  }
}


.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: start;
}

.detail-panel {
  padding: 1.25rem;
  background: #fffaf0;
  border: 1px solid rgba(24, 34, 29, 0.14);
  border-radius: 8px;
}

.detail-panel h3 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
}

.detail-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #33453b;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .project-detail {
    display: block;
  }

  .detail-panel {
    margin-top: 1rem;
  }
}


.photo-id-wrap {
  position: relative;
  display: block;
}

.hero-photo {
  width: 100%;
}

.photo-id-wrap > img {
  display: block;
}

.brand-photo {
  flex: 0 0 auto;
}

.photo-id-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  width: 16px;
  height: 16px;
  background: #fffaf0;
  border: 2px solid #18221d;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(24, 34, 29, 0.28);
  cursor: help;
}

.photo-id-badge:hover,
.photo-id-badge:focus,
.photo-id-wrap:hover .photo-id-badge {
  background: #e9d8b8;
}

.photo-id-badge::after {
  position: absolute;
  right: -2px;
  bottom: calc(100% + 6px);
  display: none;
  min-width: max-content;
  padding: 0.25rem 0.45rem;
  color: #fffaf0;
  background: #18221d;
  border-radius: 4px;
  content: attr(data-photo-id);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.photo-id-wrap:hover .photo-id-badge::after,
.photo-id-badge:focus::after {
  display: block;
}

.brand-photo .photo-id-badge {
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-width: 1px;
}

.gallery-summary {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.gallery-summary p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  background: #fffaf0;
  border: 1px solid rgba(24, 34, 29, 0.14);
  border-radius: 8px;
}

.gallery-item a {
  display: block;
  background: #eee4d2;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-meta {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  color: #33453b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.gallery-meta strong {
  color: #18221d;
}

.gallery-meta span {
  overflow-wrap: anywhere;
}
