/* A clear choice on arrival, with a compact layout for small screens. */
.home-entry-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.5rem 0 .5rem;
}
.home-entry-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #ead9bf;
  border-radius: 4px;
  background: #f5ead4;
  color: #302a23;
  text-decoration: none;
}
.home-entry-brand { background: transparent; color: #fffaf0; }
.home-entry-title { font: 600 1rem/1.35 var(--font-body); }
.home-entry-copy { font: 400 .875rem/1.5 var(--font-body); }
.home-entry-card:hover { background: #fff4df; }
.home-entry-brand:hover { background: #ffffff15; }
.home-follow-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fffaf0;
  font: 500 1rem/1.5 var(--font-body);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-entry-card:focus-visible, .home-follow-link:focus-visible {
  outline: 3px solid #f3d6ad;
  outline-offset: 4px;
}

@media (min-width: 701px) {
  .home-follow-link { display: none; }
}

@media (max-width: 900px) {
  html.js header {
    min-height: 0;
    padding: .875rem 5vw .625rem;
    row-gap: .375rem;
    column-gap: .75rem;
  }
  html.js header .brand { font-size: 1.125rem; letter-spacing: .015em; }
  html.js header .brand span { font-size: .75rem; letter-spacing: .015em; line-height: 1.5; margin-top: .25rem; }
  html.js header .menu { min-height: 44px; padding: .5rem .75rem; font-size: .875rem; }
  html.js header .language-selector { border: 0; padding: 0; gap: .25rem; }
  .language-selector a { min-width: 34px; min-height: 32px; padding: .25rem .375rem; }
  html.js header nav {
    top: 100%;
    padding: .75rem 5vw;
    max-height: calc(100dvh - 100px);
    box-shadow: 0 12px 20px #302a2320;
  }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  html.js header .brand span { display: none; }
  .home-overview.hero-cinematic { margin: 0; min-height: 0; }
  .home-overview.hero-cinematic .hero-copy { padding: 1.5rem 6vw 1rem; }
  .home-overview.hero-cinematic .hero-copy::before { display: none; }
  .home-overview .eyebrow { border: 0; padding-top: 0; font-size: .875rem; line-height: 1.5; letter-spacing: .015em; text-transform: none; }
  .home-overview.hero-cinematic h1 { font-size: 2rem; line-height: 1.15; margin: .65rem 0 .75rem; }
  .home-overview.hero-cinematic .hero-subtitle {
    font: 400 1rem/1.6 var(--font-body) !important;
    letter-spacing: 0;
    max-width: 34rem;
    margin: 0;
  }
  .home-overview .hero-community, .home-overview .home-location, .home-overview .home-contact { display: none; }
  .home-entry-cards { grid-template-columns: 1fr; margin: 1.25rem 0 .25rem; gap: .625rem; }
  .home-entry-card { padding: .875rem 1rem; }
  .home-entry-title { font-size: 1.0625rem; }
  .home-entry-copy { font-size: .875rem; }
  .home-follow-link { font-size: .9375rem; }
  .home-overview .villa-slideshow { height: 11.25rem; min-height: 0; }
  .home-overview .slideshow-footer { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; padding: .5rem .75rem; }
  .home-overview .slideshow-caption { font-size: .75rem; line-height: 1.4; }
  .home-overview .slideshow-controls { gap: 0; }
  .home-overview .slideshow-controls button { min-width: 32px; min-height: 40px; }
  .home-overview .slideshow-controls [data-slide-pause] { min-width: 60px; padding: 0 .25rem; font-size: .8125rem; }

  main .section, .home-explore { padding: 2rem 6vw; }
  .page-intro { padding: 1.75rem 6vw 1rem; }
  .page-title, .page-intro .page-title, .article-head .page-title, .project-head .page-title {
    font-size: 2rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  main .section h2, .home-explore h2, .brand-invitation h2 { font-size: 1.625rem; line-height: 1.25; }
  main .section h3, .home-explore h3 { font-size: 1.3125rem; line-height: 1.3; }
  main .section .card h2 { font-size: 1.375rem; line-height: 1.3; }
  main .section p:not(.small), main .prose p, main .prose li, .page-intro p { font-size: 1rem; line-height: 1.7; }
  .section-head { align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
  .home-materials .section-head { display: flex; flex-direction: column; gap: .5rem; }
  .home-materials .section-head h2 { margin: .35rem 0 0; }
  .home-materials .section-head .eyebrow { display: none; }
  .home-materials .section-head .textlink { min-height: 32px; }
  .home-material-search { margin-bottom: 1rem; }
  .home-material-search > div { flex-direction: row; gap: .5rem; }
  .home-material-search input { min-width: 0; flex: 1; }
  .home-material-search .btn { padding: .625rem .75rem; font-size: .875rem; min-height: 48px; }
  .home-material-categories { gap: .5rem; margin-bottom: 1.25rem; }
  .home-material-categories a { padding: .5rem .75rem; gap: .5rem; min-height: 44px; flex: 0 1 auto; font-size: .875rem; }
  .home-material-categories .selection-icon { width: 20px; height: 20px; }

  .material-grid { gap: 1rem; }
  .material-card { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: stretch; }
  .material-card-visual { width: 100%; height: 100%; min-height: 150px; }
  .material-card-visual .selection-icon { width: 36px; height: 36px; }
  .material-card-copy { min-width: 0; padding: 1rem; }
  main .section .material-card h3 { margin: .35rem 0 .5rem; font-size: 1.25rem; line-height: 1.3; }
  .material-card .eyebrow { font-size: .875rem; letter-spacing: .01em; overflow-wrap: anywhere; }
  .material-card-copy > .textlink { padding-top: .75rem; font-size: .875rem; }
  .material-badge { font-size: .875rem; }
  .material-catalogue { padding-top: .75rem !important; }
  .js .material-catalogue .catalogue-categories { display: none; }
  .catalogue-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1rem; gap: 1rem .75rem; }
  .catalogue-controls label { min-width: 0; }
  .catalogue-controls label:first-child { grid-column: 1 / -1; }
  .catalogue-controls button { min-height: 44px; padding: .625rem .875rem; }

  .is-home .audience-home { padding: 1.75rem 6vw; }
  .is-home .audience-heading { margin-bottom: 1rem; }
  .is-home .audience-heading h2 { font-size: 1.5rem; }
  .is-home .audience-grid { gap: .625rem; }
  .is-home .audience-card { padding: .875rem; }
  .is-home .audience-count { font-size: 1.625rem; }
  .audience-views strong { font-size: 1.75rem; }
  .home-projects .grid { gap: 1.5rem; }
  .home-projects .card.photo img, .card.photo img { height: 230px; }
  .home-workshop-photo img { height: 230px; }
  .home-projects .card:last-child { grid-column: auto; max-width: none; }
  .collaboration-tools { padding-top: .25rem !important; padding-bottom: 1rem !important; gap: 1rem; }
  .collaboration-story img { height: 320px; }
  .newsletter-banner { padding: 1.5rem 6vw; gap: 1rem; }
  .newsletter-banner-copy { min-width: 0; }
  footer { padding: 2rem 6vw; gap: 1.5rem; }
  main .btn, .newsletter-signup { white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 359px) {
  .home-overview.hero-cinematic h1 { font-size: 1.875rem; }
  .home-entry-card { padding: .75rem; }
  .home-entry-title { font-size: 1rem; }
  .home-overview .slideshow-footer { grid-template-columns: 1fr; gap: 0; }
  .home-overview .slideshow-controls { justify-self: end; }
  .home-material-search > div { flex-direction: column; }
  .home-material-search .btn { align-self: stretch; }
  .material-card { grid-template-columns: 4.25rem minmax(0, 1fr); }
  .material-card-copy { padding: .875rem; }
  .catalogue-controls { grid-template-columns: 1fr; }
}

/* Main navigation: vertically scrollable materials dropdown. */
header .materials-dropdown{position:relative;min-width:0;text-align:left}
header .materials-dropdown summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:12px 16px;border:1px solid var(--line);border-radius:3px;background:var(--paper,#faf7ef);color:var(--ink);font:14px/1.3 var(--font-body,Arial,sans-serif);cursor:pointer;list-style:none}
header .materials-dropdown summary::-webkit-details-marker{display:none}
header .materials-dropdown summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
header .materials-dropdown[open] summary{background:var(--ink);color:var(--paper)}
header .materials-submenu{position:absolute;top:100%;left:0;z-index:100;width:280px;max-width:85vw;max-height:min(65dvh,480px);overflow-y:auto;overscroll-behavior:contain;padding:8px;background:var(--paper,#faf7ef);border:1px solid var(--line);box-shadow:0 12px 24px #302a2326;border-radius:0 0 6px 6px}
header nav .materials-submenu a{display:flex;width:100%;justify-content:flex-start;min-height:44px;padding:10px 12px!important;margin:0 0 4px;white-space:normal;font-size:14px}
@media(max-width:900px){header .materials-dropdown summary{min-height:54px}header .materials-submenu{position:static;width:100%;max-width:none;max-height:300px;margin-top:6px;box-shadow:none}html.js header nav{overflow-y:auto}}
@media(min-width:901px){header,#navigation{overflow:visible}}

.tiles-article-intro{background:var(--ink);color:var(--paper);border-bottom:5px solid var(--gold);padding-top:48px;padding-bottom:48px}
.tiles-article-intro .eyebrow,.tiles-article-intro a{color:var(--paper)}
.tiles-article-intro .eyebrow{margin-top:32px}.tiles-article-intro h1{max-width:1000px}.tiles-article-intro .lead{max-width:780px;font-size:20px;line-height:1.7}
.tiles-article{margin:0 auto;max-width:960px}.tiles-article h2{font-size:clamp(28px,4vw,38px);margin-top:36px}.tiles-article p{line-height:1.8}.tiles-method{padding-left:24px}.tiles-method li{padding:12px 0 12px 12px}.tiles-method h3{font-size:24px;margin:0 0 8px}.tiles-method p{margin:0}
.tiles-article-feature{display:flex;align-items:center;justify-content:space-between;gap:32px;background:var(--paper);border-block:1px solid var(--line)}.tiles-article-feature h2{font-size:clamp(28px,4vw,42px)}.tiles-article-feature p{max-width:700px}.tiles-article-feature .btn{flex-shrink:0}
@media(max-width:600px){.tiles-article-feature{display:block}.tiles-article-feature .btn{margin-top:16px}.tiles-article-intro .lead{font-size:18px}}

.tiles-article.prose{max-width:1180px}.tiles-article>p,.tiles-article>h2,.tiles-method{max-width:800px;margin-left:auto;margin-right:auto}
.tiles-photo,.tiles-video{margin:32px 0;min-width:0}.tiles-photo img{display:block;width:100%;height:auto;max-height:750px;object-fit:contain;background:#e8dfd2;border-radius:4px}
.tiles-photo-wide img{max-height:680px}.tiles-photo-project{max-width:620px;margin:40px auto}.tiles-media-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin:32px 0}.tiles-media-pair figure{margin:0}.tiles-media-pair img{max-height:640px}
.tiles-video video{display:block;width:100%;max-height:640px;background:#302a23;aspect-ratio:9/16;object-fit:contain;border-radius:4px}
.tiles-photo figcaption,.tiles-video figcaption{font-size:14px;line-height:1.6;padding-top:12px}.tiles-video .textlink{display:inline-block;margin-top:10px}
@media(max-width:600px){.tiles-media-pair{grid-template-columns:1fr;gap:28px}.tiles-photo img,.tiles-video video{max-height:650px}.tiles-photo,.tiles-video{margin-block:24px}}

.tiles-instagram{max-width:800px;margin:48px auto}.tiles-instagram .reclaimed-video{margin-block:32px}.tiles-instagram .reclaimed-video-player{max-width:540px;margin-inline:auto}
