:root {
  --maxw: 1400px;
  --pad: 20px;
  --fontsize: 18px;
  --border: rgba(0, 0, 0, 0.12);
}

@media (min-width: 700px) {
  :root {
    --pad: 32px;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  
  line-height: 1.5;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

a {
  color: #000;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

a:hover {
  /* text-decoration: underline; */
}

p {
  line-height: 1.8;
  font-weight: 400;
  margin-top:0;
  margin-bottom: var(--pad);
  font-size: var(--fontsize)
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
}
h2 {
  margin-bottom: 0;
  margin-top:1.5em;
}

h3 { 
  text-transform:uppercase; 
  font-size:14px;
  font-weight:400;
  margin-top: 0;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  padding-block: 16px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-title {
  text-decoration: none;
  color: inherit;
  font-weight: 400;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  /* opacity: 0.85; */
  font-weight: 400;
}
.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
 }

@media (max-width: 359px) {
  .site-title,
  .nav-link {
    font-size: 15px;
  }
}

@media (min-width: 700px) {
  .site-header .container {
    padding-block: var(--pad);
  }
  .site-nav {
    gap: var(--pad);
  }
}

@media (min-width: 1020px) {
  .site-nav {
    gap: calc(2 * var(--pad));
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Front page gallery */
.page-title {
  margin: 18px 0 10px;
  font-size: 20px;
  font-weight: 650;
}

.home-intro p { 
  margin: 0; 
  font-size: clamp(26px, 4.5vw, 40px); 
  font-weight: bold;
  line-height: 1.2; 
}


.gallery {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: calc(var(--pad)); 
  justify-items: center;  
}

@media (min-width: 1020px) {
  .c {
    display: flex;
    gap: calc(2 * var(--pad));
  }

  .left {
    flex: 3;
  }
  .right {
    flex: 2;
  }
}

/* If you keep the .card wrapper */
.card {
  border: 0;              /* optional */  
  overflow: hidden;       /* crop anything that overflows */
  background: transparent;/* optional */
  max-height: calc(100vh*0.8);
  aspect-ratio: 3 / 4; 
}

/* Make each grid cell have a consistent shape */
.card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;    /* choose your cell shape (square here) */
  height: 100%;           /* crucial: gives cover a box to fill */
  object-fit: cover;      /* fills cell, crops excess */
  object-position: center;/* optional */
}
.home-intro {
  margin: 18px 0 18px;
  text-align: center;
}

#home-img {
  max-width: 100%;
}

.icon {
  display: flex;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.icon svg,
.icon img {
  width: 100%;
  height: 100%;
}

.right img {
  width:100%
}


.divider {
  border-top: 1px solid #000;
  margin-top: calc(2*var(--pad));
  padding-top: calc(2*var(--pad));
}

.centered {
  text-align: center;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 699px) {
  .button-group {
    flex-direction: column;
    align-items: stretch;
  }
}

.button {
  display: inline-block;
  padding: 18px 28px;
  background-color: #000;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.margin-top {
  margin-top: var(--pad)
}
