:root {
--paper: #f7f6f2;
--ink: #171717;
--muted: #737373;
--line: #d8d5cd;
--accent: #d62222;
--max: 1200px;
}

/* Reset */

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

html {
scroll-behavior: smooth;
}

body {
background: var(--paper);
color: var(--ink);
font-family: Inter, sans-serif;
line-height: 1.6;
}

a {
color: inherit;
text-decoration: none;
}

img {
width: 100%;
display: block;
object-fit: cover;
}

/* =========================
HEADER
========================= */

.site-header {
position: sticky;
top: 0;
z-index: 100;
background: rgba(247, 246, 242, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--line);
}

.nav {
max-width: var(--max);
margin: 0 auto;
min-height: 72px;
padding: 0 24px;

 
display: flex;
justify-content: space-between;
align-items: center;
 

}

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

.logo-mark {
width: 40px;
height: 40px;
overflow: hidden;
border-radius: 50%;
}

.brand-name {
display: block;
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
}

.brand-tag {
display: block;
font-size: 11px;
color: var(--muted);
}

.nav-links {
display: flex;
align-items: center;
gap: 24px;
}

.hero-media {
    width: 90%;
    max-width: 1200px;
    height: 70vh;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 24px;
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-links a:hover {
color: var(--accent);
}

/* =========================
DROPDOWN
========================= */

.dropdown {
position: relative;
}

.dropdown-content {
display: none;
position: absolute;
top: 100%;
left: 0;

 
min-width: 220px;
background: white;
border-radius: 8px;
overflow: hidden;

box-shadow: 0 10px 20px rgba(0,0,0,0.12);
 

}

.dropdown-content a {
display: block;
padding: 12px 16px;
}

.dropdown-content a:hover {
background: #f5f5f5;
}

.dropdown:hover .dropdown-content {
display: block;
}

.contact-btn {
padding: 10px 22px;
background: var(--ink);
color: white;
border-radius: 999px;
transition: 0.3s;
}

.contact-btn:hover {
background: var(--accent);
}

/* =========================
INTRO SECTION
========================= */

#Design {
border-bottom: 1px solid var(--line);
}

.section-inner {
max-width: var(--max);
margin: auto;
padding: 80px 24px;
}

.section-grid {
display: grid;
grid-template-columns: 280px 1fr;
gap: 80px;
}

.section-title h2 {
font-size: 32px;
line-height: 1.1;
text-transform: uppercase;
}

.body-copy {
max-width: 700px;
color: #555;
font-size: 17px;
}

/* =========================
CONTENT BLOCKS
========================= */

.content-block {
max-width: var(--max);
margin: auto;
padding: 80px 24px;

 
display: grid;
grid-template-columns: 180px 1fr;
gap: 60px;
 

}

#artisans,
#catalogue,
#contact-info {
scroll-margin-top: 100px;
}

/* =========================
SIDEBAR
========================= */

.sidebar {
position: sticky;
top: 120px;
height: fit-content;
}

.sidebar nav {
display: flex;
flex-direction: column;
gap: 16px;
}

.sidebar a {
color: #777;
font-size: 20px;
font-weight: 300;
}

.sidebar a.active {
color: black;
font-weight: 600;
}

.sidebar a:hover {
color: black;
}

/* =========================
ARTISANS
========================= */

.artisans-grid {
display: flex;
gap: 24px;
flex-wrap: wrap;
}

.artisan-card {
width: 280px;
}

.artisan-card img {
width: 100%;
aspect-ratio: 1;
object-fit: cover;
filter: grayscale(100%);
}

/* =========================
GALLERY
========================= */

.gallery {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-auto-rows: 180px;
gap: 16px;
}

.gallery-item {
overflow: hidden;
}

.gallery-item img {
width: 100%;
height: 100%;
}

.gallery-item:not(.large):not(.wide) img {
    filter: grayscale(100%);
}

.gallery-item.large {
grid-column: span 2;
grid-row: span 3;
filter: grayscale(0%);
}

.gallery-item.wide {
grid-column: span 2;
grid-row: span 2;
filter: grayscale(0%);
}

/* =========================
CONTACT
========================= */

.contact-details {
max-width: 700px;
}

.contact-details h2 {
margin-bottom: 24px;
}

.contact-details p {
margin-bottom: 16px;
}

.contact-details a {
color: var(--accent);
}

/* =========================
FOOTER CONTACT BAND
========================= */
.contact-band {
    background: var(--ink);
    color: white;
    position: relative;
    overflow: hidden; /* hides the cut portion */
}

.contact-grid {
    max-width: var(--max);
    margin: auto;
    padding: 80px 24px;
    min-height: 450px; /* adjust as needed */

    position: relative;
}

.contact-image {
    position: absolute;

    top: -130px;      /* move upward to cut from top */
    right: -140px;    /* move outside to cut from right */

    width: 500px;    /* adjust size */
    height: auto;

    pointer-events: none;
}
/* =========================
RESPONSIVE
========================= */

@media (max-width: 900px) {

 
.section-grid,
.content-block,
.contact-grid {
    grid-template-columns: 1fr;
}

.sidebar {
    position: static;
}

.gallery {
    grid-template-columns: repeat(2, 1fr);
}

.nav {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.nav-links {
    flex-wrap: wrap;
    justify-content: center;
}
}

@media (max-width: 600px) {

.gallery {
    grid-template-columns: 1fr;
}

.section-title h2 {
    font-size: 24px;
}

.body-copy {
    font-size: 15px;
}

.artisan-card {
    width: 100%;
}

.contact-grid {
    text-align: center;
}

.contact-image {
    margin: auto;
}
}