/* Codera: a generous curve with a precise terminal. Native scroll throughout. */
:root{--curve:48px;--corner-shape:superellipse(1.35);--surface:#f7f5ef;--gold:#d8c3a2}
.motion-enabled .journey,.journey.has-journey{height:700svh!important}
.tunnel-fade{position:absolute;inset:0;opacity:0;pointer-events:none;background:radial-gradient(ellipse at 56% 48%,#29221a 0%,#1b1915 48%,#151513 100%)}
.work{border-radius:clamp(48px,8vw,130px) 0 0 0;padding-top:100px;padding-bottom:90px}
.project-grid{gap:26px;max-width:1120px;margin-inline:auto;isolation:isolate}
.project,.project:nth-child(even),.project-5{position:sticky;top:24px;padding:26px;background:var(--surface);border:1px solid #24242012;border-radius:var(--curve) 12px var(--curve) var(--curve);box-shadow:0 -8px 32px #25241e0a;min-width:0}
.project-2{top:32px}.project-3{top:40px}.project-4{top:48px}.project-5{top:56px}
.project:has(:focus-visible){z-index:6}
.project-caption,.project-5 .project-caption{padding-bottom:18px;gap:18px}
.project-caption h3,.project-5 .project-caption h3{font-size:clamp(32px,3.5vw,50px)}
.project-caption p{font-size:18px;margin-top:5px}
.project-caption .concept,.project-5 .concept{font-size:17px}
.project-visual{border:0;border-radius:20px;background:#e5e2d9}
.project-visual img{height:min(48svh,440px);aspect-ratio:auto;width:100%;object-fit:contain}
.project-actions{margin-top:12px;align-items:center}
.project-actions .text-link{font-size:17px;min-height:46px}
.text-link span{transition:transform .24s ease}
.text-link:hover span{transform:translate(3px,-3px)}
.button{transition:background .24s ease,transform .24s ease}
.button:hover{transform:translateY(-2px)}
.services{background:#22231f;border-radius:0 clamp(48px,8vw,130px) 0 0;padding-top:100px}
.services .section-heading{margin-bottom:55px}
.offers{border:0;gap:18px;align-items:stretch}
.offer,.offer+.offer,.offer:last-child{border:0;padding:32px;background:var(--surface);color:var(--ink);border-radius:48px 12px 48px 48px}
.offer:nth-child(2){background:#e4ddcf}.offer:nth-child(3){background:#d8c3a2}
.offer h3{font-size:clamp(34px,3.1vw,52px)}
.offer-audience{color:#514e46;font-size:19px;min-height:114px;margin:24px 0}
.offer-price{font-size:clamp(44px,4.3vw,72px)}
.offer summary{border-color:#24242030;font-size:19px}
.offer-plus{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#2424200c;font-size:26px;flex-shrink:0}
.offer-exclusions{color:#514e46}
.wordpress-line{padding:80px 0 90px}
.studio{border-radius:clamp(48px,8vw,130px) 0 0 0;padding-top:100px}
.studio-body{border:0;padding-top:0;gap:6vw;align-items:center;margin-top:70px}
.proposal{background:#242520;color:var(--white);padding:clamp(28px,4.3vw,72px);border-radius:100px 12px 100px 48px}
.proposal-time{color:var(--gold);font-size:clamp(135px,13vw,220px)}
.proposal h3{font-size:clamp(32px,3vw,49px)}
.proposal>p:last-child{color:#d3d0c7}
.process>div,.process>div:first-child{padding:28px 0 28px 34px;border:0;border-left:2px solid #b8ac98;border-radius:0 0 0 30px}
.process>div+div{margin-top:8px}
.process h3{font-size:clamp(30px,2.8vw,43px)}
.contact{border-radius:0 clamp(48px,8vw,130px) 0 0;padding-top:100px}
.contact-grid{border-top:0;padding-top:0;margin-top:65px}
.enquiry{padding:32px;background:#262722;border-radius:48px 12px 48px 48px}
.enquiry input,.enquiry textarea{font-size:19px}
.form-end{flex-wrap:wrap}
.footer{margin-top:90px}
@media(min-width:701px) and (max-width:1000px){
  .offers{display:grid;grid-template-columns:1fr}
  .offer,.offer+.offer,.offer:last-child{padding:32px;grid-template-columns:1fr 1fr}
  .offer-audience{min-height:0}
}
@media(max-width:700px){
  :root{--curve:30px}
  .work,.services,.studio,.contact{padding-top:65px}
  .work{padding-bottom:65px}
  .project-grid{gap:22px}
  .project,.project:nth-child(even),.project-5{padding:18px;top:12px;border-radius:30px 8px 30px 30px}
  .project-2{top:18px}.project-3{top:24px}.project-4{top:30px}.project-5{top:36px}
  .project-caption,.project-5 .project-caption{padding-bottom:14px}
  .project-caption h3,.project-5 .project-caption h3{font-size:34px}
  .project-caption p{font-size:17px}.project-caption .concept,.project-5 .concept{font-size:16px;margin-top:5px}
  .project-visual{border-radius:12px}
  .project-visual img{height:auto;aspect-ratio:1.6}
  .project-actions{gap:4px;align-items:start;flex-direction:column}
  .project-actions .text-link{font-size:16px}
  .offers{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
  .offer,.offer+.offer,.offer:last-child{padding:28px;border:0;border-radius:40px 10px 40px 40px}
  .offer h3{font-size:43px}.offer-price{font-size:62px}.offer-audience{font-size:20px;min-height:0}
  .wordpress-line{padding:60px 0 70px}
  .studio-body{gap:28px;margin-top:40px}
  .proposal{border-radius:65px 10px 65px 30px;padding:35px 28px}
  .proposal-time{font-size:clamp(110px,32vw,150px);gap:12px}.proposal-time span{font-size:32px}.proposal h3{font-size:36px}
  .process>div,.process>div:first-child{padding:24px 0 24px 24px}
  .contact-grid{margin-top:40px}
  .enquiry{padding:25px 20px;border-radius:35px 10px 35px 35px}
}
/* Short displays and reduced-motion visitors get the same complete cards in flow. */
@media(max-height:620px),(prefers-reduced-motion:reduce){
  .project,.project:nth-child(even),.project-5{position:relative;top:auto}
}
@media(prefers-reduced-motion:reduce){.button:hover,.text-link:hover span{transform:none}}

/* Local refinement: one aligned composition and a frame derived from the C ribbon. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.section-heading,.studio-intro,.contact-top{display:grid;grid-template-columns:minmax(0,1.618fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:center;max-width:1440px;margin-inline:auto}
.section-heading h2,.studio-intro h2,.contact-top h2{font-size:clamp(46px,4.8vw,72px);line-height:1.12;letter-spacing:-.025em;font-weight:700}
.section-heading>p,.studio-intro>p,.contact-top>p{font-size:clamp(22px,1.9vw,29px);line-height:1.45;letter-spacing:-.025em;max-width:27ch;padding:0;margin:0;justify-self:start;text-wrap:pretty}
.work .section-heading{margin-bottom:64px}
.project-grid{--frame-gap:clamp(12px,1.4vw,22px);--preview-radius:clamp(18px,2.2vw,32px);--preview-cut:clamp(12px,1.1vw,16px);max-width:min(1400px,calc((100svh - 180px)*1.6 + var(--frame-gap)*2));gap:36px}
.project,.project:nth-child(even),.project-5{--frame:#e6e7e28c;--frame-ink:#30332f;padding:0;border:0;border-radius:0;background:none;color:var(--frame-ink);box-shadow:none}
.project-frame{padding:var(--frame-gap);border:1px solid #ffffffd4;border-radius:calc(var(--preview-radius) + var(--frame-gap)) calc(var(--preview-cut) + var(--frame-gap)) calc(var(--preview-radius) + var(--frame-gap)) calc(var(--preview-cut) + var(--frame-gap));background:linear-gradient(135deg,#ffffffa3,#ffffff66 48%,#ffffff8c);backdrop-filter:blur(8px) saturate(1.05);-webkit-backdrop-filter:blur(8px) saturate(1.05);box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #ffffffb0,0 10px 28px #2428200d}
.project-visual{border:0;border-radius:var(--preview-radius) var(--preview-cut) var(--preview-radius) var(--preview-cut);background:transparent;width:100%;margin:0;box-shadow:0 2px 12px #171a1612}
.project-visual img{height:auto;width:100%;aspect-ratio:1.6;object-fit:contain;border-radius:inherit}
.project-actions{width:100%;padding:10px calc(var(--frame-gap) + 1px) 0;margin:0;gap:22px}
.project-actions .text-link{border-bottom-color:transparent}
.project-actions .text-link:hover{border-bottom-color:currentColor;opacity:1}
.offers,.wordpress-line,.studio-body,.contact-grid,.footer{max-width:1440px;margin-inline:auto}
.proposal{text-align:center;padding-block:52px}
.proposal-time{display:flex;align-items:baseline;justify-content:center;width:max-content;max-width:100%;margin-inline:auto;gap:14px;line-height:1;font-size:clamp(120px,12vw,190px)}
.proposal-time .proposal-value{font:inherit;line-height:.82;letter-spacing:-.085em;padding-right:.085em}
.proposal-time .proposal-unit{font-size:clamp(30px,3vw,44px);line-height:1;letter-spacing:-.04em}
.proposal h3{margin-top:36px;font-size:clamp(36px,3.35vw,54px)}
.process h3{font-size:clamp(32px,3.15vw,48px)}
.wordpress-line h3{font-size:clamp(46px,5.5vw,88px)}
.proposal>p:last-child{max-width:25ch;margin-inline:auto}
.film-camera{position:absolute;inset:0}
.project-dialog{padding:14px;border:1px solid #ffffffa6;border-radius:48px 28px 48px 28px;background:linear-gradient(135deg,#f7f8f3ed,#e6e7e2dc);backdrop-filter:blur(16px);box-shadow:inset 0 1px 1px #fff,0 24px 90px #080a0940}
.preview-toolbar{padding:10px 16px 20px;border:0}
.preview-scroll{background:var(--paper);border-radius:28px 14px 28px 14px}
.offers{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.offer,.offer+.offer,.offer:last-child{padding:42px;display:flex}
.offer:last-child{background:#d8c3a2}
.offer h3{font-size:clamp(36px,3.1vw,48px)}
.offer-audience{min-height:64px;max-width:480px;font-size:21px}
.offer-price{font-size:clamp(64px,6.5vw,102px)}
.offer-price>span{font-size:24px}
.offer-details{margin:32px 0}
.work,.services,.studio,.contact{position:relative;isolation:isolate;border-radius:0;background:var(--previous-bg)}
.work{--previous-bg:#151513;--section-bg:var(--paper);--section-radius:clamp(48px,8vw,130px) 0 0 0}
.services{--previous-bg:var(--paper);--section-bg:#22231f;--section-radius:0 clamp(48px,8vw,130px) 0 0}
.studio{--previous-bg:#22231f;--section-bg:var(--paper);--section-radius:clamp(48px,8vw,130px) 0 0 0}
.contact{--previous-bg:var(--paper);--section-bg:#191a17;--section-radius:0 clamp(48px,8vw,130px) 0 0}
.work::before,.services::before,.studio::before,.contact::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:var(--section-radius);background:var(--section-bg);pointer-events:none}
.footer-wordmark{font-synthesis:none;text-rendering:geometricPrecision;-webkit-font-smoothing:auto;transform:none;filter:none}
.footer-wordmark img{width:80%;height:auto}
.hero-beat h1,.hero-beat h2,.section-heading h2,.studio-intro h2,.contact-top h2{font-synthesis:none;text-rendering:geometricPrecision;text-shadow:none;filter:none}
.hero-beat h1,.hero-beat h2{font-size:clamp(56px,min(7.4vw,13svh),120px);line-height:1.1;font-weight:700;letter-spacing:-.025em}
@media(max-width:1000px){.offers{grid-template-columns:1fr}.offer-audience{min-height:0}.offer-price{text-align:left}.offer,.offer+.offer,.offer:last-child{padding:36px}.offer h3{font-size:48px}}
@media(max-width:700px){
 .hero-beat h1,.hero-beat h2{font-size:clamp(40px,min(11.8vw,9svh),64px)}
 .section-heading,.studio-intro,.contact-top{grid-template-columns:1fr;gap:24px;align-items:start}
 .section-heading h2,.studio-intro h2,.contact-top h2{font-size:clamp(38px,10vw,52px)}
 .section-heading>p,.studio-intro>p,.contact-top>p{font-size:21px;max-width:32ch;justify-self:start}
 .work .section-heading{margin-bottom:36px}
 .project-grid{max-width:100%;gap:28px}
 .project,.project:nth-child(even),.project-5{padding:0;border-radius:0}
 .project-visual,.project-actions{width:100%}
 .project-actions{padding:8px calc(var(--frame-gap) + 1px) 0;gap:0}
 .project-actions .text-link{font-size:16px}
 .proposal{padding-block:38px}.proposal-time{font-size:clamp(90px,29vw,125px);gap:10px}.proposal-time .proposal-unit{font-size:30px}
 .project-dialog{width:96%;height:96svh;max-height:96svh;padding:10px;border-radius:30px 10px 30px 14px}
 .preview-toolbar{padding:8px 8px 14px;gap:8px 12px}.preview-toolbar h2{font-size:22px}
 .offer,.offer+.offer,.offer:last-child{padding:28px}.offer h3{font-size:clamp(32px,9.5vw,40px)}.offer-price{font-size:76px}
 .offer-audience{font-size:20px}
}
@media(max-height:620px) and (min-width:701px){.project-grid{max-width:1100px}}
@media(max-height:450px) and (min-width:701px){.hero-beat h1{font-size:56px}.hero-beat h2{font-size:48px}}

/* Shared rows keep the two offers aligned even when headings wrap or details open. */
@media(min-width:1001px){
 .offers{grid-template-rows:repeat(5,auto);row-gap:0}
 .offer,.offer+.offer,.offer:last-child{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;align-items:start}
 .offer-audience{min-height:0}
 .offer>.text-link{align-self:end;margin-top:0}
}

/* One quiet curve family; existing rounded geometry is the non-supporting fallback. */
@supports (corner-shape:superellipse(1.35)){
 .project-frame,.project-visual,.project-visual img,.offer,.proposal,.enquiry,
 .project-dialog,.preview-scroll,.work::before,.services::before,.studio::before,.contact::before{
  corner-shape:var(--corner-shape);
 }
}
h1 em,h2 em,h3 em{font:inherit;letter-spacing:inherit}
.hero-beat em,.section-heading h2 em,.studio h2 em,.contact h2 em{letter-spacing:inherit}
.offer h3,.proposal h3,.process h3,.wordpress-line h3{font-weight:700;letter-spacing:-.025em;line-height:1.15}
.wordpress-line h3{font-size:clamp(38px,3.8vw,56px)}
.proposal h3,.process h3{font-size:clamp(30px,2.5vw,38px)}
.proposal-time .proposal-unit{font-weight:500}
/* Keep the longer sans-serif lines intact without compressing letter shapes. */
.hero-beat h1,.hero-beat h2{max-width:100%}
.section-heading h2,.studio-intro h2,.contact-top h2{min-width:0}
@media(min-width:701px) and (max-width:1100px){
 .section-heading h2,.studio-intro h2,.contact-top h2{font-size:clamp(42px,4.8vw,56px)}
}

/* One resting edge makes each desktop preview completely cover its predecessor. */
@media(min-width:1001px){.project,.project:nth-child(even),.project-5{top:24px}}

/* The active film owns its letterbox area; retain the poster for static/recovery. */
.film.is-ready .poster{visibility:hidden}

.motion-toggle[hidden]{display:none}

/* Care continues the existing offer geometry and typography. */
.care-panel{max-width:1440px;margin:24px auto 0;padding:clamp(28px,3.5vw,50px);display:grid;grid-template-columns:minmax(0,1.618fr) minmax(0,1fr);column-gap:clamp(28px,5vw,80px);background:#dde3d8;color:var(--ink);border-radius:48px 12px 48px 48px;corner-shape:var(--corner-shape)}
.care-panel h3{margin:0 0 24px;font-size:clamp(36px,3.1vw,48px);font-weight:700;letter-spacing:-.025em;line-height:1.15}
.care-headline{max-width:24ch;margin:0 0 16px;font-size:clamp(25px,2.4vw,34px);line-height:1.25;letter-spacing:-.025em}
.care-description{max-width:45ch;margin:0;font-size:20px;line-height:1.55;color:#51534b}
.care-plan{align-self:center;justify-self:end}
.care-price{margin:0 0 20px;font-size:clamp(64px,6.5vw,96px);font-weight:500;line-height:1;letter-spacing:-.055em;white-space:nowrap}
.care-price span{font-size:22px;font-weight:400;letter-spacing:-.02em}
.care-trial{margin:0 0 8px;font-size:24px;font-weight:500;line-height:1.3}
.care-start{margin:0;font-size:18px;color:#51534b;line-height:1.5}
.care-details{grid-column:1/-1;margin-top:36px;border-top:1px solid #24242029;border-bottom:1px solid #24242029}
.care-details summary{padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;cursor:pointer;font-size:22px;line-height:1.35}
.care-details summary::-webkit-details-marker{display:none}
.care-details summary>span{font-size:30px;line-height:1;transition:transform .2s}
.care-details[open] summary>span{transform:rotate(45deg)}
.care-details summary:focus-visible{outline:2px solid currentColor;outline-offset:5px;border-radius:4px}
.care-inclusions{padding:0 0 24px;font-size:20px;line-height:1.6;max-width:75ch}
.care-inclusions ul{margin:0 0 20px;padding-left:24px;display:grid;gap:10px}
.care-inclusions p{margin:0;color:#51534b}
.care-hosting{grid-column:1/-1;margin:24px 0 0;max-width:72ch;font-size:18px;line-height:1.5;color:#51534b}
@media(max-width:700px){.care-panel{grid-template-columns:minmax(0,1fr);border-radius:40px 10px 40px 40px;gap:0}.care-plan{justify-self:start;margin-top:32px}.care-price{font-size:clamp(50px,16vw,72px)}.care-price span{font-size:18px}.care-panel h3{margin-bottom:20px}.care-description,.care-inclusions{font-size:18px}.care-details summary{font-size:20px}.care-hosting{font-size:18px}}
@media(max-width:600px){.offer-price{font-size:clamp(52px,17vw,76px);white-space:nowrap}}

/* Touch composition: complete previews, unobstructed actions, stable viewport. */
@media(max-width:1000px){
 .project,.project:nth-child(even),.project-5{position:relative;top:auto;margin:0!important}
 .project-grid{display:grid;grid-template-columns:minmax(0,1fr);max-width:100%;gap:40px}
 .project-actions{display:flex;flex-wrap:wrap;gap:8px 24px}
 .section-heading,.studio-intro,.contact-top{grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
 .section-heading>p,.studio-intro>p,.contact-top>p{max-width:42ch}
 .studio-body{grid-template-columns:minmax(0,1fr);gap:40px;align-items:start}
 .proposal{width:100%;max-width:640px;justify-self:center}
 .process{width:100%;max-width:720px;justify-self:center}
 .contact-info .email,.contact-info .phone,.footer-bottom a{min-height:44px;display:flex;align-items:center}
 .preview-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px}
 .preview-toolbar h2{grid-column:1;grid-row:1;min-width:0;font-size:clamp(22px,4vw,30px)}
 .preview-toolbar .close-dialog{grid-column:2;grid-row:1;justify-self:end}
 .preview-toolbar #preview-zoom{grid-column:1;grid-row:2;justify-self:start}
 .preview-toolbar #preview-live{grid-column:2;grid-row:2;width:auto;margin:0;justify-self:end;font-size:16px;gap:12px}
 .preview-scroll{min-height:0;-webkit-overflow-scrolling:touch}
}
@media(max-width:1000px) and (orientation:portrait){
 .film-camera{inset:0;height:100%;transform:none}
 .film img,.film video{object-fit:cover;object-position:50% 50%}
 .film-camera::after{display:none}
 .film-shade{background:linear-gradient(180deg,#10100fc9 0%,#10100f85 23%,#10100f15 48%,#10100f45 64%,#10100fe8 100%)}
 .hero-beat,.beat-detail,.beat-arrival{align-items:flex-start;justify-content:flex-start;text-align:left}
 .beat-detail>p,.beat-arrival>p{margin-top:auto;margin-bottom:0;max-width:32ch}
 .beat-arrival>.text-link{margin-top:14px}
 .beat-arrival::before{display:none}
 .hero-beat{padding-top:clamp(112px,14svh,155px);padding-bottom:100px}
 .beat-detail{padding-top:clamp(112px,14svh,155px)}
 .beat-arrival{padding-top:clamp(112px,14svh,155px)}
 .hero-beat h1,.hero-beat h2{font-size:clamp(38px,min(10.8vw,8.2svh),76px);max-width:100%}
 .hero-bottom{display:block}
 .hero-bottom .text-link{margin-top:12px}
 .hero-bottom p,.hero-beat>p{font-size:clamp(17px,2.6vw,21px);line-height:1.45}
 .stage-footer{bottom:max(12px,env(safe-area-inset-bottom));min-height:44px}
}
@media(min-width:701px) and (max-width:1000px){
 .section-heading h2,.studio-intro h2,.contact-top h2{font-size:clamp(46px,6.5vw,64px)}
 .wordpress-line{grid-template-columns:minmax(0,1fr);gap:24px}
 .wordpress-line p{max-width:48ch}
 .care-panel{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);column-gap:32px}
 .care-price{font-size:64px}.care-price span{font-size:18px}
}
@media(max-width:700px){
 .project-actions{flex-direction:column;align-items:stretch;padding-top:12px;gap:0}
 .project-actions .text-link{justify-content:space-between;min-height:48px}
 .header{padding-left:max(var(--gutter),env(safe-area-inset-left));padding-right:max(var(--gutter),env(safe-area-inset-right));gap:10px}
 .brand{font-size:25px;gap:6px;flex-shrink:0}
 .header-cta{font-size:14px;padding:10px 14px;gap:10px}
 .menu-button{flex-shrink:0}
 .mobile-menu{max-height:calc(100svh - 110px);overflow:auto;overscroll-behavior:contain;border-radius:24px 8px 24px 24px}

 .motion-toggle{min-height:44px}
 .contact-info .email{white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:360px){
 .header-cta{padding:10px 12px;font-size:13px}.header-cta>span{display:none}
 .brand{font-size:23px}.brand img{width:25px;height:25px}
 .preview-toolbar{gap:6px}.preview-toolbar h2{font-size:20px}.preview-close{font-size:16px;gap:6px}
 .preview-toolbar #preview-live{font-size:14px;gap:6px}
}
@media(max-height:500px) and (max-width:1100px){
 .hero-beat{padding-top:88px;padding-bottom:64px}
 .hero-beat h1,.hero-beat h2{font-size:clamp(30px,8svh,40px)}
 .hero-bottom{display:flex;align-items:end;gap:24px}
 .hero-bottom p,.hero-beat>p{font-size:16px;line-height:1.35}
 .hero-bottom .text-link{margin-top:0;white-space:nowrap}
 .beat-detail,.beat-arrival{padding-top:88px}
 .beat-detail>p,.beat-arrival>p{margin-top:12px}
 .stage-footer{bottom:8px}
}

/* Keep the sharp first frame behind native HTTP video during compositor warm-up. */
.film.native-http.is-ready .poster{visibility:visible}
@media(max-width:700px) and (max-height:700px) and (orientation:portrait){
 .hero-beat,.beat-detail,.beat-arrival{padding-top:92px;padding-bottom:80px}
 .hero-beat h1,.hero-beat h2{font-size:clamp(30px,9.7vw,40px)}
 .film-camera{inset:0;height:100%;transform:none}
 .hero-bottom p,.hero-beat>p{font-size:16px;line-height:1.4}
 .hero-bottom .text-link{margin-top:10px;min-height:44px}
}

/* Mobile/tablet previews: image and actions share one Codera-shaped surface. */
@media(max-width:1000px),(pointer:coarse) and (max-width:1366px){
 .project-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;max-width:100%}
 .project,.project:nth-child(even),.project-5{position:relative;top:auto;margin:0!important;padding:12px;background:#f7f5ef;border:1px solid #ffffffd4;border-radius:40px 10px 40px 40px;corner-shape:var(--corner-shape);box-shadow:0 8px 28px #24242008}
 .project-frame{padding:0;background:none;border:0;border-radius:28px 4px 28px 28px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 .project-visual,.project-visual img{border-radius:28px 4px 28px 28px;corner-shape:var(--corner-shape);box-shadow:none}
 .project-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:12px 12px 8px;margin:0;width:100%}
 .project-actions .text-link{display:flex;justify-content:space-between;gap:16px;min-height:52px;padding:10px 0;margin:0;border-bottom:0;font-size:17px;text-align:left;line-height:1.4}
 .project-actions .text-link+.text-link{border-top:1px solid #2424201f}
 .project-actions .text-link span{flex-shrink:0}
}
@media(min-width:701px) and (max-width:1000px),(min-width:701px) and (pointer:coarse) and (max-width:1366px){
 .project,.project:nth-child(even),.project-5{padding:16px;border-radius:48px 12px 48px 48px}
 .project-frame,.project-visual,.project-visual img{border-radius:32px 4px 32px 32px}
 .project-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:16px 16px 8px}
 .project-actions .text-link+.text-link{border-top:0}
}
