/* ==========================================================================
   HOME PAGE
   ========================================================================== */

/* =========================
   HERO
   ========================= */
.hero{
  position:relative;
  display:grid; grid-template-columns:var(--left-col) 1fr; gap:var(--g); align-items:end;
  padding: clamp(0px,0vw,0px) var(--g) clamp(28px,5vw,60px);
}
.hero::before{
  content:""; position:absolute;
  width:calc(var(--reveal-r)*2); height:calc(var(--reveal-r)*2);
  left:var(--reveal-x); top:var(--reveal-y); transform:translate(-50%,-50%);
  border-radius:50%; background:var(--masthead-ink); pointer-events:none; z-index:0;
}
.hero>*{position:relative; z-index:1}

body:not(.project-vince):not(.project-decipal) .masthead .hero{
  /* header height (from JS) + a little air */
  padding-top: calc(var(--header-h, 64px) + clamp(8px, 1vw, 16px)) !important;
}

.left{display:grid}
.creative{
  font-family:"Griffiths",serif;
  font-size:clamp(54px,10vw,150px);
  line-height:.98; margin:0; font-weight:400; letter-spacing:.01em;
  text-indent:-.23em; padding-left:.06em; color:var(--masthead-ink);
}
.name{font-size:clamp(18px,2.6vw,30px);font-weight:100;margin:0;color:var(--masthead-ink)}
.lead{color:color-mix(in srgb,var(--masthead-ink) 80%,transparent);font-size:clamp(14px,2.4vw,16px);margin:0;max-width:60ch}

.right{display:grid;gap:clamp(18px,2.6vw,32px);justify-items:start}
.flower-box{display:flex;justify-content:center;align-items:center}
.flower-reveal{position:relative;width:clamp(160px,20vw,320px);aspect-ratio:382/496}
.flower-reveal img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.flower-color.spotlight-clip{
  z-index:2;
  -webkit-clip-path:circle(var(--reveal-r) at var(--local-x) var(--local-y));
          clip-path:circle(var(--reveal-r) at var(--local-x) var(--local-y));
  will-change:clip-path;
}
.designer-box{display:flex;justify-content:flex-end}
.designer{
  font-family:"Cormorant",serif; font-weight:300;
  font-size:clamp(54px,12vw,200px); line-height:.65; letter-spacing:.035em;
  margin:0; text-align:right; color:var(--masthead-ink);
}

/* Spotlight clone for hero text */
.spotlight-text{position:relative}
.spotlight-text::after{
  content:attr(data-text); position:absolute; inset:0;
  color:var(--accent); font:inherit; line-height:inherit; letter-spacing:inherit;
  pointer-events:none; z-index:2;
  -webkit-clip-path:circle(var(--reveal-r) at var(--local-x) var(--local-y));
          clip-path:circle(var(--reveal-r) at var(--local-x) var(--local-y));
}

/* =========================
   PAGE
   ========================= */
