:root{
  --bg:rgb(238, 238, 238);
  --text:rgba(92, 92, 92, 0.8);
  --texthover:rgba(0, 0, 0, 0.8);
  --band: #c5c5c571;
  --btn:rgba(0, 0, 0, 0.6);
  --muted:rgba(0, 0, 0, 0.4);
  --lightest:rgba(0, 0, 0, 0.3);
  --card:#E2E2E2;
  --stroke:rgb(0, 0, 0, 0.2);
  --gap:40px; /* spacing between tiles */
  --side-gap:40px; /* spacing from page edges */
  --primary:#5C5C5C;
  --pill:#e2b534;           /* tag chip bg */
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth
}

body{
  margin:40px;
  font-family:"DM Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; 
  color:var(--text); 
  background:var(--bg);
}
  
img{
  display:block; 
  width:100%; height:auto;
  object-fit:cove
}

p, ul, .btn, .pill{
  font-size:clamp(1rem,1.3vw,1.5rem);
}

figure{
  margin:0
}

.container{
  margin-inline:80px;
} /* updated page margin */

.topbar{
  position:sticky; 
  top:0;
  padding-top: 15px;
  padding-bottom: 15px;
  z-index:20; 
  background:var(--bg);
}

.bar{
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  height:80px
}

.brand-mark{
  height:80px;
  width: auto;
  object-fit:contain;
}

.nav{
  display:flex; 
  gap:42px
}

.nav a{
  color:var(--muted); 
  text-decoration:none; 
  font-weight:600;
  font-size:1rem;
}

.nav a:hover{
  color:var(--pill)
}

.homeintro{
  max-width: 70%;
  font-weight:700; 
  line-height:1.5; 
  letter-spacing:-.01em; 
  margin:0; 
  font-size:2.6vw;
  color:var(--muted);
  padding:15vh 0px;
}
 

.hightlightname{
  color:var(--pill);
}

.grid{
  display:grid; 
  grid-template-columns:repeat(12, 1fr); 
  gap:var(--gap); 
  padding:8px 0 28px
}

.grid-full-bleed{
  width:100%;
}

/* ===== Hover overlay (TOP-LEFT aligned) ===== */
.overlay{
  position:absolute;
  inset:0;
  display:flex;
  justify-content:flex-start;
  align-items:flex-start;
  text-align:left;
  padding:50px;
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
  background:linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.35) 100%);
  opacity:0;
  transition:opacity .35s ease;
  -webkit-transition:opacity .35s ease;
  -moz-transition:opacity .35s ease;
  -ms-transition:opacity .35s ease;
  -o-transition:opacity .35s ease;
}

.ov-wrap{
  max-width:80ch; 
  font-family: "PT Serif", serif;
}

.ov-line1{
  font-weight:300; 
  font-size:2vw; 
  letter-spacing:.1px; margin-bottom:.35rem
}

.ov-line2{
  font-weight:300;
  font-size:1.5vw;
  margin-bottom:1rem;
}

.ov-line3{
  font-weight:300; 
  font-size:0.8vw;
  letter-spacing: 0.1rem;
  opacity: 0.8;
}

/* ===== Hover overlay (TOP-LEFT aligned) above ===== */
.tile{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  background:var(--bg);
  -webkit-border-radius:var(--radius);
  -moz-border-radius:var(--radius);
  -ms-border-radius:var(--radius);
  -o-border-radius:var(--radius);
}

.tile img{
  width:100%; 
  height:100%; 
  object-fit:cover; 
  transition:transform .45s ease, filter .35s ease, opacity .35s ease}


@media (hover:hover){
  .tile:hover img{transform:scale(1.03); filter:brightness(.35)}
  .tile:hover .overlay{opacity:1}
}
  .tile:hover figcaption{opacity:1}

.card{
  background:var(--card); 
  border:1px solid var(--stroke)
}

.card img{
  object-fit:fill; 
}

.tile-a{
  grid-column:1 / span 6
}
.tile-b{
  grid-column:7 / span 6
}

.tile-c{
  grid-column:1 / span 6
}
.tile-d{
  grid-column:7 / span 6
}
.tile-e{
  grid-column:1 / span 6
}
.tile-f{
  grid-column:7 / span 6
}

.site-footer{
  border-top:1px solid;
  border-color: var(--stroke);
  padding-top:40px;
  color: var(--text);
  margin-bottom:20px;
  font-size:clamp(0.5vw,1rem,0.8vw);
}

.footer-inner{
  display:flex; 
  align-items:baseline; 
  justify-content:space-between; 
  gap:16px; 
  height:82px
}

.foot-left .name{
  font-weight:700
}

.foot-right{
  text-align:right;
}

