/* =========================================================
   Laura Ford Design — Primary Stylesheet
   Cleaned & Stabilized Version
   Date: March 2026

   Refactor goals:
   • Removed duplicate and conflicting rules
   • Consolidated repeated selectors
   • Organized styles by section and page
   • Preserved the existing visual layout

   Sections:
   1. Root Variables
   2. Base Styles
   3. Header / Navigation
   4. Hero / Wordmark
   5. Home Gallery
   6. Work Page
   7. Studio Page
   8. Contact Page
   9. Footer
   10. Responsive

   Future edits:
   • Modify existing selectors rather than duplicating them
   • Keep page-specific styles within their section
   • Avoid redefining the same selector multiple times
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */
:root{
  --bg: #F7F5F2;
  --text: #3E000C;
  --muted: #555;
  --max: 1500px;
  --pad: 24px;
  --radius: 2px;
  --title-left: 24px;
  --title-top: 60px;
  --title-top-mobile: 96px;
}

/* unify all titles */
.wordmark,
.work-hero-title,
.page-title,
.contact-mobile-title{
  position: fixed;
  left: var(--title-left);
  top: var(--title-top);
  margin: 12px 0 -8px 0;
  font-size: clamp(64px, 7vw, 110px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  z-index: 30;
  color: var(--text);
}

@media (max-width: 768px){
  .wordmark,
  .work-hero-title,
  .page-title,
  .contact-mobile-title{
    left: 16px;
    top: 118px;
    font-size: clamp(64px, 18vw, 110px);
    margin: 0;
  }
}
@media (max-width: 768px){
  .home .wordmark{
    top: 60px;
  }
}

/* =========================================================
   BASE STYLES
========================================================= */
*{
  box-sizing: border-box;
}

html,
body{
  height: 100%;
}

body{
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}

.main{
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

a{
  color: inherit;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

small{
  color: var(--muted);
}

/* =========================================================
   HEADER / NAV
========================================================= */
.header{
  position: sticky;
  top: 0;
  background: rgba(243,240,234,0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  z-index: 50;
}

.nav{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links{
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a{
  font-size: 14px;
  letter-spacing: .04em;
  font-weight: 400;
}

.nav-links a.active{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brand{
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
margin-left: 0;
}

.brand:hover{
  opacity: .75;
}
.home .brand{
  display: none;
}

.home .nav{
  justify-content: flex-end;
}

@media (max-width: 820px){
  .home .nav-links{
    margin-left: auto;
  }
}

/* =========================================================
   HERO / WORDMARK
========================================================= */
.hero{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
  position: relative;
  z-index: 2;
}
.wordmark{
  font-size: clamp(64px, 7vw, 110px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--text);
  margin: 12px 0 -8px;
}

.subtitle{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-media{
  position: relative;
  z-index: 1;
  margin-top: 0;
  overflow: hidden;
}

.hero-media img{
  display: block;
  width: 100%;
  height: auto;
}
.wordmark{
  color: var(--text);
}

.work-hero-title{
  color: #3E000C;
}
.main-home{
  padding-bottom: 0;
}

.home-band{
  width: 100vw;
  height: 110px;
  margin: 0;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(
    to bottom,
    #8A8FA3,
    #7D8296
  );
}

.home-band-inner{
  max-width: 640px;
  margin: 0 auto;
}

.home-band p{
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* =========================================================
   HOME GALLERY
========================================================= */
.gallery{
  width: 100vw;
  max-width: none;
  margin: 48px 0 40px;
  margin-left: calc(50% - 50vw);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 90px;
  row-gap: 120px;
  align-items: start;
}

.card{
  position: relative;
  grid-column: span 6;
  border-radius: var(--radius);
  overflow: visible;
  background: transparent;
  opacity: 0.001;
  transform: translateY(42px);
  transition:
    opacity 700ms ease,
    transform 950ms cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.card img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: auto;
  transform: none !important;
  transition: none !important;
}

.card:hover img{
  transform: none !important;
}

.gallery .card.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Home gallery image placement */
.gallery .feature-left{
  grid-column: 1 / span 8;
  grid-row: 1;
}

.gallery .tall-right{
  grid-column: 9 / span 7;
  grid-row: 1;
  margin-top: 110px;
}

.gallery .wide-center{
  grid-column: 2 / span 10;
  grid-row: 2;
}

.gallery .small-left{
  grid-column: 3 / span 5;
  grid-row: 3;
  margin-top: 0;
}

.gallery .mid-right{
  grid-column: 8 / span 9;
  grid-row: 3;
  margin-top: 20px;
}

.gallery .mid-center{
  grid-column: 3 / span 11;
  grid-row: 4;
  margin-top: -20px;
}

.gallery .small-center{
  grid-column: 6 / span 4;
  grid-row: 5;
  margin-top: 90px;
}

.gallery .final-right{
  grid-column: 10 / span 8;
  grid-row: 5;
  margin-top: 0;
}
@media (max-width: 768px) {
  .home .main {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .home-gallery,
  .gallery,
  .home-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 18px !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .home-gallery figure,
  .gallery figure,
  .home-grid figure,
  .home-gallery .card,
  .gallery .card,
  .home-grid .card {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch;
  }

  .home-gallery img,
  .gallery img,
  .home-grid img {
    display: block;
    width: 100%;
    height: auto;
  }
}
/* =========================================================
   GENERIC WORK BLOCKS
========================================================= */
.work{
  max-width: var(--max);
  margin: 80px auto 120px;
  padding: 0 var(--pad);
}

.work img{
  width: 100%;
  display: block;
}

.work-large{
  margin-bottom: 80px;
}

.work-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

/* =========================================================
   WORK PAGE
========================================================= */
.page.page-work{
  padding: 0;
}
.page-work h1{
  margin-left: 0;
}
.work-hero{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.work-hero img{
  display: block;
  width: 100%;
  height: auto;
}
.work-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.24),
    rgba(0,0,0,0.08) 45%,
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.work-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.page-work .work-gallery{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(18px, 2vw, 28px);
  row-gap: clamp(34px, 4vw, 64px);
  align-items: start;

 width: 100vw;
  margin-left: calc(50% - 50vw);

margin-top: clamp(40px, 6vw, 100px);
  margin-bottom: 40px;
  background: var(--bg);
}

.page-work .work-card{
  margin: 0;
  padding: 0;
  opacity: 0.001;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 850ms cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.page-work .work-card:first-child{
  opacity: 1;
  transform: none;
  transition: none;
}

.page-work .work-card img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.page-work .work-card.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.page-work .work-card:nth-child(3n){
  transition-duration: 820ms;
}

.page-work .work-card:nth-child(4n){
  transition-duration: 980ms;
}


/* Span utilities */
.page-work .span-3{ grid-column: span 3; }
.page-work .span-4{ grid-column: span 4; }
.page-work .span-5{ grid-column: span 5; }
.page-work .span-6{ grid-column: span 6; }
.page-work .span-7{ grid-column: span 7; }

.page-work .work-card.slot-01{
 grid-column: 1 / span 8;
  margin-top: 0;
}

.page-work .work-card.slot-02{
  margin-top: 0; /* override the existing 180px */
}
.page-work .work-card.slot-03{ margin-top: 168px; }
.page-work .work-card.slot-04{ margin-top: 0; }

.page-work .work-card.slot-06{
  margin-top: 185px;
  grid-column: span 3;
}

.page-work .work-card.slot-07{
  grid-column: 6 / span 7;
}

.page-work .work-card.slot-08{
  margin-top: 538px;
  grid-column: 2 / span 5;
}

.page-work .work-card.slot-09{
  margin-top: 0;
  grid-column: 7 / span 6;
}

.page-work .work-card.slot-10{
  margin-top: 0;
  grid-column: 2 / span 8;
}

.page-work .work-card.slot-11{
  grid-column: 3 / span 5;
}

.page-work .work-card.slot-12{
  grid-column: 8 / span 4;
  margin-top: 650px;
}

.page-work .work-card.slot-13{
  grid-column: 8 / span 6;
}

.page-work .work-card.slot-14{
  grid-column: 4 / span 8;
  margin-top: 0;
}

.page-work .work-card.slot-15{
  grid-column: 1 / span 5;
}

.page-work .work-card.slot-16{
  grid-column: 6 / span 4;
}

.page-work .work-card.slot-17{
  grid-column: 1 / span 5;
}

.page-work .work-card.slot-18{
  margin-top: 450px;
}

.page-work .work-card.slot-19{
  grid-column: 4 / span 6;
}

.page-work .work-card.slot-20{
  grid-column: 10 / span 3;
}

.page-work .work-card.slot-21{
  grid-column: 1 / span 5;
}

.page-work .work-card.slot-22{
  grid-column: 6 / span 6;
  margin-top: 342px;
}

.page-work .work-card.slot-23{
  grid-column: 8 / span 7;
}

.page-work .work-card.slot-24{
  grid-column: 4 / span 5;
}

.page-work .work-card.slot-25{
  grid-column: 9 / span 3;
}

.page-work .work-card.slot-26{
  grid-column: 1 / span 5;
}

.page-work .work-card.slot-27{
  grid-column: 6 / span 6;
}
.page-work .work-card.slot-28{
  grid-column: 1 / span 6;
}

.page-work .work-card.slot-29{
  grid-column: 4 / span 4;
}

.page-work .work-card.slot-30{
  grid-column: 8 / span 7
}

@media (max-width: 768px) {
  .page.page-work {
    padding: 0;
  }

  .page-work .work-gallery {
    display: grid !important;
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 18px !important;
    margin-bottom: 32px;
    padding: 0 16px;
  }

  .page-work .work-card {
    grid-column: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-work .work-card img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-work .span-3,
  .page-work .span-4,
  .page-work .span-5,
  .page-work .span-6,
  .page-work .span-7 {
    grid-column: auto !important;
  }

  .page-work .work-card[class*="slot-"] {
    grid-column: auto !important;
    margin-top: 0 !important;
  }
}
/* =========================================================
   STUDIO PAGE
========================================================= */
.page-studio{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
}

.studio-hero{
  margin-bottom: 24px;
}

.studio-eyebrow{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.studio-title{
  font-size: clamp(44px, 7vw, 88px);
  line-height: .96;
  letter-spacing: -.04em;
  margin: 0;
}

.studio-intro{
  display: grid;
  grid-template-columns: minmax(620px, 1.65fr) minmax(340px, 1fr);
  column-gap: 20px;
  row-gap: 0;
  align-items: start;
}

.studio-image{
  position: relative;
  margin: 0 0 48px;
  margin-left: -40px;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.studio-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.studio-copy{
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 0;
  padding-right: 32px;
  padding-top: clamp(120px, 12vh, 160px);
}
.studio-block h2{
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 24px;
  margin-bottom: 14px;
  font-weight: 600;
}

.studio-block p{
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 32em;
}

@media (max-width: 1099px) {

  .studio-image{
    position: relative;
    aspect-ratio: auto;
    margin: 0;
    width: 100%;
    overflow: hidden;
  }

  .studio-image img{
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .studio-copy{
    margin-top: -12px;
    padding-top: 24px;
    padding-bottom: 48px;
    position: relative;
    z-index: 40;
    background: var(--bg);
  }

}
/* =========================================================
   CONTACT PAGE
========================================================= */

.page-contact .contact-wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px) 72px;
}

.page-contact .page-head{
  margin-bottom: 26px;
}

.contact-image{
  text-align: center;
  margin: 0;
}

.contact-intro{
  text-align: center;
}

.contact-image img{
  max-width: 440px;
  width: 100%;
  height: auto;
  display: inline-block;
}

.contact-note{
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
  opacity: 0.8;
}

.contact-email{
  display: inline-block;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
}

.contact-email:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-image-wrap{
  position: relative;
  width: fit-content;
  margin: 28px auto 28px;
}

.contact-vertical-title{
  position: absolute;
  top: 0;
  left: -104px;
  margin: 0;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.contact-mobile-title{
  display: none;
}

@media (max-width: 768px){

  .page-contact .contact-vertical-title{
    display: none;
  }

.page-contact{
  padding-top: 0 !important;
  padding-bottom: 0;
}

  .page-contact .contact-wrap{
    max-width: none;
    padding: 0;
  }

  .page-contact .contact-image-wrap{
    width: 100vw;
    max-width: none;
    margin: 0 0 12px;
    margin-left: calc(50% - 50vw);
  }

  .page-contact .contact-image{
    width: 100%;
    margin: 0;
  }

  .page-contact .contact-image img{
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .page-contact .contact-intro{
    position: relative;
    z-index: 40;
    background: var(--bg);
    padding: 0 24px;
    margin: 0;
  }

  .page-contact .contact-note{
    margin: 0 0 8px;
  }
}
/* =========================================================
   FOOTER
========================================================= */
.footer{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: none;
  padding: 96px 0 100px;
  background: #7D8296;
  color: rgba(239,234,229,0.75);
}
.footer-inner{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 var(--pad);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a{
  color: rgba(239,234,229,0.7);
}

.footer small{
  white-space: nowrap;
  color: rgba(239,234,229,0.6);
}


.page-work + .footer{
  padding-bottom: 115px;
}

.instagram-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 200ms ease;
}

.instagram-link:hover{
  opacity: 1;
}

.instagram-icon{
  width: 15px;
  height: 15px;
  display: block;
}

.instagram-icon rect,
.instagram-icon circle{
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.instagram-icon circle:last-child{
  fill: currentColor;
  stroke: none;
}
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px){
  .studio-intro{
    grid-template-columns: 1fr;
  }

  .studio-title{
    font-size: clamp(40px, 10vw, 60px);
  }
}

@media (max-width: 820px){
  .nav-links{
    gap: 12px;
  }

  .gallery{
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 24px;
    margin: 24px auto 32px;
    padding: 0 16px;
  }

  .gallery .card,
  .gallery .feature-left,
  .gallery .tall-right,
  .gallery .wide-center,
  .gallery .mid-right,
  .gallery .mid-center,
  .gallery .small-left,
  .gallery .small-center,
  .gallery .final-right{
    display: block;
    grid-column: auto !important;
    grid-row: auto !important;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    transform: none !important;
    position: static;
    inset: auto;
  }

  .gallery .card,
  .gallery .card.is-visible{
    opacity: 1;
    transform: none !important;
    transition: none;
  }

  .gallery .card img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .page-contact{
    padding-top: 28px;
  }

  .page-contact .contact-wrap{
    padding: 0 24px 80px;
  }

  .contact-image{
    margin: 20px 0 20px;
  }

  .contact-note{
    font-size: 15px;
    margin-bottom: 10px;
  }

  .contact-email{
    font-size: 16px;
  }

  .footer{
    padding: 24px 0 40px;
  }

  .footer-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }

  .footer-links{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer small{
    white-space: normal;
  }

  .instagram-icon{
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 760px){
  .page-work .work-gallery{
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-work .span-7{ grid-column: span 5; }
  .page-work .span-6{ grid-column: span 6; }
  .page-work .span-5{ grid-column: span 6; }
  .page-work .span-4{ grid-column: span 3; }
  .page-work .span-3{ grid-column: span 3; }

  .page-work .work-card{
    margin-top: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .gallery .card,
  .page-work .work-card{
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 768px){
  body .wordmark{
    top: 60px;
  }

  .contact-mobile-title{
    display: block;
  }
}
@media (max-width: 768px){
  .studio-copy{
    padding-left: 16px;
    padding-right: 16px;
  }
}
.home-band{
  border-top: 6px solid #D89AA5;
}
@media (max-width: 768px){
  .page-contact .contact-image-wrap{
    position: relative;
  }

  .page-contact .contact-mobile-title{
    position: absolute;
    top: 0px;
    left: 16px;
    margin: 0;
    z-index: 30;
  }
}