/* Summer Heights project links on the studio portfolio */
.under.villa-links {align-items:center;flex-wrap:wrap;gap:0 12px;height:auto;min-height:36px}
.villa-links a {font-size:12px;color:#682236;text-decoration:underline;text-underline-offset:3px}
.villa-links a:first-child {font-weight:700}
.case-villa-links {display:flex;flex-wrap:wrap;gap:0 24px}

/* Project cover */
.vf-page {background:#f7f3eb}
.vf-cover {background:radial-gradient(ellipse at 77% 65%,#263c4a 0%,#11242e 36%,#0d1c26 70%);color:#f9f3e6;border-bottom:2px solid #b39765}
.vf-cover-grid {display:grid;grid-template-columns:.95fr 1.05fr;gap:5%;align-items:center;padding-block:28px clamp(44px,5vw,72px)}
.vf-back {font-size:13px;color:#e9dcc6;display:inline-block;padding:7px 0;margin-bottom:clamp(20px,3vw,38px)}
.vf-back span {margin-right:6px}
.vf-back:hover,.vf-footer a:hover {text-decoration:underline;text-underline-offset:4px}
.vf-label,.vf-kind,.vf-count {font:700 10px/1.5 var(--sans);letter-spacing:.15em;text-transform:uppercase}
.vf-label {color:#e7c898}
.vf-cover h1 {font-size:clamp(64px,6.8vw,108px);line-height:.91;letter-spacing:-.064em;margin:17px 0 23px}
.vf-cover h1 i {display:block;color:#f0c886}
.vf-intro {color:#eee7db;font-size:clamp(15px,1.14vw,18px);max-width:480px}
.vf-actions {display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:25px}
.vf-actions a {font-size:13px}
.vf-cover-art {position:relative;aspect-ratio:1.43;margin-top:30px}
.vf-cover-art img {position:absolute;object-fit:contain;background:#fffaf1;border:clamp(3px,.45vw,7px) solid #f8f2e7;box-shadow:0 12px 35px #030b1296}
.vf-landscape {width:87%;height:auto;top:5%;left:1%;transform:rotate(-4deg)}
.vf-inset {width:36%;height:auto;right:1%;bottom:0;transform:rotate(6deg)}

/* Campaign sheets */
.vf-collection {padding-block:clamp(46px,5vw,78px)}
.vf-collection-head {display:flex;align-items:flex-end;justify-content:space-between;gap:36px;border-bottom:1px solid #c9beaa;padding-bottom:23px;margin-bottom:27px}
.vf-collection h2,.vf-guide h2 {margin-top:10px}
.vf-collection-head>p,.vf-guide p:not(.kicker) {max-width:440px;color:#5b5453;font-size:15px;line-height:1.65}
.vf-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px clamp(14px,1.8vw,28px)}
.vf-piece {display:block;border-radius:3px}
.vf-mount {display:grid;place-items:center;aspect-ratio:1.35;overflow:hidden;padding:clamp(12px,1.5vw,24px);background:#eae5da;border:1px solid #d4c8b8}
.vf-card:nth-child(3n+2) .vf-mount {background:#e1e7e6;border-color:#c6d0ce}
.vf-card:nth-child(3n) .vf-mount {background:#e8dfd5}
.vf-mount img {width:auto;height:auto;max-width:100%;max-height:100%;min-height:0;min-width:0;object-fit:contain;box-shadow:0 4px 12px #22241e38;transition:transform .22s ease}
.vf-piece:hover .vf-mount img {transform:scale(1.035)}
.vf-card-copy {position:relative;display:block;padding:14px 36px 0 0}
.vf-kind {display:block;color:#6b5841;font-size:9px;letter-spacing:.14em}
.vf-title {display:block;margin-top:5px;color:var(--ink);font:normal clamp(23px,2vw,34px)/1.08 var(--serif);letter-spacing:-.035em}
.vf-expand {position:absolute;right:0;top:19px;border:1px solid #b9aa93;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font:15px/1 var(--sans);color:#493529}
.vf-piece:hover .vf-expand {background:#242029;color:#fff}
.vf-guide {background:#eae3d9;border-top:1px solid var(--fine);padding-block:clamp(32px,4vw,60px)}
.vf-guide-grid {display:grid;grid-template-columns:minmax(0,280px) 1fr;gap:clamp(24px,4vw,65px);align-items:center}
.vf-guide-image img {width:100%;height:auto;max-height:225px;object-fit:contain}
.vf-guide h2 {font-size:clamp(36px,3.7vw,60px);margin-bottom:12px}
.vf-footer {position:relative;background:#171216;color:#f9efde;padding-block:27px}
.vf-footer .footer-row>a:last-child {font-weight:600;font-size:13px}

/* Full artwork viewer */
dialog.vf-viewer {box-sizing:border-box;width:min(1000px,94vw);max-width:96vw;max-height:97vh;max-height:97dvh;margin:auto;border:1px solid #70624c;border-radius:5px;padding:0;color:#faf2e7;background:#11191e;box-shadow:0 18px 70px #07060980}
.vf-viewer::backdrop {background:#0c1012e6}
.vf-viewer-top,.vf-viewer-bottom {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 20px}
.vf-viewer-top {border-bottom:1px solid #566067}
.vf-viewer-bottom {border-top:1px solid #566067}
.vf-count {color:#e6cd9e}
.vf-viewer button {padding:7px 10px;min-height:41px;color:#fff2d9;font-size:14px}
#vf-close span {margin-left:6px;font-size:21px}
.vf-image-area {height:min(69vh,76vw);height:min(69dvh,76vw);display:grid;place-items:center;background:#101419}
#vf-large {display:block;width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}
#vf-caption {font:normal clamp(20px,2vw,28px)/1.2 var(--serif);color:#fff2de}
#vf-full {font-size:12px;color:#f1cf98;text-decoration:underline;text-underline-offset:3px}
.vf-arrows {flex:none;display:flex;gap:7px}
.vf-arrows button {border:1px solid #827562;border-radius:50%;width:42px;height:42px;font-size:18px}
.vf-arrows button:hover,#vf-close:hover {background:#363632}
body:has(.vf-viewer[open]) {overflow:hidden}

@media(max-width:900px) {
  .vf-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .vf-cover-grid {gap:3%}
  .vf-cover h1 {font-size:clamp(56px,7.6vw,76px)}
  .vf-collection-head>p {max-width:325px}
}
@media(max-width:650px) {
  .vf-cover-grid {grid-template-columns:1fr;padding-top:13px;padding-bottom:36px;gap:15px}
  .vf-cover-art {width:min(100%,460px);margin:8px auto 0;aspect-ratio:1.65}
  .vf-landscape {width:80%}.vf-inset {width:32%;right:6%}
  .vf-cover h1 {font-size:clamp(53px,12vw,72px)}
  .vf-cover h1 i {display:inline}
  .vf-back {margin-bottom:17px}
  .vf-intro {font-size:15px}
  .vf-collection-head {display:block}
  .vf-collection-head>p {max-width:none;margin-top:13px}
  .vf-grid {gap:25px 13px}
  .vf-guide-grid {grid-template-columns:1fr}
  .vf-guide-image {max-width:250px}
  .vf-collection h2 {font-size:clamp(44px,9vw,58px)}
  .vf-image-area {height:60vh;height:60dvh}
  .vf-viewer-top,.vf-viewer-bottom {padding:8px 12px}
}
@media(max-width:480px) {
  .vf-grid {grid-template-columns:1fr}
  .vf-mount {aspect-ratio:1.32}
  .vf-footer .footer-row {align-items:flex-start}
}
@media(prefers-reduced-motion:reduce) {
  .vf-mount img {transition:none}
  .vf-piece:hover .vf-mount img {transform:none}
}