@media (max-width: 1024px){
  .grid{grid-template-columns:repeat(12, 1fr)}
  .tile-a,.tile-b,.tile-c,.tile-d,.tile-e,.tile-f{grid-column:1 / span 12}
}

@media (max-width: 640px){
  .bar{height:64px}
  .intro{padding:18px 0 10px}
  .footer-inner{height:76px}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none!important}
}


/* --- Start Work page --- */
/* --- Hero --- */
body{
  margin:0
}

.hero img{
  display:block;
  width:100%;
  height:auto;
}

/* --- Intro block --- */
/* Title group */
.intro-block {
  padding: 42px 0px 40px;
}

.title-row{
  display: flex;
  align-items: center;        /* aligns year to the center of the 2-line title */
  justify-content: space-between;
  font-family:"PT Serif", serif;
  color: var(--primary);
  padding-bottom: 32px;
}

.eyebrow{
  font-weight: 700;
  letter-spacing: 0.2px;
  margin:0; 
  font-size:clamp(1.5vw, 2vw, 2vw);
  color:var(--primary);
}

.title-meta{
  font-weight: 500;
  display: flex;
  align-items:flex-end;
  gap: 18px;
  flex-shrink: 0;
}

.divider{
  width: 5px;
  height:62px;
  background: var(--pill);
}

.timeframe{
  color: var(--text);
  font-weight: 400;
  font-size:clamp(0.6rem,1.2rem,1.2rem);
}

.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  color: var(--btn);
  border-radius: 50px;
  font-weight: 400;
  text-decoration: none;
  border: 1.5px solid var(--btn);
  /*strokematchestextcolor*/
  transition: background-color 0.25s ease, color 0.25s ease,
  border-color 0.25s ease, transform 0.25s ease;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  background-color: transparent; 
  cursor: pointer;
}

.btn:hover {
  background-color: var(--texthover);       /* remove fill */
  color:rgb(255, 255, 255);                   
  border-color:var(--texthover);                 /* stroke matches text */
  transform: translateY(-2px);
}

/* Responsive: widen on small screens & stack the title group */
@media (max-width: 960px){
  .intro .wrap,
  .details .wrap { max-width: 90%; }

  .title-row{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .divider{ height: 44px; }
}

/* --- Collage (full‑bleed) --- */
.collage{
  margin: 8px 0 40px;
}

.collage img{
  display:block; width:100vw; max-width:100%;
  height:auto;
  margin-left: calc(50% - 50vw);   /* full-bleed */
  margin-right: calc(50% - 50vw);
}

/* --- Details (Context grid) --- */
.details{
  padding: 24px 0 16px;
}

.details-grid{
  display:grid;
  grid-template-columns: 300px 1fr;
  gap: 18px 48px;
  align-items:start;
}

.label{
  font-family: "PT Serif", serif;
  font-weight:500; 
  color:var(--primary);
  font-size: 2rem;
}

.pills{ 
  display:flex; 
  flex-wrap:wrap; 
  gap:36px;
  margin-bottom: 16px;
}

.pill{
  background:var(--pill);
  color: white;
  padding:12px;
  border-radius:6px;
  font-weight:400;
  -webkit-border-radius:6px;
  -moz-border-radius:6px;
  -ms-border-radius:6px;
  -o-border-radius:6px;
}

.text-block{
   margin-top:36px;
}

h3{
  font-family:"PT Serif", serif;
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  font-weight:600; 
  color:var(--primary);
  letter-spacing:.2px;
  margin-bottom:20px;
}

/* Narrow center content */
.intro .wrap,
.details,
.bottom-shot img {
  max-width: 60%;
  margin-inline: auto; /* centers it */
}

/* Keep smaller padding on mobile so it doesn't get too tight */
@media (max-width: 960px) {
  .intro .wrap,
  .details
  .bottom-shot img{
    max-width: 90%;}
}

.footer-nav{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px;
  margin: 64px 80px;
}

.footer-nav .prev{ 
  text-align: left; 
}
.footer-nav .next{ 
  text-align: right; 
}

.caption{
  color: var(--text);
  font-size: 1.8vw;
  text-transform: uppercase;
  font-size:clamp(0.8vw, 1.1rem, 1.2vw);
  margin-bottom: 8px;
}

.project{
  display: block;
  font-family:"PT Serif", serif;
  font-weight: 700;
  font-size: clamp(1.5vw, 2vw, 2vw);
  line-height: 1.1;
  text-decoration: none;
  color: var(--primary);
}

/* Page otherworks */
.page-intro{
  padding: 6px var(--gutter) 24px;
}
.kicker{
  font-size: clamp(1.05rem, .9rem + .5vw, 1.25rem);
  font-weight: 700;
}
.subtitle{
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800;
}

/* ============ Sections ============ */
.section{
  background: var(--band);
  padding: clamp(24px, 2.4vw, 36px) 0;
}

.section__content{
  max-width: 60%;
  margin: 80px auto;
  display: grid;
  gap: clamp(80px, 2.2vw, 32px);
  grid-template-columns: 1fr;
  align-items: start;
}

.section__title{
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--pill);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-size: clamp(2rem, 1rem + .4vw, 1.35rem); 
  font-weight: 600; 
  color:var(--primary);
  font-family:"PT Serif", serif;
}


