/* Reworlding — minimalist, Marian Goodman-ish */

@font-face {
    font-family: 'radikalbold';
    src:  url('fonts/radikal-bold.eot');
    src:  url('fonts/radikal-bold.eot?#iefix') format('embedded-opentype'),
          url('fonts/radikal-bold.woff2') format('woff2'),
          url('fonts/radikal-bold.woff') format('woff'),
          url('fonts/radikal-bold.ttf') format('truetype');

}

@font-face {
    font-family: 'radikalregular';
    src:  url('fonts/radikal-regular.eot');
    src:  url('fonts/radikal-regular.eot?#iefix') format('embedded-opentype'),
          url('fonts/radikal-regular.woff2') format('woff2'),
          url('fonts/radikal-regular.woff') format('woff'),
          url('fonts/radikal-regular.ttf') format('truetype');

}

@font-face {
    font-family: 'radikalregular';
    src:  url('fonts/radikal-regular.eot');
    src:  url('fonts/radikal-regular.eot?#iefix') format('embedded-opentype'),
          url('fonts/radikal-regular.woff2') format('woff2'),
          url('fonts/radikal-regular.woff') format('woff'),
          url('fonts/radikal-regular.ttf') format('truetype');

}

@font-face {
    font-family: 'Bellefair';
    src: url('fonts/Bellefair-Regular.woff2') format('woff2'),
        url('fonts/Bellefair-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root{
  --rw-bg:#ffffff;
  --rw-ink:#111111;
  --rw-muted:#6b6b6b;
  --rw-rule:#e9e9e9;
  --rw-accent:#146e9c; /* subtle blue */
  --rw-serif: Bellefair, radikalregular, ui-serif, "Georgia", "Times New Roman", Times, serif;
  --rw-sans: radikalregular, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

b {font-family: radikalbold}

html, body { height: 100%; }
body{
  font-family: radikalregular;
  color: var(--rw-ink);
  background: var(--rw-bg);
  letter-spacing: 0.1px;
}

/* Layout rhythm */
.rw-container{
  max-width: 1240px;
}
.rw-page{
  padding-top: 92px; /* space for fixed header */
}
.rw-section{

  padding: 22px 24px;
}
.rw-rule{
  border-top: 1px solid var(--rw-rule);
}

/* Typography */
.rw-kicker{
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--rw-muted);
}
.rw-h1{
  font-family: var(--rw-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  margin: 0.25rem 0 1rem;
}
.rw-h2{
  font-family: var(--rw-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.15;
  margin: 0.2rem 0 0.75rem;
}
.rw-p{
  color: #1b1b1b;
  font-size: 1rem;
  line-height: 1.6;
}
.rw-muted{ color: var(--rw-muted); }

/* Links */
a{ color: var(--rw-ink); text-decoration: none; }
a:hover{ color: var(--rw-accent); }
.rw-link{
  border-bottom: 1px solid lightblue;
background:#d6e2f6;
    padding-left:10px;
    padding-right:10px;
  padding-bottom: 1px;
    padding-top: 1px;
     border-radius: 10px;
}
.rw-link:hover{
  border-bottom-color: var(--rw-accent);
}

/* Header (fixed, floats over) */
.rw-navbar{
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.rw-navbar.is-solid{
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  border-bottom-color: var(--rw-rule);
}
.rw-brand{
  font-family: var(--rw-serif);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.rw-brand .dot{ color: var(--rw-accent); }
.rw-nav a{
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--rw-ink);
}
.rw-nav a.active{ color: var(--rw-accent) !important; }
.navbar-toggler{
  border: 0;
  padding: .35rem .5rem;
}
.navbar-toggler:focus{ box-shadow: none; }

/* Hero */
.rw-hero{
  padding: 18px 0 0;
}
.rw-hero-card{
  border: 1px solid var(--rw-rule);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.rw-hero-img{
  width: 100%;
  height: clamp(260px, 46vh, 520px);
  object-fit: cover;
}
.rw-hero-meta{
  padding: 22px 24px;
}
.rw-meta-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}
@media (max-width: 991px){
  .rw-meta-grid{ grid-template-columns: 1fr; }
}

/* Minimal “gallery” cards */
.rw-item{
  padding: 14px 0 0;
}
.rw-thumb{
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  background: #f4f4f4;
}
.rw-thumb{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  background: #f4f4f4;
}
.rw-caption{
  padding: 14px 2px 0;
}
.rw-caption .title{
  font-family: var(--rw-serif);
  font-size: 1.08rem;
  margin-bottom: 2px;
}
.rw-caption .sub{
  color: var(--rw-muted);
  font-size: 0.93rem;
  line-height: 1.45;
}
.rw-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rw-rule);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rw-muted);
}

/* Work detail (Lozano-ish fields) */
.rw-fields{
  border-top: 1px solid var(--rw-rule);
  padding-top: 14px;
  margin-top: 12px;
}
.rw-field{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rw-rule);
}
.rw-field:last-child{ border-bottom: 0; }
.rw-field .k{
  color: var(--rw-muted);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  white-space: nowrap;
}
.rw-field .v{
  text-align: right;
  font-size: .95rem;
  color: #1b1b1b;
}
.rw-downloads a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
  margin-top: 8px;
}
.rw-photogrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.rw-photogrid img{
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  background: #f4f4f4;
  cursor: pointer;
}
@media (max-width: 767px){
  .rw-photogrid{ grid-template-columns: repeat(2, 1fr); }
}

/* Join / Footer */
.rw-join{
  padding: 52px 0;
}
.rw-join-box{
  border-top: 1px solid var(--rw-rule);
  border-bottom: 1px solid var(--rw-rule);
  padding: 34px 0;
}
.rw-join-input{
  border: 1px solid var(--rw-rule);
  border-radius: 999px;
  padding: 14px 16px;
}
.rw-btn{
  border-radius: 999px;
  padding: 12px 16px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
}
.rw-footer{
  padding: 28px 0 44px;
  color: var(--rw-muted);
  font-size: .92rem;
}
.rw-footer small{ color: var(--rw-muted); }

.rw-logo-row{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.rw-logo{
  height: 30px;
  width: auto;
  opacity: .9;
  filter: grayscale(100%);
}
.rw-logo:hover{ filter: none; opacity: 1; }

/* Modal image */
#rwLightboxImg{
  width: 100%;
  height: auto;
  border-radius: 14px;
}
