/* ========== Base ========== */
:root{
  --bg: #eef3f6;
  --ink: #1f1f1f;
  --muted: #656565;
  --shadow: 0 12px 24px rgba(0,0,0,.12);
  --maxw: 1200px;
  --max: 1200px;                           /* NEW: default so pages match */
  --pad: clamp(14px, 2vw, 22px); 
}


*{ box-sizing: border-box; }

html, body{
 margin: 0;
  font-family:'Inter', sans-serif;
  color: #111;
  line-height: 1.6;
  background: #fff;

  
}



.tagline{
  font-family:'Inter', sans-serif;
  font-size: clamp(16px, 2vw, 24px);
  margin:0;
}
/* ========== Header ========== */
.site-header{

    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width: var(--maxw);         /* use a single token */
    margin: 0 auto;
    padding: 20px var(--pad);
    border-bottom: 2px solid #000; 

  
}
.brand,
.brand a,
.brand-home,
.brand-home a{
  display: inline-block;                   /* normalize inline metrics */
  margin: 10px 0 0 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
  color: #000;
  text-decoration: none;
  font-kerning: normal;
  font-variant-ligatures: normal;
  font-synthesis: none; 
}

.brand em,
.brand-home em{
  font-style: italic;
  font-weight: 400;
  font-size: inherit;
}


.brand a:hover{
  opacity: .6; /* optional */
}

.brand img {
  max-width: 90%;
  height: auto;
  display: block;
}
.top-nav .contact-link{
  font-size: clamp(18px, 2.2vw, 28px);
  text-decoration: none;
  color: var(--ink);
  opacity: .9;
  transition: opacity .2s ease;
}

.top-nav .contact-link:hover{
  opacity: .6;
}

.top-nav .info{
  font-size: clamp(18px, 2.2vw, 28px);
  text-decoration: none;
  color: var(--ink);
  opacity: .9;
  transition: opacity .2s ease;
}

.top-nav .info:hover{
  opacity: .6;
}

.statement{
  display: inline-block;                   /* normalize inline metrics */
  margin: 30px 200px 0 138px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #000;
  text-decoration: none;
  font-kerning: normal;
  font-variant-ligatures: normal;
  font-synthesis: none; 
  text-align: justify;
}




/* ========== Layout ========== */
.container{
  max-width: var(--maxw);
  margin: 0 auto;
  margin-top: 50px;
  
}
body, .container {
  padding-left: 10px;
  padding-right: 10px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: clamp(28px, 3vw, 42px) clamp(20px, 2.5vw, 28px);
  align-items: start;
}

/* ========== Work Card ========== */
.work{
  display: grid;
  gap: .5rem;
}



/* Hover: lower to 70% opacity */
.thumb:hover img{
  opacity: .7;
  transform: translateY(-1px);
}

.title{
  margin: .25rem 0 0 0;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 32px;
}

.meta{
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  color: var(--muted); margin: -8px 0 1.25em; 
}




/* ========== Footer ========== */
.site-footer{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 32px) 48px;
  color: var(--muted);
  font-size: .95rem;
}

/* ========== Responsive ========== */
@media (max-width: 980px){
  .grid{
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}

@media (max-width: 640px){
  
  
  .grid{
    grid-template-columns: 1fr;
  }
  
}
.pager{
  display:flex;
  align-items:center;
  gap: clamp(52px, 42vw, 68px);   /* responsive spacing */
}

.pager__link{
  color:#444;
  text-decoration:none;
  font-size: clamp(18px, 4.2vw, 26px);  /* responsive size */
  line-height: 1;
  transition: opacity .2s ease;
}
.pager__link:hover{ opacity:.65; }

/* small screens: let the pager wrap under the name and align right */
@media (max-width: 560px){
  .site-header{ flex-wrap: wrap; }
  .pager{
    width: 100%;
    justify-content: flex-end;
    margin-top: .25rem;
  }
  .pager__link{ font-size: 1.5rem;}
}

/* Give all thumbnail containers a consistent height */
.thumb {
  display: flex;                /* use flexbox to center */
  align-items: center;          /* vertical centering */
  justify-content: center;      /* horizontal centering */
  height: 320px;                /* choose a height that fits your design */
  background: rgba(255, 255, 255, 0);            /* optional background so they look neat */
  border-radius: 8px;
  overflow: hidden;
  
}

/* Keep images proportional and not cropped */
.thumb img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;          /* ensures no cropping or distortion */
}