/* 2-column on wider screens */
@media (min-width: 960px){
  .section__content{
    grid-template-columns: 1.05fr 1fr;
  }
  /* reverse layout helper (image left, text right) */
  .section--reverse .section__text{ order: 2; }
  .section--reverse .section__media{ order: 1; }
}

/* Text column */
.section__text{
  display: grid;
  gap: 14px;
}

/* Media column */
.section__media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* 2x2 grid for logo concepts */
.grid-2x2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.6vw, 18px);
}
.grid-2x2 img{
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Vertical stack of landscape images */
.stack-vertical{
  display: grid;
  gap: clamp(12px, 1.6vw, 16px);
}
.stack-vertical img{
  aspect-ratio: 16 / 9;   /* keeps a consistent card look */
  object-fit: cover;
}

/*About*/
.about-container{
  max-width: 60%;
  margin: 0 auto 60px auto;
  display: flex;
  justify-content: center;
  align-items: start;
  gap:5%;
}

.text{
  width:50%;
}

.about-container h1{
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-size: clamp(32px, 6vw, 56px);
  color:var(--primary);
  margin-top:0;
}

/*lines over text*/
.heading-stripe::before{
  content: "";
  position: absolute;
  left: 0;
  width: var(--stripe-width);  /* how far the bar extends */
  height: 5px;                      /* thickness */
  background: var(--pill);              /* color */
  bottom: -0.3em;                      /* move to overlap the tops of letters */
  transform: translateY(-50%);      /* sit across the upper portion */
  z-index: 2;                       /* above the text */
}

.heading-stripe{
  position: relative;
  display: inline-block;
}

.video-section {
  display: flex;
  justify-content: center;   /* center horizontally */
  margin-block: 40px;
}

.video-wrapper {
  width: 60%;                /* takes 60% of screen */ 
}

.video-wrapper video {
  width: 100%;
  /*responsivescaling*/height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}


/* ---------- Global polish + small bug fix ---------- */
img{ object-fit: cover; }        /* was 'cove' */
.container{ margin-inline: clamp(16px, 5vw, 80px); }

/* Header scales down more gracefully */
/*.brand-mark{ height: clamp(48px, 7vw, 80px); }*/
.nav{ gap: clamp(16px, 3.2vw, 42px); }
.nav a{ font-size: clamp(.95rem, .5vw + .8rem, 1rem); }
.bar{ height: clamp(56px, 8vw, 80px); }

/* ---------- About layout: switch to responsive grid ---------- */
.about-container{
  max-width: min(1100px, 92vw);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
}
.text{ width: auto; max-width: 65ch; }
.image img{ width: 100%; height: auto; border-radius: 8px; }

/* Headline scales */
.about-container h1{
  font-size: clamp(28px, 4.5vw, 56px);
}

/* Buttons scale on smaller screens */
.btn{
  padding: clamp(8px, 1.2vw, 10px) clamp(16px, 2.2vw, 24px);
  font-size: clamp(1rem, .6vw + .9rem, 1.25rem);
}

/* ---------- Footer: allow wrap on narrow widths ---------- */
.footer-inner{
  flex-wrap: wrap;
  height: auto;
  row-gap: 6px;
}
.foot-right{ text-align: right; }

/* ---------- Breakpoints ---------- */

/* ~1280px and down (MacBook widths) */
@media (max-width: 1280px){
  .container{ margin-inline: clamp(20px, 4vw, 48px); }
  .about-container{ max-width: min(1000px, 94vw); }
}

/* Tablet landscape / small laptops */
@media (max-width: 1024px){
  .title-row{ gap: 10px; }
  .divider{ height: 48px; }
}

/* Tablet portrait */
@media (max-width: 900px){
  .about-container{
    grid-template-columns: 1fr;   /* stack */
  }
  .image{ order: 2; }             /* text first, image second */
  .text{ order: 1; }
  .foot-right{ text-align: left; }
}

/* Phones */
@media (max-width: 900px){
  .container{ margin-inline: 16px; }
  .topbar{ padding-top: 10px; padding-bottom: 10px; }
  .about-container{ gap: 20px; margin-bottom: 36px; }
  p, ul{ font-size: clamp(1rem, .4rem + 2.2vw, 1.125rem); }
  .details-grid {
    grid-template-columns: 1fr; /* stack everything */
    gap: 24px;                  /* more breathing space */
  }
}