.page{color:var(--page-ink);background:var(--page-bg)}
.quote{padding-block:clamp(40px,8vw,96px)}
.quote-line{
  font-family:"Griffiths",serif; font-weight:400;
  font-size:clamp(68px,11.6vw,96px);
  line-height:1.06; margin:0 0 .15em 0; letter-spacing:.01em;
}
.quote{position:relative;background:#A15D66;transition:background-color .35s ease}
.quote.is-light{background:var(--page-bg)}
.quote .quote-line{color:#F2ECEA}
.quote.is-light .quote-line{color:var(--page-ink)}

.section__title{
  font-family:"Cormorant",serif; font-weight:300;
  font-size:clamp(32px,4.5vw,64px);
  letter-spacing:.02em; margin:0 0 20px 0;
}
.section{padding-block:clamp(16px,3.5vw,40px)}

/* =========================
   PHILOSOPHY
   ========================= */
.philosophy{
  display:grid;
  justify-items:center;
  gap: clamp(16px, 4vh, 28px);
  padding-block: clamp(40px, 8vh, 96px);
  text-align:center;
}
.philosophy-heading{ width:min(1200px,94vw); height:auto; }
.portrait-oval{
  width: clamp(200px, 28vw, 320px);
  height: clamp(260px, 36vw, 420px);
  object-fit: cover;
  border-radius: 9999px;
}
.philosophy-copy{
  max-width:70ch; color:var(--page-ink);
  font-size:clamp(16px,1.2vw,18px); line-height:1.7;
  text-align:start;
}

/* =========================
   SERVICES
   ========================= */
.services-switcher .section__title{ margin-bottom: clamp(8px, 1.6vh, 12px); }
.services-cols{
  display:grid;
  grid-template-columns:
    clamp(300px, 28vw, 520px)
    clamp(300px, 26vw, 420px)
    minmax(320px, 420px);
  column-gap: clamp(20px, 4vw, 48px);
  align-items:start;
}
@media (max-width:1200px){
  .services-cols{
    grid-template-columns:
      clamp(280px, 36vw, 460px)
      clamp(280px, 34vw, 420px)
      minmax(300px, 380px);
  }
}
.services-tabs{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.services-tabs .tab{
  display:grid;grid-template-columns:1fr auto;align-items:center;
  padding:20px 0;border-bottom:1px solid var(--rule);cursor:pointer;user-select:none;outline:none;
}
.services-tabs .tab:last-child{border-bottom:none}
.services-tabs .tab span{font-size:clamp(16px,1.6vw,18px);color:var(--page-ink);line-height:1.2}
.services-tabs .tab .active-mark{inline-size:18px;block-size:18px;opacity:0;transform:scale(.92);transition:opacity .2s ease,transform .2s ease}
.services-tabs .tab.is-active .active-mark{opacity:1;transform:scale(1)}
.services-desc{max-width:52ch;font-size:clamp(16px,1.2vw,18px);line-height:1.7;color:var(--page-ink);transition:opacity .18s ease;padding:20px}
.services-media{justify-self:end;width:min(420px,32vw);border-radius:5px;overflow:hidden;box-shadow:var(--shadow-1);transition:transform .25s ease,box-shadow .25s ease,opacity .18s ease}
.services-media:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(15,23,42,.18)}
.services-media img{display:block;width:100%;height:auto;border-radius:inherit}
@media (max-width:980px){
  .services-cols{grid-template-columns:1fr;row-gap:clamp(14px,3vw,20px)}
  .services-media{justify-self:start;width:100%}
}

/* =========================
   PROJECTS
   ========================= */
.projects{ --media-radius: 20px; }
.project-row{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr);
  gap: clamp(18px, 4vw, 40px);
  align-items:center;
  margin-bottom: clamp(24px, 6vw, 56px);
}
.project-media{ display:block; border-radius:5px; overflow:hidden; }
.project-media img{ width:100%; height:auto; display:block; border-radius:inherit; }
.project-info{ align-self:center; }
.project-title{ margin:0 0 6px 0; font-weight:800; font-size: clamp(22px, 2.2vw, 28px); }
.project-title a{ color:var(--page-ink); text-decoration:none; }
.project-sub{ margin:0 0 10px 0; }
.pills{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{ font-size:12px; padding:.35rem .7rem; border-radius:999px; border:1px solid #A15D66; color:#A15D66; background:transparent; }

@media (max-width:980px){
  .project-row{ grid-template-columns:1fr; }
  .project-info{ justify-self:start; }
}

/* Tilt carrier on the WHOLE row */
#projects .project-row{
  will-change: transform;
  transform-style: preserve-3d;
}

/* =========================
   EXPERIENCE
   ========================= */
.experience{ text-align:left; }
.exp-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
}
.exp-col{ display:grid; gap: clamp(14px, 2vh, 22px); }
.exp-date{ color:var(--page-muted); margin:0 0 6px 0; font-size:14px; }
.exp-role{ margin:0 0 6px 0; font-weight:700; color:var(--accent-ink); }
.exp-where{ margin:0 0 4px 0; }
.exp-loc{ margin:0; color:var(--page-muted); }
@media (max-width:900px){ .exp-grid{ grid-template-columns:1fr; } }

/* =========================
   RESPONSIVE NAV / HERO STACK
   ========================= */
@media (max-width:980px){
  .hero{
    grid-template-columns:1fr;
    grid-template-areas:
      "flower"
      "creative"
      "designer"
      "name"
      "lead";
    row-gap:clamp(12px,3vw,20px);
    align-items:start;
  }
  .hero>.left,.hero>.right{display:contents}
  .right .flower-box{grid-area:flower;justify-self:center}
  .left  .box:nth-child(1){grid-area:creative}
  .right .designer-box{grid-area:designer}
  .left  .box:nth-child(2){grid-area:name}
  .left  .box:nth-child(3){grid-area:lead}
  .lead{max-width:70ch}
}
@media (max-width:380px){
  :root{--g:14px}
  .creative{font-size:clamp(36px,12vw,64px)}
  .designer{font-size:clamp(36px,14vw,72px)}
  .flower-reveal{width:120px}
}

/* Touch/no-hover spotlight fallback */
@media (hover:none),(pointer:coarse){
  .spotlight-text::after{display:none !important}
  .hero::before{display:none !important}
  .flower-reveal{width:140px;aspect-ratio:1/1;border-radius:50%;overflow:hidden;background:var(--masthead-ink)}
  .flower-base{display:none !important}
  .flower-color{display:block !important;clip-path:none !important}
  .flower-reveal img{position:absolute;left:50%;top:58%;width:170%;height:170%;transform:translate(-50%,-58%) scale(.62);object-fit:contain}
}

/* Keep quote section static */
.quote.reveal,.quote[data-reveal]{opacity:1 !important;transform:none !important;filter:none !important;transition:none !important}

@media (min-width:981px) and (max-width:1280px){
  .creative{
    /* bump within this band only */
    font-size: clamp(60px, 11vw, 170px);
  }
  .designer{
    font-size: clamp(70px, 13vw, 220px);
    line-height: .72;
  }
  .flower-reveal{
    width: clamp(200px, 24vw, 340px);
  }
}

/* 2) TABLETS & PHONES (<= 980px) — bigger than your current mobile sizes */
@media (max-width:980px){
  .creative{
    font-size: clamp(48px, 15vw, 110px);
  }
  .designer{
    font-size: clamp(56px, 18vw, 140px);
    line-height: .72;
  }
  .flower-reveal{
    width: clamp(160px, 36vw, 240px);
  }
}