/*PROJECT PAGES */

/* --- Layout base shared by pages --- */
body.project{
  --max: 1200px;        /* wider than 900 so sides don’t feel empty */
  --pad: clamp(14px, 2vw, 22px);
  --gap: clamp(16px, 3vw, 32px);
  --muted: #666;
  --rule: #dcdcdc;
}


img { max-width: 100%; height: auto; display: block; }

/* Header */


.top-nav .back{ color:#444; text-decoration:none; font-size: clamp(18px, 2.2vw, 28px);  margin-left: 300px }
.top-nav .next{ color:#444; text-decoration:none; font-size: clamp(18px, 2.2vw, 28px) }
.top-nav .info{  text-decoration:none; font-size: clamp(18px, 2.2vw, 28px); margin-left: 300px; }


/* HERO */
.hero{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  margin-top: 70px;
}
.hero img{
  margin: 24px 0 32px;          /* space above/below like your reference */
  border-radius: 8px;
}

.hero-gif{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  margin-top: 70px;
}

.ar-video{
  align-self: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  margin-top: 70px;
  margin-bottom: 50px;
  width: 70%;
}
/* TWO-COLUMN SECTION */
.two-col{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
  margin-top: 70px;
}
.about{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: block;
  align-items: start;
  margin-top: 70px;
}
.about-ar .ar {
  display: flex;
  justify-content: center;
}

.about-ar video {
  width: 50%;
  max-width: 600px;
  height: auto;
}
.two-col .title{
  font-size: clamp(40px, 2.6vw, 32px);
  margin: 0 0 .25em;
}

.date{
  margin: 0;
  color: var(--muted);
  font-size: 1.5rem;
  color: var(--muted); margin: -8px 0 2.25em; 
  font-weight: 500;
}

.resume{
margin-right: 200px;
text-align: right;
  font-family: 'Inter', sans-serif;
  display: block;
}

.resume p{
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  
}

.education{
  font-weight: 500;
  font-size:clamp(40px, 2.6vw, 32px);
  margin-top: 100px;
  font-family: 'Inter', sans-serif;
}


.text p,
.two-col p,
.two-col-book p,
.about p{ margin: 0 0 1em;
  font-size: clamp(20px, 4vw, 24px);
  text-align: justify;
  hyphens: auto;
  font-family: 'Inter', sans-serif;
  line-height: 1.2em;
  font-weight: 300;
  text-indent: 6%;
}



.other-text{
  font-size: 1.5rem;
  font-family: 'Inter', sans-serif;
  margin: 45px 136px 1em;
}

.detail{
  font-size: 1.5rem;
  left:10%;
  position: relative;
}

.two-col .visual img{
  border-radius: 8px;
  background:#f5f5f5;    /* subtle card feel like your screenshot */
}

/* Divider line */
.rule{
  max-width: var(--max);
  margin: 36px auto;
  border: none;
  height: 1px;
  background: var(--rule);
}

/* SUPPORTING GRID (2 images) */
.grid-2{
  max-width: var(--max);
  margin: 0 auto 60px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.grid-2 figure{ margin: 0; }
.grid-2 img{
  border-radius: 8px;
  background:#f5f5f5;
  margin-top: 20px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.grid-paint{
  max-width: var(--max);
  margin: 0 auto 60px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.grid-paint figure{ margin: 0; }
.grid-paint img{
  border-radius: 8px;
  background:#f5f5f5;
  margin-top: 20px;
  width: 100%;
  height: 700px;
  object-fit: cover;
}

main{
  margin-top: 20px;
}

.gif{
  width: 100%; 
  max-width: 1200px;   /* shrink it */
  height: auto;    /* keep proportions */
  margin: auto;
}


  
/* Footer */
.site-footer{
  border-top: 1px solid #eee;
  text-align:center;
  color:#666;
  padding: 20px var(--pad) 40px;
}

/* Responsive: stack columns on small screens */
@media (max-width: 820px){
  .two-col, .grid-2 { grid-template-columns: 1fr; }
  .rule { margin: 28px auto; }
}


.webflow{
  width: 80%;
  height: auto;
  display: block;
  margin: auto;
  border-color: #000000;
  border-radius: 8px;
  border-width: 100cm;
}
.type{
  margin: 26px 0 34px;   
}
.phone{
 
    max-width: 450px; 
    width: 100%;  /* responsive */
    height: auto;
    border-radius: 8px; /* optional rounded corners */
    display: block;
    margin: 32px 0;
  
}
.two-col-book {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
  margin-top: 70px;
}

.two-col-book .title{
  font-size: clamp(40px, 2.6vw, 32px);
  margin: 0 0 .25em;
}



.two-col-book .visual img{
  border-radius: 8px;
  background:#f5f5f5;    /* subtle card feel like your screenshot */
}
.two-col-book .process-book {
  display: grid;                          /* or: display:flex; flex-direction:column; */
  gap: 20px;                              /* <-- spacing between the images */
}

.two-col-book .process-book img {
  width: 70%;
  display: block;
  border-radius: 8px;  
  margin-right:60px;
  margin-left: 80px;                    /* optional */
}

@media (max-width: 820px){
  .two-col,
  .grid-2,
  .two-col-book { 
    grid-template-columns: 1fr;         /* single column on phones */
  }

  .two-col p,
  .two-col-book p {
    text-align: left;                   /* stop the big gaps */
    hyphens: auto;                      /* allow soft hyphens when needed */
  }

  /* Optional: show text before images on mobile */
 
}


/* BOOK SLIDER */
.simple-slider{
  position: relative;
  max-width: 1000px;          /* set the width you want */
  margin: 24px auto;
  user-select: none;
}
.simple-slider .viewport{
  overflow: hidden;
  border-radius: 10px;
  background:#f5f5f5;
}
.simple-slider .track{
  display: flex;
  margin: 0; padding: 0; list-style: none;
  transform: translateX(0);
  transition: transform .35s ease;
}
.simple-slider .slide{
  min-width: 100%;
}
.simple-slider img{
  display: block;
  width: 100%;
  height: auto;
}

/* Arrows */
.simple-slider .nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; display:grid; place-items:center;
  background-color: rgba(0,0,0,.45);
  color:#fff;
  border:none; border-radius:50%;
  cursor:pointer;
  z-index:10;
  transition: opacity .2s ease, background-color .2s ease;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; /* ensure glyphs exist */
  font-size: 24px;
  line-height: 1;
}

.simple-slider .prev::before{ content: "‹"; }  /* U+2039 is widely supported */
.simple-slider .next::before{ content: "›"; }  /* U+203A */

.simple-slider .prev{ left: 8px; }
.simple-slider .next{ right: 8px; }


/* Dots */
.simple-slider .dots{
  display:flex; gap:10px; justify-content:center; margin-top:10px;
}
.simple-slider .dots button{
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background:#c9c9c9; cursor:pointer;
}
.simple-slider .dots button.is-active{ background:#555; }

/* Touch target bigger on phones + bigger arrows text if you like */
@media (max-width: 640px){
  .simple-slider .nav{ width: 48px; height: 48px; font-size: 22px; }
}


.grid-3{
  max-width: var(--max);
  margin: 0 auto 60px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gap);
}
.grid-3 figure{ margin: 0; }
.grid-3 img{
  border-radius: 8px;
  background:#f5f5f5;
  margin-top: 20px;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

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

/* ===== Header ===== */
.sheet-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: clamp(12px, 3vw, 24px);
  margin-bottom: clamp(12px, 3vw, 24px);
  border-bottom: 2px solid #000;            /* top divider like screenshot */
  padding-bottom: clamp(10px, 2vw, 16px);
}



.sheet-nav{
  display:flex;
  gap: clamp(16px, 3vw, 36px);
  padding-top: 1.6rem;
}

.sheet-nav a{
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(18px, 2.2vw, 28px);
  opacity: .9;
}
.sheet-nav a:hover{ opacity:.6; }

/* ===== Intro paragraphs ===== */
.intro{
  
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 4vw, 48px);
  margin: clamp(16px, 3vw, 28px) 0 clamp(24px, 4vw, 40px);
}

.intro p{
  margin:0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.intro .indent{
  text-indent: 2em; 
  font-size: clamp(15px, 1.4vw, 18px);/* subtle indent like the screenshot */
  font-weight: 400;
}

/* ===== Sections ===== */
.section{
  margin: clamp(18px, 3vw, 36px) 0;
}

.with-top-rule{
  border-top: 2px solid var(--rule);
  padding-top: clamp(12px, 2vw, 18px);
}

.section h2{
  margin: 0 0 .6rem 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
} 

.plain{
  margin: 0; padding-left: 0; list-style: none;
}

.plain li{
  margin: 0 0 .9rem 0;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink);
}

/* ===== Responsive ===== */
@media (max-width: 720px){
  .intro{ grid-template-columns: 1fr; }
  .intro .indent{ text-indent: 0; }
  .sheet-header{ flex-wrap: wrap; }
  .sheet-nav{ width: 100%; justify-content: flex-end; padding-top: 0;font-size: clamp(24px, 2.2vw, 28px); }
  .sheet-nav a{font-size: clamp(24px, 2.2vw, 28px);}
}


/* ===== Responsive breakpoints ===== */

/* Large tablets: reduce 3-up to 2-up */
@media (max-width: 1024px){
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .grid-paint img{ height: 480px; }
}

/* Phones: stack to single column and increase tap targets */
@media (max-width: 700px){
  .site-header{ flex-wrap: wrap; gap:.25rem; }
  .pager{ width:100%; justify-content:flex-end; }
  .grid-2,
  .grid-3,
  .grid-paint{ grid-template-columns: 1fr; }
  .grid-paint img,
  .grid-3 img{ height: auto; }  /* avoid cropping on small screens */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto; }
}

.other-text{
  max-width: var(--max);
  margin: clamp(16px, 3vw, 28px) auto;
  padding: 0 var(--pad);
}

.other-text p{
  margin: 0 0 .5rem 0;
  font-size: clamp(20px, 4vw, 24px);
}

.other-text .date { color: var(--muted); font-size: clamp(14px, 1.4vw, 18px); margin:.25rem 0 0; }

/* === MOBILE HEADER FIX === */
@media (max-width: 700px){
  /* Make header wrap; put nav on its own row */
  .site-header{
    display: flex;           /* ensure flex, not grid */
    flex-wrap: wrap;
    align-items: flex-start;
    border-bottom: 2px solid #000;  /* optional divider like your mock */
  }

  /* Center info + contact together */
  .top-nav{
    width: 100%;
    display: flex;
    justify-content: right;  /* <-- center the two links */
    gap: 36px;
    margin-top: 6px;
  }

  /* Remove any leftover pushes from desktop styles */
  .top-nav .info,
  .top-nav .contact-link{
    margin: 0 !important;     /* kill old margin-left:300px etc. */
  }

  /* Make the links larger for tap targets */
  .top-nav a{
    font-size: clamp(24px, 5vw, 28px);
    line-height: 1;
  }
  .top-nav .info{
    font-size: clamp(24px, 2.2vw, 28px);}

  .top-nav .contact-link{
      font-size: clamp(24px, 2.2vw, 28px);}
  
}

@media (max-width: 640px) {
  .pager {
    justify-content: space-between;  /* push back and next apart */
    width: 100%;
    padding: 20px 16px;                 /* give a little breathing room */
  }

  .pager__link.back {
    text-align: left;
  }

  .pager__link.next {
    text-align: right;
  }
}


.fence-mediums {
  display: grid;                          /* or: display:flex; flex-direction:column; */
  gap: 60px;
                              /* <-- spacing between the images */
}

.fence-mediums img {
  width: 100%;
  display: block;
  border-radius: 8px;  
  align-items: center;                  /* optional */
}

@media (max-width: 700px){
  .fence-mediums {
    gap: 32px;               /* smaller gap between images */
  }

  .fence-mediums img {
    width: 95%;              /* full width on small screens */
    margin: 0 auto;          /* keep centered */
  }

  .process-book {
    gap: 32px;   
  }
  .process-book img{
    width: 95%;              /* full width on small screens */
    margin: 0 auto;   
  }

}