/* Portfolio prints, founder's notebook and studio correspondence. */
:is(.studio-work,.studio-about,.studio-contact) .hero-tag {
  font: 800 .88rem/1.3 Arial, sans-serif; letter-spacing: .16em;
  color: #b8dae8; opacity: 1; margin-bottom: 1.5rem;
}
:is(.studio-work,.studio-about,.studio-contact) .page-hero h1 {
  font-size: clamp(2.75rem,6vw,6.2rem); line-height: .98; letter-spacing: -.055em;
}
.studio-action {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.3rem;
  color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: .4em;
}
.studio-work .portfolio-hero {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  align-items: center; gap: clamp(2rem,5vw,5rem); padding-block: clamp(3rem,8vw,8rem);
  background: linear-gradient(125deg,#101c27,#203344 70%,#172936);
}
.project-prints { display: flex; align-items: stretch; height: clamp(18rem,32vw,29rem); gap: .45rem; }
.project-prints a {
  position: relative; isolation: isolate; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(.6rem,1.5vw,1.4rem); color: white; text-decoration: none;
  background-color: #27343d; background-size: cover; background-position: center;
  border: 1px solid #ffffff38; border-radius: 3px;
}
.project-prints a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#071219ef,transparent 75%); }
.project-prints span { font: 600 .72rem/1.4 Arial,sans-serif; letter-spacing: .04em; }
.project-prints strong { font: 700 clamp(1.05rem,2.2vw,2.35rem)/1.04 Georgia,serif; margin-top: .4rem; overflow-wrap: normal; }
.print-olive { background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=640&q=80'); }
.print-atelier { background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=640&q=80'); }
.print-margin,.margin-case { background-image: url('../blog/assets/images/kai-coast.webp'); }
.industry-index { display:flex; flex-wrap:wrap; gap:.25rem 1.3rem; padding: .6rem 0; margin-bottom:2rem; border-block:1px solid #607381; }
.industry-index a { display:inline-flex; align-items:center; min-height:44px; color:#d4e8f1; text-underline-offset:.25em; }
.studio-work .case-study { border-radius:4px; background:#142430; border-color:#4d626e; }
.studio-work .case-content { padding:clamp(1.5rem,4vw,4rem); align-items:flex-start; }
.studio-work .case-content p { color:#a7d5e6; opacity:1; letter-spacing:.13em; }
.studio-work .case-content h2 { font-size:clamp(1.9rem,3vw,3.5rem); }
.studio-work .showcase-link { font-size:.81rem; }
.studio-work .cta-box { background:linear-gradient(120deg,#253c48,#112330); }
.studio-about .about-hero,.studio-contact .contact-hero {
  color:#fff; background-color:#14212d; background-size:cover; background-position:62% center;
  min-height:clamp(26rem,42vw,40rem); padding-block:clamp(3rem,7vw,7rem);
}
.studio-about .about-hero { background-image:linear-gradient(90deg,#141411ed,rgba(16,18,17,.62) 52%,transparent),url('agency-art/founder.webp'); }
.studio-contact .contact-hero { background-image:linear-gradient(90deg,#091625ed,rgba(10,25,43,.65) 51%,transparent),url('agency-art/correspondence.webp'); }
.studio-contact .contact-hero > div,.studio-about .about-hero > div { max-width:42rem; }
.studio-about .about-hero .hero-tag { color:#f1c68b; }
.studio-about .about-story {
  max-width:none; padding:clamp(3rem,8vw,7.5rem) max(1.4rem,calc((100% - 55rem)/2));
  background:#f3eee3; color:#222b28; border-top:5px solid #b8854f;
}
.studio-about .about-story-block { max-width:43rem; padding-bottom:clamp(1.5rem,4vw,3rem); border-bottom:1px solid #bdb6a6; }
.studio-about .about-story-block:nth-child(2) { margin-left:auto; }
.studio-about .about-story p { color:#38413e; font:400 clamp(1.08rem,1.65vw,1.3rem)/1.72 Georgia,serif; }
.studio-about .about-story h2 { color:#182c32; letter-spacing:-.045em; }
.studio-about .about-story .highlight { color:#69401f!important; border-color:#b08450; font:700 clamp(1.25rem,2.6vw,2.2rem)/1.25 Georgia,serif!important; }
.studio-about .about-story-ending h2 { color:#253d46; }
.studio-about .about-cta { border-radius:4px; border-color:#796348; background:linear-gradient(135deg,#342e27,#17232b 80%); }
.studio-contact .contact-project-card { border-radius:4px; border-top:5px solid #84aace; background:linear-gradient(145deg,#eae2d2,#faf5e8); color:#182e43; box-shadow:4px 5px 0 #5a7186; }
.studio-contact .contact-project-card :is(h2,p,small) { color:#233a4e; }
.studio-contact .contact-project-card .button { background:#193d59; border-color:#193d59; color:white; }
.studio-contact .contact-project-orbit { display:none; }
.studio-clock { display:block; margin-top:.45rem; color:#c1e2ef; font-style:normal; font-variant-numeric:tabular-nums; }
.copy-address:not([hidden]) { justify-self:start; color:#c8e6f2; min-height:44px; padding:0 .4rem; background:none; border:0; font:inherit; text-decoration:underline; text-underline-offset:.25em; cursor:pointer; }
.copy-status:empty { display:none; }
@media (min-width:901px) {
  .studio-work .case-study:nth-of-type(even) .case-image { order:2; }
}
@media (prefers-reduced-motion:no-preference) and (hover:hover) {
  .project-prints a { transition:flex-grow .3s ease,transform .3s ease; }
  .project-prints a:is(:hover,:focus-visible) { flex-grow:1.35; transform:translateY(-.35rem); }
}
@media(max-width:850px){
  .studio-work .portfolio-hero { grid-template-columns:1fr; }
  .project-prints { height:clamp(13rem,40vw,20rem); }
}
@media(max-width:600px){
  .studio-about .about-hero,.studio-contact .contact-hero { background-size:auto 100%,auto 100%; background-position:center,64% center; }
  .project-prints { gap:.3rem; }
  .project-prints strong { font-size:clamp(.95rem,4vw,1.3rem); }
  .studio-contact .contact-hero > div,.studio-about .about-hero > div { background:linear-gradient(90deg,#0c1623b8,transparent); }
}

.studio-work .case-content>span,.studio-contact .contact-project-card p{max-width:58ch;line-height:1.65}
.studio-work .showcase-link{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:.3em}
@media(max-width:480px){
 .project-prints{height:auto;display:grid;grid-template-columns:1fr;gap:.55rem}
 .project-prints a{min-height:5.5rem;padding:.85rem 1rem;background-position:center 47%}
 .project-prints strong{font-size:1.4rem}
 .studio-work .case-content{padding:1.25rem}
}


/* ==========================================================
   WORK SHOWCASE — REFINED EDITORIAL CARDS
   Softer geometry, image depth and a deliberate edge system.
========================================================== */
.studio-work .project-prints{
  gap:clamp(.65rem,1.15vw,1rem);
}
.studio-work .project-prints a{
  overflow:hidden;
  border:1px solid rgba(205,231,243,.42);
  border-radius:20px;
  box-shadow:0 18px 42px rgba(2,12,20,.28),inset 0 1px 0 rgba(255,255,255,.22);
  background-color:#172c3b;
  background-position:center;
  isolation:isolate;
  transition:flex-grow .38s cubic-bezier(.2,.75,.25,1),transform .38s cubic-bezier(.2,.75,.25,1),border-color .3s ease,box-shadow .3s ease;
}
.studio-work .project-prints a::before{
  z-index:0;
  background:linear-gradient(180deg,rgba(5,16,25,.04) 8%,rgba(5,16,25,.18) 42%,rgba(5,16,25,.9) 100%);
}
.studio-work .project-prints a::after{
  content:"";
  position:absolute;
  z-index:0;
  inset:9px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:13px;
  pointer-events:none;
  transition:inset .35s ease,border-color .35s ease;
}
.studio-work .project-prints span,
.studio-work .project-prints strong{
  position:relative;
  z-index:1;
}
.studio-work .project-prints span{
  color:rgba(238,247,251,.82);
  font-size:.7rem;
  letter-spacing:.09em;
  /* Keep the original editorial label casing. */
}
.studio-work .project-prints strong{
  max-width:12ch;
  color:#fff;
  font-size:clamp(1.2rem,2.2vw,2.35rem);
  line-height:1.02;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.studio-work .project-prints a:is(:hover,:focus-visible){
  border-color:rgba(180,225,242,.78);
  box-shadow:0 26px 56px rgba(2,12,20,.36),0 0 0 1px rgba(154,214,235,.12),inset 0 1px 0 rgba(255,255,255,.28);
}
.studio-work .project-prints a:is(:hover,:focus-visible)::after{
  inset:7px;
  border-color:rgba(255,255,255,.34);
}
.studio-work .project-prints a:focus-visible,
.studio-work .showcase-link:focus-visible{
  outline:2px solid #9bdcf1;
  outline-offset:4px;
}

/* The case studies should feel like designed portfolio pieces, not flat panels. */
.studio-work .case-study{
  position:relative;
  min-height:420px;
  margin-bottom:clamp(24px,3vw,38px);
  overflow:hidden;
  border:1px solid rgba(157,199,218,.25);
  border-radius:27px;
  background:
    radial-gradient(ellipse at 100% 0%,rgba(66,137,169,.16),transparent 48%),
    linear-gradient(145deg,#183244 0%,#102431 56%,#0b1c28 100%);
  box-shadow:0 22px 55px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .42s cubic-bezier(.2,.75,.25,1),border-color .32s ease,box-shadow .32s ease;
}
.studio-work .case-study::after{
  content:"";
  position:absolute;
  z-index:3;
  inset:1px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:26px;
  pointer-events:none;
}
.studio-work .case-image{
  position:relative;
  min-height:420px;
  overflow:hidden;
  background-color:#203746;
  background-size:cover;
  background-position:center;
  filter:saturate(.92) contrast(1.04);
  transition:filter .45s ease,background-position .7s ease;
}
.studio-work .case-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(6,17,26,.04),rgba(6,17,26,.18)),linear-gradient(90deg,transparent 56%,rgba(9,25,37,.42));
  pointer-events:none;
}
.studio-work .case-content{
  position:relative;
  z-index:1;
  justify-content:center;
  gap:0;
  padding:clamp(2rem,4.1vw,4.2rem);
  background:
    radial-gradient(ellipse at 100% 0%,rgba(67,144,178,.13),transparent 54%),
    linear-gradient(145deg,rgba(20,46,63,.98),rgba(9,27,40,.98));
}
.studio-work .case-content p{
  margin:0 0 1.1rem;
  color:#9ed7e9;
  font:800 .68rem/1.4 Arial,sans-serif;
  letter-spacing:.18em;
}
.studio-work .case-content h2{
  max-width:16ch;
  margin:0 0 1.15rem;
  color:#f2f8fb;
  font-size:clamp(1.9rem,3.2vw,3.35rem);
  line-height:1.04;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.studio-work .case-content>span{
  max-width:38ch;
  color:#b8cbd5;
  font-size:clamp(.9rem,1.15vw,1rem);
  line-height:1.7;
}
.studio-work .showcase-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:flex-start;
  width:fit-content;
  min-height:45px;
  margin-top:1.65rem;
  padding:0 16px;
  border:1px solid rgba(140,202,226,.3);
  border-radius:999px;
  background:linear-gradient(120deg,rgba(87,155,185,.16),rgba(255,255,255,.035));
  color:#d8f0f8;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.07em;
  text-decoration:none;
  text-underline-offset:.3em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
  transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;
}
.studio-work .showcase-link:hover{
  transform:translateY(-2px);
  border-color:rgba(164,224,243,.72);
  background:linear-gradient(120deg,rgba(82,163,198,.3),rgba(255,255,255,.07));
  box-shadow:0 10px 24px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.1);
}
@media(hover:hover) and (pointer:fine){
  .studio-work .case-study:hover{
    transform:translateY(-5px);
    border-color:rgba(160,211,231,.48);
    box-shadow:0 30px 68px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.1);
  }
  .studio-work .case-study:hover .case-image{
    filter:saturate(1.02) contrast(1.06);
    background-position:center 46%;
  }
}
@media(min-width:901px){
  .studio-work .case-study:nth-of-type(even) .case-image::after{
    background:linear-gradient(180deg,rgba(6,17,26,.04),rgba(6,17,26,.18)),linear-gradient(270deg,transparent 56%,rgba(9,25,37,.42));
  }
}
@media(max-width:850px){
  .studio-work .project-prints{height:clamp(14rem,42vw,20rem)}
  .studio-work .case-study{min-height:0;border-radius:23px}
  .studio-work .case-study::after{border-radius:22px}
  .studio-work .case-image{min-height:260px}
  .studio-work .case-content{padding:clamp(1.5rem,4vw,2.3rem)}
}
@media(max-width:600px){
  .studio-work .project-prints{gap:.55rem}
  .studio-work .project-prints a{min-height:6.5rem;border-radius:17px;padding:.9rem 1rem}
  .studio-work .project-prints a::after{inset:7px;border-radius:11px}
  .studio-work .project-prints strong{font-size:1.35rem}
  .studio-work .case-study{border-radius:21px;margin-bottom:22px}
  .studio-work .case-study::after{border-radius:20px}
  .studio-work .case-image{min-height:220px}
  .studio-work .case-content{padding:24px 21px 25px}
  .studio-work .case-content h2{font-size:clamp(1.75rem,7.5vw,2.2rem)}
  .studio-work .case-content>span{font-size:.9rem}
  .studio-work .showcase-link{margin-top:1.3rem;max-width:100%;text-align:center}
}


/* CONTACT PROJECT CARD — replace the old square, paper-like panel. */
.studio-contact .contact-project-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:0;
  padding:clamp(28px,4vw,44px);
  border:1px solid rgba(153,211,234,.28);
  border-radius:25px;
  border-top:1px solid rgba(180,225,241,.38);
  background:
    radial-gradient(circle at 94% 4%,rgba(91,184,220,.25),transparent 40%),
    radial-gradient(ellipse at 0% 100%,rgba(53,121,157,.16),transparent 54%),
    linear-gradient(145deg,rgba(22,57,77,.97),rgba(8,25,39,.98));
  color:#edf7fb;
  box-shadow:0 28px 72px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12);
}
.studio-contact .contact-project-card::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:1px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:23px;
  pointer-events:none;
}
.studio-contact .contact-project-card :is(h2,p,small){
  color:inherit;
}
.studio-contact .contact-project-card h2{
  max-width:13ch;
  color:#f1f8fb;
  font-size:clamp(29px,3.1vw,39px);
  line-height:1.04;
  letter-spacing:-.055em;
}
.studio-contact .contact-project-card>p:not(.contact-page-eyebrow){
  max-width:42ch;
  color:#b7cbd5;
  font-size:14px;
  line-height:1.75;
}
.studio-contact .contact-project-card .contact-page-eyebrow{
  color:#9bd7ed;
}
.studio-contact .contact-project-card .button{
  min-height:50px;
  padding-inline:20px;
  border:1px solid rgba(219,245,252,.72);
  border-radius:999px;
  background:linear-gradient(110deg,#c5edf7,#82c6e1 58%,#a7d8e9);
  color:#102c3d;
  box-shadow:0 12px 30px rgba(60,153,192,.22),inset 0 1px 0 rgba(255,255,255,.55);
}
.studio-contact .contact-project-card .button:hover{
  transform:translateY(-3px);
  box-shadow:0 17px 34px rgba(60,153,192,.3),inset 0 1px 0 rgba(255,255,255,.65);
}
.studio-contact .contact-project-card>small{
  color:#8fa9b8;
}
.studio-contact .contact-project-orbit{
  display:block;
  opacity:.8;
  right:-105px;
  top:-108px;
  border-color:rgba(156,218,239,.19);
  box-shadow:0 0 0 28px rgba(157,214,236,.035),0 0 0 58px rgba(157,214,236,.02);
}
@media(max-width:560px){
  .studio-contact .contact-project-card{
    padding:27px 22px;
    border-radius:22px;
  }
  .studio-contact .contact-project-card::before{border-radius:20px}
  .studio-contact .contact-project-card h2{font-size:clamp(28px,7.5vw,34px)}
}
